sqmail: rebuild from release tarball.

This commit is contained in:
Leah Neukirchen 2020-05-04 22:52:13 +02:00
parent 58a8b9a01b
commit 181d38d81a

View file

@ -1,7 +1,7 @@
# Template file for 'sqmail' # Template file for 'sqmail'
pkgname=sqmail pkgname=sqmail
version=4.0.06 version=4.0.06
revision=1 revision=2
create_wrksrc=yes create_wrksrc=yes
build_wrksrc="mail/${pkgname}/${pkgname}-${version}/src" build_wrksrc="mail/${pkgname}/${pkgname}-${version}/src"
makedepends="fehQlibs libidn2-devel ucspi-ssl-devel" makedepends="fehQlibs libidn2-devel ucspi-ssl-devel"
@ -11,7 +11,7 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
license="Public Domain" license="Public Domain"
homepage="https://www.fehcom.de/sqmail/sqmail.html" homepage="https://www.fehcom.de/sqmail/sqmail.html"
distfiles="https://www.fehcom.de/sqmail/sqmail-${version}.tgz" distfiles="https://www.fehcom.de/sqmail/sqmail-${version}.tgz"
checksum=4782ea42ec194be0259b14ec329846e40b6c41f3499d67433c8ac5df97d85253 checksum=65eb32f28431d6b5343d05d3e8fb7cd218bf819d92215216599bed6161ad5c00
nocross="custom build system" nocross="custom build system"
provides="smtp-server-0_1" provides="smtp-server-0_1"
replaces="smtp-server>=0" replaces="smtp-server>=0"
@ -59,10 +59,6 @@ _sqmtls_descr="sqmail TLS user"
_sqmtls_pgroup="_nofiles" _sqmtls_pgroup="_nofiles"
_sqmtls_homedir="/var/qmail/ssl" _sqmtls_homedir="/var/qmail/ssl"
post_extract() {
vsed -i '1s/einclude/#include/' $build_wrksrc/qmail-smtpd.c
}
do_configure() { do_configure() {
pwd >home pwd >home
echo "${CC} ${CFLAGS} -DIDN2 -I${XBPS_CROSS_BASE}/usr/include/fehQlibs" >../conf-cc echo "${CC} ${CFLAGS} -DIDN2 -I${XBPS_CROSS_BASE}/usr/include/fehQlibs" >../conf-cc