diff options
author | Guillaume Destuynder <kang@gentoo.org> | 2007-06-08 14:26:20 +0000 |
---|---|---|
committer | Guillaume Destuynder <kang@gentoo.org> | 2007-06-08 14:26:20 +0000 |
commit | 5dcbb00f40f32391cde98563665035c3f56263b6 (patch) | |
tree | d93061545bfce25670f41e17a2b0754a3ff25487 /sys-apps/rsbac-admin | |
parent | Add a snapshot of amarok from SVN to avoid having to backport all the fixes. (diff) | |
download | gentoo-2-5dcbb00f40f32391cde98563665035c3f56263b6.tar.gz gentoo-2-5dcbb00f40f32391cde98563665035c3f56263b6.tar.bz2 gentoo-2-5dcbb00f40f32391cde98563665035c3f56263b6.zip |
1.3.1 stable on amd64, bump to 1.3.4
(Portage version: 2.1.2.9)
Diffstat (limited to 'sys-apps/rsbac-admin')
-rw-r--r-- | sys-apps/rsbac-admin/ChangeLog | 8 | ||||
-rw-r--r-- | sys-apps/rsbac-admin/files/digest-rsbac-admin-1.3.4 | 3 | ||||
-rw-r--r-- | sys-apps/rsbac-admin/rsbac-admin-1.3.1.ebuild | 4 | ||||
-rw-r--r-- | sys-apps/rsbac-admin/rsbac-admin-1.3.4.ebuild | 74 |
4 files changed, 86 insertions, 3 deletions
diff --git a/sys-apps/rsbac-admin/ChangeLog b/sys-apps/rsbac-admin/ChangeLog index 5aa5b9b14c9e..d50ee1315732 100644 --- a/sys-apps/rsbac-admin/ChangeLog +++ b/sys-apps/rsbac-admin/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-apps/rsbac-admin # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/rsbac-admin/ChangeLog,v 1.28 2007/01/31 12:06:20 kang Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/rsbac-admin/ChangeLog,v 1.29 2007/06/08 14:26:20 kang Exp $ + +*rsbac-admin-1.3.4 (08 Jun 2007) + + 08 Jun 2007; Guillaume Destuynder <kang@gentoo.org> + rsbac-admin-1.3.1.ebuild, +rsbac-admin-1.3.4.ebuild: + 1.3.1 stable for amd64, bump 1.3.4 31 Jan 2007; Guillaume Destuynder <kang@gentoo.org> rsbac-admin-1.3.1.ebuild: diff --git a/sys-apps/rsbac-admin/files/digest-rsbac-admin-1.3.4 b/sys-apps/rsbac-admin/files/digest-rsbac-admin-1.3.4 new file mode 100644 index 000000000000..1b82522ad234 --- /dev/null +++ b/sys-apps/rsbac-admin/files/digest-rsbac-admin-1.3.4 @@ -0,0 +1,3 @@ +MD5 2351e083b7cffb3c94afad5aedfdf02a rsbac-admin-1.3.4.tar.bz2 279557 +RMD160 8ac22d3d16340fbc8882bdcf7f93ece419e37406 rsbac-admin-1.3.4.tar.bz2 279557 +SHA256 b2c378461c580e201f0184a64db87d479471b25cd6a8541cd706c9e48dce24e5 rsbac-admin-1.3.4.tar.bz2 279557 diff --git a/sys-apps/rsbac-admin/rsbac-admin-1.3.1.ebuild b/sys-apps/rsbac-admin/rsbac-admin-1.3.1.ebuild index 18843d7d7bde..a4feaeb821e2 100644 --- a/sys-apps/rsbac-admin/rsbac-admin-1.3.1.ebuild +++ b/sys-apps/rsbac-admin/rsbac-admin-1.3.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/rsbac-admin/rsbac-admin-1.3.1.ebuild,v 1.2 2007/01/31 12:06:20 kang Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/rsbac-admin/rsbac-admin-1.3.1.ebuild,v 1.3 2007/06/08 14:26:20 kang Exp $ inherit eutils libtool @@ -15,7 +15,7 @@ SRC_URI="http://download.rsbac.org/code/${PV}/rsbac-admin-${PV}.tar.bz2" SLOT="0" LICENSE="GPL-2" -KEYWORDS="x86 ~amd64" +KEYWORDS="x86 amd64" NSS="1.3.1" DEPEND="dev-util/dialog diff --git a/sys-apps/rsbac-admin/rsbac-admin-1.3.4.ebuild b/sys-apps/rsbac-admin/rsbac-admin-1.3.4.ebuild new file mode 100644 index 000000000000..5607e726a100 --- /dev/null +++ b/sys-apps/rsbac-admin/rsbac-admin-1.3.4.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/rsbac-admin/rsbac-admin-1.3.4.ebuild,v 1.1 2007/06/08 14:26:20 kang Exp $ + +inherit eutils libtool + +IUSE="pam" + +# RSBAC Adming packet name +#ADMIN=rsbac-admin-v${PV} + +DESCRIPTION="Rule Set Based Access Control (RSBAC) Admin Tools" +HOMEPAGE="http://www.rsbac.org/ http://hardened.gentoo.org/rsbac" +SRC_URI="http://download.rsbac.org/code/${PV}/rsbac-admin-${PV}.tar.bz2" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~amd64" +NSS="1.3.4" + +DEPEND="dev-util/dialog + pam? ( sys-libs/pam ) + sys-apps/baselayout" + +RDEPEND=">=sys-libs/ncurses-5.2" + +src_unpack() { + unpack $A + cd ${S} + elibtoolize +} + +src_compile() { + local rsbacmakeargs + rsbacmakeargs="libs tools" + use pam && { + rsbacmakeargs="${makeargs} pam nss" + } + emake PREFIX=/usr ${rsbacmakeargs} || die "cannot build (${rsbacmakeargs})" +} + +src_install() { + local rsabacinstallargs + rsbacinstallargs="headers-install libs-install tools-install" + use pam && { + rsbacinstallargs="${rsbacinstallargs} pam-install nss-install" + } + make PREFIX=/usr DESTDIR=${D} ${rsbacinstallargs} || \ + die "cannot install (${rsbacinstallargs})" + insinto /etc + newins ${FILESDIR}/rsbac.conf rsbac.conf ${FILESDIR}/nsswitch.conf + dodir /secoff + keepdir /secoff + dodir /var/log/rsbac + keepdir /var/log/rsbac +} + +pkg_postinst() { + enewgroup secoff 400 || die "problem adding group secoff" + enewuser secoff 400 /bin/bash /secoff secoff || \ + die "problem adding user secoff" + enewgroup audit 404 || die "problem adding group audit" + enewuser audit 404 -1 /dev/null audit || \ + die "problem adding user audit" + + chmod 700 /secoff /var/log/rsbac || \ + die "problem changing permissions of /secoff and/or /secoff/log" + chown secoff:secoff -R /secoff || \ + die "problem changing ownership of /secoff" + einfo "It is suggested to run (for example) a separate copy of syslog-ng to" + einfo "log RSBAC messages, as user audit (uid 404) instead of using the deprecated" + einfo "rklogd. See http://rsbac.org/documentation/administration_examples/syslog-ng" + einfo "for more information." +} |