[arch-commits] Commit in lib32-fakeroot/trunk (2 files)

Antonio Rojas arojas at gemini.archlinux.org
Sun Nov 14 14:25:35 UTC 2021


    Date: Sunday, November 14, 2021 @ 14:25:35
  Author: arojas
Revision: 1047484

Update to 1.26

Modified:
  lib32-fakeroot/trunk/PKGBUILD
Deleted:
  lib32-fakeroot/trunk/0001-Revert-Use-fixed-width-members-in-fake_msg.patch

-------------------------------------------------------+
 0001-Revert-Use-fixed-width-members-in-fake_msg.patch |   72 ----------------
 PKGBUILD                                              |   15 ---
 2 files changed, 4 insertions(+), 83 deletions(-)

Deleted: 0001-Revert-Use-fixed-width-members-in-fake_msg.patch
===================================================================
--- 0001-Revert-Use-fixed-width-members-in-fake_msg.patch	2021-11-14 14:24:43 UTC (rev 1047483)
+++ 0001-Revert-Use-fixed-width-members-in-fake_msg.patch	2021-11-14 14:25:35 UTC (rev 1047484)
@@ -1,72 +0,0 @@
-From ffba4a8941a5f11748a9d305bf76691e7a2aa296 Mon Sep 17 00:00:00 2001
-From: Johannes 'josch' Schauer <josch at mister-muffin.de>
-Date: Tue, 3 Nov 2020 00:55:40 +0100
-Subject: [PATCH] Revert "Use fixed-width members in fake_msg"
-
-This reverts commit 2a53909e732b19ccbaf6d1534e932dff74fa757e.
----
- message.h | 16 ++++++++++++++--
- 1 file changed, 14 insertions(+), 2 deletions(-)
-
-diff --git a/message.h b/message.h
-index 6fad1fb..9dfce94 100644
---- a/message.h
-+++ b/message.h
-@@ -48,7 +48,9 @@ typedef uint32_t fake_gid_t;
- typedef uint32_t fake_mode_t;
- typedef uint32_t fake_nlink_t;
- 
-+#if __SUNPRO_C
- #pragma pack(4)
-+#endif
- struct fakestat {
- 	fake_uid_t   uid;
- 	fake_gid_t   gid;
-@@ -58,32 +60,42 @@ struct fakestat {
- 	fake_mode_t  mode;
- 	fake_nlink_t nlink;
- } FAKEROOT_ATTR(packed);
-+#if __SUNPRO_C
- #pragma pack()
-+#endif
- 
- #define MAX_IPC_BUFFER_SIZE 1024
- 
-+#if __SUNPRO_C
- #pragma pack(4)
-+#endif
- struct fakexattr {
- 	uint32_t   buffersize;
- 	char       buf[MAX_IPC_BUFFER_SIZE];
- 	int32_t    flags_rc; /* flags from setxattr. Return code on round trip */
- } FAKEROOT_ATTR(packed);
-+#if __SUNPRO_C
- #pragma pack()
-+#endif
- 
-+#if __SUNPRO_C
- #pragma pack(4)
-+#endif
- struct fake_msg {
- #ifndef FAKEROOT_FAKENET
--	int64_t mtype; /* message type in SYSV message sending */
-+	long mtype; /* message type in SYSV message sending */
- #endif
- 	func_id_t       id; /* the requested function */
- #ifndef FAKEROOT_FAKENET
- 	pid_t pid;
--	int32_t serial;
-+	int serial;
- #endif
- 	struct fakestat st;
- 	struct fakexattr xattr;
- 	uint32_t        remote;
- } FAKEROOT_ATTR(packed);
-+#if __SUNPRO_C
- #pragma pack()
-+#endif
- 
- #endif
--- 
-2.27.0
-

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-14 14:24:43 UTC (rev 1047483)
+++ PKGBUILD	2021-11-14 14:25:35 UTC (rev 1047484)
@@ -5,8 +5,8 @@
 
 _pkgbasename=fakeroot
 pkgname=lib32-${_pkgbasename}
-pkgver=1.25.3
-pkgrel=2
+pkgver=1.26
+pkgrel=1
 pkgdesc='Tool for simulating superuser privileges (32-bit)'
 arch=('x86_64')
 license=('GPL')
@@ -15,16 +15,9 @@
 install=fakeroot.install
 depends=('lib32-glibc' "$_pkgbasename")
 makedepends=('po4a')
-source=("https://deb.debian.org/debian/pool/main/f/${_pkgbasename}/${_pkgbasename}_${pkgver}.orig.tar.gz"
-        0001-Revert-Use-fixed-width-members-in-fake_msg.patch)
-sha512sums=('b54366ef82b49af414d7214d069a4bc7dd188dfa4f8e3121f6bd65fd67268b02346ff72e857087243ab0efe9fa82faaa9f9c3309cac4b5af0ea00908c2e5eb6e'
-            'c847b8178c7a6818718b4b83324887bc53668f008984fdd6cfb93470a759878c0c249c81a7250d49bd1519b95b9a80297bcee5a7125c351d9cd188c66b11e766')
+source=("https://deb.debian.org/debian/pool/main/f/${_pkgbasename}/${_pkgbasename}_${pkgver}.orig.tar.gz")
+sha512sums=('dad193b283b48a25806c5bcd06d1f5bbd183ccd40a3fc25f3e7bb88fd6579024f958321f8336654348a1d0a547d4ad19ed11aab5ec9441d6ef493ee6e4c78081')
 
-prepare() {
-  # https://bugs.archlinux.org/task/69189
-  patch -d $_pkgbasename-$pkgver -p1 < 0001-Revert-Use-fixed-width-members-in-fake_msg.patch
-}
-
 build() {
   export CC="gcc -m32"
   export CXX="g++ -m32"



More information about the arch-commits mailing list