diff options
author | Aaron Bauman <bman@gentoo.org> | 2020-11-27 13:35:21 -0500 |
---|---|---|
committer | Aaron Bauman <bman@gentoo.org> | 2020-11-27 13:35:21 -0500 |
commit | 5d64e4debf57a79b0032153061924e41d0cc27c2 (patch) | |
tree | cc5e50b1e9a0f2ae59ba389f4713bd8220f0df32 /net-misc/ip-sentinel | |
parent | www-client/vivaldi-snapshot: Drop old 3.5.2115.21 (diff) | |
download | gentoo-5d64e4debf57a79b0032153061924e41d0cc27c2.tar.gz gentoo-5d64e4debf57a79b0032153061924e41d0cc27c2.tar.bz2 gentoo-5d64e4debf57a79b0032153061924e41d0cc27c2.zip |
net-misc/ip-sentinel: drop old EAPI
Signed-off-by: Aaron Bauman <bman@gentoo.org>
Diffstat (limited to 'net-misc/ip-sentinel')
-rw-r--r-- | net-misc/ip-sentinel/ip-sentinel-0.12.ebuild | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/net-misc/ip-sentinel/ip-sentinel-0.12.ebuild b/net-misc/ip-sentinel/ip-sentinel-0.12.ebuild deleted file mode 100644 index 97256539afd6..000000000000 --- a/net-misc/ip-sentinel/ip-sentinel-0.12.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit eutils user - -DESCRIPTION="Prevent unauthorized usage of IPs in the local ethernet broadcastdomain by answering ARP-requests" -HOMEPAGE="http://www.nongnu.org/ip-sentinel/" -LICENSE="GPL-2" -SRC_URI="https://savannah.nongnu.org/download/ip-sentinel/${P}.tar.bz2" -SLOT="0" -KEYWORDS="x86" - -DOCS=( AUTHORS ChangeLog NEWS README THANKS ) - -src_install() { - default - - newinitd "${FILESDIR}"/ip-sentinel.init ip-sentinel - newconfd "${FILESDIR}"/ip-sentinel.conf.d ip-sentinel - - insinto /etc - newins "${FILESDIR}"/ip-sentinel.cfg ip-sentinel.cfg -} - -pkg_setup() { - enewgroup ipsentinel - enewuser ipsentinel -1 -1 -1 ipsentinel -} - -pkg_postinst() { - elog "You can edit /etc/conf.d/ip-sentinel to customize startup daemon" - elog "settings." - elog - elog "Default ip-sentinel config is in /etc/ip-sentinel.cfg" - elog - elog "The ip-sentinel ebuild has chroot support." - elog "If you like to run ip-sentinel in chroot AND this is a new install OR" - elog "your ip-sentinel doesn't already run in chroot, simply run:" - elog "emerge --config =${CATEGORY}/${PF}" - elog "Before running the above command you might want to change the chroot" - elog "dir in /etc/conf.d/ip-sentinel, otherwise /chroot/ip-sentinel will be used." - echo - ewarn "And please! DO NOT START THIS DAEMON thoughtlessly." - ewarn "If you DO this will BLOCK ALL communication inside your ethernet" - ewarn "segment!!! If you have any doubts do not start ip-sentinel." -} - -pkg_config() { - CHROOT=`sed -n 's/^[[:blank:]]\?CHROOT="\([^"]\+\)"/\1/p' /etc/conf.d/ip-sentinel 2>/dev/null` - - if [ ! -d "${CHROOT:=/chroot/ip-sentinel}" ] ; then - ebegin "Setting up the chroot directory" - mkdir -m 0755 -p "${CHROOT}/etc" - cp -R /etc/ip-sentinel.cfg "${CHROOT}/etc" - eend - - if [ "`grep '^#[[:blank:]]\?CHROOT' /etc/conf.d/ip-sentinel`" ] ; then - sed -e '/^#[[:blank:]]\?CHROOT/s/^#[[:blank:]]\?//' \ - -i /etc/conf.d/ip-sentinel - fi - else - eerror - eerror "${CHROOT} already exists. Quitting." - eerror - fi -} |