Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Mar 2008 16:25:33 -0500
From:      "Zane C.B." <vvelox@vvelox.net>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/121629: New Port: net/netident A port for testing what network a machine is on and creating flags.
Message-ID:  <1205270733.56451@vixen42.vulpes>
Resent-Message-ID: <200803112200.m2BM03q1071726@freefall.freebsd.org>

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

>Number:         121629
>Category:       ports
>Synopsis:       New Port: net/netident   A port for testing what network a machine is on and creating flags.
>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:   Tue Mar 11 22:00:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Zane C.B.
>Release:        FreeBSD 6.3-STABLE i386
>Organization:
>Environment:


System: FreeBSD 6.3-STABLE #1: Mon Jan 28 13:16:42 CST 2008
    kitsune@vixen42.vulpes:/usr/obj/usr/src/sys/SMP



>Description:


Runs a set of tests files and creates flag files in a specified directory.

The current tests are fairly simply, but useful for a portable system.


>How-To-Repeat:


1: Unshar into $ports/net
2:
3: Monkies!


>Fix:


--- net_netident.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:
#
#	netident/
#	netident/Makefile
#	netident/distinfo
#	netident/pkg-descr
#
echo c - netident/
mkdir -p netident/ > /dev/null 2>&1
echo x - netident/Makefile
sed 's/^X//' >netident/Makefile << 'END-of-netident/Makefile'
X# New ports collection makefile for: netident
X# Date created:        11 March 2008
X# Whom:                Zane C. Bowers
X#
X# $FreeBSD$
X#
X
XPORTNAME=	netident
XPORTVERSION=	0.1.0
XCATEGORIES=	sysutils deskutils
XDISTNAME=	${PORTNAME}-${PORTVERSION}.pl
XEXTRACT_SUFX=
XEXTRACT_ONLY=
X
XMAINTAINER=	vvelox@vvelox.net
XCOMMENT=	A tool for helping identify what network a machine is on
X
XRUN_DEPENDS=	${SITE_PERL}/IO/Interface.pm:${PORTSDIR}/net/p5-IO-Interface \
X		${SITE_PERL}/Net/CIDR/Lite.pm:${PORTSDIR}/net/p5-Net-CIDR-Lite
X
XUSE_PERL5_RUN=	yes
X
XNO_WRKSUBDIR=	yes
X
XMASTER_SITES=	http://cpan.org/authors/id/V/VV/VVELOX/
X
XMAN1=		${PORTNAME}.1
X
XPLIST_FILES=	bin/${PORTNAME} \
X		rmdir /var/db/netident \
X		rmdir ${PREFIX}/etc/netident/
X
Xpost-extract:
X	@${CP} -v ${DISTDIR}/${DISTNAME} ${WRKSRC}
X
X#nothing to configure
Xdo-configure:
X	@${ECHO} -n
X
Xdo-build:
X	@${EXEC} pod2man --section=1 --release=${PORTVERSION} --name=${PORTNAME} --center=${PORTNAME}" user guide" ${WRKSRC}/${DISTNAME} ${WRKSRC}/${PORTNAME}.1
X
Xdo-install:
X	@${CP} -v ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/${PORTNAME}
X	@${CP} -v ${WRKSRC}/${PORTNAME}.1 ${PREFIX}/man/man1/${PORTNAME}.1
X	@${CHMOD} +x ${PREFIX}/bin/${PORTNAME}
X	@${MKDIR} /var/db/netident/
X	@${MKDIR} ${PREFIX}/etc/netident/
X
X.include <bsd.port.mk>
END-of-netident/Makefile
echo x - netident/distinfo
sed 's/^X//' >netident/distinfo << 'END-of-netident/distinfo'
XMD5 (netident-0.1.0.pl) = 74f3a2bd9fbda35bf834e2f372b3b98c
XSHA256 (netident-0.1.0.pl) = ffdc5a533ae1d37dce2b5e8e6bc21e93df3f2980578532e6c43d8b8d24dc2088
XSIZE (netident-0.1.0.pl) = 12158
END-of-netident/distinfo
echo x - netident/pkg-descr
sed 's/^X//' >netident/pkg-descr << 'END-of-netident/pkg-descr'
XA tool for helping identify what network a machine is on.
END-of-netident/pkg-descr
exit

--- net_netident.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?1205270733.56451>