diff options
author | Ulrich Müller <ulm@gentoo.org> | 2007-12-30 20:38:31 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2007-12-30 20:38:31 +0000 |
commit | fbcb52b5848930213945f1a691271ef514c75bbb (patch) | |
tree | c3cea56ad4466b50cc120a335d307bc1488707c7 /net-ftp | |
parent | * bump (diff) | |
download | gentoo-2-fbcb52b5848930213945f1a691271ef514c75bbb.tar.gz gentoo-2-fbcb52b5848930213945f1a691271ef514c75bbb.tar.bz2 gentoo-2-fbcb52b5848930213945f1a691271ef514c75bbb.zip |
Replace call to docert by install_cert, bug #201675.
(Portage version: 2.1.4_rc11)
Diffstat (limited to 'net-ftp')
-rw-r--r-- | net-ftp/netkit-ftpd/ChangeLog | 7 | ||||
-rw-r--r-- | net-ftp/netkit-ftpd/files/digest-netkit-ftpd-0.17-r6 | 6 | ||||
-rw-r--r-- | net-ftp/netkit-ftpd/netkit-ftpd-0.17-r6.ebuild | 55 |
3 files changed, 67 insertions, 1 deletions
diff --git a/net-ftp/netkit-ftpd/ChangeLog b/net-ftp/netkit-ftpd/ChangeLog index d7e684b01db0..5133c26f65cb 100644 --- a/net-ftp/netkit-ftpd/ChangeLog +++ b/net-ftp/netkit-ftpd/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-ftp/netkit-ftpd # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-ftp/netkit-ftpd/ChangeLog,v 1.7 2007/05/06 10:59:35 genone Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-ftp/netkit-ftpd/ChangeLog,v 1.8 2007/12/30 20:38:31 ulm Exp $ + +*netkit-ftpd-0.17-r6 (30 Dec 2007) + + 30 Dec 2007; Ulrich Mueller <ulm@gentoo.org> +netkit-ftpd-0.17-r6.ebuild: + Replace call to docert by install_cert, bug #201675. 06 May 2007; Marius Mauch <genone@gentoo.org> netkit-ftpd-0.17-r4.ebuild, netkit-ftpd-0.17-r5.ebuild: diff --git a/net-ftp/netkit-ftpd/files/digest-netkit-ftpd-0.17-r6 b/net-ftp/netkit-ftpd/files/digest-netkit-ftpd-0.17-r6 new file mode 100644 index 000000000000..9c0de1ba222e --- /dev/null +++ b/net-ftp/netkit-ftpd/files/digest-netkit-ftpd-0.17-r6 @@ -0,0 +1,6 @@ +MD5 0b9185d5144904798b721354ea9ff156 linux-ftpd-0.17-ssl.patch 36459 +RMD160 5a0d7301f69b4c1714f36419f98134f9aa0ce874 linux-ftpd-0.17-ssl.patch 36459 +SHA256 0082ee6a71fdd83f61e63166f7bbba97c204cdc67f9e1bf10f2df31590fba780 linux-ftpd-0.17-ssl.patch 36459 +MD5 f5f491564812db5d8783daa538c49186 linux-ftpd-0.17.tar.gz 46763 +RMD160 869e410d8f063c764c04f1d3b41b625a9d679d22 linux-ftpd-0.17.tar.gz 46763 +SHA256 65a0b249e38bf3c3a16dbd4d3edd2657683ca8f47b307e92007f378b21d2fa65 linux-ftpd-0.17.tar.gz 46763 diff --git a/net-ftp/netkit-ftpd/netkit-ftpd-0.17-r6.ebuild b/net-ftp/netkit-ftpd/netkit-ftpd-0.17-r6.ebuild new file mode 100644 index 000000000000..068bc031ddba --- /dev/null +++ b/net-ftp/netkit-ftpd/netkit-ftpd-0.17-r6.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-ftp/netkit-ftpd/netkit-ftpd-0.17-r6.ebuild,v 1.1 2007/12/30 20:38:31 ulm Exp $ + +inherit eutils ssl-cert + +MY_P="linux-ftpd-${PV}" +DESCRIPTION="The netkit FTP server with optional SSL support" +HOMEPAGE="http://www.hcs.harvard.edu/~dholland/computers/netkit.html" +SRC_URI="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/${MY_P}.tar.gz + mirror://gentoo/${MY_P}-ssl.patch" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~s390 ~sh ~sparc ~x86" +IUSE="ssl" + +DEPEND="ssl? ( dev-libs/openssl )" +RDEPEND="${DEPEND} + virtual/inetd" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${MY_P}.tar.gz + cd "${S}" + use ssl && epatch "${DISTDIR}"/${MY_P}-ssl.patch "${FILESDIR}"/${P}-cleanup-ssl.patch + epatch "${FILESDIR}"/${P}-cleanup.patch + epatch "${FILESDIR}"/${P}-build.patch + epatch "${FILESDIR}"/${P}-shadowfix.patch + epatch "${FILESDIR}"/${P}-gcc41.patch + epatch "${FILESDIR}"/${P}-setguid.patch +} + +src_compile() { + ./configure --prefix=/usr || die "configure failed" + emake || die "parallel make failed" +} + +src_install() { + dobin ftpd/ftpd || die + doman ftpd/ftpd.8 + dodoc README ChangeLog + insinto /etc/xinetd.d + newins "${FILESDIR}"/ftp.xinetd ftp +} + +pkg_postinst() { + if use ssl ; then + install_cert /etc/ssl/certs/ftpd + elog "In order to start the server with SSL support" + elog "You need a certificate /etc/ssl/certs/ftpd.pem." + elog "A temporary certificiate has been created." + fi +} |