From owner-freebsd-ports Thu Feb 17 12: 0:12 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id CC3BC37B7D4 for ; Thu, 17 Feb 2000 12:00:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id MAA53715; Thu, 17 Feb 2000 12:00:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from xxx.video-collage.com (xxx.video-collage.com [209.122.149.226]) by hub.freebsd.org (Postfix) with ESMTP id C013837B6D7 for ; Thu, 17 Feb 2000 11:58:39 -0800 (PST) (envelope-from mi@video-collage.com) Received: from dufus.video-collage.com (dufus [10.222.222.77]) by xxx.video-collage.com (8.9.1a/8.9.1) with ESMTP id OAA21032 for ; Thu, 17 Feb 2000 14:58:33 -0500 (EST) Received: (from root@localhost) by dufus.video-collage.com (8.9.3/8.9.3) id OAA68744; Thu, 17 Feb 2000 14:58:32 -0500 (EST) (envelope-from mi@xxx) Message-Id: <200002171958.OAA68744@dufus.video-collage.com> Date: Thu, 17 Feb 2000 14:58:32 -0500 (EST) From: Mikhail Teterin Reply-To: mi@aldan.algebra.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/16792: update the www/mod_dtcl port 0.7.3-1 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 16792 >Category: ports >Synopsis: update the www/mod_dtcl port 0.7.3-1 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Feb 17 12:00:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: Mikhail Teterin >Release: FreeBSD 4.0-CURRENT i386 >Organization: Virtual Estates, Inc. >Environment: >Description: 0.7.3.1 is currently the latest available version >How-To-Repeat: >Fix: diff -U1 -r -N Makefile Makefile --- Makefile Thu Feb 17 02:22:01 2000 +++ Makefile Thu Feb 17 14:53:03 2000 @@ -8,4 +8,4 @@ -DISTNAME= libapache-mod-dtcl_0.6.4-2 -PKGNAME= mod_dtcl-0.6.4.2 +DISTNAME= libapache-mod-dtcl_0.7.3-1 +PKGNAME= mod_dtcl-0.7.3.1 CATEGORIES= www tcl82 @@ -45,3 +45,2 @@ .endif - @ ${SH} ${PKGINSTALL} diff -U1 -r -N files/Makefile.bsd files/Makefile.bsd --- files/Makefile.bsd Sat Jan 29 00:51:42 2000 +++ files/Makefile.bsd Thu Feb 17 14:43:51 2000 @@ -16,4 +16,4 @@ -LDADD= -L${PREFIX}/lib -ltcl${TCL_NDVER} -LDFLAGS=${LDADD} -lm +LDADD= -L${PREFIX}/lib -ltcl${TCL_NDVER} -lm +LDFLAGS=${LDADD} diff -U1 -r -N files/md5 files/md5 --- files/md5 Sat Jan 29 00:51:43 2000 +++ files/md5 Thu Feb 17 14:48:34 2000 @@ -1 +1 @@ -MD5 (libapache-mod-dtcl_0.6.4-2.tar.gz) = 2134a0b7ce40fc7bca48262ca6fa2423 +MD5 (libapache-mod-dtcl_0.7.3-1.tar.gz) = a66d2b624a24298e7c17f5aabf744a75 diff -U1 -r -N pkg/INSTALL pkg/INSTALL --- pkg/INSTALL Sat Jan 29 00:51:45 2000 +++ pkg/INSTALL Wed Dec 31 19:00:00 1969 @@ -1,67 +0,0 @@ -#!/bin/sh -# -# Try to activate mod_dtcl in the installed apache.conf and warn -# if this fails. This script could be replaced with a simple @exec -# line in the PLIST if the apache13 package installed an apache.conf. -# -# Copied from ${PORTSDIR}/www/mod_perl -# -# $Id$ -# - -if [ "$2" != "POST-INSTALL" ]; then - exit 0 -fi - -TMPDIR=${TMPDIR:=/tmp} -PKG_TMPDIR=${PKG_TMPDIR:=${TMPDIR}} - -apxscmd=${PKG_PREFIX}/sbin/apxs -dtclmod=${PKG_PREFIX}/libexec/apache/mod_dtcl.so -tmpdir=${PKG_TMPDIR}/instmod_dtcl.$$ - -if [ ! -x ${apxscmd} ]; then - echo Can\'t find the apxs program: ${apxscmd}. - exit 1 -fi - -confdir=`${apxscmd} -q SYSCONFDIR` - -if [ ! -d ${confdir} ]; then - echo Can\'t find Apache conf dir: ${confdir} - exit 1 -fi - -if [ ! -f ${confdir}/apache.conf ]; then - if [ ! -f ${confdir}/apache.conf.default ]; then - echo Can\'t find either of ${confdir}/apache.conf nor - echo ${confdir}/apache.conf.default. - exit 1 - fi - - if ! mkdir ${tmpdir}; then - echo Can\'t create temporary directory: ${tmpdir} - exit 1 - fi - - cp ${confdir}/apache.conf.default ${tmpdir}/apache.conf - if ${apxscmd} -e -S SYSCONFDIR=${tmpdir} -A -n dtcl ${dtclmod}; then - echo Updating apache.conf.default in config dir: ${confdir} - cat ${tmpdir}/apache.conf > ${confdir}/apache.conf.default - rm -rf ${tmpdir} - exit 0 - else - rm -rf ${tmpdir} - echo The apxs command failed to activate mod_dtcl in the config - echo file: ${tmpdir}/apache.conf. - exit 1 - fi -elif ${apxscmd} -e -A -n dtcl ${dtclmod}; then - exit 0 -else - echo The apxs command failed to activate mod_dtcl in the config - echo file: ${confdir}/apache.conf - exit 1 -fi - -exit 0 diff -U1 -r -N pkg/MESSAGE pkg/MESSAGE --- pkg/MESSAGE Sat Jan 29 00:51:45 2000 +++ pkg/MESSAGE Mon Feb 7 18:53:16 2000 @@ -9,2 +9,6 @@ installed as /usr/local/share/doc/mod_dtcl/dtcl.tcl . + + The mentioning of mod_dtcl is already in the Apache's config + file, but it is commented out -- you have to uncomment it + manually. - diff -U1 -r -N pkg/PLIST pkg/PLIST --- pkg/PLIST Sat Jan 29 00:51:46 2000 +++ pkg/PLIST Thu Feb 17 14:47:11 2000 @@ -1,10 +1,19 @@ libexec/apache/mod_dtcl.so +@exec %D/sbin/apxs -e -A -n dtcl %D/% share/doc/mod_dtcl/INSTALL.html +share/doc/mod_dtcl/Makefile.html share/doc/mod_dtcl/benchmark.html +share/doc/mod_dtcl/browse-source.html share/doc/mod_dtcl/dtcl-tcl.html share/doc/mod_dtcl/dtcl.gif +share/doc/mod_dtcl/dtcl.html share/doc/mod_dtcl/dtcl.tcl share/doc/mod_dtcl/examples.ttml +share/doc/mod_dtcl/globalscript.html +share/doc/mod_dtcl/infodebug.html +share/doc/mod_dtcl/mod_dtcl.html share/doc/mod_dtcl/readme.html share/doc/mod_dtcl/table.html +share/doc/mod_dtcl/testdtcl.html +share/doc/mod_dtcl/two-mode-mode.html share/doc/mod_dtcl/use.html >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message