main/mlmmj: upgrade to 1.4.0

also, update source URL to Codeberg
This commit is contained in:
Celeste 2023-12-07 04:24:58 +00:00 committed by Natanael Copa
parent 361e8bb528
commit 32e72a439e
2 changed files with 6 additions and 29 deletions

View File

@ -1,18 +1,17 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mlmmj
pkgver=1.3.0
pkgrel=2
pkgver=1.4.0
pkgrel=0
pkgdesc="Mailing list managing made joyful"
url="http://mlmmj.org/"
arch="all"
license="MIT"
makedepends="atf-dev"
subpackages="$pkgname-doc"
install="$pkgname.pre-install"
pkgusers="mlmmj"
pkggroups="mlmmj"
source="http://mlmmj.org/releases/mlmmj-$pkgver.tar.gz
gcc-10.patch
"
source="https://codeberg.org/mlmmj/mlmmj/releases/download/RELEASE_${pkgver//./_}/mlmmj-$pkgver.tar.gz"
options="!check"
build() {
@ -29,7 +28,7 @@ package() {
cp -r listtexts/* "$pkgdir"/usr/share/mlmmj/texts/
install -o mlmmj -g mlmmj -d "$pkgdir"/var/spool/mlmmj
}
sha512sums="
ea40cae02a7ca5949af6ae01adcdc97536f63f9336f1e4081cf875312bb121a285405353a5863aa6d5f09834b2b6dd328650ed212a30f4940b5fbf82d20184cf mlmmj-1.3.0.tar.gz
8c929fc1e078ae1ffeaced0a7f188da75de390e93abfe7abd8b481f9f51efee52997dbca2e5904003ac2a95f61be9764da41082fabca01767320b86873f6734c gcc-10.patch
e4666e476fe9d124d09e4f9e9b660e799b7d82181cd3d352fc6feea0d03ad14c45bc5ddca53a1822a0709fccbd6d076ce9c97d12e99913668cd62c59c2bf4078 mlmmj-1.4.0.tar.gz
"

View File

@ -1,22 +0,0 @@
Taken from Gentoo
--- a/include/mlmmj.h
+++ b/include/mlmmj.h
@@ -81,7 +81,7 @@ enum subtype {
SUB_NONE /* For when an address is not subscribed at all */
};
-char *subtype_strs[7]; /* count matches enum above; defined in subscriberfuncs.c */
+extern char *subtype_strs[7]; /* count matches enum above; defined in subscriberfuncs.c */
enum subreason {
SUB_REQUEST,
@@ -92,7 +92,7 @@ enum subreason {
SUB_SWITCH
};
-char * subreason_strs[6]; /* count matches enum above; defined in subscriberfuncs.c */
+extern char * subreason_strs[6]; /* count matches enum above; defined in subscriberfuncs.c */
void print_version(const char *prg);