Upgrade packages to compile with new glibc version
authorHugo Villeneuve <hugo@hugovil.com>
Tue, 2 Dec 2014 03:56:57 +0000 (22:56 -0500)
committerHugo Villeneuve <hugo@hugovil.com>
Fri, 5 Dec 2014 04:44:19 +0000 (23:44 -0500)
To get rid of error because function gets() is considered a security risk.

config/packages-list
stage2/hv-install-2
stage2/patches/common/grub-2.00-use-gets.patch [new file with mode: 0644]

index 0026481..46864df 100644 (file)
@@ -5,7 +5,7 @@
 
 ABIWORD="abiword-2.8.6"
 ACK="ack-2.02"
-ACPID="acpid-2.0.9"
+ACPID="acpid-2.0.23"
 AGG="agg-2.5"
 ALSA_LIB="alsa-lib-1.0.25"
 ALSA_PLUGINS="alsa-plugins-1.0.25"
@@ -174,7 +174,7 @@ ID3LIB="id3lib-3.8.3"
 IMAGE_MAGICK="ImageMagick-6.7.9-6"
 IMLIB2="imlib-1.4.2"
 INDENT="indent-2.2.10"
-INETUTILS="inetutils-1.9.1"
+INETUTILS="inetutils-1.9.2"
 INKSCAPE="inkscape-0.48.3.1"
 INTLTOOL="intltool-0.50.2"
 IPROUTE2="iproute2-3.3.0"
@@ -226,7 +226,7 @@ LIBOGG="libogg-1.3.0"
 LIBOIL="liboil-0.3.17"
 LIBOPENJPEG="openjpeg-1.5.0"
 LIBPCAP="libpcap-1.3.0"
-LIBPIPELINE="libpipeline-1.2.1"
+LIBPIPELINE="libpipeline-1.4.0"
 LIBPNG="libpng-1.6.3"
 LIBPTHREAD_STUBS="libpthread-stubs-0.3"
 LIBRSVG="librsvg-2.36.3"
@@ -263,7 +263,7 @@ LZO="lzo-2.06"
 LZOP="lzop-1.03"
 
 MAKE_PACKAGE="make-3.82"
-MAN_DB="man-db-2.6.2"
+MAN_DB="man-db-2.7.1"
 MANPAGES="man-pages-3.41"
 MERCURIAL="mercurial-2.5.4"
 MFOUR="m4-1.4.17"
index 5870b94..6313a10 100755 (executable)
@@ -57,7 +57,7 @@ if [ -n "${WIFI_SUPPORT}" ]; then
 fi
 
 ipkg ${NANO}
-ipkg -m noac ${ACPID}
+ipkg ${ACPID}
 ipkg ${HV_UTILITIES} "--prefix=/usr/local"
 
 ipkg ${LZO} "--enable-shared --disable-static"
diff --git a/stage2/patches/common/grub-2.00-use-gets.patch b/stage2/patches/common/grub-2.00-use-gets.patch
new file mode 100644 (file)
index 0000000..e61580f
--- /dev/null
@@ -0,0 +1,18 @@
+Submitted By: Hugo Villeneuve <hugo at hugovil dot com>
+Date: 2014-12-01
+Initial Package Version: 2.00
+Upstream Status: Not sent
+Origin: Hugo Villeneuve
+Description: Fix compiler error because of gets
+
+diff -Naur grub-2.00.orig/grub-core/gnulib/stdio.in.h grub-2.00.new/grub-core/gnulib/stdio.in.h
+--- grub-2.00.orig/grub-core/gnulib/stdio.in.h 2010-12-01 14:45:43.000000000 +0000
++++ grub-2.00.new/grub-core/gnulib/stdio.in.h  2014-12-02 01:49:26.162779075 +0000
+@@ -141,7 +141,6 @@
+    so any use of gets warrants an unconditional warning.  Assume it is
+    always declared, since it is required by C89.  */
+ #undef gets
+-_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
+ #if @GNULIB_FOPEN@
+ # if @REPLACE_FOPEN@