diff options
author | Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org> | 2014-03-16 16:46:04 +0100 |
---|---|---|
committer | Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org> | 2014-03-16 16:46:04 +0100 |
commit | b3ba4729f9a3f492b790192350c0373a7ba3e6f3 (patch) | |
tree | 808e135bb378211070ea27e545bb8d27a2d3c92a /main | |
parent | 2c9da7ddd67caa568bf5f0f504b8fe9efcb7f9a9 (diff) | |
download | aports-b3ba4729f9a3f492b790192350c0373a7ba3e6f3.tar.bz2 aports-b3ba4729f9a3f492b790192350c0373a7ba3e6f3.tar.xz |
main/net-snmp: upgrade to 5.7.2.1
Diffstat (limited to 'main')
-rw-r--r-- | main/net-snmp/APKBUILD | 44 |
1 files changed, 18 insertions, 26 deletions
diff --git a/main/net-snmp/APKBUILD b/main/net-snmp/APKBUILD index 59c4ce51e5..9ff355c48d 100644 --- a/main/net-snmp/APKBUILD +++ b/main/net-snmp/APKBUILD @@ -1,8 +1,8 @@ # Contributor: Carlo Landmeter <clandmeter@gmail.com> # Maintainer: Carlo Landmeter <clandmeter@gmail.com> pkgname=net-snmp -pkgver=5.7.2 -pkgrel=2 +pkgver=5.7.2.1 +pkgrel=0 pkgdesc="Simple Network Management Protocol" url="http://www.net-snmp.org/" arch="all" @@ -40,14 +40,14 @@ prepare() { # Allow tmpfs volume size monitoring # Ref #932 - sed -e 's#"tmpfs",#/* "tmpfs", */#g' -i agent/mibgroup/host/hr_filesys.c + sed -e 's#"tmpfs",#/* "tmpfs", */#g' -i agent/mibgroup/host/hr_filesys.c } build() { cd "$_builddir" - + export lt_cv_sys_max_cmd_len=8192 - + #build fails on: libnetsnmpmibs.so: undefined reference to `pthread_create' LDFLAGS="$LDFLAGS -lpthread" @@ -72,21 +72,13 @@ build() { --with-perl-modules="INSTALLDIRS=vendor" \ --disable-embedded-perl \ || return 1 - # embedded-perl seems to create TEXTREL's - - # work around parallell build issue - #make sedscript EXAMPLE.conf net-snmp-config-x \ - # && make -j1 -C man \ - # && make standardall \ - # && make net-snmp-create-v3-user \ - # && make || return 1 - # - # still fails even with the workaround above. + # embedded-perl seems to create TEXTREL's + make -j1 || return 1 } package() { - cd "$_builddir" + cd "$_builddir" make -j1 DESTDIR="$pkgdir" install || return 1 # remove things we dont want distribute rm "$pkgdir"/usr/lib/*.la || return 1 @@ -99,13 +91,13 @@ package() { || return 1 ln -s snmptrap "$pkgdir"/usr/bin/snmpinform || return 1 - install -m755 -D "$srcdir"/snmpd.initd "$pkgdir"/etc/init.d/snmpd - install -m644 -D "$srcdir"/snmpd.confd "$pkgdir"/etc/conf.d/snmpd - install -m755 -D "$srcdir"/snmptrapd.initd "$pkgdir"/etc/init.d/snmptrapd - install -m644 -D "$srcdir"/snmptrapd.confd "$pkgdir"/etc/conf.d/snmptrapd - install -m644 -D EXAMPLE.conf "$pkgdir"/etc/snmp/snmpd.conf.example - mkdir -p "$pkgdir"/var/lib/net-snmp - find "$pkgdir" -name perllocal.pod -delete + install -m755 -D "$srcdir"/snmpd.initd "$pkgdir"/etc/init.d/snmpd + install -m644 -D "$srcdir"/snmpd.confd "$pkgdir"/etc/conf.d/snmpd + install -m755 -D "$srcdir"/snmptrapd.initd "$pkgdir"/etc/init.d/snmptrapd + install -m644 -D "$srcdir"/snmptrapd.confd "$pkgdir"/etc/conf.d/snmptrapd + install -m644 -D EXAMPLE.conf "$pkgdir"/etc/snmp/snmpd.conf.example + mkdir -p "$pkgdir"/var/lib/net-snmp + find "$pkgdir" -name perllocal.pod -delete } libs() { @@ -162,21 +154,21 @@ tools() { } -md5sums="5bddd02e2f82b62daa79f82717737a14 net-snmp-5.7.2.tar.gz +md5sums="7db683faba037249837b226f64d566d4 net-snmp-5.7.2.1.tar.gz bd7dc10ffb5839e35ec37effcc53c2ad netsnmp-swinst-crash.patch 0fe11859a55f8e2489d5de629971a242 fix-includes.patch 3676e4d2e456e88da0dee8d7204749ba snmpd.initd 96510a2f3bc9f21648b03f7e8d76c0d3 snmpd.confd 7ce3e9e880fc6313ae87eb000bae4bda snmptrapd.initd 363f7728a76bdfc46e29b7e1f5cf4950 snmptrapd.confd" -sha256sums="09ed31b4cc1f3c0411ef9a16eff79ef3b30d89c32ca46d5a01a41826c4ceb816 net-snmp-5.7.2.tar.gz +sha256sums="35dd20a2b17849f6d5a0a6109b4f52c1a777a3e1a00c79c4a175c520d23f3497 net-snmp-5.7.2.1.tar.gz 377e54bc2b66590c1c5174bf2e2c820adcbecd703d67c68be13c325d04d7d0c4 netsnmp-swinst-crash.patch 7528f7d368a0a4536915805c065f8496c37cb99dbc74d508bed89831cd5af37e fix-includes.patch 0f36683e3ab9855ab16c6a9e7f5934145b7f65a02c3dd46dc9627b721296119a snmpd.initd 4a8eb647d8b8f25b03858e3815489eaf2cd8fd4932185f97a1d896f8ee2f85e8 snmpd.confd 4baf3ee9950ded78078d93c32833ff657d7e85580d64778cdc9a963cf24bc7ab snmptrapd.initd 095647b0e5be51e2bdd398267d7450da678b7d23cae6273f9b9461a26f89d69f snmptrapd.confd" -sha512sums="6cf9847c30d861f1c7002ca68f8317f84e7a7278ab78e92e6481a5296e0bf1e5f3525ec566002bd307d8d907699e9baef9f3919ba18d0948cc3bb550b99de882 net-snmp-5.7.2.tar.gz +sha512sums="6c4dadd145cab9572e2559ad99d6794469685086771c6d757d3667da1a061ab86746d53c28d48381c59a90d92b1812b813f3176cff156c41929177fb585299d0 net-snmp-5.7.2.1.tar.gz 78c036f1e6b4e3592cb2a6ff9b22671c930e337e9644298a9f78b6f13af1d9241d9c15dcc996b441b51cb2d551bf2dfe5caf602ff1e17baf7b6532f3dc6ba5bd netsnmp-swinst-crash.patch 87a552bd2e41684bba6e87fbcf6454a85ee912d7a339411fda24cebddf7661f0856729e076a917920a542cf84b687ffd90a091daa15f2c48f0ff64f3a53c0ddb fix-includes.patch 887e84b775cd87a3631deac44aa35645c2df9b13b9346b2b23a80e513e82425304a79a8bf5234937f01638969788602539846e7fb8f9b5a9273c938a6233a175 snmpd.initd |