diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-05-22 23:25:21 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-05-22 23:25:21 +0000 |
commit | f01d611452433c7f82064b870869233ddb32433a (patch) | |
tree | 2d28640acd63b05f4a54d63589d54a404a782911 /net-analyzer/bsnmp | |
parent | Add ~x86-fbsd keyword. (diff) | |
download | gentoo-2-f01d611452433c7f82064b870869233ddb32433a.tar.gz gentoo-2-f01d611452433c7f82064b870869233ddb32433a.tar.bz2 gentoo-2-f01d611452433c7f82064b870869233ddb32433a.zip |
Initial import from gentoo-alt overlay, SNMP daemon for FreeBSD. Not yet fixed to work on Linux, so just ~x86-fbsd.
(Portage version: 2.1_rc2)
Diffstat (limited to 'net-analyzer/bsnmp')
-rw-r--r-- | net-analyzer/bsnmp/ChangeLog | 11 | ||||
-rw-r--r-- | net-analyzer/bsnmp/Manifest | 20 | ||||
-rw-r--r-- | net-analyzer/bsnmp/bsnmp-1.11a.ebuild | 44 | ||||
-rw-r--r-- | net-analyzer/bsnmp/files/bsnmp-1.10-gcc34.patch | 12 | ||||
-rw-r--r-- | net-analyzer/bsnmp/files/digest-bsnmp-1.11a | 3 | ||||
-rw-r--r-- | net-analyzer/bsnmp/metadata.xml | 5 |
6 files changed, 95 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..2e51dd451fc7 --- /dev/null +++ b/net-analyzer/bsnmp/Manifest @@ -0,0 +1,20 @@ +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 841 RMD160 e5be0afa44f32205ef9449da82c94cbad94fa270 SHA1 5363e658d90b18dab571c8115d20251f1f6c9e1a SHA256 48217ad2b87fdc7c5b0e3c1980a6ae7e5f6e9b313fc1ed7ab38c87bdbebcec3e +MD5 72567cb5007eb10c2295141ea2441190 bsnmp-1.11a.ebuild 841 +RMD160 e5be0afa44f32205ef9449da82c94cbad94fa270 bsnmp-1.11a.ebuild 841 +SHA256 48217ad2b87fdc7c5b0e3c1980a6ae7e5f6e9b313fc1ed7ab38c87bdbebcec3e bsnmp-1.11a.ebuild 841 +MISC ChangeLog 390 RMD160 40ed963ec4d33f151c4908f59b90cd234e9f46a9 SHA1 00ddc6f5f11e9f8952548fbf2caf8fcd2c5b87ca SHA256 165795a7ba6643c1d74d85216d106e059c6ce883e888dd0b9b1c9f6be56202a9 +MD5 44c8172b6383bd3e35fdde67649cd72b ChangeLog 390 +RMD160 40ed963ec4d33f151c4908f59b90cd234e9f46a9 ChangeLog 390 +SHA256 165795a7ba6643c1d74d85216d106e059c6ce883e888dd0b9b1c9f6be56202a9 ChangeLog 390 +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 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> |