From fd4125a3e21e902bee51b8c392b2005b0d4a92e1 Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Wed, 16 Aug 2023 18:27:13 -0400 Subject: [PATCH] elog: fix fetch --- srcpkgs/elog/template | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/srcpkgs/elog/template b/srcpkgs/elog/template index d50b39cc333..1909e5a9c22 100644 --- a/srcpkgs/elog/template +++ b/srcpkgs/elog/template @@ -4,17 +4,20 @@ version=3.1.4.3 revision=1 _distver="${version:0:-2}-${version:(-1)}" build_style=gnu-makefile -CFLAGS="-Imxml" make_dirs="/var/lib/elog/logbooks 0750 elog elog" +makedepends="openssl-devel" conf_files="/etc/elog/elogd.cfg" -system_accounts="elog" short_desc="Logbook system to manage notes through a Web interface" maintainer="Christian Poulwey " -makedepends="openssl-devel" license="GPL-3.0-or-later" homepage="https://elog.psi.ch/elog/" -distfiles="https://elog.psi.ch/elog/download/tar/$pkgname-$_distver.tar.gz" +distfiles="https://elog.psi.ch/elog/download/tar/elog-$_distver.tar.gz" checksum=e684917c6bbdfbafcbd9012dd5914bd5f3ee14f31f89e12ddb21bc4b41baba03 +# certificate is invalid and http:// 302 redirects to https:// +fetch_cmd="env SSL_NO_VERIFY_PEER=1 $XBPS_FETCH_CMD" +system_accounts="elog" + +CFLAGS="-Imxml" do_install() { vbin elog