Index: trunk/fink/main/finkinfo/lprng.patch =================================================================== --- trunk/fink/main/finkinfo/macathena-lprng.patch (revision 123) +++ trunk/fink/main/finkinfo/lprng.patch (revision 124) @@ -286,65 +286,4 @@ # undef SPT_TYPE # define SPT_TYPE SPT_REUSEARGV ---- LPRng-3.8.28/get_hesiod_pcap 1969-12-31 19:00:00.000000000 -0500 -+++ LPRng-3.8.28-broder/get_hesiod_pcap 2008-03-07 18:49:42.000000000 -0500 -@@ -0,0 +1,45 @@ -+#!/bin/sh -+# $Id: get_hesiod_pcap.sh,v 1.3 1999/09/02 14:33:29 ghudson Exp $ -+ -+# Support script used by LPRng to fetch Hesiod printcap entries -+ -+PATH=$PATH:/sw/bin -+ -+read printer -+ -+case "$printer" in -+all) -+ # If printer is "all", it wants a list of all available printers, the -+ # first of which will be considered the default printer. We can't get -+ # all printers, so just give the default. -+ -+ if [ -z "$PRINTER" ]; then -+ host=`hostname` -+ PRINTER=`hesinfo "$host" cluster 2>/dev/null | \ -+ awk '/^lpr / {print $2; exit;}'` -+ if [ -z "$PRINTER" ]; then -+ # We have no default. Let LPRng come up with its own default. -+ exit 0 -+ fi -+ fi -+ echo "all:all=$PRINTER" -+ ;; -+ -+*) -+ # Otherwise just look up the printer it asked for -+ PCAP=`hesinfo "$printer" pcap 2>/dev/null` -+ -+ # If the user has no tickets, and the printer supports, but does -+ # not require, Kerberos authentication, then don't attempt -+ # it. (andersk, following suggestion by jdreed) -+ if ! klist -s 2>/dev/null; then -+ PCAP=`echo "$PCAP" | sed '/ka#0/ s/:auth=kerberos5//g'` -+ fi -+ -+ PCAP=`echo $PCAP | sed s/:auth=none//g` -+ -+ echo "$PCAP" -+ ;; -+esac -+ -+exit 0 ---- LPRng-3.8.28/lpd.conf.macathena 1969-12-31 19:00:00.000000000 -0500 -+++ LPRng-3.8.28-broder/lpd.conf.macathena 2008-03-07 18:49:04.000000000 -0500 -@@ -0,0 +1,10 @@ -+# Debian-Athena lprng configuration -+force_localhost@ -+kerberos_service=daemon -+pass_env=KRB5CCNAME -+#printcap_path=/etc/printcap:|/usr/lib/get_hesiod_pcap -+printcap_path=|/usr/local/lprng/libexec/get_hesiod_pcap -+#printcap_path=|/usr/local/lprng/libexec/test_pcap -+reuse_addr -+use_date@ -+retry_econnrefused@ --- LPRng-3.8.28/src/common/lpc.c 2008-03-07 19:44:31.000000000 -0500 +++ LPRng-3.8.28-broder/src/common/lpc.c 2008-03-07 19:44:18.000000000 -0500