diff options
author | wiz <wiz> | 2000-04-02 01:32:28 +0000 |
---|---|---|
committer | wiz <wiz> | 2000-04-02 01:32:28 +0000 |
commit | d872b9126f07379332659a7cac2eeba3f5fbf2f0 (patch) | |
tree | 67dcf914e60a3637202663f8b4f80a7e88361359 /mail/popa3d/pkg | |
parent | 6e6cbe9c6689a8d69f98e028d373a2800234d48a (diff) | |
download | pkgsrc-d872b9126f07379332659a7cac2eeba3f5fbf2f0.tar.gz |
Initial import of popa3d, a small, performant, reliable, and secure
pop3 daemon.
Diffstat (limited to 'mail/popa3d/pkg')
-rw-r--r-- | mail/popa3d/pkg/COMMENT | 1 | ||||
-rw-r--r-- | mail/popa3d/pkg/DEINSTALL | 19 | ||||
-rw-r--r-- | mail/popa3d/pkg/DESCR | 15 | ||||
-rw-r--r-- | mail/popa3d/pkg/INSTALL | 36 | ||||
-rw-r--r-- | mail/popa3d/pkg/MESSAGE | 10 | ||||
-rw-r--r-- | mail/popa3d/pkg/PLIST | 5 |
6 files changed, 86 insertions, 0 deletions
diff --git a/mail/popa3d/pkg/COMMENT b/mail/popa3d/pkg/COMMENT new file mode 100644 index 00000000000..ea99c65dfa8 --- /dev/null +++ b/mail/popa3d/pkg/COMMENT @@ -0,0 +1 @@ +secure, reliable, performant, and small pop3 server diff --git a/mail/popa3d/pkg/DEINSTALL b/mail/popa3d/pkg/DEINSTALL new file mode 100644 index 00000000000..9662aa4f1c9 --- /dev/null +++ b/mail/popa3d/pkg/DEINSTALL @@ -0,0 +1,19 @@ +# $NetBSD: DEINSTALL,v 1.1.1.1 2000/04/02 01:32:28 wiz Exp $ +# + +if [ "$2" != "POST-DEINSTALL" ]; then + exit 0 +fi + +if ! user del popa3d +then + echo Removing user \'popa3d\' failed, please remove him manually. +fi +if ! group del popa3d +then + echo Removing group \'popa3d\' failed, please remove it manually. +fi + +echo +echo Remember to remove popa3d from /etc/inetd.conf and restart inetd. +echo diff --git a/mail/popa3d/pkg/DESCR b/mail/popa3d/pkg/DESCR new file mode 100644 index 00000000000..a7afca74e1c --- /dev/null +++ b/mail/popa3d/pkg/DESCR @@ -0,0 +1,15 @@ +From the DESIGN-document: + +Well, the goals themselves are obvious; they're probably the same for most +other POP3 servers as well. It's their priority that differs. For popa3d, +the goals are: + +1. Security (to the extent that is possible with POP3 at all, of course). +2. Reliability (again, as limited by the mailbox format and the protocol). +3. RFC compliance (slightly relaxed to work with real-world POP3 clients). +4. Performance (limited by the more important goals, above). + +This package is installed to be run from inetd, which is sufficient +for normal usage. However, it is possible to build a stand-alone +version, should you need better performance. (This is currently not +supported by the package system.) diff --git a/mail/popa3d/pkg/INSTALL b/mail/popa3d/pkg/INSTALL new file mode 100644 index 00000000000..a3c727190cd --- /dev/null +++ b/mail/popa3d/pkg/INSTALL @@ -0,0 +1,36 @@ +# $NetBSD: INSTALL,v 1.1.1.1 2000/04/02 01:32:28 wiz Exp $ +# + +if [ "$2" != "PRE-INSTALL" ]; then + chown popa3d:popa3d ${PKG_PREFIX}/libexec/popa3d + exit 0 +fi + +if [ -f /usr/sbin/user ] +then + USER_CMD=/usr/sbin/user + GROUP_CMD=/usr/sbin/group +else + if [ -f ${PKG_PREFIX}/sbin/user ] + then + USER_CMD=${PKG_PREFIX}/sbin/user + GROUP_CMD=${PKG_PREFIX}/sbin/group + else + echo + echo Please install the sysutils/user first! + echo + exit 0 + fi +fi + +if ${GROUP_CMD} info -e popa3d ; then \ + ${ECHO} Group \'popa3d\' already exists.; \ +else \ + ${GROUP_CMD} add popa3d; \ +fi +if ${USER_CMD} info -e popa3d ; then \ + ${ECHO} User \'popa3d\' already exists.; \ +else \ + ${USER_CMD} add -g popa3d -d /nonexistent -s /sbin/nologin \ + popa3d; \ +fi diff --git a/mail/popa3d/pkg/MESSAGE b/mail/popa3d/pkg/MESSAGE new file mode 100644 index 00000000000..d5e6b55488b --- /dev/null +++ b/mail/popa3d/pkg/MESSAGE @@ -0,0 +1,10 @@ +================================================================= + +In order to enable POP service, you should add the following line +to your /etc/inetd.conf: + + pop3 stream tcp nowait root ${PKG_PREFIX}/libexec/popa3d popa3d + +and send a HUP signal to inetd. + +================================================================= diff --git a/mail/popa3d/pkg/PLIST b/mail/popa3d/pkg/PLIST new file mode 100644 index 00000000000..0eea578ebfa --- /dev/null +++ b/mail/popa3d/pkg/PLIST @@ -0,0 +1,5 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2000/04/02 01:32:28 wiz Exp $ +libexec/popa3d +share/doc/popa3d/COPYING +share/doc/popa3d/DESIGN +share/doc/popa3d/INSTALL |