Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Feb 2000 23:10:21 -0500 (EST)
From:      vns@delta.odessa.ua
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/16658: Update for russian/apache port
Message-ID:  <200002120410.XAA21410@mindspring.com>

next in thread | raw e-mail | index | archive | help

>Number:         16658
>Category:       ports
>Synopsis:       Update for russian/apache port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 11 20:40:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Vladimir N.Silyaev
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
>Environment:


>Description:
	Update port russian/apache to version 1.3.11 / 29.3

>How-To-Repeat:


>Fix:
	Apply the following patch


diff -ur apache13.old/Makefile apache13/Makefile
--- apache13.old/Makefile	Fri Feb 11 21:11:08 2000
+++ apache13/Makefile	Fri Feb 11 22:42:00 2000
@@ -6,8 +6,8 @@
 # $FreeBSD: ports/russian/apache13/Makefile,v 1.9 1999/12/23 18:36:35 steve Exp $
 #
 
-VERSION=	1.3.9
-RA_VERSION=	29.2
+VERSION=	1.3.11
+RA_VERSION=	29.3
 DISTNAME=       apache_${VERSION}
 PKGNAME=        ru-apache-${VERSION}
 CATEGORIES=	www russian
@@ -27,8 +27,10 @@
 		ftp://ftp.iodynamics.com/pub/mirror/apache/dist/ \
 		ftp://apache.nextpath.com/pub/apache/dist/
 
+
 PATCH_SITES=	ftp://ftp.lexa.ru/pub/apache-rus/ \
-		ftp://ftp.lexa.ru/pub/apache-rus/old-versions/
+		ftp://ftp.lexa.ru/pub/apache-rus/old-versions/ 
+
 PATCHFILES=	patches_${VERSION}rusPL${RA_VERSION}.tar.gz
 
 MAINTAINER=	vns@delta.odessa.ua
@@ -47,6 +49,7 @@
 HAS_CONFIGURE=	yes
 CONFIGURE_ARGS=	\
 		 --prefix=${PREFIX} \
+		 --server-gid=nogroup \
 		 --with-perl=${PERL} \
 		 --with-layout=${FILESDIR}/FreeBSD.layout:FreeBSD \
 		 --suexec-docroot=${PREFIX}/www/data \
diff -ur apache13.old/files/md5 apache13/files/md5
--- apache13.old/files/md5	Fri Feb 11 21:11:07 2000
+++ apache13/files/md5	Fri Feb 11 23:03:02 2000
@@ -1,2 +1,2 @@
-MD5 (apache_1.3.9.tar.gz) = 880af89251943c67e3614bf2ffb89b32
-MD5 (patches_1.3.9rusPL29.2.tar.gz) = c23e879622501e3fbe18fd16ca9a42f3
+MD5 (apache_1.3.11.tar.gz) = 8e0e4c9b410d4d4c4f5832fc0662b9e1
+MD5 (patches_1.3.11rusPL29.3.tar.gz) = 51450694dacc969ab599067c9d4a5730
diff -ur apache13.old/patches/patch-aa apache13/patches/patch-aa
--- apache13.old/patches/patch-aa	Fri Feb 11 21:11:07 2000
+++ apache13/patches/patch-aa	Fri Feb 11 21:17:04 2000
@@ -1,15 +1,6 @@
---- configure.orig	Sat Aug 14 12:29:05 1999
-+++ configure	Fri Sep  3 15:38:10 1999
-@@ -1084,7 +1084,7 @@
- ##  UID/GID as production oriented as a web server in NIS anyway.
- ##
- conf_user="nobody"
--conf_group="#-1"
-+conf_group="nogroup"
- conf_port="80"
- conf_serveradmin="you@your.address"
- conf_servername="new.host.name"
-@@ -1153,8 +1153,8 @@
+--- configure.orig	Tue Jan 18 01:53:17 2000
++++ configure	Mon Jan 24 19:37:21 2000
+@@ -1232,8 +1232,8 @@
      echo "       DEFAULT_PIDLOG: ${runtimedir_relative}${thetarget}.pid"
      echo "   DEFAULT_SCOREBOARD: ${runtimedir_relative}${thetarget}.scoreboard"
      echo "     DEFAULT_LOCKFILE: ${runtimedir_relative}${thetarget}.lock"
@@ -20,7 +11,7 @@
      echo "    TYPES_CONFIG_FILE: ${sysconfdir_relative}mime.types"
      echo "   SERVER_CONFIG_FILE: ${sysconfdir_relative}${thetarget}.conf"
      echo "   ACCESS_CONFIG_FILE: ${sysconfdir_relative}access.conf"
-@@ -1244,8 +1244,8 @@
+@@ -1330,8 +1330,8 @@
  echo "echo '-DDEFAULT_PIDLOG=\"${runtimedir_relative}${thetarget}.pid\"'" >>$src/apaci
  echo "echo '-DDEFAULT_SCOREBOARD=\"${runtimedir_relative}${thetarget}.scoreboard\"'" >>$src/apaci
  echo "echo '-DDEFAULT_LOCKFILE=\"${runtimedir_relative}${thetarget}.lock\"'" >>$src/apaci
