Date: Sunday, March 26, 2023 @ 11:16:49
Author: dvzrv
Revision: 472050
archrelease: copy trunk to extra-x86_64
Added:
squashfs-tools/repos/extra-x86_64/PKGBUILD
(from rev 472049, squashfs-tools/trunk/PKGBUILD)
Deleted:
squashfs-tools/repos/extra-x86_64/0001-xattr-fix-the-name-in-error-message.patch
squashfs-tools/repos/extra-x86_64/PKGBUILD
------------------------------------------------+
0001-xattr-fix-the-name-in-error-message.patch | 40 --------
PKGBUILD | 115 ++++++++++-------------
2 files changed, 53 insertions(+), 102 deletions(-)
Deleted: 0001-xattr-fix-the-name-in-error-message.patch
===================================================================
--- 0001-xattr-fix-the-name-in-error-message.patch 2023-03-26 11:16:34 UTC
(rev 472049)
+++ 0001-xattr-fix-the-name-in-error-message.patch 2023-03-26 11:16:49 UTC
(rev 472050)
@@ -1,40 +0,0 @@
-From 3ac6d8663740a7018d4e50778dc67f372afbddb1 Mon Sep 17 00:00:00 2001
-From: Christian Hesse <[email protected]>
-Date: Mon, 20 Mar 2023 11:02:27 +0100
-Subject: [PATCH 1/1] xattr: fix the name in error message
-
-Commit 744ca24fd680eb0535b251e801be10195d2ffcfb changed to no longer
-copy the name, but we need it. Mess with p only after we used it.
-
-Fixes #234
----
- squashfs-tools/xattr.c | 8 ++++----
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/squashfs-tools/xattr.c b/squashfs-tools/xattr.c
-index 32343f5..a46eb1f 100644
---- a/squashfs-tools/xattr.c
-+++ b/squashfs-tools/xattr.c
-@@ -219,15 +219,15 @@ static int read_xattrs_from_system(struct dir_ent
*dir_ent, char *filename,
- xattr_list = x;
-
- xattr_list[i].type = xattr_get_prefix(&xattr_list[i], p);
-- p += strlen(p) + 1;
-
- if(xattr_list[i].type == -1) {
-- ERROR("Unrecognised xattr prefix %s\n",
-- xattr_list[i].full_name);
-- free(xattr_list[i].full_name);
-+ ERROR("Unrecognised xattr prefix %s\n", p);
-+ p += strlen(p) + 1;
- continue;
- }
-
-+ p += strlen(p) + 1;
-+
- while(1) {
- vsize = lgetxattr(filename, xattr_list[i].full_name,
- NULL, 0);
---
-2.40.0
-
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-03-26 11:16:34 UTC (rev 472049)
+++ PKGBUILD 2023-03-26 11:16:49 UTC (rev 472050)
@@ -1,62 +0,0 @@
-# Maintainer: David Runge <[email protected]>
-# Contributor: Sergej Pupykin <[email protected]>
-# Contributor: Aaron Griffin <[email protected]>
-# Original TU: Jeff Mickey <[email protected]>
-# Contributor: ciccio.a
-
-pkgname=squashfs-tools
-pkgver=4.6
-pkgrel=2
-pkgdesc='Tools for squashfs, a highly compressed read-only filesystem for
Linux'
-arch=(x86_64)
-url='https://github.com/plougher/squashfs-tools'
-license=(GPL2)
-depends=(
- glibc
- gcc-libs
- lz4
- lzo
- xz
- zlib
- zstd
-)
-makedepends=(help2man)
-source=("$url/archive/$pkgver/$pkgname-$pkgver.tar.gz"
- '0001-xattr-fix-the-name-in-error-message.patch')
-sha512sums=('3a9effb9a5cf46fbb9f393e58bd938874dc4121828b77c67d659117ee84643917998a8503d629f46f1eff1826f6d7ae59ac2d803a5cdc3cfb1006ef2b3abf8c8'
-
'c0f86bf3ab686fb889ccd302faeff60aa9d9188a35cf553e5ad53c638066e603adb80a51ef61fad16baf283b67b834a0dd120a90091c2f87c61c8216b2eee57f')
-b2sums=('1c04a8f6149863667151e76b3c1ecfdd5e9a181b305bea694af1d4968ac361114c9e926b351dcee2647796a21bc8cfc55b3d95f020ad88c3388007460de26053'
-
'fbf7008f37c630a5a95ecaa0b05f0b808508f1b23b838e040f77aebbe8ed459a5a24f728c3730c4e22479f5711b8984380c5ff6e602d9a1b2bad0e25a5aa1804')
-
-prepare() {
- cd $pkgname-$pkgver/
-
- patch -Np1 < ../0001-xattr-fix-the-name-in-error-message.patch
-}
-
-build() {
- local make_options=(
- GZIP_SUPPORT=1
- LZ4_SUPPORT=1
- LZMA_XZ_SUPPORT=1
- LZO_SUPPORT=1
- XATTR_SUPPORT=1
- XZ_SUPPORT=1
- ZSTD_SUPPORT=1
- -C $pkgname-$pkgver/$pkgname
- )
-
- make "${make_options[@]}"
-}
-
-package() {
- local make_options=(
- INSTALL_PREFIX="$pkgdir/usr"
- INSTALL_MANPAGES_DIR='$(INSTALL_PREFIX)/share/man/man1'
- install
- -C $pkgname-$pkgver/$pkgname
- )
-
- make "${make_options[@]}"
- install -vDm 644
$pkgname-$pkgver/{ACTIONS-README,CHANGES,"README-$pkgver",USAGE*} -t
"$pkgdir/usr/share/doc/$pkgname/"
-}
Copied: squashfs-tools/repos/extra-x86_64/PKGBUILD (from rev 472049,
squashfs-tools/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-03-26 11:16:49 UTC (rev 472050)
@@ -0,0 +1,53 @@
+# Maintainer: David Runge <[email protected]>
+# Contributor: Sergej Pupykin <[email protected]>
+# Contributor: Aaron Griffin <[email protected]>
+# Original TU: Jeff Mickey <[email protected]>
+# Contributor: ciccio.a
+
+pkgname=squashfs-tools
+pkgver=4.6.1
+pkgrel=1
+pkgdesc='Tools for squashfs, a highly compressed read-only filesystem for
Linux'
+arch=(x86_64)
+url='https://github.com/plougher/squashfs-tools'
+license=(GPL2)
+depends=(
+ glibc
+ gcc-libs
+ lz4
+ lzo
+ xz
+ zlib
+ zstd
+)
+makedepends=(help2man)
+source=($url/archive/$pkgver/$pkgname-$pkgver.tar.gz)
+sha512sums=('10e8a4b1e2327e062aef4f85860e76ebcd7a29e4c19e152ff7edec4a38316982b5bcfde4ab69da6bcb931258d264c2b6cb40cb5f635f9e6f6eba1ed5976267cb')
+b2sums=('05e38681de219413573e8b1a7f36d2f7e87734f68a929ecdeb5ae6017076fbfd67b897448980e047689ef4b154d2dcd1a90162367a6a5babab45f1ef36f09325')
+
+build() {
+ local make_options=(
+ GZIP_SUPPORT=1
+ LZ4_SUPPORT=1
+ LZMA_XZ_SUPPORT=1
+ LZO_SUPPORT=1
+ XATTR_SUPPORT=1
+ XZ_SUPPORT=1
+ ZSTD_SUPPORT=1
+ -C $pkgname-$pkgver/$pkgname
+ )
+
+ make "${make_options[@]}"
+}
+
+package() {
+ local make_options=(
+ INSTALL_PREFIX="$pkgdir/usr"
+ INSTALL_MANPAGES_DIR='$(INSTALL_PREFIX)/share/man/man1'
+ install
+ -C $pkgname-$pkgver/$pkgname
+ )
+
+ make "${make_options[@]}"
+ install -vDm 644
$pkgname-$pkgver/{ACTIONS-README,CHANGES,"README-$pkgver",USAGE*} -t
"$pkgdir/usr/share/doc/$pkgname/"
+}