1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

- Change path to match frontpage-rtr binaries

PR:		ports/76013
Submitted by:	Joe Rhett <jrhett@meer.net>
Approved by:	maintainer timeout (1 month)
This commit is contained in:
Pav Lucistnik 2005-04-22 20:57:12 +00:00
parent b1fcd48cf4
commit 7470f79cfd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=133967
2 changed files with 10 additions and 7 deletions

View File

@ -6,6 +6,7 @@
PORTNAME= mod_frontpage
PORTVERSION= 1.6.2
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S/%SUBDIR%/mirfak/g}
DISTFILES= ${PORTNAME}_mirfak-${PORTVERSION}.tar.gz

View File

@ -1,9 +1,12 @@
--- fpstatic.c.orig Tue Feb 5 16:16:46 2002
+++ fpstatic.c Sun Apr 28 13:33:01 2002
@@ -435,6 +435,24 @@
--- fpstatic.c.orig Tue Mar 12 22:07:07 2002
+++ fpstatic.c Fri Apr 22 22:55:33 2005
@@ -433,7 +433,25 @@
} else if ((pos = strstr(uri, ".gif")) != NULL) {
pos = strrchr((char *)uri, '/');
snprintf((char *)fnbuf, sizeof(fnbuf), "%s%s%s%s%s",
FPBASE, _EXES, _VTI_ADM, _IMAGES, pos);
/*
- FPBASE, _EXES, _VTI_ADM, _IMAGES, pos);
+ FPBASE, _EXES, _VTI_BIN, _IMAGES, pos);
+ /*
+ * Check to see if the user is changing the password,
+ * which has a URL like _vti_bin/_vti_aut/ passwd.htm.
+ * It's different from other ".htm" files because it
@ -21,7 +24,6 @@
+ pos = strrchr((char *)uri, '/');
+ snprintf((char *)fnbuf, sizeof(fnbuf), "%s%s%c%04d%s",
+ FPBASE, _ADMIN, '/', Lcid, pos);
+ /*
/*
* If we still have .htm or .css, we end up
* with the admin dir. If we match, we calculate
* the Lcid from the string.