From owner-freebsd-ports-bugs Wed Feb 12 12:20:57 2003 Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 583D837B401 for ; Wed, 12 Feb 2003 12:20:14 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B21FD43F85 for ; Wed, 12 Feb 2003 12:20:11 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h1CKKBNS033899 for ; Wed, 12 Feb 2003 12:20:11 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h1CKKBTT033898; Wed, 12 Feb 2003 12:20:11 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7259A37B401 for ; Wed, 12 Feb 2003 12:14:11 -0800 (PST) Received: from mail.westbend.net (ns1.westbend.net [216.47.253.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D1B143FBD for ; Wed, 12 Feb 2003 12:14:09 -0800 (PST) (envelope-from admin@WBIw009.westbend.net) Received: from WBIw009.westbend.net (wbiw009 [216.47.253.29]) by mail.westbend.net (8.12.6/8.12.6) with ESMTP id h1CKE7SG085975; Wed, 12 Feb 2003 14:14:07 -0600 (CST) (envelope-from admin@WBIw009.westbend.net) Received: from WBIw009.westbend.net (localhost [127.0.0.1]) by WBIw009.westbend.net (8.12.6/8.12.6) with ESMTP id h1CKE6vY063004; Wed, 12 Feb 2003 14:14:06 -0600 (CST) (envelope-from admin@WBIw009.westbend.net) Received: (from root@localhost) by WBIw009.westbend.net (8.12.6/8.12.6/Submit) id h1CKE6qH063003; Wed, 12 Feb 2003 14:14:06 -0600 (CST) Message-Id: <200302122014.h1CKE6qH063003@WBIw009.westbend.net> Date: Wed, 12 Feb 2003 14:14:06 -0600 (CST) From: "Scot W. Hetzel" Reply-To: "Scot W. Hetzel" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/48217: New Port: www/mod_frontpage13 and www/mod_frontpage2 Sender: owner-freebsd-ports-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 48217 >Category: ports >Synopsis: New Port: www/mod_frontpage13 and www/mod_frontpage2 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Feb 12 12:20:11 PST 2003 >Closed-Date: >Last-Modified: >Originator: Scot W. Hetzel >Release: FreeBSD 4.7-STABLE i386 >Organization: West Bend Internet >Environment: System: FreeBSD WBIw009.westbend.net 4.7-STABLE FreeBSD 4.7-STABLE #5: Wed Jan 15 11:31:34 CST 2003 root@WBIw009.westbend.net:/usr/obj/usr/src/src4/sys/GENERIC-SMP i386 >Description: These ports are the standalone FrontPage module for Apache 1.3 and Apache 2.x servers. Ready-To-Run has designed these modules to work as DSO modules with no need to patch the apache sources. I have also added the ability to enable/disable the FrontPage module, similar to the "Improved Mod_Frontpage" port (www/mod_frontpage). The options available are: FrontPage On/Off - Enable/Disable FrontPage Extentions on server FrontPageAdmin On/Off - Enable/Disable FrontPage Administration of the server "Improved Mod_Frontpage" compatibility options are available by specifying -DWITH_MODFP_COMPAT, during build phase (FrontPage[Enable/Disable], FrontPageAdmin[Enable/Disable]). By default, the FrontPage Extentions and Administration are enabled. This can be changed by specifying -DWITH_DISABLED during build phase. Currently, these are the Beta 2 FrontPage Extentions designed to work with Apache 1.3 and 2.x. Eventually, these ports will obsolete www/apache13-fp. This PR obsoletes ports/47944. >How-To-Repeat: >Fix: Use the attached shar to recreate the mod_frontpage13 and mod_frontpage2 ports. # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # . # ./mod_frontpage13 # ./mod_frontpage13/Makefile # ./mod_frontpage13/pkg-message # ./mod_frontpage13/pkg-comment # ./mod_frontpage2 # ./mod_frontpage2/files # ./mod_frontpage2/files/patch-apache2::mod_fpcgid.c # ./mod_frontpage2/files/patch-readme.htm # ./mod_frontpage2/files/patch-set_default_perms.sh # ./mod_frontpage2/files/patch-fp_install.sh # ./mod_frontpage2/files/patch-apache2::mod_fpcgid.h # ./mod_frontpage2/files/patch-apache2::mod_frontpage.c # ./mod_frontpage2/files/patch-apache-fp::mod_frontpage.c # ./mod_frontpage2/distinfo # ./mod_frontpage2/pkg-descr # ./mod_frontpage2/Makefile # ./mod_frontpage2/pkg-plist # ./mod_frontpage2/pkg-comment # ./mod_frontpage2/pkg-message # echo c - . mkdir -p . > /dev/null 2>&1 echo c - ./mod_frontpage13 mkdir -p ./mod_frontpage13 > /dev/null 2>&1 echo x - ./mod_frontpage13/Makefile sed 's/^X//' >./mod_frontpage13/Makefile << 'END-of-./mod_frontpage13/Makefile' X# New ports collection makefile for: Apache 1.3.x mod_frontpage X# Date created: Tue Feb 4 13:59:20 CST 2003 X# Whom: hetzels@westbend.net X# X# $FreeBSD$ X# X XCATEGORIES= www X XMAINTAINER= hetzels@westbend.net X XUSE_APACHE13= YES X XCOMMENT= ${.CURDIR}/pkg-comment XPKGMESSAGE= ${.CURDIR}/pkg-message X X.if defined(WITH_SSL) XAP_PORT?=apache13-modssl X.endif X XMASTERDIR= ${.CURDIR}/../mod_frontpage2 X X.include "${MASTERDIR}/Makefile" END-of-./mod_frontpage13/Makefile echo x - ./mod_frontpage13/pkg-message sed 's/^X//' >./mod_frontpage13/pkg-message << 'END-of-./mod_frontpage13/pkg-message' X************************************************************************ X X1.) X XCheck your httpd.conf, if you have included a ResourceConfig and XAccessConfig. If you do not have these files, you'll have to add Xthese lines to make the frontpage extensions work properly. These Xlines are commented out in the default config, so you'll have to Xactivate them again. If you have a real ResourceConfig and XAccessConfig, you can skip this part. X XResourceConfig /dev/null XAccessConfig /dev/null X X X2.) X XYou'll need to change the AllowOverride directive under the Xdefault web from None to at least "AuthConfig Limit Indexes Options". X X X: XAllowOverride AuthConfig Limit Indexes Options X: X X XDon't use "AllowOverride All" if you have a server environment Xwith customers, since this can be a security risk, as they Xcould modify the .htaccess files themselves. X XYou'll also need to change the AllowOverride Directive on all Xvirtual hosts that you are going to enable with Frontpage Extentions. X X X3.) X XYou can turn the extensions and the frontpage administration on/off Xper site in httpd.conf and per virtual server. X XFrontPage On/Off # Allows/Disallows Client to publish with X FrontPage Extensions XFrontPageAdmin On/Off # Allows/Disallows Administration of web site X with FrontPage Extensions X XBy default FrontPage Extentions and Administration are enabled. If Xthe module has been compiled with WITH_DISABLED, then then you need Xto add one of the above directives. X XIf the module has been compiled with WITH_MODFP_COMPAT, then the Xfollowing directives from the Improved Mod_Frontpage are available: X XFrontPageEnable # Same as 'FrontPage On' XFrontPageDisable # Same as 'FrontPage Off' XFrontPageAdminEnable # Same as 'FrontPageAdmin On' XFrontPageAdminDisable # Same as 'FrontPageAdmin Off' X X X4.) X XIf this is a fresh Apache install, you should remove the symbolic link Xto the %%PREFIX%%/www/data directory, and create a real directory. X Xrm %%PREFIX%%/www/data Xmkdir %%PREFIX%%/www/data X X X5.) X XAfter you have made these changes, you'll need to execute: X X%%PREFIX%%/frontpage/version5.0/fp_install.sh X Xto build the base apache/frontpage web site and to setup frontpage Xusers and admins. You can also run this to add virtual hosts to Xthe apache/frontpage system. X X X6.) X XIf you have installed the port in another PREFIX than "/usr/local" Xyou have to create a symlink. Microsoft has hardcoded the local Xpath in their binarys. If you do not use fp_install.sh, you have Xto create the link manually: X Xln -s %%PREFIX%%/frontpage /usr/local/frontpage X X XNOTE: X XWhen using owsadm.exe, you need to specify the server type in the Xcommand. X X owsadm.exe -t apache-fp ... X X************************************************************************ END-of-./mod_frontpage13/pkg-message echo x - ./mod_frontpage13/pkg-comment sed 's/^X//' >./mod_frontpage13/pkg-comment << 'END-of-./mod_frontpage13/pkg-comment' XMicrosoft mod_frontpage (by RTR) for Apache 1.3.x END-of-./mod_frontpage13/pkg-comment echo c - ./mod_frontpage2 mkdir -p ./mod_frontpage2 > /dev/null 2>&1 echo c - ./mod_frontpage2/files mkdir -p ./mod_frontpage2/files > /dev/null 2>&1 echo x - ./mod_frontpage2/files/patch-apache2::mod_fpcgid.c sed 's/^X//' >./mod_frontpage2/files/patch-apache2::mod_fpcgid.c << 'END-of-./mod_frontpage2/files/patch-apache2::mod_fpcgid.c' X--- frontpage/version5.0/apache2/mod_fpcgid.c.orig Thu Jan 9 12:19:29 2003 X+++ frontpage/version5.0/apache2/mod_fpcgid.c Wed Feb 12 10:30:45 2003 X@@ -121,8 +121,6 @@ X #include /* for sockaddr_un */ X X X-module AP_MODULE_DECLARE_DATA frontpage_module; X- X #if 0 X This section is not used in the FrontPage daemon. X static int cgid_init(apr_pool_t *p, apr_pool_t *plog, apr_pool_t *ptemp, server_rec *main_server); X@@ -187,13 +185,6 @@ X #define DEFAULT_CONNECT_ATTEMPTS 15 X #endif X X-typedef struct { X- const char *sockname; X- const char *logname; X- long logbytes; X- int bufbytes; X-} cgid_server_conf; X- X /* If a request includes query info in the URL (stuff after "?"), and X * the query info does not contain "=" (indicative of a FORM submission), X * then this routine is called to create the argument list to be passed X@@ -755,21 +746,42 @@ X X void* fpcreate_cgid_config(apr_pool_t *p, server_rec *s) X { X- cgid_server_conf *c = X- (cgid_server_conf *) apr_pcalloc(p, sizeof(cgid_server_conf)); X+ cgid_server_conf *a; X X- c->logname = NULL; X- c->logbytes = DEFAULT_LOGBYTES; X- c->bufbytes = DEFAULT_BUFBYTES; X- c->sockname = ap_server_root_relative(p, DEFAULT_SOCKET); X- return c; X+ a = (cgid_server_conf *) apr_pcalloc(p, sizeof(cgid_server_conf)); X+ X+ a->fp_status = -1; X+ a->fp_admin_status = -1; X+ a->logname = NULL; X+ a->logbytes = DEFAULT_LOGBYTES; X+ a->bufbytes = DEFAULT_BUFBYTES; X+ a->sockname = ap_server_root_relative(p, DEFAULT_SOCKET); X+ return a; X } X X void* fpmerge_cgid_config(apr_pool_t *p, void *basev, void *overridesv) X { X- cgid_server_conf *base = (cgid_server_conf *) basev, *overrides = (cgid_server_conf *) overridesv; X+ cgid_server_conf *a, *base, *overrides; X X- return overrides->logname ? overrides : base; X+ a = (cgid_server_conf *)apr_pcalloc(p, sizeof(cgid_server_conf)); X+ base = (cgid_server_conf *)basev; X+ overrides = (cgid_server_conf *)overridesv; X+ X+ a->fp_status = (overrides->fp_status == -1) ? base->fp_status : overrides->fp_status; X+ a->fp_admin_status = (overrides->fp_admin_status == -1) ? base->fp_admin_status : overrides->fp_admin_status; X+ X+ if (overrides->logname) { X+ a->logname = apr_pstrdup(p, overrides->logname); X+ a->logbytes = overrides->logbytes ? overrides->logbytes : base->logbytes; X+ a->bufbytes = overrides->bufbytes ? overrides->bufbytes : base->bufbytes; X+ a->sockname = apr_pstrdup(p, overrides->sockname ? overrides->sockname : base->sockname); X+ } else { X+ a->logname = apr_pstrdup(p, base->logname); X+ a->logbytes = base->logbytes; X+ a->bufbytes = base->bufbytes; X+ a->sockname = apr_pstrdup(p, base->sockname); X+ } X+ return a; X } X X static const char *set_scriptlog(cmd_parms *cmd, void *dummy, const char *arg) X@@ -823,8 +835,76 @@ X return NULL; X } X X+static const char * X+cmd_FrontPage(cmd_parms *cmd, void *mconfig, int flag) X+{ X+ cgid_server_conf *sconf; X+ X+ sconf = (cgid_server_conf *)ap_get_module_config(cmd->server->module_config, &frontpage_module); X+ X+ if (cmd->path == NULL) { /* is server command */ X+ sconf->fp_status = (flag ? TRUE : FALSE); X+ } X+ return NULL; X+} X+ X+#ifdef IMPROVED_MODFP_COMPAT X+static const char* X+cmd_disable(cmd_parms* cmd, void* mconfig) { X+ X+ return cmd_FrontPage(cmd, NULL, FALSE); X+} X+ X+static const char* X+cmd_enable(cmd_parms* cmd, void* mconfig) { X+ X+ return cmd_FrontPage(cmd, NULL, TRUE); X+} X+#endif /* IMPROVED_MODFP_COMPAT */ X+ X+static const char * X+cmd_FrontPageAdmin(cmd_parms *cmd, void *mconfig, int flag) X+{ X+ cgid_server_conf *sconf; X+ X+ sconf = (cgid_server_conf *)ap_get_module_config(cmd->server->module_config, &frontpage_module); X+ X+ if (cmd->path == NULL) { /* is server command */ X+ sconf->fp_admin_status = (flag ? TRUE : FALSE); X+ } X+ return NULL; X+} X+ X+#ifdef IMPROVED_MODFP_COMPAT X+static const char* X+cmd_admin_disable(cmd_parms* cmd, void* mconfig) { X+ X+ return cmd_FrontPageAdmin(cmd, NULL, TRUE); X+} X+ X+static const char* X+cmd_admin_enable(cmd_parms* cmd, void *mconfig) { X+ X+ return cmd_FrontPageAdmin(cmd, NULL, FALSE); X+} X+#endif /* IMPROVED_MODFP_COMPAT */ X+ X const command_rec fpcgid_cmds[] = X { X+ AP_INIT_FLAG("FrontPage", cmd_FrontPage, NULL, RSRC_CONF, X+ "On or Off to enable (default) or disable the FrontPage Extentions"), X+ AP_INIT_FLAG("FrontPageAdmin", cmd_FrontPageAdmin, NULL, RSRC_CONF, X+ "On or Off to enable (default) or disable FrontPage Administration"), X+#ifdef IMPROVED_MODFP_COMPAT X+ AP_INIT_NO_ARGS("FrontPageDisable", cmd_disable, NULL, RSRC_CONF, X+ "Disable FrontPage Extentions"), X+ AP_INIT_NO_ARGS("FrontPageEnable", cmd_enable, NULL, RSRC_CONF, X+ "Enable FrontPage Extentions"), X+ AP_INIT_NO_ARGS("FrontPageAdminDisable", cmd_admin_disable, NULL, RSRC_CONF, X+ "Disable FrontPage Administration"), X+ AP_INIT_NO_ARGS("FrontPageAdminEnable", cmd_admin_enable, NULL, RSRC_CONF, X+ "Enable FrontPage Administration"), X+#endif X AP_INIT_TAKE1("FPScriptLog", set_scriptlog, NULL, RSRC_CONF, X "the name of a log for script debugging info"), X AP_INIT_TAKE1("FPScriptLogLength", set_scriptlog_length, NULL, RSRC_CONF, END-of-./mod_frontpage2/files/patch-apache2::mod_fpcgid.c echo x - ./mod_frontpage2/files/patch-readme.htm sed 's/^X//' >./mod_frontpage2/files/patch-readme.htm << 'END-of-./mod_frontpage2/files/patch-readme.htm' Xdiff -ruN frontpage.orig/version5.0/readme.htm frontpage/version5.0/readme.htm X--- frontpage.orig/version5.0/readme.htm Thu Jan 9 12:19:46 2003 X+++ frontpage/version5.0/readme.htm Tue Feb 4 18:47:42 2003 X@@ -75,9 +75,9 @@ X /dev/null 
AccessConfig /dev/null X

If you have some settings stored in secondary configuration files, move them X-to http.conf. You must stop and restart the web server for your changes to http.conf to X+to httpd.conf. You must stop and restart the web server for your changes to httpd.conf to X take effect.

X-

Note: To successfully install the FrontPage Server Extensions, you must set the AllowOveride value to "All" in the http.conf file.

X+

Note: To successfully install the FrontPage Server Extensions, you must set the AllowOveride value to "All" in the httpd.conf file.

X

Top X of Section

X@@ -105,8 +105,7 @@ X

To allow FrontPage authors to upload executables, set the X NoExecutableCgiUpload configuration variable to zero (0). For information about X FrontPage Server Extensions configuration variables, see the SharePoint Team X-Services Administrator's Guide at X-http://www.microsoft.com/technet/sharepoint.

X+Services Administrator's Guide.

X

Top X of Section

X@@ -125,8 +124,7 @@ X of Page

X

SharePoint Team Services Administrator's Guide

X

Documentation of the FrontPage Server Extensions 2002 is included in the X-SharePoint Team Services Administrator's Guide, at X-http://www.microsoft.com/technet/sharepoint. This includes detailed information X+SharePoint Team Services Administrator's Guide. This includes detailed information X about installing and administering the FrontPage Server Extensions along with an X overview of the Server Extensions, a detailed discussion of server extensions X security on UNIX and Windows, troubleshooting information, and a full set of X@@ -142,7 +140,7 @@ X can also customize the site to control your search using either keywords or the X site's natural language search engine, which uses normal, everyday language for X answering inquiries, so you can write your question in your own words. To begin, X-go to http://support.microsoft.com/support/.

X+go to Microsoft Support.

X

Top X of Section

END-of-./mod_frontpage2/files/patch-readme.htm echo x - ./mod_frontpage2/files/patch-set_default_perms.sh sed 's/^X//' >./mod_frontpage2/files/patch-set_default_perms.sh << 'END-of-./mod_frontpage2/files/patch-set_default_perms.sh' Xdiff -ruN frontpage.orig/version5.0/set_default_perms.sh frontpage/version5.0/set_default_perms.sh X--- frontpage.orig/version5.0/set_default_perms.sh Thu Jan 9 12:19:35 2003 X+++ frontpage/version5.0/set_default_perms.sh Tue Feb 4 18:38:21 2003 X@@ -36,10 +36,9 @@ X chown bin $FPDIR/frontpage.cnf || die chown frontpage.cnf X chgrp bin $FPDIR/frontpage.cnf || die chgrp frontpage.cnf X chmod 664 $FPDIR/frontpage.cnf || die chmod frontpage.cnf X-chown bin $FPDIR/*.sh $FPDIR/*.TXT $FPDIR/*.htm || die chown top level files X-chgrp bin $FPDIR/*.sh $FPDIR/*.TXT $FPDIR/*.htm || die chgrp top level files X-chmod 555 $FPDIR/*.sh || die chmod top level files X-chmod 444 $FPDIR/*.TXT $FPDIR/*.htm || die chmod top level files X+chown bin $FPDIR/*.sh || die chown top level files X+chgrp bin $FPDIR/*.sh || die chgrp top level files X+chmod 555 $FPDIR/*.sh || die chmod top level files X X # Handle all of the non apache-fp directory trees X for dir in bin nls admin exes help ; do X@@ -79,9 +78,6 @@ X X # The apache-fp fpexe stub needs to be suid root X chmod 4755 $FPDIR/apache-fp/_vti_bin/fpexe || die set fpexe to be suid X- X-# Set httpd X-chmod 555 $FPDIR/apache-fp/httpd || die make httpd executable X X # The apache-fp directory should not be writable to protect the stub program. X chmod 555 $FPDIR/apache-fp/_vti_bin || die restrict the apache-fp directory END-of-./mod_frontpage2/files/patch-set_default_perms.sh echo x - ./mod_frontpage2/files/patch-fp_install.sh sed 's/^X//' >./mod_frontpage2/files/patch-fp_install.sh << 'END-of-./mod_frontpage2/files/patch-fp_install.sh' Xdiff -ruN frontpage.orig/version5.0/fp_install.sh frontpage/version5.0/fp_install.sh X--- frontpage.orig/version5.0/fp_install.sh Thu Jan 9 12:19:35 2003 X+++ frontpage/version5.0/fp_install.sh Tue Feb 4 18:31:20 2003 X@@ -12,7 +12,7 @@ X main() { X initialize X step1 # setup environment X- step2 # untar X+# step2 # untar X $FPDIR/set_default_perms.sh # Run the external permissions script. X step3 # upgrade/install X X@@ -140,11 +140,16 @@ X VERSION="5.0" X OLDPATH=$PATH X PATH=".:/bin:/usr/bin:/sbin:/usr/sbin:/usr/ucb:/etc:/usr/bsd" X- INSTALLDIRDEFAULT="/usr/local/frontpage" X- NEWHTTPDNEW="/usr/local/frontpage/version${VERSION}/apache-fp/httpd" X+ APXS="PREFIX/sbin/apxs" X+ AP_TARGET=`${APXS} -q TARGET` X+ AP_CONFDIR=`${APXS} -q SYSCONFDIR` X+ AP_LIBEXEC=`${APXS} -q LIBEXECDIR` X+ INSTALLDIRDEFAULT="PREFIX/frontpage" X+ NEWHTTPDNEW="PREFIX/sbin/httpd" X NEWMODFPSO1="/usr/local/frontpage/version${VERSION}/apache-fp/mod_frontpage.c" X NEWMOFPSO2="/usr/local/frontpage/version${VERSION}/apache2/mod_frontpage.c" X- DEFAULTHTTPD="/usr/local/apache/sbin/httpd" X+ DEFAULTHTTPD="PREFIX/sbin/httpd" X+ DEFAULTCTL="PREFIX/sbin/apachectl" X FPDIR="/usr/local/frontpage/version${VERSION}" X APACHE_2_0_VERSION="2.0.40" X X@@ -403,30 +408,10 @@ X { X retval=0 X X- cat <./mod_frontpage2/files/patch-apache2::mod_fpcgid.h << 'END-of-./mod_frontpage2/files/patch-apache2::mod_fpcgid.h' X--- frontpage/version5.0/apache2/mod_fpcgid.h.orig Thu Jan 9 12:19:29 2003 X+++ frontpage/version5.0/apache2/mod_fpcgid.h Wed Feb 12 10:31:06 2003 X@@ -24,6 +24,17 @@ X #ifndef MOD_FPCGID_H X #define MOD_FPCGID_H X X+typedef struct { X+ int fp_status; X+ int fp_admin_status; X+ const char *sockname; X+ const char *logname; X+ long logbytes; X+ int bufbytes; X+} cgid_server_conf; X+ X+module AP_MODULE_DECLARE_DATA frontpage_module; X+ X void fpcgid_init_pool(int* first_time, const char* userdata_key); X int fpcgid_init(apr_pool_t* p, apr_pool_t* plog, apr_pool_t* ptemp, X server_rec* main_server); END-of-./mod_frontpage2/files/patch-apache2::mod_fpcgid.h echo x - ./mod_frontpage2/files/patch-apache2::mod_frontpage.c sed 's/^X//' >./mod_frontpage2/files/patch-apache2::mod_frontpage.c << 'END-of-./mod_frontpage2/files/patch-apache2::mod_frontpage.c' X--- frontpage/version5.0/apache2/mod_frontpage.c.orig Thu Jan 9 12:19:30 2003 X+++ frontpage/version5.0/apache2/mod_frontpage.c Wed Feb 12 11:29:29 2003 X@@ -578,6 +578,32 @@ X * Thanks to Scot Hetzel (hetzels@westbend.net) X */ X ap_add_version_component(p, "FrontPage/5.0.2.2626"); X+ X+ while (s != NULL) { X+ cgid_server_conf* c = ap_get_module_config(s->module_config, &frontpage_module); X+ if (c->fp_status == -1) X+#ifdef DEFAULT_TO_OFF X+ c->fp_status = FALSE; X+#else X+ c->fp_status = TRUE; X+#endif X+ if (!c->fp_status) X+ ap_log_error(APLOG_MARK, APLOG_DEBUG|APLOG_NOERRNO, 0, s, X+ "FrontPage disabled for server %s:%d\n", X+ s->server_hostname, s->port); X+ if (c->fp_admin_status == -1) X+#ifdef DEFAULT_TO_OFF X+ c->fp_admin_status = FALSE; X+#else X+ c->fp_admin_status = TRUE; X+#endif X+ if (!c->fp_admin_status) X+ ap_log_error(APLOG_MARK, APLOG_DEBUG|APLOG_NOERRNO, 0, s, X+ "FrontPage Administration pages disabled for server %s:%d\n", X+ s->server_hostname, s->port); X+ s = s->next; X+ } X+ X return OK; X } X X@@ -836,6 +862,27 @@ X X X /* X+ * We *MUST* have been authenticated somehow for AUTHOR or ADMIN requests. X+ * This prevents the single largest hole in FrontPage: if the user somehow X+ * deletes their .htaccess files anyone can gain FrontPage AUTHOR or ADMIN X+ * privileges. With this check we won't allow ADMIN or AUTHOR unless _some_ X+ * authentication was performed. X+ */ X+static int FrontPageNeedAuth( X+ request_rec* r, X+ char* szCgi, X+ const char* szFpexe) X+{ X+ if ((r->user == NULL) || (r->ap_auth_type == NULL)) { X+ ap_log_rerror(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, 0, r, X+ "server configuration did not require authentication: %s", r->filename); X+ return HTTP_UNAUTHORIZED; X+ } else { X+ return FrontPageAlias(r, szCgi, szFpexe); X+ } X+} X+ X+/* X * This routine looks for shtml.exe, fpcount.exe, author.exe and admin.exe X * in a URI, and if found we call FrontPageAlias() to check for a valid X * FrontPage scenario. X@@ -847,6 +894,7 @@ X { X char* szVti; X char* szCgi; X+ cgid_server_conf *c; X X /* X * Decline if we're improperly initialized. X@@ -855,6 +903,13 @@ X return DECLINED; X X /* X+ * Decline if we have disabled FrontPage on the server. X+ */ X+ c = (cgid_server_conf *)ap_get_module_config (r->server->module_config, &frontpage_module); X+ if (!c->fp_status) X+ return HTTP_FORBIDDEN; X+ X+ /* X * Check once for anything with _vti_bin. This is much faster than X * checking all our paths, because anything without this is definitely X * not a FrontPage scenario. X@@ -875,7 +930,7 @@ X return FrontPageAlias(r, szCgi, AUTHOR); X /* X * Convert inadvertent shtml.dll to shtml.exe X- * Thanks for the idea to Scot Hetzel (hetzels@westbend.net) X+ * Thanks for the idea from Scot Hetzel (hetzels@westbend.net) X */ X if ((szCgi = strstr(szVti, SHTML2 ))) X { X@@ -885,9 +940,17 @@ X if ((szCgi = strstr(szVti, SHTML ))) X return FrontPageAlias(r, szCgi, SHTML); X if ((szCgi = strstr(szVti, ADMIN ))) X- return FrontPageAlias(r, szCgi, ADMIN); X+ if (c->fp_admin_status) { X+ return FrontPageAlias(r, szCgi, ADMIN); X+ } else { X+ return HTTP_FORBIDDEN; X+ } X if ((szCgi = strstr(szVti, ADMINCGI ))) X- return FrontPageAlias(r, szCgi, ADMINCGI); X+ if (c->fp_admin_status) { X+ return FrontPageAlias(r, szCgi, ADMINCGI); X+ } else { X+ return HTTP_FORBIDDEN; X+ } X if ((szCgi = strstr(szVti, FPCOUNT))) X return FrontPageAlias(r, szCgi, FPCOUNT); X END-of-./mod_frontpage2/files/patch-apache2::mod_frontpage.c echo x - ./mod_frontpage2/files/patch-apache-fp::mod_frontpage.c sed 's/^X//' >./mod_frontpage2/files/patch-apache-fp::mod_frontpage.c << 'END-of-./mod_frontpage2/files/patch-apache-fp::mod_frontpage.c' X--- frontpage/version5.0/apache-fp/mod_frontpage.c.orig Thu Jan 9 12:19:30 2003 X+++ frontpage/version5.0/apache-fp/mod_frontpage.c Tue Feb 11 19:36:13 2003 X@@ -52,10 +52,13 @@ X #include "httpd.h" X #include "http_config.h" X #include "http_conf_globals.h" X+#include "http_log.h" X X #include X #include X X+module MODULE_VAR_EXPORT frontpage_module; X+ X #ifndef TRUE X #define TRUE 1 X #endif X@@ -74,6 +77,11 @@ X X #define KEYLEN 128 /* Should be a multiple of sizeof(int) */ X X+typedef struct { X+ int fp_status; X+ int fp_admin_status; X+} FrontPage_conf; X+ X static char gszKeyVal[KEYLEN+1]; /* SUID key value used by this module */ X static int gfdKeyPipe[2]; /* Pipe to fpexe stub CGI */ X static int gbKeyPipeActive; /* Pipe to fpexe stub CGI is active */ X@@ -572,6 +580,31 @@ X * Thanks to Scot Hetzel (hetzels@westbend.net) X */ X ap_add_version_component("FrontPage/5.0.2.2626"); X+ X+ while (s != NULL) { X+ FrontPage_conf* c = ap_get_module_config (s->module_config, &frontpage_module); X+ if (c->fp_status == -1) X+#ifdef DEFAULT_TO_OFF X+ c->fp_status = FALSE; X+#else X+ c->fp_status = TRUE; X+#endif X+ if (!c->fp_status) X+ ap_log_error (APLOG_MARK, APLOG_DEBUG|APLOG_NOERRNO, s, X+ "FrontPage disabled for server %s:%d\n", X+ s->server_hostname, s->port); X+ if (c->fp_admin_status == -1) X+#ifdef DEFAULT_TO_OFF X+ c->fp_admin_status = FALSE; X+#else X+ c->fp_admin_status = TRUE; X+#endif X+ if (!c->fp_admin_status) X+ ap_log_error (APLOG_MARK, APLOG_DEBUG|APLOG_NOERRNO, s, X+ "FrontPage Administration pages disabled for server %s:%d\n", X+ s->server_hostname, s->port); X+ s = s->next; X+ } X } X X static int FrontPageCheckWebRoot( X@@ -781,6 +814,26 @@ X return OK; X } X X+/* X+ * We *MUST* have been authenticated somehow for AUTHOR or ADMIN requests. X+ * This prevents the single largest hole in FrontPage: if the user somehow X+ * deletes their .htaccess files anyone can gain FrontPage AUTHOR or ADMIN X+ * privileges. With this check we won't allow ADMIN or AUTHOR unless _some_ X+ * authentication was performed. X+ */ X+static int FrontPageNeedAuth( X+ request_rec* r, X+ char* szCgi, X+ const char* szFpexe) X+{ X+ if ((r->connection->user == NULL) || (r->connection->ap_auth_type == NULL)) { X+ ap_log_rerror(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, r, X+ "server configuration did not require authentication: %s", r->filename); X+ return FORBIDDEN; X+ } else { X+ return FrontPageAlias(r, szCgi, szFpexe); X+ } X+} X X /* X * This routine looks for shtml.exe, fpcount.exe, author.exe and admin.exe X@@ -794,6 +847,7 @@ X { X char *szVti; X char *szCgi; X+ FrontPage_conf *c; X X /* X * Decline if we're improperly initialized. X@@ -802,6 +856,13 @@ X return DECLINED; X X /* X+ * Decline if we have disabled FrontPage on the server. X+ */ X+ c = (FrontPage_conf *)ap_get_module_config (r->server->module_config, &frontpage_module); X+ if (!c->fp_status) X+ return FORBIDDEN; X+ X+ /* X * Check once for anything with _vti_bin. This is much faster than X * checking all our paths, because anything without this is definitely X * not a FrontPage scenario. X@@ -822,7 +883,7 @@ X return FrontPageAlias(r, szCgi, AUTHOR); X /* X * Convert inadvertent shtml.dll to shtml.exe X- * Thanks for the idea to Scot Hetzel (hetzels@westbend.net) X+ * Thanks for the idea from Scot Hetzel (hetzels@westbend.net) X */ X if (szCgi = strstr(szVti, SHTML2 )) X { X@@ -832,9 +893,17 @@ X if (szCgi = strstr(szVti, SHTML )) X return FrontPageAlias(r, szCgi, SHTML); X if (szCgi = strstr(szVti, ADMIN )) X- return FrontPageAlias(r, szCgi, ADMIN); X+ if (c->fp_admin_status) { X+ return FrontPageAlias(r, szCgi, ADMIN); X+ } else { X+ return FORBIDDEN; X+ } X if (szCgi = strstr(szVti, ADMINCGI )) X- return FrontPageAlias(r, szCgi, ADMINCGI); X+ if (c->fp_admin_status) { X+ return FrontPageAlias(r, szCgi, ADMINCGI); X+ } else { X+ return FORBIDDEN; X+ } X if (szCgi = strstr(szVti, FPCOUNT)) X return FrontPageAlias(r, szCgi, FPCOUNT); X X@@ -895,6 +964,100 @@ X return OK; X } X X+static void* X+FrontPageCreate_config(pool* p, server_rec* s) { X+ FrontPage_conf* new = (FrontPage_conf *)ap_pcalloc (p, sizeof (FrontPage_conf)); X+ new->fp_status = -1; X+ new->fp_admin_status = -1; X+ return new; X+} X+ X+static void* X+FrontPageMerge_config(pool* p, void* basev, void* addv) { X+ FrontPage_conf *base = (FrontPage_conf *)basev; X+ FrontPage_conf *add = (FrontPage_conf *)addv; X+ FrontPage_conf *new = (FrontPage_conf *)ap_pcalloc (p, sizeof (FrontPage_conf)); X+ new->fp_status = (add->fp_status == -1) ? base->fp_status : add->fp_status; X+ new->fp_admin_status = (add->fp_admin_status == -1) ? base->fp_admin_status : add->fp_admin_status; X+ return new; X+} X+ X+static const char * X+cmd_FrontPage(cmd_parms *cmd, void *dummy, int flag) X+{ X+ FrontPage_conf *sconf; X+ X+ sconf = (FrontPage_conf *)ap_get_module_config(cmd->server->module_config, &frontpage_module); X+ X+ if (cmd->path == NULL) { /* is server command */ X+ sconf->fp_status = (flag ? TRUE : FALSE); X+ } X+ return NULL; X+} X+ X+#ifdef IMPROVED_MODFP_COMPAT X+static const char* X+cmd_disable(cmd_parms* cmd, char* struct_ptr) { X+ X+ return cmd_FrontPage(cmd, NULL, FALSE); X+} X+ X+static const char* X+cmd_enable(cmd_parms* cmd, char* struct_ptr) { X+ X+ return cmd_FrontPage(cmd, NULL, TRUE); X+} X+#endif /* IMPROVED_MODFP_COMPAT */ X+ X+static const char * X+cmd_FrontPageAdmin(cmd_parms *cmd, void *dummy, int flag) X+{ X+ FrontPage_conf *sconf; X+ X+ sconf = (FrontPage_conf *)ap_get_module_config(cmd->server->module_config, &frontpage_module); X+ X+ if (cmd->path == NULL) { /* is server command */ X+ sconf->fp_admin_status = (flag ? TRUE : FALSE); X+ } X+ return NULL; X+} X+ X+#ifdef IMPROVED_MODFP_COMPAT X+static const char* X+cmd_admin_disable(cmd_parms* cmd, char* struct_ptr) { X+ X+ return cmd_FrontPageAdmin(cmd, NULL, TRUE); X+} X+ X+static const char* X+cmd_admin_enable(cmd_parms* cmd, char* struct_ptr) { X+ X+ return cmd_FrontPageAdmin(cmd, NULL, FALSE); X+} X+#endif /* IMPROVED_MODFP_COMPAT */ X+ X+static const X+command_rec FrontPageCMDs[] = { X+ { "FrontPage", cmd_FrontPage, NULL, RSRC_CONF, FLAG, X+ "On or Off to enable (default) or disable the FrontPage User Access" }, X+ { "FrontPageAdmin", cmd_FrontPageAdmin, NULL, RSRC_CONF, FLAG, X+ "On or Off to enable (default) or disable the FrontPage Administrator Access" }, X+#ifdef IMPROVED_MODFP_COMPAT X+ { "FrontPageDisable", cmd_disable, X+ NULL, RSRC_CONF, NO_ARGS, X+ "Disable FrontPage" }, X+ { "FrontPageEnable", cmd_enable, X+ NULL, RSRC_CONF, NO_ARGS, X+ "Enable FrontPage" }, X+ { "FrontPageAdminDisable", cmd_admin_disable, X+ NULL, RSRC_CONF, NO_ARGS, X+ "Disable FrontPageAdmin" }, X+ { "FrontPageAdminEnable", cmd_admin_enable, X+ NULL, RSRC_CONF, NO_ARGS, X+ "Enable FrontPageAdmin" }, X+#endif X+ { NULL } X+}; X X /* X * Declare ourselves so the configuration routines can find us. X@@ -905,9 +1068,9 @@ X FrontPageInit, /* initializer */ X NULL, /* per-directory config creater */ X NULL, /* dir config merger - default is to override */ X- NULL, /* server config creator */ X- NULL, /* server config merger */ X- NULL, /* command table */ X+ FrontPageCreate_config, /* server config creator */ X+ FrontPageMerge_config, /* server config merger */ X+ FrontPageCMDs, /* command table */ X NULL, /* [6] list of handlers */ X FrontPageXlate, /* [1] URI-to-filename translation */ X NULL, /* [4] check/validate HTTP user_id */ X@@ -916,5 +1079,16 @@ X NULL, /* [6] MIME type checker/setter */ X FrontPageFixup, /* [7] fixups */ X NULL, /* [9] logger */ X+#if MODULE_MAGIC_NUMBER >= 19970103 X NULL, /* [2] header parser */ X+#endif X+#if MODULE_MAGIC_NUMBER >= 19970719 X+ NULL, /* child_init */ X+#endif X+#if MODULE_MAGIC_NUMBER >= 19970728 X+ NULL, /* child_exit */ X+#endif X+#if MODULE_MAGIC_NUMBER >= 19970902 X+ NULL /* post read-request */ X+#endif X }; END-of-./mod_frontpage2/files/patch-apache-fp::mod_frontpage.c echo x - ./mod_frontpage2/distinfo sed 's/^X//' >./mod_frontpage2/distinfo << 'END-of-./mod_frontpage2/distinfo' XMD5 (fp50beta/fp50.freebsd.tar.gz) = 502f2a40ccab6c0bb76bd4bee5b7fd6a END-of-./mod_frontpage2/distinfo echo x - ./mod_frontpage2/pkg-descr sed 's/^X//' >./mod_frontpage2/pkg-descr << 'END-of-./mod_frontpage2/pkg-descr' X XWhat is it? X----------- XThe Microsoft Frontpage module allows web administrators and authors to Xremotely manage, create, modify, or delete web pages on the Apache server Xusing the Microsoft FrontPage Extentions. X XDocumentation X------------- X XAll the documentation is on-line at these URL's: X X FrontPage - http://www.microsoft.com/frontpage X - http://www.microsoft.com/technet/prodtechnol/sharepnt/proddocs/admindoc/ows000.asp X - http://www.microsoft.com/technet/prodtechnol/sharepnt/proddocs/admindoc/owse01.asp X - http://www.microsoft.com/technet/prodtechnol/sharepnt/proddocs/admindoc/owse02.asp X XWWW: http://www.rtr.com END-of-./mod_frontpage2/pkg-descr echo x - ./mod_frontpage2/Makefile sed 's/^X//' >./mod_frontpage2/Makefile << 'END-of-./mod_frontpage2/Makefile' X# New ports collection makefile for: Microsoft FrontPage Extensions X# Date created: Tue Feb 4 13:59:20 CST 2003 X# Whom: hetzels@westbend.net X# X# $FreeBSD$ X# X XPORTNAME= mod_frontpage XPKGNAMESUFFIX= ${AP_VER:S/.//} XPORTVERSION= 5.0.2.2626 XPORTREVISION= 0 XCATEGORIES= www XMASTER_SITES= ftp://ftp.microsoft.com/products/frontpage/beta/ \ X ftp://www.westbend.net/Mirrors/ftp.microsoft.com/Products/frontpage/beta/ XDISTFILES= ${FRONTPAGE} XDIST_SUBDIR= fp50beta X XMAINTAINER= hetzels@westbend.net X XBUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/${AP_PORT} XRUN_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/${AP_PORT} X#RUN_DEPENDS+= ${LOCALBASE}/frontpage/version5.0/bin/owsadm.exe:${PORTSDIR}/www/frontpage X X.ifdef USE_APACHE13 XAP_VER=1.3 XAP_PORT?=apache13 XAPACHE= "apache" X.else XAP_VER=2.0 XAP_PORT=apache2 XAPACHE= "apache2" X.endif X X.include X X.if ${OSVERSION} < 440000 XBROKEN= "These Extentions require FreeBSD 4.4 or better" X.endif X XUSE_REINPLACE= yes X X# Only the i386 FrontPage Extensions are available for Apache 2.0 X#ONLY_FOR_ARCHS= i386 alpha XONLY_FOR_ARCHS= i386 X XFP_VER= 5.0 X#FP_VER= ${PORTVERSION:C/\..*//} X X#.ifndef ALL_FP X#.if ${ARCH} == i386 XFRONTPAGE= fp${FP_VER:S/.//}.freebsd.tar.gz X X.if ${OSVERSION} >= 500000 X.if (defined(BATCH) && ${BATCH} == YES ) || !exists(/usr/lib/compat/libc.so.4) XLIB_DEPENDS+= c.4:${PORTSDIR}/misc/compat4x X.endif X.endif X#.elif ${ARCH} == alpha X#FRONTPAGE= fp${FP_VER:S/.//}.alpha.tar.gz X#.endif X#.else X#FRONTPAGE= fp${FP_VER:S/.//}.freebsd.tar.Z \ X# fp${FP_VER:S/.//}.alpha.tar.Z X#.endif X XAPXS= ${LOCALBASE}/sbin/apxs XFPDIR= frontpage/version${FP_VER} XFP_INSTALL= ${FPDIR}/fp_install.sh XFP_SETPERM= ${FPDIR}/set_default_perms.sh XFP_README= ${FPDIR}/readme.htm XFP_README2= ${FPDIR}/readme_apache2.txt XFP_LICENSE= ${FPDIR}/LICENSE.TXT X X.ifdef WITH_MODFP_COMPAT XFP_ARGS= -DIMPROVED_MODFP_COMPAT X.endif X.ifdef WITH_DISABLED XFP_ARGS+= -DDEFAULT_TO_OFF X.endif X XNO_WRKSUBDIR= yes XEXTRACT_FILES= ${FP_INSTALL} \ X ${FP_SETPERM} \ X ${FP_README} \ X ${FPDIR}/apache-fp/mod_frontpage.c \ X ${FPDIR}/apache2/mod_fpcgid.c \ X ${FPDIR}/apache2/mod_fpcgid.h \ X ${FPDIR}/apache2/mod_frontpage.c \ X ${FPDIR}/apache2/mod_frontpage.h \ X ${FPDIR}/apache2/mod_suexec.h X XPLIST_SUB= FP_VER=${FP_VER} \ X APACHE=${APACHE} X Xdo-extract: X @${RM} -rf ${WRKDIR} X @${MKDIR} ${WRKDIR} X @if ! (cd ${WRKDIR} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \ X ${_DISTDIR}/${FRONTPAGE} ${EXTRACT_AFTER_ARGS} ${EXTRACT_FILES}); \ X then \ X exit 1; \ X fi X Xpost-patch: X.if !defind(PATCH_DEBUG} X @${REINPLACE_CMD} -e 's:PREFIX:${PREFIX}:g' \ X -e 's:AP_VER:${AP_VER}:g' ${WRKDIR}/${FP_INSTALL} X.endif X Xdo-build: X.ifdef USE_APACHE13 X @(cd ${WRKDIR}/${FPDIR}/apache-fp && \ X ${APXS} -c -Wc,-DFREEBSD ${FP_ARGS} ${WRKDIR}/${FPDIR}/apache-fp/mod_frontpage.c) X.else X @${APXS} -c -Wc,-DFREEBSD ${FP_ARGS} ${WRKDIR}/${FPDIR}/apache2/mod_frontpage.c \ X ${WRKDIR}/${FPDIR}/apache2/mod_fpcgid.c X.endif X Xdo-install: X.ifdef USE_APACHE13 X @${APXS} -i -a -n frontpage ${WRKDIR}/${FPDIR}/apache-fp/mod_frontpage.so X.else X @${APXS} -i -a -n frontpage ${WRKDIR}/${FPDIR}/apache2/mod_frontpage.la X.endif X @${ECHO_MSG} "===> Untaring FrontPage Extensions to ${PREFIX}" X @(cd ${PREFIX} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${FRONTPAGE} ${EXTRACT_AFTER_ARGS}) X @${INSTALL_SCRIPT} ${WRKDIR}/${FP_INSTALL} ${PREFIX}/${FP_INSTALL} X @${INSTALL_SCRIPT} ${WRKDIR}/${FP_SETPERM} ${PREFIX}/${FP_SETPERM} X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X @${INSTALL_DATA} ${WRKDIR}/${FP_README} ${DOCSDIR} X @${INSTALL_DATA} ${PREFIX}/${FP_README2} ${DOCSDIR} X @${INSTALL_DATA} ${PREFIX}/${FP_LICENSE} ${DOCSDIR} X.endif X @${RM} ${PREFIX}/${FPDIR}/apache-fp/httpd \ X ${PREFIX}/${FP_README} ${PREFIX}/${FP_README2} \ X ${PREFIX}/${FP_LICENSE} X Xpost-install: X.if (${PREFIX} != "/usr/local") X @${CAT} ${PKGMESSAGE} | ${SED} -e 's|%%PREFIX%%|${PREFIX}|' X.else X @${CAT} ${PKGMESSAGE} | ${SED} -e 's|%%PREFIX%%|${PREFIX}|' \ X | ${GREP} -v "ln" X.endif X X.include END-of-./mod_frontpage2/Makefile echo x - ./mod_frontpage2/pkg-plist sed 's/^X//' >./mod_frontpage2/pkg-plist << 'END-of-./mod_frontpage2/pkg-plist' X@exec %D/sbin/apxs -e -a -n frontpage %D/libexec/%%APACHE%%/mod_frontpage.so X@unexec %D/sbin/apxs -e -A -n frontpage %D/libexec/%%APACHE%%/mod_frontpage.so Xlibexec/%%APACHE%%/mod_frontpage.so Xfrontpage/version%%FP_VER%%/admin/1033/addacct.htm Xfrontpage/version%%FP_VER%%/admin/1033/addrole.htm Xfrontpage/version%%FP_VER%%/admin/1033/adduser.htm Xfrontpage/version%%FP_VER%%/admin/1033/anonusr.htm Xfrontpage/version%%FP_VER%%/admin/1033/copyrole.htm Xfrontpage/version%%FP_VER%%/admin/1033/delsbweb.htm Xfrontpage/version%%FP_VER%%/admin/1033/disable.htm Xfrontpage/version%%FP_VER%%/admin/1033/editrole.htm Xfrontpage/version%%FP_VER%%/admin/1033/edituser.htm Xfrontpage/version%%FP_VER%%/admin/1033/fpadmin.htm Xfrontpage/version%%FP_VER%%/admin/1033/genset.htm Xfrontpage/version%%FP_VER%%/admin/1033/health.htm Xfrontpage/version%%FP_VER%%/admin/1033/healthrp.htm Xfrontpage/version%%FP_VER%%/admin/1033/invite.htm Xfrontpage/version%%FP_VER%%/admin/1033/invite2.htm Xfrontpage/version%%FP_VER%%/admin/1033/invite3.htm Xfrontpage/version%%FP_VER%%/admin/1033/invite4.htm Xfrontpage/version%%FP_VER%%/admin/1033/mergeweb.htm Xfrontpage/version%%FP_VER%%/admin/1033/newsbweb.htm Xfrontpage/version%%FP_VER%%/admin/1033/newsrvr.htm Xfrontpage/version%%FP_VER%%/admin/1033/opengl.htm Xfrontpage/version%%FP_VER%%/admin/1033/openweb.htm Xfrontpage/version%%FP_VER%%/admin/1033/passwd.htm Xfrontpage/version%%FP_VER%%/admin/1033/password.htm Xfrontpage/version%%FP_VER%%/admin/1033/perms.htm Xfrontpage/version%%FP_VER%%/admin/1033/policies.htm Xfrontpage/version%%FP_VER%%/admin/1033/pwdmgr.htm Xfrontpage/version%%FP_VER%%/admin/1033/recalc.htm Xfrontpage/version%%FP_VER%%/admin/1033/role.htm Xfrontpage/version%%FP_VER%%/admin/1033/security.htm Xfrontpage/version%%FP_VER%%/admin/1033/uninstal.htm Xfrontpage/version%%FP_VER%%/admin/1033/usage.htm Xfrontpage/version%%FP_VER%%/admin/1033/user.htm Xfrontpage/version%%FP_VER%%/admin/1033/vadmin.htm Xfrontpage/version%%FP_VER%%/admin/1033/verctrl.htm Xfrontpage/version%%FP_VER%%/admin/1033/webadmin.css Xfrontpage/version%%FP_VER%%/admin/1033/webadmin.htm Xfrontpage/version%%FP_VER%%/admin/1033/weblist.htm Xfrontpage/version%%FP_VER%%/apache-fp/_vti_bin/fpexe Xfrontpage/version%%FP_VER%%/apache-fp/mod_frontpage.c Xfrontpage/version%%FP_VER%%/apache-fp/fpexe.c X@unexec if [ -f %B/suidkey ] ; then rm -f %B/suidkey* ; fi Xfrontpage/version%%FP_VER%%/apache2/mod_fpcgid.c Xfrontpage/version%%FP_VER%%/apache2/mod_fpcgid.h Xfrontpage/version%%FP_VER%%/apache2/mod_frontpage.c Xfrontpage/version%%FP_VER%%/apache2/mod_frontpage.h Xfrontpage/version%%FP_VER%%/apache2/mod_suexec.h Xfrontpage/version%%FP_VER%%/bin/_vti_inf.htm Xfrontpage/version%%FP_VER%%/bin/owsadm.exe Xfrontpage/version%%FP_VER%%/bin/postinfo.htm Xfrontpage/version%%FP_VER%%/exes/_vti_bin/_vti_adm/admin.exe Xfrontpage/version%%FP_VER%%/exes/_vti_bin/_vti_adm/fpadmcgi.exe Xfrontpage/version%%FP_VER%%/exes/_vti_bin/_vti_adm/images/blank.gif Xfrontpage/version%%FP_VER%%/exes/_vti_bin/_vti_adm/images/bluedot.gif Xfrontpage/version%%FP_VER%%/exes/_vti_bin/_vti_adm/images/delete.gif Xfrontpage/version%%FP_VER%%/exes/_vti_bin/_vti_adm/images/discuss.gif Xfrontpage/version%%FP_VER%%/exes/_vti_bin/_vti_adm/images/gears_an.gif Xfrontpage/version%%FP_VER%%/exes/_vti_bin/_vti_adm/images/health.gif Xfrontpage/version%%FP_VER%%/exes/_vti_bin/_vti_adm/images/navlink.gif Xfrontpage/version%%FP_VER%%/exes/_vti_bin/_vti_adm/images/newuser.gif Xfrontpage/version%%FP_VER%%/exes/_vti_bin/_vti_adm/images/offlogo.gif Xfrontpage/version%%FP_VER%%/exes/_vti_bin/_vti_adm/images/rect.gif Xfrontpage/version%%FP_VER%%/exes/_vti_bin/_vti_adm/images/settings.gif Xfrontpage/version%%FP_VER%%/exes/_vti_bin/_vti_adm/images/sortdown.gif Xfrontpage/version%%FP_VER%%/exes/_vti_bin/_vti_adm/images/sortup.gif Xfrontpage/version%%FP_VER%%/exes/_vti_bin/_vti_adm/images/subwebs.gif Xfrontpage/version%%FP_VER%%/exes/_vti_bin/_vti_adm/images/usage.gif Xfrontpage/version%%FP_VER%%/exes/_vti_bin/_vti_adm/images/users.gif Xfrontpage/version%%FP_VER%%/exes/_vti_bin/_vti_adm/images/warn_lg.gif Xfrontpage/version%%FP_VER%%/exes/_vti_bin/_vti_adm/images/web.gif Xfrontpage/version%%FP_VER%%/exes/_vti_bin/_vti_adm/images/webdisc.gif Xfrontpage/version%%FP_VER%%/exes/_vti_bin/_vti_aut/author.exe Xfrontpage/version%%FP_VER%%/exes/_vti_bin/fpcount.exe Xfrontpage/version%%FP_VER%%/exes/_vti_bin/shtml.exe Xfrontpage/version%%FP_VER%%/fp_install.sh Xfrontpage/version%%FP_VER%%/frontpage.cnf X@unexec if [ -f %B/%f.orig ] ; then rm -f %B/%f.orig ; fi Xfrontpage/version%%FP_VER%%/help/1033/1p.gif Xfrontpage/version%%FP_VER%%/help/1033/ExpColla.js Xfrontpage/version%%FP_VER%%/help/1033/ExpndAll.gif Xfrontpage/version%%FP_VER%%/help/1033/back.gif Xfrontpage/version%%FP_VER%%/help/1033/bg_Help.gif Xfrontpage/version%%FP_VER%%/help/1033/bg_help.gif Xfrontpage/version%%FP_VER%%/help/1033/bga_Help.gif Xfrontpage/version%%FP_VER%%/help/1033/bluedrop.gif Xfrontpage/version%%FP_VER%%/help/1033/blueup.gif Xfrontpage/version%%FP_VER%%/help/1033/bullet.gif Xfrontpage/version%%FP_VER%%/help/1033/collpstr.GIF Xfrontpage/version%%FP_VER%%/help/1033/collpstr.gif Xfrontpage/version%%FP_VER%%/help/1033/desg01.gif Xfrontpage/version%%FP_VER%%/help/1033/desg02.gif Xfrontpage/version%%FP_VER%%/help/1033/desg03.gif Xfrontpage/version%%FP_VER%%/help/1033/desg04.gif Xfrontpage/version%%FP_VER%%/help/1033/desg05.gif Xfrontpage/version%%FP_VER%%/help/1033/desg06.gif Xfrontpage/version%%FP_VER%%/help/1033/desg07.gif Xfrontpage/version%%FP_VER%%/help/1033/desg08.gif Xfrontpage/version%%FP_VER%%/help/1033/desg09.gif Xfrontpage/version%%FP_VER%%/help/1033/desg10.gif Xfrontpage/version%%FP_VER%%/help/1033/desg11.gif Xfrontpage/version%%FP_VER%%/help/1033/desg12.gif Xfrontpage/version%%FP_VER%%/help/1033/desg13.gif Xfrontpage/version%%FP_VER%%/help/1033/desg14.gif Xfrontpage/version%%FP_VER%%/help/1033/desg15.gif Xfrontpage/version%%FP_VER%%/help/1033/expndtri.gif Xfrontpage/version%%FP_VER%%/help/1033/fpaGloss.htm Xfrontpage/version%%FP_VER%%/help/1033/fpaHome.htm Xfrontpage/version%%FP_VER%%/help/1033/fpaIndex.htm Xfrontpage/version%%FP_VER%%/help/1033/fpaTOC.htm Xfrontpage/version%%FP_VER%%/help/1033/fpahow.htm Xfrontpage/version%%FP_VER%%/help/1033/fpatTrbl.htm Xfrontpage/version%%FP_VER%%/help/1033/home.gif Xfrontpage/version%%FP_VER%%/help/1033/minus.gif Xfrontpage/version%%FP_VER%%/help/1033/ms_logo.gif Xfrontpage/version%%FP_VER%%/help/1033/next.gif Xfrontpage/version%%FP_VER%%/help/1033/office10.css Xfrontpage/version%%FP_VER%%/help/1033/ows.css Xfrontpage/version%%FP_VER%%/help/1033/owsns.css Xfrontpage/version%%FP_VER%%/help/1033/plus.gif Xfrontpage/version%%FP_VER%%/help/1033/spacer.gif Xfrontpage/version%%FP_VER%%/help/1033/strtpage.css Xfrontpage/version%%FP_VER%%/help/1033/wsaAces2.htm Xfrontpage/version%%FP_VER%%/help/1033/wsaAcess.htm Xfrontpage/version%%FP_VER%%/help/1033/wsaKeybd.htm Xfrontpage/version%%FP_VER%%/help/1033/wsaTOC.htm Xfrontpage/version%%FP_VER%%/help/1033/wsaart1.gif Xfrontpage/version%%FP_VER%%/help/1033/wsaart2.gif Xfrontpage/version%%FP_VER%%/help/1033/wsacCmd.htm Xfrontpage/version%%FP_VER%%/help/1033/wsacHeal.htm Xfrontpage/version%%FP_VER%%/help/1033/wsacRole.htm Xfrontpage/version%%FP_VER%%/help/1033/wsacSubw.htm Xfrontpage/version%%FP_VER%%/help/1033/wsacUsag.htm Xfrontpage/version%%FP_VER%%/help/1033/wsacWeb.htm Xfrontpage/version%%FP_VER%%/help/1033/wsaextr0.htm Xfrontpage/version%%FP_VER%%/help/1033/wsaextr1.htm Xfrontpage/version%%FP_VER%%/help/1033/wsaextr2.htm Xfrontpage/version%%FP_VER%%/help/1033/wsaextr3.htm Xfrontpage/version%%FP_VER%%/help/1033/wsaextr4.htm Xfrontpage/version%%FP_VER%%/help/1033/wsaextr5.htm Xfrontpage/version%%FP_VER%%/help/1033/wsaextr6.htm Xfrontpage/version%%FP_VER%%/help/1033/wsaextr7.htm Xfrontpage/version%%FP_VER%%/help/1033/wsaextr8.htm Xfrontpage/version%%FP_VER%%/help/1033/wsaextr9.htm Xfrontpage/version%%FP_VER%%/help/1033/wsapAnon.htm Xfrontpage/version%%FP_VER%%/help/1033/wsapHeal.htm Xfrontpage/version%%FP_VER%%/help/1033/wsapHelC.htm Xfrontpage/version%%FP_VER%%/help/1033/wsapHelM.htm Xfrontpage/version%%FP_VER%%/help/1033/wsapRolC.htm Xfrontpage/version%%FP_VER%%/help/1033/wsapRolG.htm Xfrontpage/version%%FP_VER%%/help/1033/wsapRolM.htm Xfrontpage/version%%FP_VER%%/help/1033/wsapRolU.htm Xfrontpage/version%%FP_VER%%/help/1033/wsapRole.htm Xfrontpage/version%%FP_VER%%/help/1033/wsapSubC.htm Xfrontpage/version%%FP_VER%%/help/1033/wsapSubD.htm Xfrontpage/version%%FP_VER%%/help/1033/wsapSubM.htm Xfrontpage/version%%FP_VER%%/help/1033/wsapSubR.htm Xfrontpage/version%%FP_VER%%/help/1033/wsapSubs.htm Xfrontpage/version%%FP_VER%%/help/1033/wsapSubw.htm Xfrontpage/version%%FP_VER%%/help/1033/wsapUsag.htm Xfrontpage/version%%FP_VER%%/help/1033/wsapUser.htm Xfrontpage/version%%FP_VER%%/help/1033/wsapUsgM.htm Xfrontpage/version%%FP_VER%%/help/1033/wsapUsgT.htm Xfrontpage/version%%FP_VER%%/help/1033/wsapUsrD.htm Xfrontpage/version%%FP_VER%%/help/1033/wsapUsrE.htm Xfrontpage/version%%FP_VER%%/help/1033/wsapUsrN.htm Xfrontpage/version%%FP_VER%%/help/1033/wsapUsrV.htm Xfrontpage/version%%FP_VER%%/help/1033/wsaphelp.htm Xfrontpage/version%%FP_VER%%/help/1033/wsasearc.htm Xfrontpage/version%%FP_VER%%/help/1033/wscopyrt.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgGloss.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgHome.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgIndex.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgTOC.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgTroub.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgcData.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgcOver.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgcPol.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgcRigh.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgcRole.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgcSec.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgcSite.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgcWeb.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgcWebs.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgcgens.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgextr1.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgextr2.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgextr3.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgextr4.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgextr5.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgextr6.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgextr7.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgextr8.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgextr9.htm Xfrontpage/version%%FP_VER%%/help/1033/wsghow.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgindex.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgpAuth.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgpAuto.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgpBkup.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgpCnfg.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgpCrea.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgpData.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgpDef.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgpDel.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgpDisc.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgpExtd.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgpHlth.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgpLim.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgpMrg.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgpPass.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgpPerf.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgpRest.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgpRigh.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgpSMTP.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgpScrp.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgpSec.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgpSet.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgpSub.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgpUnin.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgpUpgd.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgpUsag.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgrAcc.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgrAcc2.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgrKey.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgrRigh.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgrRole.htm Xfrontpage/version%%FP_VER%%/help/1033/wsgsearc.htm Xfrontpage/version%%FP_VER%%/help/1033/wsphelp.htm Xfrontpage/version%%FP_VER%%/nls/cp_1250.nls Xfrontpage/version%%FP_VER%%/nls/cp_1251.nls Xfrontpage/version%%FP_VER%%/nls/cp_1252.nls Xfrontpage/version%%FP_VER%%/nls/cp_1253.nls Xfrontpage/version%%FP_VER%%/nls/cp_1254.nls Xfrontpage/version%%FP_VER%%/nls/cp_1255.nls Xfrontpage/version%%FP_VER%%/nls/cp_1256.nls Xfrontpage/version%%FP_VER%%/nls/cp_1257.nls Xfrontpage/version%%FP_VER%%/nls/cp_1258.nls Xfrontpage/version%%FP_VER%%/nls/cp_28592.nls Xfrontpage/version%%FP_VER%%/nls/cp_28605.nls Xfrontpage/version%%FP_VER%%/nls/cp_437.nls Xfrontpage/version%%FP_VER%%/nls/cp_850.nls Xfrontpage/version%%FP_VER%%/nls/cp_874.nls Xfrontpage/version%%FP_VER%%/nls/cp_932.nls Xfrontpage/version%%FP_VER%%/nls/cp_936.nls Xfrontpage/version%%FP_VER%%/nls/cp_949.nls Xfrontpage/version%%FP_VER%%/nls/cp_950.nls Xfrontpage/version%%FP_VER%%/set_default_perms.sh X@unexec if [ -f %B/upgrade_results.txt ] ; then rm -f %B/upgrade_results.txt ; fi X@unexec if [ -f %B/fp_chown.sh ] ; then rm -f %B/fp_chown.sh ; fi X@dirrm frontpage/version%%FP_VER%%/nls X@dirrm frontpage/version%%FP_VER%%/help/1033 X@dirrm frontpage/version%%FP_VER%%/help X@dirrm frontpage/version%%FP_VER%%/exes/_vti_bin/_vti_aut X@dirrm frontpage/version%%FP_VER%%/exes/_vti_bin/_vti_adm/images X@dirrm frontpage/version%%FP_VER%%/exes/_vti_bin/_vti_adm X@dirrm frontpage/version%%FP_VER%%/exes/_vti_bin X@dirrm frontpage/version%%FP_VER%%/exes X@dirrm frontpage/version%%FP_VER%%/bin X@dirrm frontpage/version%%FP_VER%%/apache-fp/_vti_bin X@dirrm frontpage/version%%FP_VER%%/apache-fp X@dirrm frontpage/version%%FP_VER%%/apache2 X@dirrm frontpage/version%%FP_VER%%/admin/1033 X@dirrm frontpage/version%%FP_VER%%/admin X@dirrm frontpage/version%%FP_VER%% X@dirrm frontpage X%%PORTDOCS%%%%DOCSDIR%%/readme.htm X%%PORTDOCS%%%%DOCSDIR%%/readme_apache2.txt X%%PORTDOCS%%%%DOCSDIR%%/LICENSE.TXT X%%PORTDOCS%%@dirrm %%DOCSDIR%% END-of-./mod_frontpage2/pkg-plist echo x - ./mod_frontpage2/pkg-comment sed 's/^X//' >./mod_frontpage2/pkg-comment << 'END-of-./mod_frontpage2/pkg-comment' XMicrosoft mod_frontpage (by RTR) for Apache 2.x END-of-./mod_frontpage2/pkg-comment echo x - ./mod_frontpage2/pkg-message sed 's/^X//' >./mod_frontpage2/pkg-message << 'END-of-./mod_frontpage2/pkg-message' X************************************************************************ X X1.) X XYou'll need to change AllowOverride under X ( or the place where you Xmoved your webservers ) from None to at least: X XAllowOverride AuthConfig Limit Indexes Options X XDon't use "AllowOverride All" if you have a server environment Xwith customers, since this can be a security risk If you use Xthis, they can enable mod_php4 etc. themself with .htaccess files. X X X2.) X XYou can turn the extensions and the frontpage administration on/off Xper site in httpd.conf and per virtual server. X XFrontPage On/Off # Allows/Disallows Client to publish with X FrontPage Extensions XFrontPageAdmin On/Off # Allows/Disallows Administration of web site X with FrontPage Extensions X XBy default FrontPage Extentions and Administration are enabled. If Xthe module has been compiled with WITH_DISABLED, then then you need Xto add one of the above directives. X XIf the module has been compiled with WITH_MODFP_COMPAT, then the Xfollowing directives from the Improved Mod_Frontpage are available: X XFrontPageEnable # Same as 'FrontPage On' XFrontPageDisable # Same as 'FrontPage Off' XFrontPageAdminEnable # Same as 'FrontPageAdmin On' XFrontPageAdminDisable # Same as 'FrontPageAdmin Off' X X X3.) X XIf this is a fresh Apache install, you should remove the symbolic link Xto the %%PREFIX%%/www/data directory, and create a real directory. X Xrm %%PREFIX%%/www/data Xmkdir %%PREFIX%%/www/data X X4.) X XAfter you have made these changes, you'll have to execute: X X%%PREFIX%%/frontpage/version5.0/fp_install.sh to build the base Xapache/frontpage web site and to setup frontpage users and admins. XYou can also run this to add virtual hosts to the apache/frontpage Xsystem. X X X5.) X XIf you have installed the port in another PREFIX than "/usr/local" Xyou have to create a symlink. Microsoft has hardcoded the local Xpath in their binarys. If you do not use fp_install.sh, you have Xto create the link manually: X Xln -s %%PREFIX%%/frontpage /usr/local/frontpage X X XNOTE: X XWhen using owsadm.exe, you need to specify the server type in the Xcommand. X X owsadm.exe -t apache-2.0 ... X X************************************************************************ END-of-./mod_frontpage2/pkg-message exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports-bugs" in the body of the message