Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 120140 Details for
Bug 141018
app-backup/backuppc-3.0.0 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
script to set permissions after ebuild
install-300.sh (text/plain), 1.30 KB, created by
David Relson
on 2007-05-23 22:02:15 UTC
(
hide
)
Description:
script to set permissions after ebuild
Filename:
MIME Type:
Creator:
David Relson
Created:
2007-05-23 22:02:15 UTC
Size:
1.30 KB
patch
obsolete
>#!/bin/sh -x > >PORTAGE="/usr/local/portage" > >USERID="backuppc" >DOMAIN="mydomain.com" >IPADDR="192.168.0" >CONFIG_DIR="etc/BackupPC" > >CATEGORY=app-backup >PROGRAM=backuppc > >VER="3.0.0" >MAJ_VER="300" > >PROGRAM_VERSION=$PROGRAM-$VER >EBUILD_PATH="$PORTAGE/$CATEGORY/$PROGRAM/$PROGRAM_VERSION" > >/etc/init.d/backuppc status > >emerge --color=n -q =$CATEGORY/$PROGRAM-$VER > >sed -i "s/^Conf{CgiAdminUserGroup} = '';/Conf{CgiAdminUserGroup} = 'backuppc';/" /etc/BackupPC/config.pl >sed -i "s/^Conf{CgiAdminUsers} = '';/Conf{CgiAdminUsers} = 'backuppc';/" /etc/BackupPC/config.pl > ># File /etc/apache2/vhosts.d/10_BackupPC.conf needs proper path, i.e. ># /usr/share/webapps/backuppc/3.0.0/hostroot/cgi-bin/ > >##### Begin Additional Setup Steps #### > >cd /etc/apache2/vhosts.d/ >cp -p 10_BackupPC.conf.$VER 10_BackupPC.conf > >sed -i "s/SERVER.EXAMPLE.COM/$SERVER.$DOMAIN" 10_BackupPC.conf >sed -i "s/USERID/$USERID" 10_BackupPC.conf >sed -i "s/IPADDR/$IPADDR" 10_BackupPC.conf > >cd /usr/share/webapps/backuppc/$VER/htdocs/backuppc >ln -s ../image image > >chown -Rf backuppc:backuppc /etc/BackupPC >chown -Rf backuppc:backuppc /var/log/BackupPC >chown backuppc:backuppc /var/www/localhost/cgi-bin/BackupPC_Admin >chmod 755 /var/www/localhost/cgi-bin/BackupPC_Admin > >##### End Additional Setup Steps #### > >/etc/init.d/backuppc start
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 141018
:
120083
| 120140 |
120152
|
120166
|
121984
|
121986
|
121988
|
121989
|
121990
|
121991
|
121992
|
122086
|
122492
|
122493
|
122494
|
124020
|
124022
|
128335
|
128338
|
128339
|
128674
|
162045
|
185117
|
194073
|
194074
|
194075
|
194077
|
194078
|
195552
|
195553