summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-05-22 23:25:21 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-05-22 23:25:21 +0000
commitba1d507c399a52bbcddb66fc02b1068fb43301af (patch)
tree4934509569ed7110715ef781350ccf6f6efb27f9 /net-analyzer
parentAdd ~x86-fbsd keyword. (diff)
downloadhistorical-ba1d507c399a52bbcddb66fc02b1068fb43301af.tar.gz
historical-ba1d507c399a52bbcddb66fc02b1068fb43301af.tar.bz2
historical-ba1d507c399a52bbcddb66fc02b1068fb43301af.zip
Initial import from gentoo-alt overlay, SNMP daemon for FreeBSD. Not yet fixed to work on Linux, so just ~x86-fbsd.
Package-Manager: portage-2.1_rc2
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/bsnmp/ChangeLog11
-rw-r--r--net-analyzer/bsnmp/Manifest30
-rw-r--r--net-analyzer/bsnmp/bsnmp-1.11a.ebuild44
-rw-r--r--net-analyzer/bsnmp/files/bsnmp-1.10-gcc34.patch12
-rw-r--r--net-analyzer/bsnmp/files/digest-bsnmp-1.11a3
-rw-r--r--net-analyzer/bsnmp/metadata.xml5
6 files changed, 105 insertions, 0 deletions
diff --git a/net-analyzer/bsnmp/ChangeLog b/net-analyzer/bsnmp/ChangeLog
new file mode 100644
index 000000000000..e8f1779c8bff
--- /dev/null
+++ b/net-analyzer/bsnmp/ChangeLog
@@ -0,0 +1,11 @@
+# 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.1 2006/05/22 23:25:21 flameeyes Exp $
+
+*bsnmp-1.11a (22 May 2006)
+
+ 22 May 2006; Diego Pettenò <flameeyes@gentoo.org>
+ +files/bsnmp-1.10-gcc34.patch, +metadata.xml, +bsnmp-1.11a.ebuild:
+ Initial import from gentoo-alt overlay, SNMP daemon for FreeBSD. Not yet
+ fixed to work on Linux, so just ~x86-fbsd.
+
diff --git a/net-analyzer/bsnmp/Manifest b/net-analyzer/bsnmp/Manifest
new file mode 100644
index 000000000000..291c9a026775
--- /dev/null
+++ b/net-analyzer/bsnmp/Manifest
@@ -0,0 +1,30 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX bsnmp-1.10-gcc34.patch 311 RMD160 e54a961b5a805b56d92be7067811cd84233015e5 SHA1 9a571cb33147fb152ceb32cb918172fc84eda6ae SHA256 fc9b78f0bbc30017363512305d5abf38086a459e90b04d88b3f3b76ffefdfada
+MD5 a01ccab44170af9424e7d6272900e026 files/bsnmp-1.10-gcc34.patch 311
+RMD160 e54a961b5a805b56d92be7067811cd84233015e5 files/bsnmp-1.10-gcc34.patch 311
+SHA256 fc9b78f0bbc30017363512305d5abf38086a459e90b04d88b3f3b76ffefdfada files/bsnmp-1.10-gcc34.patch 311
+DIST bsnmp-1.11a.tar.gz 408165 RMD160 ab1e423450cab9f1268f3e5346b223c806f1c10c SHA1 8af663b69c7942a62334d8151563c3577f0cef25 SHA256 72d74b12742b153ac9c0bb4deb86bda6fc982eb41c775cc6fd7f343924b887f8
+EBUILD bsnmp-1.11a.ebuild 943 RMD160 f1d17ceb29781425fe4160646f46e28958823900 SHA1 e7bf22f647ad149eb13ede57416de875caa45f88 SHA256 0ff85566f91835b653e7e0a8f148486af6ab68211edd35d4d84849316a83d698
+MD5 7c9adc8f6b91865b6ca4236d53719bb2 bsnmp-1.11a.ebuild 943
+RMD160 f1d17ceb29781425fe4160646f46e28958823900 bsnmp-1.11a.ebuild 943
+SHA256 0ff85566f91835b653e7e0a8f148486af6ab68211edd35d4d84849316a83d698 bsnmp-1.11a.ebuild 943
+MISC ChangeLog 483 RMD160 b88af0856c510df10007aa025f502cd3be1fb43a SHA1 35685c533819e006858a8cef50aac39d15896e81 SHA256 91341b02de662f06f9f71bc44bc19d1d8ad438a7656bfc921a21ad092af338a4
+MD5 5e5de057a391b75e22295e20ab1484eb ChangeLog 483
+RMD160 b88af0856c510df10007aa025f502cd3be1fb43a ChangeLog 483
+SHA256 91341b02de662f06f9f71bc44bc19d1d8ad438a7656bfc921a21ad092af338a4 ChangeLog 483
+MISC metadata.xml 156 RMD160 60b5820a08275f307e5bd936d78f5afd1f141086 SHA1 d9d9d4f2b5afc58339ea3e562fca490156935f1f SHA256 30ab515d6ac492d3d6c36ac3c675511742c2149e56a6b3228c8d22ab8edb3ff7
+MD5 2bd48a5ae413433cbb36110b219ce97c metadata.xml 156
+RMD160 60b5820a08275f307e5bd936d78f5afd1f141086 metadata.xml 156
+SHA256 30ab515d6ac492d3d6c36ac3c675511742c2149e56a6b3228c8d22ab8edb3ff7 metadata.xml 156
+MD5 b6ac09d2189d682bd73a913a14420118 files/digest-bsnmp-1.11a 235
+RMD160 e9a278f3872d9af04e6f7257c4dcabd870c5439e files/digest-bsnmp-1.11a 235
+SHA256 1b3bcb541afe03cfe3d336845ecb537ac9ed15dacd705aaf860944872d5c3f40 files/digest-bsnmp-1.11a 235
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.3 (GNU/Linux)
+
+iD8DBQFEckhoAiZjviIA2XgRAlC8AJ48RegSutA4SG4lG6g1pbLmMIFrYACgmeRJ
+fUfsyPHZqU3ZijbC84NjDBg=
+=Bs1e
+-----END PGP SIGNATURE-----
diff --git a/net-analyzer/bsnmp/bsnmp-1.11a.ebuild b/net-analyzer/bsnmp/bsnmp-1.11a.ebuild
new file mode 100644
index 000000000000..11bf61993899
--- /dev/null
+++ b/net-analyzer/bsnmp/bsnmp-1.11a.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/bsnmp/bsnmp-1.11a.ebuild,v 1.1 2006/05/22 23:25:21 flameeyes 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="~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"
+}
+
+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/bsnmp-1.10-gcc34.patch b/net-analyzer/bsnmp/files/bsnmp-1.10-gcc34.patch
new file mode 100644
index 000000000000..f1220b83d521
--- /dev/null
+++ b/net-analyzer/bsnmp/files/bsnmp-1.10-gcc34.patch
@@ -0,0 +1,12 @@
+diff -ur -x '*~' bsnmp-1.10/snmp_ntp/snmp_ntp.c bsnmp-1.10-fix/snmp_ntp/snmp_ntp.c
+--- bsnmp-1.10/snmp_ntp/snmp_ntp.c 2005-05-23 11:03:48.000000000 +0200
++++ bsnmp-1.10-fix/snmp_ntp/snmp_ntp.c 2005-07-10 01:58:35.557888936 +0200
+@@ -360,6 +360,8 @@
+ free(rpkt);
+ return (-1);
+ }
++
++ return (-1);
+ }
+
+ /*
diff --git a/net-analyzer/bsnmp/files/digest-bsnmp-1.11a b/net-analyzer/bsnmp/files/digest-bsnmp-1.11a
new file mode 100644
index 000000000000..af3767ee2e88
--- /dev/null
+++ b/net-analyzer/bsnmp/files/digest-bsnmp-1.11a
@@ -0,0 +1,3 @@
+MD5 98edaf75d7da5c12705328216129778e bsnmp-1.11a.tar.gz 408165
+RMD160 ab1e423450cab9f1268f3e5346b223c806f1c10c bsnmp-1.11a.tar.gz 408165
+SHA256 72d74b12742b153ac9c0bb4deb86bda6fc982eb41c775cc6fd7f343924b887f8 bsnmp-1.11a.tar.gz 408165
diff --git a/net-analyzer/bsnmp/metadata.xml b/net-analyzer/bsnmp/metadata.xml
new file mode 100644
index 000000000000..ecedda4aa2cc
--- /dev/null
+++ b/net-analyzer/bsnmp/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>bsd</herd>
+</pkgmetadata>