public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/ipguard/
@ 2020-01-07 14:05 Jeroen Roovers
  0 siblings, 0 replies; 3+ messages in thread
From: Jeroen Roovers @ 2020-01-07 14:05 UTC (permalink / raw
  To: gentoo-commits

commit:     b8508cdd4c06d6195c6ce4ad87b6d01f9ef9153a
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Tue Jan  7 14:04:41 2020 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Tue Jan  7 14:05:12 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8508cdd

net-analyzer/ipguard: Depend on net-libs/libnet:1.1

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Closes: https://bugs.gentoo.org/show_bug.cgi?id=599162
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>

 ...{ipguard-1.04.ebuild => ipguard-1.04-r1.ebuild} | 24 ++++++++++++++++------
 1 file changed, 18 insertions(+), 6 deletions(-)

diff --git a/net-analyzer/ipguard/ipguard-1.04.ebuild b/net-analyzer/ipguard/ipguard-1.04-r1.ebuild
similarity index 73%
rename from net-analyzer/ipguard/ipguard-1.04.ebuild
rename to net-analyzer/ipguard/ipguard-1.04-r1.ebuild
index 0de7e748f4a..914a239c820 100644
--- a/net-analyzer/ipguard/ipguard-1.04.ebuild
+++ b/net-analyzer/ipguard/ipguard-1.04-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
 inherit toolchain-funcs
 
 DESCRIPTION="Tool designed to protect LAN IP adress space by ARP spoofing"
@@ -13,12 +13,16 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
 DEPEND="
-	net-libs/libnet
+	net-libs/libnet:1.1
 	net-libs/libpcap
 "
-RDEPEND="${DEPEND}"
+RDEPEND="
+	${DEPEND}
+"
 
 src_prepare() {
+	default
+
 	sed -i \
 		-e 's|-g ||g' \
 		-e 's|	@$(CC)|	$(CC)|g' \
@@ -38,11 +42,19 @@ src_prepare() {
 }
 
 src_compile() {
-	emake LIBNET_CONFIG=libnet-config CC=$(tc-getCC) PREFIX=\"${EPREFIX:-/usr}\"
+	emake \
+		CC=$(tc-getCC) \
+		LIBNET_CONFIG="$(tc-getPKG_CONFIG) libnet" \
+		PREFIX=\"${EPREFIX:-/usr}\"
 }
 
 src_install() {
-	emake LIBNET_CONFIG=libnet-config DESTDIR="${D}" PREFIX=\"${EPREFIX:-/usr}\" install
+	emake \
+		DESTDIR="${D}" \
+		LIBNET_CONFIG="$(tc-getPKG_CONFIG) libnet" \
+		PREFIX=\"${EPREFIX:-/usr}\" \
+		install
+
 	newinitd doc/${PN}.gentoo ${PN}
 	newconfd "${FILESDIR}"/${PN}.confd ${PN}
 	dodoc doc/{NEWS,README*,ethers.sample}


^ permalink raw reply related	[flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/ipguard/
@ 2022-03-20 18:43 Sam James
  0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2022-03-20 18:43 UTC (permalink / raw
  To: gentoo-commits

commit:     4e458ae22d68f19209d3b33178543bd020b33cf9
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 20 18:41:18 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar 20 18:43:37 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e458ae2

net-analyzer/ipguard: [QA] fix tc-get* quoting

This can cause build problems for e.g. 32-bit (gcc -m32 ...)

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-analyzer/ipguard/ipguard-1.04-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-analyzer/ipguard/ipguard-1.04-r1.ebuild b/net-analyzer/ipguard/ipguard-1.04-r1.ebuild
index cbd0d12934c6..3677434a94be 100644
--- a/net-analyzer/ipguard/ipguard-1.04-r1.ebuild
+++ b/net-analyzer/ipguard/ipguard-1.04-r1.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
@@ -29,7 +29,7 @@ PATCHES=(
 
 src_compile() {
 	emake \
-		CC=$(tc-getCC) \
+		CC="$(tc-getCC)" \
 		LIBNET_CONFIG="$(tc-getPKG_CONFIG) libnet" \
 		PREFIX=\"${EPREFIX:-/usr}\"
 }


^ permalink raw reply related	[flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/ipguard/
@ 2022-06-16 16:30 Sam James
  0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2022-06-16 16:30 UTC (permalink / raw
  To: gentoo-commits

commit:     1cc1645343a20261cb1bc930ae58449ecd690839
Author:     Thomas Bracht Laumann Jespersen <t <AT> laumann <DOT> xyz>
AuthorDate: Wed Jun  8 20:11:02 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jun 16 16:30:38 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cc16453

net-analyzer/ipguard: fix unquoted variable EPREFIX

Signed-off-by: Thomas Bracht Laumann Jespersen <t <AT> laumann.xyz>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-analyzer/ipguard/ipguard-1.04-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-analyzer/ipguard/ipguard-1.04-r1.ebuild b/net-analyzer/ipguard/ipguard-1.04-r1.ebuild
index 3677434a94be..0b9d630790e5 100644
--- a/net-analyzer/ipguard/ipguard-1.04-r1.ebuild
+++ b/net-analyzer/ipguard/ipguard-1.04-r1.ebuild
@@ -31,14 +31,14 @@ src_compile() {
 	emake \
 		CC="$(tc-getCC)" \
 		LIBNET_CONFIG="$(tc-getPKG_CONFIG) libnet" \
-		PREFIX=\"${EPREFIX:-/usr}\"
+		PREFIX=\""${EPREFIX:-/usr}"\"
 }
 
 src_install() {
 	emake \
 		DESTDIR="${D}" \
 		LIBNET_CONFIG="$(tc-getPKG_CONFIG) libnet" \
-		PREFIX=\"${EPREFIX:-/usr}\" \
+		PREFIX=\""${EPREFIX:-/usr}"\" \
 		install
 
 	newinitd doc/${PN}.gentoo ${PN}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-06-16 16:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-07 14:05 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/ipguard/ Jeroen Roovers
  -- strict thread matches above, loose matches on Subject: below --
2022-03-20 18:43 Sam James
2022-06-16 16:30 Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox