Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 38912 Details for
Bug 62197
Ebuild request for open-xchange
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
${FILESDIR}/reconfig
reconfig (text/plain), 3.89 KB, created by
Leonardo Di Lella
on 2004-09-04 07:36:34 UTC
(
hide
)
Description:
${FILESDIR}/reconfig
Filename:
MIME Type:
Creator:
Leonardo Di Lella
Created:
2004-09-04 07:36:34 UTC
Size:
3.89 KB
patch
obsolete
>#!/bin/bash > >function die { > echo $1 > exit 1 >} > ># ># INSTALL ># >if [ $1 = "start" -o $1 = "install" ]; then > echo "" > echo "" > echo "" > # > # > # Preparing TOMCAT > # > # > echo "- Prepare Tomcat servlet directory for the Open-Xchange" > > mkdir -p /opt/tomcat5/webapps/servlet/WEB-INF/classes > cp /opt/open-xchange/share/servlets/* /opt/tomcat5/webapps/servlet/WEB-INF/classes/ > mkdir -p /opt/tomcat5/webapps/servlet/WEB-INF/lib > cp /opt/open-xchange/lib/* /opt/tomcat5/webapps/servlet/WEB-INF/lib/ > cp ${FILESDIR}/web.xml /opt/tomcat5/webapps/servlet/WEB-INF/web.xml > chown -R tomcat:tomcat /opt/tomcat5/webapps/servlet/ > chmod -R 755 /opt/tomcat5/webapps/servlet/ > > echo "- Restarting tomcat" > /etc/init.d/tomcat5 restart || die "tomcat needs to be running" > > # > # > # Preparing the DB > # > # > echo "- Starting postgresql" > /etc/init.d/postgresql restart || die "postgresql needs to be running" > echo "- Create openexchange user" > sudo -u postgres createuser -A -d openexchange >/dev/null 2>&1 > echo "- Create openexchange database" > sudo -u postgres createdb -O openexchange -E UNICODE openexchange >/dev/null 2>&1 > echo "- Init openexchange database" > psql -U openexchange openexchange < /opt/open-xchange/share/init_database.sql >/dev/null 2>&1 > psql -U openexchange openexchange < ${FILESDIR}/init_db.sql >/dev/null 2>&1 > > # > # > # Preparing SLAPD > # > # > cp ${FILESDIR}/ldap_ox.include /opt/open-xchange/etc/. > chmod 640 /opt/open-xchange/etc/ldap_ox.include > chown root:ldap /opt/open-xchange/etc/ldap_ox.include > > #egrep -e "ldap_ox.include" /etc/openldap/slapd.conf > #if [ $? -eq 1 ] ; then > # echo "include /opt/open-xchange/etc/ldap_ox.include" >> /etc/openldap/slapd.conf > # chown ldap:ldap /etc/openldap/slapd.conf > #fi > > # make state directories > #mkdir /var/lib/openldap-ox > #chown ldap:ldap /var/lib/openldap-ox > #chmod 0700 /var/lib/openldap-ox > > #echo "- Starting ldap" > #/etc/init.d/slapd restart || die "slapd needs to be running" > > #PASS=`perl -e 'print crypt(admin,pack("C2",(int(rand 26)+65),(int(rand 26)+65)));'` > sed -i "s|newmailadminpass|$PASS|g" /opt/open-xchange/share/init_ldap.ldif > #slapadd -b "dc=example,dc=org" -l /opt/open-xchange/share/init_ldap.ldif > > #egrep -e "dc=example,dc=org" /etc/openldap/ldap.conf > #if [ $? -eq 1 ] ; then > # echo "BASE dc=example,dc=org" >> /etc/openldap/ldap.conf > # echo "HOST localhost" >> /etc/openldap/ldap.conf > # chown ldap:ldap /etc/openldap/slapd.conf > #fi > > ln -s /etc/openldap/ldap.conf /opt/open-xchange/etc/groupware/ldap.conf > ln -s /etc/openldap/ldap.conf /opt/open-xchange/etc/webmail/ldap.conf > > # > # > # Creating test user > # > # > #/opt/open-xchange/sbin/./adduser_ox \ > # --username="test" \ > # --passwd="test" \ > # --name="user" \ > # --sname="test" \ > # --maildomain="example.org" \ > # --ox_timezone="Europe/Paris" > > #/opt/open-xchange/sbin/./addgroup_ox --group=developers > > # > # > # Filespool > # > # > echo "- Creating filespool" > /opt/open-xchange/sbin/./correctfilespool > > # > # > # Admintools > # > # > echo "- Changing admintools" > sed -i "s|cn=Manager|uid=admin|g" /opt/open-xchange/etc/admintools.conf > > # > # > # Restarting apache2 > # > # > #echo "- Restarting apache2" > #/etc/init.d/apache2 restart || die "apache2 needs to be running" > > # > # > # Restarting open-xchange > # > # > #echo "- Restarting open-xchange" > #/etc/init.d/openexchange start || die "openxchange needs to be running" > ># ># CLEAN ># >else > echo "- Delete Tomcat servlet directory" > rm -r /opt/tomcat5/webapps/servlet/ >/dev/null 2>&1 > rm -r /opt/open-xchange/etc/ > rm -r /opt/open-xchange/share/ > rm -r /opt/open-xchange/var/ >fi >
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 62197
:
38529
|
38692
|
38693
|
38705
|
38708
|
38710
|
38778
|
38779
|
38793
|
38831
|
38832
|
38907
|
38908
|
38909
|
38910
|
38911
|
38912
|
38950
|
39161
|
39638
|
40395
|
40677
|
43006
|
45598
|
51564
|
52969
|
57322
|
58355
|
58364
|
58367
|
59319
|
59327
|
61190
|
61191
|
61270
|
62568
|
66393
|
66394
|
66402
|
66592
|
66692
|
66817
|
66818
|
66890
|
66902
|
67034
|
67087
|
67399
|
67511
|
67595
|
67907
|
68648
|
68650
|
68695
|
68701
|
68702
|
68705
|
68706
|
68895
|
68946
|
68947
|
68959
|
68960
|
68961
|
68968
|
68973
|
68981
|
68991
|
68993
|
68994
|
69097
|
69101
|
69139
|
69140
|
69179
|
69205
|
70998
|
72090
|
72748
|
77974
|
77975
|
79765
|
79766
|
79767
|
79851
|
79943
|
79944
|
80431
|
80432
|
83756
|
83946
|
85610
|
87053
|
87995
|
87996
|
87997
|
87998
|
90889
|
94269
|
100851
|
100852
|
105319