diff options
Diffstat (limited to 'user/alpine')
-rw-r--r-- | user/alpine/APKBUILD | 29 | ||||
-rw-r--r-- | user/alpine/support-musl.patch | 20 |
2 files changed, 13 insertions, 36 deletions
diff --git a/user/alpine/APKBUILD b/user/alpine/APKBUILD index 189057dea..f218b796c 100644 --- a/user/alpine/APKBUILD +++ b/user/alpine/APKBUILD @@ -1,27 +1,27 @@ -# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> -# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house> +# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house> pkgname=alpine -pkgver=2.21 +pkgver=2.26 pkgrel=0 pkgdesc="Terminal-based email client" -url="http://alpine.x10host.com/alpine/" +url="https://alpineapp.email/" arch="all" license="Apache-2.0" depends="" makedepends="aspell-dev krb5-dev linux-pam-dev ncurses-dev openldap-dev openssl-dev" subpackages="$pkgname-doc" -source="http://alpine.x10host.com/alpine/release/src/alpine-$pkgver.tar.xz - support-musl.patch" +# NOTE: "old" releases are moved elsewhere, so URLs will break often. +# The author was contacted about this on 2022-09-30. +#source="https://alpineapp.email/alpine/release/src/$pkgname-$pkgver.tar.xz" +source="$pkgname-$pkgver.tar.gz::https://repo.or.cz/alpine.git/snapshot/refs/tags/v$pkgver.tar.gz" +builddir="$srcdir/$pkgname-v$pkgver" -prepare() { - cd "$builddir" - default_prepare - autoreconf -vif -} +# secfixes: +# 2.25-r0: +# - CVE-2021-38370 build() { - cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -33,14 +33,11 @@ build() { } check() { - cd "$builddir" make check } package() { - cd "$builddir" make DESTDIR="$pkgdir" install } -sha512sums="a2a36a033c8af79810816a7da7185c269808ba6d84d013691fd8b3764c63f5fb2284e6844ec5a5e99d168514ae636debf59fae962533a2916679e4e9109c6264 alpine-2.21.tar.xz -cdf827b5947fd14b6a6c1ad86df4ff1b8be1ffd51279aaa02376b2b60f3de742c54364e18d73d9a75c5c87ed3c8668a3f0c9eb59733f8da195e85833b4364782 support-musl.patch" +sha512sums="7ca4d5fc7cc9b5fc63b0cb341fa161274c7f724d3f812a7f94dcfe60d678665f0fbce5b671fa26d4da822f09ac58978a3f6385a94c8f3dc9b16bd8fa66a49634 alpine-2.26.tar.gz" diff --git a/user/alpine/support-musl.patch b/user/alpine/support-musl.patch deleted file mode 100644 index ab3c2d857..000000000 --- a/user/alpine/support-musl.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- ./configure.ac.orig -+++ ./configure.ac -@@ -723,7 +723,7 @@ - else - dnl preload c-client default locations/options - case $host in -- *-linux-gnu*|*-k*bsd*-gnu*|*-gnu*) -+ *-linux-gnu*|*-k*bsd*-gnu*|*-gnu*|*-linux-musl*) - if test -f /etc/fedora-release -o -f /etc/redhat-release -o -f /etc/redhat_version ; then - alpine_SSLTYPE="nopwd" - if test -d /etc/pki/tls ; then -@@ -1059,7 +1059,7 @@ - dnl build from c-client. Most of this will go away when c-client - dnl adopts configure - case "$host" in -- *-linux-gnu*|*-k*bsd*-gnu*|*-gnu*) -+ *-linux-gnu*|*-k*bsd*-gnu*|*-gnu*|*-linux-musl*) - alpine_path_delim="/" - alpine_mode_readonly="(0600)" - if test -f /etc/fedora-release ; then |