1 |
bangert 09/04/19 18:51:36 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: monkeyd-0.9.2-r1.ebuild |
5 |
Log: |
6 |
misc qa fixes - fix --as-needed (bug #248483) |
7 |
(Portage version: 2.1.6.7/cvs/Linux i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.20 www-servers/monkeyd/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/monkeyd/ChangeLog?rev=1.20&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/monkeyd/ChangeLog?rev=1.20&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/monkeyd/ChangeLog?r1=1.19&r2=1.20 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/www-servers/monkeyd/ChangeLog,v |
19 |
retrieving revision 1.19 |
20 |
retrieving revision 1.20 |
21 |
diff -u -r1.19 -r1.20 |
22 |
--- ChangeLog 21 Oct 2008 19:30:54 -0000 1.19 |
23 |
+++ ChangeLog 19 Apr 2009 18:51:36 -0000 1.20 |
24 |
@@ -1,6 +1,13 @@ |
25 |
# ChangeLog for www-servers/monkeyd |
26 |
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/www-servers/monkeyd/ChangeLog,v 1.19 2008/10/21 19:30:54 bangert Exp $ |
28 |
+# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/www-servers/monkeyd/ChangeLog,v 1.20 2009/04/19 18:51:36 bangert Exp $ |
30 |
+ |
31 |
+*monkeyd-0.9.2-r1 (19 Apr 2009) |
32 |
+ |
33 |
+ 19 Apr 2009; Thilo Bangert <bangert@g.o> |
34 |
+ +files/monkeyd-0.9.2-honor-LDFLAGS-and-support--as-needed-and-fix-jobserve |
35 |
+ r.patch, +monkeyd-0.9.2-r1.ebuild: |
36 |
+ misc qa fixes - fix --as-needed (bug #248483) |
37 |
|
38 |
21 Oct 2008; Thilo Bangert <bangert@g.o> |
39 |
+files/monkeyd-dont-strip-configure.patch, monkeyd-0.9.1.ebuild, |
40 |
|
41 |
|
42 |
|
43 |
1.1 www-servers/monkeyd/monkeyd-0.9.2-r1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/monkeyd/monkeyd-0.9.2-r1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/monkeyd/monkeyd-0.9.2-r1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: monkeyd-0.9.2-r1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2009 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/www-servers/monkeyd/monkeyd-0.9.2-r1.ebuild,v 1.1 2009/04/19 18:51:36 bangert Exp $ |
53 |
|
54 |
EAPI="2" |
55 |
|
56 |
inherit toolchain-funcs eutils |
57 |
|
58 |
WEBROOT=/var/www/localhost |
59 |
|
60 |
MY_P="${PN/d}-${PV}" |
61 |
DESCRIPTION="Fast, efficient, (REALLY) small, and easy to configure web server" |
62 |
HOMEPAGE="http://monkeyd.sourceforge.net/" |
63 |
SRC_URI="http://monkeyd.sourceforge.net/versions/${MY_P}.tar.gz" |
64 |
|
65 |
LICENSE="GPL-2" |
66 |
SLOT="0" |
67 |
KEYWORDS="~amd64 ~mips ~ppc ~sparc ~x86" |
68 |
IUSE="php" |
69 |
|
70 |
RDEPEND="php? ( virtual/httpd-php[cgi] )" |
71 |
|
72 |
S="${WORKDIR}/${MY_P}" |
73 |
|
74 |
src_prepare() { |
75 |
epatch "${FILESDIR}/monkeyd-0.9.2-honor-LDFLAGS-and-support--as-needed-and-fix-jobserver.patch" |
76 |
|
77 |
# Don't install the banana script, it is broken as is anyway and the |
78 |
# functionality is provided by the ${FILESDIR}/monkeyd.init.d script. |
79 |
sed -i '/install -m 755 bin\/banana/d' configure || die "sed banana" |
80 |
} |
81 |
|
82 |
src_configure() { |
83 |
# monkey has it's own funky script ... cant use econf |
84 |
./configure \ |
85 |
--prefix=/usr \ |
86 |
--bindir=/usr/bin \ |
87 |
--cgibin=${WEBROOT}/cgi-bin \ |
88 |
--sysconfdir=/etc/${PN} \ |
89 |
--datadir=${WEBROOT}/htdocs \ |
90 |
--logdir=/var/log/${PN} \ |
91 |
--lang=en \ |
92 |
|| die |
93 |
} |
94 |
|
95 |
src_compile() { |
96 |
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "emake failed" |
97 |
} |
98 |
|
99 |
src_install() { |
100 |
make \ |
101 |
PREFIX="${D}"/usr \ |
102 |
BINDIR="${D}"/usr/bin \ |
103 |
CGIBIN="${D}"${WEBROOT}/cgi-bin \ |
104 |
SYSCONFDIR="${D}"/etc/${PN} \ |
105 |
DATADIR="${D}"${WEBROOT}/htdocs \ |
106 |
LOGDIR="${D}"/var/log/${PN} \ |
107 |
install \ |
108 |
|| die "make install failed" |
109 |
|
110 |
if use php ; then |
111 |
dosed '/^#AddScript application\/x-httpd-php/s:^#::' /etc/monkeyd/monkey.conf |
112 |
dosed 's:/home/my_home/php/bin/php:/usr/bin/php-cgi:' /etc/monkeyd/monkey.conf |
113 |
fi |
114 |
|
115 |
mv "${D}"${WEBROOT}/htdocs/{index,index-monkey}.html |
116 |
|
117 |
dosed "s:/var/log/monkeyd/monkey.pid:/var/run/monkey.pid:" /etc/monkeyd/monkey.conf |
118 |
newinitd "${FILESDIR}"/monkeyd.init.d monkeyd |
119 |
newconfd "${FILESDIR}"/monkeyd.conf.d monkeyd |
120 |
dodoc README MODULES *.txt |
121 |
} |