summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Farina <zerochaos@gentoo.org>2020-11-19 13:38:35 -0500
committerRick Farina <zerochaos@gentoo.org>2020-11-19 13:38:48 -0500
commitad64eef9d2891fef20baa9173fad6c6a2110986b (patch)
treea4be7c5b6a96c481026c45423bb72ee716d39b1b /net-misc/portspoof
parentsys-apps/gentoo-functions: bump to 0.14 (diff)
downloadgentoo-ad64eef9d2891fef20baa9173fad6c6a2110986b.tar.gz
gentoo-ad64eef9d2891fef20baa9173fad6c6a2110986b.tar.bz2
gentoo-ad64eef9d2891fef20baa9173fad6c6a2110986b.zip
net-misc/portspoof: bug #717134
fix for bug #717134 and some minor ebuild fixes Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Rick Farina <zerochaos@gentoo.org>
Diffstat (limited to 'net-misc/portspoof')
-rw-r--r--net-misc/portspoof/portspoof-1.3.ebuild8
-rw-r--r--net-misc/portspoof/portspoof-9999.ebuild8
2 files changed, 10 insertions, 6 deletions
diff --git a/net-misc/portspoof/portspoof-1.3.ebuild b/net-misc/portspoof/portspoof-1.3.ebuild
index 7dc45df92641..48332848d894 100644
--- a/net-misc/portspoof/portspoof-1.3.ebuild
+++ b/net-misc/portspoof/portspoof-1.3.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
DESCRIPTION="return SYN+ACK for every port connection attempt"
HOMEPAGE="http://portspoof.org/"
@@ -15,7 +15,6 @@ RDEPEND="${DEPEND}"
if [[ ${PV} == "9999" ]] ; then
inherit git-r3 autotools
EGIT_REPO_URI="https://github.com/drk1wi/${PN}.git"
- KEYWORDS=""
else
SRC_URI="https://github.com/drk1wi/portspoof/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
@@ -23,11 +22,14 @@ fi
src_prepare() {
if [[ ${PV} == "9999" ]] ; then
+ mv configure.in configure.ac || die
eautoreconf
fi
sed -i \
's#/usr/local/bin/portspoof -D -c /usr/local/etc/portspoof.conf -s /usr/local/etc/portspoof_signatures#/usr/bin/portspoof -D -c /etc/portspoof.conf -s /etc/portspoof_signatures#'\
system_files/init.d/portspoof.sh
+ sed -i '/#include <sys\/sysctl.h>/d' src/connection.h || die
+ eapply_user
}
src_install() {
diff --git a/net-misc/portspoof/portspoof-9999.ebuild b/net-misc/portspoof/portspoof-9999.ebuild
index 7dc45df92641..48332848d894 100644
--- a/net-misc/portspoof/portspoof-9999.ebuild
+++ b/net-misc/portspoof/portspoof-9999.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
DESCRIPTION="return SYN+ACK for every port connection attempt"
HOMEPAGE="http://portspoof.org/"
@@ -15,7 +15,6 @@ RDEPEND="${DEPEND}"
if [[ ${PV} == "9999" ]] ; then
inherit git-r3 autotools
EGIT_REPO_URI="https://github.com/drk1wi/${PN}.git"
- KEYWORDS=""
else
SRC_URI="https://github.com/drk1wi/portspoof/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
@@ -23,11 +22,14 @@ fi
src_prepare() {
if [[ ${PV} == "9999" ]] ; then
+ mv configure.in configure.ac || die
eautoreconf
fi
sed -i \
's#/usr/local/bin/portspoof -D -c /usr/local/etc/portspoof.conf -s /usr/local/etc/portspoof_signatures#/usr/bin/portspoof -D -c /etc/portspoof.conf -s /etc/portspoof_signatures#'\
system_files/init.d/portspoof.sh
+ sed -i '/#include <sys\/sysctl.h>/d' src/connection.h || die
+ eapply_user
}
src_install() {