From: | "Ulrich Mueller (ulm)" <ulm@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-ftp/netkit-ftpd: ChangeLog netkit-ftpd-0.17-r6.ebuild |
Date: | Sun, 30 Dec 2007 20:38:41 |
Message-Id: | E1J94vX-0006nT-Ml@stork.gentoo.org |
1 | ulm 07/12/30 20:38:31 |
2 | |
3 | Modified: ChangeLog |
4 | Added: netkit-ftpd-0.17-r6.ebuild |
5 | Log: |
6 | Replace call to docert by install_cert, bug #201675. |
7 | (Portage version: 2.1.4_rc11) |
8 | |
9 | Revision Changes Path |
10 | 1.8 net-ftp/netkit-ftpd/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-ftp/netkit-ftpd/ChangeLog?rev=1.8&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-ftp/netkit-ftpd/ChangeLog?rev=1.8&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-ftp/netkit-ftpd/ChangeLog?r1=1.7&r2=1.8 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/net-ftp/netkit-ftpd/ChangeLog,v |
19 | retrieving revision 1.7 |
20 | retrieving revision 1.8 |
21 | diff -u -r1.7 -r1.8 |
22 | --- ChangeLog 6 May 2007 10:59:35 -0000 1.7 |
23 | +++ ChangeLog 30 Dec 2007 20:38:31 -0000 1.8 |
24 | @@ -1,6 +1,11 @@ |
25 | # ChangeLog for net-ftp/netkit-ftpd |
26 | # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/net-ftp/netkit-ftpd/ChangeLog,v 1.7 2007/05/06 10:59:35 genone Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/net-ftp/netkit-ftpd/ChangeLog,v 1.8 2007/12/30 20:38:31 ulm Exp $ |
29 | + |
30 | +*netkit-ftpd-0.17-r6 (30 Dec 2007) |
31 | + |
32 | + 30 Dec 2007; Ulrich Mueller <ulm@g.o> +netkit-ftpd-0.17-r6.ebuild: |
33 | + Replace call to docert by install_cert, bug #201675. |
34 | |
35 | 06 May 2007; Marius Mauch <genone@g.o> netkit-ftpd-0.17-r4.ebuild, |
36 | netkit-ftpd-0.17-r5.ebuild: |
37 | |
38 | |
39 | |
40 | 1.1 net-ftp/netkit-ftpd/netkit-ftpd-0.17-r6.ebuild |
41 | |
42 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-ftp/netkit-ftpd/netkit-ftpd-0.17-r6.ebuild?rev=1.1&view=markup |
43 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-ftp/netkit-ftpd/netkit-ftpd-0.17-r6.ebuild?rev=1.1&content-type=text/plain |
44 | |
45 | Index: netkit-ftpd-0.17-r6.ebuild |
46 | =================================================================== |
47 | # Copyright 1999-2007 Gentoo Foundation |
48 | # Distributed under the terms of the GNU General Public License v2 |
49 | # $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 $ |
50 | |
51 | inherit eutils ssl-cert |
52 | |
53 | MY_P="linux-ftpd-${PV}" |
54 | DESCRIPTION="The netkit FTP server with optional SSL support" |
55 | HOMEPAGE="http://www.hcs.harvard.edu/~dholland/computers/netkit.html" |
56 | SRC_URI="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/${MY_P}.tar.gz |
57 | mirror://gentoo/${MY_P}-ssl.patch" |
58 | |
59 | LICENSE="as-is" |
60 | SLOT="0" |
61 | KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~s390 ~sh ~sparc ~x86" |
62 | IUSE="ssl" |
63 | |
64 | DEPEND="ssl? ( dev-libs/openssl )" |
65 | RDEPEND="${DEPEND} |
66 | virtual/inetd" |
67 | |
68 | S=${WORKDIR}/${MY_P} |
69 | |
70 | src_unpack() { |
71 | unpack ${MY_P}.tar.gz |
72 | cd "${S}" |
73 | use ssl && epatch "${DISTDIR}"/${MY_P}-ssl.patch "${FILESDIR}"/${P}-cleanup-ssl.patch |
74 | epatch "${FILESDIR}"/${P}-cleanup.patch |
75 | epatch "${FILESDIR}"/${P}-build.patch |
76 | epatch "${FILESDIR}"/${P}-shadowfix.patch |
77 | epatch "${FILESDIR}"/${P}-gcc41.patch |
78 | epatch "${FILESDIR}"/${P}-setguid.patch |
79 | } |
80 | |
81 | src_compile() { |
82 | ./configure --prefix=/usr || die "configure failed" |
83 | emake || die "parallel make failed" |
84 | } |
85 | |
86 | src_install() { |
87 | dobin ftpd/ftpd || die |
88 | doman ftpd/ftpd.8 |
89 | dodoc README ChangeLog |
90 | insinto /etc/xinetd.d |
91 | newins "${FILESDIR}"/ftp.xinetd ftp |
92 | } |
93 | |
94 | pkg_postinst() { |
95 | if use ssl ; then |
96 | install_cert /etc/ssl/certs/ftpd |
97 | elog "In order to start the server with SSL support" |
98 | elog "You need a certificate /etc/ssl/certs/ftpd.pem." |
99 | elog "A temporary certificiate has been created." |
100 | fi |
101 | } |
102 | |
103 | |
104 | |
105 | -- |
106 | gentoo-commits@g.o mailing list |