summaryrefslogtreecommitdiff
path: root/mail/cyrus-imapd/pkg
diff options
context:
space:
mode:
authorveego <veego>2000-08-25 12:35:40 +0000
committerveego <veego>2000-08-25 12:35:40 +0000
commita1a9c0caff1ea4a7e585e5fd1da41f2cf437e32e (patch)
tree8c7879894d2c49b71783ae3d1486b3d043f91abf /mail/cyrus-imapd/pkg
parent0b79b88fe208f01cc2f14efe86bd9a470a49b0e1 (diff)
downloadpkgsrc-a1a9c0caff1ea4a7e585e5fd1da41f2cf437e32e.tar.gz
This version is based on the one in pkgsrc/mail/cyrus but needs cyrus-sasl
and works.
Diffstat (limited to 'mail/cyrus-imapd/pkg')
-rw-r--r--mail/cyrus-imapd/pkg/COMMENT1
-rw-r--r--mail/cyrus-imapd/pkg/DEINSTALL28
-rw-r--r--mail/cyrus-imapd/pkg/DESCR11
-rw-r--r--mail/cyrus-imapd/pkg/INSTALL49
-rw-r--r--mail/cyrus-imapd/pkg/PLIST58
5 files changed, 147 insertions, 0 deletions
diff --git a/mail/cyrus-imapd/pkg/COMMENT b/mail/cyrus-imapd/pkg/COMMENT
new file mode 100644
index 00000000000..72cc6f0fc69
--- /dev/null
+++ b/mail/cyrus-imapd/pkg/COMMENT
@@ -0,0 +1 @@
+IMAP server
diff --git a/mail/cyrus-imapd/pkg/DEINSTALL b/mail/cyrus-imapd/pkg/DEINSTALL
new file mode 100644
index 00000000000..8cd8ddfeb97
--- /dev/null
+++ b/mail/cyrus-imapd/pkg/DEINSTALL
@@ -0,0 +1,28 @@
+#!/bin/sh
+#
+# $NetBSD: DEINSTALL,v 1.1.1.1 2000/08/25 12:35:40 veego Exp $
+#
+
+PKGNAME=$1
+STAGE=$2
+
+USER=@CYUSER@
+GROUP=@CYUSER@
+
+case ${STAGE} in
+DEINSTALL)
+ ;;
+POST-DEINSTALL)
+ cat << EOF
+===========================================================================
+If you won't be using ${PKGNAME} any longer, you may want to
+remove the \`${USER}' user and in some cases also the \`${GROUP}' group.
+===========================================================================
+EOF
+ ;;
+*)
+ echo "Unexpected argument: $2"
+ exit 1
+ ;;
+esac
+exit 0
diff --git a/mail/cyrus-imapd/pkg/DESCR b/mail/cyrus-imapd/pkg/DESCR
new file mode 100644
index 00000000000..b0ebd2f8d05
--- /dev/null
+++ b/mail/cyrus-imapd/pkg/DESCR
@@ -0,0 +1,11 @@
+Cyrus IMAP Server
+
+IMAP (Internet Message Access Protocol) is an Internet
+standards-track protocol for accessing messages (mail,
+bboards, news, etc). The Cyrus IMAP server differs from
+other IMAP server implementations in that it is generally
+intended to be run on "sealed" servers, where normal users
+are not permitted to log in. The mailbox database is stored
+in parts of the filesystem that are private to the Cyrus
+IMAP system. All user access to mail is through the IMAP,
+POP3, or KPOP protocols.
diff --git a/mail/cyrus-imapd/pkg/INSTALL b/mail/cyrus-imapd/pkg/INSTALL
new file mode 100644
index 00000000000..24c582c7ba0
--- /dev/null
+++ b/mail/cyrus-imapd/pkg/INSTALL
@@ -0,0 +1,49 @@
+#!/bin/sh
+#
+# $NetBSD: INSTALL,v 1.1.1.1 2000/08/25 12:35:40 veego Exp $
+
+PKGNAME=$1
+STAGE=$2
+
+CYUSER=@CYUSER@
+CYGROUP=@CYGROUP@
+ADDUSER=@ADDUSER@
+ADDGROUP=@ADDGROUP@
+CHGRP=@CHGRP@
+ID=@ID@
+TOUCH=@TOUCH@
+RM=@RM@
+
+case ${STAGE} in
+PRE-INSTALL)
+ # Group... the default's shipped with NetBSD
+ # We need to check that ${CYGROUP} exists before adding the user.
+ #
+ ${TOUCH} "/tmp/grouptestcyrus.$$"
+ ${CHGRP} ${CYGROUP} "/tmp/grouptestcyrus.$$" >/dev/null 2>&1
+ if [ $? -eq 0 ]; then
+ echo "Group '${CYGROUP}' already exists...proceeding."
+ else
+ echo "Creating '${CYGROUP}' group..."
+ ${ADDGROUP} ${CYGROUP}
+ echo "Done."
+ fi
+ ${RM} -f "/tmp/grouptestcyrus.$$"
+
+ ${ID} ${CYUSER} >/dev/null 2>&1
+ if [ $? -eq 0 ]; then
+ echo "User '${CYUSER}' already exists...proceeding."
+ else
+ echo "Creating '${CYUSER}' user..."
+ ${ADDUSER} -c "Amanda User" -g ${CYGROUP} -s /bin/sh ${CYUSER}
+ echo "Done."
+ fi
+ ;;
+POST-INSTALL)
+ ;;
+*)
+ echo "Unexpected argument: $2"
+ exit 1
+ ;;
+esac
+exit 0
diff --git a/mail/cyrus-imapd/pkg/PLIST b/mail/cyrus-imapd/pkg/PLIST
new file mode 100644
index 00000000000..1a4b7099ed9
--- /dev/null
+++ b/mail/cyrus-imapd/pkg/PLIST
@@ -0,0 +1,58 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/08/25 12:35:40 veego Exp $
+bin/cyradm
+bin/imtest
+bin/installsieve
+cyrus/bin/arbitron
+cyrus/bin/collectnews
+cyrus/bin/deliver
+cyrus/bin/dump_deliverdb
+cyrus/bin/feedcyrus
+cyrus/bin/fud
+cyrus/bin/imapd
+cyrus/bin/mbpath
+cyrus/bin/pop3d
+cyrus/bin/quota
+cyrus/bin/reconstruct
+cyrus/bin/syncnews
+cyrus/bin/timsieved
+include/cyrus/acl.h
+include/cyrus/assert.h
+include/cyrus/auth.h
+include/cyrus/bsearch.h
+include/cyrus/charset.h
+include/cyrus/glob.h
+include/cyrus/gmtoff.h
+include/cyrus/imclient.h
+include/cyrus/imparse.h
+include/cyrus/lock.h
+include/cyrus/map.h
+include/cyrus/mkgmtime.h
+include/cyrus/nonblock.h
+include/cyrus/parseaddr.h
+include/cyrus/prot.h
+include/cyrus/retry.h
+include/cyrus/sysexits.h
+include/cyrus/util.h
+include/cyrus/xmalloc.h
+lib/libcyrus.a
+man/man1/cyradm.1
+man/man1/imtest.1
+man/man1/installsieve.1
+man/man3/imclient.3
+man/man5/imapd.conf.5
+man/man5/krb.equiv.5
+man/man8/arbitron.8
+man/man8/collectnews.8
+man/man8/deliver.8
+man/man8/fud.8
+man/man8/imapd.8
+man/man8/mbpath.8
+man/man8/pop3d.8
+man/man8/quota.8
+man/man8/reconstruct.8
+man/man8/rmnews.8
+man/man8/syncnews.8
+man/man8/timsieved.8
+@dirrm include/cyrus
+@dirrm cyrus/bin
+@dirrm cyrus