From: | "Michael Haubenwallner (haubi)" <haubi@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-ftp/ftpbase: ChangeLog ftpbase-0.01-r2.ebuild |
Date: | Mon, 26 Apr 2010 09:54:47 |
Message-Id: | 20100426095444.244662C04C@corvid.gentoo.org |
1 | haubi 10/04/26 09:54:44 |
2 | |
3 | Modified: ChangeLog |
4 | Added: ftpbase-0.01-r2.ebuild |
5 | Log: |
6 | no need collision protect inside ebuild any more, breaks binary packages (bug #300139) |
7 | (Portage version: 2.1.8.3/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.23 net-ftp/ftpbase/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-ftp/ftpbase/ChangeLog?rev=1.23&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-ftp/ftpbase/ChangeLog?rev=1.23&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-ftp/ftpbase/ChangeLog?r1=1.22&r2=1.23 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/net-ftp/ftpbase/ChangeLog,v |
19 | retrieving revision 1.22 |
20 | retrieving revision 1.23 |
21 | diff -u -r1.22 -r1.23 |
22 | --- ChangeLog 24 May 2008 13:41:08 -0000 1.22 |
23 | +++ ChangeLog 26 Apr 2010 09:54:43 -0000 1.23 |
24 | @@ -1,6 +1,13 @@ |
25 | # ChangeLog for net-ftp/ftpbase |
26 | -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/net-ftp/ftpbase/ChangeLog,v 1.22 2008/05/24 13:41:08 maekke Exp $ |
28 | +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 | +# $Header: /var/cvsroot/gentoo-x86/net-ftp/ftpbase/ChangeLog,v 1.23 2010/04/26 09:54:43 haubi Exp $ |
30 | + |
31 | +*ftpbase-0.01-r2 (26 Apr 2010) |
32 | + |
33 | + 26 Apr 2010; Michael Haubenwallner <haubi@g.o> |
34 | + +ftpbase-0.01-r2.ebuild: |
35 | + no need collision protect inside ebuild any more, breaks binary packages |
36 | + (bug #300139) |
37 | |
38 | 24 May 2008; Markus Meier <maekke@g.o> ftpbase-0.01-r1.ebuild: |
39 | amd64 stable, bug #222151 |
40 | |
41 | |
42 | |
43 | 1.1 net-ftp/ftpbase/ftpbase-0.01-r2.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-ftp/ftpbase/ftpbase-0.01-r2.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-ftp/ftpbase/ftpbase-0.01-r2.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: ftpbase-0.01-r2.ebuild |
49 | =================================================================== |
50 | # Copyright 1999-2010 Gentoo Foundation |
51 | # Distributed under the terms of the GNU General Public License v2 |
52 | # $Header: /var/cvsroot/gentoo-x86/net-ftp/ftpbase/ftpbase-0.01-r2.ebuild,v 1.1 2010/04/26 09:54:43 haubi Exp $ |
53 | |
54 | inherit eutils pam |
55 | |
56 | DESCRIPTION="FTP layout package" |
57 | HOMEPAGE="http://www.gentoo.org/" |
58 | SRC_URI="" |
59 | |
60 | LICENSE="GPL-2" |
61 | SLOT="0" |
62 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" |
63 | IUSE="pam" |
64 | |
65 | DEPEND="pam? ( virtual/pam ) |
66 | !<net-ftp/proftpd-1.2.10-r6 |
67 | !<net-ftp/pure-ftpd-1.0.20-r2 |
68 | !<net-ftp/vsftpd-2.0.3-r1" |
69 | |
70 | S=${WORKDIR} |
71 | |
72 | pkg_setup() { |
73 | # Check if home exists |
74 | local exists=false |
75 | [[ -d "${ROOT}home/ftp" ]] && exists=true |
76 | |
77 | # Add our default ftp user |
78 | enewgroup ftp 21 |
79 | enewuser ftp 21 -1 /home/ftp ftp |
80 | |
81 | # If home did not exist and does now then we created it in the enewuser |
82 | # command. Now we have to change it's permissions to something sane. |
83 | if [[ ${exists} == "false" && -d "${ROOT}home/ftp" ]] ; then |
84 | chown root:ftp "${ROOT}"home/ftp |
85 | fi |
86 | } |
87 | |
88 | src_install() { |
89 | # The ftpusers file is a list of people who are NOT allowed |
90 | # to use the ftp service. |
91 | insinto /etc |
92 | doins "${FILESDIR}/ftpusers" || die |
93 | |
94 | # Ideally we would create the home directory here with a dodir. |
95 | # But we cannot until bug #9849 is solved - so we kludge in pkg_postinst() |
96 | |
97 | newpamd "${FILESDIR}/ftp-pamd-include" ftp |
98 | } |