diff options
-rwxr-xr-x | boulder/PKGBUILD | 87 |
1 files changed, 0 insertions, 87 deletions
diff --git a/boulder/PKGBUILD b/boulder/PKGBUILD deleted file mode 100755 index db0a22ff..00000000 --- a/boulder/PKGBUILD +++ /dev/null @@ -1,87 +0,0 @@ -# Maintainer: Erich Eckner <arch at eckner dot net> -pkgname=boulder -pkgver=2020_06_01 -_pkgver="${pkgver//_/-}" -pkgrel=1 -pkgdesc='ACME-compatible X.509 Certificate Authority' -arch=('x86_64' 'i686' 'pentium4') -url='https://github.com/letsencrypt/boulder' -license=('MPL2') -groups=() -depends=( - 'libtool' -) -makedepends=( - 'go' -) -checkdepends=() -optdepends=() -provides=() -conflicts=() -replaces=() -backup=( - 'etc/boulder/config/admin-revoker.json' - 'etc/boulder/config/akamai-purger.json' - 'etc/boulder/config/ca-a.json' - 'etc/boulder/config/ca-b.json' - 'etc/boulder/config/cert-checker.json' - 'etc/boulder/config/contact-exporter.json' - 'etc/boulder/config/expiration-mailer.json' - 'etc/boulder/config/nonce.json' - 'etc/boulder/config/notify-mailer.json' - 'etc/boulder/config/ocsp-responder.json' - 'etc/boulder/config/ocsp-updater.json' - 'etc/boulder/config/orphan-finder.json' - 'etc/boulder/config/publisher.json' - 'etc/boulder/config/ra.json' - 'etc/boulder/config/sa.json' - 'etc/boulder/config/va.json' - 'etc/boulder/config/wfe.json' - 'etc/boulder/config/wfe2.json' - 'etc/boulder/data/' - 'etc/boulder/data/production-email.template' - 'etc/boulder/data/staging-email.template' -) -options=() -source=( - "${pkgname}-${_pkgver}.tar.gz::https://github.com/letsencrypt/${pkgname}/archive/release-${_pkgver}.tar.gz" -) -sha512sums=('3058a0f1c879792c2ebb2c2207b5475c5809ffcb3f1123c8c7e4e37ee22b9a70598e0741f2d7e3b85b0cb8b2bbbf23a9a717f19136417b9d7737be21535cb578') - -prepare() { - - cd "${pkgname}-release-${_pkgver}" - sed -i ' - / go install / s/ \$(GO_BUILD_FLAGS) / -buildmode=pie / - ' 'Makefile' - -} - -build() { - - cd "${pkgname}-release-${_pkgver}" - make - - find 'test/config' -type f \ - -exec sed -i ' - s@"test/@"@ - ' {} + - -} - -package() { - - cd "${pkgname}-release-${_pkgver}" - - install -d -m755 "${pkgdir}/usr/bin" - - find cmd -maxdepth 1 -mindepth 1 -type d -printf 'bin/%f\n' \ - | grep -vxF 'bin/testdata' \ - | xargs -r install -m755 -t "${pkgdir}/usr/bin/" - - install -D -m755 -t "${pkgdir}/etc/boulder/config" 'test/config/'* - install -D -m755 -t "${pkgdir}/etc/boulder/data" 'data/'* - install -d -m755 "${pkgdir}/var/lib/boulder/sa" - mv sa/_db "${pkgdir}/var/lib/boulder/sa" - -} |