diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-01-15 15:51:32 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-01-15 15:51:32 +0000 |
commit | 21435953e16cda318a82334ddbadb3b5c36d9ea7 (patch) | |
tree | e1810a4b135afce04b34862ef0fab2bfaeb8aeca /net-analyzer/ipguard | |
parent | 7bc9c63c9da678a7e6fceb095d56c634afd22c56 (diff) |
gentoo resync : 15.01.2020
Diffstat (limited to 'net-analyzer/ipguard')
-rw-r--r-- | net-analyzer/ipguard/Manifest | 2 | ||||
-rw-r--r-- | net-analyzer/ipguard/ipguard-1.04-r1.ebuild (renamed from net-analyzer/ipguard/ipguard-1.04.ebuild) | 26 |
2 files changed, 20 insertions, 8 deletions
diff --git a/net-analyzer/ipguard/Manifest b/net-analyzer/ipguard/Manifest index c98169c6e9f0..c7ce69bbefd1 100644 --- a/net-analyzer/ipguard/Manifest +++ b/net-analyzer/ipguard/Manifest @@ -1,4 +1,4 @@ AUX ipguard.confd 186 BLAKE2B cd3e58efb088134c2ff340360be06ab0f9159b14c766b159dcb546d0136ccd65807b7c33bb89d45565179ead01d43f8da29bfdb19dfe59ba5e0008dc81dc2e82 SHA512 efb47689d944ce77863b7cd1722bba974fbf573af2e1051c08166a535dd8284f2cc820a624531d1c60e099e6da06d59f3659ab52b4b3557f3e1f4bf5c572f58d DIST ipguard-1.04.tar.gz 24566 BLAKE2B c9d543e6f7886c3b6377fbfe95e91e2d786da6a92fe445c9500c8b7ea6fb859bf8550daf9c83de425494376d0ed7197158e5ff9499a97417793b439e82004326 SHA512 c29c3f594e09ad1c06ca7297f794ddfada48da7ec2b98786694cd6af7508cbff232889e0c90718d96519297870b93132b7b0f9f310a0e4d7a7c2d54a30ca893c -EBUILD ipguard-1.04.ebuild 1146 BLAKE2B fba8463110181af4efb83cd6f0026e8ad470eaaf8e8187d451b3c1d331f68f0c7782259342aa7fc50ffd4e5cbc625e2c98d49c5e19249c742a129b77cec6a908 SHA512 5ed15737b5b9039c5ef510c60e38a657ecbfb3b02e148a673a8c879f40178484f3779285d31d4138fb01116f69435df1a02ec42cf57b14406035bb70422658b6 +EBUILD ipguard-1.04-r1.ebuild 1236 BLAKE2B 534eb12f57b29e922d67c27cb1c470f03c9a5cd9eab2eb4e0788fbb0327e700e7fe3cf77f2d5eccdf55474e2acddb0f866b2c0666a6cfb3b60e4adaa2d12b416 SHA512 e860a8c4ee4893cc380ba3e1d12d760661f4bf50229fb43a4f0ffff1dc93f88ecdb7aa858c9f15133019b69797235a089bec713cb0b74e514d625b0ea88a6c11 MISC metadata.xml 276 BLAKE2B e21811549278e73aa9a14acfe242fd022106a39ac1300caa00615772d7f54d08a433052659a271f9ac0d453c7776fc2b9e8d86e6d3f637817c214174dde52cb2 SHA512 f0e6c6bc89659e01e157d9bf30d0a2f3fd2d71bc26c8d12489c4a44fc5237159946e25b46e7295ab4676aea63559194977a0b1e76aced31d81cf6387dd0f4250 diff --git a/net-analyzer/ipguard/ipguard-1.04.ebuild b/net-analyzer/ipguard/ipguard-1.04-r1.ebuild index 0de7e748f4a2..a30baf79b5e9 100644 --- a/net-analyzer/ipguard/ipguard-1.04.ebuild +++ b/net-analyzer/ipguard/ipguard-1.04-r1.ebuild @@ -1,24 +1,28 @@ -# 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" HOMEPAGE="http://ipguard.deep.perm.ru/" -SRC_URI="${HOMEPAGE}files/${P}.tar.gz" +SRC_URI="http://ipguard.deep.perm.ru/files/${P}.tar.gz" LICENSE="BSD-2" 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} |