summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhubertf <hubertf>2002-05-12 16:54:45 +0000
committerhubertf <hubertf>2002-05-12 16:54:45 +0000
commit87665c209eb0203cd6cc238d9303c4382bd7a7d7 (patch)
treeb2fbbedf6baa64ca40393072a399815fb9ca7eda
parent381835d4d91d2210eed08f0d1c4dc93b93b9a2b3 (diff)
downloadpkgsrc-87665c209eb0203cd6cc238d9303c4382bd7a7d7.tar.gz
Add solid-pop3d-0.15: Flexible POP3 server
The Solid POP3 Server is an implementation of a Post Office Protocol version 3 server that has flexibility as its main goal. The server is easily configurable and has support for few features such as APOP authentication scheme, virtual hosting, maildir and mailbox handling, bulletins and expiration of messages. Each user can specify position and type of his maildrop. Contribyted by Piotr Stolc <socrtp@soclab.eu.org> in PR 16682
-rw-r--r--mail/solid-pop3d/DESCR6
-rw-r--r--mail/solid-pop3d/MESSAGE16
-rw-r--r--mail/solid-pop3d/Makefile55
-rw-r--r--mail/solid-pop3d/PLIST16
-rw-r--r--mail/solid-pop3d/PLIST.apop2
-rw-r--r--mail/solid-pop3d/distinfo5
-rw-r--r--mail/solid-pop3d/patches/patch-aa13
-rw-r--r--mk/bsd.pkg.defaults.mk18
8 files changed, 130 insertions, 1 deletions
diff --git a/mail/solid-pop3d/DESCR b/mail/solid-pop3d/DESCR
new file mode 100644
index 00000000000..534de28dd95
--- /dev/null
+++ b/mail/solid-pop3d/DESCR
@@ -0,0 +1,6 @@
+The Solid POP3 Server is an implementation of a Post Office Protocol
+version 3 server that has flexibility as its main goal. The server is
+easily configurable and has support for few features such as APOP
+authentication scheme, virtual hosting, maildir and mailbox handling,
+bulletins and expiration of messages. Each user can specify position and
+type of his maildrop.
diff --git a/mail/solid-pop3d/MESSAGE b/mail/solid-pop3d/MESSAGE
new file mode 100644
index 00000000000..33874fe214f
--- /dev/null
+++ b/mail/solid-pop3d/MESSAGE
@@ -0,0 +1,16 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2002/05/12 16:54:45 hubertf Exp $
+
+The config file for ${PKGNAME} must be located at ${PKG_SYSCONFDIR}
+Example files are located at ${EGDIR}
+
+To use ${PKGNAME} you must add 'spop3d' user:
+
+ spop3d:*:68:32766::0:0:spop3d:/sbin/nonexistent:/sbin/nologin
+
+To run ${PKGNAME} from inetd, make sure you didn't enable standalone
+option and add the following line to /etc/inetd.conf:
+
+ pop3 stream tcp nowait root ${PREFIX}/sbin/spop3d spop3d
+
+===========================================================================
diff --git a/mail/solid-pop3d/Makefile b/mail/solid-pop3d/Makefile
new file mode 100644
index 00000000000..0e73f98dc24
--- /dev/null
+++ b/mail/solid-pop3d/Makefile
@@ -0,0 +1,55 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/05/12 16:54:45 hubertf Exp $
+
+DISTNAME= solid-pop3d-0.15
+CATEGORIES= mail
+MASTER_SITES= http://solidpop3d.pld.org.pl/
+
+MAINTAINER= socrtp@soclab.eu.org
+HOMEPAGE= http://solidpop3d.pld.org.pl/
+COMMENT= Flexible POP3 server
+
+EGDIR= ${PREFIX}/share/examples/spop3d
+MESSAGE_SUBST+= EGDIR=${EGDIR}
+
+PLIST_SRC=
+EXAMPLES=
+
+GNU_CONFIGURE= yes
+
+CONFIGURE_ARGS+= --enable-logextend \
+ --enable-statistics
+
+.if defined(SPOP3D_ENABLE_APOP)
+CONFIGURE_ARGS+= --enable-apop
+PLIST_SRC+= ${.CURDIR}/PLIST.apop
+.endif
+
+.if defined(SPOP3D_ENABLE_STANDALONE)
+CONFIGURE_ARGS+= --enable-standalone
+CONFIGURE_ARGS+= --enable-connect
+.endif
+
+.if defined(SPOP3D_ENABLE_ALIASES)
+CONFIGURE_ARGS+= --enable-mapping
+CONFIGURE_ARGS+= --enable-nonip
+.endif
+
+.if defined(USE_INET6)
+CONFIGURE_ARGS+= --enable-ipv6
+.endif
+
+EXAMPLES+= config.example
+
+PLIST_SRC+= ${.CURDIR}/PLIST
+
+post-install:
+ ${INSTALL_DATA_DIR} ${EGDIR}
+ cd ${WRKSRC}/doc; for i in ${EXAMPLES}; do \
+ ${INSTALL_DATA} $${i} ${EGDIR}/$${i}; \
+ done
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/solid-pop3d
+.for i in AUTHORS CONFIGFILE COPYING ChangeLog INSTALL README THANKS VIRTUALS
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/solid-pop3d
+.endfor
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/mail/solid-pop3d/PLIST b/mail/solid-pop3d/PLIST
new file mode 100644
index 00000000000..ccdccce19f5
--- /dev/null
+++ b/mail/solid-pop3d/PLIST
@@ -0,0 +1,16 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/05/12 16:54:45 hubertf Exp $
+man/man5/spop3d.conf.5
+man/man5/dot-spop3d.5
+man/man8/spop3d.8
+sbin/spop3d
+share/examples/spop3d/config.example
+share/doc/solid-pop3d/AUTHORS
+share/doc/solid-pop3d/CONFIGFILE
+share/doc/solid-pop3d/COPYING
+share/doc/solid-pop3d/ChangeLog
+share/doc/solid-pop3d/INSTALL
+share/doc/solid-pop3d/README
+share/doc/solid-pop3d/THANKS
+share/doc/solid-pop3d/VIRTUALS
+@dirrm share/examples/spop3d
+@dirrm share/doc/solid-pop3d
diff --git a/mail/solid-pop3d/PLIST.apop b/mail/solid-pop3d/PLIST.apop
new file mode 100644
index 00000000000..873da03dc2b
--- /dev/null
+++ b/mail/solid-pop3d/PLIST.apop
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST.apop,v 1.1.1.1 2002/05/12 16:54:45 hubertf Exp $
+man/man1/pop_auth.1
diff --git a/mail/solid-pop3d/distinfo b/mail/solid-pop3d/distinfo
new file mode 100644
index 00000000000..f98c3325c3d
--- /dev/null
+++ b/mail/solid-pop3d/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/05/12 16:54:45 hubertf Exp $
+
+SHA1 (solid-pop3d-0.15.tar.gz) = 77534072dc352700acf23d29c781659833e53a04
+Size (solid-pop3d-0.15.tar.gz) = 102927 bytes
+SHA1 (patch-aa) = ce2a1959bfd917f99281c6b0f3e5ed9fd47511d8
diff --git a/mail/solid-pop3d/patches/patch-aa b/mail/solid-pop3d/patches/patch-aa
new file mode 100644
index 00000000000..b37a16dfce3
--- /dev/null
+++ b/mail/solid-pop3d/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/05/12 16:54:45 hubertf Exp $
+
+--- configure Mon May 6 01:06:20 2002
++++ configure Mon May 6 01:06:28 2002
+@@ -82,7 +82,7 @@
+ includedir='${prefix}/include'
+ oldincludedir='/usr/include'
+ infodir='${prefix}/share/info'
+-mandir='${prefix}/share/man'
++mandir='${prefix}/man'
+
+ # Initialize some other variables.
+ subdirs=
diff --git a/mk/bsd.pkg.defaults.mk b/mk/bsd.pkg.defaults.mk
index da613397ba6..0bf18e41bcd 100644
--- a/mk/bsd.pkg.defaults.mk
+++ b/mk/bsd.pkg.defaults.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.defaults.mk,v 1.60 2002/05/08 11:05:39 markd Exp $
+# $NetBSD: bsd.pkg.defaults.mk,v 1.61 2002/05/12 16:54:58 hubertf Exp $
#
# A file providing defaults for pkgsrc and the packages collection.
@@ -1161,6 +1161,22 @@ SDIST_PAWD?= pwd
# Possible: sparcv7, sparcv8 or sparcv9.
# Default: sparcv7
+#SPOP3D_ENABLE_APOP= yes
+# Enable APOP support in the mail/solid-pop3d package.
+# Possible: undefined, defined
+# Default: undefined
+
+#SPOP3D_ENABLE_STANDALONE= yes
+# Build mail/solid-pop3d to run standalone instead of via inetd.
+# Possible: undefined, defined
+# Default: undefined
+
+#SPOP3D_ENABLE_ALIASES= yes
+# Build mail/solid-pop3d with support for user names mapping and non-IP
+# based virtuals.
+# Possible: undefined, defined
+# Default: undefined
+
#SQUID_CONFIGURE_ARGS=
# Used in squid package to set build configuration options.
# Possible: see "configure --help"