[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nast/
commit: 29cb3fa1f8320e852413b6614553c37b36f82dea Author: Sam James gentoo org> AuthorDate: Fri Jul 15 11:30:09 2022 + Commit: Sam James gentoo org> CommitDate: Fri Jul 15 12:14:11 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29cb3fa1 net-analyzer/nast: EAPI 8 Signed-off-by: Sam James gentoo.org> .../nast/{nast-0.2.0-r2.ebuild => nast-0.2.0-r3.ebuild} | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/net-analyzer/nast/nast-0.2.0-r2.ebuild b/net-analyzer/nast/nast-0.2.0-r3.ebuild similarity index 88% rename from net-analyzer/nast/nast-0.2.0-r2.ebuild rename to net-analyzer/nast/nast-0.2.0-r3.ebuild index bc1d6e76e220..9be8146f5f8b 100644 --- a/net-analyzer/nast/nast-0.2.0-r2.ebuild +++ b/net-analyzer/nast/nast-0.2.0-r3.ebuild @@ -1,12 +1,14 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 + inherit autotools flag-o-matic DESCRIPTION="NAST - Network Analyzer Sniffer Tool" HOMEPAGE="https://sourceforge.net/projects/nast.berlios/"; SRC_URI="mirror://sourceforge/${PN}.berlios/${P}.tar.gz" + LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~ppc64 x86" @@ -17,10 +19,9 @@ RDEPEND=" net-libs/libpcap ncurses? ( >=sys-libs/ncurses-5.4:= ) " -DEPEND=" - ${RDEPEND} - virtual/pkgconfig -" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nast/
commit: 6a179f99a2f88151b5be2d82767d9f179ade4a26 Author: Aaron Bauman gentoo org> AuthorDate: Fri Nov 27 00:53:12 2020 + Commit: Aaron Bauman gentoo org> CommitDate: Fri Nov 27 00:53:12 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a179f99 net-analyzer/nast: drop old Signed-off-by: Aaron Bauman gentoo.org> net-analyzer/nast/nast-0.2.0-r1.ebuild | 38 -- 1 file changed, 38 deletions(-) diff --git a/net-analyzer/nast/nast-0.2.0-r1.ebuild b/net-analyzer/nast/nast-0.2.0-r1.ebuild deleted file mode 100644 index 9eefa451cd9..000 --- a/net-analyzer/nast/nast-0.2.0-r1.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit autotools eutils - -DESCRIPTION="NAST - Network Analyzer Sniffer Tool" -HOMEPAGE="https://sourceforge.net/projects/nast.berlios/"; -SRC_URI="mirror://sourceforge/${PN}.berlios/${P}.tar.gz" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 x86" -IUSE="ncurses" - -RDEPEND=" - >=net-libs/libnet-1.1.1 - net-libs/libpcap - ncurses? ( >=sys-libs/ncurses-5.4:= ) -" -DEPEND=" - ${RDEPEND} - virtual/pkgconfig -" - -src_prepare() { - epatch "${FILESDIR}"/${P}-gentoo.patch - eautoreconf -} - -src_compile() { - emake CFLAGS="${CFLAGS}" -} - -src_install() { - dosbin nast - doman nast.8 - dodoc AUTHORS BUGS CREDITS ChangeLog NCURSES_README README TODO -}
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nast/
commit: 0733fc1b77b02e020fd0e024c704779447ded545 Author: Thomas Deutschmann gentoo org> AuthorDate: Fri Nov 27 00:07:03 2020 + Commit: Thomas Deutschmann gentoo org> CommitDate: Fri Nov 27 00:07:03 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0733fc1b net-analyzer/nast: x86 stable (bug #757015) Package-Manager: Portage-3.0.10, Repoman-3.0.2 Signed-off-by: Thomas Deutschmann gentoo.org> net-analyzer/nast/nast-0.2.0-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-analyzer/nast/nast-0.2.0-r2.ebuild b/net-analyzer/nast/nast-0.2.0-r2.ebuild index b2e8f7dd034..bc1d6e76e22 100644 --- a/net-analyzer/nast/nast-0.2.0-r2.ebuild +++ b/net-analyzer/nast/nast-0.2.0-r2.ebuild @@ -9,7 +9,7 @@ HOMEPAGE="https://sourceforge.net/projects/nast.berlios/"; SRC_URI="mirror://sourceforge/${PN}.berlios/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +KEYWORDS="~amd64 ~ppc ~ppc64 x86" IUSE="ncurses" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nast/
commit: 05cde0f7f599843b855db3813f1905a5e60efe80 Author: Jeroen Roovers gentoo org> AuthorDate: Fri Feb 7 07:44:43 2020 + Commit: Jeroen Roovers gentoo org> CommitDate: Fri Feb 7 07:45:27 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05cde0f7 net-analyzer/nast: Set CFLAGS=-fcommon Package-Manager: Portage-2.3.87, Repoman-2.3.20 Closes: https://bugs.gentoo.org/show_bug.cgi?id=708510 Signed-off-by: Jeroen Roovers gentoo.org> net-analyzer/nast/nast-0.2.0-r2.ebuild | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/net-analyzer/nast/nast-0.2.0-r2.ebuild b/net-analyzer/nast/nast-0.2.0-r2.ebuild index 493d47ee9f4..b2e8f7dd034 100644 --- a/net-analyzer/nast/nast-0.2.0-r2.ebuild +++ b/net-analyzer/nast/nast-0.2.0-r2.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 -inherit autotools +inherit autotools flag-o-matic DESCRIPTION="NAST - Network Analyzer Sniffer Tool" HOMEPAGE="https://sourceforge.net/projects/nast.berlios/"; @@ -30,6 +30,11 @@ src_prepare() { eautoreconf } +src_configure() { + append-cflags -fcommon + default +} + src_compile() { emake CFLAGS="${CFLAGS}" }
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nast/files/, net-analyzer/nast/
commit: a296a6e0fb0afca044415ecea3ad172b4726629e Author: Jeroen Roovers gentoo org> AuthorDate: Wed Jan 31 10:11:40 2018 + Commit: Jeroen Roovers gentoo org> CommitDate: Wed Jan 31 10:13:44 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a296a6e0 net-analyzer/nast: Remove file checks from configure (bug #646196 by Jan Psota). Package-Manager: Portage-2.3.20, Repoman-2.3.6 net-analyzer/nast/files/nast-0.2.0-gentoo.patch | 133 ++-- net-analyzer/nast/nast-0.2.0-r2.ebuild | 41 2 files changed, 120 insertions(+), 54 deletions(-) diff --git a/net-analyzer/nast/files/nast-0.2.0-gentoo.patch b/net-analyzer/nast/files/nast-0.2.0-gentoo.patch index f8f05ab3a16..015354e5186 100644 --- a/net-analyzer/nast/files/nast-0.2.0-gentoo.patch +++ b/net-analyzer/nast/files/nast-0.2.0-gentoo.patch @@ -1,79 +1,104 @@ --- a/configure.ac +++ b/configure.ac -@@ -84,14 +84,14 @@ +@@ -83,22 +83,6 @@ + # -- libnet -- # - filechk="yes" +-filechk="yes" -AC_CHECK_FILE(/usr/lib/libnet.a,, filechk="no") -+AC_CHECK_FILE(/usr/lib/libnet.so,, filechk="no") - if test "$filechk" = "no"; then +-if test "$filechk" = "no"; then - AC_CHECK_FILE(/usr/local/lib/libnet.a, filechk="yes" ; LDFLAGS="-L/usr/local/lib"; CPPFLAGS="-I/usr/local/include") -+ AC_CHECK_FILE(/usr/local/lib/libnet.so, filechk="yes" ; LDFLAGS="-L/usr/local/lib"; CPPFLAGS="-I/usr/local/include") - fi - - if test "$filechk" = "no"; then AC_MSG_ERROR([ - +-fi +- +-if test "$filechk" = "no"; then AC_MSG_ERROR([ +- -Libnet archive file (libnet.a) not found in /usr or /usr/local! -+Libnet archive file (libnet.so) not found in /usr or /usr/local! - - Libnet-1.1.x Packet Shaping Library is required. - You can download it from official web site: http://www.packetfactory.net/libnet -@@ -111,14 +111,14 @@ +- +-Libnet-1.1.x Packet Shaping Library is required. +-You can download it from official web site: http://www.packetfactory.net/libnet +- +-]) +-fi +- + AC_CHECK_LIB(net, libnet_name2addr4,, AC_MSG_ERROR([ + + Libnet-1.1.x Packet Shaping Library not found! It's required. +@@ -110,22 +94,6 @@ + # -- libpcap -- # - filechk="yes" +-filechk="yes" -AC_CHECK_FILE(/usr/lib/libpcap.a,, filechk="no") -+AC_CHECK_FILE(/usr/lib/libpcap.so,, filechk="no") - if test "$filechk" = "no"; then +-if test "$filechk" = "no"; then - AC_CHECK_FILE(/usr/local/lib/libpcap.a, filechk="yes" ; LDFLAGS="-L/usr/local/lib"; CPPFLAGS="-I/usr/local/include") -+ AC_CHECK_FILE(/usr/local/lib/libpcap.so, filechk="yes" ; LDFLAGS="-L/usr/local/lib"; CPPFLAGS="-I/usr/local/include") - fi - - if test "$filechk" = "no"; then AC_MSG_ERROR([ - +-fi +- +-if test "$filechk" = "no"; then AC_MSG_ERROR([ +- -Libpcap archive file (libpcap.a) not found in /usr or /usr/local! -+Libpcap archive file (libpcap.so) not found in /usr or /usr/local! - - Libpcap-0.7.1 Packet Capture Library is required. - You can download it from official web site: http://www.tcpdump.org/#current -@@ -137,16 +137,18 @@ +- +-Libpcap-0.7.1 Packet Capture Library is required. +-You can download it from official web site: http://www.tcpdump.org/#current +- +-]) +-fi +- + AC_CHECK_LIB(pcap, pcap_dispatch,, AC_MSG_ERROR([ + + Libpcap-0.7.1 Packet Capture Library not found! It's required. +@@ -137,25 +105,7 @@ # -- libncurses support -- # -+PKG_CHECK_MODULES(ncurses,ncurses,[LIBS="$LIBS $ncurses_LIBS"],) -+ - filechk="yes" +-filechk="yes" -AC_CHECK_FILE(/usr/lib/libncurses.a,, filechk="no") -+AC_CHECK_FILE(/usr/lib/libncurses.so,, filechk="no") - if test "$filechk" = "no"; then +-if test "$filechk" = "no"; then - AC_CHECK_FILE(/usr/local/lib/libncurses.a, filechk="yes" ; LDFLAGS="-L/usr/local/lib"; CPPFLAGS="-I/usr/local/include") -+ AC_CHECK_FILE(/usr/local/lib/libncurses.so, filechk="yes" ; LDFLAGS="-L/usr/local/lib"; CPPFLAGS="-I/usr/local/include") - fi - - if test "$filechk" = "no"; - then AC_MSG_WARN([ - +-fi +- +-if test "$filechk" = "no"; +-then AC_MSG_WARN([ +- -Libncurses archive file (libncurses.a) not found in /usr or /usr/local! -+Libncurses archive file (libncurses.so) not found in /usr or /usr/local! +- +-Ncurses library (*) not found in your system. +-You can download it from official web site: http://www.gnu.org/software/ncurses/ncurses.html +-(*): CRT screen handling and optimization package +- +-Building without ncurses menu support (-G flag will doesn't work) +- +-]) +-fi ++PKG_CHECK_MODULES(ncurses,ncurses,[LIBS="$LIBS $ncurses_LIBS"],) - Ncurses library (*) not found in your system. - You can download it from official web site: http://www.gnu.org/software/ncurses/ncurses.html -@@ -174,15 +176,15 @@ + ENABLE_NCRS="no" + AC_CHECK_LIB(ncurses, initscr, ENABLE_NCRS="yes"; NCURSES=ncurses/n_nast.o; LIBS="-lncurses $LIBS"; AC_DEFINE(HAVE_LIBNCURSES), AC_MSG_RESULT([ +@@ -173,28 +123,6 @@ + # --lmenu support-- # - filechk="yes" +-filechk="yes" -AC_CHECK_FILE(/usr/lib/libmenu.a,, filechk="no") -+AC_C
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nast/
commit: cf97cf19ff15144293a8b167e47559a8ce685284 Author: Jeroen Roovers gentoo org> AuthorDate: Wed Jan 31 10:13:24 2018 + Commit: Jeroen Roovers gentoo org> CommitDate: Wed Jan 31 10:13:46 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf97cf19 net-analyzer/nast: Set sub-SLOT on sys-libs/ncurses dependency. Package-Manager: Portage-2.3.20, Repoman-2.3.6 net-analyzer/nast/nast-0.2.0-r1.ebuild | 4 ++-- net-analyzer/nast/nast-0.2.0-r2.ebuild | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/net-analyzer/nast/nast-0.2.0-r1.ebuild b/net-analyzer/nast/nast-0.2.0-r1.ebuild index 1b4c53803c5..9eefa451cd9 100644 --- a/net-analyzer/nast/nast-0.2.0-r1.ebuild +++ b/net-analyzer/nast/nast-0.2.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -15,7 +15,7 @@ IUSE="ncurses" RDEPEND=" >=net-libs/libnet-1.1.1 net-libs/libpcap - ncurses? ( >=sys-libs/ncurses-5.4 ) + ncurses? ( >=sys-libs/ncurses-5.4:= ) " DEPEND=" ${RDEPEND} diff --git a/net-analyzer/nast/nast-0.2.0-r2.ebuild b/net-analyzer/nast/nast-0.2.0-r2.ebuild index a922979f560..493d47ee9f4 100644 --- a/net-analyzer/nast/nast-0.2.0-r2.ebuild +++ b/net-analyzer/nast/nast-0.2.0-r2.ebuild @@ -15,7 +15,7 @@ IUSE="ncurses" RDEPEND=" >=net-libs/libnet-1.1.1 net-libs/libpcap - ncurses? ( >=sys-libs/ncurses-5.4 ) + ncurses? ( >=sys-libs/ncurses-5.4:= ) " DEPEND=" ${RDEPEND}