1 |
mattm 12/10/02 10:26:37 |
2 |
|
3 |
Modified: wt-3.2.2_p1.ebuild ChangeLog |
4 |
Log: |
5 |
Hopefully last qa fix. Because wt can act as its own webserver and can't depend on apache or any other webserver users being installed, we need to create its own user/group and tell cmake to set ownership of /var/run/wt and other data directories to user/group wt. |
6 |
|
7 |
(Portage version: 2.1.11.23/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.3 net-libs/wt/wt-3.2.2_p1.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/wt/wt-3.2.2_p1.ebuild?rev=1.3&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/wt/wt-3.2.2_p1.ebuild?rev=1.3&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/wt/wt-3.2.2_p1.ebuild?r1=1.2&r2=1.3 |
15 |
|
16 |
Index: wt-3.2.2_p1.ebuild |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-libs/wt/wt-3.2.2_p1.ebuild,v |
19 |
retrieving revision 1.2 |
20 |
retrieving revision 1.3 |
21 |
diff -u -r1.2 -r1.3 |
22 |
--- wt-3.2.2_p1.ebuild 2 Oct 2012 08:08:40 -0000 1.2 |
23 |
+++ wt-3.2.2_p1.ebuild 2 Oct 2012 10:26:37 -0000 1.3 |
24 |
@@ -1,6 +1,6 @@ |
25 |
# Copyright 1999-2012 Gentoo Foundation |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-libs/wt/wt-3.2.2_p1.ebuild,v 1.2 2012/10/02 08:08:40 mattm Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/net-libs/wt/wt-3.2.2_p1.ebuild,v 1.3 2012/10/02 10:26:37 mattm Exp $ |
29 |
|
30 |
EAPI="2" |
31 |
|
32 |
@@ -45,6 +45,9 @@ |
33 |
if use test && use !sqlite; then |
34 |
ewarn "Tests need sqlite, disabling." |
35 |
fi |
36 |
+ |
37 |
+ enewgroup wt |
38 |
+ enewuser wt -1 -1 /var/lib/wt/home wt |
39 |
} |
40 |
|
41 |
src_prepare() { |
42 |
@@ -72,6 +75,8 @@ |
43 |
-DSHARED_LIBS=ON |
44 |
-DMULTI_THREADED=ON |
45 |
-DUSE_SYSTEM_SQLITE3=ON |
46 |
+ -DWEBUSER=wt |
47 |
+ -DWEBGROUP=wt |
48 |
$(cmake-utils_use extjs ENABLE_EXT) |
49 |
$(cmake-utils_use graphicsmagick ENABLE_GM) |
50 |
$(cmake-utils_use pdf ENABLE_HARU) |
51 |
@@ -101,6 +106,10 @@ |
52 |
cmake-utils_src_install |
53 |
|
54 |
use doc && dohtml -A pdf,xhtml -r doc/* |
55 |
+ |
56 |
+ dodir \ |
57 |
+ /var/lib/wt \ |
58 |
+ /var/lib/wt/home |
59 |
} |
60 |
|
61 |
pkg_postinst() { |
62 |
@@ -110,4 +119,10 @@ |
63 |
elog "You can use spawn-fcgi to spawn the witty-processes and run them" |
64 |
elog "in a chroot environment." |
65 |
fi |
66 |
+ |
67 |
+ chown -R wt:wt "${ROOT}"/var/lib/wt |
68 |
+ chmod 0750 \ |
69 |
+ "${ROOT}"/var/lib/wt \ |
70 |
+ "${ROOT}"/var/lib/wt/home |
71 |
+ |
72 |
} |
73 |
|
74 |
|
75 |
|
76 |
1.14 net-libs/wt/ChangeLog |
77 |
|
78 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/wt/ChangeLog?rev=1.14&view=markup |
79 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/wt/ChangeLog?rev=1.14&content-type=text/plain |
80 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/wt/ChangeLog?r1=1.13&r2=1.14 |
81 |
|
82 |
Index: ChangeLog |
83 |
=================================================================== |
84 |
RCS file: /var/cvsroot/gentoo-x86/net-libs/wt/ChangeLog,v |
85 |
retrieving revision 1.13 |
86 |
retrieving revision 1.14 |
87 |
diff -u -r1.13 -r1.14 |
88 |
--- ChangeLog 2 Oct 2012 08:08:40 -0000 1.13 |
89 |
+++ ChangeLog 2 Oct 2012 10:26:37 -0000 1.14 |
90 |
@@ -1,6 +1,12 @@ |
91 |
# ChangeLog for net-libs/wt |
92 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
93 |
-# $Header: /var/cvsroot/gentoo-x86/net-libs/wt/ChangeLog,v 1.13 2012/10/02 08:08:40 mattm Exp $ |
94 |
+# $Header: /var/cvsroot/gentoo-x86/net-libs/wt/ChangeLog,v 1.14 2012/10/02 10:26:37 mattm Exp $ |
95 |
+ |
96 |
+ 02 Oct 2012; Matthew Marlowe <mattm@g.o> wt-3.2.2_p1.ebuild: |
97 |
+ Hopefully last qa fix. Because wt can act as its own webserver and can't |
98 |
+ depend on apache or any other webserver users being installed, we need to |
99 |
+ create its own user/group and tell cmake to set ownership of /var/run/wt and |
100 |
+ other data directories to user/group wt. |
101 |
|
102 |
02 Oct 2012; Matthew Marlowe <mattm@g.o> wt-3.2.2_p1.ebuild: |
103 |
Hopeful fix for the QA install issues associated with cmake eclass and net- |