diff options
Diffstat (limited to 'net-misc/ip-sentinel')
-rw-r--r-- | net-misc/ip-sentinel/Manifest | 3 | ||||
-rw-r--r-- | net-misc/ip-sentinel/ip-sentinel-0.12-r1.ebuild | 2 | ||||
-rw-r--r-- | net-misc/ip-sentinel/ip-sentinel-0.12.ebuild | 67 |
3 files changed, 2 insertions, 70 deletions
diff --git a/net-misc/ip-sentinel/Manifest b/net-misc/ip-sentinel/Manifest index 93dd3169462c..f7f477daf5c7 100644 --- a/net-misc/ip-sentinel/Manifest +++ b/net-misc/ip-sentinel/Manifest @@ -3,6 +3,5 @@ AUX ip-sentinel.cfg 278 BLAKE2B bf582820bb9a22a0cb3e5b82ae934697c77d9f777e31ae1b AUX ip-sentinel.conf.d 357 BLAKE2B a8f08e6c63e4b1413f9021985086a573c4691c70f3d2f7447e0f23a4bfc80253b32971fff473e7ca1c71ee1f7bed192d2e8cd1ca01385153d156dc4bb1a25e7d SHA512 c35614e812cc0b3caea671cf2703493030f6de96f8b5afc80455c93f3e6181ddaf7eb6c22d8b63244f219b506db4bddfdf9792bf89ec17d7c56d274d003d4506 AUX ip-sentinel.init 1047 BLAKE2B 3073e1145b94e93b08400a06ed7a0f0ba4a7d11bd996f4daaf3e27ca857dd2b5c74d30e644ebdc3a5fa1911ef378d3a9306a011d293f5d46d25f989c5f3ac44d SHA512 89729f42d31a81902e957e67089c0e3ead7f8e8f9554ef787bd6c05f210f231d56812a5dcf56d5be58c360dd31fa38873dfa17d1ae0423a80d1e93055853ed75 DIST ip-sentinel-0.12.tar.bz2 165803 BLAKE2B 5b77dc771c432ddb556cc30cc9fce4226fed47958930cad4364af63146f8feeb5177542bccecbd276161acaa2232315022a59b8b83ba7763523886b4cb82b364 SHA512 dfa025fd96260073903ffe33dbaa5a146658dee2b8cb9bc04da0894a8de83207971a7f1e731128e42a0421052cdc352ed43a0298916f521d5f230533266e5077 -EBUILD ip-sentinel-0.12-r1.ebuild 2180 BLAKE2B a848bc02fb3e0e28e3eca77c5303bc6de17b476b82327aa9b7bbb26177441e0ec335316f2d1d7542b6a500511c08a04fc3c5ea6014c98dddda88a1228c6cffd2 SHA512 03f86d872cbafc7c24717c44719e8f468ff4e08748ab7656bb5783f25b803c94ad85736ea454756ff084bbb16084ce60b60c6dbee3d386360e925b19f31f9ae0 -EBUILD ip-sentinel-0.12.ebuild 2077 BLAKE2B aa22163ac0e315512e4a197b36c7b2a464875067ca27256b2e091c00f8b7d0647aa64220ebad81a164fc8deb8f76efe5d3444c9685c5fbb625ef8dab50e699f1 SHA512 09d5f004cc90df5f0460b8dfaddcd32e928d9b86e23e616acc784d02b7d77647d36de332c7f5c07cd784866b6c2926df46608123a4fe61543fa2d0765937b09e +EBUILD ip-sentinel-0.12-r1.ebuild 2179 BLAKE2B aed07a13e13ad7502d8f7b8675ae23858a49d21466a459f5c3e8d131b803c432883cbdfe93b4d760a357e12d72343819db9ce9361b9651e8e420a13e50ac5796 SHA512 328522239664f4f0f726bd46184e4df20e5d131f3f0de777407c6d6b10253cff3f1c3f5556cfd2efbd5ac2d374418c6389d949e176274c5eaed827bd8f6e7492 MISC metadata.xml 1303 BLAKE2B 7e42bf502035f8efb315fa524c938ff417f26dd88042ee673ffc9ed7aaa7efa52ef7a7ea08b7576bf32b8e213b6107c85b633967c261ead2349e78674793a36e SHA512 9ca404d2b97faf88cf40cf991584dfb1888e78b41817cc6dacfb2ac2bf13afdbb9c8496f61236e85ce2932c12d889975758108df0229760a16fa4478e5c0ffed diff --git a/net-misc/ip-sentinel/ip-sentinel-0.12-r1.ebuild b/net-misc/ip-sentinel/ip-sentinel-0.12-r1.ebuild index 76e2d1db7e7f..2cd5fcce6a09 100644 --- a/net-misc/ip-sentinel/ip-sentinel-0.12-r1.ebuild +++ b/net-misc/ip-sentinel/ip-sentinel-0.12-r1.ebuild @@ -9,7 +9,7 @@ HOMEPAGE="https://www.nongnu.org/ip-sentinel/" LICENSE="GPL-2" SRC_URI="https://savannah.nongnu.org/download/ip-sentinel/${P}.tar.bz2" SLOT="0" -KEYWORDS="~x86" +KEYWORDS="x86" DOCS=( AUTHORS ChangeLog NEWS README THANKS ) PATCHES=( 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 -} |