summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-06 22:40:44 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-06 22:40:44 (GMT)
commitb547bc0ac0b702e13e15dc6eb1754fc3e42cc8d5 (patch)
tree49320cb4a703664956bb4ddfb161314fa24a6774 /abs
parentdfd216f3480a1a047d5b5fd18819563f6c2eb789 (diff)
downloadlinhes_pkgbuild-b547bc0ac0b702e13e15dc6eb1754fc3e42cc8d5.zip
linhes_pkgbuild-b547bc0ac0b702e13e15dc6eb1754fc3e42cc8d5.tar.gz
linhes_pkgbuild-b547bc0ac0b702e13e15dc6eb1754fc3e42cc8d5.tar.bz2
diffutils: 3.2
glibc patch
Diffstat (limited to 'abs')
-rw-r--r--abs/core/diffutils/PKGBUILD18
-rw-r--r--abs/core/diffutils/__changelog1
-rw-r--r--abs/core/diffutils/diffutils.install4
3 files changed, 15 insertions, 8 deletions
diff --git a/abs/core/diffutils/PKGBUILD b/abs/core/diffutils/PKGBUILD
index 6cf0ff4..ca871aa 100644
--- a/abs/core/diffutils/PKGBUILD
+++ b/abs/core/diffutils/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id$
+# $Id: PKGBUILD 137084 2011-09-06 04:35:05Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: Andreas Radke <andyrtr@archlinux.org>
pkgname=diffutils
-pkgver=3.0
-pkgrel=2
+pkgver=3.2
+pkgrel=1
pkgdesc="Utility programs used for creating patch files"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/diffutils"
@@ -13,15 +13,21 @@ groups=('base')
depends=('glibc' 'sh')
install=diffutils.install
source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz)
-md5sums=('7624eb7e6b53ea3ce38958a092d2216e')
+md5sums=('26ff64c332429c830c154be46b393382')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd ${srcdir}/${pkgname}-${pkgver}
+ sed -i '/gets is a security hole/d' lib/stdio.in.h
./configure --prefix=/usr
make
}
+check() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make check
+}
+
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
}
diff --git a/abs/core/diffutils/__changelog b/abs/core/diffutils/__changelog
new file mode 100644
index 0000000..f7bfd9a
--- /dev/null
+++ b/abs/core/diffutils/__changelog
@@ -0,0 +1 @@
+sed -i '/gets is a security hole/d' lib/stdio.in.h
diff --git a/abs/core/diffutils/diffutils.install b/abs/core/diffutils/diffutils.install
index 3ebec28..ae6655f 100644
--- a/abs/core/diffutils/diffutils.install
+++ b/abs/core/diffutils/diffutils.install
@@ -1,5 +1,5 @@
-infodir=/usr/share/info
-filelist=(diff.info)
+infodir=usr/share/info
+filelist=(diffutils.info)
post_install() {
[ -x usr/bin/install-info ] || return 0