Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 195771 | Differences between
and this patch

Collapse All | Expand All

(-)/Gentoo/var/tmp/portage/app-admin/webapp-config-1.50.16-r2/work/webapp-config-1.50.16/WebappConfig/config.py (-4 / +4 lines)
Lines 206-212 Link Here
206
        self.__d = {
206
        self.__d = {
207
            'config_protect'               : wrapper.config_protect,
207
            'config_protect'               : wrapper.config_protect,
208
            # Necessary to load the config file
208
            # Necessary to load the config file
209
            'my_etcconfig'                 : '/etc/vhosts/webapp-config',
209
            'my_etcconfig'                 : '@GENTOO_PORTAGE_EPREFIX@/etc/vhosts/webapp-config',
210
            'my_dotconfig'                 : '.webapp',
210
            'my_dotconfig'                 : '.webapp',
211
            'my_version'                   : WCVERSION,
211
            'my_version'                   : WCVERSION,
212
            'my_conf_version'              : '7',
212
            'my_conf_version'              : '7',
Lines 248-254 Link Here
248
            # -- wrobel
248
            # -- wrobel
249
            'vhost_server_uid'  : 'root',
249
            'vhost_server_uid'  : 'root',
250
            'vhost_server_gid'  : 'root',
250
            'vhost_server_gid'  : 'root',
251
            'vhost_root'        : '/var/www/%(vhost_hostname)s',
251
            'vhost_root'        : '@GENTOO_PORTAGE_EPREFIX@/var/www/%(vhost_hostname)s',
252
            'g_htdocsdir'       : '%(vhost_root)s/%(my_htdocsbase)s',
252
            'g_htdocsdir'       : '%(vhost_root)s/%(my_htdocsbase)s',
253
            'my_appdir'         : '%(my_approot)s/%(my_appsuffix)s',
253
            'my_appdir'         : '%(my_approot)s/%(my_appsuffix)s',
254
            'my_htdocsdir'      : '%(my_appdir)s/htdocs',
254
            'my_htdocsdir'      : '%(my_appdir)s/htdocs',
Lines 257-265 Link Here
257
            'my_cgibindir'      : '%(my_hostrootdir)s/%(my_cgibinbase)s',
257
            'my_cgibindir'      : '%(my_hostrootdir)s/%(my_cgibinbase)s',
258
            'my_iconsdir'       : '%(my_hostrootdir)s/%(my_iconsbase)s',
258
            'my_iconsdir'       : '%(my_hostrootdir)s/%(my_iconsbase)s',
259
            'my_errorsdir'      : '%(my_hostrootdir)s/%(my_errorsbase)s',
259
            'my_errorsdir'      : '%(my_hostrootdir)s/%(my_errorsbase)s',
260
            'my_approot'        : '/usr/share/webapps',
260
            'my_approot'        : '@GENTOO_PORTAGE_EPREFIX@/usr/share/webapps',
261
            'my_appsuffix'      : '%(pn)s/%(pvr)s',
261
            'my_appsuffix'      : '%(pn)s/%(pvr)s',
262
            'my_persistroot'    : '/var/db/webapps',
262
            'my_persistroot'    : '@GENTOO_PORTAGE_EPREFIX@/var/db/webapps',
263
            'my_hostrootbase'   : 'hostroot',
263
            'my_hostrootbase'   : 'hostroot',
264
            'my_cgibinbase'     : 'cgi-bin',
264
            'my_cgibinbase'     : 'cgi-bin',
265
            'my_iconsbase'      : 'icons',
265
            'my_iconsbase'      : 'icons',
(-)/Gentoo/var/tmp/portage/app-admin/webapp-config-1.50.16-r2/work/webapp-config-1.50.16/WebappConfig/db.py (-1 / +1 lines)
Lines 461-467 Link Here
461
    '''
461
    '''
462
462
463
    def __init__(self,
463
    def __init__(self,
464
                 root = '/usr/share/webapps',
464
                 root = '@GENTOO_PORTAGE_EPREFIX@/usr/share/webapps',
465
                 package    = '',
465
                 package    = '',
466
                 version    = '',
466
                 version    = '',
467
                 installed  = 'installed_by_webapp_eclass'):
467
                 installed  = 'installed_by_webapp_eclass'):
(-)/Gentoo/var/tmp/portage/app-admin/webapp-config-1.50.16-r2/work/webapp-config-1.50.16/WebappConfig/sandbox.py (-1 / +1 lines)
Lines 40-46 Link Here
40
40
41
        self.config     = config
41
        self.config     = config
42
        self.__path     =  [config_libdir + '/libsandbox.so',
42
        self.__path     =  [config_libdir + '/libsandbox.so',
43
                           '/usr/lib/libsandbox.so', '/lib/libsandbox.so']
43
                           '@GENTOO_PORTAGE_EPREFIX@/usr/lib/libsandbox.so', '@GENTOO_PORTAGE_EPREFIX@/lib/libsandbox.so']
44
        self.__export   = {}
44
        self.__export   = {}
45
        self.__write    = ['g_installdir',
45
        self.__write    = ['g_installdir',
46
                           'g_htdocsdir',
46
                           'g_htdocsdir',
(-)WebappConfig/wrapper.py (-1 / +1 lines)
Lines 52-58 Link Here
52
# example, if ABI == 'amd64' then read LIBDIR_amd64. This routine should work on
52
# example, if ABI == 'amd64' then read LIBDIR_amd64. This routine should work on
53
# all arches as it sets '/usr/lib' as a fallback. See bugs #125032 and #125156.
53
# all arches as it sets '/usr/lib' as a fallback. See bugs #125032 and #125156.
54
54
55
config_libdir = '/usr/lib'
55
config_libdir = '@GENTOO_PORTAGE_EPREFIX@/usr/lib'
56
56
57
if 'ABI' in portage.settings.keys():
57
if 'ABI' in portage.settings.keys():
58
    config_abi  = portage.settings['ABI']
58
    config_abi  = portage.settings['ABI']
(-)sbin/webapp-cleaner (-3 / +3 lines)
Lines 1-4 Link Here
1
#!/bin/bash
1
#!@GENTOO_PORTAGE_EPREFIX@/bin/bash
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: $
3
# $Header: $
4
4
Lines 8-17 Link Here
8
PRETEND=
8
PRETEND=
9
9
10
CMD="emerge -Cav"
10
CMD="emerge -Cav"
11
WEBAPP_DIR="/usr/share/webapps"
11
WEBAPP_DIR="@GENTOO_PORTAGE_EPREFIX@/usr/share/webapps"
12
WEBAPP_CONFIG=
12
WEBAPP_CONFIG=
13
13
14
[[ -z ${RC_GOT_FUNCTIONS} ]] && source /etc/init.d/functions.sh
14
[[ -z ${RC_GOT_FUNCTIONS} ]] && source @GENTOO_PORTAGE_EPREFIX@/etc/init.d/functions.sh
15
15
16
function help() {
16
function help() {
17
	echo "Remove obsolete and unused versions of web applications"
17
	echo "Remove obsolete and unused versions of web applications"

Return to bug 195771