From 46ccc88ca5024428a45c39320f92ca4ef928239a Mon Sep 17 00:00:00 2001 From: sturm Date: Sun, 22 Jun 2003 10:09:57 +0000 Subject: [PATCH] new user/group naming schema bump PKGNAME for bitlbee Han Boetes ok --- .../OpenBSD-SpamAssassin-mini-howto.html | 4 +-- net/bitlbee/Makefile | 3 +- net/bitlbee/files/user-guide.html | 2 +- net/bitlbee/pkg/DEINSTALL | 6 ++-- net/bitlbee/pkg/INSTALL | 30 +++++++++++++++---- 5 files changed, 32 insertions(+), 13 deletions(-) diff --git a/mail/p5-Mail-SpamAssassin/files/OpenBSD-SpamAssassin-mini-howto.html b/mail/p5-Mail-SpamAssassin/files/OpenBSD-SpamAssassin-mini-howto.html index df7f0d08403..5a26101b149 100644 --- a/mail/p5-Mail-SpamAssassin/files/OpenBSD-SpamAssassin-mini-howto.html +++ b/mail/p5-Mail-SpamAssassin/files/OpenBSD-SpamAssassin-mini-howto.html @@ -7,10 +7,10 @@ making use of the spamc/spamd combination.

First let's add a user for the spamd. -

# useradd -s /usr/bin/false -b /nonexistent spamdaemon
+
# useradd -s /usr/bin/false -b /nonexistent -u 506 _spamdaemon

Add this line to /etc/rc.local: -

# /usr/local/bin/spamd -u spamdaemon -d -L -p 4321 -x
+
# /usr/local/bin/spamd -u _spamdaemon -d -L -p 4321 -x

Use that same line to start spamd now.

The final step: put this at the top of your .procmailrc. diff --git a/net/bitlbee/Makefile b/net/bitlbee/Makefile index beeddeeeb29..7a0f0dde004 100644 --- a/net/bitlbee/Makefile +++ b/net/bitlbee/Makefile @@ -1,7 +1,8 @@ -# $OpenBSD: Makefile,v 1.1.1.1 2003/04/16 18:51:08 wilfried Exp $ +# $OpenBSD: Makefile,v 1.2 2003/06/22 10:09:57 sturm Exp $ COMMENT= "IRC-proxy to connect to icq, aol, msn and jabber" DISTNAME= bitlbee-0.73 +PKGNAME= ${DISTNAME}p0 CATEGORIES= net HOMEPAGE= http://www.lintux.cx/bitlbee.html diff --git a/net/bitlbee/files/user-guide.html b/net/bitlbee/files/user-guide.html index 5bf0b13ccc2..98f642e27e2 100644 --- a/net/bitlbee/files/user-guide.html +++ b/net/bitlbee/files/user-guide.html @@ -181,7 +181,7 @@ nobody).

-127.0.0.1:6667    stream  tcp     nowait bitlbee /usr/local/sbin/bitlbee bitlbee
+127.0.0.1:6667    stream  tcp     nowait _bitlbee /usr/local/sbin/bitlbee bitlbee
 
diff --git a/net/bitlbee/pkg/DEINSTALL b/net/bitlbee/pkg/DEINSTALL index e07d9a1e0da..69779909c04 100644 --- a/net/bitlbee/pkg/DEINSTALL +++ b/net/bitlbee/pkg/DEINSTALL @@ -1,13 +1,13 @@ #!/bin/sh -# $OpenBSD: DEINSTALL,v 1.1.1.1 2003/04/16 18:51:08 wilfried Exp $ +# $OpenBSD: DEINSTALL,v 1.2 2003/06/22 10:09:57 sturm Exp $ # # Bitlbee de-installation PATH=/bin:/usr/bin:/sbin:/usr/sbin PREFIX=${PKG_PREFIX:-/usr/local} DB_DIR=${DB_DIR} -BITLBEEUSER=bitlbee -BITLBEEGROUP=bitlbee +BITLBEEUSER=_bitlbee +BITLBEEGROUP=_bitlbee cat < Using $BITLBEEGROUP group for Bitlbee" else echo "===> Creating $BITLBEEGROUP group for Bitlbee" - groupadd $BITLBEEGROUP + groupadd -g $ID $BITLBEEGROUP fi userinfo -e $BITLBEEUSER if [ $? -eq 0 ]; then echo "===> Using $BITLBEEUSER user for Bitlbee" else echo "===> Creating $BITLBEEUSER user for Bitlbee" - useradd -g $BITLBEEGROUP -d /nonexistent -L daemon -c 'Bitlbee Account' -s /sbin/nologin $BITLBEEUSER + useradd -g $BITLBEEGROUP -d /nonexistent -L daemon -c 'Bitlbee Account' -s /sbin/nologin -u $ID $BITLBEEUSER fi } @@ -52,7 +53,7 @@ cat <&2