1 |
hollow 07/09/08 16:30:43 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: anyterm-1.1.15.ebuild |
5 |
Log: |
6 |
version bump |
7 |
(Portage version: 2.1.3.7) |
8 |
|
9 |
Revision Changes Path |
10 |
1.8 www-apache/anyterm/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/anyterm/ChangeLog?rev=1.8&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/anyterm/ChangeLog?rev=1.8&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/anyterm/ChangeLog?r1=1.7&r2=1.8 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/www-apache/anyterm/ChangeLog,v |
19 |
retrieving revision 1.7 |
20 |
retrieving revision 1.8 |
21 |
diff -u -r1.7 -r1.8 |
22 |
--- ChangeLog 1 Sep 2007 13:12:44 -0000 1.7 |
23 |
+++ ChangeLog 8 Sep 2007 16:30:43 -0000 1.8 |
24 |
@@ -1,6 +1,13 @@ |
25 |
# ChangeLog for www-apache/anyterm |
26 |
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/www-apache/anyterm/ChangeLog,v 1.7 2007/09/01 13:12:44 phreak Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/www-apache/anyterm/ChangeLog,v 1.8 2007/09/08 16:30:43 hollow Exp $ |
29 |
+ |
30 |
+*anyterm-1.1.15 (08 Sep 2007) |
31 |
+ |
32 |
+ 08 Sep 2007; Benedikt Böhm <hollow@g.o> |
33 |
+ +files/anyterm-1.1.15-browser-gentoo.patch, |
34 |
+ +files/anyterm-1.1.15-postinst-en.txt, +anyterm-1.1.15.ebuild: |
35 |
+ version bump |
36 |
|
37 |
01 Sep 2007; Christian Heim <phreak@g.o> metadata.xml: |
38 |
Removing twp from metadata due to his retirement (see #190561 for reference). |
39 |
|
40 |
|
41 |
|
42 |
1.1 www-apache/anyterm/anyterm-1.1.15.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/anyterm/anyterm-1.1.15.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/anyterm/anyterm-1.1.15.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: anyterm-1.1.15.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2007 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/www-apache/anyterm/anyterm-1.1.15.ebuild,v 1.1 2007/09/08 16:30:43 hollow Exp $ |
52 |
|
53 |
inherit apache-module eutils toolchain-funcs webapp |
54 |
|
55 |
KEYWORDS="~x86" |
56 |
|
57 |
DESCRIPTION="A terminal anywhere." |
58 |
HOMEPAGE="http://anyterm.org/" |
59 |
SRC_URI="http://anyterm.org/download/${P}.tbz2" |
60 |
LICENSE="GPL-2" |
61 |
SLOT="0" |
62 |
IUSE="opera pam ssl" |
63 |
|
64 |
DEPEND="dev-libs/boost |
65 |
>=dev-libs/rote-0.2.8 |
66 |
>=sys-devel/gcc-3 |
67 |
virtual/ssh |
68 |
pam? ( www-apache/mod_auth_pam )" |
69 |
RDEPEND="${DEPEND}" |
70 |
|
71 |
APACHE2_MOD_CONF="50_${PN}" |
72 |
APACHE2_MOD_DEFINE="ANYTERM" |
73 |
use pam && APACHE2_MOD_DEFINE="${APACHE2_MOD_DEFINE} -D AUTH_PAM" |
74 |
use ssl && APACHE2_MOD_DEFINE="${APACHE2_MOD_DEFINE} -D SSL" |
75 |
APACHE2_MOD_FILE="${S}/apachemod/.libs/${PN}.so" |
76 |
DOCFILES="CHANGELOG README" |
77 |
|
78 |
WEBAPP_MANUAL_SLOT="yes" |
79 |
|
80 |
need_apache2 |
81 |
|
82 |
pkg_setup() { |
83 |
webapp_pkg_setup |
84 |
|
85 |
apache-module_pkg_setup |
86 |
|
87 |
if use ssl && ! built_with_use www-servers/apache ssl; then |
88 |
eerror "Build www-servers/apache with USE=ssl." && die |
89 |
die |
90 |
fi |
91 |
|
92 |
if ! built_with_use dev-libs/boost threads; then |
93 |
eerror "Build dev-libs/boost with USE=threads." |
94 |
die |
95 |
fi |
96 |
} |
97 |
|
98 |
src_unpack() { |
99 |
unpack ${A} |
100 |
cd "${S}" |
101 |
epatch "${FILESDIR}/${P}-browser-gentoo.patch" |
102 |
sed -i -e "s:apr-config:$(apr_config):g" apachemod/Makefile |
103 |
} |
104 |
|
105 |
src_compile() { |
106 |
( cd apachemod && emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die "Apachemod make failed" ) |
107 |
|
108 |
# Modify browser files to reflect USE flags. |
109 |
for flag in opera pam ssl ; do |
110 |
if use ${flag} ; then |
111 |
sed -i -e "s/^#USE=${flag}#//" browser/{*,.htaccess} |
112 |
sed -i -e "/^#USE=-${flag}#/D" browser/{*,.htaccess} |
113 |
else |
114 |
sed -i -e "s/^#USE=-${flag}#//" browser/{*,.htaccess} |
115 |
sed -i -e "/^#USE=${flag}#/D" browser/{*,.htaccess} |
116 |
fi |
117 |
done |
118 |
} |
119 |
|
120 |
src_install() { |
121 |
apache-module_src_install |
122 |
|
123 |
webapp_src_preinst |
124 |
cp -f browser/{*,.htaccess} "${D}/${MY_HTDOCSDIR}" |
125 |
webapp_postinst_txt en "${FILESDIR}/${P}-postinst-en.txt" |
126 |
webapp_src_install |
127 |
} |
128 |
|
129 |
pkg_postinst() { |
130 |
webapp_pkg_postinst |
131 |
|
132 |
apache-module_pkg_postinst |
133 |
|
134 |
if ! use ssl ; then |
135 |
ewarn "USE=-ssl: Anyterm without SSL is very insecure!" |
136 |
fi |
137 |
if ! use pam ; then |
138 |
ewarn "USE=-pam: You will have to add your own authentication" |
139 |
ewarn " mechanism." |
140 |
fi |
141 |
if use opera ; then |
142 |
ewarn "USE=opera: Be sure to disable some logging in your Apache" |
143 |
ewarn " configuration files!" |
144 |
fi |
145 |
if ! use ssl || ! use pam || use opera ; then |
146 |
ewarn "For more information see http://anyterm.org/security.html" |
147 |
fi |
148 |
} |
149 |
|
150 |
|
151 |
|
152 |
-- |
153 |
gentoo-commits@g.o mailing list |