aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/idled
diff options
context:
space:
mode:
authorjfitz <jfitz@FreeBSD.org>1997-03-24 01:33:50 +0800
committerjfitz <jfitz@FreeBSD.org>1997-03-24 01:33:50 +0800
commit9681de3b83474e5f7f24f9bbd3f33d7468f1bbd0 (patch)
tree21c59f2f5fa893072dbf037fbbf2656f9a5917f3 /sysutils/idled
parent8616788942e827b07791e02310b115c0358f305f (diff)
downloadfreebsd-ports-gnome-9681de3b83474e5f7f24f9bbd3f33d7468f1bbd0.tar.gz
freebsd-ports-gnome-9681de3b83474e5f7f24f9bbd3f33d7468f1bbd0.tar.zst
freebsd-ports-gnome-9681de3b83474e5f7f24f9bbd3f33d7468f1bbd0.zip
Import of idled, a daemon for logging off idle users.
Reviewed by: James FitzGibbon <jfitz@FreeBSD.ORG> Submitted by: Andrew <andrew@mopsy.hobart.tased.edu.au>
Diffstat (limited to 'sysutils/idled')
-rw-r--r--sysutils/idled/Makefile24
-rw-r--r--sysutils/idled/distinfo1
-rw-r--r--sysutils/idled/files/patch-aa112
-rw-r--r--sysutils/idled/pkg-comment1
-rw-r--r--sysutils/idled/pkg-descr4
-rw-r--r--sysutils/idled/pkg-message38
-rw-r--r--sysutils/idled/pkg-plist4
7 files changed, 184 insertions, 0 deletions
diff --git a/sysutils/idled/Makefile b/sysutils/idled/Makefile
new file mode 100644
index 000000000000..51d2f96bc689
--- /dev/null
+++ b/sysutils/idled/Makefile
@@ -0,0 +1,24 @@
+# New ports collection makefile for: idled
+# Version required: 1.16
+# Date created: 12 March 1997
+# Whom: Andrew <andrew@ugh.net.au>, Iain Templeton <iain@ugh.net.au>
+
+DISTNAME= idled-1.16
+CATEGORIES= sysutils
+MASTER_SITES= ftp://ftp.cs.hope.edu/pub/idled/
+
+NO_CDROM= non-profit use and distribution only
+NOMANCOMPRESS= compressed already
+
+MAINTAINER= andrew@ugh.net.au, iain@ugh.net.au
+
+MAN5= idled.cf.5
+MAN8= idled.8
+
+post-extract:
+ (cd ${WRKSRC}; make clean)
+
+post-install:
+ strip ${PREFIX}/libexec/idled
+
+.include <bsd.port.mk>
diff --git a/sysutils/idled/distinfo b/sysutils/idled/distinfo
new file mode 100644
index 000000000000..348e54742417
--- /dev/null
+++ b/sysutils/idled/distinfo
@@ -0,0 +1 @@
+MD5 (idled-1.16.tar.gz) = a633e9484acb904e1bf0ed43b8383033
diff --git a/sysutils/idled/files/patch-aa b/sysutils/idled/files/patch-aa
new file mode 100644
index 000000000000..6aa5362a4212
--- /dev/null
+++ b/sysutils/idled/files/patch-aa
@@ -0,0 +1,112 @@
+*** Makefile.orig Thu Mar 13 14:19:42 1997
+--- Makefile Thu Mar 13 13:59:57 1997
+***************
+*** 165,191 ****
+ # If you add it, '-lkvm' must also be added to the SPECLIBS line
+ # You will need to delete parse.c before compiling! You can either
+ # do so by hand, or do a 'make clean' followed by the normal 'make'.
+! #DEFS += -O -m486
+! #DEFS += -DBSD_OS2 -DHAVE_SETSID -DHAVE_YYRESTART -DPS_HACK
+ #DEFS += -DPROC_SEARCH_1
+ #SPECLIBS = -lkvm
+! #INSTTYPE = install1a
+ #
+! #DEST = /usr/local/libexec
+! #CFDEST = /usr/local/libexec
+! #MDEST = /usr/local/man
+! #LOGDEST = /var/log
+ #
+! #OWNER = root
+! #CFOWNER = root
+! #MOWNER = man
+ #
+! #GROUP = daemon
+! #CFGROUP = daemon
+ #
+! #MODE = 750
+! #CFMODE = 664
+! #MMODE = 444
+
+ ######################################################################
+ ######################################################################
+--- 165,191 ----
+ # If you add it, '-lkvm' must also be added to the SPECLIBS line
+ # You will need to delete parse.c before compiling! You can either
+ # do so by hand, or do a 'make clean' followed by the normal 'make'.
+! DEFS += -O -m486
+! DEFS += -DBSD_OS2 -DHAVE_SETSID -DHAVE_YYRESTART -DPS_HACK
+ #DEFS += -DPROC_SEARCH_1
+ #SPECLIBS = -lkvm
+! INSTTYPE = install1a
+ #
+! DEST = /usr/local/libexec
+! CFDEST = /usr/local/etc
+! MDEST = /usr/local/man
+! LOGDEST = /var/log
+ #
+! OWNER = root
+! CFOWNER = root
+! MOWNER = man
+ #
+! GROUP = daemon
+! CFGROUP = daemon
+ #
+! MODE = 750
+! CFMODE = 664
+! MMODE = 444
+
+ ######################################################################
+ ######################################################################
+***************
+*** 215,239 ****
+ # SVR4 -- Solaris 2.x
+ # Use install3 for /usr/sbin/install
+ # and install1 for /usr/ucb/install
+! DEFS += -DSYSV -DHAVE_PROC_FS -DUTMPPID -DHAVE_SETSID -DHAVE_UTMPX -DUTMPHOST -DRUDEKILL
+! SPECLIBS =
+! INSTTYPE = install3
+
+! DEST = /usr/local/bin
+! CFDEST = /usr/local/lib
+! MDEST = /usr/local/man
+! LOGDEST = /var/log
+
+! OWNER = root
+! CFOWNER = root
+! MOWNER = root
+
+! GROUP = root
+! CFGROUP = root
+
+! MODE = 750
+! CFMODE = 664
+! MMODE = 644
+
+ ######################################################################
+ ######################################################################
+--- 215,239 ----
+ # SVR4 -- Solaris 2.x
+ # Use install3 for /usr/sbin/install
+ # and install1 for /usr/ucb/install
+! #DEFS += -DSYSV -DHAVE_PROC_FS -DUTMPPID -DHAVE_SETSID -DHAVE_UTMPX -DUTMPHOST -DRUDEKILL
+! #SPECLIBS =
+! #INSTTYPE = install3
+
+! #DEST = /usr/local/bin
+! #CFDEST = /usr/local/lib
+! #MDEST = /usr/local/man
+! #LOGDEST = /var/log
+
+! #OWNER = root
+! #CFOWNER = root
+! #MOWNER = root
+
+! #GROUP = root
+! #CFGROUP = root
+
+! #MODE = 750
+! #CFMODE = 664
+! #MMODE = 644
+
+ ######################################################################
+ ######################################################################
diff --git a/sysutils/idled/pkg-comment b/sysutils/idled/pkg-comment
new file mode 100644
index 000000000000..4dce3af9f227
--- /dev/null
+++ b/sysutils/idled/pkg-comment
@@ -0,0 +1 @@
+A daemon that logs out idle users and those users hogging resources.
diff --git a/sysutils/idled/pkg-descr b/sysutils/idled/pkg-descr
new file mode 100644
index 000000000000..0992063de352
--- /dev/null
+++ b/sysutils/idled/pkg-descr
@@ -0,0 +1,4 @@
+This is a port of idled by Michael P. Crider. Idled is a daemon that runs on a
+machine to keep an eye on current users. If users have been idle for too long,
+or have been logged on for too long, or have logged in too many times, it will
+warn them and log them out appropriately.
diff --git a/sysutils/idled/pkg-message b/sysutils/idled/pkg-message
new file mode 100644
index 000000000000..4b30e9e37261
--- /dev/null
+++ b/sysutils/idled/pkg-message
@@ -0,0 +1,38 @@
+Idled Copyright (c) 1995-1996 Mike Crider (crider@cs.hope.edu)
+All rights reserved.
+
+*****************************************************************
+*****************************************************************
+
+REDISTRIBUTION AND USE IN SOURCE AND BINARY FORMS FOR NON-PROFIT
+USE ARE PERMITTED PROVIDED THAT:
+ (1) SOURCE CODE DISTRIBUTIONS BE COMPLETE AND REMAIN
+ UNMODIFIED *IF* IT IS TO RETAIN THE NAME "IDLED" --
+ ALL SUCH DISTRIBUTIONS MUST ALSO RETAIN THIS
+ COPYRIGHT NOTICE IN ITS ENTIRETY.
+ (2) MODIFIED SOURCE CODE DISTRIBUTIONS USE A SUFFICIENTLY
+ DIFFERENT NAME, CLEARLY GIVE FULL CREDIT FOR ALL WORK
+ USED FROM THIS DISTRIBUTION, AND RETAIN THIS COPYRIGHT
+ NOTICE IN ITS ENTIRETY.
+ (3) IN GENERAL, ALL DISTRIBUTIONS *MUST* RETAIN THIS
+ COPYRIGHT NOTICE IN ITS ENTIRETY.
+
+I REQUEST THAT ANY MODIFICATIONS MADE TO IMPROVE THE CODE OR
+FUNCTIONALITY OF THE PROGRAM BE SENT TO ME FOR REVIEW AND
+POSSIBLE INCLUSION IN THE NEXT RELEASE OF IDLED.
+
+DISCLAIMER: IF IDLED FAILS TO PERFORM AS YOU EXPECTED, OR WORSE,
+ SOMEHOW DAMAGES YOUR SYSTEM, I WILL NOT BE HELD
+ RESPONSIBLE. THIS SOFTWARE IS PROVIDED ``AS IS''
+ WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. USE AT
+ YOUR OWN RISK.
+
+
+If you have questions, comments, bug reports, suggestions, and/or
+requests for modification of this program, please contact:
+
+ Mike Crider
+ crider@cs.hope.edu
+
+*****************************************************************
+*****************************************************************
diff --git a/sysutils/idled/pkg-plist b/sysutils/idled/pkg-plist
new file mode 100644
index 000000000000..d2a33449f1c1
--- /dev/null
+++ b/sysutils/idled/pkg-plist
@@ -0,0 +1,4 @@
+etc/idled.cf.template
+libexec/idled
+man/man5/idled.cf.5.gz
+man/man8/idled.8.gz