summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris PeBenito <pebenito@gentoo.org>2006-03-27 04:14:32 +0000
committerChris PeBenito <pebenito@gentoo.org>2006-03-27 04:14:32 +0000
commit695fc90db1336c9c8a31a5240a2181b9e6915d90 (patch)
tree160d5135a19690c4c37ef299084bdcf2cc7d0287 /sys-libs/libsepol
parentMono bindings fix. New Initscript (diff)
downloadhistorical-695fc90db1336c9c8a31a5240a2181b9e6915d90.tar.gz
historical-695fc90db1336c9c8a31a5240a2181b9e6915d90.tar.bz2
historical-695fc90db1336c9c8a31a5240a2181b9e6915d90.zip
bugfix release for big endian machines.
Package-Manager: portage-2.1_pre6-r6
Diffstat (limited to 'sys-libs/libsepol')
-rw-r--r--sys-libs/libsepol/ChangeLog11
-rw-r--r--sys-libs/libsepol/Manifest29
-rw-r--r--sys-libs/libsepol/files/digest-libsepol-1.12-r1 (renamed from sys-libs/libsepol/files/digest-libsepol-1.12)0
-rw-r--r--sys-libs/libsepol/files/libsepol-1.12.2.diff24
-rw-r--r--sys-libs/libsepol/libsepol-1.12-r1.ebuild (renamed from sys-libs/libsepol/libsepol-1.12.ebuild)9
5 files changed, 55 insertions, 18 deletions
diff --git a/sys-libs/libsepol/ChangeLog b/sys-libs/libsepol/ChangeLog
index 26b82d79f641..16289971770b 100644
--- a/sys-libs/libsepol/ChangeLog
+++ b/sys-libs/libsepol/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for sys-libs/libsepol
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsepol/ChangeLog,v 1.16 2006/03/18 14:43:16 pebenito Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsepol/ChangeLog,v 1.17 2006/03/27 04:14:29 pebenito Exp $
+
+*libsepol-1.12-r1 (27 Mar 2006)
+
+ 27 Mar 2006; Chris PeBenito <pebenito@gentoo.org>
+ +files/libsepol-1.12.2.diff, -libsepol-1.12.ebuild,
+ +libsepol-1.12-r1.ebuild:
+ Uptream bugfix patch, including a fix for big endian machines. Users of big
+ endian systems should remerge checkpolicy as it statically links against
+ libsepol.
*libsepol-1.12 (18 Mar 2006)
diff --git a/sys-libs/libsepol/Manifest b/sys-libs/libsepol/Manifest
index 21a078b1b7e8..ef70735cb6d1 100644
--- a/sys-libs/libsepol/Manifest
+++ b/sys-libs/libsepol/Manifest
@@ -1,28 +1,31 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 abb65214adb04954392aa29a9a5e0c43 ChangeLog 1994
-RMD160 2afcd67414e2e5d0b694e9c937d5671b89b5fc53 ChangeLog 1994
-SHA256 b969be6fd7fcc21978fe6b96e97ab0af1e493d89694c150887743c13f9c2e57f ChangeLog 1994
+MD5 e7276330cd0cc5a82e12bbdc11d31e2f ChangeLog 2327
+RMD160 07c34136a0ddbcbdc4053ce8b1c5069d0f96670b ChangeLog 2327
+SHA256 e61046a65bacf26c6a13a0146afb4473ff6039bfd22d79fd70f953af3f05c8a1 ChangeLog 2327
MD5 3a1697f8209d83a20e217a7a2637437f files/digest-libsepol-1.10 62
RMD160 6205e456fc48df3669ae949f373c48f29901e18f files/digest-libsepol-1.10 62
SHA256 7a2d4e384affa54a89cc692a854e12c19c569c8ac9fe2105269d4ab6bf5b5154 files/digest-libsepol-1.10 62
-MD5 b005b6c118db6f9e29e906df6ec5325e files/digest-libsepol-1.12 232
-RMD160 486a3844f600b1497290dfcb8568ba8418c7c9d1 files/digest-libsepol-1.12 232
-SHA256 1154c97f0ef2e653166a5a27ab10bfbaa03cf3ec476da73efbc903cf98380ab0 files/digest-libsepol-1.12 232
+MD5 b005b6c118db6f9e29e906df6ec5325e files/digest-libsepol-1.12-r1 232
+RMD160 486a3844f600b1497290dfcb8568ba8418c7c9d1 files/digest-libsepol-1.12-r1 232
+SHA256 1154c97f0ef2e653166a5a27ab10bfbaa03cf3ec476da73efbc903cf98380ab0 files/digest-libsepol-1.12-r1 232
+MD5 26ad13f0985d3d2ecc8dbe833edcb4e6 files/libsepol-1.12.2.diff 981
+RMD160 e3213aeafb0b61c32748bb59ca345b3e722f083a files/libsepol-1.12.2.diff 981
+SHA256 470c5ee1325d1d632892344f23b76e54f5e67b151e4f73abeceb701b802edeae files/libsepol-1.12.2.diff 981
MD5 ad4006009cdbd48af45e231ea4eb556d libsepol-1.10.ebuild 1042
RMD160 82a1bc2d940377515412d4d83716e3918d2339a6 libsepol-1.10.ebuild 1042
SHA256 5025d65e1bfab7c9e4ffef946d90ee04df823fa9cb39d30d51cb6aeef03dbeeb libsepol-1.10.ebuild 1042
-MD5 2bb9a1951cbc5e2c68cd5d6ee8a61cfc libsepol-1.12.ebuild 1055
-RMD160 9478468add7bde3c1365398bd28415c069160c04 libsepol-1.12.ebuild 1055
-SHA256 abc00ced31241c4b807727089a0215b0e14fc0d0309b87e3e4569fe51a34b2a9 libsepol-1.12.ebuild 1055
+MD5 2e548fa4a22e506216c472e6ba03b3ec libsepol-1.12-r1.ebuild 1099
+RMD160 27cb7e7034d35ea5a7b263ca4194824137133d2b libsepol-1.12-r1.ebuild 1099
+SHA256 d172f4bcc10a54ae816af236970393ebf15d33a695b6b1026d8c5108781ef71a libsepol-1.12-r1.ebuild 1099
MD5 77bbd07b4b596ae67c79079d2b13f3af metadata.xml 300
RMD160 36b5466d0f61dbc147eb3e2ffd94d1a6afed35ac metadata.xml 300
SHA256 7fe4b477cb4f8b93c9e5bb63336688933259ff619f743fb2647479a59227dc2b metadata.xml 300
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
+Version: GnuPG v1.4.2.2 (GNU/Linux)
-iD8DBQFEIdWCJ+ChZlpDtAoRArtOAJ41BxOgCfu63x6WSf6nlCylmYOYDgCglGRg
-2ceFosCb4KyVgh8ocm5m1IY=
-=dfmE
+iD8DBQFEJ2a0J+ChZlpDtAoRAlFJAJ42WVXy4rdH1DJElDDqADr/VQuKNQCfSM2B
+HEc2Cx1VSbpmADc/utv2SM8=
+=GqVL
-----END PGP SIGNATURE-----
diff --git a/sys-libs/libsepol/files/digest-libsepol-1.12 b/sys-libs/libsepol/files/digest-libsepol-1.12-r1
index 0a968d5aa0f8..0a968d5aa0f8 100644
--- a/sys-libs/libsepol/files/digest-libsepol-1.12
+++ b/sys-libs/libsepol/files/digest-libsepol-1.12-r1
diff --git a/sys-libs/libsepol/files/libsepol-1.12.2.diff b/sys-libs/libsepol/files/libsepol-1.12.2.diff
new file mode 100644
index 000000000000..631f7ab6ba1f
--- /dev/null
+++ b/sys-libs/libsepol/files/libsepol-1.12.2.diff
@@ -0,0 +1,24 @@
+diff --exclude CVS -urN libsepol-1.12/src/module.c libsepol/src/module.c
+--- libsepol-1.12/src/module.c 2006-02-07 09:04:43.000000000 -0500
++++ libsepol/src/module.c 2006-03-26 16:27:24.000000000 -0500
+@@ -661,7 +661,7 @@
+ {
+ struct policy_file *file = &spf->pf;
+ policy_file_t polfile;
+- uint32_t buf[3], offsets[5], len, nsec = 0;
++ uint32_t buf[5], offsets[5], len, nsec = 0;
+ int i;
+
+ if (p->policy) {
+diff --exclude CVS -urN libsepol-1.12/src/write.c libsepol/src/write.c
+--- libsepol-1.12/src/write.c 2005-11-15 08:05:58.000000000 -0500
++++ libsepol/src/write.c 2006-03-26 16:27:25.000000000 -0500
+@@ -1340,7 +1340,7 @@
+ for (decl = cur->branch_list; decl != NULL; decl = decl->next) {
+ num_decls++;
+ }
+- buf[0] = num_decls;
++ buf[0] = cpu_to_le32(num_decls);
+ if (put_entry(buf, sizeof(uint32_t), 1, fp) != 1) {
+ return -1;
+ }
diff --git a/sys-libs/libsepol/libsepol-1.12.ebuild b/sys-libs/libsepol/libsepol-1.12-r1.ebuild
index c3749d9f4f7c..03317163b263 100644
--- a/sys-libs/libsepol/libsepol-1.12.ebuild
+++ b/sys-libs/libsepol/libsepol-1.12-r1.ebuild
@@ -1,18 +1,17 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsepol/libsepol-1.12.ebuild,v 1.1 2006/03/18 14:43:16 pebenito Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsepol/libsepol-1.12-r1.ebuild,v 1.1 2006/03/27 04:14:32 pebenito Exp $
IUSE=""
-inherit multilib
+inherit multilib eutils
DESCRIPTION="SELinux binary policy representation library"
HOMEPAGE="http://www.nsa.gov/selinux"
SRC_URI="http://www.nsa.gov/selinux/archives/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
-
-KEYWORDS="~alpha ~amd64 ~mips ~ppc ~sparc ~x86"
+KEYWORDS="~x86 ~ppc ~sparc ~amd64 ~mips"
DEPEND="virtual/libc"
@@ -20,6 +19,8 @@ src_unpack() {
unpack ${A}
cd ${S}
+ epatch ${FILESDIR}/libsepol-1.12.2.diff
+
sed -i -e "s:-Wall:-Wall ${CFLAGS}:g" src/Makefile \
|| die "src Makefile CFLAGS fix failed."
sed -i -e "s:-Wall:-Wall ${CFLAGS}:g" utils/Makefile \