Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  8 May 2001 17:18:57 +0100 (BST)
From:      jamie@jamiesdomain.org.uk
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/27207: New Port: sysutils/userlist 
Message-ID:  <20010508161857.1710A402EC6@rafiu.psi-domain.co.uk>

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

>Number:         27207
>Category:       ports
>Synopsis:       New Port: sysutils/userlist
>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 May 08 09:30:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Jamie Heckford
>Release:        FreeBSD 4.2-STABLE i386
>Organization:
>Environment:

	

>Description:

Userlist is a simple awk script that will parse /etc/passwd
and print a list of all usernames with a UID greater than 100.

>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:
#
#       userlist
#       userlist/Makefile
#       userlist/distinfo
#       userlist/pkg-comment
#       userlist/pkg-descr
#       userlist/pkg-plist
#
echo c - userlist
mkdir -p userlist > /dev/null 2>&1
echo x - userlist/Makefile
sed 's/^X//' >userlist/Makefile << 'END-of-userlist/Makefile'
X# New ports collection makefile for:   userlist
X# Date created:                                8 May 2001
X# Whom:                                        Jamie Heckford <jamie@jamiesdomain.co.uk>
X#
X# $FreeBSD$
X#
X
XPORTNAME=              userlist
XPORTVERSION=           0.1
XCATEGORIES=            sysutils
XMASTER_SITES=          http://www.jamiesdomain.org.uk/userlist/${PORTVERSION}/
XMASTER_SITE_SUBDIR=    ${PORTVERSION}
X
XMAINTAINER=            jamie@jamiesdomain.org.uk
X
XNO_BUILD=              yes
XWRKSRC=                        ${WRKDIR}/userlist
X
Xdo-install:
X       ${INSTALL_SCRIPT} ${WRKSRC}/userlist ${PREFIX}/bin/userlist
X
X.include <bsd.port.mk>
END-of-userlist/Makefile
echo x - userlist/distinfo
sed 's/^X//' >userlist/distinfo << 'END-of-userlist/distinfo'
XMD5 (userlist-0.1.tar.gz) = b8600b4199111d0b39fdcea656b87e82
END-of-userlist/distinfo
echo x - userlist/pkg-comment
sed 's/^X//' >userlist/pkg-comment << 'END-of-userlist/pkg-comment'
XPrints a list of all usernames in /etc/passwd
END-of-userlist/pkg-comment
echo x - userlist/pkg-descr
sed 's/^X//' >userlist/pkg-descr << 'END-of-userlist/pkg-descr'
XUserlist is a simple awk script that will parse /etc/passwd
Xand print a list of all usernames with a UID greater than 100.
X
XWWW: http://www.jamiesdomain.org.uk/
X
X- Jamie Heckford
Xjamie@jamiesdomain.org.uk
END-of-userlist/pkg-descr
echo x - userlist/pkg-plist
sed 's/^X//' >userlist/pkg-plist << 'END-of-userlist/pkg-plist'
Xbin/userlist
END-of-userlist/pkg-plist
exit


>Release-Note:
>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?20010508161857.1710A402EC6>