[arch-commits] Commit in patch/trunk (PKGBUILD)

2019-11-13 Thread Evangelos Foutras via arch-commits
Date: Wednesday, November 13, 2019 @ 17:48:27
  Author: foutrelis
Revision: 368408

[core] mass rebuild

Modified:
  patch/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-11-13 17:48:22 UTC (rev 368407)
+++ PKGBUILD2019-11-13 17:48:27 UTC (rev 368408)
@@ -5,7 +5,7 @@
 
 pkgname=patch
 pkgver=2.7.6
-pkgrel=8
+pkgrel=9
 pkgdesc='A utility to apply patch files to original sources'
 arch=('x86_64')
 url='https://www.gnu.org/software/patch/'


[arch-commits] Commit in patch/trunk (PKGBUILD)

2019-11-12 Thread Allan McRae via arch-commits
Date: Wednesday, November 13, 2019 @ 00:08:04
  Author: allan
Revision: 368033

upgpkg: patch 2.7.6-8

rebuild with makepkg-5.2 for reproducibile build effort

Modified:
  patch/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-11-12 23:52:20 UTC (rev 368032)
+++ PKGBUILD2019-11-13 00:08:04 UTC (rev 368033)
@@ -5,7 +5,7 @@
 
 pkgname=patch
 pkgver=2.7.6
-pkgrel=7
+pkgrel=8
 pkgdesc='A utility to apply patch files to original sources'
 arch=('x86_64')
 url='https://www.gnu.org/software/patch/'


[arch-commits] Commit in patch/trunk (PKGBUILD)

2018-11-13 Thread Levente Polyak via arch-commits
Date: Tuesday, November 13, 2018 @ 23:13:41
  Author: anthraxx
Revision: 339660

patch: respect source prefixes when applying patches

Modified:
  patch/trunk/PKGBUILD

--+
 PKGBUILD |   14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-11-13 23:06:14 UTC (rev 339659)
+++ PKGBUILD2018-11-13 23:13:41 UTC (rev 339660)
@@ -34,14 +34,14 @@
 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
+  local src
+  for src in "${source[@]}"; do
+src="${src%%::*}"
+src="${src##*/}"
+[[ $src = *.patch ]] || continue
+msg2 "Applying patch $src..."
+patch -Np1 < "../$src"
   done
