jer         14/07/05 17:19:54

  Modified:             ChangeLog
  Added:                nsat-1.5-r2.ebuild
  Log:
  Use dev-libs/libmix instead of bundled libmix++. Fix parallel make issues. 
Combine sed scripts into patch. Clean up patches.
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
A792A613)

Revision  Changes    Path
1.24                 net-analyzer/nsat/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/nsat/ChangeLog,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- ChangeLog   5 Jul 2014 15:27:58 -0000       1.23
+++ ChangeLog   5 Jul 2014 17:19:54 -0000       1.24
@@ -1,6 +1,15 @@
 # ChangeLog for net-analyzer/nsat
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nsat/ChangeLog,v 1.23 
2014/07/05 15:27:58 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nsat/ChangeLog,v 1.24 
2014/07/05 17:19:54 jer Exp $
+
+*nsat-1.5-r2 (05 Jul 2014)
+
+  05 Jul 2014; Jeroen Roovers <j...@gentoo.org> +nsat-1.5-r2.ebuild,
+  files/nsat-1.5-amd64-compat.patch, files/nsat-1.5-configure.patch,
+  files/nsat-1.5-lvalue-gcc4.patch, +files/nsat-1.5-misc.patch,
+  files/nsat-1.5-strip.patch:
+  Use dev-libs/libmix instead of bundled libmix++. Fix parallel make issues.
+  Combine sed scripts into patch. Clean up patches.
 
   05 Jul 2014; Jeroen Roovers <j...@gentoo.org> nsat-1.5-r1.ebuild:
   Export CC. Make CC calls verbose. Drop -O3.



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

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

Index: nsat-1.5-r2.ebuild
===================================================================
# 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-r2.ebuild,v 1.1 
2014/07/05 17:19:54 jer Exp $

EAPI=5
inherit autotools eutils toolchain-funcs

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
        )
        dev-libs/libmix
        net-libs/libpcap
"
DEPEND="$RDEPEND"

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

src_prepare() {
        epatch "${FILESDIR}"/${P}-configure.patch
        epatch "${FILESDIR}"/${P}-lvalue-gcc4.patch
        epatch "${FILESDIR}"/${P}-strip.patch
        epatch "${FILESDIR}"/${P}-misc.patch
        use amd64 && epatch "${FILESDIR}"/${P}-amd64-compat.patch

        sed -i \
                -e "s:^#CGIFile /usr/local/share/nsat/nsat.cgi$:#CGIFile 
/usr/share/nsat/nsat.cgi:g" \
                nsat.conf || 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

        eautoreconf
}

src_configure() {
        tc-export CC
        econf $(use_with X x)
}

src_compile() {
        emake MIXOBJ=-lmix++
}

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 via email to