aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/doinkd
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/doinkd
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/doinkd')
-rw-r--r--sysutils/doinkd/Makefile24
-rw-r--r--sysutils/doinkd/distinfo1
-rw-r--r--sysutils/doinkd/files/patch-aa112
-rw-r--r--sysutils/doinkd/pkg-comment1
-rw-r--r--sysutils/doinkd/pkg-descr4
-rw-r--r--sysutils/doinkd/pkg-message38
-rw-r--r--sysutils/doinkd/pkg-plist4
7 files changed, 184 insertions, 0 deletions
diff --git a/sysutils/doinkd/Makefile b/sysutils/doinkd/Makefile
new file mode 100644
index 000000000000..51d2f96bc689
--- /dev/null
+++ b/sysutils/doinkd/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/doinkd/distinfo b/sysutils/doinkd/distinfo
new file mode 100644
index 000000000000..348e54742417
--- /dev/null
+++ b/sysutils/doinkd/distinfo
@@ -0,0 +1 @@
+MD5 (idled-1.16.tar.gz) = a633e9484acb904e1bf0ed43b8383033
diff --git a/sysutils/doinkd/files/patch-aa b/sysutils/doinkd/files/patch-aa
new file mode 100644
index 000000000000..6aa5362a4212
--- /dev/null
+++ b/sysutils/doinkd/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/doinkd/pkg-comment b/sysutils/doinkd/pkg-comment
new file mode 100644
index 000000000000..4dce3af9f227
--- /dev/null
+++ b/sysutils/doinkd/pkg-comment
@@ -0,0 +1 @@
+A daemon that logs out idle users and those users hogging resources.
diff --git a/sysutils/doinkd/pkg-descr b/sysutils/doinkd/pkg-descr
new file mode 100644
index 000000000000..0992063de352
--- /dev/null
+++ b/sysutils/doinkd/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/doinkd/pkg-message b/sysutils/doinkd/pkg-message
new file mode 100644
index 000000000000..4b30e9e37261
--- /dev/null
+++ b/sysutils/doinkd/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/doinkd/pkg-plist b/sysutils/doinkd/pkg-plist
new file mode 100644
index 000000000000..d2a33449f1c1
--- /dev/null
+++ b/sysutils/doinkd/pkg-plist
@@ -0,0 +1,4 @@
+etc/idled.cf.template
+libexec/idled
+man/man5/idled.cf.5.gz
+man/man8/idled.8.gz