From b547bc0ac0b702e13e15dc6eb1754fc3e42cc8d5 Mon Sep 17 00:00:00 2001 From: James Meyer Date: Mon, 6 Aug 2012 17:40:44 -0500 Subject: diffutils: 3.2 glibc patch --- abs/core/diffutils/PKGBUILD | 18 ++++++++++++------ abs/core/diffutils/__changelog | 1 + abs/core/diffutils/diffutils.install | 4 ++-- 3 files changed, 15 insertions(+), 8 deletions(-) create mode 100644 abs/core/diffutils/__changelog 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 # Contributor: Andreas Radke 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 -- cgit v0.12