aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/LPRng
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>1997-06-18 16:36:41 +0800
committertg <tg@FreeBSD.org>1997-06-18 16:36:41 +0800
commit863d3791e038da9fc8d13c9c20daf0b349d3abc0 (patch)
treebc7911f519542743f513db236facdc09d8a18e5a /sysutils/LPRng
parenta3ecd5e0592fa58ecb481569404eadd14cd50143 (diff)
downloadfreebsd-ports-gnome-863d3791e038da9fc8d13c9c20daf0b349d3abc0.tar.gz
freebsd-ports-gnome-863d3791e038da9fc8d13c9c20daf0b349d3abc0.tar.zst
freebsd-ports-gnome-863d3791e038da9fc8d13c9c20daf0b349d3abc0.zip
Long threatened import of LPRng port.
PR: 3185 Submitted by: Kenneth J. Monville <desmo@bandwidth.org>
Diffstat (limited to 'sysutils/LPRng')
-rw-r--r--sysutils/LPRng/Makefile61
-rw-r--r--sysutils/LPRng/distinfo1
-rw-r--r--sysutils/LPRng/pkg-comment1
-rw-r--r--sysutils/LPRng/pkg-descr9
-rw-r--r--sysutils/LPRng/pkg-message17
-rw-r--r--sysutils/LPRng/pkg-plist59
6 files changed, 148 insertions, 0 deletions
diff --git a/sysutils/LPRng/Makefile b/sysutils/LPRng/Makefile
new file mode 100644
index 000000000000..8934d6dfc866
--- /dev/null
+++ b/sysutils/LPRng/Makefile
@@ -0,0 +1,61 @@
+# New ports collection makefile for: LPRng
+# Version required: 3.2.3
+# Date created: 2 Apr 1997
+# Whom: desmo@bandwidth.org
+#
+# $Id$
+#
+
+DISTNAME= LPRng-3.2.3
+CATEGORIES= sysutils print
+MASTER_SITES= ftp://dickory.sdsu.edu/pub/LPRng/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= desmo@bandwidth.org
+
+MAKEFILE= Makefile.bsd
+GNU_CONFIGURE= yes
+
+post-patch:
+ @mv ${WRKSRC}/src/common/default.c ${WRKSRC}/src/common/default.c.tmp
+ @${SED} -e "s|@@PREFIX@@|${PREFIX}|g" \
+ <${WRKSRC}/src/common/default.c.tmp >${WRKSRC}/src/common/default.c
+
+pre-build:
+ (cd ${WRKSRC}/po ; ln -s Makefile ${MAKEFILE})
+
+post-install:
+ (cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} default)
+ ${LDCONFIG} -m ${PREFIX}/lib
+ ${INSTALL} -d -g bin -o bin -m 0555 ${PREFIX}/share/doc/LPRng
+ (cd ${WRKSRC} ; ${INSTALL_DATA} \
+ README \
+ README.1st \
+ README.LPRng_to_lpr_spooling \
+ README.accounting \
+ README.authentication \
+ README.banner \
+ README.bouncequeues \
+ README.deskjet \
+ README.install \
+ README.kerberos_authentication \
+ README.logger \
+ README.lp_Malformed_from_address \
+ README.lp_emulation \
+ README.lpd.conf \
+ README.lpd.perms \
+ README.nis \
+ README.pgp_authentication \
+ README.ports \
+ README.printcap \
+ README.routing \
+ README.solaris \
+ README.solaris.newsprint \
+ README.statusdisplays \
+ ${PREFIX}/share/doc/LPRng )
+ @cat ${FILESDIR}/lprng.sh | \
+ ${SED} -e "s|@@PREFIX@@|${PREFIX}|g" > ${PREFIX}/etc/rc.d/lprng.sh
+ @chmod +x ${PREFIX}/etc/rc.d/lprng.sh
+ @cat ${PKGDIR}/MESSAGE
+
+.include <bsd.port.mk>
diff --git a/sysutils/LPRng/distinfo b/sysutils/LPRng/distinfo
new file mode 100644
index 000000000000..10c4e425e326
--- /dev/null
+++ b/sysutils/LPRng/distinfo
@@ -0,0 +1 @@
+MD5 (LPRng-3.2.3.tgz) = 17e55cbea91c3dbca274e87932dd1bd5
diff --git a/sysutils/LPRng/pkg-comment b/sysutils/LPRng/pkg-comment
new file mode 100644
index 000000000000..c00f672f24fa
--- /dev/null
+++ b/sysutils/LPRng/pkg-comment
@@ -0,0 +1 @@
+An Enhanced Printer Spooler
diff --git a/sysutils/LPRng/pkg-descr b/sysutils/LPRng/pkg-descr
new file mode 100644
index 000000000000..9f47015462b8
--- /dev/null
+++ b/sysutils/LPRng/pkg-descr
@@ -0,0 +1,9 @@
+The LPRng software is an enhanced, extended, and portable implementation
+of the Berkeley LPR print spooler functionality. While providing the
+same interface and meeting RFC1179 requirements, the implementation is
+completely new and provides support for the following features:
+lightweight (no databases needed) lpr, lpc, and lprm programs; dynamic
+redirection of print queues; automatic job holding; highly verbose
+diagnostics; multiple printers serving a single queue; client programs
+do not need to run SUID root; greatly enhanced security checks; and a
+greatly improved permission and authorization mechanism.
diff --git a/sysutils/LPRng/pkg-message b/sysutils/LPRng/pkg-message
new file mode 100644
index 000000000000..02097af67482
--- /dev/null
+++ b/sysutils/LPRng/pkg-message
@@ -0,0 +1,17 @@
+
+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
+- reboot or kill the old lpd (`killall lpd') and
+ start the new one (`/usr/local/libexec/lpd')
+- remember to adjust your aliases or your PATH to use the new programs
+
+Note that LPRng searches /usr/local/etc before /etc for
+its configuration files.
+
+For further information, have a look at:
+ /usr/local/share/doc/LPRng
+also:
+ http://dickory.sdsu.edu/lprng.html
+
diff --git a/sysutils/LPRng/pkg-plist b/sysutils/LPRng/pkg-plist
new file mode 100644
index 000000000000..666227dbc184
--- /dev/null
+++ b/sysutils/LPRng/pkg-plist
@@ -0,0 +1,59 @@
+bin/lpq
+bin/lprm
+bin/lpr
+bin/lpc
+bin/checkpc
+bin/lpraccnt
+etc/lpd.perms
+etc/lpd.conf
+etc/rc.d/lprng.sh
+libexec/lpd
+libexec/lpf
+libexec/lpbanner
+libexec/readfilecount
+libexec/removeoneline
+libexec/authenticate_pgp
+libexec/setupauth
+lib/liblpr.a
+lib/liblpr.so.3.21
+man/man1/cancel.1.gz
+man/man1/lp.1.gz
+man/man1/lpbanner.1.gz
+man/man1/lpc.1.gz
+man/man1/lpf.1.gz
+man/man1/lpq.1.gz
+man/man1/lpr.1.gz
+man/man1/lpraccnt.1.gz
+man/man1/lprm.1.gz
+man/man1/lpstat.1.gz
+man/man1/monitor.1.gz
+man/man1/readfilecount.1.gz
+man/man5/lpd.conf.5.gz
+man/man5/lpd.perms.5.gz
+man/man5/printcap.5.gz
+man/man8/checkpc.8.gz
+man/man8/lpd.8.gz
+share/doc/LPRng/README
+share/doc/LPRng/README.1st
+share/doc/LPRng/README.LPRng_to_lpr_spooling
+share/doc/LPRng/README.accounting
+share/doc/LPRng/README.authentication
+share/doc/LPRng/README.banner
+share/doc/LPRng/README.bouncequeues
+share/doc/LPRng/README.deskjet
+share/doc/LPRng/README.install
+share/doc/LPRng/README.kerberos_authentication
+share/doc/LPRng/README.logger
+share/doc/LPRng/README.lp_Malformed_from_address
+share/doc/LPRng/README.lp_emulation
+share/doc/LPRng/README.lpd.conf
+share/doc/LPRng/README.lpd.perms
+share/doc/LPRng/README.nis
+share/doc/LPRng/README.pgp_authentication
+share/doc/LPRng/README.ports
+share/doc/LPRng/README.printcap
+share/doc/LPRng/README.routing
+share/doc/LPRng/README.solaris
+share/doc/LPRng/README.solaris.newsprint
+share/doc/LPRng/README.statusdisplays
+@dirrm share/doc/LPRng