Skip to content

Commit

Permalink
Add solid-pop3d-0.15: Flexible POP3 server
Browse files Browse the repository at this point in the history
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 <[email protected]> in PR 16682
  • Loading branch information
hubertf committed May 12, 2002
1 parent 5e64b9d commit 954cf67
Show file tree
Hide file tree
Showing 8 changed files with 130 additions and 1 deletion.
6 changes: 6 additions & 0 deletions mail/solid-pop3d/DESCR
Original file line number Diff line number Diff line change
@@ -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.
16 changes: 16 additions & 0 deletions mail/solid-pop3d/MESSAGE
Original file line number Diff line number Diff line change
@@ -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

===========================================================================
55 changes: 55 additions & 0 deletions mail/solid-pop3d/Makefile
Original file line number Diff line number Diff line change
@@ -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= [email protected]
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"
16 changes: 16 additions & 0 deletions mail/solid-pop3d/PLIST
Original file line number Diff line number Diff line change
@@ -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
2 changes: 2 additions & 0 deletions mail/solid-pop3d/PLIST.apop
Original file line number Diff line number Diff line change
@@ -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
5 changes: 5 additions & 0 deletions mail/solid-pop3d/distinfo
Original file line number Diff line number Diff line change
@@ -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
13 changes: 13 additions & 0 deletions mail/solid-pop3d/patches/patch-aa
Original file line number Diff line number Diff line change
@@ -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=
18 changes: 17 additions & 1 deletion mk/bsd.pkg.defaults.mk
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 954cf67

Please sign in to comment.