From 333b1fc984d6a1636a176ff9bc88b75cd21a2d4b Mon Sep 17 00:00:00 2001 From: piernov Date: Sun, 5 Aug 2012 23:31:33 +0200 Subject: gettext glibc 2.16 fix --- gettext/.footprint.i686 | 4 +--- gettext/.footprint.x86_64 | 4 +--- gettext/Pkgfile | 22 +++++++++++++--------- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/gettext/.footprint.i686 b/gettext/.footprint.i686 index e6afc5abb..1fa7a30c7 100644 --- a/gettext/.footprint.i686 +++ b/gettext/.footprint.i686 @@ -85,10 +85,9 @@ drwxr-xr-x root/root usr/share/aclocal/ -rw-r--r-- root/root usr/share/aclocal/xsize.m4 drwxr-xr-x root/root usr/share/gettext/ -rw-r--r-- root/root usr/share/gettext/ABOUT-NLS --rw-r--r-- root/root usr/share/gettext/archive.git.tar.gz +-rw-r--r-- root/root usr/share/gettext/archive.dir.tar.gz -rwxr-xr-x root/root usr/share/gettext/config.rpath -rw-r--r-- root/root usr/share/gettext/gettext.h --rw-r--r-- root/root usr/share/gettext/gettext.jar drwxr-xr-x root/root usr/share/gettext/intl/ -rw-r--r-- root/root usr/share/gettext/intl/COPYING.LIB-2.0 -rw-r--r-- root/root usr/share/gettext/intl/COPYING.LIB-2.1 @@ -156,7 +155,6 @@ drwxr-xr-x root/root usr/share/gettext/intl/ -rw-r--r-- root/root usr/share/gettext/intl/wprintf-parse.h -rw-r--r-- root/root usr/share/gettext/intl/xsize.h -rw-r--r-- root/root usr/share/gettext/javaversion.class --rw-r--r-- root/root usr/share/gettext/libintl.jar -rw-r--r-- root/root usr/share/gettext/msgunfmt.tcl drwxr-xr-x root/root usr/share/gettext/po/ -rw-r--r-- root/root usr/share/gettext/po/Makefile.in.in diff --git a/gettext/.footprint.x86_64 b/gettext/.footprint.x86_64 index e6afc5abb..1fa7a30c7 100644 --- a/gettext/.footprint.x86_64 +++ b/gettext/.footprint.x86_64 @@ -85,10 +85,9 @@ drwxr-xr-x root/root usr/share/aclocal/ -rw-r--r-- root/root usr/share/aclocal/xsize.m4 drwxr-xr-x root/root usr/share/gettext/ -rw-r--r-- root/root usr/share/gettext/ABOUT-NLS --rw-r--r-- root/root usr/share/gettext/archive.git.tar.gz +-rw-r--r-- root/root usr/share/gettext/archive.dir.tar.gz -rwxr-xr-x root/root usr/share/gettext/config.rpath -rw-r--r-- root/root usr/share/gettext/gettext.h --rw-r--r-- root/root usr/share/gettext/gettext.jar drwxr-xr-x root/root usr/share/gettext/intl/ -rw-r--r-- root/root usr/share/gettext/intl/COPYING.LIB-2.0 -rw-r--r-- root/root usr/share/gettext/intl/COPYING.LIB-2.1 @@ -156,7 +155,6 @@ drwxr-xr-x root/root usr/share/gettext/intl/ -rw-r--r-- root/root usr/share/gettext/intl/wprintf-parse.h -rw-r--r-- root/root usr/share/gettext/intl/xsize.h -rw-r--r-- root/root usr/share/gettext/javaversion.class --rw-r--r-- root/root usr/share/gettext/libintl.jar -rw-r--r-- root/root usr/share/gettext/msgunfmt.tcl drwxr-xr-x root/root usr/share/gettext/po/ -rw-r--r-- root/root usr/share/gettext/po/Makefile.in.in diff --git a/gettext/Pkgfile b/gettext/Pkgfile index 4957db609..753c43829 100755 --- a/gettext/Pkgfile +++ b/gettext/Pkgfile @@ -6,15 +6,19 @@ name=gettext version=0.18.1.1 release=1 -source=( http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz) +source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz) build() { -cd $name-$version -./configure --prefix=/usr -make -make DESTDIR=$PKG install -if [ -f $PKG/usr/share/info/dir ]; then - rm $PKG/usr/share/info/dir -fi -rm -rf $PKG/usr/share/doc + cd $name-$version + + + sed -i '/gets is a security hole/d' gettext-{runtime/gnulib-lib,tools/{gnulib-lib,libgettextpo}}/stdio.in.h + + ./configure --prefix=/usr + make + make DESTDIR=$PKG install + if [ -f $PKG/usr/share/info/dir ]; then + rm $PKG/usr/share/info/dir + fi + rm -rf $PKG/usr/share/doc } -- cgit v1.2.3-70-g09d2