New package: net-snmp-5.7.1.
This commit is contained in:
parent
eda5ac7aed
commit
9608361054
9 changed files with 96 additions and 0 deletions
|
@ -983,3 +983,7 @@ libijs-0.35.so libijs ghostscript-devel
|
||||||
libgs.so.9 libgs ghostscript-devel
|
libgs.so.9 libgs ghostscript-devel
|
||||||
libssh2.so.1 libssh2 libssh2-devel
|
libssh2.so.1 libssh2 libssh2-devel
|
||||||
libvirt-glib-1.0.so.0 libvirt-glib libvirt-glib-devel
|
libvirt-glib-1.0.so.0 libvirt-glib libvirt-glib-devel
|
||||||
|
libnetsnmp.so.30 libnet-snmp net-snmp-devel
|
||||||
|
libnetsnmpagent.so.30 libnet-snmp net-snmp-devel
|
||||||
|
libnetsnmpmibs.so.30 libnet-snmp net-snmp-devel
|
||||||
|
libnetsnmptrapd.so.30 libnet-snmp net-snmp-devel
|
||||||
|
|
1
srcpkgs/libnet-snmp
Symbolic link
1
srcpkgs/libnet-snmp
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
net-snmp
|
1
srcpkgs/net-snmp-devel
Symbolic link
1
srcpkgs/net-snmp-devel
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
net-snmp
|
2
srcpkgs/net-snmp/depends
Normal file
2
srcpkgs/net-snmp/depends
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
abi_depends=">=5.7.1"
|
||||||
|
api_depends="${abi_depends}"
|
11
srcpkgs/net-snmp/libnet-snmp.rshlibs
Normal file
11
srcpkgs/net-snmp/libnet-snmp.rshlibs
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
libcrypto.so.1
|
||||||
|
libc.so.6
|
||||||
|
libperl.so
|
||||||
|
libnsl.so.1
|
||||||
|
libdl.so.2
|
||||||
|
libcrypt.so.1
|
||||||
|
libutil.so.1
|
||||||
|
libpthread.so.0
|
||||||
|
libm.so.6
|
||||||
|
libnl.so.1
|
||||||
|
libpci.so.3
|
10
srcpkgs/net-snmp/libnet-snmp.template
Normal file
10
srcpkgs/net-snmp/libnet-snmp.template
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
# Template file for 'libnet-snmp'.
|
||||||
|
#
|
||||||
|
short_desc="${short_desc} - shared libraries"
|
||||||
|
long_desc="${long_desc}
|
||||||
|
|
||||||
|
This package contains the net-snmp shared libraries."
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
vmove "usr/lib/*.so*" usr/lib
|
||||||
|
}
|
15
srcpkgs/net-snmp/net-snmp-devel.template
Normal file
15
srcpkgs/net-snmp/net-snmp-devel.template
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
# Template file for 'net-snmp-devel'.
|
||||||
|
#
|
||||||
|
short_desc="${short_desc} - development files"
|
||||||
|
long_desc="${long_desc}
|
||||||
|
|
||||||
|
This package contains files for development, headers, static libs, etc."
|
||||||
|
|
||||||
|
Add_dependency run libnet-snmp ">=$version"
|
||||||
|
|
||||||
|
noarch=yes
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
vmove usr/include usr
|
||||||
|
vmove usr/share/man/man3 usr/share/man
|
||||||
|
}
|
8
srcpkgs/net-snmp/net-snmp.rshlibs
Normal file
8
srcpkgs/net-snmp/net-snmp.rshlibs
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
libcrypto.so.1
|
||||||
|
libc.so.6
|
||||||
|
libpthread.so.0
|
||||||
|
libm.so.6
|
||||||
|
libnetsnmp.so.30
|
||||||
|
libnetsnmpagent.so.30
|
||||||
|
libnetsnmpmibs.so.30
|
||||||
|
libnetsnmptrapd.so.30
|
44
srcpkgs/net-snmp/template
Normal file
44
srcpkgs/net-snmp/template
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
# Template build file for 'net-snmp'.
|
||||||
|
pkgname=net-snmp
|
||||||
|
version=5.7.1
|
||||||
|
distfiles="$SOURCEFORGE_SITE/$pkgname/$pkgname-$version.tar.gz"
|
||||||
|
short_desc="Simple Network Management Protocol (SNMP) suite"
|
||||||
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
homepage="http://www.net-snmp.org/"
|
||||||
|
license="BSD"
|
||||||
|
checksum=7c71c9650c65b715356547e20ca2dbe6313944278af8cc19c32a5337f46b181f
|
||||||
|
long_desc="
|
||||||
|
Simple Network Management Protocol (SNMP) is a widely used protocol for monitoring
|
||||||
|
the health and welfare of network equipment (eg. routers), computer equipment and
|
||||||
|
even devices like UPSs. Net-SNMP is a suite of applications used to implement
|
||||||
|
SNMP v1, SNMP v2c and SNMP v3 using both IPv4 and IPv6."
|
||||||
|
|
||||||
|
subpackages="lib${pkgname} $pkgname-devel"
|
||||||
|
|
||||||
|
Add_dependency build perl
|
||||||
|
Add_dependency build bzip2-devel
|
||||||
|
Add_dependency build openssl-devel
|
||||||
|
Add_dependency build libnl-devel
|
||||||
|
Add_dependency build pciutils-devel
|
||||||
|
Add_dependency build python-devel
|
||||||
|
Add_dependency build python-distribute
|
||||||
|
|
||||||
|
Add_dependency run python
|
||||||
|
|
||||||
|
do_configure() {
|
||||||
|
./configure ${CONFIGURE_SHARED_ARGS} --enable-ucd-snmp-compatibility \
|
||||||
|
--enable-ipv6 --with-python-modules --with-default-snmp-version="3" \
|
||||||
|
--with-sys-contact="root@localhost" --with-sys-location="Unknown" \
|
||||||
|
--with-logfile=/var/log/snmpd.log \
|
||||||
|
--with-mib-modules="host misc/ipfwacc ucd-snmp/diskio tunnel ucd-snmp/dlmod" \
|
||||||
|
--with-persistent-directory=/var/net-snmp --disable-static
|
||||||
|
}
|
||||||
|
|
||||||
|
do_build() {
|
||||||
|
make ${makejobs} NETSNMP_DONT_CHECK_VERSION=1
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
make DESTDIR=${DESTDIR} INSTALL_PREFIX=${DESTDIR} \
|
||||||
|
INSTALLDIRS=vendor install
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue