public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-misc/portspoof/
@ 2020-09-24  1:06 Aaron Bauman
  0 siblings, 0 replies; 8+ messages in thread
From: Aaron Bauman @ 2020-09-24  1:06 UTC (permalink / raw
  To: gentoo-commits

commit:     1cac6d34f063c3ce681de0172dff2bda7624b6f5
Author:     Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 24 00:36:29 2020 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Thu Sep 24 01:05:54 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cac6d34

net-misc/portspoof: drop old

Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>

 net-misc/portspoof/Manifest             |  1 -
 net-misc/portspoof/portspoof-1.1.ebuild | 28 ----------------------------
 2 files changed, 29 deletions(-)

diff --git a/net-misc/portspoof/Manifest b/net-misc/portspoof/Manifest
index 6660bec280c..df953bcef18 100644
--- a/net-misc/portspoof/Manifest
+++ b/net-misc/portspoof/Manifest
@@ -1,2 +1 @@
-DIST portspoof-1.1.tar.gz 399119 BLAKE2B 7b6c7c39ed39e69acfdf14e91c3b4148e03a0ac574383719ee8ef984f30c6240f3cc09bca28485751f64a4dbd6b62554e85ef8352ea3f03265490bb6ea0d12d3 SHA512 ff78058d66aa142e34f70c6759bf04bfd69c5149e294803c41837276646fad21eea2d20b9eb1ba897e2fbd5f57f65b3a86fecb8ebbc25cdec7d31a2f7997f91b
 DIST portspoof-1.3.tar.gz 401187 BLAKE2B 340e7003e3ad36afeb53981d0628d13ec48afd9260fdd9f17b76b904b3da58d82dc23b455da24567545d60b29f2f358b11f4a07e83ae2192470fa40099f93c1c SHA512 8d537ecf2ae5de8388c2b9b7210a2d38fe614e525a2ba286321fcf3b237f0888e59bb79a80056e49cf7f850be8ef274e87f04597a50dc1b86350bbc094e8be6e

diff --git a/net-misc/portspoof/portspoof-1.1.ebuild b/net-misc/portspoof/portspoof-1.1.ebuild
deleted file mode 100644
index 40f7b22b52d..00000000000
--- a/net-misc/portspoof/portspoof-1.1.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-DESCRIPTION="return SYN+ACK for every port connection attempt"
-HOMEPAGE="http://portspoof.org/"
-LICENSE="GPL-2+"
-SLOT="0"
-IUSE=""
-
-DEPEND=""
-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"
-fi
-
-src_prepare() {
-	if [[ ${PV} == "9999" ]] ; then
-		eautoreconf
-	fi
-}


^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/portspoof/
@ 2020-11-19 18:38 Rick Farina
  0 siblings, 0 replies; 8+ messages in thread
From: Rick Farina @ 2020-11-19 18:38 UTC (permalink / raw
  To: gentoo-commits

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() {


^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/portspoof/
@ 2023-06-30 13:33 Sam James
  0 siblings, 0 replies; 8+ messages in thread
From: Sam James @ 2023-06-30 13:33 UTC (permalink / raw
  To: gentoo-commits

commit:     967d52538754d366275ae3d28eee73768b86d9ae
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 30 13:27:07 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 30 13:27:07 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=967d5253

net-misc/portspoof: drop blank DEPEND/RDEPEND

This makes it hard to grep for actual mistakes like DEPEND=DEPEND.

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

 net-misc/portspoof/portspoof-1.3.ebuild  | 5 +----
 net-misc/portspoof/portspoof-9999.ebuild | 5 +----
 2 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/net-misc/portspoof/portspoof-1.3.ebuild b/net-misc/portspoof/portspoof-1.3.ebuild
index 48332848d894..aa2143647342 100644
--- a/net-misc/portspoof/portspoof-1.3.ebuild
+++ b/net-misc/portspoof/portspoof-1.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -9,9 +9,6 @@ LICENSE="GPL-2+"
 SLOT="0"
 IUSE=""
 
-DEPEND=""
-RDEPEND="${DEPEND}"
-
 if [[ ${PV} == "9999" ]] ; then
 	inherit git-r3 autotools
 	EGIT_REPO_URI="https://github.com/drk1wi/${PN}.git"

diff --git a/net-misc/portspoof/portspoof-9999.ebuild b/net-misc/portspoof/portspoof-9999.ebuild
index 48332848d894..aa2143647342 100644
--- a/net-misc/portspoof/portspoof-9999.ebuild
+++ b/net-misc/portspoof/portspoof-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -9,9 +9,6 @@ LICENSE="GPL-2+"
 SLOT="0"
 IUSE=""
 
-DEPEND=""
-RDEPEND="${DEPEND}"
-
 if [[ ${PV} == "9999" ]] ; then
 	inherit git-r3 autotools
 	EGIT_REPO_URI="https://github.com/drk1wi/${PN}.git"


^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/portspoof/
@ 2024-03-14  2:25 Sam James
  0 siblings, 0 replies; 8+ messages in thread
From: Sam James @ 2024-03-14  2:25 UTC (permalink / raw
  To: gentoo-commits

commit:     fe1c1e69e68d674583cf540f08835f45978117bb
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Thu Mar 14 01:54:22 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar 14 01:59:52 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe1c1e69

net-misc/portspoof: run the full default src_prepare

Not just eapply_user. This means the PATCHES array can just be
automatically handled. Also, it is exceedingly important that user
patches actually be applied on time, not *after* the live ebuild runs
eautoreconf....

Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-misc/portspoof/portspoof-1.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/portspoof/portspoof-1.3-r1.ebuild b/net-misc/portspoof/portspoof-1.3-r1.ebuild
index e0b95dc64d62..ad443ee320fb 100644
--- a/net-misc/portspoof/portspoof-1.3-r1.ebuild
+++ b/net-misc/portspoof/portspoof-1.3-r1.ebuild
@@ -18,6 +18,7 @@ else
 fi
 
 src_prepare() {
+	default
 	if [[ ${PV} == "9999" ]] ; then
 	    mv configure.in configure.ac || die
 		eautoreconf
@@ -26,7 +27,6 @@ src_prepare() {
 	'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() {


^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/portspoof/
@ 2024-03-14  2:25 Sam James
  0 siblings, 0 replies; 8+ messages in thread
From: Sam James @ 2024-03-14  2:25 UTC (permalink / raw
  To: gentoo-commits

commit:     f81562329ece10e7c657f3528b2c4afa890834aa
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Thu Mar 14 01:52:56 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar 14 01:59:51 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8156232

net-misc/portspoof: update EAPI 7 -> 8

Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-misc/portspoof/{portspoof-1.3.ebuild => portspoof-1.3-r1.ebuild} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-misc/portspoof/portspoof-1.3.ebuild b/net-misc/portspoof/portspoof-1.3-r1.ebuild
similarity index 95%
rename from net-misc/portspoof/portspoof-1.3.ebuild
rename to net-misc/portspoof/portspoof-1.3-r1.ebuild
index aa2143647342..e0b95dc64d62 100644
--- a/net-misc/portspoof/portspoof-1.3.ebuild
+++ b/net-misc/portspoof/portspoof-1.3-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 DESCRIPTION="return SYN+ACK for every port connection attempt"
 HOMEPAGE="http://portspoof.org/"


^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/portspoof/
@ 2024-03-14  2:25 Sam James
  0 siblings, 0 replies; 8+ messages in thread
From: Sam James @ 2024-03-14  2:25 UTC (permalink / raw
  To: gentoo-commits

commit:     e5cafe8cd5bf44bdaa250ae959b2774a90366329
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Thu Mar 14 01:58:00 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar 14 01:59:53 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5cafe8c

net-misc/portspoof: sync live

Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-misc/portspoof/portspoof-9999.ebuild | 20 +++++++++++++++++---
 1 file changed, 17 insertions(+), 3 deletions(-)

diff --git a/net-misc/portspoof/portspoof-9999.ebuild b/net-misc/portspoof/portspoof-9999.ebuild
index aa2143647342..d0fed28eeb2b 100644
--- a/net-misc/portspoof/portspoof-9999.ebuild
+++ b/net-misc/portspoof/portspoof-9999.ebuild
@@ -1,7 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
+
+inherit flag-o-matic
 
 DESCRIPTION="return SYN+ACK for every port connection attempt"
 HOMEPAGE="http://portspoof.org/"
@@ -18,6 +20,7 @@ else
 fi
 
 src_prepare() {
+	default
 	if [[ ${PV} == "9999" ]] ; then
 	    mv configure.in configure.ac || die
 		eautoreconf
@@ -26,7 +29,18 @@ src_prepare() {
 	'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_configure() {
+	# -Werror=strict-aliasing
+	# https://bugs.gentoo.org/861698
+	# https://github.com/drk1wi/portspoof/issues/48
+	#
+	# Do not trust it with LTO either
+	append-flags -fno-strict-aliasing
+	filter-lto
+
+	default
 }
 
 src_install() {


^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/portspoof/
@ 2024-03-14  2:25 Sam James
  0 siblings, 0 replies; 8+ messages in thread
From: Sam James @ 2024-03-14  2:25 UTC (permalink / raw
  To: gentoo-commits

commit:     f3de28758e06db95ca2cee70939723cd2dc46750
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 14 02:00:41 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar 14 02:00:41 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3de2875

net-misc/portspoof: fix indentation

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

 net-misc/portspoof/portspoof-1.3-r1.ebuild | 2 +-
 net-misc/portspoof/portspoof-9999.ebuild   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-misc/portspoof/portspoof-1.3-r1.ebuild b/net-misc/portspoof/portspoof-1.3-r1.ebuild
index d0fed28eeb2b..7eec0c399ab3 100644
--- a/net-misc/portspoof/portspoof-1.3-r1.ebuild
+++ b/net-misc/portspoof/portspoof-1.3-r1.ebuild
@@ -22,7 +22,7 @@ fi
 src_prepare() {
 	default
 	if [[ ${PV} == "9999" ]] ; then
-	    mv configure.in configure.ac || die
+		mv configure.in configure.ac || die
 		eautoreconf
 	fi
 	sed -i \

diff --git a/net-misc/portspoof/portspoof-9999.ebuild b/net-misc/portspoof/portspoof-9999.ebuild
index d0fed28eeb2b..7eec0c399ab3 100644
--- a/net-misc/portspoof/portspoof-9999.ebuild
+++ b/net-misc/portspoof/portspoof-9999.ebuild
@@ -22,7 +22,7 @@ fi
 src_prepare() {
 	default
 	if [[ ${PV} == "9999" ]] ; then
-	    mv configure.in configure.ac || die
+		mv configure.in configure.ac || die
 		eautoreconf
 	fi
 	sed -i \


^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/portspoof/
@ 2024-03-14  2:25 Sam James
  0 siblings, 0 replies; 8+ messages in thread
From: Sam James @ 2024-03-14  2:25 UTC (permalink / raw
  To: gentoo-commits

commit:     23d034269b1fcfe85d736ef3131820a8b5fe789e
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Thu Mar 14 01:57:22 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar 14 01:59:52 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23d03426

net-misc/portspoof: mark as LTO-unsafe, strict-aliasing unsafe

Closes: https://bugs.gentoo.org/861698
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-misc/portspoof/portspoof-1.3-r1.ebuild | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/net-misc/portspoof/portspoof-1.3-r1.ebuild b/net-misc/portspoof/portspoof-1.3-r1.ebuild
index ad443ee320fb..d0fed28eeb2b 100644
--- a/net-misc/portspoof/portspoof-1.3-r1.ebuild
+++ b/net-misc/portspoof/portspoof-1.3-r1.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=8
 
+inherit flag-o-matic
+
 DESCRIPTION="return SYN+ACK for every port connection attempt"
 HOMEPAGE="http://portspoof.org/"
 LICENSE="GPL-2+"
@@ -29,6 +31,18 @@ src_prepare() {
 	sed -i '/#include <sys\/sysctl.h>/d' src/connection.h || die
 }
 
+src_configure() {
+	# -Werror=strict-aliasing
+	# https://bugs.gentoo.org/861698
+	# https://github.com/drk1wi/portspoof/issues/48
+	#
+	# Do not trust it with LTO either
+	append-flags -fno-strict-aliasing
+	filter-lto
+
+	default
+}
+
 src_install() {
 	default_src_install
 	newsbin system_files/init.d/portspoof.sh portspoof-runner


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

end of thread, other threads:[~2024-03-14  2:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-24  1:06 [gentoo-commits] repo/gentoo:master commit in: net-misc/portspoof/ Aaron Bauman
  -- strict thread matches above, loose matches on Subject: below --
2020-11-19 18:38 Rick Farina
2023-06-30 13:33 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
2024-03-14  2:25 Sam James

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