Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Apr 2002 15:49:57 -0400 (EDT)
From:      frank@colemanfamilycamps.com
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        desmo@bandwidth.org
Subject:   ports/37608: Upgraded LPRng port (from 3.7.6 to 3.8.10)
Message-ID:  <200204301949.g3UJnvl28355@ranch.colemancountry.com>

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

>Number:         37608
>Category:       ports
>Synopsis:       port of LPRng version 3.8.10
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 30 12:50:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Frank Dana
>Release:        FreeBSD 4.3-STABLE i386
>Organization:
Coleman Family Camps 
>Environment:
System: FreeBSD ranch.colemancountry.com 4.3-STABLE FreeBSD 4.3-STABLE #1: Wed Nov 28 12:00:47 EST 2001 root@ranch.colemancountry.com:/usr/src/sys/compile/RANCH i386


	
>Description:
	
>How-To-Repeat:
	
>Fix:
Shell archive (shar) of updated port directory structure follows.

# 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:
#
#	ports/sysutils/LPRng/Makefile
#	ports/sysutils/LPRng/distinfo
#	ports/sysutils/LPRng/files
#	ports/sysutils/LPRng/files/patch-ah
#	ports/sysutils/LPRng/files/patch-ai
#	ports/sysutils/LPRng/pkg-comment
#	ports/sysutils/LPRng/pkg-descr
#	ports/sysutils/LPRng/pkg-message
#	ports/sysutils/LPRng/pkg-plist
#
echo x - ports/sysutils/LPRng/Makefile
sed 's/^X//' >ports/sysutils/LPRng/Makefile << 'END-of-ports/sysutils/LPRng/Makefile'
X# New ports collection makefile for:	LPRng
X# Date created:		2 Apr 1997
X# Whom:			desmo@bandwidth.org
X#
X# $FreeBSD: ports/sysutils/LPRng/Makefile,v 1.19 2001/10/17 19:14:21 lioux Exp $
X#
X
XPORTNAME=	LPRng
XPORTVERSION=	3.8.10
XCATEGORIES=	sysutils print
XMASTER_SITES=	ftp://ftp.lprng.com/pub/%SUBDIR%/ \
X		ftp://ftp.astart.com/pub/%SUBDIR%/ \
X		ftp://ftp.cise.ufl.edu/pub/mirrors/%SUBDIR%/ \
X		ftp://ftp.cs.umn.edu/pub/%SUBDIR%/ \
X		ftp://ftp.sage-au.org.au/pub/printing/spooler/lprng/LPRng/ \
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=	desmo@bandwidth.org
X
XLIB_DEPENDS=	gdbm.2:${PORTSDIR}/databases/gdbm
X
XGNU_CONFIGURE=	yes
XCONFIGURE_ARGS= \
X		--with-sbindir=${PREFIX}/sbin \
X		--with-filterdir=${PREFIX}/libexec/filters \
X		--with-lpd_conf_path=${PREFIX}/etc/lpd.conf \
X		--with-lpd_perms_path=${PREFIX}/etc/lpd.perms \
X		--with-printcap_path=/etc/printcap \
X		--enable-gdbm=${LOCALBASE}
X
XMAN1=		cancel.1 lp.1 lpbanner.1 lpf.1 \
X		lpq.1 lpr.1 lprm.1 lpstat.1 monitor.1 \
X		pclbanner.1 psbanner.1
XMAN5=		lpd.conf.5 lpd.perms.5 printcap.5
XMAN8=		checkpc.8 lpc.8 lpd.8
XMANCOMPRESSED=	yes
XINSTALLS_SHLIB= yes
X
XDOC_FILES=	CHANGES LPRng-HOWTO.* *.jpg LISA98.ppt
X
Xpost-install:
X	@${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 0555 ${DOCSDIR}
X.for file in ${DOC_FILES}
X	@${INSTALL_DATA} ${WRKSRC}/HOWTO/${file} ${DOCSDIR}
X.endfor
X	@${CAT} ${PKGMESSAGE} | ${SED} -e "s|@@PREFIX@@|${PREFIX}|g"
X
X.include <bsd.port.mk>
END-of-ports/sysutils/LPRng/Makefile
echo x - ports/sysutils/LPRng/distinfo
sed 's/^X//' >ports/sysutils/LPRng/distinfo << 'END-of-ports/sysutils/LPRng/distinfo'
XMD5 (LPRng-3.8.10.tgz) = 3127e3793b94bd4a403a3809b1d8467b
END-of-ports/sysutils/LPRng/distinfo
echo c - ports/sysutils/LPRng/files
mkdir -p ports/sysutils/LPRng/files > /dev/null 2>&1
echo x - ports/sysutils/LPRng/files/patch-ah
sed 's/^X//' >ports/sysutils/LPRng/files/patch-ah << 'END-of-ports/sysutils/LPRng/files/patch-ah'
X--- src/common/vars.c.orig	Mon Apr  1 12:54:56 2002
X+++ src/common/vars.c	Mon Apr 29 21:21:03 2002
X@@ -62,10 +62,10 @@
X #error Missing REQUIRE_CONFIGFILES definition
X #endif
X #if !defined(FILTER_PATH)
X-#define FILTER_PATH "/bin:/usr/bin:/usr/contrib/bin:/usr/local/bin:/usr/ucb:/usr/sbin:/usr/etc:/etc"
X+#define FILTER_PATH "/bin:/usr/bin:/usr/libexec:/usr/local/libexec:/usr/sbin:/var/spool/bin"
X #endif
X #if !defined(LD_LIBRARY_PATH)
X-#define LD_LIBRARY_PATH "/lib:/usr/lib:/usr/5lib:/usr/ucblib"
X+#define LD_LIBRARY_PATH "/lib:/usr/lib:/usr/local/lib"
X #endif
X #if !defined(LOCKFILE)
X #error Missing LOCKFILE definition
X@@ -262,7 +262,7 @@
X 	/* remote server principal for server to server forwarding */
X { "kerberos_forward_principal", 0, STRING_K, &Kerberos_forward_principal_DYN,0,0,0},
X 	/* keytab file location for kerberos, used by server */
X-{ "kerberos_keytab", 0, STRING_K, &Kerberos_keytab_DYN,0,0,"=/etc/lpd.keytab"},
X+{ "kerberos_keytab", 0, STRING_K, &Kerberos_keytab_DYN,0,0,"=/usr/local/etc/lpd.keytab:/etc/lpd.keytab"},
X 	/* key lifetime for kerberos, used by server */
X { "kerberos_life", 0, STRING_K, &Kerberos_life_DYN,0,0,0},
X 	/* key renewal time for kerberos, used by server */
END-of-ports/sysutils/LPRng/files/patch-ah
echo x - ports/sysutils/LPRng/files/patch-ai
sed 's/^X//' >ports/sysutils/LPRng/files/patch-ai << 'END-of-ports/sysutils/LPRng/files/patch-ai'
X--- man/Makefile.in.orig	Sun Mar 31 22:50:56 2002
X+++ man/Makefile.in	Mon Apr 29 21:19:05 2002
X@@ -18,7 +18,7 @@
X INSTALL=@INSTALL@
X 
X # change MANEXT to .gz or .Z if you use compressed manpages.
X-MANEXT =
X+MANEXT =.gz
X 
X ## fix up prefix to be a make variable
X prefix = @prefix@
X@@ -111,8 +111,11 @@
X 		    ${SRC}/mkinstalldirs $(DESTDIR)$(MAN)/man$${suffix}; \
X 	    fi; \
X 	    for i in *.$$suffix; do \
X-		echo   $(INSTALL) -m 644 $$i $(DESTDIR)$(MAN)/man$$suffix/`basename $$i`$(MANEXT); \
X-		$(INSTALL)   -m 644 $$i $(DESTDIR)$(MAN)/man$$suffix/`basename $$i`$(MANEXT); \
X+		echo $(COMPRESS) $$i ; \
X+		$(COMPRESS) < $$i >_; \
X+		echo $(INSTALL) -m 644 _ $(DESTDIR)$(MAN)/man$$suffix/`basename $$i`$(MANEXT); \
X+		$(INSTALL) -m 644 _ $(DESTDIR)$(MAN)/man$$suffix/`basename $$i`$(MANEXT); \
X+		rm _; \
X 	    done; \
X 	  fi; \
X 	done;
X@@ -126,7 +129,6 @@
X 	    done; \
X 	  fi; \
X 	done;
X-	
X realclean mostlyclean distclean:: clean
X 
X clean::
END-of-ports/sysutils/LPRng/files/patch-ai
echo x - ports/sysutils/LPRng/pkg-comment
sed 's/^X//' >ports/sysutils/LPRng/pkg-comment << 'END-of-ports/sysutils/LPRng/pkg-comment'
XAn Enhanced Printer Spooler
END-of-ports/sysutils/LPRng/pkg-comment
echo x - ports/sysutils/LPRng/pkg-descr
sed 's/^X//' >ports/sysutils/LPRng/pkg-descr << 'END-of-ports/sysutils/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
XAuthor: Patrick Powell <papowell@lprng.com>
XWWW: http://www.astart.com/lprng/LPRng.html
END-of-ports/sysutils/LPRng/pkg-descr
echo x - ports/sysutils/LPRng/pkg-message
sed 's/^X//' >ports/sysutils/LPRng/pkg-message << 'END-of-ports/sysutils/LPRng/pkg-message'
X
XTo activate the new printing system do the following:
X
X- save your old printcap (`cp /etc/printcap /etc/printcap.save')
X- set `lpd_enable=NO' in /etc/rc.conf
X- run checkpc -f to make sure that necessary files have been created
X- reboot or kill the old lpd (`killall lpd') and
X  start the new one (`@@PREFIX@@/sbin/lpd')
X- remember to adjust your aliases or your PATH to use the new programs
X
XNote that LPRng uses /etc/printcap, /etc/lpd.conf, and /etc/lpd.perms
X
XFor further information, have a look at:
X  @@PREFIX@@/share/doc/LPRng
Xalso:
X  WWW: http://www.astart.com/lprng.html
END-of-ports/sysutils/LPRng/pkg-message
echo x - ports/sysutils/LPRng/pkg-plist
sed 's/^X//' >ports/sysutils/LPRng/pkg-plist << 'END-of-ports/sysutils/LPRng/pkg-plist'
Xbin/lpq
Xbin/lprm
Xbin/lpr
Xbin/lpstat
Xbin/lp
Xbin/cancel
X@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
Xetc/lpd.conf.sample
X@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
Xetc/lpd.perms.sample
Xetc/printcap.sample
Xetc/lpd.perms
Xetc/lpd.conf
Xetc/lprng.sh
Xlib/liblpr.so.0
Xlib/liblpr.so
Xlib/liblpr.la
Xlib/liblpr.a
Xlibexec/filters/lpf
Xlibexec/filters/lpbanner
Xlibexec/filters/pclbanner
Xlibexec/filters/psbanner
Xsbin/lpc
Xsbin/lpd
Xsbin/checkpc
Xshare/doc/LPRng/CHANGES
Xshare/doc/LPRng/LPRng-HOWTO.dsl
Xshare/doc/LPRng/LPRng-HOWTO.dtd
Xshare/doc/LPRng/LPRng-HOWTO.html
Xshare/doc/LPRng/LPRng-HOWTO.pdf
Xshare/doc/LPRng/LPRng-HOWTO.sgml
Xshare/doc/LPRng/LPRng.jpg
Xshare/doc/LPRng/LPRngT-L.jpg
Xshare/doc/LPRng/LPRngT-S.jpg
Xshare/doc/LPRng/LISA98.ppt
X@dirrm libexec/filters
X@dirrm share/doc/LPRng
END-of-ports/sysutils/LPRng/pkg-plist
exit

>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?200204301949.g3UJnvl28355>