aboutsummaryrefslogtreecommitdiffstats
path: root/main/postfix/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/postfix/APKBUILD')
-rw-r--r--main/postfix/APKBUILD27
1 files changed, 16 insertions, 11 deletions
diff --git a/main/postfix/APKBUILD b/main/postfix/APKBUILD
index 4e093c6d29..cbbc10da42 100644
--- a/main/postfix/APKBUILD
+++ b/main/postfix/APKBUILD
@@ -2,15 +2,15 @@
# Contributor: Ɓukasz Jendrysik <scadu@yandex.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=postfix
-pkgver=3.1.1
+pkgver=3.1.3
pkgrel=0
pkgdesc="Secure and fast drop-in replacement for Sendmail (MTA)"
url="http://www.postfix.org/"
arch="all"
license="IPL-1"
depends=
-makedepends="db-dev pcre-dev openssl-dev postgresql-dev mariadb-dev openldap-dev
- cyrus-sasl-dev perl file sqlite-dev linux-headers"
+makedepends="db-dev pcre-dev libressl-dev postgresql-dev mariadb-dev openldap-dev
+ cyrus-sasl-dev perl file sqlite-dev linux-headers coreutils"
install="$pkgname.pre-install"
subpackages="$pkgname-doc $pkgname-ldap $pkgname-mysql $pkgname-pcre
$pkgname-pgsql $pkgname-sqlite $pkgname-stone"
@@ -21,6 +21,7 @@ source="ftp://ftp.porcupine.org/mirrors/$pkgname-release/official/$pkgname-$pkgv
$pkgname.initd
no-glibc.patch
postfix-install.patch
+ libressl.patch
"
_shared_libs() {
@@ -47,7 +48,7 @@ build() {
cd $_builddir
# needed for dynamic maps.
local ccargs="-DHAS_SHL_LOAD -DDEF_DAEMON_DIR=\\\"/usr/lib/postfix\\\""
- local auxlibs="$LDFLAGS -lpthread -lcrypt"
+ local auxlibs="$LDFLAGS"
# pcre
ccargs="$ccargs -DHAS_PCRE $(pkg-config --cflags libpcre)"
@@ -70,7 +71,7 @@ build() {
ccargs="$ccargs -DHAS_MYSQL $(mysql_config --include)"
# ldap
- ccargs="$ccargs -DHAS_LDAP"
+ ccargs="$ccargs -DHAS_LDAP -DUSE_LDAP_SASL"
# sqlite
ccargs="$ccargs -DHAS_SQLITE $(pkg-config --cflags sqlite3)"
@@ -112,6 +113,7 @@ package() {
install_root="$pkgdir" \
readme_directory=/usr/share/doc/$pkgname/readme \
manpage_directory=/usr/share/man \
+ shlib_directory=/usr/lib/postfix \
|| return 1
for i in postdrop postqueue; do
@@ -167,15 +169,18 @@ stone() {
find src/smtpstone -perm 0755 -exec cp {} "$subpkgdir"/usr/bin \;
}
-md5sums="40d72ea143af7ab0038c2cee1f483707 postfix-3.1.1.tar.gz
+md5sums="28a1dedbbbedfcf5fc09fd88bac116b6 postfix-3.1.3.tar.gz
82c78ea8cb77a55f563d2086b73c36e2 postfix.initd
b7ed1614fafb5fed6253b1a62f76b709 no-glibc.patch
-3c58426d21611dd4eb1f93e924b349a1 postfix-install.patch"
-sha256sums="3deda4c34631970490b1b5fbb559905f93531bf1c7eb00e38b0d0deb1dba9982 postfix-3.1.1.tar.gz
+3c58426d21611dd4eb1f93e924b349a1 postfix-install.patch
+0dd5ea7b09cdfdf8ee1379cff5664391 libressl.patch"
+sha256sums="52f8127e6797e2617a36d0afb9473c55e95c3a777b6280df3f106168fd814979 postfix-3.1.3.tar.gz
2f744cfe9c3a0bac8e15c1e2347ff38283cb323617740f853e01d9eade7957ee postfix.initd
e8d7c4b3edab2388c9aba6c9ce70ff141ae7aacbd6480e233711241d90b14563 no-glibc.patch
-7185d2b2e4d7cc090b958c1d372c16e15f274465e2123686a0d97db20e2b5943 postfix-install.patch"
-sha512sums="e094dae3c3aaf6be23edefb7863d2f9fb57cd4e705464f17799fa4f71f9877efdf3f59ceb1970457a0dc6e6f3237ee06131f4ce1b21a5db9a61fe0c5f95a219d postfix-3.1.1.tar.gz
+7185d2b2e4d7cc090b958c1d372c16e15f274465e2123686a0d97db20e2b5943 postfix-install.patch
+ed9864b3ee8ef756f0438b743012dc91cf702d0bfa04736761ca2799156ec1be libressl.patch"
+sha512sums="00e2b0974e59420cabfddc92597a99b42c8a8c9cd9a0c279c63ba6be9f40b15400f37dc16d0b1312130e72b5ba82b56fc7d579ee9ef975a957c0931b0401213c postfix-3.1.3.tar.gz
2752e69c4e1857bdcf29444ffb458bca818bc60b9c77c20823c5f5b87c36cb5e0f3217a625a7fe5788d5bfcef7570a1f2149e1233fcd23ccf7ee14190aff47a2 postfix.initd
cf9ef0d07e54011107da57e2855cbda10047c100047e2cc2fdede072ace1fc6c060a6b1cfc8c277417a28a23ecd3c6ffdc061da1673e8f61d2ed11899f1efb25 no-glibc.patch
-25cd34f23ca909d4e33aaf3239d1e397260abc7796d9a4456dee4f005682fd3a58aab8106126e5218c95bdddae415a3ef7e2223cd3b0d7b1e2bd76158bb7eaf8 postfix-install.patch"
+25cd34f23ca909d4e33aaf3239d1e397260abc7796d9a4456dee4f005682fd3a58aab8106126e5218c95bdddae415a3ef7e2223cd3b0d7b1e2bd76158bb7eaf8 postfix-install.patch
+753b4e9e5cbad0b6af01152903b73e0b95018ed3f3152a67f366c38497bca7b54b139acb444841e0c8ce2a5efdd0224172fe57c2d24a12a37a9bd8440aa793c2 libressl.patch"