# 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)
DIST rsbac-admin-1.2.6.tar.bz2 273778 RMD160 3fd1e203e770eba2fab1d04334b6a50eb29c24bb SHA1 5b7c3c878412e86a5946a98cd6010335fd5bf4b1 SHA256 dbd650dd64c39d2dc218f92e7a1492a17254d38e40a26bb7eac7c198d439dfb7
DIST rsbac-admin-1.2.7.tar.bz2 273610 RMD160 e2939ec79cc45eaaf22218f04530d772b0bef956 SHA1 42b55d30fa17050c95e3ff48f5bb42b09d706293 SHA256 1d49aaaf18e518681798a31a1e04c56947b24c5c0f206fca348b9624f56b133b
DIST rsbac-admin-1.3.0.tar.bz2 277266 RMD160 51eb8a40e432c73c1a6491760208e87afaa82956 SHA1 0c5b581ea4764c69fb03f17cb282d14b7b3c4298 SHA256 4415cc458a88afa3598b63ee7dbba7d0fcda72d9ac7fe046ac3693fcda77f99e
+DIST rsbac-admin-1.3.1.tar.bz2 277714 RMD160 64ab7fd728caa689bb60326f40ecc3b6b3d9457f SHA1 f485028fe0f95a500fa860d1fd17f7fc711e6205 SHA256 1e33afd5c540902e22a29039061ba833325c60aad6fc4e0c77feea916623cbaa
EBUILD rsbac-admin-1.2.5.ebuild 2094 RMD160 b379d937f2cb0d882bcaa59185068a94b2d2b49a SHA1 40d80f4c58967ede37d99db0c230530e20d4e1e0 SHA256 8c39332d2abd35dc68265717f19b34a7ec0108cd92f9bb5b74f766d1475e34d6
MD5 0460c1444d0e8206dc69b4135f648741 rsbac-admin-1.2.5.ebuild 2094
RMD160 b379d937f2cb0d882bcaa59185068a94b2d2b49a rsbac-admin-1.2.5.ebuild 2094
MD5 6719e3a9371c129b48664110348a51e3 rsbac-admin-1.2.99.ebuild 2169
RMD160 36ae66393da97db12005355eec2c980236588776 rsbac-admin-1.2.99.ebuild 2169
SHA256 05fdbd7978d6bfe03314b0ff4129a0ce8cf21c554223462751b968785093ee66 rsbac-admin-1.2.99.ebuild 2169
-EBUILD rsbac-admin-1.3.0.ebuild 2151 RMD160 a80b4147b1183d4dd25a0ad425f4d76ac5ac956e SHA1 56e165a3692fb78414458ea825615da7f102d389 SHA256 ecc748624f5e0a7c646f65de345d4ef21aeac59a736298a04baa887fbb2dcc1a
-MD5 38249e6b9f20071c8750a07bff934ff5 rsbac-admin-1.3.0.ebuild 2151
-RMD160 a80b4147b1183d4dd25a0ad425f4d76ac5ac956e rsbac-admin-1.3.0.ebuild 2151
-SHA256 ecc748624f5e0a7c646f65de345d4ef21aeac59a736298a04baa887fbb2dcc1a rsbac-admin-1.3.0.ebuild 2151
-MISC ChangeLog 4764 RMD160 d29c874649ad056a2dbf6b970d10a5833b928097 SHA1 3fd95f472c196380dc18e4aa19bfcdec85245360 SHA256 4295a3e03599e281a6bf091f716db019484ab7f0a300223f3823808773811378
-MD5 3fe7f4457ad7dc58c2d23178c3f57736 ChangeLog 4764
-RMD160 d29c874649ad056a2dbf6b970d10a5833b928097 ChangeLog 4764
-SHA256 4295a3e03599e281a6bf091f716db019484ab7f0a300223f3823808773811378 ChangeLog 4764
+EBUILD rsbac-admin-1.3.0.ebuild 2151 RMD160 205bb66ab81e56c89277fa257e098605dc7ebae4 SHA1 de3de875eaacb873a9a3042bd2005a3303ed0b24 SHA256 663a8f646400207d70464ec137073d499b47a4ada2318abe01bfa9dff0a97234
+MD5 26f44d3ea4368ee76ce85b8fbfef8b05 rsbac-admin-1.3.0.ebuild 2151
+RMD160 205bb66ab81e56c89277fa257e098605dc7ebae4 rsbac-admin-1.3.0.ebuild 2151
+SHA256 663a8f646400207d70464ec137073d499b47a4ada2318abe01bfa9dff0a97234 rsbac-admin-1.3.0.ebuild 2151
+EBUILD rsbac-admin-1.3.1.ebuild 2151 RMD160 6536cbf6c818455236600c7eb616893e7ed7a040 SHA1 5b59280d42f126a59d37dbe2d7cd877331175144 SHA256 3168091c51c6dea86913fb1d22129d6d03b9a1699afb7da2fd188c32bd6b3d45
+MD5 4275b5e6265ff3f6ac586fe740ec7246 rsbac-admin-1.3.1.ebuild 2151
+RMD160 6536cbf6c818455236600c7eb616893e7ed7a040 rsbac-admin-1.3.1.ebuild 2151
+SHA256 3168091c51c6dea86913fb1d22129d6d03b9a1699afb7da2fd188c32bd6b3d45 rsbac-admin-1.3.1.ebuild 2151
+MISC ChangeLog 4901 RMD160 64038c4fa49dd5202b5069c594e18184fbcd0976 SHA1 2d84f1c641f4c179c81cc7ff2483b72bdf61c802 SHA256 061f1721e5c6960484bfc3fd97521ef63fe350a307358f28c804a7ee94d18ee6
+MD5 8b28d70ef625dfe14d5b8dfdaedd8bc3 ChangeLog 4901
+RMD160 64038c4fa49dd5202b5069c594e18184fbcd0976 ChangeLog 4901
+SHA256 061f1721e5c6960484bfc3fd97521ef63fe350a307358f28c804a7ee94d18ee6 ChangeLog 4901
MISC metadata.xml 161 RMD160 600015e5b2643ae38ea2f9e5aaff6d31d42470a8 SHA1 578b6ea4c02d377eb40ee4000df8bc3d97497f82 SHA256 f9146563cc3df2b0d02d2f554c5293d439b56a4d36bc5aed0c66aa83dfb06c2f
MD5 035ff78da2388cc0585f93ef2247332d metadata.xml 161
RMD160 600015e5b2643ae38ea2f9e5aaff6d31d42470a8 metadata.xml 161
MD5 1d81d0bc435361a1ce1024bedbeb74df files/digest-rsbac-admin-1.3.0 256
RMD160 4242e02e9866bc0fec21d4a882084166155e817d files/digest-rsbac-admin-1.3.0 256
SHA256 0a1c4116f238690b2d01d1ebb949e7801d7c74fc9b9ee32664d87d4362be2ca7 files/digest-rsbac-admin-1.3.0 256
+MD5 433bc8e2dd702ab47e4f0a4315ba457c files/digest-rsbac-admin-1.3.1 256
+RMD160 9b9c3a88d63e5069283f1b6e95d1eb98e4e4fb0b files/digest-rsbac-admin-1.3.1 256
+SHA256 67edddf3d70a4250e168ffdf0b3be7c683e01c68f73660b9e0739f999f31a00e files/digest-rsbac-admin-1.3.1 256
--- /dev/null
+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
-# 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
--- /dev/null
+# 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."
+}