diff -ur apache13.old/patches/patch-ab apache13/patches/patch-ab
--- apache13.old/patches/patch-ab	Fri Feb 11 21:11:07 2000
+++ apache13/patches/patch-ab	Fri Feb 11 21:15:59 2000
@@ -1,6 +1,6 @@
---- Makefile.tmpl.orig	Fri Aug 13 10:58:18 1999
-+++ Makefile.tmpl	Fri Sep  3 14:57:01 1999
-@@ -120,6 +120,7 @@
+--- Makefile.tmpl.orig	Tue Jan 11 22:47:41 2000
++++ Makefile.tmpl	Mon Jan 24 19:50:42 2000
+@@ -123,6 +123,7 @@
  runtimedir      = @runtimedir@
  logfiledir      = @logfiledir@
  proxycachedir   = @proxycachedir@
@@ -8,7 +8,7 @@
  
  libexecdir_relative   = @libexecdir_relative@
  
-@@ -255,9 +256,9 @@
+@@ -266,9 +267,9 @@
  	$(MKDIR) $(root)$(mandir)/man1
  	$(MKDIR) $(root)$(mandir)/man8
  	$(MKDIR) $(root)$(sysconfdir)
@@ -20,37 +20,38 @@
  	$(MKDIR) $(root)$(includedir)
  	$(MKDIR) $(root)$(includedir)/xml
  	$(MKDIR) $(root)$(runtimedir)
-@@ -441,26 +442,34 @@
+@@ -452,25 +453,33 @@
  #   icons and distributed CGI scripts.
  install-data:
  	@echo "===> [data: Installing initial data files]"
--	-@if [ -f $(root)$(htdocsdir)/index.html ]; then \
+-	-@if [ -f $(root)$(htdocsdir)/index.html ] || [ -f $(root)$(htdocsdir)/index.html.en ]; then \
 -		echo "[PRESERVING EXISTING DATA SUBDIR: $(root)$(htdocsdir)/]"; \
 -	else \
 -		echo "Copying tree $(TOP)/htdocs/ -> $(root)$(htdocsdir)/"; \
-+#       -@if [ -f $(root)$(htdocsdir)/index.html ]; then \
-+#               echo "[PRESERVING EXISTING DATA SUBDIR: $(root)$(htdocsdir)/]"; \
-+#       else \
++#        -@if [ -f $(root)$(htdocsdir)/index.html ] || [ -f $(root)$(htdocsdir)/index.html.en ]; then \
++#                echo "[PRESERVING EXISTING DATA SUBDIR: $(root)$(htdocsdir)/]"; \
++#        else \
 +		echo "Copying tree $(TOP)/htdocs/ -> $(root)$(doc_prefix)/"; \
  		(cd $(TOP)/htdocs/ && $(TAR) $(TAROPT) - *) |\
 -		(cd $(root)$(htdocsdir)/ && $(TAR) -xf -); \
 -		find $(root)$(htdocsdir)/ -type d -exec chmod a+rx {} \; ; \
 -		find $(root)$(htdocsdir)/ -type f -exec chmod a+r {} \; ; \
+-	fi
+-	-@if [ -f $(root)$(cgidir)/printenv ]; then \
+-		echo "[PRESERVING EXISTING DATA SUBDIR: $(root)$(cgidir)/]"; \
+-	else \
 +		(cd $(root)$(doc_prefix)/ && $(TAR) -xf -); \
 +		find $(root)$(doc_prefix)/ -type d -exec chmod a+rx {} \; ; \
 +		find $(root)$(doc_prefix)/ -type f -exec chmod a+r {} \; ; \
-+#       fi
++#        fi
 +	if [ ! -d $(root)$(htdocsdir) ]; then \
-+	       $(LN) -sf $(root)$(doc_prefix) $(root)$(htdocsdir); \
- 	fi
--	-@if [ -f $(root)$(cgidir)/printenv ]; then \
--		echo "[PRESERVING EXISTING DATA SUBDIR: $(root)$(cgidir)/]"; \
--	else \
++		$(LN) -sf $(root)$(doc_prefix) $(root)$(htdocsdir); \
++  	fi
 +	$(RM) $(root)$(htdocsdir).default
 +	$(LN) -s $(root)$(doc_prefix) $(root)$(htdocsdir).default
-+#       -@if [ -f $(root)$(cgidir)/printenv ]; then \
-+#               echo "[PRESERVING EXISTING DATA SUBDIR: $(root)$(cgidir)/]"; \
-+#       else \
++#        -@if [ -f $(root)$(cgidir)/printenv ]; then \
++#                echo "[PRESERVING EXISTING DATA SUBDIR: $(root)$(cgidir)/]"; \
++#        else \
  		for script in printenv test-cgi; do \
  			cat $(TOP)/cgi-bin/$${script} |\
  			sed -e 's;^#!/.*perl;#!$(PERL);' \
@@ -60,15 +61,13 @@
 +			echo "$(INSTALL_DATA) $(TOP)/conf/$${script}[*] $(root)$(cgidir).default/$${script}"; \
 +			$(INSTALL_DATA) $(TOP)/$(SRC)/.apaci.install.tmp $(root)$(cgidir).default/$${script}; \
  		done; \
--	fi
-+#       fi
++#        fi
 +	if [ ! -d $(root)$(cgidir) ]; then \
 +		$(LN) -sf $(root)$(cgidir).default $(root)$(cgidir); \
-+  	fi
+ 	fi
  	@echo "Copying tree $(TOP)/icons/ -> $(root)$(iconsdir)/"; \
  	(cd $(TOP)/icons/ && $(TAR) $(TAROPT) - *) |\
- 	(cd $(root)$(iconsdir)/ && $(TAR) -xf -); \
-@@ -498,10 +507,10 @@
+@@ -509,10 +518,10 @@
  			-e 's;logs/accept\.lock;$(runtimedir)/$(TARGET).lock;' \
  			-e 's;logs/apache_runtime_status;$(runtimedir)/$(TARGET).scoreboard;' \
  			-e 's;logs/httpd\.pid;$(runtimedir)/$(TARGET).pid;' \
diff -ur apache13.old/pkg/DESCR apache13/pkg/DESCR
--- apache13.old/pkg/DESCR	Fri Feb 11 21:11:08 2000
+++ apache13/pkg/DESCR	Fri Feb 11 21:36:18 2000
@@ -1,5 +1,5 @@
                                 Russian Apache
-                             Version 28.14 (and up)
+                             Version 29.3 (and up)
 
 Russian Apache is an HTTP server designed to work on a Russian market.
 
diff -ur apache13.old/pkg/PLIST apache13/pkg/PLIST
--- apache13.old/pkg/PLIST	Fri Feb 11 21:11:08 2000
+++ apache13/pkg/PLIST	Fri Feb 11 22:57:06 2000
@@ -2,10 +2,15 @@
 bin/htdigest
 bin/htpasswd
 etc/apache/access.conf.default
+@exec [ ! -f %B/access.conf ] && cp %B/%f %B/access.conf
 etc/apache/httpd.conf.default
+@exec [ ! -f %B/httpd.conf ] && cp %B/%f %B/httpd.conf
 etc/apache/magic.default
+@exec [ ! -f %B/magic ] && cp %B/%f %B/magic
 etc/apache/mime.types.default
+@exec [ ! -f %B/mime.types ] && cp %B/%f %B/mime.types
 etc/apache/srm.conf.default
+@exec [ ! -f %B/srm.conf ] && cp %B/%f %B/srm.conf
 etc/apache/tables/russian/alt-alt.tab
 etc/apache/tables/russian/alt-iso.tab
 etc/apache/tables/russian/alt-koi.tab
@@ -161,7 +166,22 @@
 @exec mkdir -p %D/www
 @exec ln -fs %B %D/www/data.default
 @unexec rm -f %D/www/data.default
+@exec [ ! -d %D/www/data ] && ln -fs %B %D/www/data
+@exec [ ! -d %D/www/cgi-bin ] && ln -fs %D/www/cgi-bin.default %D/www/cgi-bin
 share/doc/apache/index.html
+share/doc/apache/index.html.ca
+share/doc/apache/index.html.cz
+share/doc/apache/index.html.de
+share/doc/apache/index.html.dk
+share/doc/apache/index.html.ee
+share/doc/apache/index.html.en
+share/doc/apache/index.html.es
+share/doc/apache/index.html.fr
+share/doc/apache/index.html.it
+share/doc/apache/index.html.lu
+share/doc/apache/index.html.nl
+share/doc/apache/index.html.pt
+share/doc/apache/index.html.se
 share/doc/apache/manual/LICENSE
 share/doc/apache/manual/bind.html
 share/doc/apache/manual/cgi_path.html
@@ -208,6 +228,7 @@
 share/doc/apache/manual/misc/perf-hp.html
 share/doc/apache/manual/misc/perf-tuning.html
 share/doc/apache/manual/misc/perf.html
+share/doc/apache/manual/misc/rewriteguide.html
 share/doc/apache/manual/misc/security_tips.html
 share/doc/apache/manual/misc/vif-info.html
 share/doc/apache/manual/misc/windoz_keepalive.html
@@ -262,6 +283,7 @@
 share/doc/apache/manual/mod/mod_usertrack.html
 share/doc/apache/manual/mod/mod_vhost_alias.html
 share/doc/apache/manual/multilogs.html
+share/doc/apache/manual/netware.html
 share/doc/apache/manual/new_features_1_0.html
 share/doc/apache/manual/new_features_1_1.html
 share/doc/apache/manual/new_features_1_2.html

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200002120410.XAA21410>