public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Rick Farina" <zerochaos@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/portspoof/
Date: Thu, 19 Nov 2020 18:38:49 +0000 (UTC)	[thread overview]
Message-ID: <1605811128.ad64eef9d2891fef20baa9173fad6c6a2110986b.zerochaos@gentoo> (raw)

commit:     ad64eef9d2891fef20baa9173fad6c6a2110986b
Author:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 19 18:38:35 2020 +0000
Commit:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Thu Nov 19 18:38:48 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad64eef9

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 <AT> gentoo.org>

 net-misc/portspoof/portspoof-1.3.ebuild  | 8 +++++---
 net-misc/portspoof/portspoof-9999.ebuild | 8 +++++---
 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 7dc45df9264..48332848d89 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 7dc45df9264..48332848d89 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() {


             reply	other threads:[~2020-11-19 18:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-19 18:38 Rick Farina [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-28 22:12 [gentoo-commits] repo/gentoo:master commit in: net-misc/portspoof/ Rick Farina
2024-03-14  2:25 Sam James
2024-03-14  2:25 Sam James
2024-03-14  2:25 Sam James
2024-03-14  2:25 Sam James
2024-03-14  2:25 Sam James
2023-06-30 13:33 Sam James
2020-09-24  1:06 Aaron Bauman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1605811128.ad64eef9d2891fef20baa9173fad6c6a2110986b.zerochaos@gentoo \
    --to=zerochaos@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox