Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Dec 2001 12:25:05 -0800 (PST)
From:      Patrick Powell <papowell@astart.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/33207: LPRng port update
Message-ID:  <200112262025.fBQKP5s07196@h110.private>

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

>Number:         33207
>Category:       ports
>Synopsis:       LPRng 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:
	LPRng Port Update to 3.8.4
>How-To-Repeat:
	Generate port
>Fix:

There are two files enclosed here:
the acutal port (/usr/ports/sysutils/LPRng) and the diffs
against the latest CVS of the LPRng port.

 --------- the LPRng port -----------

# 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:
#
#	LPRng
#	LPRng/Makefile
#	LPRng/pkg-message
#	LPRng/pkg-install
#	LPRng/pkg-descr
#	LPRng/pkg-deinstall
#	LPRng/pkg-comment
#	LPRng/files-pkg-message
#	LPRng/distinfo
#	LPRng/README.html
#	LPRng/pkg-plist
#
echo c - LPRng
mkdir -p LPRng > /dev/null 2>&1
echo x - LPRng/Makefile
sed 's/^X//' >LPRng/Makefile << 'END-of-LPRng/Makefile'
X# New ports collection makefile for:	LPRng
X# Date created:		10 Oct 2001
X# Whom:			papowell@lprng.com
X#
X# $FreeBSD: ports/sysutils/LPRng/Makefile,v 1.10 1999/09/27 01:50:00 steve Exp $
X#
X
XPORTNAME=LPRng
XPORTVERSION=3.8.4
XCATEGORIES=	 sysutils 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/LPRng
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	papowell@astart.com
X
X#RUN_DEPENDS=	ifhp:${PORTSDIR}/print/ifhp
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	--with-filterdir=${PREFIX}/libexec/filters \
X	--with-ld_library_path="${PREFIX}/lib:/lib:/usr/lib:/${LOCALBASE}/lib" \
X	--with-filter_path="${PREFIX}/bin:/bin:/usr/bin:${PREFIX}/sbin:/sbin:/usr/sbin"
X
XMAN1=cancel.1 lp.1 lpbanner.1 lpf.1 lpq.1 lpr.1 lprm.1 lpstat.1 monitor.1 pclbanner.1 psbanner.1
XMAN5=lpd.conf.5 lpd.perms.5 printcap.5
XMAN8=checkpc.8 lpc.8 lpd.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#	@${ECHO_MSG} "Configuring with '${CONFIGURE_ARGS}'"
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
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	@${SED} -e "s!DOCSDIR!${DOCSDIR}/!" ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-LPRng/Makefile
echo x - LPRng/pkg-message
sed 's/^X//' >LPRng/pkg-message << 'END-of-LPRng/pkg-message'
X
XTo activate the LPRng printing system do the following:
X
X- set `lpd_enable=NO' in /etc/rc.conf.
X  The LPRng startup script is in /usr/local/etc/rc.d/lprng.sh
X
X- run checkpc -f to make sure that necessary files have been created
X
X- reboot or kill the old lpd (`killall lpd') and
X  start the new one (/usr/local/etc/rc.d/lprng.sh start)
X
XLPRng uses the printcap, lpd.conf, and lpd.perms configuration files
X
XFor further information, see the LPRng Documentation:
X  /usr/share/doc/LPRng
X
XThe LPRng Web Site is http://www.lprng.com
X
XCommercial support is available from Astart Technologies:
X  Patrick Powell                 Astart Technologies,
X  papowell@astart.com            9475 Chesapeake Drive, Suite D,
X  Network and System             San Diego, CA 92123
X    Consulting                   858-874-6543 FAX 858-279-8424 
X  http://www.astart.com
END-of-LPRng/pkg-message
echo x - LPRng/pkg-install
sed 's/^X//' >LPRng/pkg-install << 'END-of-LPRng/pkg-install'
X#!/bin/sh
XPREFIX=/usr
XLPD_PATH="/usr/sbin/lpd"
XINSTALL="/usr/bin/install -c -o root -g wheel"
XLPD_PERMS_PATH="/etc/lpd.perms"
XLPD_CONF_PATH="/etc/lpd.conf"
XPRINTCAP_PATH="/etc/printcap"
XSYSCONFDIR=/etc
XSBINDIR=/usr/sbin
XFILTER_DIR=/usr/libexec/filters
XLOCKFILE="/var/run/lpd"
XPSHOWALL="-ax"
XVERSION=3.8.4
XINIT=
XMANDIR=/usr/man
X#
X# -- START --
X# postinstall.freebsd.sh,v 1.1 2001/08/21 20:33:16 root Exp
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 parms "'$0 $@'" MAKEPACKAGE="$MAKEPACKAGE" MAKEINSTALL="$MAKEINSTALL" PREFIX="$PREFIX" INIT="$INIT" 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    elif [ ! -f $p ] ; then
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" ${hold}
X    # we put files into the destination
X    if [ ! -d ${hold} ] ; then mkdir -p ${hold} ; fi;
X    cp lpd.perms ${hold}/lpd.perms.sample
X    cp lpd.conf ${hold}/lpd.conf.sample
X    cp printcap ${hold}/printcap.sample
X    if [ "$INIT" != no ] ; then
X        cp init.freebsd ${hold}/lprng.sh
X    fi
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    echo "Setting up configuration files path for installation" ${hold}
X    hold=${DESTDIR}${PREFIX}/etc
X    if [ ! -d ${hold} ] ; then mkdir -p ${hold} ; fi;
X    cp lpd.perms ${hold}/lpd.perms.sample
X    cp lpd.conf ${hold}/lpd.conf.sample
X    cp printcap ${hold}/printcap.sample
X
X    fix ${hold}/lpd.perms "${DESTDIR}${LPD_PERMS_PATH}"
X    fix ${hold}/lpd.conf "${DESTDIR}${LPD_CONF_PATH}"
X    fix ${hold}/printcap "${DESTDIR}${PRINTCAP_PATH}"
X
X    if [ "$INIT" != no ] ; then
X		if [ -f /etc/rc.conf ] ; then
X			perl -spi.bak -e 's/^lpd_enable/#lpd_enable/;' ${DESTDIR}/etc/rc.conf 
X		fi
X		cp init.freebsd ${hold}/lprng.sh
X		init=${DESTDIR}/usr/local/etc/rc.d/lprng.sh
X		echo "Setting up init script $init using init.freebsd"
X		if [ ! -d `dirname $init` ] ; then mkdir -p `dirname $init ` ; fi;
X		rm -f $init
X		cp init.freebsd $init
X		chmod 744 $init
X
X		echo "Stopping LPD"
X		kill -INT `ps ${PSHOWALL} | awk '/lpd/{ print $1;}'` >/dev/null 2>&1
X		sleep 2;
X		# check the printcap information
X		echo "Checking Printcap Info and fixing permissions"
X		${SBINDIR}/checkpc -f
X		# restart the server
X		echo "Restarting server"
X		sh $init start
X    fi
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}/lpd.perms.sample ] ; then
X        fix ${hold}/lpd.perms "${LPD_PERMS_PATH}"
X        fix ${hold}/lpd.conf "${LPD_CONF_PATH}"
X        fix ${hold}/printcap "${PRINTCAP_PATH}"
X		if [ "$INIT" != no ] ; then
X			init=/usr/local/etc/rc.d/lprng.sh
X			cp ${hold}/lprng.sh $init;
X			chmod 755 $init;
X			if [ -f /etc/rc.conf ] ; then
X				perl -spi.bak -e 's/^lpd_enable/#lpd_enable/;' /etc/rc.conf 
X			fi
X		fi
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-LPRng/pkg-install
echo x - LPRng/pkg-descr
sed 's/^X//' >LPRng/pkg-descr << 'END-of-LPRng/pkg-descr'
XThe LPRng software is an enhanced, extended, and portable implementation
Xof the Berkeley LPR print spooler functionality.  While providing the
Xsame interface and meeting RFC1179 requirements, the implementation is
Xcompletely new and provides support for the following features:
Xlightweight (no databases needed) lpr, lpc, and lprm programs; dynamic
Xredirection of print queues; automatic job holding; highly verbose
Xdiagnostics; multiple printers serving a single queue; client programs
Xdo not need to run SUID root; greatly enhanced security checks; and a
Xgreatly improved permission and authorization mechanism.
X
XWWW: http://www.lprng.com 
XFTP: ftp://ftp.lprng.com
END-of-LPRng/pkg-descr
echo x - LPRng/pkg-deinstall
sed 's/^X//' >LPRng/pkg-deinstall << 'END-of-LPRng/pkg-deinstall'
X#!/bin/sh
XPREFIX=/usr
XLPD_PATH="/usr/sbin/lpd"
XINSTALL="/usr/bin/install -c -o root -g wheel"
XLPD_PERMS_PATH="/etc/lpd.perms"
XLPD_CONF_PATH="/etc/lpd.conf"
XPRINTCAP_PATH="/etc/printcap"
XSYSCONFDIR=/etc
XSBINDIR=/usr/sbin
XFILTER_DIR=/usr/libexec/filters
XLOCKFILE="/var/run/lpd"
XPSHOWALL="-ax"
XVERSION=3.8.4
XINIT=
XMANDIR=/usr/man
X#
X# -- START --
X# preremove.freebsd.sh,v 1.1 2001/08/21 20:33:17 root Exp
X#
X# This is the shell script that does the preremove
X# lpd shutdown.  It is the script from hell
Xecho RUNNING preremove.freebsd.sh parms "'$0 $@'"
Xif [ "$VERBOSE_INSTALL" != "" ] ; then set -x; fi
Xif [ "X$2" = "XDEINSTALL" ] ; then
X	echo "Stopping LPD"
X	killall -INT lpd
Xfi
Xexit 0
END-of-LPRng/pkg-deinstall
echo x - LPRng/pkg-comment
sed 's/^X//' >LPRng/pkg-comment << 'END-of-LPRng/pkg-comment'
XAn Enhanced Printer Spooler
END-of-LPRng/pkg-comment
echo x - LPRng/files-pkg-message
sed 's/^X//' >LPRng/files-pkg-message << 'END-of-LPRng/files-pkg-message'
X
XTo activate the LPRng printing system do the following:
X
X- set `lpd_enable=NO' in /etc/rc.conf.
X  The LPRng startup script is in /usr/local/etc/rc.d/lprng.sh
X
X- run checkpc -f to make sure that necessary files have been created
X
X- reboot or kill the old lpd (`killall lpd') and
X  start the new one (/usr/local/etc/rc.d/lprng.sh start)
X
XLPRng uses the printcap, lpd.conf, and lpd.perms configuration files
X
XFor further information, see the LPRng Documentation:
X  DOCSDIR
X
XThe LPRng Web Site is http://www.lprng.com
X
XCommercial support is available from Astart Technologies:
X  Patrick Powell                 Astart Technologies,
X  papowell@astart.com            9475 Chesapeake Drive, Suite D,
X  Network and System             San Diego, CA 92123
X    Consulting                   858-874-6543 FAX 858-279-8424 
X  http://www.astart.com
END-of-LPRng/files-pkg-message
echo x - LPRng/distinfo
sed 's/^X//' >LPRng/distinfo << 'END-of-LPRng/distinfo'
XMD5 (LPRng-3.8.4.tgz) = f38cb82e3e5a55f9f676aab61c2fe91e
END-of-LPRng/distinfo
echo x - LPRng/README.html
sed 's/^X//' >LPRng/README.html << 'END-of-LPRng/README.html'
X<html>
X<title> The FreeBSD Ports Collection (sysutils/LPRng)</title>
X<head><h1> The FreeBSD Ports Collection ("sysutils/LPRng")</h1> </head> <hr>
X<body>
X
X<p>You are now in the directory for the port "sysutils/LPRng" (package name "LPRng-3.8.4").
X
X<p>This is the one-line description for this port:
X
X<p><hr><p>
XAn Enhanced Printer Spooler
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>
X
X<p>
X
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-LPRng/README.html
echo x - LPRng/pkg-plist
sed 's/^X//' >LPRng/pkg-plist << 'END-of-LPRng/pkg-plist'
Xetc/lpd.perms.sample
Xetc/lpd.conf.sample
Xetc/printcap.sample
Xetc/lprng.sh
Xbin/lpq
Xbin/lprm
Xbin/lpr
Xbin/lpstat
Xlib/liblpr.la
Xlib/liblpr.a
Xlibexec/filters/lpf
Xlibexec/filters/lpbanner
Xlibexec/filters/pclbanner
Xlibexec/filters/psbanner
Xsbin/lpc
Xsbin/lpd
Xsbin/checkpc
END-of-LPRng/pkg-plist
exit

 ---------- The diffs to the LPRng port ---

diff -rc LPRng/Makefile /usr/ports/sysutils/LPRng/Makefile
*** LPRng/Makefile	Wed Dec 26 12:17:09 2001
--- /usr/ports/sysutils/LPRng/Makefile	Tue Nov 27 07:30:49 2001
***************
*** 1,70 ****
  # New ports collection makefile for:	LPRng
! # Date created:		10 Oct 2001
! # Whom:			papowell@lprng.com
  #
! # $FreeBSD: ports/sysutils/LPRng/Makefile,v 1.10 1999/09/27 01:50:00 steve Exp $
  #
  
! PORTNAME=LPRng
! PORTVERSION=3.8.4
! CATEGORIES=	 sysutils 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/LPRng
  EXTRACT_SUFX=	.tgz
  
! MAINTAINER=	papowell@astart.com
  
! #RUN_DEPENDS=	ifhp:${PORTSDIR}/print/ifhp
  
- .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" \
! 	--with-filterdir=${PREFIX}/libexec/filters \
! 	--with-ld_library_path="${PREFIX}/lib:/lib:/usr/lib:/${LOCALBASE}/lib" \
! 	--with-filter_path="${PREFIX}/bin:/bin:/usr/bin:${PREFIX}/sbin:/sbin:/usr/sbin"
! 
! MAN1=cancel.1 lp.1 lpbanner.1 lpf.1 lpq.1 lpr.1 lprm.1 lpstat.1 monitor.1 pclbanner.1 psbanner.1
! MAN5=lpd.conf.5 lpd.perms.5 printcap.5
! MAN8=checkpc.8 lpc.8 lpd.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"
! #	@${ECHO_MSG} "Configuring with '${CONFIGURE_ARGS}'"
! 	@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
  
  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
