From: franklahm Date: Fri, 18 Dec 2009 13:01:15 +0000 (+0000) Subject: Removed nu. Use macusers instead X-Git-Tag: branch-symlink-start~24 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=netatalk.git;a=commitdiff_plain;h=11660927831420fe03020ffe5a8e2ffe7d12c396 Removed nu. Use macusers instead --- diff --git a/NEWS b/NEWS index 25671df7..37cf2e69 100644 --- a/NEWS +++ b/NEWS @@ -40,7 +40,8 @@ Changes in 2.1-beta1 find the right one. Note: now a misconfigured or plugged router can broadcast a wrong route ! * REM: cnid_maint: use dbd [FIXME: s/dbd/INSERT NAME HERE/] - *REM: cleanappledouble.pl: use dbd [FIXME: s/dbd/INSERT NAME HERE/] +* REM: cleanappledouble.pl: use dbd [FIXME: s/dbd/INSERT NAME HERE/] +* REM: nu: use `macusers` instead Changes in 2.0.5 ================ diff --git a/configure.in b/configure.in index 825e7636..0645aa88 100644 --- a/configure.in +++ b/configure.in @@ -1,4 +1,4 @@ -dnl $Id: configure.in,v 1.233 2009-11-27 21:15:48 franklahm Exp $ +dnl $Id: configure.in,v 1.234 2009-12-18 13:01:15 franklahm Exp $ dnl configure.in for netatalk AC_INIT(etc/afpd/main.c) @@ -1210,8 +1210,6 @@ AC_OUTPUT([Makefile contrib/Makefile contrib/macusers/Makefile contrib/macusers/macusers - contrib/nu/Makefile - contrib/nu/nu contrib/printing/Makefile contrib/shell_utils/Makefile contrib/shell_utils/afpd-mtab.pl diff --git a/contrib/Makefile.am b/contrib/Makefile.am index 633257c3..ae0ea4f0 100644 --- a/contrib/Makefile.am +++ b/contrib/Makefile.am @@ -12,6 +12,6 @@ else A2BOOT = endif -SUBDIRS = macusers nu printing shell_utils ${TIMELORD} ${A2BOOT} +SUBDIRS = macusers printing shell_utils ${TIMELORD} ${A2BOOT} EXTRA_DIST = ICDumpSuffixMap diff --git a/contrib/nu/.cvsignore b/contrib/nu/.cvsignore deleted file mode 100644 index 0a72b1e5..00000000 --- a/contrib/nu/.cvsignore +++ /dev/null @@ -1,3 +0,0 @@ -Makefile -Makefile.in -nu diff --git a/contrib/nu/Makefile.am b/contrib/nu/Makefile.am deleted file mode 100644 index 3956ae4a..00000000 --- a/contrib/nu/Makefile.am +++ /dev/null @@ -1,5 +0,0 @@ -# Makefile.am for contrib/nu - -bin_SCRIPTS = nu - -EXTRA_DIST = nu.in diff --git a/contrib/nu/nu.in b/contrib/nu/nu.in deleted file mode 100755 index 3755fe3e..00000000 --- a/contrib/nu/nu.in +++ /dev/null @@ -1,28 +0,0 @@ -#!@PERL@ -# -# $Id: nu.in,v 1.1 2002-01-17 05:59:25 srittau Exp $ -# -# nu - by Anders Brownworth anders@thehamptons.com -# modified by Ambrose Li -# -# shows netatalk users logged on -# -# usage: nu - -open(USERS, "-|") || exec("/bin/ps", "anucx"); - -while () { - push(@users, $1) if /^\s*(\d+)\s.*\bafpd\b/; -} - -close USERS; - -print "Netatalk users:\n---------------\n"; - -foreach $user (@users) -{ - if ($user) { # not root - ($name,$_,$_,$_,$_,$_,$gcos) = getpwuid($user); - print(defined $gcos && $gcos =~ /^([^,]+)/? $1: $name, "\n"); - } -}