summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2016-04-27 20:35:21 -0400
committerAnthony G. Basile <blueness@gentoo.org>2016-04-27 20:35:21 -0400
commitcf2cddd134bec2070f7eb0aa21df67c93ea83bb2 (patch)
tree4e48bd6b54a3361d2164d3cc6de090f8ffb1406d /sys-apps
parentsys-kernel/rsbac-sources: remove deprecated package (diff)
downloadgentoo-cf2cddd134bec2070f7eb0aa21df67c93ea83bb2.tar.gz
gentoo-cf2cddd134bec2070f7eb0aa21df67c93ea83bb2.tar.bz2
gentoo-cf2cddd134bec2070f7eb0aa21df67c93ea83bb2.zip
sys-apps/rsbac-admin: remove deprecated package
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/rsbac-admin/Manifest1
-rw-r--r--sys-apps/rsbac-admin/files/nsswitch.conf24
-rw-r--r--sys-apps/rsbac-admin/files/rklogd32
-rw-r--r--sys-apps/rsbac-admin/files/rsbac.conf8
-rw-r--r--sys-apps/rsbac-admin/metadata.xml18
-rw-r--r--sys-apps/rsbac-admin/rsbac-admin-1.4.9.ebuild71
6 files changed, 0 insertions, 154 deletions
diff --git a/sys-apps/rsbac-admin/Manifest b/sys-apps/rsbac-admin/Manifest
deleted file mode 100644
index 7aa2a64fdefc..000000000000
--- a/sys-apps/rsbac-admin/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST rsbac-admin-1.4.9.tar.xz 260740 SHA256 df35b9930b2b42a038cf3e541b9c4aa393bd4c9d6493777f9cc661688c9960e9 SHA512 7978d80f0b88849f279ce7298a23f41420c889059171725962cc61d66ed99467556054dbcba060c196540dc9d2d04fe43947dfb1057f17457382600f20f900d5 WHIRLPOOL bba541f9051571f30ed0eff7f6bd5c7cd3e77747c23fd26fdf64ec6bf37630104c498db8ab65b817837e57eef28d1ae36066ba8ee82220cd9a93f0a1aea7cb2e
diff --git a/sys-apps/rsbac-admin/files/nsswitch.conf b/sys-apps/rsbac-admin/files/nsswitch.conf
deleted file mode 100644
index 43c5b172f0ab..000000000000
--- a/sys-apps/rsbac-admin/files/nsswitch.conf
+++ /dev/null
@@ -1,24 +0,0 @@
-# /etc/nsswitch.conf:
-
-passwd: compat rsbac [NOTFOUND=continue SUCCESS=continue]
-shadow: compat rsbac
-group: compat rsbac [NOTFOUND=continue SUCCESS=continue]
-
-# passwd: db files nis
-# shadow: db files nis
-# group: db files nis
-
-hosts: files dns
-networks: files dns
-
-services: db files
-protocols: db files
-rpc: db files
-ethers: db files
-
-netmasks: files
-netgroup: files
-bootparams: files
-
-automount: files
-aliases: files
diff --git a/sys-apps/rsbac-admin/files/rklogd b/sys-apps/rsbac-admin/files/rklogd
deleted file mode 100644
index 9dd2a6270d49..000000000000
--- a/sys-apps/rsbac-admin/files/rklogd
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-daemon="rklogd"
-rsbac_info="/proc/rsbac-info"
-
-start() {
- ebegin "Starting rklogd"
-
- local ret
- if [ -d "${rsbac_info}" ]; then
- if type run-jail >/dev/null 2>&1; then
- $(which run-jail) $daemon start-stop-daemon --start --exec $(which ${daemon})
- else
- start-stop-daemon --start --exec $(which ${daemon})
- fi
- ret=$?
- else
- ewarn "No rsbac-info directory avaible."
- ret=1
- fi
-
- eend $ret
-}
-
-stop() {
- ebegin "Stopping rklogd"
- start-stop-daemon --stop --exec $(which ${daemon})
- eend $?
-}
diff --git a/sys-apps/rsbac-admin/files/rsbac.conf b/sys-apps/rsbac-admin/files/rsbac.conf
deleted file mode 100644
index e646c003898a..000000000000
--- a/sys-apps/rsbac-admin/files/rsbac.conf
+++ /dev/null
@@ -1,8 +0,0 @@
-# RSBAC menu configuration
-# Thu Jun 17 01:36:19 CEST 2004
-RSBACMOD="PAX DAZ FF RC ACL AUTH CAP JAIL RES "
-DIALOG="dialog"
-# RSBACLANG is not set
-TMPDIR="/tmp"
-# RSBACPATH is not set
-# RSBACLOGFILE is not set
diff --git a/sys-apps/rsbac-admin/metadata.xml b/sys-apps/rsbac-admin/metadata.xml
deleted file mode 100644
index 8c7778bc3459..000000000000
--- a/sys-apps/rsbac-admin/metadata.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>blueness@gentoo.org</email>
- <name>Anthony G. Basile</name>
- </maintainer>
- <maintainer type="project">
- <email>hardened@gentoo.org</email>
- <name>Gentoo Hardened</name>
- </maintainer>
- <longdescription lang="en">
- Administrative tool for RSBAC system
- </longdescription>
- <use>
- <flag name="rklogd">Enabled deprecated RSBAC kernel logger</flag>
- </use>
-</pkgmetadata>
diff --git a/sys-apps/rsbac-admin/rsbac-admin-1.4.9.ebuild b/sys-apps/rsbac-admin/rsbac-admin-1.4.9.ebuild
deleted file mode 100644
index b4a212ac783b..000000000000
--- a/sys-apps/rsbac-admin/rsbac-admin-1.4.9.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2014 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 "********************************************************************************"
-}