summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorabs <abs>2003-06-02 19:55:16 +0000
committerabs <abs>2003-06-02 19:55:16 +0000
commit5db93e037f79d0d90a07656a007562c317da9b4e (patch)
tree05a4f4c5a5060cc144d6c5e0c86f4d492cde40a5
parent529308f92bae3aa635ee22dee92f60f7eff4730c (diff)
downloadpkgsrc-5db93e037f79d0d90a07656a007562c317da9b4e.tar.gz
Update to setiathome-3.03nb2.
Add support for setiathome_flags to startup script, and default to -nice 20.
-rw-r--r--doc/CHANGES3
-rw-r--r--misc/setiathome/Makefile4
-rw-r--r--misc/setiathome/files/setiathome.sh6
3 files changed, 8 insertions, 5 deletions
diff --git a/doc/CHANGES b/doc/CHANGES
index 3c5a8b90c7a..0948384dc2f 100644
--- a/doc/CHANGES
+++ b/doc/CHANGES
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES,v 1.2400 2003/06/02 15:21:22 jmmv Exp $
+$NetBSD: CHANGES,v 1.2401 2003/06/02 19:55:53 abs Exp $
Changes to the packages collection and infrastructure in 2003:
@@ -2276,3 +2276,4 @@ Changes to the packages collection and infrastructure in 2003:
Updated ap-throttle to 3.1.2nb1 [abs 2003-06-02]
Added vms-empire-1.4 [jmmv 2003-06-02]
Updated dircproxy to 1.0.5 [jmmv 2003-06-02]
+ Updated setiathome to 3.03nb2 [abs 2003-06-02]
diff --git a/misc/setiathome/Makefile b/misc/setiathome/Makefile
index 159c9b46255..f1602d78a11 100644
--- a/misc/setiathome/Makefile
+++ b/misc/setiathome/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2003/04/09 15:52:29 jmmv Exp $
+# $NetBSD: Makefile,v 1.10 2003/06/02 19:55:16 abs Exp $
#
.include "../../mk/bsd.prefs.mk"
@@ -24,7 +24,7 @@ DISTNAME= ${PKGNAME_NOREV}
.endif
#
PKGNAME= setiathome-3.03
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= misc
MASTER_SITES= ftp://ftp.cdrom.com/pub/setiathome/ \
ftp://alien.ssl.berkeley.edu/pub/ \
diff --git a/misc/setiathome/files/setiathome.sh b/misc/setiathome/files/setiathome.sh
index 8d132a45ad2..134395ff56a 100644
--- a/misc/setiathome/files/setiathome.sh
+++ b/misc/setiathome/files/setiathome.sh
@@ -1,12 +1,14 @@
#!/bin/sh
#
-# $NetBSD: setiathome.sh,v 1.2 2003/05/01 18:07:55 jmmv Exp $
+# $NetBSD: setiathome.sh,v 1.3 2003/06/02 19:55:16 abs Exp $
#
# PROVIDE: setiathome
# REQUIRE: LOGIN
# KEYWORD: shutdown
+setiathome_flags='-nice 20'
+
. /etc/rc.subr
sah_user="nobody"
@@ -37,7 +39,7 @@ setiathome_start() {
echo "Starting ${name}."
su -fm ${sah_user} -c "cd ${sah_homedir} && exec ${command} \
- ${command_args} &" 2>/dev/null 1>/dev/null
+ ${setiathome_flags} ${command_args} &" 2>/dev/null 1>/dev/null
}
setiathome_poststop() {