Gentoo Archives: gentoo-commits

From: "Anthony G. Basile (blueness)" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-servers/thttpd: thttpd-2.26.2.ebuild ChangeLog
Date: Wed, 04 Apr 2012 12:24:34
Message-Id: 20120404122420.7AB122004B@flycatcher.gentoo.org
1 blueness 12/04/04 12:24:20
2
3 Modified: ChangeLog
4 Added: thttpd-2.26.2.ebuild
5 Log:
6 Version bump after I forked the code
7
8 (Portage version: 2.1.10.49/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.36 www-servers/thttpd/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/thttpd/ChangeLog?rev=1.36&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/thttpd/ChangeLog?rev=1.36&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/thttpd/ChangeLog?r1=1.35&r2=1.36
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/www-servers/thttpd/ChangeLog,v
20 retrieving revision 1.35
21 retrieving revision 1.36
22 diff -u -r1.35 -r1.36
23 --- ChangeLog 24 Mar 2012 02:59:02 -0000 1.35
24 +++ ChangeLog 4 Apr 2012 12:24:20 -0000 1.36
25 @@ -1,6 +1,11 @@
26 # ChangeLog for www-servers/thttpd
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/www-servers/thttpd/ChangeLog,v 1.35 2012/03/24 02:59:02 blueness Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/www-servers/thttpd/ChangeLog,v 1.36 2012/04/04 12:24:20 blueness Exp $
30 +
31 +*thttpd-2.26.2 (04 Apr 2012)
32 +
33 + 04 Apr 2012; Anthony G. Basile <blueness@g.o> +thttpd-2.26.2.ebuild:
34 + Version bump after I forked the code
35
36 *thttpd-2.25b-r9 (24 Mar 2012)
37
38
39
40
41 1.1 www-servers/thttpd/thttpd-2.26.2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/thttpd/thttpd-2.26.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/thttpd/thttpd-2.26.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: thttpd-2.26.2.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/www-servers/thttpd/thttpd-2.26.2.ebuild,v 1.1 2012/04/04 12:24:20 blueness Exp $
51
52 EAPI="4"
53
54 inherit eutils flag-o-matic toolchain-funcs
55
56 MY_P="s${P}"
57
58 DESCRIPTION="Fork of thttpd, a small, fast, multiplexing webserver."
59 HOMEPAGE="http://opensource.dyc.edu/sthttpd"
60 SRC_URI="http://opensource.dyc.edu/pub/sthttpd/${MY_P}.tar.gz"
61 S="${WORKDIR}/${MY_P}"
62
63 LICENSE="BSD"
64 SLOT="0"
65 KEYWORDS="~amd64 ~x86"
66 IUSE=""
67
68 RDEPEND=""
69 DEPEND=""
70
71 THTTPD_USER=thttpd
72 THTTPD_GROUP=thttpd
73 THTTPD_DOCROOT="/var/www/localhost/htdocs"
74
75 DOCS=( README TODO )
76
77 pkg_setup() {
78 ebegin "Creating thttpd user and group"
79 enewgroup ${THTTPD_GROUP}
80 enewuser ${THTTPD_USER} -1 -1 -1 ${THTTPD_GROUP}
81 }
82
83 src_configure() {
84 econf WEBDIR=${THTTPD_DOCROOT}
85 }
86
87 src_install () {
88 default
89
90 newinitd "${FILESDIR}"/thttpd.init thttpd
91 newconfd "${FILESDIR}"/thttpd.confd thttpd
92
93 insinto /etc/logrotate.d
94 newins "${FILESDIR}/thttpd.logrotate" thttpd
95
96 insinto /etc/thttpd
97 doins "${FILESDIR}"/thttpd.conf.sample
98 }
99
100 pkg_postinst() {
101 chown root:${THTTPD_GROUP} "${ROOT}/usr/sbin/makeweb" \
102 || die "Failed chown makeweb"
103 chmod 2751 "${ROOT}/usr/sbin/makeweb" \
104 || die "Failed chmod makeweb"
105 chmod 755 "${THTTPD_DOCROOT}/cgi-bin/printenv" \
106 || die "Failed chmod printenv"
107 elog "Adjust THTTPD_DOCROOT in /etc/conf.d/thttpd !"
108 }