-  :
 }
 
 build() {


[arch-commits] Commit in patch/trunk (PKGBUILD)

2018-11-09 Thread Jelle van der Waa via arch-commits
Date: Saturday, November 10, 2018 @ 00:07:49
  Author: jelle
Revision: 338836

upgpkg: patch 2.7.6-5

Fix CVE's for real now

Modified:
  patch/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-11-10 00:03:35 UTC (rev 338835)
+++ PKGBUILD2018-11-10 00:07:49 UTC (rev 338836)
@@ -4,7 +4,7 @@
 
 pkgname=patch
 pkgver=2.7.6
-pkgrel=4
+pkgrel=5
 pkgdesc='A utility to apply patch files to original sources'
 arch=('x86_64')
 url='https://www.gnu.org/software/patch/'


[arch-commits] Commit in patch/trunk (PKGBUILD)

2018-09-25 Thread Jelle van der Waa via arch-commits
Date: Tuesday, September 25, 2018 @ 20:26:01
  Author: jelle
Revision: 335384

upgpkg: patch 2.7.6-3

Fix FS#57526, patch patch for security issues.

Modified:
  patch/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-09-25 20:25:55 UTC (rev 335383)
+++ PKGBUILD2018-09-25 20:26:01 UTC (rev 335384)
@@ -4,7 +4,7 @@
 
 pkgname=patch
 pkgver=2.7.6
-pkgrel=2
+pkgrel=3
 pkgdesc='A utility to apply patch files to original sources'
 arch=('x86_64')
 url='https://www.gnu.org/software/patch/'


[arch-commits] Commit in patch/trunk (PKGBUILD)

2018-02-10 Thread Sébastien Luttringer via arch-commits
Date: Saturday, February 10, 2018 @ 13:44:18
  Author: seblu
Revision: 316582

upgpkg: patch 2.7.6-1

Modified:
  patch/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-02-10 12:00:52 UTC (rev 316581)
+++ PKGBUILD2018-02-10 13:44:18 UTC (rev 316582)
@@ -4,7 +4,7 @@
 # Contributor: judd 
 
 pkgname=patch
-pkgver=2.7.5
+pkgver=2.7.6
 pkgrel=1
 pkgdesc='A utility to apply patch files to original sources'
 arch=('x86_64')
@@ -14,9 +14,9 @@
 depends=('glibc' 'attr')
 makedepends=('ed')
 optdepends=('ed: for patch -e functionality')
-validpgpkeys=('7768CE4B75E5236F1A374CEEC4C927CD5D1B36D7') # Andreas Gruenbacher
+validpgpkeys=('259B3792B3D6D319212CC4DCD5BF9FEB0313653A') # Andreas Gruenbacher
 source=("https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig})
-md5sums=('e3da7940431633fb65a01b91d3b7a27a'
+md5sums=('78ad9937e4caadcba1526ef1853730d5'
  'SKIP')
 
 prepare() {


[arch-commits] Commit in patch/trunk (PKGBUILD)

2015-03-09 Thread Sébastien Luttringer
Date: Monday, March 9, 2015 @ 14:48:49
  Author: seblu
Revision: 233129

upgpkg: patch 2.7.5-1

Modified:
  patch/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-03-09 11:59:47 UTC (rev 233128)
+++ PKGBUILD2015-03-09 13:48:49 UTC (rev 233129)
@@ -4,7 +4,7 @@
 # Contributor: judd jvi...@zeroflux.org
 
 pkgname=patch
-pkgver=2.7.4
+pkgver=2.7.5
 pkgrel=1
 pkgdesc='A utility to apply patch files to original sources'
 arch=('i686' 'x86_64')
@@ -16,7 +16,7 @@
 optdepends=('ed: for patch -e functionality')
 validpgpkeys=('7768CE4B75E5236F1A374CEEC4C927CD5D1B36D7') # Andreas Gruenbacher
 source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz{,.sig})
-md5sums=('abc59498fc44e0d07764aa105fd2'
+md5sums=('e3da7940431633fb65a01b91d3b7a27a'
  'SKIP')
 
 #prepare() {


[arch-commits] Commit in patch/trunk (PKGBUILD)

2015-01-31 Thread Sébastien Luttringer
Date: Sunday, February 1, 2015 @ 00:58:22
  Author: seblu
Revision: 230341

upgpkg: patch 2.7.4-1

Modified:
  patch/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-01-31 20:42:53 UTC (rev 230340)
+++ PKGBUILD2015-01-31 23:58:22 UTC (rev 230341)
@@ -4,7 +4,7 @@
 # Contributor: judd jvi...@zeroflux.org
 
 pkgname=patch
-pkgver=2.7.3
+pkgver=2.7.4
 pkgrel=1
 pkgdesc='A utility to apply patch files to original sources'
 arch=('i686' 'x86_64')
@@ -16,7 +16,7 @@
 optdepends=('ed: for patch -e functionality')
 validpgpkeys=('7768CE4B75E5236F1A374CEEC4C927CD5D1B36D7') # Andreas Gruenbacher
 source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz{,.sig})
-md5sums=('29b87be845e4662ab0ca0d48a805ecc6'
+md5sums=('abc59498fc44e0d07764aa105fd2'
  'SKIP')
 
 #prepare() {


[arch-commits] Commit in patch/trunk (PKGBUILD)

2014-07-01 Thread Sébastien Luttringer
Date: Tuesday, July 1, 2014 @ 21:15:27
  Author: seblu
Revision: 216173

upgpkg: patch 2.7.1-3

- https://www.archlinux.org/todo/mtree-rebuilds/

Modified:
  patch/trunk/PKGBUILD

--+
 PKGBUILD |   35 +++
 1 file changed, 19 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-07-01 19:10:11 UTC (rev 216172)
+++ PKGBUILD2014-07-01 19:15:27 UTC (rev 216173)
@@ -1,43 +1,46 @@
 # $Id$
-# Maintainer: Allan McRae al...@archlinux.org
+# Maintainer: Sébastien Luttringer se...@archlinux.org
+# Contributor: Allan McRae al...@archlinux.org
 # Contributor: judd jvi...@zeroflux.org
 
 pkgname=patch
 pkgver=2.7.1
-pkgrel=2
-pkgdesc=A utility to apply patch files to original sources
+pkgrel=3
+pkgdesc='A utility to apply patch files to original sources'
 arch=('i686' 'x86_64')
-url=http://www.gnu.org/software/patch/patch.html;
+url='http://www.gnu.org/software/patch/patch.html'
 license=('GPL')
 groups=('base-devel')
-depends=('glibc')
+depends=('glibc' 'attr')
 makedepends=('ed')
 optdepends=('ed: for patch -e functionality')
-source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz{,.sig}
-patch-2.7.1-initialize-data-structures-early-enough.patch)
+source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz{,.sig}
+'patch-2.7.1-initialize-data-structures-early-enough.patch')
 md5sums=('e9ae5393426d3ad783a300a338c09b72'
- 'b12189e0de3cb2af25268441647ec517'
+ 'SKIP'
  'dc6367a7cd49933d4006c246789e98da')
 
-build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-
+prepare() {
   # Fix segfault on non-numeric strip-count
   # (also segfaults on nonexistent directory passed to -d)
   # http://savannah.gnu.org/bugs/?37500
-  patch -Np1 -i \
-$srcdir/patch-2.7.1-initialize-data-structures-early-enough.patch
+  patch -Np1 -d $pkgname-$pkgver  
patch-2.7.1-initialize-data-structures-early-enough.patch
+}
 
+build() {
+  cd $pkgname-$pkgver
   ./configure --prefix=/usr
   make
 }
 
 check() {
-  cd ${srcdir}/${pkgname}-${pkgver}
+  cd $pkgname-$pkgver
   make check
 }
 
 package() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  make DESTDIR=$pkgdir install
+  cd $pkgname-$pkgver
+  make DESTDIR=$pkgdir install
 }
+
+# vim:set ts=2 sw=2 et:



[arch-commits] Commit in patch/trunk (PKGBUILD)

2012-09-28 Thread Allan McRae
Date: Friday, September 28, 2012 @ 19:01:33
  Author: allan
Revision: 167232

upgpkg: patch 2.7.1-1

upstream update

Modified:
  patch/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-09-28 20:06:45 UTC (rev 167231)
+++ PKGBUILD2012-09-28 23:01:33 UTC (rev 167232)
@@ -3,7 +3,7 @@
 # Contributor: judd jvi...@zeroflux.org
 
 pkgname=patch
-pkgver=2.7
+pkgver=2.7.1
 pkgrel=1
 pkgdesc=A utility to apply patch files to original sources
 arch=('i686' 'x86_64')
@@ -14,8 +14,8 @@
 makedepends=('ed')
 optdepends=('ed: for patch -e functionality')
 source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz{,.sig})
