Skip to content

Commit

Permalink
Add rc script for saslauthd.
Browse files Browse the repository at this point in the history
  • Loading branch information
ajacoutot committed Oct 28, 2010
1 parent ecb2461 commit 9182683
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
4 changes: 2 additions & 2 deletions security/cyrus-sasl2/Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.51 2010/10/18 21:41:45 espie Exp $
# $OpenBSD: Makefile,v 1.52 2010/10/28 11:21:05 ajacoutot Exp $

COMMENT= RFC 2222 SASL (Simple Authentication and Security Layer)

DISTNAME= cyrus-sasl-2.1.23
REVISION= 1
REVISION= 2

SHARED_LIBS= anonymous 2.22 \
crammd5 2.22 \
Expand Down
3 changes: 2 additions & 1 deletion security/cyrus-sasl2/pkg/PLIST
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.18 2009/05/16 09:09:59 ajacoutot Exp $
@comment $OpenBSD: PLIST,v 1.19 2010/10/28 11:21:05 ajacoutot Exp $
@conflict cyrus-sasl-*
include/sasl/
include/sasl/hmac-md5.h
Expand Down Expand Up @@ -128,3 +128,4 @@ share/examples/sasl2/
%%SHARED%%
@sample /var/sasl2/
@extraunexec rm -rf /var/sasl2/*
@rcscript ${RCDIR}/saslauthd
8 changes: 8 additions & 0 deletions security/cyrus-sasl2/pkg/saslauthd.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/sh

. /etc/rc.d/rc.subr

daemon="${TRUEPREFIX}/sbin/saslauthd"
daemon_flags="-a getpwent"

rc_cmd $1

0 comments on commit 9182683

Please sign in to comment.