public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-analyzer/nsat: ChangeLog nsat-1.5-r1.ebuild
@ 2012-09-26  7:20 Sergey Popov (pinkbyte)
  0 siblings, 0 replies; 5+ messages in thread
From: Sergey Popov (pinkbyte) @ 2012-09-26  7:20 UTC (permalink / raw
  To: gentoo-commits

pinkbyte    12/09/26 07:20:51

  Modified:             ChangeLog nsat-1.5-r1.ebuild
  Log:
  Bump ebuild's EAPI to 2, add some QA fixes wrt bug #335951
  
  (Portage version: 2.2.0_alpha132/cvs/Linux x86_64)

Revision  Changes    Path
1.20                 net-analyzer/nsat/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nsat/ChangeLog?rev=1.20&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nsat/ChangeLog?rev=1.20&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nsat/ChangeLog?r1=1.19&r2=1.20

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/nsat/ChangeLog,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- ChangeLog	26 Sep 2012 07:14:40 -0000	1.19
+++ ChangeLog	26 Sep 2012 07:20:51 -0000	1.20
@@ -1,6 +1,9 @@
 # ChangeLog for net-analyzer/nsat
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nsat/ChangeLog,v 1.19 2012/09/26 07:14:40 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nsat/ChangeLog,v 1.20 2012/09/26 07:20:51 pinkbyte Exp $
+
+  26 Sep 2012; Sergey Popov <pinkbyte@gentoo.org> nsat-1.5-r1.ebuild:
+  Bump ebuild's EAPI to 2, add some QA fixes wrt bug #335951
 
   26 Sep 2012; Sergey Popov <pinkbyte@gentoo.org> nsat-1.5-r1.ebuild:
   Make amd64-compatibility patch applies only on amd64 systems



1.3                  net-analyzer/nsat/nsat-1.5-r1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nsat/nsat-1.5-r1.ebuild?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nsat/nsat-1.5-r1.ebuild?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nsat/nsat-1.5-r1.ebuild?r1=1.2&r2=1.3

Index: nsat-1.5-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/nsat/nsat-1.5-r1.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- nsat-1.5-r1.ebuild	26 Sep 2012 07:14:40 -0000	1.2
+++ nsat-1.5-r1.ebuild	26 Sep 2012 07:20:51 -0000	1.3
@@ -1,10 +1,10 @@
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nsat/nsat-1.5-r1.ebuild,v 1.2 2012/09/26 07:14:40 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nsat/nsat-1.5-r1.ebuild,v 1.3 2012/09/26 07:20:51 pinkbyte Exp $
 
-inherit eutils autotools
+EAPI=2
 
-WANT_AUTOCONF=2.5
+inherit eutils autotools
 
 DESCRIPTION="Network Security Analysis Tool, an application-level network security scanner"
 HOMEPAGE="http://nsat.sourceforge.net/"
@@ -23,10 +23,7 @@
 
 S="${WORKDIR}/${PN}"
 
-src_unpack() {
-	unpack ${A}
-	cd "${S}"
-	cp -va configure.in{,.orig}
+src_prepare() {
 	epatch "${FILESDIR}"/${P}-configure.patch
 	# bug 128204
 	epatch "${FILESDIR}"/${P}-lvalue-gcc4.patch
@@ -35,19 +32,21 @@
 	use amd64 && epatch "${FILESDIR}"/${P}-amd64-compat.patch
 
 	sed -i "s:^#CGIFile /usr/local/share/nsat/nsat.cgi$:#CGIFile /usr/share/nsat/nsat.cgi:g" \
-		nsat.conf
-	sed -i "s:/usr/local:/usr:g" Makefile.in
-	sed -i "s:/usr/local:/usr:g" tools/xnsat
+		nsat.conf || die "sed on nsat.conf failed"
+	sed -i "s:/usr/local:/usr:g" Makefile.in || die "sed on Makefile.in failed"
+	sed -i "s:/usr/local:/usr:g" tools/xnsat || die "sed on tools/xnsat failed"
 	sed -i -e "s:/usr/local/share/nsat/nsat.conf:/etc/nsat/nsat.conf:g" \
 		-e "s:/usr/local/share/nsat/nsat.cgi:/usr/share/nsat/nsat.cgi:g" \
-		src/lang.h
+		src/lang.h || die "sed on src/lang.h failed"
 
 	eautoreconf
 }
 
-src_compile() {
-	econf $( use_with X x ) || die
+src_configure() {
+	econf $(use_with X x) || die "configuration failed"
+}
 
+src_compile() {
 	make|| die "compile problem"
 }
 





^ permalink raw reply	[flat|nested] 5+ messages in thread
* [gentoo-commits] gentoo-x86 commit in net-analyzer/nsat: ChangeLog nsat-1.5-r1.ebuild
@ 2014-06-09  3:18 Jeroen Roovers (jer)
  0 siblings, 0 replies; 5+ messages in thread
From: Jeroen Roovers (jer) @ 2014-06-09  3:18 UTC (permalink / raw
  To: gentoo-commits

jer         14/06/09 03:18:36

  Modified:             ChangeLog nsat-1.5-r1.ebuild
  Log:
  Clean up.
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A792A613)

Revision  Changes    Path
1.22                 net-analyzer/nsat/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nsat/ChangeLog?rev=1.22&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nsat/ChangeLog?rev=1.22&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nsat/ChangeLog?r1=1.21&r2=1.22

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/nsat/ChangeLog,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- ChangeLog	6 Oct 2012 19:00:44 -0000	1.21
+++ ChangeLog	9 Jun 2014 03:18:36 -0000	1.22
@@ -1,6 +1,9 @@
 # ChangeLog for net-analyzer/nsat
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nsat/ChangeLog,v 1.21 2012/10/06 19:00:44 pinkbyte Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nsat/ChangeLog,v 1.22 2014/06/09 03:18:36 jer Exp $
+
+  09 Jun 2014; Jeroen Roovers <jer@gentoo.org> nsat-1.5-r1.ebuild:
+  Clean up.
 
   06 Oct 2012; Sergey Popov <pinkbyte@gentoo.org> nsat-1.5-r1.ebuild:
   Respect LDFLAGS wrt bug #335951



1.5                  net-analyzer/nsat/nsat-1.5-r1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nsat/nsat-1.5-r1.ebuild?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nsat/nsat-1.5-r1.ebuild?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nsat/nsat-1.5-r1.ebuild?r1=1.4&r2=1.5

Index: nsat-1.5-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/nsat/nsat-1.5-r1.ebuild,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- nsat-1.5-r1.ebuild	6 Oct 2012 19:00:44 -0000	1.4
+++ nsat-1.5-r1.ebuild	9 Jun 2014 03:18:36 -0000	1.5
@@ -1,9 +1,8 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nsat/nsat-1.5-r1.ebuild,v 1.4 2012/10/06 19:00:44 pinkbyte Exp $
-
-EAPI=2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nsat/nsat-1.5-r1.ebuild,v 1.5 2014/06/09 03:18:36 jer Exp $
 
+EAPI=5
 inherit eutils autotools
 
 DESCRIPTION="Network Security Analysis Tool, an application-level network security scanner"
@@ -15,11 +14,14 @@
 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
 IUSE="X"
 
-RDEPEND="X? ( x11-libs/libX11
-		dev-lang/tk )
-	net-libs/libpcap"
-
-DEPEND="$RDEPEND >=sys-devel/autoconf-2.58"
+RDEPEND="
+	X? (
+		x11-libs/libX11
+		dev-lang/tk
+	)
+	net-libs/libpcap
+"
+DEPEND="$RDEPEND"
 
 S="${WORKDIR}/${PN}"
 
@@ -32,28 +34,28 @@
 	use amd64 && epatch "${FILESDIR}"/${P}-amd64-compat.patch
 
 	# Respect LDFLAGS
-	sed -i -e '/..\/nsat/,+1s/${CFLAGS}/${CFLAGS} ${LDFLAGS}/' \
-		src/Makefile.in  || die 'first sed for respecting LDFLAGS failed'
-	sed -i -e '/@$(CC)/s/$(CFLAGS)/$(CFLAGS) $(LDFLAGS)/' \
-		src/smb/Makefile.in || die 'second sed for respecting LDFLAGS failed'
+	sed -i \
+		-e '/..\/nsat/,+1s/${CFLAGS}/${CFLAGS} ${LDFLAGS}/' \
+		src/Makefile.in  || die
+	sed -i \
+		-e '/@$(CC)/s/$(CFLAGS)/$(CFLAGS) $(LDFLAGS)/' \
+		src/smb/Makefile.in || die
 
-	sed -i "s:^#CGIFile /usr/local/share/nsat/nsat.cgi$:#CGIFile /usr/share/nsat/nsat.cgi:g" \
+	sed -i \
+		-e "s:^#CGIFile /usr/local/share/nsat/nsat.cgi$:#CGIFile /usr/share/nsat/nsat.cgi:g" \
 		nsat.conf || die "sed on nsat.conf failed"
-	sed -i "s:/usr/local:/usr:g" Makefile.in || die "sed on Makefile.in failed"
-	sed -i "s:/usr/local:/usr:g" tools/xnsat || die "sed on tools/xnsat failed"
-	sed -i -e "s:/usr/local/share/nsat/nsat.conf:/etc/nsat/nsat.conf:g" \
+	sed -i -e "s:/usr/local:/usr:g" Makefile.in || die
+	sed -i -e "s:/usr/local:/usr:g" tools/xnsat || die
+	sed -i \
+		-e "s:/usr/local/share/nsat/nsat.conf:/etc/nsat/nsat.conf:g" \
 		-e "s:/usr/local/share/nsat/nsat.cgi:/usr/share/nsat/nsat.cgi:g" \
-		src/lang.h || die "sed on src/lang.h failed"
+		src/lang.h || die
 
 	eautoreconf
 }
 
 src_configure() {
-	econf $(use_with X x) || die "configuration failed"
-}
-
-src_compile() {
-	make|| die "compile problem"
+	econf $(use_with X x)
 }
 
 src_install () {





^ permalink raw reply	[flat|nested] 5+ messages in thread
* [gentoo-commits] gentoo-x86 commit in net-analyzer/nsat: ChangeLog nsat-1.5-r1.ebuild
@ 2012-10-06 19:00 Sergey Popov (pinkbyte)
  0 siblings, 0 replies; 5+ messages in thread
From: Sergey Popov (pinkbyte) @ 2012-10-06 19:00 UTC (permalink / raw
  To: gentoo-commits

pinkbyte    12/10/06 19:00:45

  Modified:             ChangeLog nsat-1.5-r1.ebuild
  Log:
  Respect LDFLAGS wrt bug #335951
  
  (Portage version: 2.2.0_alpha134/cvs/Linux x86_64)

Revision  Changes    Path
1.21                 net-analyzer/nsat/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nsat/ChangeLog?rev=1.21&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nsat/ChangeLog?rev=1.21&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nsat/ChangeLog?r1=1.20&r2=1.21

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/nsat/ChangeLog,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- ChangeLog	26 Sep 2012 07:20:51 -0000	1.20
+++ ChangeLog	6 Oct 2012 19:00:44 -0000	1.21
@@ -1,6 +1,9 @@
 # ChangeLog for net-analyzer/nsat
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nsat/ChangeLog,v 1.20 2012/09/26 07:20:51 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nsat/ChangeLog,v 1.21 2012/10/06 19:00:44 pinkbyte Exp $
+
+  06 Oct 2012; Sergey Popov <pinkbyte@gentoo.org> nsat-1.5-r1.ebuild:
+  Respect LDFLAGS wrt bug #335951
 
   26 Sep 2012; Sergey Popov <pinkbyte@gentoo.org> nsat-1.5-r1.ebuild:
   Bump ebuild's EAPI to 2, add some QA fixes wrt bug #335951



1.4                  net-analyzer/nsat/nsat-1.5-r1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nsat/nsat-1.5-r1.ebuild?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nsat/nsat-1.5-r1.ebuild?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nsat/nsat-1.5-r1.ebuild?r1=1.3&r2=1.4

Index: nsat-1.5-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/nsat/nsat-1.5-r1.ebuild,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- nsat-1.5-r1.ebuild	26 Sep 2012 07:20:51 -0000	1.3
+++ nsat-1.5-r1.ebuild	6 Oct 2012 19:00:44 -0000	1.4
@@ -1,6 +1,6 @@
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nsat/nsat-1.5-r1.ebuild,v 1.3 2012/09/26 07:20:51 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nsat/nsat-1.5-r1.ebuild,v 1.4 2012/10/06 19:00:44 pinkbyte Exp $
 
 EAPI=2
 
@@ -31,6 +31,12 @@
 	# bug 389767
 	use amd64 && epatch "${FILESDIR}"/${P}-amd64-compat.patch
 
+	# Respect LDFLAGS
+	sed -i -e '/..\/nsat/,+1s/${CFLAGS}/${CFLAGS} ${LDFLAGS}/' \
+		src/Makefile.in  || die 'first sed for respecting LDFLAGS failed'
+	sed -i -e '/@$(CC)/s/$(CFLAGS)/$(CFLAGS) $(LDFLAGS)/' \
+		src/smb/Makefile.in || die 'second sed for respecting LDFLAGS failed'
+
 	sed -i "s:^#CGIFile /usr/local/share/nsat/nsat.cgi$:#CGIFile /usr/share/nsat/nsat.cgi:g" \
 		nsat.conf || die "sed on nsat.conf failed"
 	sed -i "s:/usr/local:/usr:g" Makefile.in || die "sed on Makefile.in failed"





^ permalink raw reply	[flat|nested] 5+ messages in thread
* [gentoo-commits] gentoo-x86 commit in net-analyzer/nsat: ChangeLog nsat-1.5-r1.ebuild
@ 2012-09-26  7:14 Sergey Popov (pinkbyte)
  0 siblings, 0 replies; 5+ messages in thread
From: Sergey Popov (pinkbyte) @ 2012-09-26  7:14 UTC (permalink / raw
  To: gentoo-commits

pinkbyte    12/09/26 07:14:41

  Modified:             ChangeLog nsat-1.5-r1.ebuild
  Log:
  Make amd64-compatibility patch applies only on amd64 systems
  
  (Portage version: 2.2.0_alpha132/cvs/Linux x86_64)

Revision  Changes    Path
1.19                 net-analyzer/nsat/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nsat/ChangeLog?rev=1.19&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nsat/ChangeLog?rev=1.19&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nsat/ChangeLog?r1=1.18&r2=1.19

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/nsat/ChangeLog,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- ChangeLog	25 Sep 2012 18:30:48 -0000	1.18
+++ ChangeLog	26 Sep 2012 07:14:40 -0000	1.19
@@ -1,6 +1,9 @@
 # ChangeLog for net-analyzer/nsat
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nsat/ChangeLog,v 1.18 2012/09/25 18:30:48 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nsat/ChangeLog,v 1.19 2012/09/26 07:14:40 pinkbyte Exp $
+
+  26 Sep 2012; Sergey Popov <pinkbyte@gentoo.org> nsat-1.5-r1.ebuild:
+  Make amd64-compatibility patch applies only on amd64 systems
 
 *nsat-1.5-r1 (25 Sep 2012)
 



1.2                  net-analyzer/nsat/nsat-1.5-r1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nsat/nsat-1.5-r1.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nsat/nsat-1.5-r1.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nsat/nsat-1.5-r1.ebuild?r1=1.1&r2=1.2

Index: nsat-1.5-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/nsat/nsat-1.5-r1.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- nsat-1.5-r1.ebuild	25 Sep 2012 18:30:48 -0000	1.1
+++ nsat-1.5-r1.ebuild	26 Sep 2012 07:14:40 -0000	1.2
@@ -1,6 +1,6 @@
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nsat/nsat-1.5-r1.ebuild,v 1.1 2012/09/25 18:30:48 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nsat/nsat-1.5-r1.ebuild,v 1.2 2012/09/26 07:14:40 pinkbyte Exp $
 
 inherit eutils autotools
 
@@ -32,7 +32,7 @@
 	epatch "${FILESDIR}"/${P}-lvalue-gcc4.patch
 	epatch "${FILESDIR}"/${P}-strip.patch
 	# bug 389767
-	epatch "${FILESDIR}"/${P}-amd64-compat.patch
+	use amd64 && epatch "${FILESDIR}"/${P}-amd64-compat.patch
 
 	sed -i "s:^#CGIFile /usr/local/share/nsat/nsat.cgi$:#CGIFile /usr/share/nsat/nsat.cgi:g" \
 		nsat.conf





^ permalink raw reply	[flat|nested] 5+ messages in thread
* [gentoo-commits] gentoo-x86 commit in net-analyzer/nsat: ChangeLog nsat-1.5-r1.ebuild
@ 2012-09-25 18:30 Sergey Popov (pinkbyte)
  0 siblings, 0 replies; 5+ messages in thread
From: Sergey Popov (pinkbyte) @ 2012-09-25 18:30 UTC (permalink / raw
  To: gentoo-commits

pinkbyte    12/09/25 18:30:48

  Modified:             ChangeLog
  Added:                nsat-1.5-r1.ebuild
  Log:
  New revision with amd64 keyword and compatibility patch for it, wrt bug #389767. Thanks to Andrew Savchenko for provided patch
  
  (Portage version: 2.2.0_alpha132/cvs/Linux x86_64)

Revision  Changes    Path
1.18                 net-analyzer/nsat/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nsat/ChangeLog?rev=1.18&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nsat/ChangeLog?rev=1.18&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nsat/ChangeLog?r1=1.17&r2=1.18

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/nsat/ChangeLog,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- ChangeLog	15 Jan 2009 07:08:09 -0000	1.17
+++ ChangeLog	25 Sep 2012 18:30:48 -0000	1.18
@@ -1,6 +1,13 @@
 # ChangeLog for net-analyzer/nsat
-# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nsat/ChangeLog,v 1.17 2009/01/15 07:08:09 jer Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nsat/ChangeLog,v 1.18 2012/09/25 18:30:48 pinkbyte Exp $
+
+*nsat-1.5-r1 (25 Sep 2012)
+
+  25 Sep 2012; Sergey Popov <pinkbyte@gentoo.org> +nsat-1.5-r1.ebuild,
+  +files/nsat-1.5-amd64-compat.patch:
+  New revision with amd64 keyword and compatibility patch for it, wrt bug
+  #389767. Thanks to Andrew Savchenko for provided patch
 
   15 Jan 2009; Jeroen Roovers <jer@gentoo.org> nsat-1.5.ebuild:
   Oops. Use eautoreconf, not eautoconf (bug #226585 again).



1.1                  net-analyzer/nsat/nsat-1.5-r1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nsat/nsat-1.5-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nsat/nsat-1.5-r1.ebuild?rev=1.1&content-type=text/plain

Index: nsat-1.5-r1.ebuild
===================================================================
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nsat/nsat-1.5-r1.ebuild,v 1.1 2012/09/25 18:30:48 pinkbyte Exp $

inherit eutils autotools

WANT_AUTOCONF=2.5

DESCRIPTION="Network Security Analysis Tool, an application-level network security scanner"
HOMEPAGE="http://nsat.sourceforge.net/"
SRC_URI="mirror://sourceforge/nsat/${P}.tgz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="X"

RDEPEND="X? ( x11-libs/libX11
		dev-lang/tk )
	net-libs/libpcap"

DEPEND="$RDEPEND >=sys-devel/autoconf-2.58"

S="${WORKDIR}/${PN}"

src_unpack() {
	unpack ${A}
	cd "${S}"
	cp -va configure.in{,.orig}
	epatch "${FILESDIR}"/${P}-configure.patch
	# bug 128204
	epatch "${FILESDIR}"/${P}-lvalue-gcc4.patch
	epatch "${FILESDIR}"/${P}-strip.patch
	# bug 389767
	epatch "${FILESDIR}"/${P}-amd64-compat.patch

	sed -i "s:^#CGIFile /usr/local/share/nsat/nsat.cgi$:#CGIFile /usr/share/nsat/nsat.cgi:g" \
		nsat.conf
	sed -i "s:/usr/local:/usr:g" Makefile.in
	sed -i "s:/usr/local:/usr:g" tools/xnsat
	sed -i -e "s:/usr/local/share/nsat/nsat.conf:/etc/nsat/nsat.conf:g" \
		-e "s:/usr/local/share/nsat/nsat.cgi:/usr/share/nsat/nsat.cgi:g" \
		src/lang.h

	eautoreconf
}

src_compile() {
	econf $( use_with X x ) || die

	make|| die "compile problem"
}

src_install () {
	dobin nsat smb-ns
	use X && dobin tools/xnsat

	insinto /usr/share/nsat
	doins nsat.cgi

	insinto /etc/nsat
	doins nsat.conf

	dodoc README doc/CHANGES
	doman doc/nsat.8
}





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

end of thread, other threads:[~2014-06-09  3:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-26  7:20 [gentoo-commits] gentoo-x86 commit in net-analyzer/nsat: ChangeLog nsat-1.5-r1.ebuild Sergey Popov (pinkbyte)
  -- strict thread matches above, loose matches on Subject: below --
2014-06-09  3:18 Jeroen Roovers (jer)
2012-10-06 19:00 Sergey Popov (pinkbyte)
2012-09-26  7:14 Sergey Popov (pinkbyte)
2012-09-25 18:30 Sergey Popov (pinkbyte)

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