diff options
Diffstat (limited to 'app-admin/setools')
-rw-r--r-- | app-admin/setools/ChangeLog | 7 | ||||
-rw-r--r-- | app-admin/setools/Manifest | 24 | ||||
-rw-r--r-- | app-admin/setools/files/digest-setools-2.3 | 3 | ||||
-rw-r--r-- | app-admin/setools/setools-2.3.ebuild | 75 |
4 files changed, 104 insertions, 5 deletions
diff --git a/app-admin/setools/ChangeLog b/app-admin/setools/ChangeLog index 93b2cdb664d2..9c6629b65c7f 100644 --- a/app-admin/setools/ChangeLog +++ b/app-admin/setools/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-admin/setools # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/setools/ChangeLog,v 1.43 2006/01/02 05:38:51 pebenito Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/setools/ChangeLog,v 1.44 2006/02/03 13:52:01 pebenito Exp $ + +*setools-2.3 (03 Feb 2006) + + 03 Feb 2006; Chris PeBenito <pebenito@gentoo.org> +setools-2.3.ebuild: + New upstream release. 02 Jan 2006; Chris PeBenito <pebenito@gentoo.org> -setools-2.1.2.ebuild, -setools-2.1.3.ebuild, setools-2.2.ebuild: diff --git a/app-admin/setools/Manifest b/app-admin/setools/Manifest index e3d310aa77dd..e8afc6d4cc3a 100644 --- a/app-admin/setools/Manifest +++ b/app-admin/setools/Manifest @@ -1,15 +1,31 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 c082971acbbf7a375492bdd7f61a5059 ChangeLog 5672 +MD5 fbd40efd5bd75047b3e25b65e3a48d0b ChangeLog 5798 +RMD160 7a59916187ab2999b5fec5f27f7189fc365aa705 ChangeLog 5798 +SHA256 7c871ad033c03086c8f6fcae67de8a504f67dfba2951a20eb963e939698c4fd5 ChangeLog 5798 MD5 ed1b98717ae185328af09c8127668fdf files/digest-setools-2.2 65 +RMD160 46d92b8604f28d0d9887746a113a0b6f1b716be6 files/digest-setools-2.2 65 +SHA256 155f1bdd26a1073a3c933f681ef4ab57c20e6b8bce967d614bb0ef866e66f841 files/digest-setools-2.2 65 +MD5 693c230244369bbbf80aa9c6458e414c files/digest-setools-2.3 241 +RMD160 b2d3934446003d3c5d8d618d0ade9fb2db785b69 files/digest-setools-2.3 241 +SHA256 c42ae9c90644810a48365604b1f4a307dc91c0f11766360f37f0a358b84987ed files/digest-setools-2.3 241 MD5 e7f3c1619fcbcf575ad7dee10f250108 files/setools-2.2-nogui.diff 3821 +RMD160 75dcdbacfd27b3afd3cd1f42dea31dc6f31f6892 files/setools-2.2-nogui.diff 3821 +SHA256 0ac06e7259a188fbef436bc6715c088086b4be9f27c3627f85e7f206a0c1e60d files/setools-2.2-nogui.diff 3821 MD5 f5d096116ff7743b040148ced68e4f7b metadata.xml 369 +RMD160 c37d0796a65a30cccd5d520514223758d68cff47 metadata.xml 369 +SHA256 58f5b1ba9b602226f7a76b1ebd8edc824e3488f5c9bce9cc53fc2b9dcf2ef84f metadata.xml 369 MD5 a268d0c9b61d5d4bdd08e243cbac52c9 setools-2.2.ebuild 1935 +RMD160 1c8b67016a0fe1bfa4c30a66168e18bb67f0aba8 setools-2.2.ebuild 1935 +SHA256 90719f09bfc566104ab372f93a3bb644e2f5728f606163d6b2c154f6cbe6bb7e setools-2.2.ebuild 1935 +MD5 b43b53ae0a8be2bb1a022f7e174fe92f setools-2.3.ebuild 1649 +RMD160 e805c46486043dee3c2bace2a7a19bf6d14c8cc9 setools-2.3.ebuild 1649 +SHA256 450b7e9fddb82ccd9605fea988a067defbbdc4fa807be38fbe6aa4c6b772ae50 setools-2.3.ebuild 1649 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) -iD8DBQFDuLzcJ+ChZlpDtAoRAtTsAJsHxSrWnE3piL06XzlvSbgUP78OdACgpbPf -5hs/qLREj4pmYh43vILKKHI= -=Q8rx +iD4DBQFD42AOJ+ChZlpDtAoRAiMvAJ94FK9W9k1ND9RfVI8oHk6glhx+wwCXWG09 +Z7SpV5BEQiRoQ5jy0yo16g== +=AXeL -----END PGP SIGNATURE----- diff --git a/app-admin/setools/files/digest-setools-2.3 b/app-admin/setools/files/digest-setools-2.3 new file mode 100644 index 000000000000..73c634e8851c --- /dev/null +++ b/app-admin/setools/files/digest-setools-2.3 @@ -0,0 +1,3 @@ +MD5 fcb16faa702a3e0b51276803bd736401 setools-2.3.tar.bz2 1143599 +RMD160 a3f9739acaab6f3d17aaddcbd9962b284a008a70 setools-2.3.tar.bz2 1143599 +SHA256 89ae5778a1792c999c2f29ffcd35815c58c72a116d6e4ee2039deb9b3268caec setools-2.3.tar.bz2 1143599 diff --git a/app-admin/setools/setools-2.3.ebuild b/app-admin/setools/setools-2.3.ebuild new file mode 100644 index 000000000000..9fac8b683ab8 --- /dev/null +++ b/app-admin/setools/setools-2.3.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/setools/setools-2.3.ebuild,v 1.1 2006/02/03 13:52:01 pebenito Exp $ + +inherit eutils + +DESCRIPTION="SELinux policy tools" +HOMEPAGE="http://www.tresys.com/selinux/selinux_policy_tools.shtml" +SRC_URI="http://www.tresys.com/files/setools/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc ~amd64" +IUSE="X debug selinux" + +S="${WORKDIR}/${PN}" + +DEPEND="sys-devel/bison + sys-devel/flex + dev-libs/libxml2 + dev-util/pkgconfig + selinux? ( sys-libs/libselinux ) + X? ( + dev-lang/tk + >=gnome-base/libglade-2.0 + )" + +RDEPEND="dev-libs/libxml2 + selinux? ( sys-libs/libselinux ) + X? ( + dev-lang/tk + >=dev-tcltk/bwidget-1.4.1 + >=gnome-base/libglade-2.0 + )" + +src_unpack() { + unpack ${A} + cd ${S} + + # enable debug if requested + useq debug && sed -i -e '/^DEBUG/s/0/1/' ${S}/Makefile + + # dont do findcon, replcon, searchcon, or indexcon if USE=-selinux + if ! useq selinux; then + sed -i -e '/^USE_LIBSELINUX/s/1/0/' ${S}/Makefile + sed -i -e '/^SE_CMDS/s/replcon//' \ + -e '/^SE_CMDS/s/findcon//' \ + -e '/^SE_CMDS/s/searchcon//' \ + -e '/^SE_CMDS/s/indexcon//' ${S}/secmds/Makefile + fi +} + +src_compile() { + cd ${S} + + if useq X; then + make CC_DEFINES="${CFLAGS}" all || die + else + make CC_DEFINES="${CFLAGS}" all-nogui || die + fi +} + +src_install() { + cd ${S} + + # some of the Makefiles are broken, and will fail + # if ${D}/usr/bin is nonexistant + dodir /usr/bin + + if use X; then + make DESTDIR=${D} install || die "install failed." + else + make DESTDIR=${D} install-nogui || die "install failed." + fi +} |