mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
app-crypt/acme-sh: new ebuild
A pure Unix shell script implementing ACME client protocol Signed-off-by: Vladimir Pavljuchenkov <spiderx@spiderx.dp.ua> Package-Manager: Portage-2.3.49, Repoman-2.3.11 Closes: https://github.com/gentoo/gentoo/pull/10139 Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
committed by
Michał Górny
parent
bed7c10fb7
commit
8c80c15d06
1
app-crypt/acme-sh/Manifest
Normal file
1
app-crypt/acme-sh/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST acme.sh-2.7.9.tar.gz 110323 BLAKE2B 244afad17ddf17fa95a11d5af7943a153ed37e67ef304511787767a5d769f9cd22fb66875d637f2d536cce8942e4feee0c442af8349a32a91940b1fbbc2e879c SHA512 24374783ca52835b400b84316ffab5e9066805362f02082f8ef409e21ca590d837b3dd11401633947f9fcc98dc977b0e8b6076d5deecd02b38478f257500a052
|
||||
44
app-crypt/acme-sh/acme-sh-2.7.9.ebuild
Normal file
44
app-crypt/acme-sh/acme-sh-2.7.9.ebuild
Normal file
@@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
MY_PN="${PN/-/.}"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="An ACME Shell script"
|
||||
HOMEPAGE="https://github.com/Neilpang/acme.sh"
|
||||
SRC_URI="https://github.com/Neilpang/${MY_PN}/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="net-misc/curl
|
||||
|| ( dev-libs/libressl dev-libs/openssl:0 )
|
||||
|| ( net-analyzer/netcat6 net-analyzer/openbsd-netcat )
|
||||
|| ( net-misc/socat www-servers/apache:2 www-servers/nginx:0 )
|
||||
virtual/cron"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_install() {
|
||||
einstalldocs
|
||||
newdoc dnsapi/README.md README-dnsapi.md
|
||||
newdoc deploy/README.md README-deploy.md
|
||||
|
||||
keepdir /etc/acme-sh
|
||||
doenvd "${FILESDIR}"/99acme-sh
|
||||
insinto /etc/bash/bashrc.d
|
||||
doins "${FILESDIR}"/acme.sh
|
||||
|
||||
exeinto /usr/share/acme.sh
|
||||
doexe acme.sh
|
||||
insinto /usr/share/acme.sh/dnsapi
|
||||
doins -r dnsapi/*.sh
|
||||
insinto /usr/share/acme.sh/deploy
|
||||
doins -r deploy/*.sh
|
||||
|
||||
dosym ../share/acme.sh/acme.sh usr/bin/acme.sh
|
||||
}
|
||||
43
app-crypt/acme-sh/acme-sh-9999.ebuild
Normal file
43
app-crypt/acme-sh/acme-sh-9999.ebuild
Normal file
@@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
EGIT_REPO_URI="https://github.com/Neilpang/${PN/-/.}.git"
|
||||
|
||||
inherit git-r3
|
||||
|
||||
DESCRIPTION="An ACME Shell script"
|
||||
HOMEPAGE="https://github.com/Neilpang/acme.sh"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="net-misc/curl
|
||||
|| ( dev-libs/libressl dev-libs/openssl:0 )
|
||||
|| ( net-analyzer/netcat6 net-analyzer/openbsd-netcat )
|
||||
|| ( net-misc/socat www-servers/apache:2 www-servers/nginx:0 )
|
||||
virtual/cron"
|
||||
|
||||
src_install() {
|
||||
einstalldocs
|
||||
newdoc dnsapi/README.md README-dnsapi.md
|
||||
newdoc deploy/README.md README-deploy.md
|
||||
|
||||
keepdir /etc/acme-sh
|
||||
doenvd "${FILESDIR}"/99acme-sh
|
||||
insinto /etc/bash/bashrc.d
|
||||
doins "${FILESDIR}"/acme.sh
|
||||
|
||||
exeinto /usr/share/acme.sh
|
||||
doexe acme.sh
|
||||
insinto /usr/share/acme.sh/dnsapi
|
||||
doins -r dnsapi/*.sh
|
||||
insinto /usr/share/acme.sh/deploy
|
||||
doins -r deploy/*.sh
|
||||
|
||||
dosym ../share/acme.sh/acme.sh usr/bin/acme.sh
|
||||
}
|
||||
2
app-crypt/acme-sh/files/99acme-sh
Normal file
2
app-crypt/acme-sh/files/99acme-sh
Normal file
@@ -0,0 +1,2 @@
|
||||
LE_WORKING_DIR="/etc/acme-sh/"
|
||||
LE_CONFIG_HOME="/etc/acme-sh/"
|
||||
1
app-crypt/acme-sh/files/acme.sh
Normal file
1
app-crypt/acme-sh/files/acme.sh
Normal file
@@ -0,0 +1 @@
|
||||
alias acme.sh="/usr/bin/acme.sh --config-home '/etc/acme-sh/'"
|
||||
19
app-crypt/acme-sh/metadata.xml
Normal file
19
app-crypt/acme-sh/metadata.xml
Normal file
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>spiderx@spiderx.dp.ua</email>
|
||||
<name>Vladimir Pavljuchenkov</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
A shell script to automatically issue and renew the free certificates
|
||||
from Let's Encrypt
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">Neilpang/acme.sh</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user