* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/portsentry/
@ 2021-04-03 15:57 Sam James
0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2021-04-03 15:57 UTC (permalink / raw
To: gentoo-commits
commit: 970b1eaf9d9c16d748589dc7c4b2b8a359fabfc9
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 2 02:21:31 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Apr 3 15:55:08 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=970b1eaf
net-analyzer/portsentry: ~x64-macos keyworded
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/portsentry/portsentry-1.2-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/portsentry/portsentry-1.2-r1.ebuild b/net-analyzer/portsentry/portsentry-1.2-r1.ebuild
index 66dfae69b06..362756f86a4 100644
--- a/net-analyzer/portsentry/portsentry-1.2-r1.ebuild
+++ b/net-analyzer/portsentry/portsentry-1.2-r1.ebuild
@@ -13,7 +13,7 @@ S="${WORKDIR}"/${PN}_beta
SLOT="0"
LICENSE="GPL-2"
-KEYWORDS="amd64 ppc x86"
+KEYWORDS="amd64 ppc x86 ~x64-macos"
IUSE="kernel_Darwin kernel_linux kernel_FreeBSD kernel_SunOS"
RDEPEND="kernel_Darwin? ( app-shells/tcsh )"
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/portsentry/
@ 2021-04-03 15:57 Sam James
0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2021-04-03 15:57 UTC (permalink / raw
To: gentoo-commits
commit: 965d93656a73d727e6cead17acc7e9eccb9098c2
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 2 02:17:54 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Apr 3 15:55:07 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=965d9365
net-analyzer/portsentry: EAPI 7, eutils--, non-Linux support
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/portsentry/portsentry-1.2-r1.ebuild | 44 ++++++++++++++++++------
1 file changed, 33 insertions(+), 11 deletions(-)
diff --git a/net-analyzer/portsentry/portsentry-1.2-r1.ebuild b/net-analyzer/portsentry/portsentry-1.2-r1.ebuild
index 29e14b37530..66dfae69b06 100644
--- a/net-analyzer/portsentry/portsentry-1.2-r1.ebuild
+++ b/net-analyzer/portsentry/portsentry-1.2-r1.ebuild
@@ -1,29 +1,51 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit eutils toolchain-funcs
+EAPI=7
+
+inherit toolchain-funcs
DESCRIPTION="Automated port scan detector and response tool"
# Seems like CISCO took the site down?
HOMEPAGE="https://sourceforge.net/projects/sentrytools/"
SRC_URI="mirror://sourceforge/sentrytools/${P}.tar.gz"
+S="${WORKDIR}"/${PN}_beta
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="amd64 ppc x86"
+IUSE="kernel_Darwin kernel_linux kernel_FreeBSD kernel_SunOS"
-S="${WORKDIR}"/${PN}_beta
+RDEPEND="kernel_Darwin? ( app-shells/tcsh )"
-src_prepare() {
- epatch "${FILESDIR}"/${P}-conf.patch
- epatch "${FILESDIR}"/${P}-config.h.patch
- epatch "${FILESDIR}"/${P}-gcc.patch
- epatch "${FILESDIR}"/${P}-ignore.csh.patch
-}
+PATCHES=(
+ "${FILESDIR}"/${P}-conf.patch
+ "${FILESDIR}"/${P}-config.h.patch
+ "${FILESDIR}"/${P}-gcc.patch
+ "${FILESDIR}"/${P}-ignore.csh.patch
+)
src_compile() {
- emake CC=$(tc-getCC) CFLAGS="${CFLAGS} ${LDFLAGS}" linux
+ local target
+
+ if use kernel_Darwin ; then
+ target="osx"
+ elif use kernel_linux ; then
+ target="linux"
+ elif use kernel_FreeBSD ; then
+ target="freebsd"
+ elif use kernel_SunOS ; then
+ target="solaris"
+ fi
+
+ if [[ -z "${target}" ]] ; then
+ elog "Using 'generic' target for your platform"
+ target="generic"
+ else
+ elog "Using '${target}' (detected) target for your platform"
+ fi
+
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" "${target}"
}
src_install() {
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/portsentry/
@ 2022-01-04 3:29 Sam James
0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2022-01-04 3:29 UTC (permalink / raw
To: gentoo-commits
commit: 6888ace2818f8a0a06c4fb4852f3fda9ef531209
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 3 16:29:44 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jan 4 03:28:45 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6888ace2
net-analyzer/portsentry: remove kernel_FreeBSD
Signed-off-by: David Seifert <soap <AT> gentoo.org>
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/portsentry/portsentry-1.2-r1.ebuild | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/net-analyzer/portsentry/portsentry-1.2-r1.ebuild b/net-analyzer/portsentry/portsentry-1.2-r1.ebuild
index 362756f86a4d..8ff09a342c9e 100644
--- a/net-analyzer/portsentry/portsentry-1.2-r1.ebuild
+++ b/net-analyzer/portsentry/portsentry-1.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -14,7 +14,7 @@ S="${WORKDIR}"/${PN}_beta
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="amd64 ppc x86 ~x64-macos"
-IUSE="kernel_Darwin kernel_linux kernel_FreeBSD kernel_SunOS"
+IUSE="kernel_Darwin kernel_linux kernel_SunOS"
RDEPEND="kernel_Darwin? ( app-shells/tcsh )"
@@ -32,8 +32,6 @@ src_compile() {
target="osx"
elif use kernel_linux ; then
target="linux"
- elif use kernel_FreeBSD ; then
- target="freebsd"
elif use kernel_SunOS ; then
target="solaris"
fi
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-01-04 3:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-03 15:57 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/portsentry/ Sam James
-- strict thread matches above, loose matches on Subject: below --
2022-01-04 3:29 Sam James
2021-04-03 15:57 Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox