From owner-freebsd-ports Tue Apr 2 9:30:19 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id BC78437B420 for ; Tue, 2 Apr 2002 09:30:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g32HU1s66745; Tue, 2 Apr 2002 09:30:01 -0800 (PST) (envelope-from gnats) Received: from astart2.astart.com (tcubed-gw.access.nethere.net [216.188.53.211]) by hub.freebsd.org (Postfix) with ESMTP id EA0FD37B420 for ; Tue, 2 Apr 2002 09:21:15 -0800 (PST) Received: from h110.private (h110.private [10.0.0.110]) by astart2.astart.com (8.11.6/8.11.6) with ESMTP id g32HLFE35509 for ; Tue, 2 Apr 2002 09:21:15 -0800 (PST) (envelope-from papowell@astart.com) Received: (from papowell@localhost) by h110.private (8.11.3/8.11.3) id g32HLFe26128; Tue, 2 Apr 2002 09:21:15 -0800 (PST) (envelope-from papowell) Message-Id: <200204021721.g32HLFe26128@h110.private> Date: Tue, 2 Apr 2002 09:21:15 -0800 (PST) From: Patrick Powell Reply-To: papowell@astart.com To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/36664: ifhp port update version 3.5.7 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36664 >Category: ports >Synopsis: ifhp port update version 3.5.7 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Apr 02 09:30:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Patrick Powell >Release: FreeBSD 4.3-RELEASE i386 >Organization: LPRng.com >Environment: System: FreeBSD h110.private 4.3-RELEASE FreeBSD 4.3-RELEASE #0: Sat Apr 21 10:54:49 GMT 2001 jkh@narf.osd.bsdi.com:/usr/src/sys/compile/GENERIC i386 >Description: ifhp port update 3.5.7 >How-To-Repeat: >Fix: This DIFF was done againt the commit of FreeBSD: ports/print/ifhp/Makefile,v 1.4 2002/03/31 18:06:36 dwcjr Most of the changes are cosmetic, or correct a deficiency with respect to the port guidelines. In addition, some white space has been changed from spaces to tabs to make it conform to the recommended format for the port. diff -rNu /usr/ports/print/ifhp/Makefile ifhp/Makefile --- /usr/ports/print/ifhp/Makefile Tue Apr 2 07:56:40 2002 +++ ifhp/Makefile Tue Apr 2 08:15:33 2002 @@ -5,21 +5,26 @@ # $FreeBSD: ports/print/ifhp/Makefile,v 1.4 2002/03/31 18:06:36 dwcjr Exp $ # -PORTNAME=ifhp -PORTVERSION=3.5.6 +PORTNAME= ifhp +PORTVERSION= 3.5.7 CATEGORIES= print MASTER_SITES= ftp://ftp.lprng.com/pub/%SUBDIR%/ \ - ftp://ftp.cise.ufl.edu/pub/mirrors/%SUBDIR%/ \ - ftp://ftp.cs.umn.edu/pub/%SUBDIR%/ \ - ftp://ftp.informatik.uni-hamburg.de/pub/os/unix/utils/%SUBDIR%/ \ - ftp://ftp.uni-paderborn.de/pub/unix/printer/%SUBDIR%/ + ftp://ftp.cise.ufl.edu/pub/mirrors/%SUBDIR%/ \ + ftp://ftp.cs.umn.edu/pub/%SUBDIR%/ \ + ftp://ftp.informatik.uni-hamburg.de/pub/os/unix/utils/%SUBDIR%/ \ + ftp://ftp.uni-paderborn.de/pub/unix/printer/%SUBDIR%/ MASTER_SITE_SUBDIR= LPRng/ifhp EXTRACT_SUFX= .tgz MAINTAINER=papowell@astart.com -# RUN_DEPENDS= +GNU_CONFIGURE= yes +INSTALLS_SHLIB= yes + +CONFIGURE_ARGS= \ + --with-ldopts="-L${LOCALBASE}/lib" \ + --with-ccopts="-I${LOCALBASE}/include" .if defined(PREFIX) CONFIGURE_ARGS+= --prefix="${PREFIX}" .endif @@ -27,14 +32,6 @@ CONFIGURE_ARGS+= --sysconfdir="${SYSCONFDIR}" .endif -HAS_CONFIGURE= yes -GNU_CONFIGURE= yes -INSTALLS_SHLIB= yes - -CONFIGURE_ARGS+= \ - --with-ldopts="-L${LOCALBASE}/lib" \ - --with-ccopts="-I${LOCALBASE}/include" - MAN8=ifhp.8 textps.8 pre-everything:: @@ -48,7 +45,6 @@ ${ECHO_MSG} "See the hier(7) man page for details of the FreeBSD file system"; \ ${ECHO_MSG} "layout. Configure is not equipped to determine the location of"; \ ${ECHO_MSG} 'man pages and defaults to $${PREFIX}/man, which is incorrect for FreeBSD.'; \ - exit 1; \ fi @${ECHO_MSG} "Configuring with '${CONFIGURE_ARGS}'" @@ -60,6 +56,6 @@ do ${INSTALL_DATA} ${WRKSRC}/HOWTO/$$i ${DOCSDIR}; done .endfor .endif - @${CAT} ${PKGMESSAGE} + @${SED} -e "s!DOCSDIR!${DOCSDIR}/!" ${PKGMESSAGE} .include diff -rNu /usr/ports/print/ifhp/distinfo ifhp/distinfo --- /usr/ports/print/ifhp/distinfo Tue Apr 2 07:56:40 2002 +++ ifhp/distinfo Wed Dec 31 16:00:00 1969 @@ -1 +0,0 @@ -MD5 (ifhp-3.5.6.tgz) = ca54cb1008c9d0cbb2aa767a1a4810fb diff -rNu /usr/ports/print/ifhp/files-pkg-message ifhp/files-pkg-message --- /usr/ports/print/ifhp/files-pkg-message Wed Dec 31 16:00:00 1969 +++ ifhp/files-pkg-message Tue Apr 2 08:15:33 2002 @@ -0,0 +1,14 @@ +The ifhp configuration file is ifhp.conf + +For further information, have a look at: + DOCSDIR +also: + WWW: http://www.lprng.com/ + +Commercial support is available from Astart Technologies: + +Patrick Powell Astart Technologies, +papowell@astart.com 9475 Chesapeake Drive, Suite D, +Network and System San Diego, CA 92123 + Consulting 858-874-6543 FAX 858-279-8424 +URL: http://www.astart.com diff -rNu /usr/ports/print/ifhp/pkg-descr ifhp/pkg-descr --- /usr/ports/print/ifhp/pkg-descr Tue Apr 2 07:56:40 2002 +++ ifhp/pkg-descr Tue Apr 2 08:15:33 2002 @@ -4,5 +4,5 @@ and can be used as a stand-alone print utility. It is the primary supported print filter for the LPRng print spooler. -WWW: http://www.lprng.com -FTP: ftp://ftp.lprng.com +WWW: http://www.lprng.com/ +FTP: ftp://ftp.lprng.com/ diff -rNu /usr/ports/print/ifhp/pkg-install ifhp/pkg-install --- /usr/ports/print/ifhp/pkg-install Wed Dec 31 16:00:00 1969 +++ ifhp/pkg-install Tue Apr 2 08:15:33 2002 @@ -0,0 +1,98 @@ +#!/bin/sh +PREFIX=/usr/local +SYSCONFDIR=/usr/local/etc +IFHP_CONF=/usr/local/etc/ifhp.conf +MANDIR=/usr/local/man +VERSION=3.5.7 +# +# -- START -- +# $Id: postinstall.freebsd.sh,v 1.9 2001/12/12 01:54:49 papowell Exp papowell $ +# +# If you are building a PORT, see the +# DISTRIBUTIONS/Freebsd directory for a complete port +# building package. +# +# This is the shell script that does the postinstall +# dynamic fixup +# It needs to be massaged with the information for +# various paths. +# If you are building a package, then you do NOT want +# to have this executed - it will put the sample files +# in place. You need to do this during the postinstall +# step in the package installation. +# +echo RUNNING postinstall.freebsd.sh MAKEPACKAGE="$MAKEPACKAGE" MAKEINSTALL="$MAKEINSTALL" PREFIX="$PREFIX" cwd `pwd` +if [ "$VERBOSE_INSTALL" != "" ] ; then set -x; fi +fix () { + v=`echo $1 | sed -e 's/[:;].*//'`; + p=`echo $2 | sed -e 's/:.*//'`; d=`dirname $p`; + if expr "$p" : "\|" >/dev/null ; then + echo "$v is a filter '$p'" + exit 0 + fi + echo "Putting $p in $d, using $v.sample" + if [ ! -d "$d" ] ; then + echo "Directory $d does not exist!" + mkdir -p $d + fi + if [ -f $v.sample ] ; then + if [ $v.sample != $p.sample ] ; then cp $v.sample $p.sample; fi + elif [ -f $v ] ; then + if [ $v != $p.sample ] ; then cp $v $p.sample; fi + else + echo "Do not have $v.sample or $v" + fi + if [ ! -f $p.sample ] ; then + echo "Do not have $p.sample" + else + if [ -f $p ] ; then + date=`date | awk '{ print $6, $2, $3, $4;}' | sed -e 's/ */_/g' ` + echo "Saving $p in $p.$date" + mv $p $p.$date + fi + chmod 644 $p.sample + cp $p.sample $p; + chmod 644 $p; + fi; +} +# we use the /usr/local/etc/rc.d method to start +# lpd +# we have to take them from one place and put in another +if [ "X$MAKEPACKAGE" = "XYES" ] ; then + hold=${DESTDIR}${PREFIX}/etc + echo "Setting up configuration files path for package creation" ${hold} + if [ ! -d ${hold} ] ; then mkdir -p ${hold} ; fi; + cp ifhp.conf ${hold}/ifhp.conf.sample +elif [ X$MAKEINSTALL = XYES ] ; then + # we have the port pre-install operation + if [ "$MANDIR" = "/usr/man" -a ! -d ${DESTDIR}/usr/man ] ; then + # we have the dreaded standard installation + # try to make a symbolic link to + echo "Creating symbolic link from /usr/man to /usr/share/man" + v=`ln -s ${DESTDIR}/usr/share/man ${DESTDIR}/usr/man`; + fi + hold=${DESTDIR}${PREFIX}/etc + echo "Setting up configuration files path for installation" ${hold} + if [ ! -d ${hold} ] ; then mkdir -p ${hold} ; fi; + cp ifhp.conf ${hold}/ifhp.conf.sample + fix ifhp.conf "${DESTDIR}${IFHP_CONF}" +elif [ "X$2" = "XPOST-INSTALL" ] ; then + # when doing an install from a package we get the file from the package + hold=etc + if [ -f ${hold}/ifhp.conf.sample ] ; then + fix ${hold}/ifhp.conf "${IFHP_CONF}" + else + echo "WARNING: configuration files missing from package! CWD " `pwd` + ls + exit 1 + fi +elif [ "X$2" = "XPRE-INSTALL" ] ; then + # we have the port pre-install operation + if [ "$MANDIR" = "/usr/man" -a ! -d /usr/man ] ; then + # we have the dreaded standard installation + # try to make a symbolic link to + echo "Creating symbolic link from /usr/man to /usr/share/man" + v=`ln -s /usr/share/man /usr/man`; + fi +fi +exit 0 diff -rNu /usr/ports/print/ifhp/pkg-message ifhp/pkg-message --- /usr/ports/print/ifhp/pkg-message Wed Dec 31 16:00:00 1969 +++ ifhp/pkg-message Tue Apr 2 08:15:33 2002 @@ -0,0 +1,14 @@ +The ifhp configuration file is ifhp.conf + +For further information, have a look at: + /usr/local/share/doc/ifhp +also: + WWW: http://www.lprng.com/ + +Commercial support is available from Astart Technologies: + +Patrick Powell Astart Technologies, +papowell@astart.com 9475 Chesapeake Drive, Suite D, +Network and System San Diego, CA 92123 + Consulting 858-874-6543 FAX 858-279-8424 +URL: http://www.astart.com diff -rNu /usr/ports/print/ifhp/pkg-plist ifhp/pkg-plist --- /usr/ports/print/ifhp/pkg-plist Tue Apr 2 07:56:40 2002 +++ ifhp/pkg-plist Tue Apr 2 08:15:33 2002 @@ -2,3 +2,10 @@ libexec/filters/ifhp libexec/filters/textps libexec/filters/wrapper +share/doc/ifhp/IFHP-HOWTO.html +share/doc/ifhp/IFHP-HOWTO.pdf +share/doc/ifhp/LPRng.jpg +share/doc/ifhp/LPRngT-L.jpg +share/doc/ifhp/LPRngT-S.jpg +share/doc/ifhp/ifhp-S.jpg +@dirrm share/doc/ifhp >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message