blob: c80894b78e92cc8f5c0e8d5df11e2ea10246ffe2 (
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
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=procmail
pkgver=3.22
pkgrel=4
pkgdesc="Highly configurable auto mail processing"
url="http://www.procmail.org"
arch="all"
license="GPL"
makedepends="$depends_dev"
subpackages="$pkgname-doc"
source="ftp://ftp.informatik.rwth-aachen.de/pub/packages/procmail/procmail-$pkgver.tar.gz
procmail-3.22-getline.patch
CVE-2014-3618.patch
procmail-3.23pre.patch
"
options="!check" # Has no tests
builddir="$srcdir"/procmail-$pkgver
build() {
cd "$builddir"
make CFLAGS0="${CFLAGS}" LDFLAGS0="${LDFLAGS}" \
LOCKINGTEST="'$srcdir' ."
}
package() {
cd "$builddir"
make BASENAME="${pkgdir}"/usr MANDIR="${pkgdir}"/usr/share/man install
install -D -m644 Artistic ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
install -d -m755 ${pkgdir}/usr/share/doc/${pkgname}/examples
install -m644 examples/* ${pkgdir}/usr/share/doc/${pkgname}/examples/
}
sha512sums="3d0658329a55957a8d5741e03b0853b030c4524acef30641663213aa9eefc8264f8cc2b68a00a89e5f9f0f7c916c41a42e1b6c8df562c545ba97d8ab9049a936 procmail-3.22.tar.gz
b0a908a04d1af27b3ff98326d00d2dde3e6c0ed0d63eec1884bec6a5e9e8d8846140993322ef609b4a7eb882f077581b5a9d56d81c8160b7c29ca95a3aaca868 procmail-3.22-getline.patch
2d7f9983dd49afcb33de5a856bdc21cfd972b50e8df5ba46b2f61a521f32d842e50f73b34e32f8adbab2acb572d8da4f512bc9f7a2a909584a7b15be9ad9cfcd CVE-2014-3618.patch
2048e3098daff1cae351dc8212d716f07ed47cd7be64af661e795f3d77c08a082d07ef23e04288f0922b4eceb114917eac2c67046ac7e55146584dcf7e1fadc2 procmail-3.23pre.patch"
|