Hello,
This patch adds mlmmj as an lightweight alternative mailing list program.
Currently Parabola only offers GNU Mailman, which is a fantastic mailing list
program yet quite complicated and time-consuming to set up.
mlmmj fills a niche where one might want a mailing list that is simple, easy and
quick to set up - but also still quite more flexible and useful than a simple
alias.


-- 
Kind Regards,
Wael Karram.


From 2d184d9ab928084911ce45979ab5740ef8896d3b Mon Sep 17 00:00:00 2001
From: Wael Karram <w...@waelk.tech>
Date: Tue, 12 Dec 2023 10:57:04 +0200
Subject: [PATCH] Added mlmmj mailing list program.

---
 pcr/mlmmj/PKGBUILD | 77 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 77 insertions(+)
 create mode 100644 pcr/mlmmj/PKGBUILD

diff --git a/pcr/mlmmj/PKGBUILD b/pcr/mlmmj/PKGBUILD
new file mode 100644
index 000000000..4595e2185
--- /dev/null
+++ b/pcr/mlmmj/PKGBUILD
@@ -0,0 +1,77 @@
+# Maintainer (AUR): Klaus Alexander Seistrup <kl...@seistrup.dk>
+# Contributor (AUR): Marvin Gülker <quintus at quintilianus point eu>
+# Contributor (AUR): Pierre Chapuis <catwell at archlinux dot us>
+# Maintainer (Parabola): Wael Karram <w...@waelk.tech>
+# -*- mode: sh -*-
+
+pkgname='mlmmj'
+pkgver=1.3.0
+pkgrel=9
+pkgdesc='Simple and slim mailing list manager (MLM) inspired by ezmlm'
+depends=('bash' 'glibc' 'smtp-server')
+arch=('i686' 'x86_64' 'armv7h')
+url='http://mlmmj.org/'
+license=('MIT')
+source=(
+  "http://mlmmj.org/releases/$pkgname-$pkgver.tar.gz";
+  "$pkgname-$pkgver.diff"
+  "$pkgname-$pkgver-bash.diff"
+  'sysuser.conf'
+  'tmpfile.conf'
+)
+sha256sums=(
+  '7609d0dd804f0c084c2e483eb58c60012b698bc76464537852a1ee1ff9c6f0e9'
+  '18dd3c663c0c5cc4a713b70b7eb03c2a2b9d6af316e1e080febda1ef61be399c'
+  '3a853e7288cb7a077374e3a79890ec47dbbab208611600ee3d2726e5f17889be'
+  '4bbc24fc73ecb2d8f509c47eacff290921bb70a24b2a87b19704336cb4c466f1'
+  '1836f8ddb013f3762e79b2bbd9e81f850d976c984fa2e24bcc8f39072eeb0d37'
+)
+sha512sums=(
+  'ea40cae02a7ca5949af6ae01adcdc97536f63f9336f1e4081cf875312bb121a285405353a5863aa6d5f09834b2b6dd328650ed212a30f4940b5fbf82d20184cf'
+  'a8d74b9f32858be4fb648ba26d85cfc5c1eaedce6f9aec764812164f85f9182207a736df0e0d4710210f7d4ac44cef6342b7dbe566012492cddbcf4c01c3c8f2'
+  '2dd3ebd263467d8fb6c14f4acb138b5fc38735bfd9c9bb676acb8b2bb1504897ca27a008ef9409903ba911b1c1f763392e8fe3cd6d2d73ce026aa9751c2a744a'
+  'c0d96b8d9b1866892be4d14967390cdff2d74a5e4d099bce3c5dadbeef93b6bf69020042c4f986081dc9de62b5707b7f49ce4514999d7a35ceab6e0621a6bf6d'
+  '5be7399233f1d2f4b806d2049801cd2f84061de5abcc3565b75e10e6ed197d33370e5d4cf6f8c6fc2e17ff7b984e036b7e4ab69a929ac045fa2f202f29229e1f'
+)
+b2sums=(
+  '6b56ead8fb5840964835b139be7566a14df53266a7d83323176f73430c76702f0dc50f5b255e5881887ad8618abe3ace6cd710128821654709b6135b53adbfe4'
+  'c0beb31414df706e3ce2fc62f8d23f893c8ce199adc2a81a48d3e3df6ddcbd131588d0ad12a4cfcd1d0e3db799ed95101a40d9b88d7ee758413310e2dfe205ab'
+  '8dd8291af4a6b04565df816f0fb193e749824fc05c4226f748b272346d9077ae5bc9904ecc245e5161e267e9d57cb9202db6b8d8a29c9724f563677798534fcd'
+  '946ee7047c127ce3a7a5d784b97002f2373231acad4c1c7cfd65b1fbc4e49761deaf19d74ad8764943736897f03afb814bd92d81e58767f5af3cb87a4a7fa826'
+  '6fc6d4bde198896dc706652cd0e32fde43ac47b40c4d3cd2d130aa5e0b3b7cdb1d97c0124d43f9240c143f3f6641fc626a62f2350b8b43c8cfdfb8fcca33391d'
+)
+
+prepare() {
+  cd "$pkgname-$pkgver" || exit 1
+
+  patch -Np1 -i "$srcdir/$pkgname-$pkgver.diff"
+  patch -Np1 -i "$srcdir/$pkgname-$pkgver-bash.diff"
+}
+
+build() {
+  cd "$pkgname-$pkgver" || exit 1
+
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "$pkgname-$pkgver" || exit 1
+
+  make DESTDIR="$pkgdir" install
+
+  for fname in AUTHORS COPYING LICENSE; do
+    install -Dm0644 "$fname" "$pkgdir/usr/share/licenses/$pkgname/$fname"
+  done
+
+  for fname in ChangeLog FAQ README README.* TODO TUNABLES UPGRADE; do
+    install -Dm0644 "$fname" "$pkgdir/usr/share/doc/$pkgname/$fname"
+  done
+
+  cd "$srcdir" || exit 1
+
+  install -Dm0644 sysuser.conf "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
+  install -Dm0644 tmpfile.conf "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf"
+}
+
+# eof
-- 
2.43.0

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Dev mailing list
Dev@lists.parabola.nu
https://lists.parabola.nu/mailman/listinfo/dev

Reply via email to