jer         14/03/19 15:30:47

  Modified:             ChangeLog
  Added:                libnids-1.24-r4.ebuild
  Removed:              libnids-1.18-r1.ebuild libnids-1.24-r2.ebuild
  Log:
  Do not build a static library when it is not going to be installed.
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 
A792A613)

Revision  Changes    Path
1.62                 net-libs/libnids/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libnids/ChangeLog?rev=1.62&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libnids/ChangeLog?rev=1.62&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libnids/ChangeLog?r1=1.61&r2=1.62

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-libs/libnids/ChangeLog,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -r1.61 -r1.62
--- ChangeLog   29 Jun 2013 18:36:23 -0000      1.61
+++ ChangeLog   19 Mar 2014 15:30:47 -0000      1.62
@@ -1,6 +1,13 @@
 # ChangeLog for net-libs/libnids
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libnids/ChangeLog,v 1.61 
2013/06/29 18:36:23 ago Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libnids/ChangeLog,v 1.62 
2014/03/19 15:30:47 jer Exp $
+
+*libnids-1.24-r4 (19 Mar 2014)
+
+  19 Mar 2014; Jeroen Roovers <[email protected]> -libnids-1.18-r1.ebuild,
+  -libnids-1.24-r2.ebuild, +libnids-1.24-r4.ebuild,
+  +files/libnids-1.24-static-libs.patch:
+  Do not build a static library when it is not going to be installed.
 
   29 Jun 2013; Agostino Sarubbo <[email protected]> libnids-1.18-r2.ebuild,
   libnids-1.24-r3.ebuild:



1.1                  net-libs/libnids/libnids-1.24-r4.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libnids/libnids-1.24-r4.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libnids/libnids-1.24-r4.ebuild?rev=1.1&content-type=text/plain

Index: libnids-1.24-r4.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/libnids/libnids-1.24-r4.ebuild,v 
1.1 2014/03/19 15:30:47 jer Exp $

EAPI=5
inherit eutils toolchain-funcs

DESCRIPTION="an implementation of an E-component of Network Intrusion Detection 
System"
HOMEPAGE="http://libnids.sourceforge.net/";
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="1.2"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="+glib +libnet static-libs"

DEPEND="
        net-libs/libpcap
        glib? ( dev-libs/glib )
        libnet? ( >=net-libs/libnet-1.1.0-r3 )
"
RDEPEND="
        ${DEPEND}
        !net-libs/libnids:1.1
"

src_prepare() {
        epatch "${FILESDIR}/${P}-ldflags.patch"
        epatch "${FILESDIR}/${P}-static-libs.patch"
}

src_configure() {
        tc-export AR
        econf \
                --enable-shared \
                $(use_enable glib libglib) \
                $(use_enable libnet libnet)
}

src_compile() {
        emake shared $(usex static-libs static '')
}

src_install() {
        local tgt
        for tgt in _installshared $(usex static-libs _install ''); do
                emake install_prefix="${D}" ${tgt}
        done

        dodoc CHANGES CREDITS MISC README doc/*
}




Reply via email to