From owner-freebsd-ports Tue May 8 9:30: 8 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 0C6C137B423 for ; Tue, 8 May 2001 09:30:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f48GU2b65587; Tue, 8 May 2001 09:30:02 -0700 (PDT) (envelope-from gnats) Received: from rafiu.psi-domain.co.uk (rafiu.psi-domain.co.uk [212.87.84.199]) by hub.freebsd.org (Postfix) with ESMTP id ED34137B423 for ; Tue, 8 May 2001 09:23:29 -0700 (PDT) (envelope-from jamie@psi-domain.co.uk) Received: by rafiu.psi-domain.co.uk (Postfix, from userid 1001) id 1710A402EC6; Tue, 8 May 2001 17:18:57 +0100 (BST) Message-Id: <20010508161857.1710A402EC6@rafiu.psi-domain.co.uk> Date: Tue, 8 May 2001 17:18:57 +0100 (BST) From: jamie@jamiesdomain.org.uk Reply-To: jamie@jamiesdomain.org.uk To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/27207: New Port: sysutils/userlist Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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 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 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