diff options
Diffstat (limited to 'main/net-snmp/APKBUILD')
-rw-r--r-- | main/net-snmp/APKBUILD | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/main/net-snmp/APKBUILD b/main/net-snmp/APKBUILD index ac497cb9b3..26cf67d6fa 100644 --- a/main/net-snmp/APKBUILD +++ b/main/net-snmp/APKBUILD @@ -2,21 +2,24 @@ # Maintainer: Carlo Landmeter <clandmeter@gmail.com> pkgname=net-snmp pkgver=5.4.2.1 -pkgrel=0 +pkgrel=1 pkgdesc="Simple Network Management Protocol" url="http://www.net-snmp.org/" license="GPL" depends= -makedepends="perl-dev" +makedepends="perl-dev openssl-dev" subpackages="$pkgname-doc $pkgname-dev $pkgname-tools" source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz -snmpd.initd -snmpd.confd -snmptrapd.initd -snmptrapd.confd" + snmpd.initd + snmpd.confd + snmptrapd.initd + snmptrapd.confd + CVE-2008-6123.patch + " build() { cd "$srcdir/$pkgname-$pkgver" + patch -p0 -i ../CVE-2008-6123.patch || return 1 export lt_cv_sys_max_cmd_len=8192 @@ -30,8 +33,12 @@ build() { --with-logfile="/var/log/net-snmpd.log" \ --enable-ucd-snmp-compatibility \ --with-persistent-directory="/var/lib/net-snmp" \ + --with-openssl \ + --enable-ipv6 \ --enable-shared \ - --enable-as-needed + --enable-as-needed \ + --disable-embedded-perl + # embedded-perl seems to create TEXTREL's make -j1 || return 1 make -j1 DESTDIR="$pkgdir" install @@ -54,4 +61,5 @@ md5sums="984932520143f0c8bf7b7ce1fc9e1da1 net-snmp-5.4.2.1.tar.gz 941e257218aa773b33696a2c7222a14e snmpd.initd 96510a2f3bc9f21648b03f7e8d76c0d3 snmpd.confd c5198c350991637849595dba93019bda snmptrapd.initd -363f7728a76bdfc46e29b7e1f5cf4950 snmptrapd.confd" +363f7728a76bdfc46e29b7e1f5cf4950 snmptrapd.confd +e8eac801c76e03bca7e7bf6b267b0d3d CVE-2008-6123.patch" |