48 lines
1.2 KiB
Text
48 lines
1.2 KiB
Text
# Maintainer: PktSurf <smlinux@pktsurf.in>
|
|
app=opendkim
|
|
version=2.10.3
|
|
build=1sml
|
|
homepage="http://opendkim.org/"
|
|
download="http://downloads.sourceforge.net/opendkim/opendkim-2.10.3.tar.gz"
|
|
desc="Implementation of the DKIM sender authentication system"
|
|
requires="db openssl libmilter"
|
|
|
|
prepbuilddir() {
|
|
mkandenterbuilddir
|
|
rm -rf $app-$version
|
|
|
|
tar xf $srcdir/$app-$version.tar.?z*
|
|
cd $app-$version
|
|
fixbuilddirpermissions
|
|
|
|
applypatch $srcdir/openssl_1.1.0_compat.patch
|
|
|
|
autoreconf -vi
|
|
}
|
|
|
|
build() {
|
|
./configure \
|
|
--prefix=/usr \
|
|
--sbindir=/usr/bin \
|
|
--sysconfdir=/etc \
|
|
--localstatedir=/var \
|
|
--with-db \
|
|
--with-openssl \
|
|
--with-libcurl
|
|
|
|
make
|
|
make install DESTDIR=$pkg
|
|
|
|
install -Dm 640 opendkim/opendkim.conf.simple $pkg/etc/opendkim/opendkim.conf.new
|
|
|
|
cp LICENSE* $pkgdocs/
|
|
|
|
preprunitservice -s opendkim -d
|
|
|
|
mkfinalpkg
|
|
}
|
|
|
|
sha512sums="
|
|
97923e533d072c07ae4d16a46cbed95ee799aa50f19468d8bc6d1dc534025a8616c3b4b68b5842bc899b509349a2c9a67312d574a726b048c0ea46dd4fcc45d8 opendkim-2.10.3.tar.gz
|
|
f971979c5687286213218a5f0b420ed3593c262231717fb85eeee51762acde9b6e6fa0be5c7731e2da1fcf2d6761dfb3e9d6a1477ec9675fd2bbefceb734799f openssl_1.1.0_compat.patch
|
|
"
|