diff options
author | Hasan ÇALIŞIR <hasan.calisir@psauxit.com> | 2019-03-20 03:59:43 +0300 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2019-03-20 22:35:18 +0100 |
commit | 06c9d82e1918d3d2fa3c95d66b7a95b50b5240e7 (patch) | |
tree | c5093f9c6d3244008b2831e05111bc8efcc3b050 | |
parent | dev-python/dask: version bump to 1.1.3 EAPI bump 7. (diff) | |
download | gentoo-06c9d82e1918d3d2fa3c95d66b7a95b50b5240e7.tar.gz gentoo-06c9d82e1918d3d2fa3c95d66b7a95b50b5240e7.tar.bz2 gentoo-06c9d82e1918d3d2fa3c95d66b7a95b50b5240e7.zip |
net-analyzer/synscan: bump to version 5.02, EAPI 7.
Signed-off-by: Hasan ÇALIŞIR <hasan.calisir@psauxit.com>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
Closes: https://github.com/gentoo/gentoo/pull/11419
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
-rw-r--r-- | net-analyzer/synscan/Manifest | 1 | ||||
-rw-r--r-- | net-analyzer/synscan/files/synscan-5.02-destdir.patch | 15 | ||||
-rw-r--r-- | net-analyzer/synscan/metadata.xml | 8 | ||||
-rw-r--r-- | net-analyzer/synscan/synscan-5.02.ebuild | 39 |
4 files changed, 63 insertions, 0 deletions
diff --git a/net-analyzer/synscan/Manifest b/net-analyzer/synscan/Manifest index 10d12f47a339..1c2ae2fe5d31 100644 --- a/net-analyzer/synscan/Manifest +++ b/net-analyzer/synscan/Manifest @@ -1 +1,2 @@ DIST synscan-5.01.tar.gz 61440 BLAKE2B c32984108e7bf618816f29f034d120e322e25816b8aef6aa4a80920bb0555223706c1f916f96f64be7015bedcf4b22c55fb59a54b53ffe03d85575871832e503 SHA512 6a090ceed5ca0766b63a82fee468459a47cc2bbd97c120d0e0b8708f5ce154116d988a42ff29a9b6fa5fd6d699064b1df0e263795c4dcef0f619797289db88fc +DIST synscan-5.02.tar.gz 60651 BLAKE2B 0ad083d6751234b60ec0428cb3752ba1207a5be5e305a0d26950343c7a7f0572aa9ad5cb16831d862ac43c35a051514bd8fefce4abadbf4c120e4e9add7fa433 SHA512 40ec616e169d0d4150e2213fbdcb985e55dcceefef521b0bf85d8964f5b82892b8abeffcbe9c5e38314c22b86553dae56fb082d546e83efa65755a4d345ea7b0 diff --git a/net-analyzer/synscan/files/synscan-5.02-destdir.patch b/net-analyzer/synscan/files/synscan-5.02-destdir.patch new file mode 100644 index 000000000000..920bf65c1ed6 --- /dev/null +++ b/net-analyzer/synscan/files/synscan-5.02-destdir.patch @@ -0,0 +1,15 @@ +--- a/Makefile.in 2011-02-21 23:05:20.000000000 +0200 ++++ b/Makefile.in 2019-03-20 18:28:46.812472904 +0300 +@@ -65,10 +65,8 @@ + ${CC} ${LDFLAGS} ${CFLAGS} $< ${OBJS} ${LIBS} -o sslog + + install: +- mkdir -p -m 755 ${bindir} +- strip synscan +- strip sslog +- @INSTALL_PROGRAM@ synscan sslog ${bindir} ++ mkdir -p -m 755 $(DESTDIR)${bindir} ++ @INSTALL_PROGRAM@ synscan sslog $(DESTDIR)${bindir} + + clean: + rm -f ${PROJ} ${OBJS} core *.core diff --git a/net-analyzer/synscan/metadata.xml b/net-analyzer/synscan/metadata.xml index 097975e3adc2..1b94d6737400 100644 --- a/net-analyzer/synscan/metadata.xml +++ b/net-analyzer/synscan/metadata.xml @@ -1,4 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> + <maintainer type="person"> + <email>hasan.calisir@psauxit.com</email> + <name>Hasan ÇALIŞIR</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> </pkgmetadata> diff --git a/net-analyzer/synscan/synscan-5.02.ebuild b/net-analyzer/synscan/synscan-5.02.ebuild new file mode 100644 index 000000000000..734a7d101fba --- /dev/null +++ b/net-analyzer/synscan/synscan-5.02.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit autotools eutils + +DESCRIPTION="A fast asynchronous half-open TCP portscanner" +HOMEPAGE="http://www.digit-labs.org/files/tools/synscan/" +SRC_URI="http://www.digit-labs.org/files/tools/${PN}/releases/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="kernel_FreeBSD kernel_linux" + +RDEPEND="net-libs/libpcap" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}/${P}-destdir.patch" +) + +src_prepare() { + default + mv "$S"/configure.in "$S"/configure.ac || die + eautoconf +} + +src_configure() { + econf --prefix="${EPREFIX}"/usr +} + +src_compile() { + local _target + use kernel_FreeBSD && _target=freebsd + use kernel_linux && _target=linux + + emake ${_target} +} |