Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Nov 1998 10:40:29 +0000
From:      Dom Mitchell <dom@phmit.demon.co.uk>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/8839: New port of npadmin
Message-ID:  <E0ziFtV-0005aN-00@voodoo.pandhm.co.uk>

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

>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 <dom@myrddin.demon.co.uk>
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 <bsd.port.mk>
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 <sys/types.h>
X #include <stdlib.h>
X #include <stdio.h>
X #include <string.h>
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E0ziFtV-0005aN-00>