blob: f070de5d6a221d0fff99df63bf9184e2c169e6d5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
|
# $Id$
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
# Contributor: Lukas Fleischer <lfleischer@archlinux.org>
# Contributor: Angel Velasquez <angvp@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
# Modified by: Deposite Pirate <dpirate at metalpunks dot info>
# https://git.metalpunks.info/arch-ports
_pkgname=exim
pkgname=$_pkgname-sasl
pkgver=4.92.2
pkgrel=1
pkgdesc='Message Transfer Agent'
arch=('x86_64')
url='https://www.exim.org/'
license=('GPL')
backup=('etc/mail/aliases' 'etc/mail/exim.conf' 'etc/logrotate.d/exim')
depends=('gdbm' 'libldap' 'libnsl' 'openssl' 'pam' 'pcre' 'sqlite' 'cyrus-sasl')
provides=('smtp-server' 'smtp-forwarder')
conflicts=('smtp-server' 'smtp-forwarder')
source=("https://ftp.exim.org/pub/exim/exim4/exim-$pkgver.tar.bz2"{,.asc}
aliases
exim.logrotate
exim.Makefile
exim-submission@.service
exim.service
exim@.service
exim.socket
exim-submission.socket
exim.sysusers
exim.tmpfiles)
sha512sums=('778999c49d4f36f738ef48c5f9b0248a0b866891bcc79498282e80b6f0e0ece41f30da06f95f0f8257b225fecf31aeff87d9454bc3982416f330d74771e77b7a'
'SKIP'
'a91c6a9e5b3ac9d143741dba01e11616812ba44c3a8c768c8232364026460f0b8fdeeb120a2f2b86742a6e3ebbfc9d6335b86d108b044e43108b4a6f0374c9ad'
'd8e3b466e0bba8175cfe762058dec49018495a260aa5efd139f4ef435284c305958cbd7fc514e81042146368b749ae38f0bf276fc0b4b91918ef33126900aa81'
'4cc28be7ac94aa5d3de5e749c7903afad0fd4cafcd1570748b5feb63dd2ed1dfa0bb424bf238751115d7733b45f757e03eb679397fb69dfd8c7c53288870d9db'
'dc28698f15e8eaa4614ae81fc8cb76d92fed1110ce02f7a6ee8feace418dbb194711eb2d4dd444cf818628c11721e21d80b7b974879ab6ddd78cc717cce17c2f'
'e2fc3966c320460a26fbbf83e98df725587dc126dfe9d7a84c3285eb4b22a061b30499425c70f3d73cf13aa81c194274004efd20ce1316836463b982117909f8'
'11c8133ee15b3e5193c9b1c59aed66c81b6e045dd23310bede9fcde6c88905db5ef08afdb798b53b75a7465915ea1247e980edf95db07a7f9b7bb58ce95fbb5a'
'db621116907ceb573e6f34581f47c91f751bff593054d7ddc32397b34c7f2405bec184bdb0589d2ac457fa3a61bcba072761e3a6293a99c9c764d2d9fd6069ae'
'4a233761793e3510e9efa5aad3a6098c41b757f13133a7ea825680f2b393aba8d7935f16bf1dd065dde884fe7ba45639a8d398333a7d9bf0a6b72f88c8f2a09d'
'87a16aa7bd60a8df0da8131bb811825232f25e934b9326460a2f8f0f8e0f44c53d71b1225ecfee8d30c8714f6e9f85f5f0821e346a7751d43683b406376d605b'
'f8a34fea0a65d0992732bc444bbb334d060de7d91d9cca6f00bc950ba289afa813783517dd3999437f89bc194290785805df7081606a65abb1db3fd3b3aa94ca')
validpgpkeys=('C693A034E1ED6EE954CAE2DA13DAD99C7E41519C' # Phil Pennock <pdp@exim.org>
'ACBB4324393ADE3515DA2DDA4D1E900E14C1CC04' # Phil Pennock <phil.pennock@spodhuis.org>
'E5CA331D44AB8E4C806FDBEE26101B62F69376CE' # Heiko Schlittermann (Exim MTA Maintainer) <heiko@exim.org>
'A986F3A6BD6377D8730958DEBCE58C8CE41F32DF') # Jeremy Harris <jgh@wizmail.org>
build() {
cd $_pkgname-$pkgver
cp ../$_pkgname.Makefile Local/Makefile
make
}
package() {
cd $_pkgname-$pkgver
install -Dm0644 ../exim.logrotate "$pkgdir"/etc/logrotate.d/exim
install -Dm0644 doc/exim.8 "$pkgdir"/usr/share/man/man8/exim.8
install -Dm0644 ../exim.sysusers "$pkgdir"/usr/lib/sysusers.d/exim.conf
install -Dm0644 ../exim.tmpfiles "$pkgdir"/usr/lib/tmpfiles.d/exim.conf
cd build-Linux-*
for i in exicyclog exim_checkaccess exim_dumpdb exim_lock exim_tidydb \
exipick exiqsumm exigrep exim_dbmbuild exim exim_fixdb eximstats exinext \
exiqgrep exiwhat; do
install -Dm0755 "$i" "$pkgdir"/usr/bin/$i
done
chmod u+s "$pkgdir"/usr/bin/exim
cd ../src
sed -e "s|/etc/aliases|/etc/mail/aliases|g" \
-e "s|SYSTEM_ALIASES_FILE|/etc/mail/aliases|g" \
configure.default | install -Dm0644 /dev/stdin "$pkgdir"/etc/mail/exim.conf
install -Dm0644 "$srcdir"/aliases "$pkgdir"/etc/mail/aliases
cd "$pkgdir"/usr/bin
for i in mailq newaliases rmail rsmtp runq sendmail; do
ln -s exim "$i"
done
# fhs compliancy
ln -s ../bin/exim ../lib/sendmail
install -Dm0644 "$srcdir"/exim-submission@.service \
"$pkgdir"/usr/lib/systemd/system/exim-submission@.service
install -Dm0644 "$srcdir"/exim.service \
"$pkgdir"/usr/lib/systemd/system/exim.service
install -Dm0644 "$srcdir"/exim@.service \
"$pkgdir"/usr/lib/systemd/system/exim@.service
install -Dm0644 "$srcdir"/exim.socket \
"$pkgdir"/usr/lib/systemd/system/exim.socket
install -Dm0644 "$srcdir"/exim-submission.socket \
"$pkgdir"/usr/lib/systemd/system/exim-submission.socket
}
|