Date: Sunday, July 18, 2021 @ 15:12:07 Author: jelle Revision: 978501
Make inn reproducible by not recording the hostname Modified: inn/trunk/PKGBUILD ----------+ PKGBUILD | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2021-07-18 14:41:39 UTC (rev 978500) +++ PKGBUILD 2021-07-18 15:12:07 UTC (rev 978501) @@ -4,7 +4,7 @@ pkgname=inn pkgver=2.6.4 -pkgrel=2 +pkgrel=3 pkgdesc="Complete open source Usenet system. De facto standard for handling news routing, news spool and serving the spool to customers." url="https://www.isc.org/othersoftware/" arch=('x86_64') @@ -65,6 +65,12 @@ 'f58a06718396628bf110de21c052cf29c0d2e7bd0c7bd645d43b592b6ac549d4' 'a8c269bc006eb39a140af1538a0812c54ea11f444867c28f5e9792bfdd4df71a') +prepare() { + cd "$srcdir"/inn-$pkgver + # Override unreproducible hostname + sed -i 's/HOSTNAME=`hostname 2> \/dev\/null || uname -n`/HOSTNAME=archlinux/' configure +} + build() { cd "$srcdir"/inn-$pkgver CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
