mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 10:37:22 -08:00
net-ftp/tlswrap: use #!/sbin/openrc-run instead of #!/sbin/runscript
Gentoo-Bug: https://bugs.gentoo.org/573846 Package-Manager: portage-2.2.26
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2006 Gentoo Foundation
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="a TLS/SSL FTP wrapper/proxy which allows to use TLS with every FTP client"
|
||||
HOMEPAGE="http://www.tlswrap.com"
|
||||
SRC_URI="http://www.tlswrap.com/${P}.tar.gz"
|
||||
|
||||
# GPL-2 for Gentoo init script
|
||||
LICENSE="BSD GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="libressl"
|
||||
|
||||
DEPEND="!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:= )"
|
||||
RDEPEND=${DEPEND}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-libressl.patch"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake prefix="${D}/usr" install
|
||||
dodoc ChangeLog README
|
||||
newinitd "${FILESDIR}/tlswrap.init" tlswrap
|
||||
}
|
||||
Reference in New Issue
Block a user