summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2012-04-26 17:50:56 +0000
committerAlexis Ballier <aballier@gentoo.org>2012-04-26 17:50:56 +0000
commitc3968e28107553481667cece6aa6b924b46f193c (patch)
tree12b38a2583c2b0280a9a14735d2d8ea5c3b05677 /net-analyzer/bsnmp
parentremove usemasks depending on bsnmp (diff)
downloadhistorical-c3968e28107553481667cece6aa6b924b46f193c.tar.gz
historical-c3968e28107553481667cece6aa6b924b46f193c.tar.bz2
historical-c3968e28107553481667cece6aa6b924b46f193c.zip
version bump, do not build with werror, keyword ~amd64-fbsd
Package-Manager: portage-2.2.0_alpha101/cvs/Linux x86_64
Diffstat (limited to 'net-analyzer/bsnmp')
-rw-r--r--net-analyzer/bsnmp/ChangeLog10
-rw-r--r--net-analyzer/bsnmp/Manifest15
-rw-r--r--net-analyzer/bsnmp/bsnmp-1.12.ebuild45
-rw-r--r--net-analyzer/bsnmp/files/werror.patch11
4 files changed, 78 insertions, 3 deletions
diff --git a/net-analyzer/bsnmp/ChangeLog b/net-analyzer/bsnmp/ChangeLog
index d96a00a7d9f8..d204b934c2df 100644
--- a/net-analyzer/bsnmp/ChangeLog
+++ b/net-analyzer/bsnmp/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-analyzer/bsnmp
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/bsnmp/ChangeLog,v 1.2 2006/05/23 16:40:10 flameeyes Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/bsnmp/ChangeLog,v 1.3 2012/04/26 17:50:56 aballier Exp $
+
+*bsnmp-1.12 (26 Apr 2012)
+
+ 26 Apr 2012; Alexis Ballier <aballier@gentoo.org> +bsnmp-1.12.ebuild,
+ +files/werror.patch:
+ version bump, do not build with werror, keyword ~amd64-fbsd
23 May 2006; Diego Pettenò <flameeyes@gentoo.org> bsnmp-1.11a.ebuild:
Fix quoting.
diff --git a/net-analyzer/bsnmp/Manifest b/net-analyzer/bsnmp/Manifest
index f15f02bc94fb..0593cc719a8e 100644
--- a/net-analyzer/bsnmp/Manifest
+++ b/net-analyzer/bsnmp/Manifest
@@ -1,5 +1,18 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX bsnmp-1.10-gcc34.patch 311 RMD160 e54a961b5a805b56d92be7067811cd84233015e5 SHA1 9a571cb33147fb152ceb32cb918172fc84eda6ae SHA256 fc9b78f0bbc30017363512305d5abf38086a459e90b04d88b3f3b76ffefdfada
+AUX werror.patch 532 RMD160 2946bd2145d8ffaec4d2a010d37207e873acdc61 SHA1 2a84d2071427b3e42377faa9269a01eeb21416a9 SHA256 b9ee3526665d6baee8833688eca094c1c5c3bc8163c34bdef60765620b75093d
DIST bsnmp-1.11a.tar.gz 408165 RMD160 ab1e423450cab9f1268f3e5346b223c806f1c10c SHA1 8af663b69c7942a62334d8151563c3577f0cef25 SHA256 72d74b12742b153ac9c0bb4deb86bda6fc982eb41c775cc6fd7f343924b887f8
+DIST bsnmp-1.12.tar.gz 418653 RMD160 d7ea4c2c07870f42073f7e758abbd6dfe4afefc9 SHA1 9a028c7f66a59fb6ac3293e67810abf27cbcaa6a SHA256 986d02d71c55693ec0b90b24564cb43195ce03254e85a8cd70457b318eefbee0
EBUILD bsnmp-1.11a.ebuild 945 RMD160 d8054faa36dcf315689275d7e582a35dc3f4c6b8 SHA1 78c8904ae19e6a3fb3fa20a84add709f9a897e75 SHA256 57d0e8e9e39bdab972251bad09e66461c1b64a1af98df17a8c86e3776d4dec08
-MISC ChangeLog 572 RMD160 d53a69beb9cbbd196b06d3471228c64e2cca1283 SHA1 bc323c2e700a80cedffcee033b4069e275650b18 SHA256 c0fbb5e9cdf3d1b7a9e104a095646189b8384156108caebd48c981e657a6963a
+EBUILD bsnmp-1.12.ebuild 990 RMD160 8435eaf0d05f1f422906d3e8dda7a95ec7c9dce9 SHA1 6f3c08de418b3224ffd12fdc7b12c673ac70c6b0 SHA256 69df4d5a92dd2940137746b99d8fdee921ff31b1142393aed67a90c4bb0217c1
+MISC ChangeLog 756 RMD160 f1cf524b3c64239a57310d2a52fd77f53af38278 SHA1 5f5e8387a0eba19b3e727423af1dd4dc4c601ae9 SHA256 7edc7b8939dc50ad9d1273d78777acf8b3e2f729554a4f4953244572c4f5058a
MISC metadata.xml 156 RMD160 60b5820a08275f307e5bd936d78f5afd1f141086 SHA1 d9d9d4f2b5afc58339ea3e562fca490156935f1f SHA256 30ab515d6ac492d3d6c36ac3c675511742c2149e56a6b3228c8d22ab8edb3ff7
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iEYEARECAAYFAk+ZiwUACgkQvFcC4BYPU0rsaQCfZ46ytjdVkNr4S3EmnoPbJV3p
+U1QAnitlV9x2+wtANS1nVO40aABR7ODE
+=FkqK
+-----END PGP SIGNATURE-----
diff --git a/net-analyzer/bsnmp/bsnmp-1.12.ebuild b/net-analyzer/bsnmp/bsnmp-1.12.ebuild
new file mode 100644
index 000000000000..1ed6f3497d4e
--- /dev/null
+++ b/net-analyzer/bsnmp/bsnmp-1.12.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/bsnmp/bsnmp-1.12.ebuild,v 1.1 2012/04/26 17:50:56 aballier Exp $
+
+inherit flag-o-matic
+
+DESCRIPTION="Mini-SNMP Daemon and Library"
+HOMEPAGE="http://people.freebsd.org/~harti/"
+SRC_URI="http://people.freebsd.org/~harti/bsnmp/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64-fbsd ~x86-fbsd"
+IUSE="tcpd"
+
+DEPEND="dev-libs/libbegemot
+ tcpd? ( sys-apps/tcp-wrappers )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}/${PN}-1.10-gcc34.patch"
+ epatch "${FILESDIR}/werror.patch"
+}
+
+src_compile() {
+ if use elibc_glibc; then
+ # bsnmp is bsd-based, without this it will fail
+ append-flags "-D_BSD_SOURCE"
+ fi
+
+ filter-flags -fno-inline
+
+ econf \
+ --with-libbegemot=/usr \
+ $(use_with tcpd tcpwrappers) \
+ || die "econf failed"
+
+ emake -j1 || die "emake failed"
+}
+
+src_install() {
+ einstall || die "make install failed"
+}
diff --git a/net-analyzer/bsnmp/files/werror.patch b/net-analyzer/bsnmp/files/werror.patch
new file mode 100644
index 000000000000..7a0968e84441
--- /dev/null
+++ b/net-analyzer/bsnmp/files/werror.patch
@@ -0,0 +1,11 @@
+--- bsnmp-1.12/config/Makefile.pre.old 2012-04-26 10:45:58.000000000 -0400
++++ bsnmp-1.12/config/Makefile.pre 2012-04-26 10:46:11.000000000 -0400
+@@ -53,7 +53,7 @@
+ # Assume a Posix-ish make that passes MAKEFLAGS in the environment.
+ SUBMAKE= $(MAKE) --no-print-directory
+
+-WARNS= -Wsystem-headers -Werror -Wall -Wno-format-y2k -W \
++WARNS= -Wsystem-headers -Wall -Wno-format-y2k -W \
+ -Wstrict-prototypes -Wmissing-prototypes \
+ -Wpointer-arith -Wreturn-type -Wcast-qual \
+ -Wwrite-strings -Wswitch -Wshadow -Wcast-align \