summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-www/webapp-config/files')
-rw-r--r--net-www/webapp-config/files/digest-webapp-config-1.10-r101
-rw-r--r--net-www/webapp-config/files/digest-webapp-config-1.10-r111
-rw-r--r--net-www/webapp-config/files/digest-webapp-config-1.10-r121
-rw-r--r--net-www/webapp-config/files/digest-webapp-config-1.10-r141
-rw-r--r--net-www/webapp-config/files/digest-webapp-config-1.10-r61
-rw-r--r--net-www/webapp-config/files/digest-webapp-config-1.111
-rw-r--r--net-www/webapp-config/files/digest-webapp-config-1.11-r11
-rw-r--r--net-www/webapp-config/files/digest-webapp-config-1.9-r21
-rw-r--r--net-www/webapp-config/files/webapp-config_fixperms.patch61
-rw-r--r--net-www/webapp-config/files/webapp-config_improved-tmpfile-handling.patch35
10 files changed, 0 insertions, 104 deletions
diff --git a/net-www/webapp-config/files/digest-webapp-config-1.10-r10 b/net-www/webapp-config/files/digest-webapp-config-1.10-r10
deleted file mode 100644
index d89592717ba1..000000000000
--- a/net-www/webapp-config/files/digest-webapp-config-1.10-r10
+++ /dev/null
@@ -1 +0,0 @@
-MD5 a0d92f9d511fc13522cc0f74fd3178f9 webapp-config-1.10-r10.tar.bz2 54054
diff --git a/net-www/webapp-config/files/digest-webapp-config-1.10-r11 b/net-www/webapp-config/files/digest-webapp-config-1.10-r11
deleted file mode 100644
index 1c996dd65761..000000000000
--- a/net-www/webapp-config/files/digest-webapp-config-1.10-r11
+++ /dev/null
@@ -1 +0,0 @@
-MD5 bed846f79e779fe64a56568aefe22ed0 webapp-config-1.10-r11.tar.bz2 54094
diff --git a/net-www/webapp-config/files/digest-webapp-config-1.10-r12 b/net-www/webapp-config/files/digest-webapp-config-1.10-r12
deleted file mode 100644
index 1c996dd65761..000000000000
--- a/net-www/webapp-config/files/digest-webapp-config-1.10-r12
+++ /dev/null
@@ -1 +0,0 @@
-MD5 bed846f79e779fe64a56568aefe22ed0 webapp-config-1.10-r11.tar.bz2 54094
diff --git a/net-www/webapp-config/files/digest-webapp-config-1.10-r14 b/net-www/webapp-config/files/digest-webapp-config-1.10-r14
deleted file mode 100644
index 1c996dd65761..000000000000
--- a/net-www/webapp-config/files/digest-webapp-config-1.10-r14
+++ /dev/null
@@ -1 +0,0 @@
-MD5 bed846f79e779fe64a56568aefe22ed0 webapp-config-1.10-r11.tar.bz2 54094
diff --git a/net-www/webapp-config/files/digest-webapp-config-1.10-r6 b/net-www/webapp-config/files/digest-webapp-config-1.10-r6
deleted file mode 100644
index 6c85207c7fa9..000000000000
--- a/net-www/webapp-config/files/digest-webapp-config-1.10-r6
+++ /dev/null
@@ -1 +0,0 @@
-MD5 49dc7ebfaa87c12b5e858c4401f550f3 webapp-config-1.10-r6.tar.bz2 51738
diff --git a/net-www/webapp-config/files/digest-webapp-config-1.11 b/net-www/webapp-config/files/digest-webapp-config-1.11
deleted file mode 100644
index 30ffc0afef32..000000000000
--- a/net-www/webapp-config/files/digest-webapp-config-1.11
+++ /dev/null
@@ -1 +0,0 @@
-MD5 56f6709ebc07e43382f9ac07bed0cc63 webapp-config-1.11.tar.bz2 54859
diff --git a/net-www/webapp-config/files/digest-webapp-config-1.11-r1 b/net-www/webapp-config/files/digest-webapp-config-1.11-r1
deleted file mode 100644
index d9b301234320..000000000000
--- a/net-www/webapp-config/files/digest-webapp-config-1.11-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 cf696621e74f81091b9d9bbc30588008 webapp-config-1.11-r1.tar.bz2 55702
diff --git a/net-www/webapp-config/files/digest-webapp-config-1.9-r2 b/net-www/webapp-config/files/digest-webapp-config-1.9-r2
deleted file mode 100644
index 8972bdf0223c..000000000000
--- a/net-www/webapp-config/files/digest-webapp-config-1.9-r2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 ce82210393e3be757d5a3f1190910ad1 webapp-config-1.9-r2.tar.bz2 45483
diff --git a/net-www/webapp-config/files/webapp-config_fixperms.patch b/net-www/webapp-config/files/webapp-config_fixperms.patch
deleted file mode 100644
index b9afd2cd8bdc..000000000000
--- a/net-www/webapp-config/files/webapp-config_fixperms.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-diff -Nup -Nrup webapp-config-1.10-r11.orig/config/webapp-config webapp-config-1.10-r11.patched-1/config/webapp-config
---- webapp-config-1.10-r11.orig/config/webapp-config 2003-07-21 15:52:49.000000000 +0100
-+++ webapp-config-1.10-r11.patched-1/config/webapp-config 2005-05-09 05:30:51.000000000 +0100
-@@ -94,7 +94,8 @@ VHOST_CONFIG_UID="`id -nu`"
- #
- # you can override this setting by using the -g switch to webapp-config
-
--VHOST_CONFIG_GID="`id -ng`"
-+#VHOST_CONFIG_GID="`id -ng`"
-+VHOST_CONFIG_GID="apache"
-
- # what type of shared directories should be created?
- # the default is 'virtual', which means that each install of the app
-@@ -176,7 +177,7 @@ VHOST_PERMS_SERVEROWNED_DIR=775
- VHOST_PERMS_SERVEROWNED_FILE=664
-
- VHOST_PERMS_CONFIGOWNED_DIR=755
--VHOST_PERMS_CONFIGOWNED_FILE=644
-+VHOST_PERMS_CONFIGOWNED_FILE=640
-
- VHOST_PERM_DEFAULTOWNED_DIR=755
-
-diff -Nup -Nrup webapp-config-1.10-r11.orig/sbin/webapp-config webapp-config-1.10-r11.patched-1/sbin/webapp-config
---- webapp-config-1.10-r11.orig/sbin/webapp-config 2003-07-21 15:52:49.000000000 +0100
-+++ webapp-config-1.10-r11.patched-1/sbin/webapp-config 2005-05-09 05:30:12.000000000 +0100
-@@ -77,7 +77,7 @@ G_PN=
- G_PVR=
- G_HOSTNAME="${VHOST_HOSTNAME:-localhost}"
- G_CONFIG_UID="${VHOST_CONFIG_UID:-root}"
--G_CONFIG_GID="${VHOST_CONFIG_GID:-root}"
-+G_CONFIG_GID="${VHOST_CONFIG_GID:-apache}"
- G_VIRTUAL_DIRS="${VHOST_CONFIG_VIRTUAL_DIRS:-virtual}"
- G_VIRTUAL_FILES="${VHOST_CONFIG_VIRTUAL_FILES:-virtual}"
- G_FORCE_VIRTUAL=0
-@@ -92,7 +92,7 @@ G_PERMS_SERVEROWNED_DIR="${VHOST_PERMS_S
- G_PERMS_SERVEROWNED_FILE="${VHOST_PERMS_SERVEROWNED_FILE:-664}"
- G_PERMS_DEFAULTOWNED_DIR="${VHOST_PERMS_DEFAULTOWNED_DIR:-755}"
- G_PERMS_CONFIGOWNED_DIR="${VHOST_PERMS_CONFIGOWNED_DIR:-755}"
--G_PERMS_CONFIGOWNED_FILE="${VHOST_PERMS_CONFIGOWNED_FILE:-644}"
-+G_PERMS_CONFIGOWNED_FILE="${VHOST_PERMS_CONFIGOWNED_FILE:-640}"
- G_PERMS_VIRTUAL_DIR="${VHOST_PERMS_VIRTUALOWNED_DIR:-755}"
- G_PERMS_VIRTUAL_FILE="${VHOST_PERMS_VIRTUALOWNED_FILE:-o-w}"
- G_PERMS_INSTALLDIR="${VHOST_PERMS_INSTALLDIR:-755}"
-@@ -3048,6 +3048,17 @@ main ()
-
- # echo $G_WORK
- "fn_${G_WORK}"
-+
-+ # Due to a mild balls-up in earlier versions of webapp-config, some directories
-+ # (notably /var/www/$site and /var/www/$site/htdocs) were created mode 777
-+ # (a la world-writable). Because of this, we run some checks after installing
-+ # apps to find any such directories, remove the 'others write' bit from said
-+ # directories mode, and warn the user that this has been done. Ugh.
-+ libsh_einfo "Checking permissions on web site and document root directories .."
-+ find `dirname ${VHOST_ROOT}` -maxdepth 2 -type d -perm -o=w |while read d; do
-+ libsh_ewarn "Removing 'others write' bit from directory ${d}"
-+ chmod o-w "$d"
-+ done
- }
-
- main "$@"
diff --git a/net-www/webapp-config/files/webapp-config_improved-tmpfile-handling.patch b/net-www/webapp-config/files/webapp-config_improved-tmpfile-handling.patch
deleted file mode 100644
index 38211296044c..000000000000
--- a/net-www/webapp-config/files/webapp-config_improved-tmpfile-handling.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-diff -Nup -Nrup webapp-config-1.10-r11.orig/sbin/webapp-config webapp-config-1.10-r11.patched-2/sbin/webapp-config
---- webapp-config-1.10-r11.orig/sbin/webapp-config 2003-07-21 15:52:49.000000000 +0100
-+++ webapp-config-1.10-r11.patched-2/sbin/webapp-config 2005-05-09 05:36:20.000000000 +0100
-@@ -2444,9 +2444,15 @@ fn_remove_dir ()
-
- fn_remove_emptylines ()
- {
-- egrep -v '^$' "$1" > /tmp/$$
-- cat /tmp/$$ > "$1"
-- rm -f /tmp/$$
-+ local tfile=`mktemp /tmp/webapp-config.XXXXXXXXXX`
-+ if [ $? -ne 0 ]; then
-+ rm -f $tfile
-+ libsh_edie "mktemp failed"
-+ fi
-+
-+ egrep -v '^$' "$1" > $tfile
-+ cat $tfile > "$1"
-+ rm -f $tfile
- }
-
- # ------------------------------------------------------------------------
-@@ -2714,7 +2720,11 @@ fn_show_postinst ()
- return
- fi
-
-- local my_file="/tmp/$$.postinst.txt"
-+ local my_file=`mktemp /tmp/webapp-config.postinstall.XXXXXXXXXX`
-+ if [ $? -ne 0 ]; then
-+ rm -f $my_file
-+ libsh_edie "mktemp failed"
-+ fi
-
- fn_run_vars
-