From: Travis F. <tr...@us...> - 2013-09-19 21:29:21
|
Update of /cvsroot/wigwam/wigwam-package-archive/public/service_apache2/0.2-1 In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv23945/0.2-1 Added Files: service_apache2-0.2-1.config service_apache2-0.2-1.dep service_apache2-0.2-1.files service_apache2-0.2-1.install service_apache2-0.2-1.installed_files service_apache2-0.2-1.md5sums service_apache2-0.2-1.packagedep service_apache2-0.2-1.services Log Message: update default apache config --- NEW FILE: service_apache2-0.2-1.installed_files --- > etc/apache2.conf.in > etc/installed-services > libexec/service_apache2-pre_start.sh > services > services/apache2-0.2-1 > services/apache2-0.2-1/config > services/apache2-0.2-1/packagedep --- NEW FILE: service_apache2-0.2-1.services --- apache2 --- NEW FILE: service_apache2-0.2-1.packagedep --- apache2 --- NEW FILE: service_apache2-0.2-1.config --- service_program=httpd service_run_name=apache2 service_writes_pidfile=1 service_pre_start="$PLAYPEN_ROOT/ext/libexec/service_apache2-pre_start.sh" service_arguments="-d $PLAYPEN_ROOT/ext -f $LOCAL_VAR/apache2.conf" service_required_envars="APACHE2_LOG_DIR APACHE2_OUTSIDE_HOSTNAME APACHE2_OUTSIDE_PORT APACHE2_PORT APACHE2_SERVER_ADMIN" --- NEW FILE: service_apache2-0.2-1.dep --- apache2 mime-types --- NEW FILE: service_apache2-0.2-1.files --- service_apache2-0.2-1.config service_apache2-0.2-1.dep service_apache2-0.2-1.files service_apache2-0.2-1.installed_files service_apache2-0.2-1.install service_apache2-0.2-1.packagedep service_apache2-0.2-1.services --- NEW FILE: service_apache2-0.2-1.md5sums --- 7962d5fec25c8543e3da22713656c43f service_apache2-0.2-1.config 329e7ec5415ec7b6bdbaac124c3d921a service_apache2-0.2-1.dep d2a85e7d7f35fe30516cfa37b3579332 service_apache2-0.2-1.files 67bac61e8623985b2b72c08d6545163b service_apache2-0.2-1.installed_files 2d7c83743a6a9ec369a44d1f463b15fd service_apache2-0.2-1.install 78617b939168605ad578d3625dc3e75e service_apache2-0.2-1.packagedep 78617b939168605ad578d3625dc3e75e service_apache2-0.2-1.services --- NEW FILE: service_apache2-0.2-1.install --- #!/bin/sh #------------------------------------------------------------------------------ # Config file. httpd_conf_file="$PLAYPEN_ROOT/ext/etc/apache2.conf.in" cat <<"EOF" > "$httpd_conf_file" # # Based upon the NCSA server configuration files originally by Rob McCool. # # This is the main Apache server configuration file. It contains the # configuration directives that give the server its instructions. # See <URL:http://httpd.apache.org/docs-2.0/> for detailed information about # the directives. # # Do NOT simply read the instructions in here without understanding # what they do. They're here only as hints or reminders. If you are unsure # consult the online docs. You have been warned. # [...1072 lines suppressed...] echo "couldn't create directory $libexecdir" 1>&2 exit 1 } pre_start_script=$libexecdir/service_apache2-pre_start.sh cat <<"EOF" > $pre_start_script #!/bin/sh sub-conf apache2.conf.in $LOCAL_VAR/apache2.conf || exit 1 test -d "$APACHE2_LOG_DIR" || mkdir -p "$APACHE2_LOG_DIR" || exit 1 EOF test "$?" = 0 || { echo "couldn't create $pre_start_script" 1>&2 exit 1 } chmod +x $pre_start_script || { echo "couldn't chmod +x $pre_start_script" 1>&2 exit 1 } |