diff options
author | 2005-05-24 02:34:59 +0000 | |
---|---|---|
committer | 2005-05-24 02:34:59 +0000 | |
commit | 509767b415bec7739b58de0b78d949112e17c369 (patch) | |
tree | fc6a949744e6b14a820c8ccab20ce81e25be661d /www-apps/viewcvs/files | |
parent | (#89235) Use has_hardened instead of hardened USE flag, because it checks the... (diff) | |
download | historical-509767b415bec7739b58de0b78d949112e17c369.tar.gz historical-509767b415bec7739b58de0b78d949112e17c369.tar.bz2 historical-509767b415bec7739b58de0b78d949112e17c369.zip |
several changes, new ebuilds, cleaned old ebuilds/files, fixed a few scripts for webapp stuff
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'www-apps/viewcvs/files')
-rw-r--r-- | www-apps/viewcvs/files/digest-viewcvs-0.9.2-r3 | 1 | ||||
-rw-r--r-- | www-apps/viewcvs/files/digest-viewcvs-0.9.2-r4 | 1 | ||||
-rw-r--r-- | www-apps/viewcvs/files/digest-viewcvs-0.9.2_p20030430 | 1 | ||||
-rw-r--r-- | www-apps/viewcvs/files/digest-viewcvs-0.9.2_p20030430-r1 | 1 | ||||
-rw-r--r-- | www-apps/viewcvs/files/digest-viewcvs-0.9.2_p20030430-r2 | 1 | ||||
-rw-r--r-- | www-apps/viewcvs/files/digest-viewcvs-0.9.2_p20040831 | 1 | ||||
-rw-r--r-- | www-apps/viewcvs/files/digest-viewcvs-0.9.2_p20041207 | 1 | ||||
-rw-r--r-- | www-apps/viewcvs/files/digest-viewcvs-0.9.3 | 1 | ||||
-rw-r--r-- | www-apps/viewcvs/files/digest-viewcvs-1.0_pre20050523 | 1 | ||||
-rw-r--r-- | www-apps/viewcvs/files/postinstall-en.txt | 6 | ||||
-rw-r--r-- | www-apps/viewcvs/files/reconfig | 13 | ||||
-rw-r--r-- | www-apps/viewcvs/files/viewcvs-0.9.2.patch | 37 |
12 files changed, 13 insertions, 52 deletions
diff --git a/www-apps/viewcvs/files/digest-viewcvs-0.9.2-r3 b/www-apps/viewcvs/files/digest-viewcvs-0.9.2-r3 deleted file mode 100644 index 7ee3ce69fbbc..000000000000 --- a/www-apps/viewcvs/files/digest-viewcvs-0.9.2-r3 +++ /dev/null @@ -1 +0,0 @@ -MD5 c7857b1ed05240ad1f691ea40044daf2 viewcvs-0.9.2.tar.gz 140063 diff --git a/www-apps/viewcvs/files/digest-viewcvs-0.9.2-r4 b/www-apps/viewcvs/files/digest-viewcvs-0.9.2-r4 deleted file mode 100644 index 7ee3ce69fbbc..000000000000 --- a/www-apps/viewcvs/files/digest-viewcvs-0.9.2-r4 +++ /dev/null @@ -1 +0,0 @@ -MD5 c7857b1ed05240ad1f691ea40044daf2 viewcvs-0.9.2.tar.gz 140063 diff --git a/www-apps/viewcvs/files/digest-viewcvs-0.9.2_p20030430 b/www-apps/viewcvs/files/digest-viewcvs-0.9.2_p20030430 deleted file mode 100644 index 60c9db1f8b57..000000000000 --- a/www-apps/viewcvs/files/digest-viewcvs-0.9.2_p20030430 +++ /dev/null @@ -1 +0,0 @@ -MD5 4ddcb02e47f3255d38d8f541ab6c985f viewcvs-20030430.tar.bz2 191735 diff --git a/www-apps/viewcvs/files/digest-viewcvs-0.9.2_p20030430-r1 b/www-apps/viewcvs/files/digest-viewcvs-0.9.2_p20030430-r1 deleted file mode 100644 index 60c9db1f8b57..000000000000 --- a/www-apps/viewcvs/files/digest-viewcvs-0.9.2_p20030430-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 4ddcb02e47f3255d38d8f541ab6c985f viewcvs-20030430.tar.bz2 191735 diff --git a/www-apps/viewcvs/files/digest-viewcvs-0.9.2_p20030430-r2 b/www-apps/viewcvs/files/digest-viewcvs-0.9.2_p20030430-r2 deleted file mode 100644 index 60c9db1f8b57..000000000000 --- a/www-apps/viewcvs/files/digest-viewcvs-0.9.2_p20030430-r2 +++ /dev/null @@ -1 +0,0 @@ -MD5 4ddcb02e47f3255d38d8f541ab6c985f viewcvs-20030430.tar.bz2 191735 diff --git a/www-apps/viewcvs/files/digest-viewcvs-0.9.2_p20040831 b/www-apps/viewcvs/files/digest-viewcvs-0.9.2_p20040831 deleted file mode 100644 index 8d4954399ef4..000000000000 --- a/www-apps/viewcvs/files/digest-viewcvs-0.9.2_p20040831 +++ /dev/null @@ -1 +0,0 @@ -MD5 692a22591bc229daae695adb2474d71e viewcvs-20040831.tar.bz2 205993 diff --git a/www-apps/viewcvs/files/digest-viewcvs-0.9.2_p20041207 b/www-apps/viewcvs/files/digest-viewcvs-0.9.2_p20041207 deleted file mode 100644 index b49145e38456..000000000000 --- a/www-apps/viewcvs/files/digest-viewcvs-0.9.2_p20041207 +++ /dev/null @@ -1 +0,0 @@ -MD5 86315155b4e24072e414f719178cbde5 viewcvs-20041207.tar.bz2 340385 diff --git a/www-apps/viewcvs/files/digest-viewcvs-0.9.3 b/www-apps/viewcvs/files/digest-viewcvs-0.9.3 new file mode 100644 index 000000000000..7bcd2f682fda --- /dev/null +++ b/www-apps/viewcvs/files/digest-viewcvs-0.9.3 @@ -0,0 +1 @@ +MD5 8be527279feaaa6ecf184bcf714e2f22 viewcvs-0.9.3.tar.gz 140215 diff --git a/www-apps/viewcvs/files/digest-viewcvs-1.0_pre20050523 b/www-apps/viewcvs/files/digest-viewcvs-1.0_pre20050523 new file mode 100644 index 000000000000..4bc3c6f3c07e --- /dev/null +++ b/www-apps/viewcvs/files/digest-viewcvs-1.0_pre20050523 @@ -0,0 +1 @@ +MD5 86fcff190a838b976b76bbf8652c2a7c viewcvs-20050523.tar.bz2 339195 diff --git a/www-apps/viewcvs/files/postinstall-en.txt b/www-apps/viewcvs/files/postinstall-en.txt index 9f5864cf48f2..9c29f1481854 100644 --- a/www-apps/viewcvs/files/postinstall-en.txt +++ b/www-apps/viewcvs/files/postinstall-en.txt @@ -1,9 +1,9 @@ If you are using Apache, consider adding something like this to your apache.conf: -ScriptAlias /viewcvs /var/www/localhost/cgi-bin/viewcvs/viewcvs.cgi -ScriptAlias /cvsquery /var/www/localhost/cgi-bin/viewcvs/cvsquery.cgi +ScriptAlias /viewcvs /var/www/${VHOST_ROOT}/cgi-bin/viewcvs/viewcvs.cgi +ScriptAlias /cvsquery /var/www/${VHOST_ROOT}/cgi-bin/viewcvs/cvsquery.cgi Before using viewcvs, be sure to configure it properly. Edit ${VHOST_ROOT}/${PN}/viewcvs.conf and ${VHOST_ROOT}/${PN}/cvsgraph.conf to -suit your needs. Consult the two .dist files for a start. +suit your needs. diff --git a/www-apps/viewcvs/files/reconfig b/www-apps/viewcvs/files/reconfig index 5e0e616b08a6..e90865ac787a 100644 --- a/www-apps/viewcvs/files/reconfig +++ b/www-apps/viewcvs/files/reconfig @@ -1,10 +1,13 @@ #!/bin/bash +# $Header: /var/cvsroot/gentoo-x86/www-apps/viewcvs/files/reconfig,v 1.3 2005/05/24 02:34:59 ramereth Exp $ + if [ $1 = "start" -o $1 = "install" ]; then - find ${VHOST_CGIBINDIR}/${PN} ${VHOST_ROOT}/${PN} -type f | xargs sed -e "s|\(^LIBRARY_DIR\)\(.*\$\)|\1 = \"${VHOST_CGIBINDIR}/${PN}/lib\"|g - s,\(^CONF_PATHNAME\)\(.*\$\),\1 = \"${VHOST_ROOT}/${PN}/viewcvs.conf\",g - s,\(<VIEWCVS_INSTALL_DIRECTORY>\),${VHOST_ROOT}/${PN},g" -i + find ${VHOST_CGIBINDIR}/viewcvs ${VHOST_ROOT}/viewcvs -type f \ + | xargs sed -e "s|\(^LIBRARY_DIR\)\(.*\$\)|\1 = \"${VHOST_ROOT}/viewcvs/lib\"|g + s,\(^CONF_PATHNAME\)\(.*\$\),\1 = \"${VHOST_ROOT}/viewcvs/viewcvs.conf\",g + s,\(<VIEWCVS_INSTALL_DIRECTORY>\),${VHOST_ROOT}/viewcvs,g" -i elif [ $1 = "clean" ]; then - rm -rf ${VHOST_CGIBINDIR}/${PN} - rm -rf ${VHOST_ROOT}/${PN}/templates + rm -rf ${VHOST_CGIBINDIR}/viewcvs + rm -rf ${VHOST_ROOT}/viewcvs/templates fi diff --git a/www-apps/viewcvs/files/viewcvs-0.9.2.patch b/www-apps/viewcvs/files/viewcvs-0.9.2.patch deleted file mode 100644 index 4986836eb6b8..000000000000 --- a/www-apps/viewcvs/files/viewcvs-0.9.2.patch +++ /dev/null @@ -1,37 +0,0 @@ ---- viewcvs.py.orig 2004-10-20 15:03:41.000000000 +0200 -+++ viewcvs.py 2004-10-20 16:37:35.000000000 +0200 -@@ -2455,10 +2455,17 @@ def generate_tarball_header(out, name, s - def generate_tarball(out, relative, directory, tag, stack=[]): - subdirs = [ ] - rcs_files = [ ] -+ if relative == 'CVSROOT' and cfg.options.hide_cvsroot: -+ return -+ - for file, pathname, isdir in get_file_data(directory): - if pathname == _UNREADABLE_MARKER: - continue - if isdir: -+ if file == 'CVSROOT' and relative.find('/') == -1 and cfg.options.hide_cvsroot: -+ continue -+ if relative.find('/') == -1 and cfg.is_forbidden(file): -+ continue - subdirs.append(file) - else: - rcs_files.append(file) -@@ -2583,6 +2590,16 @@ def main(): - '</body></html>\n') - return - -+ if where == 'CVSROOT' and cfg.options.hide_cvsroot: -+ print "Status: 400" -+ http_header() -+ print ('<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n' -+ '<html><head>\n<title>400 Bad Request</title>\n' -+ '</head><body>\n' -+ '<H1>Bad Request</H1>\n Listing of CVSROOT is disallowed.<p>\n' -+ '</body></html>\n') -+ return -+ - ### look for GZIP binary - - # if we have a directory and the request didn't end in "/", then redirect |