public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sergey Popov (pinkbyte)" <pinkbyte@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/nsat: ChangeLog nsat-1.5-r1.ebuild
Date: Tue, 25 Sep 2012 18:30:48 +0000 (UTC)	[thread overview]
Message-ID: <20120925183048.74DE221600@flycatcher.gentoo.org> (raw)

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
}





             reply	other threads:[~2012-09-25 18:30 UTC|newest]

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

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=20120925183048.74DE221600@flycatcher.gentoo.org \
    --to=pinkbyte@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