Removed some additional contractor tools.

- Legacy-Id: 6278
This commit is contained in:
Henrik Levkowetz 2013-09-26 20:20:03 +00:00
parent 5d22979d28
commit c980836789
15 changed files with 0 additions and 1891 deletions

View file

@ -1,460 +0,0 @@
# DO NOT EDIT THIS FILE, it is generated from etc/apache2.conf.in
#
# Instead, edit etc/apache2/httpd.conf, which is included.
#
# $Id: apache2.conf.in,v 1.7 2007/03/20 22:12:33 mcr Exp $
# The LockFile directive sets the path to the lockfile used when Apache
# is compiled with either USE_FCNTL_SERIALIZED_ACCEPT or
# USE_FLOCK_SERIALIZED_ACCEPT. This directive should normally be left at
# its default value. The main reason for changing it is if the logs
# directory is NFS mounted, since the lockfile MUST BE STORED ON A LOCAL
# DISK. The PID of the main server process is automatically appended to
# the filename.
LockFile run/lock/apache2/accept.lock
ServerName localhost
# PidFile: The file in which the server should record its process
# identification number when it starts.
PidFile run/apache2.pid
# Timeout: The number of seconds before receives and sends time out.
Timeout 300
# KeepAlive: Whether or not to allow persistent connections (more than
# one request per connection). Set to "Off" to deactivate.
KeepAlive On
# MaxKeepAliveRequests: The maximum number of requests to allow
# during a persistent connection. Set to 0 to allow an unlimited amount.
# We recommend you leave this number high, for maximum performance.
MaxKeepAliveRequests 100
# KeepAliveTimeout: Number of seconds to wait for the next request from the
# same client on the same connection.
KeepAliveTimeout 15
#User www-data
#Group www-data
# The following directives define some format nicknames for use with
# a CustomLog directive (see below).
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
# Global error log.
ErrorLog run/log/apache2/error.log
# Include module configuration directly here.
LoadModule php5_module @PHP5_MODDIR@/libphp5.so
<IfModule !mod_auth_basic.c>
LoadModule auth_basic_module @APACHE2_MODDIR@/mod_auth_basic.so
</IfModule>
<IfModule !mod_authz_user.c>
LoadModule authz_user_module @APACHE2_MODDIR@/mod_authz_user.so
</IfModule>
<IfModule !mod_authz_host.c>
LoadModule authz_host_module @APACHE2_MODDIR@/mod_authz_host.so
</IfModule>
<IfModule !mod_authz_owner.c>
LoadModule authz_owner_module @APACHE2_MODDIR@/mod_authz_owner.so
</IfModule>
<IfModule !mod_authn_file.c>
LoadModule authn_file_module @APACHE2_MODDIR@/mod_authn_file.so
</IfModule>
<IfModule !mod_alias.c>
LoadModule alias_module @APACHE2_MODDIR@/mod_alias.so
</IfModule>
<IfModule !mod_dir.c>
LoadModule dir_module @APACHE2_MODDIR@/mod_dir.so
</IfModule>
<IfModule !mod_include.c>
LoadModule include_module @APACHE2_MODDIR@/mod_include.so
</IfModule>
<IfModule !mod_autoindex.c>
LoadModule autoindex_module @APACHE2_MODDIR@/mod_autoindex.so
</IfModule>
<IfModule !mod_negotiation.c>
LoadModule negotiation_module @APACHE2_MODDIR@/mod_negotiation.so
</IfModule>
<IfModule !mod_setenvif.c>
LoadModule setenvif_module @APACHE2_MODDIR@/mod_setenvif.so
</IfModule>
<IfModule !mod_log_config.c>
LoadModule log_config_module @APACHE2_MODDIR@/mod_log_config.so
</IfModule>
<IfModule !mod_mime.c>
LoadModule mime_module @APACHE2_MODDIR@/mod_mime.so
</IfModule>
<IfModule !mod_ssl.c>
LoadModule ssl_module @APACHE2_MODDIR@/mod_ssl.so
</IfModule>
<IfModule !mod_proxy.c>
LoadModule proxy_module @APACHE2_MODDIR@/mod_proxy.so
</IfModule>
<IfModule !mod_proxy_balancer.c>
LoadModule proxy_balancer_module @APACHE2_MODDIR@/mod_proxy_balancer.so
</IfModule>
<IfModule !mod_proxy_connect.c>
LoadModule proxy_connect_module @APACHE2_MODDIR@/mod_proxy_connect.so
</IfModule>
<IfModule !mod_proxy_http.c>
LoadModule proxy_http_module @APACHE2_MODDIR@/mod_proxy_http.so
</IfModule>
<IfModule !mod_rewrite.c>
LoadModule rewrite_module @APACHE2_MODDIR@/mod_rewrite.so
</IfModule>
<IfModule !mod_headers.c>
LoadModule headers_module @APACHE2_MODDIR@/mod_headers.so
</IfModule>
# phpMyAdmin default Apache configuration
Alias /phpmyadmin @RUNDIR@/phpmyadmin
<Directory @RUNDIR@>
Options Indexes FollowSymLinks
DirectoryIndex index.php
<IfModule mod_php5.c>
AddType application/x-httpd-php .php
php_flag magic_quotes_gpc Off
php_flag track_vars On
php_flag register_globals Off
php_value include_path .
</IfModule>
</Directory>
<IfModule mod_proxy.c>
ProxyRequests Off
<Proxy *>
AddDefaultCharset off
Order deny,allow
Deny from all
#Allow from .example.com
</Proxy>
# Enable/disable the handling of HTTP/1.1 "Via:" headers.
# ("Full" adds the server version; "Block" removes all outgoing Via: headers)
# Set to one of: Off | On | Full | Block
ProxyVia On
</IfModule>
<IfModule mod_php5.c>
AddType application/x-httpd-php .php .phtml .php3
AddType application/x-httpd-php-source .phps
PHPIniDir @TOPDIR@/etc
</IfModule>
# Include all the end-user configurations:
#Include apache2/httpd.conf
#Let's have some Icons, shall we?
Alias /icons/ "/usr/share/apache2/icons/"
<Directory "/usr/share/apache2/icons">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
# Set up the default error docs.
#
# Customizable error responses come in three flavors:
# 1) plain text 2) local redirects 3) external redirects
#
# Some examples:
#ErrorDocument 500 "The server made a boo boo."
#ErrorDocument 404 /missing.html
#ErrorDocument 404 "/cgi-bin/missing_handler.pl"
#ErrorDocument 402 http://www.example.com/subscription_info.html
#
#
# Putting this all together, we can Internationalize error responses.
#
# We use Alias to redirect any /error/HTTP_<error>.html.var response to
# our collection of by-error message multi-language collections. We use
# includes to substitute the appropriate text.
#
# You can modify the messages' appearance without changing any of the
# default HTTP_<error>.html.var files by adding the line;
#
# Alias /error/include/ "/your/include/path/"
#
# which allows you to create your own set of files by starting with the
# /usr/local/apache2/error/include/ files and
# copying them to /your/include/path/, even on a per-VirtualHost basis.
#
<IfModule mod_negotiation.c>
<IfModule mod_include.c>
Alias /error/ "/usr/share/apache2/error/"
<Directory "/usr/share/apache2/error">
AllowOverride None
Options IncludesNoExec
AddOutputFilter Includes html
AddHandler type-map var
Order allow,deny
Allow from all
LanguagePriority en es de fr
ForceLanguagePriority Prefer Fallback
</Directory>
ErrorDocument 400 /error/HTTP_BAD_REQUEST.html.var
#ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html.var
ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var
ErrorDocument 404 /error/HTTP_NOT_FOUND.html.var
ErrorDocument 405 /error/HTTP_METHOD_NOT_ALLOWED.html.var
ErrorDocument 408 /error/HTTP_REQUEST_TIME_OUT.html.var
ErrorDocument 410 /error/HTTP_GONE.html.var
ErrorDocument 411 /error/HTTP_LENGTH_REQUIRED.html.var
ErrorDocument 412 /error/HTTP_PRECONDITION_FAILED.html.var
ErrorDocument 413 /error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var
ErrorDocument 414 /error/HTTP_REQUEST_URI_TOO_LARGE.html.var
ErrorDocument 415 /error/HTTP_SERVICE_UNAVAILABLE.html.var
ErrorDocument 500 /error/HTTP_INTERNAL_SERVER_ERROR.html.var
ErrorDocument 501 /error/HTTP_NOT_IMPLEMENTED.html.var
ErrorDocument 502 /error/HTTP_BAD_GATEWAY.html.var
ErrorDocument 503 /error/HTTP_SERVICE_UNAVAILABLE.html.var
ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html.var
</IfModule>
</IfModule>
DirectoryIndex index.html index.cgi index.pl index.php index.xhtml
# UserDir is now a module
#UserDir public_html
#UserDir disabled root
#<Directory /home/*/public_html>
# AllowOverride FileInfo AuthConfig Limit
# Options Indexes SymLinksIfOwnerMatch IncludesNoExec
#</Directory>
AccessFileName .htaccess
<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>
UseCanonicalName Off
TypesConfig @MIMETYPES@
DefaultType text/plain
HostnameLookups Off
IndexOptions FancyIndexing VersionSort
AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
AddIconByType (TXT,/icons/text.gif) text/*
AddIconByType (IMG,/icons/image2.gif) image/*
AddIconByType (SND,/icons/sound2.gif) audio/*
AddIconByType (VID,/icons/movie.gif) video/*
# This really should be .jpg.
AddIcon /icons/binary.gif .bin .exe
AddIcon /icons/binhex.gif .hqx
AddIcon /icons/tar.gif .tar
AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
AddIcon /icons/a.gif .ps .ai .eps
AddIcon /icons/layout.gif .html .shtml .htm .pdf
AddIcon /icons/text.gif .txt
AddIcon /icons/c.gif .c
AddIcon /icons/p.gif .pl .py
AddIcon /icons/f.gif .for
AddIcon /icons/dvi.gif .dvi
AddIcon /icons/uuencoded.gif .uu
AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
AddIcon /icons/tex.gif .tex
AddIcon /icons/bomb.gif core
AddIcon /icons/back.gif ..
AddIcon /icons/hand.right.gif README
AddIcon /icons/folder.gif ^^DIRECTORY^^
AddIcon /icons/blank.gif ^^BLANKICON^^
# This is from Matty J's patch. Anyone want to make the icons?
#AddIcon /icons/dirsymlink.jpg ^^SYMDIR^^
#AddIcon /icons/symlink.jpg ^^SYMLINK^^
DefaultIcon /icons/unknown.gif
ReadmeName README.html
HeaderName HEADER.html
IndexIgnore .??* *~ *# HEADER* RCS CVS *,t
AddEncoding x-compress Z
AddEncoding x-gzip gz tgz
AddLanguage da .dk
AddLanguage nl .nl
AddLanguage en .en
AddLanguage et .et
AddLanguage fr .fr
AddLanguage de .de
AddLanguage el .el
AddLanguage it .it
AddLanguage ja .ja
AddLanguage pl .po
AddLanguage ko .ko
AddLanguage pt .pt
AddLanguage no .no
AddLanguage pt-br .pt-br
AddLanguage ltz .ltz
AddLanguage ca .ca
AddLanguage es .es
AddLanguage sv .se
AddLanguage cz .cz
AddLanguage ru .ru
AddLanguage tw .tw
AddLanguage zh-tw .tw
LanguagePriority en da nl et fr de el it ja ko no pl pt pt-br ltz ca es sv tw
#AddDefaultCharset ISO-8859-1
AddCharset ISO-8859-1 .iso8859-1 .latin1
AddCharset ISO-8859-2 .iso8859-2 .latin2 .cen
AddCharset ISO-8859-3 .iso8859-3 .latin3
AddCharset ISO-8859-4 .iso8859-4 .latin4
AddCharset ISO-8859-5 .iso8859-5 .latin5 .cyr .iso-ru
AddCharset ISO-8859-6 .iso8859-6 .latin6 .arb
AddCharset ISO-8859-7 .iso8859-7 .latin7 .grk
AddCharset ISO-8859-8 .iso8859-8 .latin8 .heb
AddCharset ISO-8859-9 .iso8859-9 .latin9 .trk
AddCharset ISO-2022-JP .iso2022-jp .jis
AddCharset ISO-2022-KR .iso2022-kr .kis
AddCharset ISO-2022-CN .iso2022-cn .cis
AddCharset Big5 .Big5 .big5
# For russian, more than one charset is used (depends on client, mostly):
AddCharset WINDOWS-1251 .cp-1251 .win-1251
AddCharset CP866 .cp866
AddCharset KOI8-r .koi8-r .koi8-ru
AddCharset KOI8-ru .koi8-uk .ua
AddCharset ISO-10646-UCS-2 .ucs2
AddCharset ISO-10646-UCS-4 .ucs4
AddCharset UTF-8 .utf8
AddCharset GB2312 .gb2312 .gb
AddCharset utf-7 .utf7
AddCharset utf-8 .utf8
AddCharset big5 .big5 .b5
AddCharset EUC-TW .euc-tw
AddCharset EUC-JP .euc-jp
AddCharset EUC-KR .euc-kr
AddCharset shift_jis .sjis
#AddType application/x-httpd-php .php
#AddType application/x-httpd-php-source .phps
AddType application/x-tar .tgz
# To use CGI scripts outside /cgi-bin/:
#
#AddHandler cgi-script .cgi
# To use server-parsed HTML files
#
<FilesMatch "\.shtml(\..+)?$">
SetOutputFilter INCLUDES
</FilesMatch>
# If you wish to use server-parsed imagemap files, use
#
#AddHandler imap-file map
BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
BrowserMatch "RealPlayer 4\.0" force-response-1.0
BrowserMatch "Java/1\.0" force-response-1.0
BrowserMatch "JDK/1\.0" force-response-1.0
#
# The following directive disables redirects on non-GET requests for
# a directory that does not include the trailing slash. This fixes a
# problem with Microsoft WebFolders which does not appropriately handle
# redirects for folders with DAV methods.
#
BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
BrowserMatch "^WebDrive" redirect-carefully
BrowserMatch "^gnome-vfs" redirect-carefully
BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully
# Allow server status reports, with the URL of http://servername/server-status
# Change the ".your_domain.com" to match your domain to enable.
#
#<Location /server-status>
# SetHandler server-status
# Order deny,allow
# Deny from all
# Allow from .your_domain.com
#</Location>
# Allow remote server configuration reports, with the URL of
# http://servername/server-info (requires that mod_info.c be loaded).
# Change the ".your_domain.com" to match your domain to enable.
#
#<Location /server-info>
# SetHandler server-info
# Order deny,allow
# Deny from all
# Allow from .your_domain.com
#</Location>
ServerAdmin webmaster@localhost
ServerName localhost
DocumentRoot @TOPDIR@/public
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory @TOPDIR@/public>
Options FollowSymLinks MultiViews
AllowOverride AuthConfig Indexes
Order allow,deny
allow from all
</Directory>
ErrorLog run/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog run/log/apache2/access.log combined
ServerSignature On

View file

@ -1,11 +0,0 @@
create database @APPNAME@;
create database @APPNAME@_test;
create user migrations identified by '@DBPASSWORD@';
create user @APPNAME@ identified by '@DBPASSWORD@';
create user test_@APPNAME@ identified by '@DBPASSWORD@';
grant all on @APPNAME@.* TO 'migrations'@'%';
grant all on @APPNAME@.* TO '@APPNAME@'@'%';
grant all on test_@APPNAME@.* TO '@APPNAME@'@'%';
grant all on @APPNAME@_test.* TO 'test_@APPNAME@'@'%';
-- INSERT INTO auth_user VALUES (999412, 'admin', '', '', 'admin@example.com', 'sha1$48cf6$be9eb63ed0c17db7afdc8c2835f95f1ab93a30e9', true, true, true, '2011-12-09 16:03:28.471308-05', '2011-12-09 16:03:28.471308-05');

View file

@ -1,42 +0,0 @@
<?php
/**
* This file is generated by can-o-mysql.
*/
/*
* This is needed for cookie based authentication to encrypt password in
* cookie
*/
$cfg['blowfish_secret'] = '@SECRETSECRET@';
/*
* Servers configuration
*/
$i = 0;
/*
* First server
*/
$i++;
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'cookie';
/* Server parameters */
$cfg['Servers'][$i]['connect_type'] = 'socket';
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['compress'] = false;
/* Select mysqli if your server has it */
$cfg['Servers'][$i]['extension'] = 'mysql';
$cfg['Servers'][$i]['socket'] = '@SOCKET@';
/*
* End of servers configuration
*/
/*
* Directories for saving/loading files from server
*/
$cfg['UploadDir'] = '';
$cfg['SaveDir'] = '';
?>

View file

@ -1,91 +0,0 @@
#!/bin/sh
# this is a shell script to create a local configuration for Apache to run
# with PHP and MYSQL.
#
# this is based upon work in the ircan.gc.ca's ITERation project.
#
while [ ! -d ietf ]
do
cd ..
done
if [ -d ietf ]
then
TOPDIR=$(pwd)
else
echo it seems that I can not find the top-level htdocs
exit 2
fi
PORT=$(./etc/portnum.sh)
VERSION=1
export LANG=C
export LC_TIME=C
APACHE2_MODDIR=$(if [ -d /usr/lib/apache2/modules ]; then echo /usr/lib/apache2/modules; else echo WHERE IS APACHE; fi; )
WEBSERVER=$(if [ -x /usr/sbin/httpd2 ]; then echo /usr/sbin/httpd2; elif [ -x /usr/sbin/apache2 ]; then echo /usr/sbin/apache2; fi)
PHP5_MODDIR=${APACHE2_MODDIR}
CONFFILES="apache2.conf php.ini runweb.sh"
SYSTEMPORT=$(./etc/portnum.sh )
IPADDRESS=127.0.0.1
MIMETYPES=$(if [ -f /etc/apache2/mime.types ]; then echo /etc/apache2/mime.types; elif [ -f /etc/mime.types ]; then echo /etc/mime.types; fi)
SYSTEMURL=$(echo 'http://localhost:'${SYSTEMPORT}'/')
SECRETSECRET=$(pwgen 16 1)
RUNDIR=${TOPDIR}/run
SOCKET=${RUNDIR}/mysqld.sock
SCRIPTDIR=etc
# keep this constant to avoid churn. Output from pwgen 16 1
DBPASSWORD=ing9aGha8Ga0geaj
# now create all the relevant files.
localize() {
file=$1
echo Processing $file
sed -e 's,@TOPDIR@,'${TOPDIR}',g' \
-e 's,@APACHE2_MODDIR@,'${APACHE2_MODDIR}',g' \
-e 's,@WEBSERVER@,'${WEBSERVER}',g' \
-e 's,@MIMETYPES@,'${MIMETYPES}',g' \
-e 's,@SECRETSECRET@,'${SECRETSECRET}',g' \
-e 's,@RUNDIR@,'${RUNDIR}',g' \
-e 's,@SCRIPTDIR@,'${SCRIPTDIR}',g' \
-e 's,@SOCKET@,'${SOCKET}',g' \
-e 's,@APPNAME@,'ietfdb',g' \
-e 's,@DBPASSWORD@,'${DBPASSWORD}',g' \
-e 's,@DBPATH@,'${SOCKET}',g' \
-e 's,@PHP5_MODDIR@,'${PHP5_MODDIR}',g' \
$file.in >$file
if [ -x $file.in ]; then chmod +x $file; fi
}
mkdir -p $TOPDIR/run/log
mkdir -p $TOPDIR/run/log/apache2
mkdir -p $TOPDIR/run/lock
mkdir -p $TOPDIR/log
mkdir -p $TOPDIR/django_cache
localize etc/apache2.conf
localize etc/runweb.sh
localize etc/php.ini
localize etc/shutit.sh
localize etc/initdb.sh
localize etc/rundb.sh
localize etc/shutdb.sh
localize etc/shutit.sh
localize etc/config.inc.php
localize etc/mysql.sh
localize etc/bootstrap.sql
localize etc/settings_local.py
# writable directories required by settings file.
mkdir -p tmp/staging
cp etc/settings_local.py ietf
if [ -f php/install-settings.php.in ]; then
localize php/install-settings.php
fi

View file

@ -1,11 +0,0 @@
from ietf.person.models import Person, Email
from ietf.name.models import RoleName
from ietf.group.models import Group
mcr = Person.objects.get(pk=102254)
secr = RoleName.objects.get(pk="secr")
secretariat = Group.objects.get(pk=4)
email = Email(address = "orlando@credil.org", person=mcr, active=True)
email.save()
mcr.role_set.create(name=secr, email=email, group=secretariat)

View file

@ -1,52 +0,0 @@
#!/bin/bash
TOPDIR=@TOPDIR@
RUNDIR=${TOPDIR}/run
LOGDIR=${TOPDIR}/log
DBDIR=${RUNDIR}/db
PIDFILE=${RUNDIR}/mysqld.pid
SOCKET=${RUNDIR}/mysqld.sock
if [ -d /usr/local/mysql ]; then
BASEDIR=/usr/local/mysql
else
BASEDIR=/usr
fi
mkdir -p ${RUNDIR}/mysqld
mkdir -p ${TOPDIR}/db/mysql
mkdir -p ${LOGDIR}/mysql
PATH=${BASEDIR}/scripts:${BASEDIR}/bin:$PATH export PATH
mysql_install_db --no-defaults --basedir=${BASEDIR} --datadir=${DBDIR} --pid-file=${PIDFILE} --skip-external-locking --socket=${SOCKET} --log_bin=${LOGDIR}/mysql/mysql-bin.log
echo ${SOCKET} >.mysql.socket
# now start the DB.
# have to start up mysql with TCP networking enabled!
mysqld --basedir=${BASEDIR} --datadir=${DBDIR} --pid-file=${PIDFILE} --skip-external-locking --socket=${SOCKET} --port=3307 --log_bin=${LOGDIR}/mysql/mysql-bin.log --default-storage-engine=InnoDB &
sleep 10
connargs="--protocol=socket --socket=${SOCKET} "
( echo "update user set host='%' where host='localhost';"
echo "update user set password=PASSWORD('Ahw3ooh2') where user='root';"
echo "FLUSH PRIVILEGES;" ) | mysql -h 127.0.0.1 --port=3307 -u root mysql
echo TRYING new PW. "(do \q twice)"
mysql -h 127.0.0.1 --port=3307 -u root --password='Ahw3ooh2' mysql
mysql $connargs -u root --password='Ahw3ooh2' mysql
sleep 10
if [ -f etc/bootstrap.sql ]; then
cat etc/bootstrap.sql | mysql -h 127.0.0.1 --port=3307 -u root --password='Ahw3ooh2' mysql
fi
sleep 10
(
echo "FLUSH PRIVILEGES;"
) | mysql -h 127.0.0.1 --port=3307 -u root --password='Ahw3ooh2' mysql
mysqladmin -h 127.0.0.1 --port=3307 -u root --password=Ahw3ooh2 shutdown

