- Timestamp:
- 03/07/08 21:10:17 (17 years ago)
- Files:
-
- trunk/fink/main/finkinfo/lprng.info (moved) (moved from trunk/fink/main/finkinfo/macathena-lprng.info) (3 diffs)
- trunk/fink/main/finkinfo/lprng.patch (moved) (moved from trunk/fink/main/finkinfo/macathena-lprng.patch) (1 diff)
- trunk/locker-bin/macathenaDist.py (modified) (1 diff)
- trunk/source/lprng-config (added)
- trunk/source/lprng-config/configure.in (added)
- trunk/source/lprng-config/copyright (added)
- trunk/source/lprng-config/get_hesiod_pcap.in (added)
- trunk/source/lprng-config/lpd.conf.macathena.in (added)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/fink/main/finkinfo/lprng.info
r123 r124 1 Package: macathena-lprng1 Package: lprng 2 2 Version: 3.8.28 3 Revision: 13 Revision: 2 4 4 Source: http://www.lprng.com/DISTRIB/LPRng/LPRng-%v.tgz 5 5 Maintainer: SIPB MacAthena Project <sipb-macathena@mit.edu> … … 13 13 BuildDepends: fink (>= 0.24.12) 14 14 PatchFile: %n.patch 15 PatchFile-MD5: 1 eaa5ded276757cb6491f8791d04490715 PatchFile-MD5: 1861c8f6b59fee58d20581dfbee3bf95 16 16 ConfigureParams: --disable-rpath --disable-setuid --disable-werror --enable-kerberos_checks --enable-kerberos 17 17 InstallScript: << … … 38 38 39 39 mkdir -p %i/etc/lpd/ 40 cp %b/lpd.conf.macathena %i/etc/lpd/lpd.conf 40 cp %b/lpd.conf %i/etc/lpd/lpd.conf 41 cp %b/lpd.perms %i/etc/lpd/lpd.perms 41 42 cp %b/printcap %i/etc/printcap 42 cp %b/get_hesiod_pcap %i/libexec/get_hesiod_pcap 43 44 mkdir -p %i/share 45 mv %i/libexec %i/share/lprng 43 46 44 47 mv %i/man %i/share trunk/fink/main/finkinfo/lprng.patch
r123 r124 286 286 # undef SPT_TYPE 287 287 # define SPT_TYPE SPT_REUSEARGV 288 --- LPRng-3.8.28/get_hesiod_pcap 1969-12-31 19:00:00.000000000 -0500289 +++ LPRng-3.8.28-broder/get_hesiod_pcap 2008-03-07 18:49:42.000000000 -0500290 @@ -0,0 +1,45 @@291 +#!/bin/sh292 +# $Id: get_hesiod_pcap.sh,v 1.3 1999/09/02 14:33:29 ghudson Exp $293 +294 +# Support script used by LPRng to fetch Hesiod printcap entries295 +296 +PATH=$PATH:/sw/bin297 +298 +read printer299 +300 +case "$printer" in301 +all)302 + # If printer is "all", it wants a list of all available printers, the303 + # first of which will be considered the default printer. We can't get304 + # all printers, so just give the default.305 +306 + if [ -z "$PRINTER" ]; then307 + host=`hostname`308 + PRINTER=`hesinfo "$host" cluster 2>/dev/null | \309 + awk '/^lpr / {print $2; exit;}'`310 + if [ -z "$PRINTER" ]; then311 + # We have no default. Let LPRng come up with its own default.312 + exit 0313 + fi314 + fi315 + echo "all:all=$PRINTER"316 + ;;317 +318 +*)319 + # Otherwise just look up the printer it asked for320 + PCAP=`hesinfo "$printer" pcap 2>/dev/null`321 +322 + # If the user has no tickets, and the printer supports, but does323 + # not require, Kerberos authentication, then don't attempt324 + # it. (andersk, following suggestion by jdreed)325 + if ! klist -s 2>/dev/null; then326 + PCAP=`echo "$PCAP" | sed '/ka#0/ s/:auth=kerberos5//g'`327 + fi328 +329 + PCAP=`echo $PCAP | sed s/:auth=none//g`330 +331 + echo "$PCAP"332 + ;;333 +esac334 +335 +exit 0336 --- LPRng-3.8.28/lpd.conf.macathena 1969-12-31 19:00:00.000000000 -0500337 +++ LPRng-3.8.28-broder/lpd.conf.macathena 2008-03-07 18:49:04.000000000 -0500338 @@ -0,0 +1,10 @@339 +# Debian-Athena lprng configuration340 +force_localhost@341 +kerberos_service=daemon342 +pass_env=KRB5CCNAME343 +#printcap_path=/etc/printcap:|/usr/lib/get_hesiod_pcap344 +printcap_path=|/usr/local/lprng/libexec/get_hesiod_pcap345 +#printcap_path=|/usr/local/lprng/libexec/test_pcap346 +reuse_addr347 +use_date@348 +retry_econnrefused@349 288 --- LPRng-3.8.28/src/common/lpc.c 2008-03-07 19:44:31.000000000 -0500 350 289 +++ LPRng-3.8.28-broder/src/common/lpc.c 2008-03-07 19:44:18.000000000 -0500 trunk/locker-bin/macathenaDist.py
r120 r124 127 127 'config-common': ['trunk/source/config-common', False, 'https://macathena.mit.edu/svn'], 128 128 'hes': ['trunk/source/hes', False, 'https://macathena.mit.edu/svn'], 129 'lprng-config': ['trunk/source/lprng-config', False, 'https://macathena.mit.edu/svn'], 129 130 'pyhesiodfs': ['trunk/source/pyhesiodfs', False, 'https://macathena.mit.edu/svn'], 130 131 'update': ['trunk/source/update', False, 'https://macathena.mit.edu/svn'],