diff options
author | Chris PeBenito <pebenito@gentoo.org> | 2003-08-13 20:49:58 +0000 |
---|---|---|
committer | Chris PeBenito <pebenito@gentoo.org> | 2003-08-13 20:49:58 +0000 |
commit | e232bbee3e55e72091f58e0f0216c550bbb082b0 (patch) | |
tree | 0f73cce02fbbb8cac6192ec88fd5b07b28480258 /sys-apps/checkpolicy | |
parent | Bump (diff) | |
download | gentoo-2-e232bbee3e55e72091f58e0f0216c550bbb082b0.tar.gz gentoo-2-e232bbee3e55e72091f58e0f0216c550bbb082b0.tar.bz2 gentoo-2-e232bbee3e55e72091f58e0f0216c550bbb082b0.zip |
add endianness fix
Diffstat (limited to 'sys-apps/checkpolicy')
-rw-r--r-- | sys-apps/checkpolicy/ChangeLog | 8 | ||||
-rw-r--r-- | sys-apps/checkpolicy/Manifest | 7 | ||||
-rw-r--r-- | sys-apps/checkpolicy/checkpolicy-1.0-r1.ebuild (renamed from sys-apps/checkpolicy/checkpolicy-1.0.ebuild) | 3 | ||||
-rw-r--r-- | sys-apps/checkpolicy/files/checkpolicy-little_endian.diff | 16 | ||||
-rw-r--r-- | sys-apps/checkpolicy/files/digest-checkpolicy-1.0-r1 (renamed from sys-apps/checkpolicy/files/digest-checkpolicy-1.0) | 0 |
5 files changed, 29 insertions, 5 deletions
diff --git a/sys-apps/checkpolicy/ChangeLog b/sys-apps/checkpolicy/ChangeLog index 4af761ca09dc..b19155559a3d 100644 --- a/sys-apps/checkpolicy/ChangeLog +++ b/sys-apps/checkpolicy/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-apps/checkpolicy # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/checkpolicy/ChangeLog,v 1.1 2003/08/04 04:25:09 pebenito Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/checkpolicy/ChangeLog,v 1.2 2003/08/13 20:49:54 pebenito Exp $ + +*checkpolicy-1.0-r1 (13 Aug 2003) + + 13 Aug 2003; Chris PeBenito <pebenito@gentoo.org> checkpolicy-1.0-r1.ebuild, + checkpolicy-1.0.ebuild, files/checkpolicy-little_endian.diff: + Add endian-ness fix *checkpolicy-1.0 (03 Aug 2003) diff --git a/sys-apps/checkpolicy/Manifest b/sys-apps/checkpolicy/Manifest index 279b631138e9..87b2252d6195 100644 --- a/sys-apps/checkpolicy/Manifest +++ b/sys-apps/checkpolicy/Manifest @@ -1,5 +1,6 @@ -MD5 3d42401d41c4eb9c85bfe3739d1b8026 checkpolicy-1.0.ebuild 689 MD5 925ec5e4ac9c54ff2672fbbc79154b00 metadata.xml 250 -MD5 658ce08f38095ef9731c900ceafd7b6a ChangeLog 401 -MD5 caef3839291cd8719631c4c52de9e614 files/digest-checkpolicy-1.0 63 +MD5 a6b9eb54d033f1a8170f28429d5fb7cb ChangeLog 602 +MD5 048868b4bff9a1e895b9a8c05115baab checkpolicy-1.0-r1.ebuild 743 MD5 afa3bf2d650b8102690fb12eaff327b0 files/checkpolicy-1.0-gentoo.diff 584 +MD5 03ec88db0308653fc60180eb9213795a files/checkpolicy-little_endian.diff 559 +MD5 caef3839291cd8719631c4c52de9e614 files/digest-checkpolicy-1.0-r1 63 diff --git a/sys-apps/checkpolicy/checkpolicy-1.0.ebuild b/sys-apps/checkpolicy/checkpolicy-1.0-r1.ebuild index c75a120cc48e..85a68b7d689e 100644 --- a/sys-apps/checkpolicy/checkpolicy-1.0.ebuild +++ b/sys-apps/checkpolicy/checkpolicy-1.0-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/checkpolicy/checkpolicy-1.0.ebuild,v 1.1 2003/08/04 04:25:09 pebenito Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/checkpolicy/checkpolicy-1.0-r1.ebuild,v 1.1 2003/08/13 20:49:54 pebenito Exp $ IUSE="" @@ -23,6 +23,7 @@ src_unpack() { cd ${S} epatch ${FILESDIR}/${P}-gentoo.diff + epatch ${FILESDIR}/checkpolicy-little_endian.diff } src_compile() { diff --git a/sys-apps/checkpolicy/files/checkpolicy-little_endian.diff b/sys-apps/checkpolicy/files/checkpolicy-little_endian.diff new file mode 100644 index 000000000000..63fca4b7e75f --- /dev/null +++ b/sys-apps/checkpolicy/files/checkpolicy-little_endian.diff @@ -0,0 +1,16 @@ +Index: checkpolicy/write.c +=================================================================== +RCS file: /nfshome/pal/CVS/selinux-2.5/checkpolicy/write.c,v +retrieving revision 1.4 +diff -u -r1.4 write.c +--- checkpolicy/write.c 26 Jun 2003 17:23:12 -0000 1.4 ++++ checkpolicy/write.c 12 Aug 2003 14:10:55 -0000 +@@ -693,7 +693,7 @@ + return -1; + break; + case OCON_FSUSE: +- buf[0] = c->v.behavior; ++ buf[0] = cpu_to_le32(c->v.behavior); + len = strlen(c->u.name); + buf[1] = cpu_to_le32(len); + items = fwrite(buf, sizeof(__u32), 2, fp); diff --git a/sys-apps/checkpolicy/files/digest-checkpolicy-1.0 b/sys-apps/checkpolicy/files/digest-checkpolicy-1.0-r1 index bec25d060696..bec25d060696 100644 --- a/sys-apps/checkpolicy/files/digest-checkpolicy-1.0 +++ b/sys-apps/checkpolicy/files/digest-checkpolicy-1.0-r1 |