summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2014-03-19 15:47:04 +0000
committerJeroen Roovers <jer@gentoo.org>2014-03-19 15:47:04 +0000
commit7a663b59803c0909185a9d2a82459df3d211a968 (patch)
tree154469f2f70fa1bc84efb9582bb63d5b80d1f07b /net-libs
parentAdd gcl to use.stable.mask (bug #504156) (diff)
downloadhistorical-7a663b59803c0909185a9d2a82459df3d211a968.tar.gz
historical-7a663b59803c0909185a9d2a82459df3d211a968.tar.bz2
historical-7a663b59803c0909185a9d2a82459df3d211a968.zip
Do not build a static library when it is not going to be installed.
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64 Manifest-Sign-Key: 0xA792A613
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/libnids/ChangeLog7
-rw-r--r--net-libs/libnids/Manifest9
-rw-r--r--net-libs/libnids/libnids-1.18-r3.ebuild48
3 files changed, 59 insertions, 5 deletions
diff --git a/net-libs/libnids/ChangeLog b/net-libs/libnids/ChangeLog
index 862d9ec8228c..a7d2b4f86825 100644
--- a/net-libs/libnids/ChangeLog
+++ b/net-libs/libnids/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-libs/libnids
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libnids/ChangeLog,v 1.63 2014/03/19 15:47:03 jer Exp $
+
+*libnids-1.18-r3 (19 Mar 2014)
+
+ 19 Mar 2014; Jeroen Roovers <jer@gentoo.org> +libnids-1.18-r3.ebuild:
+ Do not build a static library when it is not going to be installed.
*libnids-1.24-r4 (19 Mar 2014)
diff --git a/net-libs/libnids/Manifest b/net-libs/libnids/Manifest
index b5915399f74b..1da581c1af02 100644
--- a/net-libs/libnids/Manifest
+++ b/net-libs/libnids/Manifest
@@ -8,14 +8,15 @@ AUX libnids-1.24-static-libs.patch 1018 SHA256 2a800ac6aec848081cb399db10331fbe6
DIST libnids-1.18.tar.gz 114013 SHA256 b0275c914197a53c6ccf631eac756fd37ec6f2d8f09f15757061495cf9be0fcd SHA512 0c76981a5d4ccca68f4a7365342f9fca5a18663b560dacf9a47e1d462dfd89683bbce85b95b159ac41e91e9a67f27bdfb1f8228f0d5d905d8ff488ee27ee0e45 WHIRLPOOL 26b4fe18088b018f828dcc94429cd000267096c0aa9a0025036c9f754af5dde014dc504a7b76378b4824f44e8407ae30965d6f3eea8935de35e65fb8dddb7e74
DIST libnids-1.24.tar.gz 151021 SHA256 314b4793e0902fbf1fdb7fb659af37a3c1306ed1aad5d1c84de6c931b351d359 SHA512 2046900023e853d7dbd7061c9f47d8a8ba26320991ca34198249019c1b9a6f75010574f9f022d02976272a384cf769394c4cc3ae536fc6164716cadc4770bb53 WHIRLPOOL c012e724c0f724cd817db4726a4ee1c0a438d717fe8534f96c41829e5574a3edaf4fd287c3acd65da4ee6591bb55dcd0f0bb71da7302e7b8ba43992ba85a1455
EBUILD libnids-1.18-r2.ebuild 946 SHA256 b45750183b8179350ca56fda7568a4503e4a8ae59e3687bd75b29c111265df71 SHA512 45faa4752ba5f3f6875a55585e741ba7366b8e0dedbc08b9e74571197408e98c0d44831fa12a0de347fc077526c61ae0fe26eea9fbf16770624fa4a87df7a0ca WHIRLPOOL 784be52a0085dc88be27c206fe8c07b74166c20ae7c6b2e911fbda7635599ef4b9212021ece918239015afa2c5909173111c96e6182f79d6361f66e000b2bce7
+EBUILD libnids-1.18-r3.ebuild 1119 SHA256 2f582ce26b29b3c5664ba57978763835cbf32bdf7bf29ae87abf79aab061ce00 SHA512 0562ec29bdc69d0def9fbbadb1579eb3a4419d7d4fca8de8a8ff5f15d411d8612403549187948a9cc070a8a22743f0adffabe88f0b45e2eb7c6349ee3d129042 WHIRLPOOL 8702f2a30c5e5d4b1b0065b76f0fb3f65c6fe4fc2f2a4007a38cccf35ad84860e77b9ad2b546fc203db610cc9fee32609b5ce4064f1769d6effc58e8667b767e
EBUILD libnids-1.24-r3.ebuild 1108 SHA256 d3d94675772caaf2b9e3b38713461e56aaff010dbcdd31d6bff4df983e7459b1 SHA512 4d6d66c0590e6db5ef0bc9b2e4fa549c12b4ce73a02409203069ec0839f1ee0bb9e15737b3bbf167c99498449913704e6b9bdfaa2827a310db615793fdfbe8e9 WHIRLPOOL 6ed7ac6397db9066de7d4295d37f51cd43195550f1f78349965ddcabfb864cdfe0a35d87b912dd7e0f0d86036d441d3c0e8b56a766e3d4ff66931b1992c10b5e
EBUILD libnids-1.24-r4.ebuild 1139 SHA256 963c69cfd1858b58f1fca0e6e93a07640b6b84b12b2ed57afad002e0dc69464d SHA512 0b1f8915342a9e0c099662a15505502e8c7f649da4ab4afe396e7015fa6463164706b3b829ed916024bfc19d1a1b71eab9442ab1d585983999e6a52c372ede43 WHIRLPOOL 71afce8a593dd1fe5e9edeea7f2a6a1a37b6ce684cad10ee121673fa711060c0c4c78bde960c75acba14dd98ed2e8d6d68ef85d59e30b9ab9bef990c8098b51b
-MISC ChangeLog 9388 SHA256 27d2e49e98d6dba63950213dffabe01904c52e14179053f4fbf502c54c2afab2 SHA512 9b4c072c7355d9cb7026973de47cc3103c2cea81452dad28c4213e3063a97a276f41dcbd1b310b4b5a8c42030887cde8fd1cd6e77f346d75b77cae7f4d24e10d WHIRLPOOL d17ec5f099ef26a57f759832158165025321019273a6d4e3de105bd15a38a6c450453c037a9ea466066b5805db3fcfb05c0742175d05e8cf6659f755f3e12682
+MISC ChangeLog 9563 SHA256 6f5e1b9de481cddc9ef88f5c2fa77b57c002797d42422172d54bd14f4a91abe0 SHA512 1ea20909f8e814e3391995d3049bc0d06ee83e64e55e52a2dd1f7174e8a7770eed45b5b03ecfe9fc50358019e11f69f43926928f5f267e2b07eeca9c9cd5e9ca WHIRLPOOL 6d44f735c760def30b80c2cd92c98aa0775b9d3c33b5fb9b995ec3eae47b6cffff66ca948ae5719576fa466b73f7f6c8070455a36c9867c989f87a381626d4a6
MISC metadata.xml 483 SHA256 fea8cd5f14b2ecdcb26227be10d73862452542ea2ac9e41738c8dd1a1a093015 SHA512 96e105f85a639099f19a2f7ec4f3b11e43208b6a4c672d3b82d086e3395ed1e774e2af0caa052300dff1dfdc19bb4f6c4db3f6b5cae16f5173794e7bcb34be62 WHIRLPOOL c50852fa54623a77718eeb95309a7f9f3a71cbef8da85b6eac6e3809e639d9dc5c91eb72ab3839cb02246dec6c50a979e7e63f9e8ae31c306bf1582e293e1696
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iEYEAREIAAYFAlMpuCgACgkQVWmRsqeSphOoQQCfe5Q7zeMkIoC3qSAJDbv4+Ybd
-YTMAnjBKgiN8uqs88+0IE3bRYyF3A26t
-=PYAT
+iEYEAREIAAYFAlMpu/gACgkQVWmRsqeSphOkbACdGHTzXKKDDBwNFl2q9cv6d8hn
+63QAn3w4/bj7YFlguJ/RVBa9m95+4yAu
+=dZXB
-----END PGP SIGNATURE-----
diff --git a/net-libs/libnids/libnids-1.18-r3.ebuild b/net-libs/libnids/libnids-1.18-r3.ebuild
new file mode 100644
index 000000000000..918eb180436a
--- /dev/null
+++ b/net-libs/libnids/libnids-1.18-r3.ebuild
@@ -0,0 +1,48 @@
+# 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.18-r3.ebuild,v 1.1 2014/03/19 15:47:03 jer Exp $
+
+EAPI=5
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="an implementation of an E-component of Network Intrusion Detection System"
+HOMEPAGE="http://www.packetfactory.net/Projects/libnids/"
+SRC_URI="http://www.packetfactory.net/Projects/libnids/dist/${P/_}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="1.1"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="static-libs"
+
+DEPEND="
+ net-libs/libpcap
+ >=net-libs/libnet-1.1.0-r3
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-chksum.c-ebx.patch \
+ "${FILESDIR}"/${P}-elif.patch \
+ "${FILESDIR}"/${PN}-1.24-ldflags.patch \
+ "${FILESDIR}"/${PN}-1.24-static-libs.patch
+}
+
+src_configure() {
+ tc-export AR
+ econf --enable-shared
+}
+
+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
+}