Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Aug 2003 20:45:51 +1000 (EST)
From:      Andrew McNaughton <andrew@scoop.co.nz>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        andrew@scoop.co.nz
Subject:   ports/55577: New port: p5-Net-Printer
Message-ID:  <200308141045.h7EAjpkG068861@weka.zoo.tapsentertainment.com>
Resent-Message-ID: <200308141050.h7EAoFkd035169@freefall.freebsd.org>

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

>Number:         55577
>Category:       ports
>Synopsis:       New port: p5-Net-Printer
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 14 03:50:14 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Andrew McNaughton
>Release:        FreeBSD 4.8-RELEASE-p3 i386
>Organization:
>Environment:
System: FreeBSD weka.tapsentertainment.com 4.8-RELEASE-p3 FreeBSD 4.8-RELEASE-p3 #1: Mon Aug 11 23:02:55 EST 2003 andrew@weka.tapsentertainment.com:/usr/obj/usr/src/sys/weka i386


>Description:
Net::Printer
============

Perl module for directly printing to a print server/printer without
having to create a pipe to either lpr or lp.  This essentially mimics
what the BSD LPR program does by connecting directly to the line
printer printer port (almost always 515), and transmitting the data
and control information to the print server.

Please note that this module only communicates with the BSD Line
Printer Daemon Protocol as described in RFC-1179.  It does not
natively speak to remote print servers via SMB, Apple-Talk or
Netware.  Remote print services running lpsched, such as Sun Solaris
or other Sys V-derived operating systems, will work so long as the
print spoolers are set up to understand the BSD protocol.  Most modern
network-capable laser printers, such as those manufactured by HP and
LexMark, also "speak" BSD.

>How-To-Repeat:
>Fix:

--- p5-Net-Printer.shar begins here ---
# 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:
#
#	p5-Net-Printer
#	p5-Net-Printer/Makefile
#	p5-Net-Printer/pkg-plist
#	p5-Net-Printer/distinfo
#	p5-Net-Printer/pkg-descr
#
echo c - p5-Net-Printer
mkdir -p p5-Net-Printer > /dev/null 2>&1
echo x - p5-Net-Printer/Makefile
sed 's/^X//' >p5-Net-Printer/Makefile << 'END-of-p5-Net-Printer/Makefile'
X# New ports collection makefile for:	p5-Net-Printer
X# Date created:		14 August 2003
X# Whom:	      		andrew@scoop.co.nz
X#
X# $FreeBSD:  $
X#
X
XPORTNAME=	Net-Printer
XPORTVERSION=	0.32
XCATEGORIES=	print perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	Net
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	andrew@scoop.co.nz
XCOMMENT=	Perl extension for direct-to-lpd printing
X
XPERL_CONFIGURE=	yes
X
XMAN3=		Net::Printer.3
X
X.include <bsd.port.mk>
END-of-p5-Net-Printer/Makefile
echo x - p5-Net-Printer/pkg-plist
sed 's/^X//' >p5-Net-Printer/pkg-plist << 'END-of-p5-Net-Printer/pkg-plist'
X%%SITE_PERL%%/Net/Printer.pm
X%%SITE_PERL%%/auto/Net/Printer/autosplit.ix
X
END-of-p5-Net-Printer/pkg-plist
echo x - p5-Net-Printer/distinfo
sed 's/^X//' >p5-Net-Printer/distinfo << 'END-of-p5-Net-Printer/distinfo'
XMD5 (Net-Printer-0.32.tar.gz) = 386eb09b1a1b1defe20cc5cd39405ecc
END-of-p5-Net-Printer/distinfo
echo x - p5-Net-Printer/pkg-descr
sed 's/^X//' >p5-Net-Printer/pkg-descr << 'END-of-p5-Net-Printer/pkg-descr'
XNet::Printer
X============
X
XPerl module for directly printing to a print server/printer without
Xhaving to create a pipe to either lpr or lp.  This essentially mimics
Xwhat the BSD LPR program does by connecting directly to the line
Xprinter printer port (almost always 515), and transmitting the data
Xand control information to the print server.
X
XPlease note that this module only communicates with the BSD Line
XPrinter Daemon Protocol as described in RFC-1179.  It does not
Xnatively speak to remote print servers via SMB, Apple-Talk or
XNetware.  Remote print services running lpsched, such as Sun Solaris
Xor other Sys V-derived operating systems, will work so long as the
Xprint spoolers are set up to understand the BSD protocol.  Most modern
Xnetwork-capable laser printers, such as those manufactured by HP and
XLexMark, also "speak" BSD.
END-of-p5-Net-Printer/pkg-descr
exit
--- p5-Net-Printer.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308141045.h7EAjpkG068861>