Christian Hesse pushed to branch main at Arch Linux / Packaging / Packages / 
sharutils


Commits:
436a8e58 by Christian Hesse at 2024-02-03T21:45:41+01:00
upgpkg: 4.15.2-5: fix FTBFS, deps & license

https://gitlab.archlinux.org/archlinux/packaging/packages/sharutils/-/issues/1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,13 +1,12 @@
 pkgbase = sharutils
        pkgdesc = Makes so-called shell archives out of many files
        pkgver = 4.15.2
-       pkgrel = 4
+       pkgrel = 5
        url = https://www.gnu.org/software/sharutils/
        arch = x86_64
-       license = GPL
-       depends = perl
-       depends = gettext
-       depends = texinfo
+       license = GPL-3.0-or-later
+       makedepends = gettext
+       depends = glibc
        source = https://ftp.gnu.org/gnu/sharutils/sharutils-4.15.2.tar.xz
        source = https://ftp.gnu.org/gnu/sharutils/sharutils-4.15.2.tar.xz.sig
        validpgpkeys = 1F967B15DEB2349CACDF3D71D9204CB5BFBF0221


=====================================
PKGBUILD
=====================================
@@ -4,12 +4,13 @@
 
 pkgname=sharutils
 pkgver=4.15.2
-pkgrel=4
+pkgrel=5
 pkgdesc='Makes so-called shell archives out of many files'
 url='https://www.gnu.org/software/sharutils/'
-license=('GPL')
+license=('GPL-3.0-or-later')
 arch=('x86_64')
-depends=('perl' 'gettext' 'texinfo')
+depends=('glibc')
+makedepends=('gettext')
 validpgpkeys=('1F967B15DEB2349CACDF3D71D9204CB5BFBF0221')
 
source=("https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz"{,.sig})
 sha256sums=('2b05cff7de5d7b646dc1669bc36c35fdac02ac6ae4b6c19cb3340d87ec553a9a'
@@ -23,6 +24,7 @@ prepare() {
 build() {
        cd "${srcdir}/${pkgname}-${pkgver}"
        CFLAGS+=' -fcommon' # 
https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
+       CFLAGS+=' -Wno-format-security' # fix build with gettext function
        ./configure \
                --prefix=/usr \
                --mandir=/usr/share/man \



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/sharutils/-/commit/436a8e584b8089c74531422ba3a4453e118ede34

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/sharutils/-/commit/436a8e584b8089c74531422ba3a4453e118ede34
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to