View file

@ -1,21 +0,0 @@
#!/bin/sh
TOPDIR=@TOPDIR@
RUNDIR=${TOPDIR}/run
LOGDIR=${TOPDIR}/log
SOCKET=${RUNDIR}/mysqld.sock
PIDFILE=${RUNDIR}/mysqld.pid
mkdir -p ${RUNDIR}/mysqld
mkdir -p ${TOPDIR}/db/mysql
mkdir -p ${LOGDIR}/mysql
if [ -d /usr/local/mysql ]; then
BASEDIR=/usr/local/mysql
else
BASEDIR=/usr
fi
PATH=/usr/local/mysql/bin:$PATH export PATH
connargs="--protocol=socket --socket=${SOCKET} "
mysql $connargs -u root --password='Ahw3ooh2' ietfdb $*

View file

@ -1,5 +0,0 @@
#!/bin/sh
echo " Summary: 0 errors"
echo " No nits found"
true

File diff suppressed because it is too large Load diff

View file

@ -1,6 +0,0 @@
#!/bin/sh
PORT=$(( $(id -u) + 7000 ))
echo $PORT

View file

@ -1,28 +0,0 @@
#!/bin/sh
TOPDIR=@TOPDIR@
RUNDIR=${TOPDIR}/run
DBDIR=${RUNDIR}/db
LOGDIR=${RUNDIR}/log
SOCKET=${RUNDIR}/mysqld.sock
PIDFILE=${RUNDIR}/mysqld.pid
mkdir -p ${RUNDIR}/mysqld
mkdir -p ${TOPDIR}/db/mysql
mkdir -p ${LOGDIR}/mysql
if [ -d /usr/local/mysql ]; then
BASEDIR=/usr/local/mysql
else
BASEDIR=/usr
fi
mkdir -p ${LOGDIR}/mysql
PATH=/usr/local/mysql/bin:$PATH export PATH
mysqld --basedir=${BASEDIR} --datadir=${DBDIR} --pid-file=${PIDFILE} --skip-external-locking --socket=${SOCKET} --skip-networking --general_log=${LOGDIR}/mysql-query.log --transaction-isolation=READ-COMMITTED --default-storage-engine=InnoDB --skip-sync-frm=OFF&
#--default-table-type=innodb
#[mysqld]
#default-table-type=innodb
#transaction-isolation=READ-COMMITTED
#default-character-set=utf8
#skip-sync-frm=OFF

