Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Aug 1998 11:01:05 -0700 (PDT)
From:      bmah@ca.sandia.gov
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/7777: New port:  pkg_version-0.1
Message-ID:  <199808291801.LAA07138@vinson.ca.sandia.gov>

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

>Number:         7777
>Category:       ports
>Synopsis:       New port:  pkg_version-0.1
>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:   Sat Aug 29 11:10:01 PDT 1998
>Last-Modified:
>Originator:     Bruce A. Mah
>Organization:
Sandia National Laboratories
>Release:        FreeBSD 2.2.7-RELEASE i386
>Environment:

	

>Description:

Here's a shar for pkg_version, a new package version-checking utility.
It's an update of a Perl5 script I posted to -hackers last month.

>How-To-Repeat:

	

>Fix:
	
# 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:
#
#	pkg_version-0.1
#	pkg_version-0.1/pkg
#	pkg_version-0.1/pkg/COMMENT
#	pkg_version-0.1/pkg/DESCR
#	pkg_version-0.1/pkg/PLIST
#	pkg_version-0.1/Makefile
#	pkg_version-0.1/files
#	pkg_version-0.1/files/md5
#
echo c - pkg_version-0.1
mkdir -p pkg_version-0.1 > /dev/null 2>&1
echo c - pkg_version-0.1/pkg
mkdir -p pkg_version-0.1/pkg > /dev/null 2>&1
echo x - pkg_version-0.1/pkg/COMMENT
sed 's/^X//' >pkg_version-0.1/pkg/COMMENT << 'END-of-pkg_version-0.1/pkg/COMMENT'
XProduces a report on the version numbers of installed FreeBSD packages.
END-of-pkg_version-0.1/pkg/COMMENT
echo x - pkg_version-0.1/pkg/DESCR
sed 's/^X//' >pkg_version-0.1/pkg/DESCR << 'END-of-pkg_version-0.1/pkg/DESCR'
Xpkg_version a report on installed FreeBSD packages, and compares their
Xinstalled versions against an index file, either in the local filesystem
Xor retrieved from one of the FreeBSD FTP mirrors.
END-of-pkg_version-0.1/pkg/DESCR
echo x - pkg_version-0.1/pkg/PLIST
sed 's/^X//' >pkg_version-0.1/pkg/PLIST << 'END-of-pkg_version-0.1/pkg/PLIST'
Xbin/pkg_version
END-of-pkg_version-0.1/pkg/PLIST
echo x - pkg_version-0.1/Makefile
sed 's/^X//' >pkg_version-0.1/Makefile << 'END-of-pkg_version-0.1/Makefile'
X# New ports collection makefile for:	pkg_version
X# Version required:     0.1
X# Date created:		2 May 1998
X# Whom:			Bruce A. Mah <bmah@ca.sandia.gov>
X#
X# $Id$
X#
X
XDISTNAME=       pkg_version-0.1
XCATEGORIES=	sysutils
XMASTER_SITES=   http://www.ca.sandia.gov/~bmah/Software/pkg_version/
X
XMAINTAINER=	bmah@ca.sandia.gov
X
XUSE_PERL5=	YES
X
XMAN1=		pkg_version.1
X
XNO_BUILD=	YES
X
Xdo-install:
X	${INSTALL_SCRIPT} ${WRKDIR}/${DISTNAME}/pkg_version ${PREFIX}/bin
X	${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/pkg_version.1 ${MAN1PREFIX}/man/man1
X
X.include <bsd.port.mk>
END-of-pkg_version-0.1/Makefile
echo c - pkg_version-0.1/files
mkdir -p pkg_version-0.1/files > /dev/null 2>&1
echo x - pkg_version-0.1/files/md5
sed 's/^X//' >pkg_version-0.1/files/md5 << 'END-of-pkg_version-0.1/files/md5'
XMD5 (pkg_version-0.1.tar.gz) = 789d6fd21ee74afcb2aa14075a5b85ca
END-of-pkg_version-0.1/files/md5
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?199808291801.LAA07138>