* [gentoo-commits] repo/gentoo:master commit in: net-misc/ip-sentinel/
@ 2020-11-27 16:49 Thomas Deutschmann
0 siblings, 0 replies; 3+ messages in thread
From: Thomas Deutschmann @ 2020-11-27 16:49 UTC (permalink / raw
To: gentoo-commits
commit: 0a726f9a245dc92aef06ed736409599444540c5b
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 27 16:44:59 2020 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Fri Nov 27 16:44:59 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a726f9a
net-misc/ip-sentinel: x86 stable (bug #757207)
Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
net-misc/ip-sentinel/ip-sentinel-0.12-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 76e2d1db7e7..2cd5fcce6a0 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=(
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ip-sentinel/
@ 2020-11-27 18:40 Aaron Bauman
0 siblings, 0 replies; 3+ messages in thread
From: Aaron Bauman @ 2020-11-27 18:40 UTC (permalink / raw
To: gentoo-commits
commit: 5d64e4debf57a79b0032153061924e41d0cc27c2
Author: Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 27 18:35:21 2020 +0000
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Fri Nov 27 18:35:21 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d64e4de
net-misc/ip-sentinel: drop old EAPI
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
net-misc/ip-sentinel/ip-sentinel-0.12.ebuild | 67 ----------------------------
1 file changed, 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 97256539afd..00000000000
--- 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
-}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ip-sentinel/
@ 2022-05-13 20:04 Sam James
0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2022-05-13 20:04 UTC (permalink / raw
To: gentoo-commits
commit: 083bcaf61105b441cf86eddb223b414359997f82
Author: Thomas Bracht Laumann Jespersen <t <AT> laumann <DOT> xyz>
AuthorDate: Wed Apr 20 19:43:09 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri May 13 20:03:33 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=083bcaf6
net-misc/ip-sentinel: [QA] eend missing argument
Replace the ebegin-end pair with einfo, and add "|| die" to each of the
mkdir and cp lines.
Signed-off-by: Thomas Bracht Laumann Jespersen <t <AT> laumann.xyz>
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/ip-sentinel/ip-sentinel-0.12-r2.ebuild | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/net-misc/ip-sentinel/ip-sentinel-0.12-r2.ebuild b/net-misc/ip-sentinel/ip-sentinel-0.12-r2.ebuild
index 44c2ea9d4979..1a50de532bad 100644
--- a/net-misc/ip-sentinel/ip-sentinel-0.12-r2.ebuild
+++ b/net-misc/ip-sentinel/ip-sentinel-0.12-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -40,10 +40,9 @@ 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
+ einfo "Setting up the chroot directory"
+ mkdir -m 0755 -p "${CHROOT}/etc" || die
+ cp -R /etc/ip-sentinel.cfg "${CHROOT}/etc" || die
if [ "`grep '^#[[:blank:]]\?CHROOT' /etc/conf.d/ip-sentinel`" ] ; then
sed -e '/^#[[:blank:]]\?CHROOT/s/^#[[:blank:]]\?//' \
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-05-13 20:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-13 20:04 [gentoo-commits] repo/gentoo:master commit in: net-misc/ip-sentinel/ Sam James
-- strict thread matches above, loose matches on Subject: below --
2020-11-27 18:40 Aaron Bauman
2020-11-27 16:49 Thomas Deutschmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox