FS#61903 - [hiawatha] obsolete install of letsencrypt's script in the PKGBUILD

Attached to Project: Community Packages
Opened by Armand (Kewl) - Sunday, 03 March 2019, 09:02 GMT
Last edited by Kyle Keen (keenerd) - Sunday, 12 May 2019, 12:35 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Kyle Keen (keenerd)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The script for letsencrypt since 10.9 is part of the CMake installation.
The previous installation in the PKGBUILD is now obsolete and should be removed:
mkdir -p "$pkgdir/usr/share/hiawatha/"
cd "$srcdir/$pkgname-$pkgver/extra/"
cp "$srcdir/letsencrypt-renew."* letsencrypt/
tar -caf "$pkgdir/usr/share/hiawatha/letsencrypt.tar.gz" letsencrypt/*

Additional info:
* package version(s) 10.9
* no upstream bug, PKGBUILD outdated
This task depends upon

Closed by  Kyle Keen (keenerd)
Sunday, 12 May 2019, 12:35 GMT
Reason for closing:  Fixed
Additional comments about closing:  hiawatha 10.9-2
Comment by Armand (Kewl) - Sunday, 03 March 2019, 09:47 GMT
also the letsencrypt.conf needs to be amended with:
sed -e 's|/etc/init.d/hiawatha restart|systemctl restart hiawatha.service|' -i letsencrypt.conf
Comment by Armand (Kewl) - Sunday, 03 March 2019, 10:18 GMT
it would also be helpful to copy service and timer for the lefh users
see here: https://wiki.archlinux.org/index.php/Hiawatha#Automation_with_a_systemd_timer
Comment by Armand (Kewl) - Wednesday, 13 March 2019, 20:19 GMT
Find attached my proposal for change (patch and final PKGBUILD) as well as the service and timer files. Happy to discuss if I missed something.
Comment by Kyle Keen (keenerd) - Sunday, 12 May 2019, 12:35 GMT
Apologies for missing this. Looks solid, thank you.

Loading...