From: Anthony G. Basile Date: Fri, 14 Aug 2015 06:21:24 +0000 (-0400) Subject: sys-apps/rsbac-admin: version bump to 1.4.9. Remove older. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=123e26ccfef69ffbba99eda49a421d91282fc84b;p=gentoo.git sys-apps/rsbac-admin: version bump to 1.4.9. Remove older. Package-Manager: portage-2.2.20.1 --- diff --git a/sys-apps/rsbac-admin/Manifest b/sys-apps/rsbac-admin/Manifest index 8a83d9cef250..7aa2a64fdefc 100644 --- a/sys-apps/rsbac-admin/Manifest +++ b/sys-apps/rsbac-admin/Manifest @@ -1,3 +1 @@ -DIST rsbac-admin-1.4.6.tar.bz2 325844 SHA256 5edde3c5f84a3ebca8ff2c1164665dd4386d8cae1e215cd0784b613867ef03c1 -DIST rsbac-admin-1.4.7.tar.xz 267640 SHA256 d9fff603e6d4bd9b70cca3cae626aa1559863a22a8cacf8c1f7a38d91f8f088a SHA512 7ccdd1e9a87ebf5c0739975d58bcc60462d7c59c2b59bd5b0c9cd31b746e7cb90e2890245882f65b202aa61660b36507c6d895632ca12ecf4d626d560fed8901 WHIRLPOOL faad1a9900ba5e3926bf2a8c398cf03a4dc366a78051f800d8116fdd00a20381b9da48896b6cb808c492cd15019fbe0ede701ca92796cdf9ac907b85274f7a10 -DIST rsbac-admin-1.4.8.tar.xz 261512 SHA256 1e34b54702a4c8dfb2fc5d99a034dd7d3d9968e707dc51ac88c773cf9e0de5ed SHA512 4fe147d81f4dfe7a364557d07707ac5e218fbfc5658f2f1b14462edee377f10e778edb4535988210740fc68951cc05ac17bc3949fbae6803f3c25770b4be462e WHIRLPOOL 5caf07862d1dec309ab6978934b1fb007fe1bfaf711b6bf15df3f680103cb392b40a95c28c805ab552d07ccac67d103eea13894057d879b506e913b57bbe3a2f +DIST rsbac-admin-1.4.9.tar.xz 260740 SHA256 df35b9930b2b42a038cf3e541b9c4aa393bd4c9d6493777f9cc661688c9960e9 SHA512 7978d80f0b88849f279ce7298a23f41420c889059171725962cc61d66ed99467556054dbcba060c196540dc9d2d04fe43947dfb1057f17457382600f20f900d5 WHIRLPOOL bba541f9051571f30ed0eff7f6bd5c7cd3e77747c23fd26fdf64ec6bf37630104c498db8ab65b817837e57eef28d1ae36066ba8ee82220cd9a93f0a1aea7cb2e diff --git a/sys-apps/rsbac-admin/rsbac-admin-1.4.6-r1.ebuild b/sys-apps/rsbac-admin/rsbac-admin-1.4.6-r1.ebuild deleted file mode 100644 index 8f5ce2dccb16..000000000000 --- a/sys-apps/rsbac-admin/rsbac-admin-1.4.6-r1.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="4" - -inherit multilib toolchain-funcs - -DESCRIPTION="Rule Set Based Access Control (RSBAC) Admin Tools" -HOMEPAGE="http://www.rsbac.org/" -SRC_URI="http://www.rsbac.org/dl.php?file=code/${PV}/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -# using rklogd is deprecated but offer the option since it is fully removed -# from source -IUSE="pam rklogd" - -DEPEND=" - dev-util/dialog - pam? ( sys-libs/pam ) - sys-apps/baselayout - >=sys-libs/ncurses-5.2" - -RDEPEND="${DEPEND}" - -src_compile() { - local rsbacmakeargs="libs tools" - use rklogd && rsbacmakeargs="${rsbacmakeargs} rklogd" - use pam && rsbacmakeargs="${rsbacmakeargs} pam nss" - emake PREFIX=/usr LIBDIR=/$(get_libdir) ${rsbacmakeargs} -} - -src_install() { - local rsbacinstallargs="headers-install libs-install tools-install" - use rklogd && rsbacinstallargs="${rsbacinstallargs} rklogd-install" - use pam && rsbacinstallargs="${rsbacinstallargs} pam-install nss-install" - emake PREFIX=/usr LIBDIR=/$(get_libdir) DESTDIR="${D}" ${rsbacinstallargs} - - use rklogd && doinitd "${FILESDIR}"/rklogd - - insinto /etc - doins "${FILESDIR}"/rsbac.conf - - #FHS compliance - dodir /usr/$(get_libdir) - mv "${D}"/$(get_libdir)/librsbac.{,l}a "${D}"/usr/$(get_libdir) - mv "${D}"/$(get_libdir)/libnss_rsbac.{,l}a "${D}"/usr/$(get_libdir) - gen_usr_ldscript librsbac.so - gen_usr_ldscript libnss_rsbac.so -} - -pkg_postinst() { - einfo "********************************************************************************" - einfo "You have to add a security user to your system if you have not already done so." - einfo "The name could be 'secoff' or 'security' and, if you did not change the default" - einfo "uid in the RSBAC kernel configuration, then the following will work:" - einfo - einfo " groupadd -g 400 security" - einfo " useradd -g 400 -u 400 security" - einfo - einfo "We suggest you run a separate copy of syslog-ng (for example) to log RSBAC" - einfo "messages as user 'audit' (uid 404) instead of using the deprecated rklogd." - einfo "See" - einfo - einfo " http://www.rsbac.org/documentation/administration_examples/syslog-ng" - einfo - einfo "for more information." - einfo "********************************************************************************" -} diff --git a/sys-apps/rsbac-admin/rsbac-admin-1.4.6.ebuild b/sys-apps/rsbac-admin/rsbac-admin-1.4.6.ebuild deleted file mode 100644 index ec800f62cd6a..000000000000 --- a/sys-apps/rsbac-admin/rsbac-admin-1.4.6.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="4" - -inherit user multilib toolchain-funcs - -DESCRIPTION="Rule Set Based Access Control (RSBAC) Admin Tools" -HOMEPAGE="http://www.rsbac.org/" -SRC_URI="http://www.rsbac.org/dl.php?file=code/${PV}/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="pam" - -DEPEND=" - dev-util/dialog - pam? ( sys-libs/pam ) - sys-apps/baselayout" - -RDEPEND=" - ${DEPEND} - >=sys-libs/ncurses-5.2" - -src_compile() { - local rsbacmakeargs="libs tools" - use pam && rsbacmakeargs="${makeargs} pam nss" - emake PREFIX=/usr LIBDIR=/$(get_libdir) ${rsbacmakeargs} -} - -src_install() { - local rsbacinstallargs="headers-install libs-install tools-install" - use pam && rsbacinstallargs="${rsbacinstallargs} pam-install nss-install" - emake PREFIX=/usr LIBDIR=/$(get_libdir) DESTDIR="${D}" ${rsbacinstallargs} - - insinto /etc - doins "${FILESDIR}"/rsbac.conf - doins "${FILESDIR}"/nsswitch.conf - - dodir /secoff - keepdir /secoff - - dodir /var/log/rsbac - keepdir /var/log/rsbac - - #FHS compliance - dodir /usr/$(get_libdir) - mv "${D}"/$(get_libdir)/librsbac.{,l}a "${D}"/usr/$(get_libdir) - mv "${D}"/$(get_libdir)/libnss_rsbac.{,l}a "${D}"/usr/$(get_libdir) - gen_usr_ldscript librsbac.so - gen_usr_ldscript libnss_rsbac.so -} - -pkg_postinst() { - enewgroup secoff 400 - enewuser secoff 400 /bin/bash /secoff secoff - enewgroup audit 404 - enewuser audit 404 -1 /dev/null audit - - chmod 700 /secoff /var/log/rsbac - chown secoff:secoff -R /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://www.rsbac.org/documentation/administration_examples/syslog-ng" - einfo "for more information." -} diff --git a/sys-apps/rsbac-admin/rsbac-admin-1.4.7.ebuild b/sys-apps/rsbac-admin/rsbac-admin-1.4.7.ebuild deleted file mode 100644 index 90ceb6fefcab..000000000000 --- a/sys-apps/rsbac-admin/rsbac-admin-1.4.7.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="5" - -inherit multilib toolchain-funcs - -DESCRIPTION="Rule Set Based Access Control (RSBAC) Admin Tools" -HOMEPAGE="http://www.rsbac.org/" -SRC_URI="http://download.rsbac.org/code/${PV}/${P}.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -# using rklogd is deprecated but offer the option since it is fully removed -# from source -IUSE="pam rklogd" - -DEPEND=" - dev-util/dialog - pam? ( sys-libs/pam ) - sys-apps/baselayout - >=sys-libs/ncurses-5.2" - -RDEPEND="${DEPEND}" - -src_compile() { - local rsbacmakeargs="libs tools" - use rklogd && rsbacmakeargs="${rsbacmakeargs} rklogd" - use pam && rsbacmakeargs="${rsbacmakeargs} pam nss" - emake PREFIX=/usr LIBDIR=/$(get_libdir) ${rsbacmakeargs} -} - -src_install() { - local rsbacinstallargs="headers-install libs-install tools-install" - use rklogd && rsbacinstallargs="${rsbacinstallargs} rklogd-install" - use pam && rsbacinstallargs="${rsbacinstallargs} pam-install nss-install" - emake PREFIX=/usr LIBDIR=/$(get_libdir) DESTDIR="${D}" ${rsbacinstallargs} - - use rklogd && doinitd "${FILESDIR}"/rklogd - - insinto /etc - doins "${FILESDIR}"/rsbac.conf - - #FHS compliance - dodir /usr/$(get_libdir) - mv "${D}"/$(get_libdir)/librsbac.{,l}a "${D}"/usr/$(get_libdir) - mv "${D}"/$(get_libdir)/libnss_rsbac.{,l}a "${D}"/usr/$(get_libdir) - gen_usr_ldscript librsbac.so - gen_usr_ldscript libnss_rsbac.so -} - -pkg_postinst() { - einfo "********************************************************************************" - einfo "You have to add a security user to your system if you have not already done so." - einfo "The name could be 'secoff' or 'security' and, if you did not change the default" - einfo "uid in the RSBAC kernel configuration, then the following will work:" - einfo - einfo " groupadd -g 400 security" - einfo " useradd -g 400 -u 400 security" - einfo - einfo "We suggest you run a separate copy of syslog-ng (for example) to log RSBAC" - einfo "messages as user 'audit' (uid 404) instead of using the deprecated rklogd." - einfo "See" - einfo - einfo " http://www.rsbac.org/documentation/administration_examples/syslog-ng" - einfo - einfo "for more information." - einfo "********************************************************************************" -} diff --git a/sys-apps/rsbac-admin/rsbac-admin-1.4.8.ebuild b/sys-apps/rsbac-admin/rsbac-admin-1.4.9.ebuild similarity index 99% rename from sys-apps/rsbac-admin/rsbac-admin-1.4.8.ebuild rename to sys-apps/rsbac-admin/rsbac-admin-1.4.9.ebuild index 8c985209f283..b4a212ac783b 100644 --- a/sys-apps/rsbac-admin/rsbac-admin-1.4.8.ebuild +++ b/sys-apps/rsbac-admin/rsbac-admin-1.4.9.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI="5" +EAPI=5 inherit multilib toolchain-funcs