Commit 3b9d8adf authored by Peter Shkenev's avatar Peter Shkenev 🤔
Browse files

testing/notqmail: new aport

https://notqmail.org

Fast, secure and reliable MTA
parent f018661c
diff -Nurp notqmail-notqmail-1.08.orig/conf-qmail notqmail-notqmail-1.08/conf-qmail
--- notqmail-notqmail-1.08.orig/conf-qmail 2020-05-20 18:13:41.000000000 +0300
+++ notqmail-notqmail-1.08/conf-qmail 2022-08-06 01:24:09.438578755 +0300
@@ -1,4 +1,4 @@
-/var/qmail
+/var/lib/qmail
This is the qmail home directory. It must be a local directory, not
shared among machines. This is where qmail queues all mail messages.
# Contributor: Peter Shkenev <santurysim@gmail.com>
# Maintainer: Peter Shkenev <santurysim@gmail.com>
pkgname=notqmail
pkgver=1.08
pkgrel=0
pkgdesc="Fast, secure and reliable MTA"
url="https://notqmail.org"
arch="all"
depends="s6-networking" # To launch smtpd
options="!check suid" # No test suite and qmail-queue is suid
license="custom"
install="$pkgname.pre-install $pkgname.post-install"
subpackages="$pkgname-doc $pkgname-openrc"
source="
https://github.com/notqmail/notqmail/archive/refs/tags/notqmail-1.08.tar.gz
notqmail.initd
10-home-dir.patch
"
builddir="$srcdir/$pkgname-$pkgname-$pkgver"
build() {
pwd
make it man
}
package() {
make DESTDIR="$pkgdir" package
install -m755 -D "$srcdir"/$pkgname.initd \
"$pkgdir"/etc/init.d/$pkgname
install -Dm644 "$builddir"/COPYRIGHT \
"$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
sha512sums="
3cc5218a7dc45b4170379a01505f6af19ba475ecb737856819ffc9c4a752538fdf5e99273ee882f3e19150d1c0f738a80637d6fbb383e8a559076ff69165d275 notqmail-1.08.tar.gz
512331fd6b4c5621c14b8bf07a94b2318dc33fea245de1e66d6385e1dc4cbfde7cb0d53507b46c85a11defe65a936cca40ace80df76130c7af2ef5999899892c notqmail.initd
bb84e0674f3ca0377ccc14d5d5356d58827361a85812e05d004040e2b790d0048cafc5210800b49bed513b308e0fedd6ed57cca9cfe2e5369124406a02cc5837 10-home-dir.patch
"
# Sample conf.d file for alpine linux
#
# Specify daemon options here.
#
sample_opts=""
#!/sbin/openrc-run
# Sample init.d file for alpine linux.
name=
command="/usr/sbin/$name"
command_args="$sample_opts"
command_background="yes"
start_stop_daemon_args="--user $sample_user:$sample_group"
pidfile="/run/$name.pid"
depend() {
need net
after firewall
}
#!/bin/sh
# add something which happens after install
#!/bin/sh
addgroup -S qmail 2>/dev/null
addgroup -S nofiles 2>/dev/null
adduser -S -D -G nofiles -h /var/lib/qmail/alias -s /sbin/nologin alias 2>/dev/null
adduser -S -D -G nofiles -h /var/lib/qmail -s /sbin/nologin qmaild 2>/dev/null
adduser -S -D -G nofiles -h /var/lib/qmail -s /sbin/nologin qmaill 2>/dev/null
adduser -S -D -G nofiles -h /var/lib/qmail -s /sbin/nologin qmailp 2>/dev/null
adduser -S -D -G qmail -h /var/lib/qmail -s /sbin/nologin qmailq 2>/dev/null
adduser -S -D -G qmail -h /var/lib/qmail -s /sbin/nologin qmailr 2>/dev/null
adduser -S -D -G qmail -h /var/lib/qmail -s /sbin/nologin qmails 2>/dev/null
exit 0
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment