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


Commits:
2d0299d9 by Robin Candau at 2024-12-01T19:15:50+01:00
upgpkg: 3.68.1-1 - New upstream release + Rework

- Update to v3.68.1
- Subtle style changes in PKGBUILD
- Switch license to SPDX identifiers
- 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/filezilla/-/issues/2
- Add a README to document source handling

- - - - -


3 changed files:

- .SRCINFO
- PKGBUILD
- + README.md


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,10 +1,10 @@
 pkgbase = filezilla
        pkgdesc = Fast and reliable FTP, FTPS and SFTP client
-       pkgver = 3.67.1
-       pkgrel = 2
-       url = https://filezilla-project.org/
+       pkgver = 3.68.1
+       pkgrel = 1
+       url = https://filezilla-project.org
        arch = x86_64
-       license = GPL
+       license = GPL-2.0-or-later
        makedepends = boost
        makedepends = gnutls
        makedepends = libidn
@@ -22,8 +22,8 @@ pkgbase = filezilla
        depends = libsqlite3.so
        depends = wxwidgets-gtk3
        depends = xdg-utils
-       source = 
https://download.filezilla-project.org/client/FileZilla_3.67.1_src.tar.xz
-       sha256sums = 
10468e6ef623ad9789996df61f588ca7417d39353678313611d54f2d8131a1db
-       sha512sums = 
630820a0c67ee8b1d48a8ff4193e066d35bbf9048526c91b8804d786defc28a635dac252b298de518b506506607abd96ce35c455c21a50503844a57c47ea78e7
+       source = 
https://sources.archlinux.org/other/filezilla/filezilla-3.68.1.tar.xz
+       sha256sums = 
9df9209e29564ad92bcdee4a8ebe0e07648ef473028cdbde160f3d0612517679
+       sha512sums = 
b8cd7a524c13753118f8c48b0f4063a3459d119efe2bfd11c0ca40e35573885e2cae85007e7958d6eec4bcbdd557eba76bcaa72a922d3bd4f85385fc06d0df6b
 
 pkgname = filezilla


=====================================
PKGBUILD
=====================================
@@ -1,14 +1,15 @@
 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Maintainer: Robin Candau <[email protected]>
 # Contributor: Daniel J Griffiths <[email protected]>
 # Contributor: Alexander Fehr <pizzapunk gmail com>
 
 pkgname=filezilla
-pkgver=3.67.1
-pkgrel=2
-pkgdesc='Fast and reliable FTP, FTPS and SFTP client'
-url='https://filezilla-project.org/'
+pkgver=3.68.1
+pkgrel=1
+pkgdesc="Fast and reliable FTP, FTPS and SFTP client"
+url="https://filezilla-project.org";
 arch=('x86_64')
-license=('GPL')
+license=('GPL-2.0-or-later')
 depends=(
   dbus libdbus-1.so
   gtk3 libgtk-3.so libgdk-3.so
@@ -24,17 +25,20 @@ makedepends=(
   gnutls
   libidn
 )
-source=(https://download.filezilla-project.org/client/FileZilla_${pkgver}_src.tar.xz)
-sha256sums=('10468e6ef623ad9789996df61f588ca7417d39353678313611d54f2d8131a1db')
-sha512sums=('630820a0c67ee8b1d48a8ff4193e066d35bbf9048526c91b8804d786defc28a635dac252b298de518b506506607abd96ce35c455c21a50503844a57c47ea78e7')
+# Upstream download link became (purposely) unstable
+# See https://trac.filezilla-project.org/ticket/13186
+#source=("https://download.filezilla-project.org/client/FileZilla_${pkgver}_src.tar.xz";)
+source=("https://sources.archlinux.org/other/filezilla/${pkgname}-${pkgver}.tar.xz";)
+sha256sums=('9df9209e29564ad92bcdee4a8ebe0e07648ef473028cdbde160f3d0612517679')
+sha512sums=('b8cd7a524c13753118f8c48b0f4063a3459d119efe2bfd11c0ca40e35573885e2cae85007e7958d6eec4bcbdd557eba76bcaa72a922d3bd4f85385fc06d0df6b')
 
 prepare() {
-  cd ${pkgname}-${pkgver}
+  cd "${pkgname}-${pkgver}"
   autoreconf -vif
 }
 
 build() {
-  cd ${pkgname}-${pkgver}
+  cd "${pkgname}-${pkgver}"
   ./configure \
     --prefix=/usr \
     --disable-manualupdatecheck \
@@ -44,9 +48,9 @@ build() {
 }
 
 package() {
-  cd ${pkgname}-${pkgver}
+  cd "${pkgname}-${pkgver}"
   make DESTDIR="${pkgdir}" install
-  mv "$pkgdir"/usr/share/{appdata,metainfo}
+  mv "${pkgdir}"/usr/share/{appdata,metainfo}
 }
 
 # vim: ts=2 sw=2 et:


=====================================
README.md
=====================================
@@ -0,0 +1,6 @@
+# filezilla
+
+## 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 from directly 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.



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/filezilla/-/commit/2d0299d932474aac5e63091ae2deb456a8ad3920

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


Reply via email to