From owner-freebsd-ports Tue Nov 24 02:49:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA05320 for freebsd-ports-outgoing; Tue, 24 Nov 1998 02:49:25 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA05309 for ; Tue, 24 Nov 1998 02:49:22 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id CAA06228; Tue, 24 Nov 1998 02:50:00 -0800 (PST) Received: from phmit.demon.co.uk (phmit.demon.co.uk [194.222.15.209]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id CAA04704 for ; Tue, 24 Nov 1998 02:40:57 -0800 (PST) (envelope-from dom@phmit.demon.co.uk) Received: from voodoo.pandhm.co.uk [10.100.35.12] by phmit.demon.co.uk with esmtp (Exim 1.82 #1) id 0ziFuk-0000vt-00; Tue, 24 Nov 1998 10:41:46 +0000 Received: from dom by voodoo.pandhm.co.uk with local (Exim 1.92 #1) for FreeBSD-gnats-submit@freebsd.org id 0ziFtV-0005aN-00; Tue, 24 Nov 1998 10:40:29 +0000 Message-Id: Date: Tue, 24 Nov 1998 10:40:29 +0000 From: Dom Mitchell Reply-To: dom@phmit.demon.co.uk To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: ports/8839: New port of npadmin Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 8839 >Category: ports >Synopsis: New port of npadmin >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Nov 24 02:50:00 PST 1998 >Last-Modified: >Originator: Dominic Mitchell >Organization: Palmer & Harvey McLane Ltd. >Release: FreeBSD 2.2.7-STABLE i386 >Environment: FreeBSD voodoo.pandhm.co.uk 2.2.7-STABLE FreeBSD 2.2.7-STABLE #0: Mon Nov 16 05:09:28 GMT 1998 root@voodoo.pandhm.co.uk:/usr/src/sys/compile/VOODOO i386 HP Network Printers, assorted (& messy). >Description: This port is a tool for remote administration of network printers via SNMP. It's quite handy for obtaining status reports & so on. Note: This port depends on the previous port I submitted, of GNU getopt. However, I'm not sure that I've specified the dependency correctly (or the invocation to say where the getopt port port is installed to npadmin's configure script). In other words, please scrutinize this port closely before committing it. >How-To-Repeat: The usual. >Fix: Here's the port: # 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: # # npadmin # npadmin/Makefile # npadmin/files # npadmin/files/md5 # npadmin/pkg # npadmin/pkg/COMMENT # npadmin/pkg/DESCR # npadmin/pkg/PLIST # npadmin/patches # npadmin/patches/patch-aa # npadmin/patches/patch-ab # echo c - npadmin mkdir -p npadmin > /dev/null 2>&1 echo x - npadmin/Makefile sed 's/^X//' >npadmin/Makefile << 'END-of-npadmin/Makefile' X# New ports collection makefile for: npadmin X# Version required: 0.7 X# Date created: 13 Nov 1998 X# Whom: Dom Mitchell X# X# $Id: Makefile,v 1.3 1998/07/03 23:21:56 steve Exp $ X# X XDISTNAME= npadmin-0.7 XCATEGORIES= print XMASTER_SITES= ftp://ftp.penguincomputing.com/pub/prtools/ X XMAINTAINER= dom@myrddin.demon.co.uk X XBUILD_DEPENDS= ${PREFIX}/lib/getopt.a:${PORTSDIR}/devel/getopt X XALL_TARGET= npadmin X XMAN1= npadmin.1 X XCPPFLAGS+= -I${PREFIX}/include XCXXFLAGS+= -I${PREFIX}/include XLDFLAGS+= -L${PREFIX}/lib XLIBS+= -lgetopt XGNU_CONFIGURE= yes XCONFIGURE_ENV+= CXXFLAGS="${CXXFLAGS}" CPPFLAGS="${CPPFLAGS}" \ X LDFLAGS="${LDFLAGS}" LIBS="${LIBS}" X X.include END-of-npadmin/Makefile echo c - npadmin/files mkdir -p npadmin/files > /dev/null 2>&1 echo x - npadmin/files/md5 sed 's/^X//' >npadmin/files/md5 << 'END-of-npadmin/files/md5' XMD5 (npadmin-0.7.tar.gz) = 9080ad7f93ff93972412f9ed7f6a0226 END-of-npadmin/files/md5 echo c - npadmin/pkg mkdir -p npadmin/pkg > /dev/null 2>&1 echo x - npadmin/pkg/COMMENT sed 's/^X//' >npadmin/pkg/COMMENT << 'END-of-npadmin/pkg/COMMENT' XAn SNMP based command line network printer management tool. END-of-npadmin/pkg/COMMENT echo x - npadmin/pkg/DESCR sed 's/^X//' >npadmin/pkg/DESCR << 'END-of-npadmin/pkg/DESCR' XAn SNMP based command line network printer management tool. END-of-npadmin/pkg/DESCR echo x - npadmin/pkg/PLIST sed 's/^X//' >npadmin/pkg/PLIST << 'END-of-npadmin/pkg/PLIST' Xbin/npadmin END-of-npadmin/pkg/PLIST echo c - npadmin/patches mkdir -p npadmin/patches > /dev/null 2>&1 echo x - npadmin/patches/patch-aa sed 's/^X//' >npadmin/patches/patch-aa << 'END-of-npadmin/patches/patch-aa' X--- Makefile.in.orig Sat Nov 14 00:23:27 1998 X+++ Makefile.in Sat Nov 14 00:23:35 1998 X@@ -20,7 +20,7 @@ X CC = @CC@ X CXX = @CXX@ X X-CXXFLAGS=-g @__needs_excepthand_flag@ X+CXXFLAGS=-g @__needs_excepthand_flag@ @CPPFLAGS@ X SOURCEFILES=ber.C beroid.C berseq.C oidseq.C session.C structfill.C \ X grabrequest.C npadmin.C npahelpers.C printmib.C X END-of-npadmin/patches/patch-aa echo x - npadmin/patches/patch-ab sed 's/^X//' >npadmin/patches/patch-ab << 'END-of-npadmin/patches/patch-ab' X--- ber.C Mon Nov 9 19:08:05 1998 X+++ ber.C.new Sat Nov 14 00:26:33 1998 X@@ -1,3 +1,4 @@ X+#include X #include X #include X #include END-of-npadmin/patches/patch-ab exit >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message