diff options
author | vs <vs@FreeBSD.org> | 2004-07-13 16:48:27 +0000 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2004-07-13 16:48:27 +0000 |
commit | d714c53df64651c266fe018321d51e05ff318950 (patch) | |
tree | 7784b6a67efb43c7767cb44f96dcd46024d0044e /sysutils/userlist | |
parent | 3adc06ddd14f4bf70a54d15f24f62f1a39be0499 (diff) | |
download | FreeBSD-ports-d714c53df64651c266fe018321d51e05ff318950.zip FreeBSD-ports-d714c53df64651c266fe018321d51e05ff318950.tar.gz |
- MASTER_SITE no longer exists
- Script small enough to inline it into port
Diffstat (limited to 'sysutils/userlist')
-rw-r--r-- | sysutils/userlist/Makefile | 7 | ||||
-rw-r--r-- | sysutils/userlist/distinfo | 2 | ||||
-rw-r--r-- | sysutils/userlist/files/userlist | 6 | ||||
-rw-r--r-- | sysutils/userlist/pkg-descr | 2 |
4 files changed, 9 insertions, 8 deletions
diff --git a/sysutils/userlist/Makefile b/sysutils/userlist/Makefile index 7e11d6c..e2cbf26 100644 --- a/sysutils/userlist/Makefile +++ b/sysutils/userlist/Makefile @@ -8,17 +8,16 @@ PORTNAME= userlist PORTVERSION= 0.1 CATEGORIES= sysutils -MASTER_SITES= http://www.jamiesdomain.org.uk/userlist/${PORTVERSION}/ -MASTER_SITE_SUBDIR= ${PORTVERSION} +MASTER_SITES= # does no longer exist +DISTFILES= # n/a MAINTAINER= ports@FreeBSD.org COMMENT= Prints a list of all usernames in /etc/passwd NO_BUILD= yes PLIST_FILES= bin/userlist -WRKSRC= ${WRKDIR}/${PORTNAME} do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/userlist ${PREFIX}/bin + ${INSTALL_SCRIPT} ${FILESDIR}/userlist ${PREFIX}/bin .include <bsd.port.mk> diff --git a/sysutils/userlist/distinfo b/sysutils/userlist/distinfo deleted file mode 100644 index 6c8f91f..0000000 --- a/sysutils/userlist/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -MD5 (userlist-0.1.tar.gz) = b8600b4199111d0b39fdcea656b87e82 -SIZE (userlist-0.1.tar.gz) = 355 diff --git a/sysutils/userlist/files/userlist b/sysutils/userlist/files/userlist new file mode 100644 index 0000000..b71cc53 --- /dev/null +++ b/sysutils/userlist/files/userlist @@ -0,0 +1,6 @@ +#!/bin/sh +# Lists all users on the system with a UID greater than 100 +# Awk example courtesy of Sendmail Inc. +# Ported to FreeBSD by Jamie Heckford <jamie@jamiesdomain.org.uk> + +awk -F: '$3 > 100 { print $1 }' /etc/passwd diff --git a/sysutils/userlist/pkg-descr b/sysutils/userlist/pkg-descr index 018128e..bd2a08c 100644 --- a/sysutils/userlist/pkg-descr +++ b/sysutils/userlist/pkg-descr @@ -1,7 +1,5 @@ Userlist is a simple awk script that will parse /etc/passwd and print a list of all usernames with a UID greater than 100. -WWW: http://www.jamiesdomain.org.uk/ - - Jamie Heckford jamie@jamiesdomain.org.uk |