-md5sums=('d443f9d9a7d1bf1715831883917699d9'
- '874fb55b72bc5c3c44794645b04e69a9')
+md5sums=('e9ae5393426d3ad783a300a338c09b72'
+ 'b12189e0de3cb2af25268441647ec517')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}



[arch-commits] Commit in patch/trunk (PKGBUILD)

2012-09-12 Thread Allan McRae
Date: Thursday, September 13, 2012 @ 00:52:43
  Author: allan
Revision: 166612

upgpkg: patch 2.7-1

upstream update

Modified:
  patch/trunk/PKGBUILD

--+
 PKGBUILD |   22 --
 1 file changed, 8 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-09-13 04:24:27 UTC (rev 166611)
+++ PKGBUILD2012-09-13 04:52:43 UTC (rev 166612)
@@ -3,8 +3,8 @@
 # Contributor: judd jvi...@zeroflux.org
 
 pkgname=patch
-pkgver=2.6.1
-pkgrel=3
+pkgver=2.7
+pkgrel=1
 pkgdesc=A utility to apply patch files to original sources
 arch=('i686' 'x86_64')
 url=http://www.gnu.org/software/patch/patch.html;
@@ -12,20 +12,14 @@
 groups=('base-devel')
 depends=('glibc')
 makedepends=('ed')
-optdepends=('ed: Interpret the patch as an ed script; for patch -e 
functionality(deprecated)')
-source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.sig}
-patch-2.6.1-get-arg.patch)
-md5sums=('d758eb96d3f75047efc004a720d33daf'
- 'f7953f3e472fae5118815e6138372e22'
- '45cd5709adbbcdcb3ab95dc43559c07c')
+optdepends=('ed: for patch -e functionality')
+source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz{,.sig})
+md5sums=('d443f9d9a7d1bf1715831883917699d9'
+ '874fb55b72bc5c3c44794645b04e69a9')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
-
-  # Fixed argument type for --get
-  # see https://bugzilla.redhat.com/show_bug.cgi?id=553624
-  patch -Np1 -i $srcdir/patch-2.6.1-get-arg.patch
-  ./configure --prefix=/usr --mandir=/usr/share/man
+  ./configure --prefix=/usr
   make
 }
 
@@ -36,5 +30,5 @@
 
 package() {
   cd ${srcdir}/${pkgname}-${pkgver}
-  make prefix=${pkgdir}/usr mandir=${pkgdir}/usr/share/man install
+  make DESTDIR=$pkgdir install
 }



[arch-commits] Commit in patch/trunk (PKGBUILD)

2011-11-03 Thread Allan McRae
Date: Thursday, November 3, 2011 @ 08:03:37
  Author: allan