View file

@ -1,37 +0,0 @@
#!/bin/sh
ServerRoot=@TOPDIR@
ScriptDir=$ServerRoot/@SCRIPTDIR@
PORT=$($ServerRoot/etc/portnum.sh)
WEBSERVER=${WEBSERVER-@WEBSERVER@}
if [ ! -x ${WEBSERVER} ]; then
if [ -x /usr/sbin/httpd2 ]; then
WEBSERVER=/usr/sbin/httpd2
else
echo NO web server found at $WEBSERVER
exit 10
fi
fi
if [ -d /usr/share/phpmyadmin ]; then
mkdir -p $ServerRoot/run/phpmyadmin
(cd $ServerRoot/run/phpmyadmin;
ln -f -s /usr/share/phpmyadmin/* .
rm -f config.inc.php
cp $ScriptDir/config.inc.php . )
fi
mkdir -p $ServerRoot/run/lock/apache2
mkdir -p $ServerRoot/run/log/apache2
echo Starting web server on port $PORT
$WEBSERVER -f ${ScriptDir}/apache2.conf -d $ServerRoot -C 'User '$USER -C 'Listen 127.0.0.1:'$PORT
# for applications which use Rails too.
#echo Now starting mongrel cluster on port 9000/9001.
#echo NOTE: started in DEVELOPMENT mode.
#$ServerRoot/script/process/spawner mongrel -p 9000 -i 2 -a 127.0.0.1

View file

@ -1,32 +0,0 @@
DATABASES = {
'default' : {
'ENGINE' : 'django.db.backends.mysql',
'NAME' : '@APPNAME@',
'USER' : '@APPNAME@',
'PASSWORD' : '@DBPASSWORD@',
'HOST' : '@DBPATH@',
'PORT' : '',
'TEST_ENGINE' : 'django.db.backends.mysql',
'TEST_NAME' : 'test_@APPNAME@',
'TEST_USER' : 'test_@APPNAME@',
'TEST_PASSWORD' : '@DBPASSWORD@',
'TEST_HOST' : '@DBPATH@',
'TEST_PORT' : '',
}
}
# Make this unique, and don't share it with anybody.
SECRET_KEY = '@SECRETSECRET@'
CACHE_BACKEND = 'file:///@TOPDIR@/django_cache'
DATABASE_TEST_OPTIONS = { 'init_command': 'SET storage_engine=InnoDB', }
import logging
logging.basicConfig(filename='@TOPDIR@/ajax.log',
level=logging.DEBUG)
IDSUBMIT_IDNITS_BINARY = '@TOPDIR@/etc/nonits'
IDSUBMIT_STAGING_PATH = '@TOPDIR@/tmp/staging'
USE_NEW_PYTHON_MAGIC = True
TEMPLATE_STRING_IF_INVALID = "****** SOMETHING WENT WRONG ******"

View file

@ -1,15 +0,0 @@
#!/bin/sh
TOPDIR=@TOPDIR@
RUNDIR=${TOPDIR}/run
LOGDIR=${TOPDIR}/log
PIDFILE=${RUNDIR}/mysqld.pid
SOCKET=${RUNDIR}/mysqld.sock
if [ -d /usr/local/mysql ]; then
BASEDIR=/usr/local/mysql
else
BASEDIR=/usr
fi
mysqladmin --protocol=socket --socket=${SOCKET} -u root --password=Ahw3ooh2 shutdown

View file

@ -1,5 +0,0 @@
#!/bin/sh
ServerRoot=@TOPDIR@
[ -f $ServerRoot/run/apache2.pid ] && kill `cat $ServerRoot/run/apache2.pid`