Projects
jsj
jsj-installtools
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 46
View file
jsj-installtools.changes
Changed
@@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Tue Mar 17 07:35:49 UTC 2015 - obs@botter.cc + +- add hostname to /etc/HOSTNAME for >= 13 +- change apache's vhost files to reflect 2.4 settings + Allow from all -> Require all granted + +------------------------------------------------------------------- Fri Dec 5 11:52:54 UTC 2014 - obs@botter.cc - conditionally include dir /usr/bin only for >= 1210
View file
PrepareApacheConfig
Changed
@@ -27,6 +27,11 @@ if -f $JSJSHARE/vhost.conf ; then sed -e "s/HOSTNAME/$HOSTNAME/" < $JSJSHARE/vhost.conf > /etc/apache2/vhosts.d/$HOSTNAME.conf sed -e "s/HOSTNAME/s$HOSTNAME/" < $JSJSHARE/vhost.conf > /etc/apache2/vhosts.d/s$HOSTNAME.conf + if ${VERSION%%.*} -ge 13 ; then + sed -i -e '/^ *Order .*allow/ i\ \ \ \ \ \ \ \ Require all granted' \ + -e '/^ *Order .*allow/ d' \ + -e '/^ *\(Allow\|Deny\) from/ d' /etc/apache2/vhosts.d/*.conf + fi else echo no file vhost.conf exit 1
View file
PreparePostfix
Changed
@@ -5,6 +5,9 @@ fi . /usr/share/jsjinstalltools/GetVersion HOSTNAME=$1 +if ${VERSION%%.*} -ge 13 ; then + echo $HOSTNAME".site" > /etc/HOSTNAME +fi cp /etc/postfix/main.cf /etc/postfix/main.cf.orig POSTCONF=$(mktemp /tmp/main.cf.XXXXXXXXXX) postconf -n | \
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.