From 084d0a37c8d0f1a991ce22ccc6d8c3dd8ca12a33 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 26 Dec 2012 22:14:47 -0500 Subject: (scripted) fix file permission breakage introduced in commit d62bd1 I did this with this command: git diff d62bd1^..d62bd1 | egrep '^old mode ' -C1 \ | tr '\n' ' ' | sed 's/diff --git/\n&/g' \ | sed -r 's|^diff --git a/([^ ]*) b/([^ ]*) old mode 100([0-9]*) new mode 100([0-9]*)|chmod \3 ./\1|' \ | bash The first line finds all of the file-permission changes in the commit. The second line squashes some newlines to get one line per file. This line is in the format: diff --git a/FILE b/FILE old mode OLDMODE new mode NEWMODE The third line extracts the values from those lines and transforms the line into: chmod FILE ./OLDMODE The fourth line (obviously) just executes the output. --- libre/unzip-libre/PKGBUILD | 0 libre/unzip-libre/SRCBUILD | 0 libre/unzip-libre/match.patch | 0 3 files changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 libre/unzip-libre/PKGBUILD mode change 100755 => 100644 libre/unzip-libre/SRCBUILD mode change 100755 => 100644 libre/unzip-libre/match.patch (limited to 'libre/unzip-libre') diff --git a/libre/unzip-libre/PKGBUILD b/libre/unzip-libre/PKGBUILD old mode 100755 new mode 100644 diff --git a/libre/unzip-libre/SRCBUILD b/libre/unzip-libre/SRCBUILD old mode 100755 new mode 100644 diff --git a/libre/unzip-libre/match.patch b/libre/unzip-libre/match.patch old mode 100755 new mode 100644 -- cgit v1.2.3 From 16cd4e86a10dfd9728f2bed0650b1650e3676742 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Mon, 14 Jan 2013 17:33:46 -0200 Subject: unzip-libre-6.0-6: updating revision --- libre/unzip-libre/PKGBUILD | 25 +++++++++++++------------ libre/unzip-libre/SRCBUILD | 33 --------------------------------- 2 files changed, 13 insertions(+), 45 deletions(-) delete mode 100644 libre/unzip-libre/SRCBUILD (limited to 'libre/unzip-libre') diff --git a/libre/unzip-libre/PKGBUILD b/libre/unzip-libre/PKGBUILD index 20c3885f9..6b216573e 100644 --- a/libre/unzip-libre/PKGBUILD +++ b/libre/unzip-libre/PKGBUILD @@ -1,36 +1,42 @@ -# $Id: PKGBUILD 70615 2010-02-27 15:46:11Z thayer $ -# Maintainer: Thayer Williams +# $Id: PKGBUILD 150452 2012-02-17 23:21:23Z allan $ +# Maintainer: # Contributor: Douglas Soares de Andrade # Contributor: Robson Peixoto _pkgname=unzip pkgname=unzip-libre pkgver=6.0 -pkgrel=5 +pkgrel=6 pkgdesc="Unpacks .zip archives such as those made by PKZIP" -arch=('i686' 'x86_64') +arch=('any') url="http://www.info-zip.org/" license=('custom') depends=('bzip2' 'bash') provides=("${_pkgname}=${pkgver}") conflicts=("${_pkgname}") replaces=("${_pkgname}") -source=("https://repo.parabolagnulinux.org/other/${pkgname}-${pkgver}-${pkgrel}-any.src.tar.xz") - +source=('http://downloads.sourceforge.net/infozip/unzip60.tar.gz' + 'match.patch') +md5sums=('8e8a774e2006617d8787d095bb78c78a' + 'e6d9f0c204c2abe6a57dc5e1637d5140') build() { cd ${srcdir}/${_pkgname}${pkgver/./} + # from http://bzr.trisquel.info/package-helpers/trunk/annotate/head%3A/helpers/natty/DATA/unzip/match.patch + patch -Np0 -i ${srcdir}/match.patch + # set CFLAGS -- from Debian export CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64 -DACORN_FTYPE_NFS \ -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT \ -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD -DDATE_FORMAT=DF_YMD \ -DUSE_BZIP2 -DNATIVE" + sed -i "/MANDIR =/s#)/#)/share/#" unix/Makefile + # make -- from Debian make -f unix/Makefile LOCAL_UNZIP="$CFLAGS" prefix=/usr LF2="" \ D_USE_BZ2=-DUSE_BZIP2 L_BZ2=-lbz2 unzips - } package(){ @@ -41,10 +47,5 @@ package(){ # install the license file install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/unzip/LICENSE - - # fix manpage location - mkdir -p ${pkgdir}/usr/share - mv ${pkgdir}/usr/man ${pkgdir}/usr/share/ } -md5sums=('8e8a774e2006617d8787d095bb78c78a') diff --git a/libre/unzip-libre/SRCBUILD b/libre/unzip-libre/SRCBUILD deleted file mode 100644 index a9ada936b..000000000 --- a/libre/unzip-libre/SRCBUILD +++ /dev/null @@ -1,33 +0,0 @@ -# $Id: PKGBUILD 70615 2010-02-27 15:46:11Z thayer $ -# Maintainer: Thayer Williams -# Contributor: Douglas Soares de Andrade -# Contributor: Robson Peixoto - -_pkgname=unzip -pkgname=unzip-libre -pkgver=6.0 -pkgrel=5 -pkgdesc="Unpacks .zip archives such as those made by PKZIP" -arch=('any') -url="http://www.info-zip.org/" -license=('custom') -depends=('bzip2' 'bash') -source=('http://downloads.sourceforge.net/infozip/unzip60.tar.gz' -# from http://bzr.trisquel.info/package-helpers/trunk/annotate/head%3A/helpers/natty/DATA/unzip/match.patch - 'match.patch') -md5sums=('62b490407489521db863b523a7f86375' - 'e6d9f0c204c2abe6a57dc5e1637d5140') - -build() { - cd ${srcdir}/${_pkgname}${pkgver/./} - - patch -Np0 -i ${srcdir}/match.patch -} - -package() { - export PKGEXT=.src.tar.xz - export PKGDEST=${SRCDEST} - - mv ${srcdir}/${_pkgname}${pkgver/./} ${pkgdir}/ - -} -- cgit v1.2.3 From 0d76e2e2849471a8c34439b929a480c96e1e1410 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Mon, 14 Jan 2013 17:38:12 -0200 Subject: unzip-libre-6.0-6: revert changes on architecture line --- libre/unzip-libre/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libre/unzip-libre') diff --git a/libre/unzip-libre/PKGBUILD b/libre/unzip-libre/PKGBUILD index 6b216573e..eefbf67de 100644 --- a/libre/unzip-libre/PKGBUILD +++ b/libre/unzip-libre/PKGBUILD @@ -8,7 +8,7 @@ pkgname=unzip-libre pkgver=6.0 pkgrel=6 pkgdesc="Unpacks .zip archives such as those made by PKZIP" -arch=('any') +arch=('i686' 'x86_64') url="http://www.info-zip.org/" license=('custom') depends=('bzip2' 'bash') -- cgit v1.2.3 From ec5ad592366797a7d95cad6b12935401d987a74e Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Mon, 14 Jan 2013 17:40:49 -0200 Subject: unzip-libre-6.0-6: updating source code md5sum --- libre/unzip-libre/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libre/unzip-libre') diff --git a/libre/unzip-libre/PKGBUILD b/libre/unzip-libre/PKGBUILD index eefbf67de..020740313 100644 --- a/libre/unzip-libre/PKGBUILD +++ b/libre/unzip-libre/PKGBUILD @@ -17,7 +17,7 @@ conflicts=("${_pkgname}") replaces=("${_pkgname}") source=('http://downloads.sourceforge.net/infozip/unzip60.tar.gz' 'match.patch') -md5sums=('8e8a774e2006617d8787d095bb78c78a' +md5sums=('62b490407489521db863b523a7f86375' 'e6d9f0c204c2abe6a57dc5e1637d5140') build() { -- cgit v1.2.3