[arch-commits] Commit in mrtg/trunk (PKGBUILD)

Giovanni Scafora giovanni at archlinux.org
Sun Apr 26 15:35:09 EDT 2009


    Date: Sunday, April 26, 2009 @ 15:35:08
  Author: giovanni
Revision: 36640

upgpkg: mrtg 2.16.2-2
    Fixed insecure RPATH FS14014

Modified:
  mrtg/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-04-26 19:03:45 UTC (rev 36639)
+++ PKGBUILD	2009-04-26 19:35:08 UTC (rev 36640)
@@ -1,9 +1,10 @@
 # $Id$
 # Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Gerardo Exequiel Pozzi <vmlinuz386 at yahoo.com.ar>
 
 pkgname=mrtg
 pkgver=2.16.2
-pkgrel=1
+pkgrel=2
 pkgdesc="Multi Router Traffic Grapher."
 arch=('i686' 'x86_64')
 url="http://oss.oetiker.ch/mrtg/"
@@ -13,8 +14,9 @@
 md5sums=('06de09c0ee0d35a0142afed5b275b4cd')
 
 build() {
-  cd ${startdir}/src/${pkgname}-${pkgver}
+  cd ${srcdir}/${pkgname}-${pkgver}
+  sed 's|LD_RUN_PATH=$(LD_RUN_PATH) ||g' -i Makefile.in
   ./configure --prefix=/usr
   make || return 1
-  make prefix=${startdir}/pkg/usr install
+  make prefix=${pkgdir}/usr install
 }



More information about the arch-commits mailing list