mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
- MASTER_SITE no longer exists
- Script small enough to inline it into port
This commit is contained in:
parent
d429145377
commit
b4a1e658d2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=113574
@ -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>
|
||||
|
@ -1,2 +0,0 @@
|
||||
MD5 (userlist-0.1.tar.gz) = b8600b4199111d0b39fdcea656b87e82
|
||||
SIZE (userlist-0.1.tar.gz) = 355
|
6
sysutils/userlist/files/userlist
Normal file
6
sysutils/userlist/files/userlist
Normal file
@ -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
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user