Commit bcaaa07
0
plików
+0
dodanych
-0
usuniętych
@@ -71,14 +71,38 @@ footprint_cyrus-sasl_man: "drwxr-xr-x\troot/root\tusr/share/man/\ndrwxr-xr-x\tro
71
71
root/root\tusr/share/man/man8/testsaslauthd.8.gz\n"
72
72
footprint_cyrus-sasl_service: "drwxr-xr-x\troot/root\tusr/lib/systemd/\ndrwxr-xr-x\troot/root\tusr/lib/systemd/system/\n-rw-r--r--\t\
73
73
root/root\tusr/lib/systemd/system/saslauthd.service\n"
74
-build: "cd ${pkgname}-${pkgname}-${pkgver}\npatch -Np1 -i ../cyrus-sasl-2.1.28-gcc15_fixes-1.patch\nautoreconf -fiv\nsed '/saslint/a\
75
- \ #include <time.h>' -i lib/saslutil.c\nsed '/plugin_common/a #include <time.h>' -i plugins/cram.c\ncd /tmp/src-cyrus-sasl-2.1.28\n\
76
- cd ${pkgname}-${pkgname}-${pkgver}\n./configure --prefix=/usr \\\n --sbindir=/usr/bin \\\n\t--sysconfdir=/etc\
77
- \ \\\n\t--mandir=/usr/share/man \\\n\t--enable-auth-sasldb \\\n\t--with-dbpath=/var/lib/sasl/sasldb2 \\\n\t--with-saslauthd=/var/run/saslauthd\n\
78
- \nmake\nmake DESTDIR=${PKGDIR} install\ninstall -v -m700 -d ${PKGDIR}/var/lib/sasl ${PKGDIR}/var/run/saslauthd\n\n# Obsolets\
79
- \ libs\nrm -f ${PKGDIR}/usr/lib/libsasl2.la\nrm -f ${PKGDIR}/usr/lib/sasl2/libanonymous.la\nrm -f ${PKGDIR}/usr/lib/sasl2/libcrammd5.la\n\
80
- rm -f ${PKGDIR}/usr/lib/sasl2/libdigestmd5.la\nrm -f ${PKGDIR}/usr/lib/sasl2/libotp.la\nrm -f ${PKGDIR}/usr/lib/sasl2/libplain.la\n\
81
- rm -f ${PKGDIR}/usr/lib/sasl2/libsasldb.la\nrm -f ${PKGDIR}/usr/lib/sasl2/libscram.la\n\n# Service\ncd ./pagan-scripts-20260822\n\
82
- make DESTDIR=${PKGDIR} install-sysd-saslauthd\n"
74
+build: |
75
+ cd ${pkgname}-${pkgname}-${pkgver}
76
+ patch -Np1 -i ../cyrus-sasl-2.1.28-gcc15_fixes-1.patch
77
+ autoreconf -fiv
78
+ sed '/saslint/a #include <time.h>' -i lib/saslutil.c
79
+ sed '/plugin_common/a #include <time.h>' -i plugins/cram.c
80
+
81
+ ./configure --prefix=/usr \
82
+ --sbindir=/usr/bin \
83
+ --sysconfdir=/etc \
84
+ --mandir=/usr/share/man \
85
+ --enable-auth-sasldb \
86
+ --with-dbpath=/var/lib/sasl/sasldb2 \
87
+ --with-saslauthd=/var/run/saslauthd
88
+
89
+ make
90
+ make DESTDIR=${PKGDIR} install
91
+ install -v -m700 -d ${PKGDIR}/var/lib/sasl ${PKGDIR}/var/run/saslauthd
92
+
93
+ # Obsolete libs
94
+ rm -f ${PKGDIR}/usr/lib/libsasl2.la
95
+ rm -f ${PKGDIR}/usr/lib/sasl2/libanonymous.la
96
+ rm -f ${PKGDIR}/usr/lib/sasl2/libcrammd5.la
97
+ rm -f ${PKGDIR}/usr/lib/sasl2/libdigestmd5.la
98
+ rm -f ${PKGDIR}/usr/lib/sasl2/libotp.la
99
+ rm -f ${PKGDIR}/usr/lib/sasl2/libplain.la
100
+ rm -f ${PKGDIR}/usr/lib/sasl2/libsasldb.la
101
+ rm -f ${PKGDIR}/usr/lib/sasl2/libscram.la
102
+
103
+ # Service
104
+ cd ../pagan-scripts-20260822
105
+ make DESTDIR=${PKGDIR} install-sysd-saslauthd
106
+
83
107
package: |
84
108
true