Revision: 141944

signing rebuild

Modified:
  patch/trunk/PKGBUILD

--+
 PKGBUILD |   21 +++--
 1 file changed, 15 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-11-03 11:43:21 UTC (rev 141943)
+++ PKGBUILD2011-11-03 12:03:37 UTC (rev 141944)
@@ -4,28 +4,37 @@
 
 pkgname=patch
 pkgver=2.6.1
-pkgrel=2
+pkgrel=3
 pkgdesc=A utility to apply patch files to original sources
 arch=('i686' 'x86_64')
 url=http://www.gnu.org/software/patch/patch.html;
 license=('GPL')
 groups=('base-devel')
 depends=('glibc')
+makedepends=('ed')
 optdepends=('ed: Interpret the patch as an ed script; for patch -e 
functionality(deprecated)')
-source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz 
patch-2.6.1-get-arg.patch)
-md5sums=('d758eb96d3f75047efc004a720d33daf' '45cd5709adbbcdcb3ab95dc43559c07c')
+source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.sig}
+patch-2.6.1-get-arg.patch)
+md5sums=('d758eb96d3f75047efc004a720d33daf'
+ 'f7953f3e472fae5118815e6138372e22'
+ '45cd5709adbbcdcb3ab95dc43559c07c')
 
 build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
+  cd ${srcdir}/${pkgname}-${pkgver}
 
   # Fixed argument type for --get
   # see https://bugzilla.redhat.com/show_bug.cgi?id=553624
-  patch -Np1 -i ../patch-2.6.1-get-arg.patch
+  patch -Np1 -i $srcdir/patch-2.6.1-get-arg.patch
   ./configure --prefix=/usr --mandir=/usr/share/man
   make
 }
 
+check() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make check
+}
+
 package() {
-  cd ${srcdir}/${pkgname}-${pkgver}
+  cd ${srcdir}/${pkgname}-${pkgver}
   make prefix=${pkgdir}/usr mandir=${pkgdir}/usr/share/man install
 }



[arch-commits] Commit in patch/trunk (PKGBUILD)

2010-01-12 Thread Allan McRae
Date: Tuesday, January 12, 2010 @ 20:57:24
  Author: allan
Revision: 62841

upgpkg: patch 2.6.1-1
upstream update

Modified:
  patch/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2010-01-12 23:29:09 UTC (rev 62840)
+++ PKGBUILD2010-01-13 01:57:24 UTC (rev 62841)
@@ -3,7 +3,7 @@
 # Contributor: judd jvi...@zeroflux.org
 
 pkgname=patch
-pkgver=2.6
+pkgver=2.6.1
 pkgrel=1
 pkgdesc=A utility to apply patch files to original sources
 arch=('i686' 'x86_64')
@@ -13,7 +13,7 @@
 depends=('glibc')
 optdepends=('ed: Interpret the patch as an ed script; for patch -e 
functionality(deprecated)')
 source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz)
-md5sums=('bc71d33c35004db3768465bcaf9ed23c')
+md5sums=('d758eb96d3f75047efc004a720d33daf')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}



[arch-commits] Commit in patch/trunk (PKGBUILD)

2009-11-19 Thread Allan McRae
Date: Friday, November 20, 2009 @ 00:21:43
  Author: allan
Revision: 59065

upgpkg: patch 2.6-1
upstream update

Modified:
  patch/trunk/PKGBUILD

--+
 PKGBUILD |   11 +--
 1 file changed, 5 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2009-11-20 04:37:16 UTC (rev 59064)
+++ PKGBUILD2009-11-20 05:21:43 UTC (rev 59065)
@@ -1,10 +1,10 @@
 # $Id$
-# Maintainer: Andreas Radke andy...@archlinux.org
+# Maintainer: Allan McRae al...@archlinux.org
 # Contributor: judd jvi...@zeroflux.org
 
 pkgname=patch
-pkgver=2.5.9
-pkgrel=2
+pkgver=2.6
+pkgrel=1
 pkgdesc=A utility to apply patch files to original sources
 arch=('i686' 'x86_64')
 url=http://www.gnu.org/software/patch/patch.html;
@@ -12,9 +12,8 @@
 groups=('base-devel')
 depends=('glibc')
 optdepends=('ed: Interpret the patch as an ed script; for patch -e 
functionality(deprecated)')
-source=(ftp://alpha.gnu.org/gnu/diffutils/$pkgname-$pkgver.tar.gz)
-   #ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz)
-md5sums=('dacfb618082f8d3a2194601193cf8716')
+source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz)
+md5sums=('bc71d33c35004db3768465bcaf9ed23c')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}