! 	@${SED} -e "s!DOCSDIR!${DOCSDIR}/!" ${PKGMESSAGE}
  
  .include <bsd.port.mk>
--- 1,50 ----
  # New ports collection makefile for:	LPRng
! # Date created:		2 Apr 1997
! # Whom:			desmo@bandwidth.org
  #
! # $FreeBSD: ports/sysutils/LPRng/Makefile,v 1.19 2001/10/17 19:14:21 lioux Exp $
  #
  
! PORTNAME=	LPRng
! PORTVERSION=	3.7.6
! CATEGORIES=	sysutils print
  MASTER_SITES=	ftp://ftp.lprng.com/pub/%SUBDIR%/ \
! 		ftp://ftp.astart.com/pub/%SUBDIR%/ \
! 		ftp://ftp.cise.ufl.edu/pub/mirrors/%SUBDIR%/ \
! 		ftp://ftp.cs.umn.edu/pub/%SUBDIR%/ \
! 		ftp://ftp.sage-au.org.au/pub/printing/spooler/lprng/LPRng/ \
! 		ftp://ftp.informatik.uni-hamburg.de/pub/os/unix/utils/%SUBDIR%/ \
! 		ftp://ftp.uni-paderborn.de/pub/unix/printer/%SUBDIR%/
! MASTER_SITE_SUBDIR=	LPRng/LPRng
  EXTRACT_SUFX=	.tgz
  
