Return-Path: Delivered-To: apmail-httpd-apreq-dev-archive@www.apache.org Received: (qmail 59388 invoked from network); 12 Jul 2005 17:05:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Jul 2005 17:05:20 -0000 Received: (qmail 1908 invoked by uid 500); 12 Jul 2005 17:05:19 -0000 Delivered-To: apmail-httpd-apreq-dev-archive@httpd.apache.org Received: (qmail 1883 invoked by uid 500); 12 Jul 2005 17:05:19 -0000 Mailing-List: contact apreq-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list apreq-dev@httpd.apache.org Received: (qmail 1863 invoked by uid 99); 12 Jul 2005 17:05:19 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jul 2005 10:05:18 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [65.196.108.169] (HELO mail.liquidation.com) (65.196.108.169) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jul 2005 10:05:16 -0700 Received: from [10.0.0.206] (everything.liquidation.com [65.196.108.171]) (authenticated bits=0) by mail.liquidation.com (8.12.9/8.12.9) with ESMTP id j6CHBZEJ026204 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Tue, 12 Jul 2005 13:11:36 -0400 Message-ID: <42D3F889.1060901@p6m7g8.com> Date: Tue, 12 Jul 2005 13:06:17 -0400 From: "Philip M. Gollucci" Organization: Liquitidy Services, Inc. User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Philip M. Gollucci" CC: Joe Schaefer , apreq-dev@httpd.apache.org Subject: Re: [PATCH] add our version to string to httpd banner References: <42D1A19A.9060101@p6m7g8.com> <8764vgm7cz.fsf@gemini.sunstarsys.com> <42D3EA46.3060309@p6m7g8.com> <87zmssknn5.fsf@gemini.sunstarsys.com> <42D3F7EA.4000002@p6m7g8.com> In-Reply-To: <42D3F7EA.4000002@p6m7g8.com> Content-Type: multipart/mixed; boundary="------------050007080403000905080503" X-MailScanner-Information: Please contact the ISP for more information X-MailScanner: Found to be clean X-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (score=-4.852, required 5, AWL 0.05, BAYES_00 -4.90) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. --------------050007080403000905080503 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Blast. Take3. The apache1 version had a typo: Attached again. -- END --------------------------------------------------------- What doesn't kill us can only make us stronger. Nothing is impossible. Philip M. Gollucci (pgollucci@p6m7g8.com) 301.254.5198 Consultant / http://p6m7g8.net/Resume/resume.shtml Senior Developer / Liquidity Services, Inc. http://www.liquidityservicesinc.com http://www.liquidation.com http://www.uksurplus.com http://www.govliquidation.com http://www.gowholesale.com --------------050007080403000905080503 Content-Type: text/plain; name="version.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="version.diff" Index: module/apache/command.c =================================================================== --- module/apache/command.c (revision 215980) +++ module/apache/command.c (working copy) @@ -18,6 +18,7 @@ #include "apreq_util.h" #include "apreq_module_apache.h" +#include "apreq_version.h" #include "httpd.h" #include "http_log.h" @@ -152,6 +153,9 @@ apr_initialize(); apr_pool_create(&p, NULL); apreq_initialize(p); + ap_add_version_component(p, apr_psprintf(p, + "mod_apreq/%s", + APREQ_VERSION_STRING)); ap_register_cleanup(sp, p, apreq_cleanup, apreq_cleanup); } Index: module/apache2/filter.c =================================================================== --- module/apache2/filter.c (revision 215980) +++ module/apache2/filter.c (working copy) @@ -29,6 +29,7 @@ #include "apreq_private_apache2.h" #include "apreq_error.h" #include "apreq_util.h" +#include "apreq_version.h" static void *apreq_create_dir_config(apr_pool_t *p, char *d) { @@ -423,6 +424,10 @@ { apr_status_t status; + ap_add_version_component(p, apr_psprintf(p, + "mod_apreq/%s", + APREQ_VERSION_STRING)); + status = apreq_post_initialize(p); if (status != APR_SUCCESS) { ap_log_error(APLOG_MARK, APLOG_STARTUP|APLOG_ERR, status, base_server, --------------050007080403000905080503--