aboutsummaryrefslogtreecommitdiffstats
path: root/community/acme-client/APKBUILD
diff options
context:
space:
mode:
authorScrumpyJack <scrumpyjack@st.ilet.to>2017-01-05 12:40:53 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-01-06 08:41:08 +0000
commit0b40d7adc34ad5f218876e5496de342698fd3f25 (patch)
tree8412b283e245fabac09faf362dbaafabefec12e2 /community/acme-client/APKBUILD
parenta3015a9fbf576406156c8931f3807630261a7961 (diff)
downloadaports-0b40d7adc34ad5f218876e5496de342698fd3f25.tar.bz2
aports-0b40d7adc34ad5f218876e5496de342698fd3f25.tar.xz
testing/acme-client: move to community
Successful testing over 3 months and 2 version, move to community.
Diffstat (limited to 'community/acme-client/APKBUILD')
-rw-r--r--community/acme-client/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/community/acme-client/APKBUILD b/community/acme-client/APKBUILD
new file mode 100644
index 0000000000..a6aa8c8b28
--- /dev/null
+++ b/community/acme-client/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
+# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
+pkgname=acme-client
+pkgver=0.1.15
+_ver=${pkgver//./_}
+pkgrel=2
+pkgdesc="An ACME client for Let's Encrypt written in C"
+url="https://github.com/kristapsdz/acme-client-portable"
+arch="all"
+license="ISC"
+depends="ca-certificates"
+makedepends="bsd-compat-headers libressl-dev"
+install=""
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/kristapsdz/acme-client-portable/archive/VERSION_$_ver.tar.gz
+ default-ca.patch
+ "
+
+builddir="$srcdir/acme-client-portable-VERSION_$_ver"
+
+build() {
+ cd "$builddir"
+ make PREFIX=/usr || return 1
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR=$pkgdir \
+ PREFIX=/usr \
+ MAN1DIR=/usr/share/man/man1 \
+ install || return 1
+ install -d "$pkgdir"/var/www/acme "$pkgdir"/etc/ssl/acme
+ install -dm0700 "$pkgdir"/etc/ssl/acme/private "$pkgdir"/etc/acme
+}
+
+md5sums="a4a84688c8e8700f60a2e5379cd0af48 acme-client-0.1.15.tar.gz
+00fcc789b98a41df6ffbfdf0a3539661 default-ca.patch"
+sha256sums="05d60ef179fa26a4f7026dfb086a267274016438787f6c72135bedfded3e44b7 acme-client-0.1.15.tar.gz
+bff603a1457b5bd619105596c6ccc9a8b1d4a459afe74f644c321d56411af77a default-ca.patch"
+sha512sums="3d78dc152aceaf1712f2deb19923a1b998b1f93cf86b4e0c1918abcd01e074318ee4874dec17aadf07cdfbd4ab266c4985608aecfddbbd785314e96a147d84eb acme-client-0.1.15.tar.gz
+ff416bad782a60675e0c42c8f611902403f3bdb3daf4e006434cf07837d4c7998e90eef0701f789672495f7cde2d158953f9365055e834619c2ccf52328598ed default-ca.patch"