diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2013-04-15 10:12:01 +0200 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2013-04-15 10:12:01 +0200 |
commit | 9c67fc1a17727682bc753bbd353cf7af6e6099e7 (patch) | |
tree | 8c60dcb6992954a61f171ad0ab2f463b6f0d9d1e /extra/net-snmp/PKGBUILD | |
parent | 5e1552e4d38c7ce209ce301f5020793e890366dc (diff) | |
parent | 030187a191f576ae92cef43f3c8cd7f1df084b87 (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts:
community/avr-binutils/PKGBUILD
community/ettercap/PKGBUILD
community/python2-traits/PKGBUILD
Diffstat (limited to 'extra/net-snmp/PKGBUILD')
-rw-r--r-- | extra/net-snmp/PKGBUILD | 30 |
1 files changed, 13 insertions, 17 deletions
diff --git a/extra/net-snmp/PKGBUILD b/extra/net-snmp/PKGBUILD index 1bef742f9..4b376fdc5 100644 --- a/extra/net-snmp/PKGBUILD +++ b/extra/net-snmp/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 179640 2013-03-08 23:40:45Z foutrelis $ +# $Id: PKGBUILD 182744 2013-04-14 04:22:21Z eric $ # Maintainer: # Contributor: Dale Blount <dale@archlinux.org> pkgname=net-snmp pkgver=5.7.2 -pkgrel=3 +pkgrel=4 pkgdesc="A suite of applications used to implement SNMP v1, SNMP v2c and SNMP v3 using both IPv4 and IPv6" arch=('i686' 'x86_64' 'mips64el') url="http://www.net-snmp.org/" @@ -14,25 +14,23 @@ makedepends=('python2-distribute') optdepends=('perl-term-readkey: for snmpcheck application' 'perl-tk: for snmpcheck and tkmib applications' 'python2: for the python modules') -provides=('ucd-snmp') -backup=('etc/conf.d/snmpd') -options=('!libtool' '!emptydirs') +options=('!libtool' '!emptydirs' '!makeflags') source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.asc} - snmpd.confd snmpd.rc snmpd.service libnl32.patch) + snmpd.service libnl32.patch) sha1sums=('c493027907f32400648244d81117a126aecd27ee' - '25ee4b2e7b5a1b91122d06e82d41ef5bb5359d6d' - 'cf811da9e57bbca34d8e2a3c358bb3bfc0c2b33b' - '90600c0141eed10d6e3ca3ccc97ad8dda15c2112' - 'f59ddc049c1c689f04e68c3c7cd8b8e301df3158' + 'SKIP' + '2ad00f89ecb8ec97adfbae7adfbfa3499319e5d7' '74a9848b95f63378eb1753fc309d2b74de5afb0f') -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - - # http://sourceforge.net/tracker/index.php?func=detail&aid=3250304&group_id=12694&atid=112694 +prepare() { + cd ${pkgname}-${pkgver} +# http://sourceforge.net/tracker/index.php?func=detail&aid=3250304&group_id=12694&atid=112694 patch -Np1 -i "$srcdir/libnl32.patch" autoreconf -f -i +} +build() { + cd ${pkgname}-${pkgver} PYTHONPROG=/usr/bin/python2 ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ @@ -50,11 +48,9 @@ build() { } package() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd ${pkgname}-${pkgver} sed -i -e "s:install --basedir=\$\$dir:install --basedir=\$\$dir --root=${pkgdir}:" Makefile make DESTDIR="${pkgdir}" INSTALL_PREFIX="${pkgdir}" INSTALLDIRS=vendor install - install -D -m755 "${srcdir}/snmpd.rc" "${pkgdir}/etc/rc.d/snmpd" - install -D -m644 "${srcdir}/snmpd.confd" "${pkgdir}/etc/conf.d/snmpd" install -D -m644 "${srcdir}/snmpd.service" "${pkgdir}/usr/lib/systemd/system/snmpd.service" install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } |