Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Dec 2001 12:28:58 -0800 (PST)
From:      Patrick Powell <papowell@astart.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/33208: ifhp port update
Message-ID:  <200112262028.fBQKSwC07322@h110.private>

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

>Number:         33208
>Category:       ports
>Synopsis:       ifhp port update
>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:   Wed Dec 26 12:30:00 PST 2001
>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
      - updated the port to the ifhp version 3.5.2
      - fixed up the additional mirror sites
>How-To-Repeat:
>Fix:

Attached is the shar of the ifhp port AND diffs agains the latest
CVS of the ifhp port.

 --- shar of /usr/ports/print/ifhp ---

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	ifhp
#	ifhp/Makefile
#	ifhp/pkg-message
#	ifhp/pkg-install
#	ifhp/pkg-descr
#	ifhp/pkg-comment
#	ifhp/files-pkg-message
#	ifhp/distinfo
#	ifhp/README.html
#	ifhp/pkg-plist
#
echo c - ifhp
mkdir -p ifhp > /dev/null 2>&1
echo x - ifhp/Makefile
sed 's/^X//' >ifhp/Makefile << 'END-of-ifhp/Makefile'
X# Ports collection makefile for:	ifhp
X# Date created:		10 Oct 2001
X# Whom:			papowell@astart.com
X#
X## $FreeBSD: ports/print/ifhp/Makefile,v 1.3 2000/04/09 17:49:58 cpiazza Exp $
X#
X
XPORTNAME=ifhp
XPORTVERSION=3.5.2
XCATEGORIES=	    print
XMASTER_SITES=	ftp://ftp.lprng.com/pub/%SUBDIR%/ \
X	ftp://ftp.cise.ufl.edu/pub/mirrors/%SUBDIR%/ \
X	ftp://ftp.cs.umn.edu/pub/%SUBDIR%/ \
X	ftp://ftp.informatik.uni-hamburg.de/pub/os/unix/utils/%SUBDIR%/ \
X	ftp://ftp.uni-paderborn.de/pub/unix/printer/%SUBDIR%/
XMASTER_SITE_SUBDIR=  LPRng/ifhp
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=papowell@astart.com
X
X# RUN_DEPENDS=
X
X.if defined(PREFIX)
X  CONFIGURE_ARGS+=  --prefix="${PREFIX}"
X.endif
X.if defined(SYSCONFDIR)
X  CONFIGURE_ARGS+=  --sysconfdir="${SYSCONFDIR}"
X.endif
X
XHAS_CONFIGURE=	yes
XGNU_CONFIGURE=	yes
XINSTALLS_SHLIB=	yes
X
XCONFIGURE_ARGS+= \
X	--with-ldopts="-L${LOCALBASE}/lib" \
X	--with-ccopts="-I${LOCALBASE}/include"
X
XMAN8=ifhp.8 textps.8
X
Xpre-everything::
X	@${ECHO_MSG} "If you want to replace the default printing system with LPRng, use:"
X	@${ECHO_MSG} "  make PREFIX=/usr SYSCONFDIR=/etc clean all install"
X	@if [ "${PREFIX}" = "/usr" -a ! -d /usr/man ] ; then \
X		${ECHO_MSG} "The man pages will be installed in /usr/man." ; \
X		${ECHO_MSG} "You should make a symbolic link /usr/share/man from /usr/man"; \
X		${ECHO_MSG} "   ln -s /usr/share/man /usr/man"; \
X		${ECHO_MSG} "If you do not, you will retain the old FreeBSD man pages."; \
X		${ECHO_MSG} "See the hier(7) man page for details of the FreeBSD file system"; \
X		${ECHO_MSG} "layout.  Configure is not equipped to determine the location of"; \
X		${ECHO_MSG} 'man pages and defaults to $${PREFIX}/man, which is incorrect for FreeBSD.'; \
X		exit 1; \
X	fi
X	@${ECHO_MSG} "Configuring with '${CONFIGURE_ARGS}'"
X
Xpost-install:
X.if !defined(NOPORTSDOCS)
X	@${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 0555 ${DOCSDIR}
X.for ext in html pdf ppt ps txt gif jpg png
X	@for i in `ls ${WRKSRC}/HOWTO |${GREP} "\.${ext}$$"`; \
X		do ${INSTALL_DATA} ${WRKSRC}/HOWTO/$$i ${DOCSDIR}; done
X.endfor
X.endif
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-ifhp/Makefile
echo x - ifhp/pkg-message
sed 's/^X//' >ifhp/pkg-message << 'END-of-ifhp/pkg-message'
XThe ifhp configuration file is ifhp.conf
X
XFor further information, have a look at:
X  /usr/share/doc/ifhp
Xalso:
X  WWW: http://www.lprng.com
X
XCommercial support is available from Astart Technologies:
X
XPatrick Powell                 Astart Technologies,
Xpapowell@astart.com            9475 Chesapeake Drive, Suite D,
XNetwork and System             San Diego, CA 92123
X  Consulting                   858-874-6543 FAX 858-279-8424 
XURL:  http://www.astart.com
END-of-ifhp/pkg-message
echo x - ifhp/pkg-install
sed 's/^X//' >ifhp/pkg-install << 'END-of-ifhp/pkg-install'
X#!/bin/sh
XPREFIX=/usr
XSYSCONFDIR=/etc
XIFHP_CONF=/etc/ifhp.conf
XMANDIR=/usr/man
XVERSION=3.5.2
X#
X# -- START --
X# $Id: postinstall.freebsd.sh,v 1.9 2001/12/12 01:54:49 papowell Exp papowell $
X#
X#  If you are building a PORT, see the
X#  DISTRIBUTIONS/Freebsd directory for a complete port
X#  building package.
X# 
X# This is the shell script that does the postinstall
X# dynamic fixup
X#  It needs to be massaged with the information for
X#  various paths.
X# If you are building a package,  then you do NOT want
X#  to have this executed - it will put the sample files
X#  in place.  You need to do this during the postinstall
X#  step in the package installation.
X#
Xecho RUNNING postinstall.freebsd.sh MAKEPACKAGE="$MAKEPACKAGE" MAKEINSTALL="$MAKEINSTALL" PREFIX="$PREFIX" cwd `pwd`
Xif [ "$VERBOSE_INSTALL" != "" ] ; then set -x; fi
Xfix () {
X	v=`echo $1 | sed -e 's/[:;].*//'`;
X    p=`echo $2 | sed -e 's/:.*//'`; d=`dirname $p`;
X	if expr "$p" : "\|" >/dev/null ; then
X		echo "$v is a filter '$p'" 
X		exit 0
X	fi
X    echo "Putting $p in $d, using $v.sample"
X	if [ ! -d "$d" ] ; then
X		echo "Directory $d does not exist!"
X		mkdir -p $d
X	fi
X	if [ -f $v.sample ] ; then
X		if [ $v.sample != $p.sample ] ; then cp $v.sample $p.sample; fi
X	elif [ -f $v ] ; then
X		if [ $v != $p.sample ] ; then cp $v $p.sample; fi
X	else
X		echo "Do not have $v.sample or $v"
X	fi
X	if [ ! -f $p.sample ] ; then
X		echo "Do not have $p.sample"
X	else
X		if [ -f $p ] ; then
X			date=`date | awk '{ print $6, $2, $3, $4;}' | sed -e 's/  */_/g' `
X			echo "Saving $p in $p.$date"
X			mv $p $p.$date
X		fi
X		chmod 644 $p.sample
X		cp $p.sample $p;
X		chmod 644 $p;
X	fi;
X}
X# we use the /usr/local/etc/rc.d method to start
X# lpd
X# we have to take them from one place and put in another
Xif [ "X$MAKEPACKAGE" = "XYES" ] ; then
X	hold=${DESTDIR}${PREFIX}/etc
X	echo "Setting up configuration files path for package creation" ${hold}
X    if [ ! -d ${hold} ] ; then mkdir -p ${hold} ; fi;
X    cp ifhp.conf ${hold}/ifhp.conf.sample
Xelif [ X$MAKEINSTALL = XYES ] ; then
X	# we have the port pre-install operation
X	if [ "$MANDIR" = "/usr/man" -a ! -d ${DESTDIR}/usr/man ] ; then
X		# we have the dreaded standard installation
X		# try to make a symbolic link to 
X		echo "Creating symbolic link from /usr/man to /usr/share/man"
X		v=`ln -s ${DESTDIR}/usr/share/man ${DESTDIR}/usr/man`;
X	fi
X	hold=${DESTDIR}${PREFIX}/etc
X	echo "Setting up configuration files path for installation" ${hold}
X    if [ ! -d ${hold} ] ; then mkdir -p ${hold} ; fi;
X    cp ifhp.conf ${hold}/ifhp.conf.sample
X    fix ifhp.conf "${DESTDIR}${IFHP_CONF}"
Xelif [ "X$2" = "XPOST-INSTALL" ] ; then
X	# when doing an install from a package we get the file from the package
X	hold=etc
X    if [ -f ${hold}/ifhp.conf.sample ] ; then
X        fix ${hold}/ifhp.conf "${IFHP_CONF}"
X    else
X        echo "WARNING: configuration files missing from package! CWD " `pwd`
X		ls
X		exit 1
X    fi
Xelif [ "X$2" = "XPRE-INSTALL" ] ; then
X	# we have the port pre-install operation
X	if [ "$MANDIR" = "/usr/man" -a ! -d /usr/man ] ; then
X		# we have the dreaded standard installation
X		# try to make a symbolic link to 
X		echo "Creating symbolic link from /usr/man to /usr/share/man"
X		v=`ln -s /usr/share/man /usr/man`;
X	fi
Xfi
Xexit 0
END-of-ifhp/pkg-install
echo x - ifhp/pkg-descr
sed 's/^X//' >ifhp/pkg-descr << 'END-of-ifhp/pkg-descr'
Xifhp is a highly versatile print filter for BSD based print spoolers.
XIt can be configured to handle text,  PostScript, PJL, PCL, and
Xraster printers, supports conversion from one format to another,
Xand can be used as a stand-alone print utility.  It is the primary
Xsupported print filter for the LPRng print spooler.
X
XWWW: http://www.lprng.com
XFTP: ftp://ftp.lprng.com
END-of-ifhp/pkg-descr
echo x - ifhp/pkg-comment
sed 's/^X//' >ifhp/pkg-comment << 'END-of-ifhp/pkg-comment'
XIFHP - A highly configurable print filter for LPRng
END-of-ifhp/pkg-comment
echo x - ifhp/files-pkg-message
sed 's/^X//' >ifhp/files-pkg-message << 'END-of-ifhp/files-pkg-message'
XThe ifhp configuration file is ifhp.conf
X
XFor further information, have a look at:
X  DOCSDIR
Xalso:
X  WWW: http://www.lprng.com
X
XCommercial support is available from Astart Technologies:
X
XPatrick Powell                 Astart Technologies,
Xpapowell@astart.com            9475 Chesapeake Drive, Suite D,
XNetwork and System             San Diego, CA 92123
X  Consulting                   858-874-6543 FAX 858-279-8424 
XURL:  http://www.astart.com
END-of-ifhp/files-pkg-message
echo x - ifhp/distinfo
sed 's/^X//' >ifhp/distinfo << 'END-of-ifhp/distinfo'
XMD5 (ifhp-3.5.2.tgz) = 0f45125b65769d1f517b9a60626488ff
END-of-ifhp/distinfo
echo x - ifhp/README.html
sed 's/^X//' >ifhp/README.html << 'END-of-ifhp/README.html'
X<html>
X<title> The FreeBSD Ports Collection (print/ifhp)</title>
X<head><h1> The FreeBSD Ports Collection ("print/ifhp")</h1> </head> <hr>
X<body>
X
X<p>You are now in the directory for the port "print/ifhp" (package name "ifhp-3.5.2").
X
X<p>This is the one-line description for this port:
X
X<p><hr><p>
Xifhp - A highly configurable print filter for LPRng
X<p><hr>
X
X<p>Please read the file "<a href="pkg-descr">pkg-descr</a>" for a
Xlonger description.
X
X<p>Go to the <a href="../../README.html">top of the ports tree</a> for
Xa summary on how to use the ports collection.
X
X<p><hr><p>
X<a href="../README.html"> Go up one level</a>
X|
X<a href="../../README.html"> Go to top of ports tree</a>
X</body>
X</html>
END-of-ifhp/README.html
echo x - ifhp/pkg-plist
sed 's/^X//' >ifhp/pkg-plist << 'END-of-ifhp/pkg-plist'
Xetc/ifhp.conf.sample
Xlibexec/filters/ifhp
Xlibexec/filters/textps
Xlibexec/filters/wrapper
END-of-ifhp/pkg-plist
exit

        ---- diffs of the ifhp port ---

diff -rc ifhp/Makefile /usr/ports/print/ifhp/Makefile
*** ifhp/Makefile	Wed Dec 26 12:17:25 2001
--- /usr/ports/print/ifhp/Makefile	Sun Apr  9 10:49:58 2000
***************
*** 1,65 ****
! # Ports collection makefile for:	ifhp
! # Date created:		10 Oct 2001
  # Whom:			papowell@astart.com
  #
! ## $FreeBSD: ports/print/ifhp/Makefile,v 1.3 2000/04/09 17:49:58 cpiazza Exp $
  #
  
! PORTNAME=ifhp
! PORTVERSION=3.5.2
! 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%/
! MASTER_SITE_SUBDIR=  LPRng/ifhp
  EXTRACT_SUFX=	.tgz
  
! MAINTAINER=papowell@astart.com
! 
! # RUN_DEPENDS=
! 
! .if defined(PREFIX)
!   CONFIGURE_ARGS+=  --prefix="${PREFIX}"
! .endif
! .if defined(SYSCONFDIR)
!   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::
! 	@${ECHO_MSG} "If you want to replace the default printing system with LPRng, use:"
! 	@${ECHO_MSG} "  make PREFIX=/usr SYSCONFDIR=/etc clean all install"
! 	@if [ "${PREFIX}" = "/usr" -a ! -d /usr/man ] ; then \
! 		${ECHO_MSG} "The man pages will be installed in /usr/man." ; \
! 		${ECHO_MSG} "You should make a symbolic link /usr/share/man from /usr/man"; \
! 		${ECHO_MSG} "   ln -s /usr/share/man /usr/man"; \
! 		${ECHO_MSG} "If you do not, you will retain the old FreeBSD man pages."; \
! 		${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}'"
  
  post-install:
  .if !defined(NOPORTSDOCS)
! 	@${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 0555 ${DOCSDIR}
! .for ext in html pdf ppt ps txt gif jpg png
! 	@for i in `ls ${WRKSRC}/HOWTO |${GREP} "\.${ext}$$"`; \
! 		do ${INSTALL_DATA} ${WRKSRC}/HOWTO/$$i ${DOCSDIR}; done
! .endfor
  .endif
- 	@${CAT} ${PKGMESSAGE}
  
  .include <bsd.port.mk>
--- 1,27 ----
! # New ports collection makefile for:	ifhp
! # Date created:		27 August 1999
  # Whom:			papowell@astart.com
  #
! # $FreeBSD: ports/print/ifhp/Makefile,v 1.3 2000/04/09 17:49:58 cpiazza Exp $
  #
  
! PORTNAME=	ifhp
! PORTVERSION=	3.3.10
! CATEGORIES=	print
! MASTER_SITES=	ftp://ftp.astart.com/pub/LPRng/FILTERS/
  EXTRACT_SUFX=	.tgz
  
! MAINTAINER=	papowell@astart.com
  
+ MAKEFILE=	Makefile.bsd
  HAS_CONFIGURE=	yes
  
! MAN8=		ifhp.8 textps.8
  
  post-install:
+ 	${INSTALL} -d -g bin -o bin -m 0555 ${PREFIX}/share/doc/ifhp
  .if !defined(NOPORTSDOCS)
! 	${CP} -r ${WRKSRC}/HOWTO/* ${PREFIX}/share/doc/ifhp;
  .endif
  
  .include <bsd.port.mk>
Only in ifhp: README.html
diff -rc ifhp/distinfo /usr/ports/print/ifhp/distinfo
*** ifhp/distinfo	Wed Dec 26 12:17:26 2001
--- /usr/ports/print/ifhp/distinfo	Sun Oct 31 20:07:46 1999
***************
*** 1 ****
! MD5 (ifhp-3.5.2.tgz) = 0f45125b65769d1f517b9a60626488ff
--- 1 ----
! MD5 (ifhp-3.3.10.tgz) = e3094c65d4acb3b09d79ee08f489ffff
Only in ifhp: files-pkg-message
diff -rc ifhp/pkg-comment /usr/ports/print/ifhp/pkg-comment
*** ifhp/pkg-comment	Wed Dec 26 12:17:25 2001
--- /usr/ports/print/ifhp/pkg-comment	Sun Oct 31 20:07:46 1999
***************
*** 1 ****
! IFHP - A highly configurable print filter for LPRng
--- 1 ----
! LPRng print filter for text, PostScript, PCL, HP, Xerox, etc printers
diff -rc ifhp/pkg-descr /usr/ports/print/ifhp/pkg-descr
*** ifhp/pkg-descr	Wed Dec 26 12:17:25 2001
--- /usr/ports/print/ifhp/pkg-descr	Sun Oct 31 20:07:46 1999
***************
*** 1,8 ****
! ifhp is a highly versatile print filter for BSD based print spoolers.
! It can be configured to handle text,  PostScript, PJL, PCL, and
! raster printers, supports conversion from one format to another,
! 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
--- 1,7 ----
! The IFHP print filter is a highly configurable and almost universal
! print filter for the LPRng print spooler.  It can handle text, PostScript,
! PCL, and PJL compatible printers, as well as doing synchronization, resetting,
! getting page counts,  end of job detection and other administrative functions.
! It will handle HP, Tektronics,  Xerox, Qume, and just about any printer that
! can accept a connection.  Configuration is done using the /etc/ifhp.conf file
! which can be tailored for your particular printer.
Only in ifhp: pkg-install
Only in ifhp: pkg-message
diff -rc ifhp/pkg-plist /usr/ports/print/ifhp/pkg-plist
*** ifhp/pkg-plist	Wed Dec 26 12:17:26 2001
--- /usr/ports/print/ifhp/pkg-plist	Sat Mar 10 16:46:05 2001
***************
*** 1,4 ****
  etc/ifhp.conf.sample
  libexec/filters/ifhp
  libexec/filters/textps
! libexec/filters/wrapper
--- 1,41 ----
+ etc/ifhp.conf
  etc/ifhp.conf.sample
  libexec/filters/ifhp
  libexec/filters/textps
! libexec/filters/accounting.sh
! libexec/filters/psbanner.ps
! libexec/filters/ofhp
! libexec/filters/banner
! share/doc/ifhp/IFHP-HOWTO-1.html
! share/doc/ifhp/options
! share/doc/ifhp/fixoptions
! share/doc/ifhp/Makefile.in
! share/doc/ifhp/Makefile.bsd.in
! share/doc/ifhp/Makefile.bsd
! share/doc/ifhp/Makefile
! share/doc/ifhp/IFHP-HOWTO.txt
! share/doc/ifhp/IFHP-HOWTO.tex
! share/doc/ifhp/IFHP-HOWTO.sgml
! share/doc/ifhp/IFHP-HOWTO.ps
! share/doc/ifhp/IFHP-HOWTO.info-4
! share/doc/ifhp/IFHP-HOWTO.info-3
! share/doc/ifhp/IFHP-HOWTO.info-2
! share/doc/ifhp/IFHP-HOWTO.info-1
! share/doc/ifhp/IFHP-HOWTO.info
! share/doc/ifhp/IFHP-HOWTO.html
! share/doc/ifhp/IFHP-HOWTO.dvi
! share/doc/ifhp/IFHP-HOWTO-9.html
! share/doc/ifhp/IFHP-HOWTO-8.html
! share/doc/ifhp/IFHP-HOWTO-7.html
! share/doc/ifhp/IFHP-HOWTO-6.html
! share/doc/ifhp/IFHP-HOWTO-5.html
! share/doc/ifhp/IFHP-HOWTO-4.html
! share/doc/ifhp/IFHP-HOWTO-3.html
! share/doc/ifhp/IFHP-HOWTO-2.html
! share/doc/ifhp/IFHP-HOWTO-12.html
! share/doc/ifhp/IFHP-HOWTO-11.html
! share/doc/ifhp/IFHP-HOWTO-10.html
! share/doc/ifhp/dict
! share/doc/ifhp/updateversion
! @dirrm libexec/filters
! @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




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