[arch-commits] Commit in gzip/repos (10 files)

2016-05-25 Thread Sébastien Luttringer
Date: Thursday, May 26, 2016 @ 02:11:15
  Author: seblu
Revision: 268585

db-move: moved gzip from [testing] to [core] (i686, x86_64)

Added:
  gzip/repos/core-i686/PKGBUILD
(from rev 268584, gzip/repos/testing-i686/PKGBUILD)
  gzip/repos/core-x86_64/PKGBUILD
(from rev 268584, gzip/repos/testing-x86_64/PKGBUILD)
Deleted:
  gzip/repos/core-i686/01-fix-bug-with-l-output-to-pipes.patch
  gzip/repos/core-i686/PKGBUILD
  gzip/repos/core-i686/gzip.install
  gzip/repos/core-x86_64/01-fix-bug-with-l-output-to-pipes.patch
  gzip/repos/core-x86_64/PKGBUILD
  gzip/repos/core-x86_64/gzip.install
  gzip/repos/testing-i686/
  gzip/repos/testing-x86_64/

-+
 /PKGBUILD   |   96 ++
 core-i686/01-fix-bug-with-l-output-to-pipes.patch   |   45 
 core-i686/PKGBUILD  |   49 -
 core-i686/gzip.install  |   22 
 core-x86_64/01-fix-bug-with-l-output-to-pipes.patch |   45 
 core-x86_64/PKGBUILD|   49 -
 core-x86_64/gzip.install|   22 
 7 files changed, 96 insertions(+), 232 deletions(-)

Deleted: core-i686/01-fix-bug-with-l-output-to-pipes.patch
===
--- core-i686/01-fix-bug-with-l-output-to-pipes.patch   2016-05-26 00:11:13 UTC 
(rev 268584)
+++ core-i686/01-fix-bug-with-l-output-to-pipes.patch   2016-05-26 00:11:15 UTC 
(rev 268585)
@@ -1,45 +0,0 @@
-From 3557cd57906915eb9c990b5f386e25c395592643 Mon Sep 17 00:00:00 2001
-From: Paul Eggert 
-Date: Wed, 20 Apr 2016 00:43:09 +
-Subject: gzip: fix bug with -l output to pipes
-
-Problem reported by Christian Franke via Eric Blake in:
-http://bugs.gnu.org/23314
-* NEWS: Mention this.
-* gzip.c (main): Do not close stdout twice when given -l.
-Instead, -l now just fflushes stdout, so that fdatasync
-can synchronize it if --synchronize is also specified.
-* tests/list: New test case.
-* tests/Makefile.am (TESTS): Add it.

-diff --git a/gzip.c b/gzip.c
-index d66530a..3b8de4d 100644
 a/gzip.c
-+++ b/gzip.c
-@@ -664,14 +664,16 @@ int main (int argc, char **argv)
- } else {  /* Standard input */
- treat_stdin();
- }
--if (list && !quiet && file_count > 1) {
--do_list(-1, -1); /* print totals */
--}
--if (to_stdout
--&& ((synchronous
-- && (fdatasync (STDOUT_FILENO) != 0 && errno != EINVAL))
--|| close (STDOUT_FILENO) != 0)
--&& errno != EBADF)
-+if (list)
-+  {
-+/* Output any totals, and check for output errors.  */
-+if (!quiet && 1 < file_count)
-+  do_list (-1, -1);
-+if (fflush (stdout) != 0)
-+  write_error ();
-+  }
-+if (to_stdout && synchronous && fdatasync (STDOUT_FILENO) != 0
-+&& errno != EINVAL && errno != EBADF)
-   write_error ();
- do_exit(exit_code);
- return exit_code; /* just to avoid lint warning */
---
-cgit v0.9.0.2

Deleted: core-i686/PKGBUILD
===
--- core-i686/PKGBUILD  2016-05-26 00:11:13 UTC (rev 268584)
+++ core-i686/PKGBUILD  2016-05-26 00:11:15 UTC (rev 268585)
@@ -1,49 +0,0 @@
-# $Id$
-# Mainainer: Sébastien "Seblu" Luttringer 
-# Contributor: Allan McRae 
-# Contributor: judd 
-
-pkgname=gzip
-pkgver=1.8
-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
-validpgpkeys=('155D3FC500C834486D1EEA677FD9FCCB000B') # Jim Meyering
-source=("ftp://ftp.gnu.org/pub/gnu/gzip/gzip-$pkgver.tar.xz"{,.sig})
-md5sums=('f7caabb65cddc1a4165b398009bd05b9'
- 'SKIP')
-prepare() {
-  cd $pkgname-$pkgver
-  # apply patch from the source array (should be a pacman feature)
-  local filename
-  for filename in "${source[@]}"; do
-if [[ "$filename" =~ \.patch$ ]]; then
-  msg2 "Applying patch $filename"
-  patch -p1 -N -i "$srcdir/$filename"
-fi
-  done
-  :
-}
-
-build() {
-  cd $pkgname-$pkgver
-  ./configure --prefix=/usr
-  make
-}
-
-check() {
-  cd $pkgname-$pkgver
-  make check
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make prefix="$pkgdir/usr" install
-}
-
-# vim:set ts=2 sw=2 et:

Copied: gzip/repos/core-i686/PKGBUILD (from rev 268584, 
gzip/repos/testing-i686/PKGBUILD)
===
--- core-i686/PKGBUILD  (rev 0)
+++ core-i686/PKGBUILD  2016-05-26 00:11:15 UTC (rev 268585)
@@ -0,0 +1,48 @@
+# $Id$
+# Mainainer: Sébastien "Seblu" Luttringer 
+# Contributor: Allan McRae 
+# Contributor: judd 
+
+pkgname=gzip
+pkgver=1.8
+pkgrel=2
+pkgdesc='GNU compression utility'
+arch=('i686' 'x86_64')
+url='http://www.gnu.org/software/gzip/'
+license=('GPL3')
+groups=(

[arch-commits] Commit in gzip/repos (10 files)

2012-06-19 Thread Allan McRae
Date: Tuesday, June 19, 2012 @ 11:43:54
  Author: allan
Revision: 162088

db-move: moved gzip from [testing] to [core] ( i686,  x86_64)

Added:
  gzip/repos/core-i686/PKGBUILD
(from rev 162087, gzip/repos/testing-i686/PKGBUILD)
  gzip/repos/core-i686/gzip.install
(from rev 162087, gzip/repos/testing-i686/gzip.install)
  gzip/repos/core-x86_64/PKGBUILD
(from rev 162087, gzip/repos/testing-x86_64/PKGBUILD)
  gzip/repos/core-x86_64/gzip.install
(from rev 162087, gzip/repos/testing-x86_64/gzip.install)
Deleted:
  gzip/repos/core-i686/PKGBUILD
  gzip/repos/core-i686/gzip.install
  gzip/repos/core-x86_64/PKGBUILD
  gzip/repos/core-x86_64/gzip.install
  gzip/repos/testing-i686/
  gzip/repos/testing-x86_64/

--+
 core-i686/PKGBUILD   |   76 +++--
 core-i686/gzip.install   |   35 
 core-x86_64/PKGBUILD |   76 +++--
 core-x86_64/gzip.install |   35 
 4 files changed, 96 insertions(+), 126 deletions(-)

Deleted: core-i686/PKGBUILD
===
--- core-i686/PKGBUILD  2012-06-19 15:29:24 UTC (rev 162087)
+++ core-i686/PKGBUILD  2012-06-19 15:43:54 UTC (rev 162088)
@@ -1,43 +0,0 @@
-# $Id$
-# Maintainer: Allan McRae 
-# Contributor: judd 
-
-pkgname=gzip
-pkgver=1.4
-pkgrel=4
-pkgdesc="GNU compression utility"
-arch=('i686' 'x86_64')
-url="http://www.gnu.org/software/gzip/";
-license=('GPL3')
-groups=('base')
-depends=('glibc' 'bash')
-makedepends=('patch')
-install=gzip.install
-source=(ftp://ftp.gnu.org/pub/gnu/gzip/gzip-$pkgver.tar.gz{,.sig})
-md5sums=('e381b8506210c794278f5527cba0e765'
- '3b11d485d1638f2d16f7494a0486a6e8')
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-   # By default Gzip uses assembly code. While this may preform better, 
-   # it is not position independent. The DEFS environment variable is 
-   # set to use only C code.
-   export DEFS="NO_ASM"
-  ./configure --prefix=/usr
-  make 
-}
-
-check() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  make check
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  make prefix=${pkgdir}/usr install
-
-  install -dm755 ${pkgdir}/bin
-  mv ${pkgdir}/usr/bin/{gunzip,gzip,uncompress,zcat} ${pkgdir}/bin/
-}

Copied: gzip/repos/core-i686/PKGBUILD (from rev 162087, 
gzip/repos/testing-i686/PKGBUILD)
===
--- core-i686/PKGBUILD  (rev 0)
+++ core-i686/PKGBUILD  2012-06-19 15:43:54 UTC (rev 162088)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Allan McRae 
+# Contributor: judd 
+
+pkgname=gzip
+pkgver=1.5
+pkgrel=1
+pkgdesc="GNU compression utility"
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/gzip/";
+license=('GPL3')
+groups=('base')
+depends=('glibc' 'bash')
+install=gzip.install
+source=(ftp://ftp.gnu.org/pub/gnu/gzip/gzip-$pkgver.tar.xz{,.sig})
+md5sums=('2a431e169b6f62f7332ef6d47cc53bae'
+ '2de95937a3f65137acf9c55d4ad0447a')
+
+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
+}

Deleted: core-i686/gzip.install
===
--- core-i686/gzip.install  2012-06-19 15:29:24 UTC (rev 162087)
+++ core-i686/gzip.install  2012-06-19 15:43:54 UTC (rev 162088)
@@ -1,20 +0,0 @@
-infodir=usr/share/info
-filelist=(gzip.info)
-
-post_install() {
- [ -x usr/bin/install-info ] || return 0
- for file in ${filelist[@]}; do
-usr/bin/install-info $infodir/$file.gz $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
-usr/bin/install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
-  done
-}

Copied: gzip/repos/core-i686/gzip.install (from rev 162087, 
gzip/repos/testing-i686/gzip.install)
===
--- core-i686/gzip.install  (rev 0)
+++ core-i686/gzip.install  2012-06-19 15:43:54 UTC (rev 162088)
@@ -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
+}

Deleted: core-x86_64/PKGBUILD
===
--- core-x86_64/PKGBUILD2012-06-19 15:29:24 UTC (rev 162087)
+++ core-x86_64/PKGBUILD2012-06-19 15:43:54 UTC (rev 162088)
@@ -1,43 +0,0 @@
-# $Id$
-# Maintainer: Allan McRae 
-# Contribut