! MAINTAINER=	desmo@bandwidth.org
  
! LIB_DEPENDS=	gdbm.2:${PORTSDIR}/databases/gdbm
  
  GNU_CONFIGURE=	yes
! CONFIGURE_ARGS= \
! 		--with-sbindir=${PREFIX}/sbin \
! 		--with-filterdir=${PREFIX}/libexec/filters \
! 		--with-lpd_conf_path=${PREFIX}/etc/lpd.conf \
! 		--with-lpd_perms_path=${PREFIX}/etc/lpd.perms \
! 		--with-printcap_path=/etc/printcap \
! 		--enable-gdbm=${LOCALBASE}
! 
! MAN1=		cancel.1 lp.1 lpbanner.1 lpf.1 \
! 		lpq.1 lpr.1 lprm.1 lpstat.1 monitor.1 \
! 		pclbanner.1 psbanner.1
! MAN5=		lpd.conf.5 lpd.perms.5 printcap.5
! MAN8=		checkpc.8 lpc.8 lpd.8
! MANCOMPRESSED=	yes
  
! DOC_FILES=	CHANGES LPRng-HOWTO.* *.jpg LISA98.ppt
  
  post-install:
  	@${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 0555 ${DOCSDIR}
! .for file in ${DOC_FILES}
! 	@${INSTALL_DATA} ${WRKSRC}/HOWTO/${file} ${DOCSDIR}
  .endfor
! 	@${CAT} ${PKGMESSAGE} | ${SED} -e "s|@@PREFIX@@|${PREFIX}|g"
  
  .include <bsd.port.mk>
Only in LPRng: README.html
diff -rc LPRng/distinfo /usr/ports/sysutils/LPRng/distinfo
*** LPRng/distinfo	Wed Dec 26 12:17:09 2001
--- /usr/ports/sysutils/LPRng/distinfo	Tue Nov 27 07:30:49 2001
***************
*** 1 ****
! MD5 (LPRng-3.8.4.tgz) = f38cb82e3e5a55f9f676aab61c2fe91e
--- 1 ----
! MD5 (LPRng-3.7.6.tgz) = 5dbc702b4052f754bfdb310d873de4f2
Only in /usr/ports/sysutils/LPRng: files
Only in LPRng: files-pkg-message
Only in LPRng: pkg-deinstall
diff -rc LPRng/pkg-descr /usr/ports/sysutils/LPRng/pkg-descr
*** LPRng/pkg-descr	Wed Dec 26 12:17:09 2001
--- /usr/ports/sysutils/LPRng/pkg-descr	Mon Jul 30 11:18:38 2001
***************
*** 8,12 ****
  do not need to run SUID root; greatly enhanced security checks; and a
  greatly improved permission and authorization mechanism.
  
! WWW: http://www.lprng.com 
! FTP: ftp://ftp.lprng.com
--- 8,12 ----
  do not need to run SUID root; greatly enhanced security checks; and a
  greatly improved permission and authorization mechanism.
  
! Author: Patrick Powell <papowell@lprng.com>
! WWW: http://www.astart.com/lprng/LPRng.html
Only in LPRng: pkg-install
diff -rc LPRng/pkg-message /usr/ports/sysutils/LPRng/pkg-message
*** LPRng/pkg-message	Wed Dec 26 12:17:09 2001
--- /usr/ports/sysutils/LPRng/pkg-message	Sun Sep 26 18:50:06 1999
***************
*** 1,24 ****
  
! To activate the LPRng printing system do the following:
! 
! - set `lpd_enable=NO' in /etc/rc.conf.
!   The LPRng startup script is in /usr/local/etc/rc.d/lprng.sh
  
  - run checkpc -f to make sure that necessary files have been created
- 
  - reboot or kill the old lpd (`killall lpd') and
!   start the new one (/usr/local/etc/rc.d/lprng.sh start)
! 
! LPRng uses the printcap, lpd.conf, and lpd.perms configuration files
! 
! For further information, see the LPRng Documentation:
!   /usr/share/doc/LPRng
  
! The LPRng Web Site is 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 
!   http://www.astart.com
--- 1,16 ----
  
! To activate the new printing system do the following:
  
+ - save your old printcap (`cp /etc/printcap /etc/printcap.save')
+ - set `lpd_enable=NO' in /etc/rc.conf
  - run checkpc -f to make sure that necessary files have been created
  - reboot or kill the old lpd (`killall lpd') and
!   start the new one (`@@PREFIX@@/sbin/lpd')
! - remember to adjust your aliases or your PATH to use the new programs
  
! Note that LPRng uses /etc/printcap, /etc/lpd.conf, and /etc/lpd.perms
  
! For further information, have a look at:
!   @@PREFIX@@/share/doc/LPRng
! also:
!   WWW: http://www.astart.com/lprng.html
diff -rc LPRng/pkg-plist /usr/ports/sysutils/LPRng/pkg-plist
*** LPRng/pkg-plist	Wed Dec 26 12:17:09 2001
--- /usr/ports/sysutils/LPRng/pkg-plist	Tue Nov 27 07:30:49 2001
***************
*** 1,17 ****
! etc/lpd.perms.sample
! etc/lpd.conf.sample
! etc/printcap.sample
! etc/lprng.sh
  bin/lpq
- bin/lprm
  bin/lpr
  bin/lpstat
! lib/liblpr.la
! lib/liblpr.a
! libexec/filters/lpf
  libexec/filters/lpbanner
  libexec/filters/pclbanner
  libexec/filters/psbanner
  sbin/lpc
  sbin/lpd
! sbin/checkpc
--- 1,31 ----
! bin/cancel
! bin/lp
  bin/lpq
  bin/lpr
+ bin/lprm
  bin/lpstat
! @unexec if [ -f %D/etc/lpd.conf ]; then cmp -s %D/etc/lpd.conf.sample %D/etc/lpd.conf && rm -f %D/etc/lpd.conf || echo "If you are permanently removing this port, you should do a ``rm ${PKG_PREFIX}/etc/lpd.conf`` to remove config files left." | fmt ; fi
! etc/lpd.conf.sample
! @unexec if [ -f %D/etc/lpd.perms ]; then cmp -s %D/etc/lpd.perms.sample %D/etc/lpd.perms && rm -f %D/etc/lpd.perms || echo "If you are permanently removing this port, you should do a ``rm ${PKG_PREFIX}/etc/lpd.perms`` to remove config files left." | fmt ; fi
! etc/lpd.perms.sample
! etc/lprng.sh
! etc/rc.d/lprng.sh
  libexec/filters/lpbanner
+ libexec/filters/lpf
  libexec/filters/pclbanner
  libexec/filters/psbanner
+ sbin/checkpc
  sbin/lpc
  sbin/lpd
! share/doc/LPRng/CHANGES
! share/doc/LPRng/LISA98.ppt
! share/doc/LPRng/LPRng-HOWTO.dsl
! share/doc/LPRng/LPRng-HOWTO.dtd
! share/doc/LPRng/LPRng-HOWTO.html
! share/doc/LPRng/LPRng-HOWTO.pdf
! share/doc/LPRng/LPRng-HOWTO.sgml
! share/doc/LPRng/LPRng.jpg
! share/doc/LPRng/LPRngT-L.jpg
! share/doc/LPRng/LPRngT-S.jpg
! @dirrm libexec/filters
! @dirrm share/doc/LPRng
>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?200112262025.fBQKP5s07196>