Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / 
libfilezilla


Commits:
c2e06b46 by Robin Candau at 2024-12-01T19:00:51+01:00
upgpkg: 1:0.49.0-1 - New upstream release + Rework

- Update to v0.49.0
- Subtle style changes in PKGBUILD
- Switch license to SPDX identifiers
- Add missing depndency on 'libcrypt.so'
- Switch source to our mirrored upstream tarball. Upstream made their download 
link (purposely) unstable (see 
https://trac.filezilla-project.org/ticket/13186). Fixes 
https://gitlab.archlinux.org/archlinux/packaging/packages/libfilezilla/-/issues/1
- Add a README to document source handling and soname changes on new releases

- - - - -


3 changed files:

- .SRCINFO
- PKGBUILD
- + README.md


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,11 +1,11 @@
 pkgbase = libfilezilla
        pkgdesc = Small and modern C++ library, offering some basic 
functionality to build high-performing, platform-independent programs
-       pkgver = 0.48.1
+       pkgver = 0.49.0
        pkgrel = 1
        epoch = 1
        url = https://lib.filezilla-project.org/
        arch = x86_64
-       license = GPL
+       license = GPL-2.0-or-later
        checkdepends = cppunit
        makedepends = clang
        depends = glibc
@@ -14,9 +14,10 @@ pkgbase = libfilezilla
        depends = gnutls
        depends = libnettle.so
        depends = libhogweed.so
+       depends = libcrypt.so
        provides = libfilezilla.so
-       source = 
https://download.filezilla-project.org/libfilezilla/libfilezilla-0.48.1.tar.xz
-       sha512sums = 
44881abbed985eabe0b5a19c6a2fc5f39c5258b49633eae79c7498c5c96583b24883ddce66b9ab7fafdaab7657092edc5da8e5d3b604897b76c02038fa4cd482
-       b2sums = 
fd08bbe3279cb1eec21c864e1b1547ee562d9fca970fed4dc3f78740bb9131b98410cc5ba317a05a5218b100dd498107dd2caed3ff3453b1516405c1075bbb62
+       source = 
https://sources.archlinux.org/other/libfilezilla/libfilezilla-0.49.0.tar.xz
+       sha512sums = 
5e77cf9371468f8760baa351108374187d89777244845386d4cc46d2bd03d52285379cd55902c91dad1167ac58892c9fd7c94d6596ef1710e8116dd1f9721eca
+       b2sums = 
92cf203f4b58199ddd153be99f128d1c29d1f202e1cfe1354a185201d7f3eb9cc00d344ba58fe245f0444106fdfbef5dd5589969e9558404607edb22b94ef09a
 
 pkgname = libfilezilla


=====================================
PKGBUILD
=====================================
@@ -1,25 +1,29 @@
 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Maintainer: Robin Candau <[email protected]>
 # Contributor: Florian Pritz <[email protected]>
 # Contributor: Martchus <[email protected]>
 
 pkgname=libfilezilla
 epoch=1
-pkgver=0.48.1
+pkgver=0.49.0
 pkgrel=1
-pkgdesc='Small and modern C++ library, offering some basic functionality to 
build high-performing, platform-independent programs'
-url='https://lib.filezilla-project.org/'
+pkgdesc="Small and modern C++ library, offering some basic functionality to 
build high-performing, platform-independent programs"
+url="https://lib.filezilla-project.org/";
 arch=('x86_64')
-license=('GPL')
-depends=('glibc' 'gcc-libs' 'nettle' 'gnutls' 'libnettle.so' 'libhogweed.so')
-makedepends=(clang)
+license=('GPL-2.0-or-later')
+depends=('glibc' 'gcc-libs' 'nettle' 'gnutls' 'libnettle.so' 'libhogweed.so' 
'libcrypt.so')
+makedepends=('clang')
 checkdepends=('cppunit')
 provides=('libfilezilla.so')
-source=(https://download.filezilla-project.org/libfilezilla/libfilezilla-${pkgver}.tar.xz)
-sha512sums=('44881abbed985eabe0b5a19c6a2fc5f39c5258b49633eae79c7498c5c96583b24883ddce66b9ab7fafdaab7657092edc5da8e5d3b604897b76c02038fa4cd482')
-b2sums=('fd08bbe3279cb1eec21c864e1b1547ee562d9fca970fed4dc3f78740bb9131b98410cc5ba317a05a5218b100dd498107dd2caed3ff3453b1516405c1075bbb62')
+# Upstream download link became (purposely) unstable
+# See https://trac.filezilla-project.org/ticket/13186
+#source=("https://download.filezilla-project.org/libfilezilla/libfilezilla-${pkgver}.tar.xz";)
+source=("https://sources.archlinux.org/other/libfilezilla/${pkgname}-${pkgver}.tar.xz";)
+sha512sums=('5e77cf9371468f8760baa351108374187d89777244845386d4cc46d2bd03d52285379cd55902c91dad1167ac58892c9fd7c94d6596ef1710e8116dd1f9721eca')
+b2sums=('92cf203f4b58199ddd153be99f128d1c29d1f202e1cfe1354a185201d7f3eb9cc00d344ba58fe245f0444106fdfbef5dd5589969e9558404607edb22b94ef09a')
 
 build() {
-  cd ${pkgname}-${pkgver}
+  cd "${pkgname}-${pkgver}"
   export CXX=clang++
   export CC=clang
   ./configure \
@@ -29,13 +33,13 @@ build() {
 }
 
 check() {
-  cd ${pkgname}-${pkgver}
+  cd "${pkgname}-${pkgver}"
   # LANG needed to fix string_test::test_conversion2
   LANG=en_US.UTF-8 make check
 }
 
 package() {
-  cd ${pkgname}-${pkgver}
+  cd "${pkgname}-${pkgver}"
   make DESTDIR="${pkgdir}" install
 }
 


=====================================
README.md
=====================================
@@ -0,0 +1,10 @@
+# libfilezilla
+
+## Sources handling
+
+Upstream purposely made their download link unstable (to prevent 
[infrastructure 
abuses](https://trac.filezilla-project.org/ticket/13159#comment:1)), meaning 
fetches sources directly from upstream in the PKGBUILD is not possible anymore. 
 
+An [upstream ticket was 
opened](https://trac.filezilla-project.org/ticket/13186) to discuss eventual 
solutions. In the mean time, sources are downloaded and uploaded manually to 
<https://sources.archlinux.org> and fetched from there in the PKGBUILD.
+
+## Soname changes on new releases
+
+`libfilezilla` has soname changes on new releases, requiring `filezilla` to be 
rebuilt against said new releases.



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libfilezilla/-/commit/c2e06b463f12d11a72a6810cbc4368865c0d95c8

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


Reply via email to