[arch-commits] Commit in a2ps/trunk (PKGBUILD)
Date: Saturday, November 7, 2020 @ 21:14:14 Author: jelle Revision: 399595 upgpkg: a2ps 4.14-12 Modified: a2ps/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-11-07 20:38:23 UTC (rev 399594) +++ PKGBUILD2020-11-07 21:14:14 UTC (rev 399595) @@ -2,12 +2,12 @@ pkgname=a2ps pkgver=4.14 -pkgrel=11 +pkgrel=12 pkgdesc="An Any to PostScript filter" arch=('x86_64') url="https://www.gnu.org/software/a2ps/; license=('GPL3') -depends=('psutils' 'imagemagick') +depends=('psutils' 'imagemagick' 'perl') makedepends=('gperf') backup=('etc/a2ps/a2ps.cfg' 'etc/a2ps/a2ps-site.cfg') source=(https://ftp.gnu.org/gnu/a2ps/${pkgname}-${pkgver}.tar.gz{,.sig}
[arch-commits] Commit in a2ps/trunk (PKGBUILD adhere-source-date-epoch.patch)
Date: Friday, May 15, 2020 @ 15:22:31 Author: jelle Revision: 383695 Make a2ps reproducible by adhering to SOURCE_DATE_EPOCH. Added: a2ps/trunk/adhere-source-date-epoch.patch Modified: a2ps/trunk/PKGBUILD + PKGBUILD |9 ++--- adhere-source-date-epoch.patch | 22 ++ 2 files changed, 28 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-05-15 14:12:08 UTC (rev 383694) +++ PKGBUILD2020-05-15 15:22:31 UTC (rev 383695) @@ -2,7 +2,7 @@ pkgname=a2ps pkgver=4.14 -pkgrel=9 +pkgrel=10 pkgdesc="An Any to PostScript filter" arch=('x86_64') url="https://www.gnu.org/software/a2ps/; @@ -17,7 +17,8 @@ a2ps-4.13-security.patch CVE-2014-0466.patch CVE-2015-8107.patch - a2ps-texinfo67.patch) + a2ps-texinfo67.patch +adhere-source-date-epoch.patch) sha1sums=('365abbbe4b7128bf70dad16d06e23c5701874852' 'SKIP' '8783952d3410d8d59ed953e1db45e2ef1a0b8f65' @@ -29,7 +30,8 @@ '93a4db17edfaa99e3498c7d952c560dab49dbe42' '0a04f4c145d3aef8f3c7537eb00cb4040c7209c9' '08c51a9361eaefe76af61b70392fa5ac1c4356c7' - 'f54b6b319a5c134e0ee9be8dc9c8f80a65dc98d6') + 'f54b6b319a5c134e0ee9be8dc9c8f80a65dc98d6' + 'd53042daa93db3969fbb5564c4f93ddc91ef6334') validpgpkeys=('6EB39358D8328FE3CDC903A8CB6FA340E7075A54') prepare() { @@ -48,6 +50,7 @@ patch -p1 -i "${srcdir}/CVE-2014-0466.patch" patch -p1 -i "${srcdir}/CVE-2015-8107.patch" patch -p1 -i "${srcdir}/a2ps-texinfo67.patch" + patch -p1 -i "${srcdir}/adhere-source-date-epoch.patch" } build() { Added: adhere-source-date-epoch.patch === --- adhere-source-date-epoch.patch (rev 0) +++ adhere-source-date-epoch.patch 2020-05-15 15:22:31 UTC (rev 383695) @@ -0,0 +1,22 @@ +diff -aur a2ps-4.14.old/etc/Makefile.am a2ps-4.14/etc/Makefile.am +--- a2ps-4.14.old/etc/Makefile.am 2020-05-15 16:22:46.236954254 +0200 a2ps-4.14/etc/Makefile.am 2020-05-15 16:58:42.382348094 +0200 +@@ -44,5 +44,5 @@ + + # Building a time stamp to know the version. + README: README.in Makefile +- sed "s!@date@!`date`!g;s!@version@!$(VERSION)!g"\ ++ sed "s!@date@!$(shell date --utc --date="${SOURCE_DATE_EPOCH:-$(date +%s)}")!g;s!@version@!$(VERSION)!g"\ + $(srcdir)/README.in > README +diff -aur a2ps-4.14.old/etc/Makefile.in a2ps-4.14/etc/Makefile.in +--- a2ps-4.14.old/etc/Makefile.in 2020-05-15 16:22:46.236954254 +0200 a2ps-4.14/etc/Makefile.in 2020-05-15 16:59:00.132720058 +0200 +@@ -486,7 +486,7 @@ + + # Building a time stamp to know the version. + README: README.in Makefile +- sed "s!@date@!`date`!g;s!@version@!$(VERSION)!g"\ ++ sed "s!@date@!$(shell date --utc --date="${SOURCE_DATE_EPOCH:-$(date +%s)}")!g;s!@version@!$(VERSION)!g"\ + $(srcdir)/README.in > README + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded.
[arch-commits] Commit in a2ps/trunk (PKGBUILD)
Date: Thursday, May 2, 2019 @ 20:46:53 Author: arojas Revision: 352395 https Modified: a2ps/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-05-02 20:27:50 UTC (rev 352394) +++ PKGBUILD2019-05-02 20:46:53 UTC (rev 352395) @@ -5,12 +5,12 @@ pkgrel=8 pkgdesc="An Any to PostScript filter" arch=('x86_64') -url="http://www.gnu.org/software/a2ps/; +url="https://www.gnu.org/software/a2ps/; license=('GPL3') depends=('psutils' 'imagemagick') makedepends=('gperf') backup=('etc/a2ps/a2ps.cfg' 'etc/a2ps/a2ps-site.cfg') -source=(ftp://ftp.gnu.org/gnu/a2ps/${pkgname}-${pkgver}.tar.gz{,.sig} +source=(https://ftp.gnu.org/gnu/a2ps/${pkgname}-${pkgver}.tar.gz{,.sig} a2ps-4.13c-fnmatch-replacement.patch a2ps-4.13c-emacs.patch a2ps-4.13-manpage-chmod.patch a2ps-4.14-check-mempcpy.patch a2ps-4.14-fix-stpcpy-proto.patch a2ps-texinfo5.patch
[arch-commits] Commit in a2ps/trunk (PKGBUILD)
Date: Thursday, November 8, 2018 @ 12:27:08 Author: allan Revision: 338360 upgpkg: a2ps 4.14-8 rebuild for PIE and RELRO Modified: a2ps/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-11-08 12:04:39 UTC (rev 338359) +++ PKGBUILD2018-11-08 12:27:08 UTC (rev 338360) @@ -2,7 +2,7 @@ pkgname=a2ps pkgver=4.14 -pkgrel=7 +pkgrel=8 pkgdesc="An Any to PostScript filter" arch=('x86_64') url="http://www.gnu.org/software/a2ps/;
[arch-commits] Commit in a2ps/trunk (PKGBUILD a2ps.install)
Date: Thursday, May 5, 2016 @ 23:33:14 Author: arojas Revision: 266978 Hooks Modified: a2ps/trunk/PKGBUILD Deleted: a2ps/trunk/a2ps.install --+ PKGBUILD |3 +-- a2ps.install | 20 2 files changed, 1 insertion(+), 22 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-05-05 21:30:17 UTC (rev 266977) +++ PKGBUILD2016-05-05 21:33:14 UTC (rev 266978) @@ -3,7 +3,7 @@ pkgname=a2ps pkgver=4.14 -pkgrel=6 +pkgrel=7 pkgdesc="An Any to PostScript filter" arch=('i686' 'x86_64') url="http://www.gnu.org/software/a2ps/; @@ -11,7 +11,6 @@ depends=('psutils' 'imagemagick') makedepends=('gperf') backup=('etc/a2ps/a2ps.cfg' 'etc/a2ps/a2ps-site.cfg') -install=a2ps.install source=(ftp://ftp.gnu.org/gnu/a2ps/${pkgname}-${pkgver}.tar.gz{,.sig} a2ps-4.13c-fnmatch-replacement.patch a2ps-4.13c-emacs.patch a2ps-4.13-manpage-chmod.patch a2ps-4.14-check-mempcpy.patch Deleted: a2ps.install === --- a2ps.install2016-05-05 21:30:17 UTC (rev 266977) +++ a2ps.install2016-05-05 21:33:14 UTC (rev 266978) @@ -1,20 +0,0 @@ -infodir=/usr/share/info -filelist=(a2ps.info.gz ogonkify.info.gz regex.info.gz) - -post_install() { - [ -x usr/bin/install-info ] || return 0 - for file in ${filelist[@]}; do -install-info $infodir/$file $infodir/dir 2> /dev/null - done -} - -post_upgrade() { - post_install $1 -} - -pre_remove() { - [ -x usr/bin/install-info ] || return 0 - for file in ${filelist[@]}; do -install-info --delete $infodir/$file $infodir/dir 2> /dev/null - done -}
[arch-commits] Commit in a2ps/trunk (PKGBUILD)
Date: Thursday, January 1, 2015 @ 01:43:52 Author: eric Revision: 228270 Add validpgpkeys array Modified: a2ps/trunk/PKGBUILD --+ PKGBUILD |1 + 1 file changed, 1 insertion(+) Modified: PKGBUILD === --- PKGBUILD2015-01-01 00:28:59 UTC (rev 228269) +++ PKGBUILD2015-01-01 00:43:52 UTC (rev 228270) @@ -26,6 +26,7 @@ '58fa90134f1027e3f05aeb08212cbcc10f420738' '81269db9dd29685b0ece2539070ced3f7a8472df' '93a4db17edfaa99e3498c7d952c560dab49dbe42') +validpgpkeys=('6EB39358D8328FE3CDC903A8CB6FA340E7075A54') prepare() { cd ${pkgname}-${pkgver}
[arch-commits] Commit in a2ps/trunk (PKGBUILD a2ps-4.13-security.patch)
Date: Wednesday, February 5, 2014 @ 17:40:49 Author: eric Revision: 205464 upgpkg: a2ps 4.14-6 Add security fix (close FS#38799), Add build fix Added: a2ps/trunk/a2ps-4.13-security.patch Modified: a2ps/trunk/PKGBUILD --+ PKGBUILD | 17 ++- a2ps-4.13-security.patch | 65 + 2 files changed, 75 insertions(+), 7 deletions(-) Modified: PKGBUILD === --- PKGBUILD2014-02-05 16:17:43 UTC (rev 205463) +++ PKGBUILD2014-02-05 16:40:49 UTC (rev 205464) @@ -3,19 +3,20 @@ pkgname=a2ps pkgver=4.14 -pkgrel=5 +pkgrel=6 pkgdesc=An Any to PostScript filter arch=('i686' 'x86_64') url=http://www.gnu.org/software/a2ps/; license=('GPL3') -depends=('ghostscript' 'psutils' 'imagemagick') +depends=('psutils' 'imagemagick') makedepends=('gperf') backup=('etc/a2ps/a2ps.cfg' 'etc/a2ps/a2ps-site.cfg') install=a2ps.install source=(ftp://ftp.gnu.org/gnu/a2ps/${pkgname}-${pkgver}.tar.gz{,.sig} -a2ps-4.13c-fnmatch-replacement.patch a2ps-4.13c-emacs.patch - a2ps-4.13-manpage-chmod.patch a2ps-4.14-check-mempcpy.patch - a2ps-4.14-fix-stpcpy-proto.patch a2ps-texinfo5.patch) +a2ps-4.13c-fnmatch-replacement.patch a2ps-4.13c-emacs.patch + a2ps-4.13-manpage-chmod.patch a2ps-4.14-check-mempcpy.patch + a2ps-4.14-fix-stpcpy-proto.patch a2ps-texinfo5.patch + a2ps-4.13-security.patch) sha1sums=('365abbbe4b7128bf70dad16d06e23c5701874852' 'SKIP' '8783952d3410d8d59ed953e1db45e2ef1a0b8f65' @@ -23,7 +24,8 @@ '2bb3d0a2ef2f3ff9262723e35c742a80ab0235ce' '6aed29c1399e79f3914b408059610f9e7c0fc38e' '58fa90134f1027e3f05aeb08212cbcc10f420738' - '81269db9dd29685b0ece2539070ced3f7a8472df') + '81269db9dd29685b0ece2539070ced3f7a8472df' + '93a4db17edfaa99e3498c7d952c560dab49dbe42') prepare() { cd ${pkgname}-${pkgver} @@ -37,6 +39,7 @@ patch -p1 -i ${srcdir}/a2ps-4.14-check-mempcpy.patch patch -p0 -i ${srcdir}/a2ps-4.14-fix-stpcpy-proto.patch patch -p1 -i ${srcdir}/a2ps-texinfo5.patch + patch -p1 -i ${srcdir}/a2ps-4.13-security.patch } build() { @@ -43,7 +46,7 @@ cd ${pkgname}-${pkgver} libtoolize --force --copy autoreconf --force --install -I m4 - ./configure --prefix=/usr --sysconfdir=/etc/a2ps \ + LIBS+=-lm ./configure --prefix=/usr --sysconfdir=/etc/a2ps \ --includedir=/usr/include --enable-shared --enable-nls make } Added: a2ps-4.13-security.patch === --- a2ps-4.13-security.patch(rev 0) +++ a2ps-4.13-security.patch2014-02-05 16:40:49 UTC (rev 205464) @@ -0,0 +1,65 @@ +--- a2ps-4.13/lib/routines.c.security Sat Oct 16 05:46:37 1999 a2ps-4.13/lib/routines.c Mon Feb 12 17:45:15 2001 +@@ -242,3 +242,50 @@ + /* Don't complain if you can't unlink. Who cares of a tmp file? */ + unlink (filename); + } ++ ++/* ++ * Securely generate a temp file, and make sure it gets ++ * deleted upon exit. ++ */ ++static char **tempfiles; ++static unsigned ntempfiles; ++ ++static void ++cleanup_tempfiles() ++{ ++ while (ntempfiles--) ++ unlink(tempfiles[ntempfiles]); ++} ++ ++char * ++safe_tempnam(const char *pfx) ++{ ++ char*dirname, *filename; ++ int fd; ++ ++ if (!(dirname = getenv(TMPDIR))) ++ dirname = /tmp; ++ ++ tempfiles = (char **) realloc(tempfiles, ++ (ntempfiles+1) * sizeof(char *)); ++ if (tempfiles == NULL) ++ return NULL; ++ ++ filename = malloc(strlen(dirname) + strlen(pfx) + sizeof(/XX)); ++ if (!filename) ++ return NULL; ++ ++ sprintf(filename, %s/%sXX, dirname, pfx); ++ ++ if ((fd = mkstemp(filename)) 0) { ++ free(filename); ++ return NULL; ++ } ++ close(fd); ++ ++ if (ntempfiles == 0) ++ atexit(cleanup_tempfiles); ++ tempfiles[ntempfiles++] = filename; ++ ++ return filename; ++} +--- a2ps-4.13/lib/routines.h.security Mon Oct 18 21:24:41 1999 a2ps-4.13/lib/routines.h Mon Feb 12 17:39:30 2001 +@@ -255,7 +255,8 @@ + /* If _STR_ is not defined, give it a tempname in _TMPDIR_ */ + #define tempname_ensure(Str) \ + do { \ +- (Str) = (Str) ? (Str) : tempnam (NULL, a2_); \ ++ (Str) = (Str) ? (Str) : safe_tempnam(a2_);\ + } while (0) ++char * safe_tempnam(const char *); + + #endif
[arch-commits] Commit in a2ps/trunk (PKGBUILD)
Date: Thursday, October 24, 2013 @ 05:41:25 Author: eric Revision: 197209 upgpkg: a2ps 4.14-5 Replace static library by shared library Modified: a2ps/trunk/PKGBUILD --+ PKGBUILD |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-10-24 01:16:46 UTC (rev 197208) +++ PKGBUILD2013-10-24 03:41:25 UTC (rev 197209) @@ -3,7 +3,7 @@ pkgname=a2ps pkgver=4.14 -pkgrel=4 +pkgrel=5 pkgdesc=An Any to PostScript filter arch=('i686' 'x86_64') url=http://www.gnu.org/software/a2ps/; @@ -11,7 +11,6 @@ depends=('ghostscript' 'psutils' 'imagemagick') makedepends=('gperf') backup=('etc/a2ps/a2ps.cfg' 'etc/a2ps/a2ps-site.cfg') -options=('!libtool') install=a2ps.install source=(ftp://ftp.gnu.org/gnu/a2ps/${pkgname}-${pkgver}.tar.gz{,.sig} a2ps-4.13c-fnmatch-replacement.patch a2ps-4.13c-emacs.patch @@ -45,7 +44,7 @@ libtoolize --force --copy autoreconf --force --install -I m4 ./configure --prefix=/usr --sysconfdir=/etc/a2ps \ ---includedir=/usr/include --enable-nls +--includedir=/usr/include --enable-shared --enable-nls make }
[arch-commits] Commit in a2ps/trunk (PKGBUILD a2ps-texinfo5.patch)
Date: Tuesday, July 30, 2013 @ 08:58:54 Author: eric Revision: 191743 upgpkg: a2ps 4.14-4 Fix info pages (close FS#36236) Added: a2ps/trunk/a2ps-texinfo5.patch Modified: a2ps/trunk/PKGBUILD -+ PKGBUILD| 11 +++ a2ps-texinfo5.patch | 46 ++ 2 files changed, 53 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-07-30 02:31:53 UTC (rev 191742) +++ PKGBUILD2013-07-30 06:58:54 UTC (rev 191743) @@ -3,7 +3,7 @@ pkgname=a2ps pkgver=4.14 -pkgrel=3 +pkgrel=4 pkgdesc=An Any to PostScript filter arch=('i686' 'x86_64') url=http://www.gnu.org/software/a2ps/; @@ -14,15 +14,17 @@ options=('!libtool') install=a2ps.install source=(ftp://ftp.gnu.org/gnu/a2ps/${pkgname}-${pkgver}.tar.gz{,.sig} -a2ps-4.13c-fnmatch-replacement.patch a2ps-4.13c-emacs.patch a2ps-4.13-manpage-chmod.patch -a2ps-4.14-check-mempcpy.patch a2ps-4.14-fix-stpcpy-proto.patch) +a2ps-4.13c-fnmatch-replacement.patch a2ps-4.13c-emacs.patch + a2ps-4.13-manpage-chmod.patch a2ps-4.14-check-mempcpy.patch + a2ps-4.14-fix-stpcpy-proto.patch a2ps-texinfo5.patch) sha1sums=('365abbbe4b7128bf70dad16d06e23c5701874852' 'SKIP' '8783952d3410d8d59ed953e1db45e2ef1a0b8f65' '94e35a6ad9268161bec22a56d4cfb696d635994a' '2bb3d0a2ef2f3ff9262723e35c742a80ab0235ce' '6aed29c1399e79f3914b408059610f9e7c0fc38e' - '58fa90134f1027e3f05aeb08212cbcc10f420738') + '58fa90134f1027e3f05aeb08212cbcc10f420738' + '81269db9dd29685b0ece2539070ced3f7a8472df') prepare() { cd ${pkgname}-${pkgver} @@ -35,6 +37,7 @@ patch -p1 -i ${srcdir}/a2ps-4.13-manpage-chmod.patch patch -p1 -i ${srcdir}/a2ps-4.14-check-mempcpy.patch patch -p0 -i ${srcdir}/a2ps-4.14-fix-stpcpy-proto.patch + patch -p1 -i ${srcdir}/a2ps-texinfo5.patch } build() { Added: a2ps-texinfo5.patch === --- a2ps-texinfo5.patch (rev 0) +++ a2ps-texinfo5.patch 2013-07-30 06:58:54 UTC (rev 191743) @@ -0,0 +1,46 @@ +diff -Naur a2ps-4.14-orig/doc/a2ps.texi a2ps-4.14/doc/a2ps.texi +--- a2ps-4.14-orig/doc/a2ps.texi 2013-07-30 02:27:21.950434805 -0400 a2ps-4.14/doc/a2ps.texi2013-07-30 02:29:07.286445041 -0400 +@@ -22,12 +22,12 @@ + @c `a2ps'. Avoid those quotes. + @iftex + @macro pack +-@code{@value{PACKAGE}}@c ++@code{@value{PACKAGE}} + @end macro + @end iftex + @ifnottex + @macro pack +-@value{PACKAGE}@c ++@value{PACKAGE} + @end macro + @end ifnottex + +@@ -43,11 +43,6 @@ + @end macro + @end ifnottex + +-@c TeX variants +-@macro LaTeX +-La@TeX{} +-@end macro +- + @macro PreTeX + Pre@TeX{} + @end macro +@@ -3965,13 +3960,13 @@ + @itemx \end@{enumerate@} + @itemx \begin@{description@} + @itemx \end@{description@} +-These commands are legal in @LaTeX but have no sense in @PreTeX{}. ++These commands are legal in @LaTeX{} but have no sense in @PreTeX{}. + Hence there are simply ignored and not printed (if immediately followed + by an end-of-line). + @end table + + @node Differences with LaTeX +-@subsubsection Differences with @LaTeX ++@subsubsection Differences with @LaTeX{} + The following symbols, inherited from the style sheet @code{Symbol}, are + not supported by @LaTeX{}: +
[arch-commits] Commit in a2ps/trunk (PKGBUILD)
Date: Monday, July 22, 2013 @ 00:38:57 Author: eric Revision: 191228 upgpkg: a2ps 4.14-3 Fix build issue (close FS#36218), Clean up depends, Add prepare function Modified: a2ps/trunk/PKGBUILD --+ PKGBUILD | 40 +--- 1 file changed, 21 insertions(+), 19 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-07-21 21:10:07 UTC (rev 191227) +++ PKGBUILD2013-07-21 22:38:57 UTC (rev 191228) @@ -3,48 +3,50 @@ pkgname=a2ps pkgver=4.14 -pkgrel=2 +pkgrel=3 pkgdesc=An Any to PostScript filter arch=('i686' 'x86_64') url=http://www.gnu.org/software/a2ps/; license=('GPL3') -depends=('ghostscript' 'psutils' 'imagemagick' 'perl') +depends=('ghostscript' 'psutils' 'imagemagick') makedepends=('gperf') backup=('etc/a2ps/a2ps.cfg' 'etc/a2ps/a2ps-site.cfg') options=('!libtool') install=a2ps.install -source=(ftp://ftp.gnu.org/gnu/a2ps/${pkgname}-${pkgver}.tar.gz \ -a2ps-4.13c-fnmatch-replacement.patch a2ps-4.13c-emacs.patch a2ps-4.13-manpage-chmod.patch \ +source=(ftp://ftp.gnu.org/gnu/a2ps/${pkgname}-${pkgver}.tar.gz{,.sig} +a2ps-4.13c-fnmatch-replacement.patch a2ps-4.13c-emacs.patch a2ps-4.13-manpage-chmod.patch a2ps-4.14-check-mempcpy.patch a2ps-4.14-fix-stpcpy-proto.patch) -md5sums=('781ac3d9b213fa3e1ed0d79f986dc8c7' - '93011b58e9f20a7fafa31287a51884a4' - '2e493d0bc00d71eb3e8a9b6febc52b69' - '09cc5ed4d3d8ff1b2103e519191e8286' - '42aa39b74f6da8cf6e94185c4fc3e601' - '066f9327fee6b6eca3a57d657d1097d1') sha1sums=('365abbbe4b7128bf70dad16d06e23c5701874852' + 'SKIP' '8783952d3410d8d59ed953e1db45e2ef1a0b8f65' '94e35a6ad9268161bec22a56d4cfb696d635994a' '2bb3d0a2ef2f3ff9262723e35c742a80ab0235ce' '6aed29c1399e79f3914b408059610f9e7c0fc38e' '58fa90134f1027e3f05aeb08212cbcc10f420738') +prepare() { + cd ${pkgname}-${pkgver} + sed -i -e '/^AM_C_PROTOTYPES/d' -e '/^AUTOMAKE_OPTIONS.*ansi2knr/d' \ +-e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' -e 's:AM_PROG_CC_STDC:AC_PROG_CC:' \ +configure.in {contrib/sample,lib,src}/Makefile.am m4/protos.m4 + sed -i s:^countdictstack: \0: contrib/psset.in + patch -p1 -i ${srcdir}/a2ps-4.13c-fnmatch-replacement.patch + patch -p1 -i ${srcdir}/a2ps-4.13c-emacs.patch + patch -p1 -i ${srcdir}/a2ps-4.13-manpage-chmod.patch + patch -p1 -i ${srcdir}/a2ps-4.14-check-mempcpy.patch + patch -p0 -i ${srcdir}/a2ps-4.14-fix-stpcpy-proto.patch +} + build() { - cd ${srcdir}/${pkgname}-${pkgver} - patch -p1 ../a2ps-4.13c-fnmatch-replacement.patch - patch -p1 ../a2ps-4.13c-emacs.patch - patch -p1 ../a2ps-4.13-manpage-chmod.patch - patch -p1 ../a2ps-4.14-check-mempcpy.patch - patch -p0 ../a2ps-4.14-fix-stpcpy-proto.patch + cd ${pkgname}-${pkgver} libtoolize --force --copy - autoreconf -I m4 + autoreconf --force --install -I m4 ./configure --prefix=/usr --sysconfdir=/etc/a2ps \ --includedir=/usr/include --enable-nls make } package() { - cd ${srcdir}/${pkgname}-${pkgver} + cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} install - sed -i s:^countdictstack: \0: ${pkgdir}/usr/bin/psset }
[arch-commits] Commit in a2ps/trunk (PKGBUILD)
Date: Sunday, May 8, 2011 @ 22:11:04 Author: eric Revision: 123160 upgpkg: a2ps 4.14-2 Rebuilt with latest toolchain, Removed a2ps-lprng replaces/provides Modified: a2ps/trunk/PKGBUILD --+ PKGBUILD | 58 +++--- 1 file changed, 31 insertions(+), 27 deletions(-) Modified: PKGBUILD === --- PKGBUILD2011-05-09 00:53:50 UTC (rev 123159) +++ PKGBUILD2011-05-09 02:11:04 UTC (rev 123160) @@ -1,46 +1,50 @@ # $Id$ -# Maintainer: Eric Belanger e...@archlinux.org -# Contributor: Sarah Hay sarah...@mb.sympatico.ca +# Maintainer: Eric Bélanger e...@archlinux.org pkgname=a2ps pkgver=4.14 -pkgrel=1 -pkgdesc=a2ps is an Any to PostScript filter +pkgrel=2 +pkgdesc=An Any to PostScript filter arch=('i686' 'x86_64') url=http://www.gnu.org/software/a2ps/; license=('GPL3') depends=('ghostscript' 'psutils' 'imagemagick' 'perl') makedepends=('gperf') -replaces=('a2ps-lprng') -provides=('a2ps-lprng') backup=('etc/a2ps/a2ps.cfg' 'etc/a2ps/a2ps-site.cfg') options=('!libtool') install=a2ps.install source=(ftp://ftp.gnu.org/gnu/a2ps/${pkgname}-${pkgver}.tar.gz \ a2ps-4.13c-fnmatch-replacement.patch a2ps-4.13c-emacs.patch a2ps-4.13-manpage-chmod.patch \ a2ps-4.14-check-mempcpy.patch a2ps-4.14-fix-stpcpy-proto.patch) -md5sums=('781ac3d9b213fa3e1ed0d79f986dc8c7' '93011b58e9f20a7fafa31287a51884a4'\ - '2e493d0bc00d71eb3e8a9b6febc52b69' '09cc5ed4d3d8ff1b2103e519191e8286'\ - '42aa39b74f6da8cf6e94185c4fc3e601' '066f9327fee6b6eca3a57d657d1097d1') -sha1sums=('365abbbe4b7128bf70dad16d06e23c5701874852' '8783952d3410d8d59ed953e1db45e2ef1a0b8f65'\ - '94e35a6ad9268161bec22a56d4cfb696d635994a' '2bb3d0a2ef2f3ff9262723e35c742a80ab0235ce'\ - '6aed29c1399e79f3914b408059610f9e7c0fc38e' '58fa90134f1027e3f05aeb08212cbcc10f420738') +md5sums=('781ac3d9b213fa3e1ed0d79f986dc8c7' + '93011b58e9f20a7fafa31287a51884a4' + '2e493d0bc00d71eb3e8a9b6febc52b69' + '09cc5ed4d3d8ff1b2103e519191e8286' + '42aa39b74f6da8cf6e94185c4fc3e601' + '066f9327fee6b6eca3a57d657d1097d1') +sha1sums=('365abbbe4b7128bf70dad16d06e23c5701874852' + '8783952d3410d8d59ed953e1db45e2ef1a0b8f65' + '94e35a6ad9268161bec22a56d4cfb696d635994a' + '2bb3d0a2ef2f3ff9262723e35c742a80ab0235ce' + '6aed29c1399e79f3914b408059610f9e7c0fc38e' + '58fa90134f1027e3f05aeb08212cbcc10f420738') build() { - cd ${srcdir}/${pkgname}-${pkgver} - patch -p1 ../a2ps-4.13c-fnmatch-replacement.patch || return 1 - patch -p1 ../a2ps-4.13c-emacs.patch || return 1 - patch -p1 ../a2ps-4.13-manpage-chmod.patch || return 1 - patch -p1 ../a2ps-4.14-check-mempcpy.patch || return 1 - patch -p0 ../a2ps-4.14-fix-stpcpy-proto.patch || return 1 - libtoolize --force --copy || return 1 - autoreconf -I m4 || return 1 + cd ${srcdir}/${pkgname}-${pkgver} + patch -p1 ../a2ps-4.13c-fnmatch-replacement.patch + patch -p1 ../a2ps-4.13c-emacs.patch + patch -p1 ../a2ps-4.13-manpage-chmod.patch + patch -p1 ../a2ps-4.14-check-mempcpy.patch + patch -p0 ../a2ps-4.14-fix-stpcpy-proto.patch + libtoolize --force --copy + autoreconf -I m4 ./configure --prefix=/usr --sysconfdir=/etc/a2ps \ - --includedir=/usr/include --enable-nls || return 1 - export LANG=C - make || return 1 - make DESTDIR=${pkgdir} install || return 1 - sed -i s:^countdictstack: \0: ${pkgdir}/usr/bin/psset || return 1 - rm ${pkgdir}/usr/share/info/dir - gzip ${pkgdir}/usr/share/info/* +--includedir=/usr/include --enable-nls + make } + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR=${pkgdir} install + sed -i s:^countdictstack: \0: ${pkgdir}/usr/bin/psset +}