From owner-freebsd-ports Thu May 21 09:56:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA10109 for freebsd-ports-outgoing; Thu, 21 May 1998 09:56:22 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from scanner.worldgate.com (scanner.worldgate.com [198.161.84.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA10100 for ; Thu, 21 May 1998 09:56:20 -0700 (PDT) (envelope-from marcs@znep.com) Received: from znep.com (uucp@localhost) by scanner.worldgate.com (8.8.7/8.8.7) with UUCP id KAA25116; Thu, 21 May 1998 10:56:08 -0600 (MDT) Received: from localhost (marcs@localhost) by alive.znep.com (8.7.5/8.7.3) with SMTP id IAA12665; Thu, 21 May 1998 08:56:02 -0700 (PDT) Date: Thu, 21 May 1998 09:56:01 -0600 (MDT) From: Marc Slemko To: "Scot W. Hetzel" cc: FreeBSD-Ports Subject: Re: Apache v1.3b6 w/FrontPage Module In-Reply-To: <000501bd8416$787c4940$c3e0d9cf@admin.westbend.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, 20 May 1998, Scot W. Hetzel wrote: > I just completed porting the FrontPage Module to work on Apache v1.3b6. The > only question I have is where do you set SERVER_SUBVERSION. I tried setting > it in ../src/main/Makefile.tmpl, but that didn't work. FrontPage Explorer > shows "Server Version" as "Apache/1.3b6", and not as "Apache/1.3b6 > FrontPage/3.0.4". Wait for b7 and use ap_add_version_component() at runtime if think you really want to tell people the server is running fp. In b6, just set it on the command line with "-DSERVER_SUBVERSION=FrontPage/3.04" or whatever. You should not be editing Makefile.tmpl at all, and especially not in the main subdir. You can set it in EXTRA_CFLAGS in Configure or add a MODULE-DEFINITION section to the mod_frontpage.c file, like mod_auth_dbm uses: /* * Module definition information - the part between the -START and -END * lines below is used by Configure. This could be stored in a separate * instead. * * MODULE-DEFINITION-START * Name: dbm_auth_module * ConfigStart . ./helpers/find-dbm-lib * ConfigEnd * MODULE-DEFINITION-END */ ...except in it you would add to the CFLAGS. I think mod_status has an example of this. But you are probably better off waiting for b7 in a few days. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message