aboutsummaryrefslogtreecommitdiff
path: root/www/fnord/files
diff options
context:
space:
mode:
authorFlorent Thoumie <flz@FreeBSD.org>2005-10-14 14:17:40 +0000
committerFlorent Thoumie <flz@FreeBSD.org>2005-10-14 14:17:40 +0000
commit44aafdf7dca50e6f8f394dfe4f93cd4e401078ce (patch)
treeebdd021576d75e1b4e3d5e9df653429d1f30c57d /www/fnord/files
parentf5baa4580690f432cc6971716356a567d0a85990 (diff)
downloadports-44aafdf7dca50e6f8f394dfe4f93cd4e401078ce.tar.gz
ports-44aafdf7dca50e6f8f394dfe4f93cd4e401078ce.zip
- Don't strip binary.
- Silent sed invocation. - Add a patch to fix directory listing (at least on amd64).
Notes
Notes: svn path=/head/; revision=145378
Diffstat (limited to 'www/fnord/files')
-rw-r--r--www/fnord/files/patch-httpd.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/www/fnord/files/patch-httpd.c b/www/fnord/files/patch-httpd.c
new file mode 100644
index 000000000000..b933587a2a18
--- /dev/null
+++ b/www/fnord/files/patch-httpd.c
@@ -0,0 +1,18 @@
+--- httpd.orig Fri Oct 14 14:44:45 2005
++++ httpd.c Fri Oct 14 14:47:03 2005
+@@ -963,13 +963,12 @@
+ }
+ static void handledirlist(const char*origurl) {
+ DIR*dir;
+- unsigned int nl=str_len(origurl);
++ unsigned int nl;
+ const char*nurl=origurl;
+ url=(char*)origurl;
+ while (nurl[0]=='/') ++nurl;
+- if (nurl<=origurl) return;
++ if (nurl==origurl) return;
+ nl=str_len(nurl);
+- if (nurl[nl-1]!='/') return;
+ if (!stat(nl?nurl:".",&st) && (S_ISDIR(st.st_mode)) && ((st.st_mode&S_IRWXO)==5)) {
+ if (nl) chdir(nurl);
+ if (dir=opendir(".")) {