[arch-commits] Commit in gzip/repos (8 files)
Allan McRae
allan at nymeria.archlinux.org
Mon Jun 17 09:32:14 UTC 2013
Date: Monday, June 17, 2013 @ 11:32:14
Author: allan
Revision: 188635
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
gzip/repos/testing-i686/
gzip/repos/testing-i686/PKGBUILD
(from rev 188634, gzip/trunk/PKGBUILD)
gzip/repos/testing-i686/gzip-1.5-yesno-declaration.patch
(from rev 188634, gzip/trunk/gzip-1.5-yesno-declaration.patch)
gzip/repos/testing-i686/gzip.install
(from rev 188634, gzip/trunk/gzip.install)
gzip/repos/testing-x86_64/
gzip/repos/testing-x86_64/PKGBUILD
(from rev 188634, gzip/trunk/PKGBUILD)
gzip/repos/testing-x86_64/gzip-1.5-yesno-declaration.patch
(from rev 188634, gzip/trunk/gzip-1.5-yesno-declaration.patch)
gzip/repos/testing-x86_64/gzip.install
(from rev 188634, gzip/trunk/gzip.install)
-------------------------------------------------+
testing-i686/PKGBUILD | 33 ++++++++++++++++++++
testing-i686/gzip-1.5-yesno-declaration.patch | 36 ++++++++++++++++++++++
testing-i686/gzip.install | 15 +++++++++
testing-x86_64/PKGBUILD | 33 ++++++++++++++++++++
testing-x86_64/gzip-1.5-yesno-declaration.patch | 36 ++++++++++++++++++++++
testing-x86_64/gzip.install | 15 +++++++++
6 files changed, 168 insertions(+)
Copied: gzip/repos/testing-i686/PKGBUILD (from rev 188634, gzip/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2013-06-17 09:32:14 UTC (rev 188635)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Allan McRae <allan at archlinux.org>
+# Contributor: judd <jvinet at zeroflux.org>
+
+pkgname=gzip
+pkgver=1.6
+pkgrel=1
+pkgdesc="GNU compression utility"
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/gzip/"
+license=('GPL3')
+groups=('base' 'base-devel')
+depends=('glibc' 'bash' 'less')
+install=gzip.install
+source=(ftp://ftp.gnu.org/pub/gnu/gzip/gzip-$pkgver.tar.xz{,.sig})
+md5sums=('da981f86677d58a106496e68de6f8995'
+ 'SKIP')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make check
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make prefix=${pkgdir}/usr install
+}
Copied: gzip/repos/testing-i686/gzip-1.5-yesno-declaration.patch (from rev 188634, gzip/trunk/gzip-1.5-yesno-declaration.patch)
===================================================================
--- testing-i686/gzip-1.5-yesno-declaration.patch (rev 0)
+++ testing-i686/gzip-1.5-yesno-declaration.patch 2013-06-17 09:32:14 UTC (rev 188635)
@@ -0,0 +1,36 @@
+From e40a9b65ae95ed6face7ce1336905f0ab0a4992b Mon Sep 17 00:00:00 2001
+From: Paul Eggert <eggert at cs.ucla.edu>
+Date: Tue, 05 Feb 2013 21:37:40 +0000
+Subject: gzip: fix bug where you say "n" and gzip acts as if you said "y"
+
+Problem reported for GCC 4.7 x86-64 -O2 by Allan McRae in
+<http://lists.gnu.org/archive/html/bug-gzip/2013-02/msg00000.html>.
+* NEWS: Document this. Use consistent format in earlier note.
+* gzip.c: Include yesno.h.
+* gzip.h (yesno): Remove decl; that's yesno.h's job.
+---
+diff --git a/gzip.c b/gzip.c
+index b9b4d64..66529e0 100644
+--- a/gzip.c
++++ b/gzip.c
+@@ -74,6 +74,7 @@ static char const *const license_msg[] = {
+ #include "ignore-value.h"
+ #include "stat-time.h"
+ #include "version.h"
++#include "yesno.h"
+
+ /* configuration */
+
+diff --git a/gzip.h b/gzip.h
+index bf253d0..648073e 100644
+--- a/gzip.h
++++ b/gzip.h
+@@ -321,6 +321,3 @@ extern void fprint_off (FILE *, off_t, int);
+
+ /* in inflate.c */
+ extern int inflate (void);
+-
+- /* in yesno.c */
+-extern int yesno (void);
+--
+cgit v0.9.0.2
Copied: gzip/repos/testing-i686/gzip.install (from rev 188634, gzip/trunk/gzip.install)
===================================================================
--- testing-i686/gzip.install (rev 0)
+++ testing-i686/gzip.install 2013-06-17 09:32:14 UTC (rev 188635)
@@ -0,0 +1,15 @@
+infodir=usr/share/info
+
+post_install() {
+ [ -x usr/bin/install-info ] || return 0
+ usr/bin/install-info $infodir/gzip.info.gz $infodir/dir 2> /dev/null
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
+ usr/bin/install-info --delete $infodir/gzip.info.gz $infodir/dir 2> /dev/null
+}
Copied: gzip/repos/testing-x86_64/PKGBUILD (from rev 188634, gzip/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2013-06-17 09:32:14 UTC (rev 188635)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Allan McRae <allan at archlinux.org>
+# Contributor: judd <jvinet at zeroflux.org>
+
+pkgname=gzip
+pkgver=1.6
+pkgrel=1
+pkgdesc="GNU compression utility"
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/gzip/"
+license=('GPL3')
+groups=('base' 'base-devel')
+depends=('glibc' 'bash' 'less')
+install=gzip.install
+source=(ftp://ftp.gnu.org/pub/gnu/gzip/gzip-$pkgver.tar.xz{,.sig})
+md5sums=('da981f86677d58a106496e68de6f8995'
+ 'SKIP')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make check
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make prefix=${pkgdir}/usr install
+}
Copied: gzip/repos/testing-x86_64/gzip-1.5-yesno-declaration.patch (from rev 188634, gzip/trunk/gzip-1.5-yesno-declaration.patch)
===================================================================
--- testing-x86_64/gzip-1.5-yesno-declaration.patch (rev 0)
+++ testing-x86_64/gzip-1.5-yesno-declaration.patch 2013-06-17 09:32:14 UTC (rev 188635)
@@ -0,0 +1,36 @@
+From e40a9b65ae95ed6face7ce1336905f0ab0a4992b Mon Sep 17 00:00:00 2001
+From: Paul Eggert <eggert at cs.ucla.edu>
+Date: Tue, 05 Feb 2013 21:37:40 +0000
+Subject: gzip: fix bug where you say "n" and gzip acts as if you said "y"
+
+Problem reported for GCC 4.7 x86-64 -O2 by Allan McRae in
+<http://lists.gnu.org/archive/html/bug-gzip/2013-02/msg00000.html>.
+* NEWS: Document this. Use consistent format in earlier note.
+* gzip.c: Include yesno.h.
+* gzip.h (yesno): Remove decl; that's yesno.h's job.
+---
+diff --git a/gzip.c b/gzip.c
+index b9b4d64..66529e0 100644
+--- a/gzip.c
++++ b/gzip.c
+@@ -74,6 +74,7 @@ static char const *const license_msg[] = {
+ #include "ignore-value.h"
+ #include "stat-time.h"
+ #include "version.h"
++#include "yesno.h"
+
+ /* configuration */
+
+diff --git a/gzip.h b/gzip.h
+index bf253d0..648073e 100644
+--- a/gzip.h
++++ b/gzip.h
+@@ -321,6 +321,3 @@ extern void fprint_off (FILE *, off_t, int);
+
+ /* in inflate.c */
+ extern int inflate (void);
+-
+- /* in yesno.c */
+-extern int yesno (void);
+--
+cgit v0.9.0.2
Copied: gzip/repos/testing-x86_64/gzip.install (from rev 188634, gzip/trunk/gzip.install)
===================================================================
--- testing-x86_64/gzip.install (rev 0)
+++ testing-x86_64/gzip.install 2013-06-17 09:32:14 UTC (rev 188635)
@@ -0,0 +1,15 @@
+infodir=usr/share/info
+
+post_install() {
+ [ -x usr/bin/install-info ] || return 0
+ usr/bin/install-info $infodir/gzip.info.gz $infodir/dir 2> /dev/null
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
+ usr/bin/install-info --delete $infodir/gzip.info.gz $infodir/dir 2> /dev/null
+}
More information about the arch-commits
mailing list