[arch-commits] Commit in libarchive/repos (3 files)
Christian Hesse
eworm at gemini.archlinux.org
Mon Dec 20 21:00:09 UTC 2021
Date: Monday, December 20, 2021 @ 21:00:09
Author: eworm
Revision: 432834
archrelease: copy trunk to testing-x86_64
Added:
libarchive/repos/testing-x86_64/
libarchive/repos/testing-x86_64/0001-unescape-when-extracting-link.patch
(from rev 432833, libarchive/trunk/0001-unescape-when-extracting-link.patch)
libarchive/repos/testing-x86_64/PKGBUILD
(from rev 432833, libarchive/trunk/PKGBUILD)
------------------------------------------+
0001-unescape-when-extracting-link.patch | 10 ++++++
PKGBUILD | 47 +++++++++++++++++++++++++++++
2 files changed, 57 insertions(+)
Copied: libarchive/repos/testing-x86_64/0001-unescape-when-extracting-link.patch (from rev 432833, libarchive/trunk/0001-unescape-when-extracting-link.patch)
===================================================================
--- testing-x86_64/0001-unescape-when-extracting-link.patch (rev 0)
+++ testing-x86_64/0001-unescape-when-extracting-link.patch 2021-12-20 21:00:09 UTC (rev 432834)
@@ -0,0 +1,10 @@
+--- a/libarchive/archive_read_support_format_mtree.c
++++ b/libarchive/archive_read_support_format_mtree.c
+@@ -1675,6 +1675,7 @@ parse_keyword(struct archive_read *a, struct mtree *mtree,
+ break;
+ case 'l':
+ if (strcmp(key, "link") == 0) {
++ parse_escapes(val, NULL);
+ archive_entry_copy_symlink(entry, val);
+ return (ARCHIVE_OK);
+ }
Copied: libarchive/repos/testing-x86_64/PKGBUILD (from rev 432833, libarchive/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2021-12-20 21:00:09 UTC (rev 432834)
@@ -0,0 +1,47 @@
+# Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Maintainer: Dan McGee <dan at archlinux.org>
+
+pkgname=libarchive
+pkgver=3.5.2
+pkgrel=2
+pkgdesc='Multi-format archive and compression library'
+arch=('x86_64')
+url='https://libarchive.org/'
+license=('BSD')
+depends=('acl' 'libacl.so' 'bzip2' 'expat' 'lz4' 'openssl' 'xz' 'zlib' 'zstd')
+provides=('libarchive.so')
+validpgpkeys=('A5A45B12AD92D964B89EEE2DEC560C81CEC2276E') # Martin Matuska <mm at FreeBSD.org>
+source=("https://github.com/${pkgname}/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz"{,.asc}
+ '0001-unescape-when-extracting-link.patch')
+sha256sums=('f0b19ff39c3c9a5898a219497ababbadab99d8178acc980155c7e1271089b5a0'
+ 'SKIP'
+ '4872d9b6db95a3d7ecaced31bd3d7dffff3db4f5b2524b45cde157374e0ceb80')
+
+prepare() {
+ cd $pkgname-$pkgver
+
+ patch -Np1 < ../0001-unescape-when-extracting-link.patch
+}
+
+build() {
+ cd $pkgname-$pkgver
+
+ ./configure \
+ --prefix=/usr \
+ --without-xml2 \
+ --without-nettle \
+ --disable-static
+
+ make
+}
+
+check() {
+ cd $pkgname-$pkgver
+ make check
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+ install -Dm0644 COPYING "$pkgdir/usr/share/licenses/libarchive/COPYING"
+}
More information about the arch-commits
mailing list