[Lunar-commits] <moonbase> a2ps: Version bump. The gcc patch is not needed. The security patch from version

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Tue Dec 21 19:21:08 CET 2010


commit 3df0a4ec6d9e3d72f4baa183e733bbde2e0c32c9
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Tue Dec 21 13:21:08 2010 -0500

    a2ps: Version bump. The gcc patch is not needed. The security patch from version
    
    4.13 is taken care of by the sedit (BUILD noet). Don't need the BUILD.x86_64 by
    using arch.
---
 printer/a2ps/BUILD        |   10 ++++++++--
 printer/a2ps/BUILD.x86_64 |   22 ----------------------
 printer/a2ps/DEPENDS      |    2 +-
 printer/a2ps/DETAILS      |   18 ++++++------------
 4 files changed, 15 insertions(+), 37 deletions(-)

diff --git a/printer/a2ps/BUILD b/printer/a2ps/BUILD
index 25d2c66..6c84907 100644
--- a/printer/a2ps/BUILD
+++ b/printer/a2ps/BUILD
@@ -1,7 +1,13 @@
 (
 
-  patch_it $SOURCE_CACHE/$SOURCE2 1  &&
-  patch_it $SOURCE_CACHE/$SOURCE3 1  &&
+# This was the only thing needed from the 4.13 security patch, all others from that were 
+# applied in thie version.
+  sedit 's:res->flag_output_is_printer = false;:res->flag_output_is_printer = true;:' lib/printers.c &&
+
+  if [ `arch` == x86_64 ] ; then
+      cp /usr/share/automake/config.guess auxdir/  &&
+      cp /usr/share/automake/config.sub auxdir/   
+  fi &&
 
   ./configure  --build=$BUILD             \
                --prefix=/usr              \
diff --git a/printer/a2ps/BUILD.x86_64 b/printer/a2ps/BUILD.x86_64
deleted file mode 100644
index 2f90aa7..0000000
--- a/printer/a2ps/BUILD.x86_64
+++ /dev/null
@@ -1,22 +0,0 @@
-(
-
-
-
-  patch_it $SOURCE_CACHE/$SOURCE2 1  &&
-  patch_it $SOURCE_CACHE/$SOURCE3 1  &&
-
-  cp /usr/share/automake/config.guess auxdir/  &&
-  cp /usr/share/automake/config.sub auxdir/    &&
-
-  ./configure  --build=$BUILD             \
-               --prefix=/usr              \
-               --sysconfdir=/etc/a2ps     \
-               --localstatedir=/var       \
-               --infodir=/usr/share/info  \
-               --mandir=/usr/share/man    \
-               $OPTS                     &&
-
-  default_make  &&
-  rm -f /a2ps*.el
-
-) > $C_FIFO 2>&1
diff --git a/printer/a2ps/DEPENDS b/printer/a2ps/DEPENDS
index bf4a563..f1d003b 100644
--- a/printer/a2ps/DEPENDS
+++ b/printer/a2ps/DEPENDS
@@ -1,4 +1,4 @@
 depends  psutils      &&
 depends  ImageMagick  &&
 
-optional_depends  "teTeX" "" "" "to convert TeX documents"
+optional_depends  "%TEX" "" "" "to convert TeX documents"
diff --git a/printer/a2ps/DETAILS b/printer/a2ps/DETAILS
index 76eb154..76e1035 100644
--- a/printer/a2ps/DETAILS
+++ b/printer/a2ps/DETAILS
@@ -1,18 +1,12 @@
           MODULE=a2ps
-         VERSION=4.13
-          SOURCE=$MODULE-${VERSION}b.tar.gz
-         SOURCE2=$MODULE-$VERSION-gcc34.patch.bz2
-         SOURCE3=$MODULE-$VERSION-security.patch.bz2
-   SOURCE_URL=$GNU_URL/$MODULE/
-  SOURCE2_URL=$PATCH_URL
-  SOURCE3_URL=$PATCH_URL
-      SOURCE_VFY=sha1:cfc79a3e54115e569f667fa3fd2c2ec16d22b31a
-     SOURCE2_VFY=sha1:66c98cb535831ee7aa257d6afcf5cf41cc191a2a
-     SOURCE3_VFY=sha1:319eac83b59d27693b72169501069e60f08076cf
+         VERSION=4.14
+          SOURCE=$MODULE-$VERSION.tar.gz
+      SOURCE_URL=$GNU_URL/$MODULE/
+      SOURCE_VFY=sha1:365abbbe4b7128bf70dad16d06e23c5701874852
         WEB_SITE=http://www.gnu.org/software/a2ps/
          ENTERED=20010922
-         UPDATED=20050529
-           SHORT="any to postscript filter."
+         UPDATED=20101221
+           SHORT="any to postscript filter"
 
 cat << EOF
 a2ps is an Any to PostScript filter. Of course it processes plain text


More information about the Lunar-commits mailing list