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