summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris PeBenito <pebenito@gentoo.org>2005-10-12 22:55:09 +0000
committerChris PeBenito <pebenito@gentoo.org>2005-10-12 22:55:09 +0000
commit964150e4e3bfa68a9a0a0a98948918413f3106b8 (patch)
tree53acbd6110975488a23e1291f81bfc5614b7ef11 /app-admin
parentadd support for s390x multilib (diff)
downloadhistorical-964150e4e3bfa68a9a0a0a98948918413f3106b8.tar.gz
historical-964150e4e3bfa68a9a0a0a98948918413f3106b8.tar.bz2
historical-964150e4e3bfa68a9a0a0a98948918413f3106b8.zip
new upstream release
Package-Manager: portage-2.0.53_rc5
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/setools/ChangeLog8
-rw-r--r--app-admin/setools/Manifest16
-rw-r--r--app-admin/setools/files/digest-setools-2.1.01
-rw-r--r--app-admin/setools/files/digest-setools-2.1.11
-rw-r--r--app-admin/setools/files/digest-setools-2.1.31
-rw-r--r--app-admin/setools/setools-2.1.0.ebuild120
-rw-r--r--app-admin/setools/setools-2.1.3.ebuild (renamed from app-admin/setools/setools-2.1.1.ebuild)51
7 files changed, 20 insertions, 178 deletions
diff --git a/app-admin/setools/ChangeLog b/app-admin/setools/ChangeLog
index 25c48d83da23..6996f1317783 100644
--- a/app-admin/setools/ChangeLog
+++ b/app-admin/setools/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-admin/setools
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/setools/ChangeLog,v 1.38 2005/10/08 03:57:33 pebenito Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/setools/ChangeLog,v 1.39 2005/10/12 22:55:09 pebenito Exp $
+
+*setools-2.1.3 (12 Oct 2005)
+
+ 12 Oct 2005; Chris PeBenito <pebenito@gentoo.org> -setools-2.1.0.ebuild,
+ -setools-2.1.1.ebuild, +setools-2.1.3.ebuild:
+ New upstream release.
08 Oct 2005; Chris PeBenito <pebenito@gentoo.org> setools-2.1.2.ebuild:
Mark stable.
diff --git a/app-admin/setools/Manifest b/app-admin/setools/Manifest
index aa03eb8b98c6..e0a660806332 100644
--- a/app-admin/setools/Manifest
+++ b/app-admin/setools/Manifest
@@ -1,18 +1,16 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+MD5 2556b600d51b310fcd09ca7ac603eef1 ChangeLog 5107
+MD5 d5e3ea2528cfdcc54874e15ff5d5fbf2 files/digest-setools-2.1.2 67
+MD5 ac6b09b47a0b179e764fe646e1e6f9a9 files/digest-setools-2.1.3 67
MD5 418c2991b69fcf9d551aba29ae6f2b2e metadata.xml 505
-MD5 c5604d791b6b5a113e5cc5f19bf8f7bf setools-2.1.0.ebuild 3193
-MD5 b372b6e29ddd77f5ffff3461d4faecff setools-2.1.1.ebuild 3196
-MD5 7f51e39ad7c834b4954ca5611a69d7ce ChangeLog 4929
MD5 d097d8aac65d5756e00a413d572fbadf setools-2.1.2.ebuild 2015
-MD5 9df77ddbd782b94775d9f1157b7fecdb files/digest-setools-2.1.0 67
-MD5 cf2208a1067357ca34b33aaaa0663e43 files/digest-setools-2.1.1 67
-MD5 d5e3ea2528cfdcc54874e15ff5d5fbf2 files/digest-setools-2.1.2 67
+MD5 4f3a2b38eed026af086ef4b0ba5c57e1 setools-2.1.3.ebuild 1871
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
-iD8DBQFDR0O+J+ChZlpDtAoRAlVDAJ9DFFW2x4z4x65hqL4BZDVVpLqhVwCdEBOG
-PfcxoWi7Ds2eyJ8N1MJnG+A=
-=R/n1
+iD8DBQFDTZRbJ+ChZlpDtAoRAmpzAKCPoUOh8YtGaGB8dMSR02ibuNh8twCfQw4G
+O8WI0EjaWQWuMCWT+/FVnRw=
+=72Eo
-----END PGP SIGNATURE-----
diff --git a/app-admin/setools/files/digest-setools-2.1.0 b/app-admin/setools/files/digest-setools-2.1.0
deleted file mode 100644
index a55780eac598..000000000000
--- a/app-admin/setools/files/digest-setools-2.1.0
+++ /dev/null
@@ -1 +0,0 @@
-MD5 b4f9fda61546477d92b70cf63e8a3c0b setools-2.1.0.tar.bz2 1221189
diff --git a/app-admin/setools/files/digest-setools-2.1.1 b/app-admin/setools/files/digest-setools-2.1.1
deleted file mode 100644
index 22cda8fa7620..000000000000
--- a/app-admin/setools/files/digest-setools-2.1.1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 b90ea097e39d01695cfc4033623d322e setools-2.1.1.tar.bz2 1249669
diff --git a/app-admin/setools/files/digest-setools-2.1.3 b/app-admin/setools/files/digest-setools-2.1.3
new file mode 100644
index 000000000000..0ce134a6f3c7
--- /dev/null
+++ b/app-admin/setools/files/digest-setools-2.1.3
@@ -0,0 +1 @@
+MD5 a5f2f96e392922f85e0fe077daadd90a setools-2.1.3.tar.bz2 1401249
diff --git a/app-admin/setools/setools-2.1.0.ebuild b/app-admin/setools/setools-2.1.0.ebuild
deleted file mode 100644
index 1d3aade7b7d3..000000000000
--- a/app-admin/setools/setools-2.1.0.ebuild
+++ /dev/null
@@ -1,120 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/setools/setools-2.1.0.ebuild,v 1.3 2005/09/07 21:25:53 pebenito Exp $
-
-DESCRIPTION="SELinux policy tools"
-HOMEPAGE="http://www.tresys.com/selinux_policy_tools.html"
-SRC_URI="http://www.tresys.com/files/setools/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86 ppc amd64"
-IUSE="X debug selinux"
-
-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}
-
- # fix the Makefile to listen to portage CFLAGS
- sed -i -e "/^CFLAGS/s/-O2/${CFLAGS}/g" ${S}/Makefile
- sed -i -e "/^CFLAGS/s/-O2/${CFLAGS}/" ${S}/libsefs/sqlite/Makefile
-
- # enable debug if requested
- useq debug && sed -i -e '/^DEBUG/s/0/1/' ${S}/Makefile
-
- # generate the file contexts from the template
- sed -e 's:SEUSER_BINDIR:/usr/bin:' \
- -e 's:SEUSER_INSTALL_LIBDIR:/usr/share/setools:' \
- < ${S}/policy/seuser_template.fc > ${S}/policy/seuser.fc
-
- # dont chcon or install -Z
- sed -i -e '/object_r/d' ${S}/secmds/Makefile
- sed -i -e '/object_r/d' ${S}/seuser/Makefile
- sed -i -e 's,-Z system_u:object_r:etc_t,,g' ${S}/seaudit/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
-
- # adjust policy settings in seuser.conf
- echo "policy_dir ${POLICYDIR}" > ${S}/seuser/seuser.conf
- echo "policy.conf ${POLICYDIR}/policy.conf" >> ${S}/seuser/seuser.conf
- echo "file_contexts_file ${POLICYDIR}/file_contexts/file_contexts" >> ${S}/seuser/seuser.conf
- echo "user_file ${POLICYDIR}/users" >> ${S}/seuser/seuser.conf
-}
-
-src_compile() {
- cd ${S}
-
- if useq X; then
- make all || die
- else
- make all-nogui || die
- fi
-}
-
-src_install() {
- cd ${S}
-
- dodoc COPYING ChangeLog-setools README
-
- # some of the Makefiles are broken, and will fail
- # if ${D}/usr/bin is nonexistant
- dodir /usr/bin
-
- # command line tools
- make DESTDIR=${D} install-secmds \
- || die "secmds install failed."
-
- if useq X; then
- # graphical tools
- make DESTDIR=${D} install-apol install-sepcut install-seaudit install-sediffx \
- || die "Graphical tool install failed."
- fi
-
- if useq selinux; then
- if useq X; then
- make DESTDIR=${D} install-seuserx \
- || die "seuserx install failed."
- else
- make DESTDIR=${D} install-seuser \
- || die "seuser install failed."
- fi
-
- insinto ${POLICYDIR}/domains/program
- doins ${S}/policy/seuser.te
- insinto ${POLICYDIR}/file_contexts/program
- doins ${S}/policy/seuser.fc
- fi
-}
-
-pkg_postinst() {
- if useq selinux; then
- einfo "A policy for the seuser program has been installed into"
- einfo "${POLICYDIR}. Please reload your policy and relabel"
- einfo "setools: rlpkg setools"
- fi
-}
diff --git a/app-admin/setools/setools-2.1.1.ebuild b/app-admin/setools/setools-2.1.3.ebuild
index 441635e4602b..fd3bcf9768c6 100644
--- a/app-admin/setools/setools-2.1.1.ebuild
+++ b/app-admin/setools/setools-2.1.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/setools/setools-2.1.1.ebuild,v 1.2 2005/09/07 21:25:53 pebenito Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/setools/setools-2.1.3.ebuild,v 1.1 2005/10/12 22:55:09 pebenito Exp $
DESCRIPTION="SELinux policy tools"
HOMEPAGE="http://www.tresys.com/selinux_policy_tools.html"
@@ -40,14 +40,8 @@ src_unpack() {
# enable debug if requested
useq debug && sed -i -e '/^DEBUG/s/0/1/' ${S}/Makefile
- # generate the file contexts from the template
- sed -e 's:SEUSER_BINDIR:/usr/bin:' \
- -e 's:SEUSER_INSTALL_LIBDIR:/usr/share/setools:' \
- < ${S}/policy/seuser_template.fc > ${S}/policy/seuser.fc
-
# dont chcon or install -Z
sed -i -e '/object_r/d' ${S}/secmds/Makefile
- sed -i -e '/object_r/d' ${S}/seuser/Makefile
sed -i -e 's,-Z system_u:object_r:etc_t,,g' ${S}/seaudit/Makefile
# dont do findcon, replcon, searchcon, or indexcon if USE=-selinux
@@ -58,12 +52,6 @@ src_unpack() {
-e '/^SE_CMDS/s/searchcon//' \
-e '/^SE_CMDS/s/indexcon//' ${S}/secmds/Makefile
fi
-
- # adjust policy settings in seuser.conf
- echo "policy_dir ${POLICYDIR}" > ${S}/seuser/seuser.conf
- echo "policy.conf ${POLICYDIR}/policy.conf" >> ${S}/seuser/seuser.conf
- echo "file_contexts_file ${POLICYDIR}/file_contexts/file_contexts" >> ${S}/seuser/seuser.conf
- echo "user_file ${POLICYDIR}/users" >> ${S}/seuser/seuser.conf
}
src_compile() {
@@ -79,42 +67,13 @@ src_compile() {
src_install() {
cd ${S}
- dodoc COPYING ChangeLog-setools README
-
# some of the Makefiles are broken, and will fail
# if ${D}/usr/bin is nonexistant
dodir /usr/bin
- # command line tools
- make DESTDIR=${D} install-secmds \
- || die "secmds install failed."
-
- if useq X; then
- # graphical tools
- make DESTDIR=${D} install-apol install-sepcut install-seaudit install-sediffx \
- || die "Graphical tool install failed."
- fi
-
- if useq selinux; then
- if useq X; then
- make DESTDIR=${D} install-seuserx \
- || die "seuserx install failed."
- else
- make DESTDIR=${D} install-seuser \
- || die "seuser install failed."
- fi
-
- insinto ${POLICYDIR}/domains/program
- doins ${S}/policy/seuser.te
- insinto ${POLICYDIR}/file_contexts/program
- doins ${S}/policy/seuser.fc
- fi
-}
-
-pkg_postinst() {
- if useq selinux; then
- einfo "A policy for the seuser program has been installed into"
- einfo "${POLICYDIR}. Please reload your policy and relabel"
- einfo "setools: rlpkg setools"
+ if use X; then
+ make DESTDIR=${D} install || die "install failed."
+ else
+ make DESTDIR=${D} install-nogui || die "install failed."
fi
}