diff options
author | Guillaume Destuynder <kang@gentoo.org> | 2007-01-12 10:37:25 +0000 |
---|---|---|
committer | Guillaume Destuynder <kang@gentoo.org> | 2007-01-12 10:37:25 +0000 |
commit | c5d0910b60df4679ec3fb729ed32231f6296f5a1 (patch) | |
tree | 9e36b1f6e6d42a356b04442e7fa7d4840747d422 /sys-apps/rsbac-admin | |
parent | Version bump (diff) | |
download | gentoo-2-c5d0910b60df4679ec3fb729ed32231f6296f5a1.tar.gz gentoo-2-c5d0910b60df4679ec3fb729ed32231f6296f5a1.tar.bz2 gentoo-2-c5d0910b60df4679ec3fb729ed32231f6296f5a1.zip |
Bump RSBAC 1.3.1 & fix headers
(Portage version: 2.1.2_rc4-r7)
Diffstat (limited to 'sys-apps/rsbac-admin')
-rw-r--r-- | sys-apps/rsbac-admin/ChangeLog | 10 | ||||
-rw-r--r-- | sys-apps/rsbac-admin/files/digest-rsbac-admin-1.3.1 | 3 | ||||
-rw-r--r-- | sys-apps/rsbac-admin/rsbac-admin-1.3.0.ebuild | 4 | ||||
-rw-r--r-- | sys-apps/rsbac-admin/rsbac-admin-1.3.1.ebuild | 74 |
4 files changed, 87 insertions, 4 deletions
diff --git a/sys-apps/rsbac-admin/ChangeLog b/sys-apps/rsbac-admin/ChangeLog index c31906d6d21b..68520cd521be 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-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/rsbac-admin/ChangeLog,v 1.26 2006/11/09 14:30:31 kang Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/rsbac-admin/ChangeLog,v 1.27 2007/01/12 10:37:25 kang Exp $ + +*rsbac-admin-1.3.1 (12 Jan 2007) + + 12 Jan 2007; Guillaume Destuynder <kang@gentoo.org> + +rsbac-admin-1.3.1.ebuild: + Bump RSBAC 1.3.1 *rsbac-admin-1.3.0 (09 Nov 2006) diff --git a/sys-apps/rsbac-admin/files/digest-rsbac-admin-1.3.1 b/sys-apps/rsbac-admin/files/digest-rsbac-admin-1.3.1 new file mode 100644 index 000000000000..a8fba921868d --- /dev/null +++ b/sys-apps/rsbac-admin/files/digest-rsbac-admin-1.3.1 @@ -0,0 +1,3 @@ +MD5 29713cc843f99446adfeeb95139a93ec rsbac-admin-1.3.1.tar.bz2 277714 +RMD160 64ab7fd728caa689bb60326f40ecc3b6b3d9457f rsbac-admin-1.3.1.tar.bz2 277714 +SHA256 1e33afd5c540902e22a29039061ba833325c60aad6fc4e0c77feea916623cbaa rsbac-admin-1.3.1.tar.bz2 277714 diff --git a/sys-apps/rsbac-admin/rsbac-admin-1.3.0.ebuild b/sys-apps/rsbac-admin/rsbac-admin-1.3.0.ebuild index 90a5c5f16532..52511495b36e 100644 --- a/sys-apps/rsbac-admin/rsbac-admin-1.3.0.ebuild +++ b/sys-apps/rsbac-admin/rsbac-admin-1.3.0.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# 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.0.ebuild,v 1.1 2006/11/09 14:30:31 kang Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/rsbac-admin/rsbac-admin-1.3.0.ebuild,v 1.2 2007/01/12 10:37:25 kang Exp $ inherit eutils libtool diff --git a/sys-apps/rsbac-admin/rsbac-admin-1.3.1.ebuild b/sys-apps/rsbac-admin/rsbac-admin-1.3.1.ebuild new file mode 100644 index 000000000000..33d54685a5f6 --- /dev/null +++ b/sys-apps/rsbac-admin/rsbac-admin-1.3.1.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.1.ebuild,v 1.1 2007/01/12 10:37:25 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.1" + +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." +} |