[arch-commits] Commit in net-snmp/trunk (ChangeLog PKGBUILD)

Eric Bélanger eric at archlinux.org
Wed Mar 24 22:46:14 CET 2010


    Date: Wednesday, March 24, 2010 @ 17:46:14
  Author: eric
Revision: 73314

upgpkg: net-snmp 5.5-2
Fixed broken .so link in man pages (close FS#18605)

Modified:
  net-snmp/trunk/ChangeLog
  net-snmp/trunk/PKGBUILD

-----------+
 ChangeLog |    5 +++++
 PKGBUILD  |    8 +++++++-
 2 files changed, 12 insertions(+), 1 deletion(-)

Modified: ChangeLog
===================================================================
--- ChangeLog	2010-03-24 21:30:00 UTC (rev 73313)
+++ ChangeLog	2010-03-24 21:46:14 UTC (rev 73314)
@@ -1,3 +1,8 @@
+2010-03-24  Eric Belanger  <eric at archlinux.org>
+
+	* net-snmp 5.5-2
+	* Fixed broken .so link in man pages (close FS#18605)
+
 2010-02-06  Eric Belanger  <eric at archlinux.org>
 
 	* net-snmp 5.5-1

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-03-24 21:30:00 UTC (rev 73313)
+++ PKGBUILD	2010-03-24 21:46:14 UTC (rev 73314)
@@ -4,7 +4,7 @@
 
 pkgname=net-snmp
 pkgver=5.5
-pkgrel=1
+pkgrel=2
 pkgdesc="A suite of applications used to implement SNMP v1, SNMP v2c and SNMP v3 using both IPv4 and IPv6"
 arch=('i686' 'x86_64')
 url="http://www.net-snmp.org/"
@@ -21,6 +21,12 @@
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
+  for _manpages in snmp_api_errstring.3 snmp_close.3 snmp_error.3 snmp_free_pdu.3 \
+      snmp_open.3 snmp_perror.3 snmp_read.3 snmp_select_info.3 snmp_send.3 \
+      snmp_sess_perror.3 snmp_timeout.3 ; do
+    sed -i 's/snmp_api/session_api/' man/${_manpages} || return 1
+  done
+  sed -i 's/snmp_api/pdu_api /' man/snmp_free_pdu.3 || return 1
   sed -i -e "s:\(install --basedir=\$\$dir\):\1 --root='${pkgdir}':" Makefile.in || return 1
    ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man \
     --enable-ucd-snmp-compatibility --with-libwrap --with-python-modules \



More information about the arch-commits mailing list