2012-10-08 14:19:01 +02:00
|
|
|
# $NetBSD: Makefile,v 1.36 2012/10/08 12:19:07 asau Exp $
|
Addition of cucipop, version 1.31, to the NetBSD packages collection.
Cucipop, the Cubic Circle POP3 server, is a very small and fast server for
POP3 mail clients--far faster than UW's ipop3d. It does not support POP2,
but it does include support for the TOP extension to POP3, Content-Length:
headers, and APOP. It can be run from inetd or standalone.
Please note that this package is shareware.
This package is based on Todd Vierling's submission in PR pkg/4977, as well
as Jim Wise's submission in PR pkg/4910, which were put on hold until the
licence logic had been added to bsd.pkg.mk, but I've also updated this to
version 1.31, and fixed a few things in the compilation process.
1998-07-21 13:39:54 +02:00
|
|
|
#
|
|
|
|
|
2004-09-02 11:39:26 +02:00
|
|
|
DISTNAME= cucipop-1.31
|
2007-06-19 23:07:42 +02:00
|
|
|
PKGREVISION= 3
|
2004-09-02 11:39:26 +02:00
|
|
|
CATEGORIES= mail
|
Addition of cucipop, version 1.31, to the NetBSD packages collection.
Cucipop, the Cubic Circle POP3 server, is a very small and fast server for
POP3 mail clients--far faster than UW's ipop3d. It does not support POP2,
but it does include support for the TOP extension to POP3, Content-Length:
headers, and APOP. It can be run from inetd or standalone.
Please note that this package is shareware.
This package is based on Todd Vierling's submission in PR pkg/4977, as well
as Jim Wise's submission in PR pkg/4910, which were put on hold until the
licence logic had been added to bsd.pkg.mk, but I've also updated this to
version 1.31, and fixed a few things in the compilation process.
1998-07-21 13:39:54 +02:00
|
|
|
MASTER_SITES= ftp://ftp.informatik.rwth-aachen.de/pub/packages/cucipop/
|
|
|
|
|
2000-11-22 14:05:58 +01:00
|
|
|
PATCH_SITES= ftp://ftp.kame.net/pub/kame/misc/
|
2001-02-23 03:13:17 +01:00
|
|
|
PATCHFILES= cucipop-1.31-v6-20010223.diff.gz
|
2000-11-22 14:05:58 +01:00
|
|
|
PATCH_DIST_STRIP= -p1
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2001-02-17 18:52:59 +01:00
|
|
|
COMMENT= The Cubic Circle POP3 mail server
|
2005-07-19 16:00:35 +02:00
|
|
|
LICENSE= cucipop-license
|
Addition of cucipop, version 1.31, to the NetBSD packages collection.
Cucipop, the Cubic Circle POP3 server, is a very small and fast server for
POP3 mail clients--far faster than UW's ipop3d. It does not support POP2,
but it does include support for the TOP extension to POP3, Content-Length:
headers, and APOP. It can be run from inetd or standalone.
Please note that this package is shareware.
This package is based on Todd Vierling's submission in PR pkg/4977, as well
as Jim Wise's submission in PR pkg/4910, which were put on hold until the
licence logic had been added to bsd.pkg.mk, but I've also updated this to
version 1.31, and fixed a few things in the compilation process.
1998-07-21 13:39:54 +02:00
|
|
|
|
2005-08-20 21:16:21 +02:00
|
|
|
REQD_DIRS+= ${PREFIX}/share/cucipop/bulletins
|
2007-06-19 23:07:42 +02:00
|
|
|
|
|
|
|
# cucipop(8) needs to be able to create dotlocks in the mail spool
|
|
|
|
# directory. The appropriate permissions should be set on sbin/cucipop
|
|
|
|
# so that it can do this.
|
|
|
|
#
|
2010-02-19 20:22:33 +01:00
|
|
|
SPECIAL_PERMS+= ${PREFIX}/sbin/cucipop ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 2555
|
2004-01-26 11:51:44 +01:00
|
|
|
|
2007-06-19 23:07:42 +02:00
|
|
|
# XXX TODO:
|
|
|
|
# XXX
|
|
|
|
# XXX (1) sbin/cucipop doesn't need to be setid anything if the mail spool
|
|
|
|
# XXX is world-writable.
|
|
|
|
# XXX (2) Needs to honor ${PKG_SYSCONFDIR} for location of vpop.db.
|
|
|
|
# XXX It currently looks in SENDMAILLIB == /etc/mail.
|
|
|
|
# XXX (3) It needs to use _PATH_MAILDIR from <paths.h> if available
|
|
|
|
# XXX instead of hardcoding /var/mail.
|
|
|
|
#
|
|
|
|
|
2004-09-02 12:39:04 +02:00
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.cucipop
|
2005-06-01 16:37:31 +02:00
|
|
|
PKG_SUPPORTED_OPTIONS= db inet6
|
2012-06-12 17:45:54 +02:00
|
|
|
PKG_SUGGESTED_OPTIONS= inet6
|
2004-09-02 12:39:04 +02:00
|
|
|
|
2004-11-15 16:13:12 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
2004-09-02 12:39:04 +02:00
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
2011-11-01 15:47:09 +01:00
|
|
|
.if ${OPSYS} != "MirBSD"
|
|
|
|
LIBS+= -lcrypt
|
|
|
|
.endif
|
|
|
|
|
2004-09-02 12:39:04 +02:00
|
|
|
.if !empty(PKG_OPTIONS:Mdb)
|
|
|
|
BDB_ACCEPTED= db2
|
|
|
|
CFLAGS+= -DUSE_DB
|
2011-11-01 15:47:09 +01:00
|
|
|
LIBS+= ${BDB_LIBS}
|
2004-11-15 16:34:16 +01:00
|
|
|
. include "../../mk/bdb.buildlink3.mk"
|
2004-09-02 12:39:04 +02:00
|
|
|
.endif
|
|
|
|
|
2011-11-01 15:47:09 +01:00
|
|
|
MAKE_ENV+= LIBS=${LIBS:Q}
|
|
|
|
|
2005-06-01 16:37:31 +02:00
|
|
|
.if !empty(PKG_OPTIONS:Minet6)
|
2000-11-22 14:05:58 +01:00
|
|
|
MAKE_ENV+= CFLAGS_INET6=-DINET6
|
|
|
|
.endif
|
|
|
|
|
2004-11-15 16:13:12 +01:00
|
|
|
LDFLAGS.SunOS+= -lnsl -lsocket
|
2002-08-21 09:20:14 +02:00
|
|
|
|
2007-06-20 04:22:33 +02:00
|
|
|
SUBST_CLASSES+= prefix
|
|
|
|
SUBST_STAGE.prefix= post-configure
|
|
|
|
SUBST_MESSAGE.prefix= Fixing prefix definitions.
|
|
|
|
SUBST_FILES.prefix= cucipop.8 makevpopdb.8
|
|
|
|
SUBST_SED.prefix= -e "s|@prefix@|${PREFIX}|g"
|
|
|
|
|
2007-01-07 10:13:46 +01:00
|
|
|
INSTALLATION_DIRS= ${PKGMANDIR}/man8 sbin
|
Addition of cucipop, version 1.31, to the NetBSD packages collection.
Cucipop, the Cubic Circle POP3 server, is a very small and fast server for
POP3 mail clients--far faster than UW's ipop3d. It does not support POP2,
but it does include support for the TOP extension to POP3, Content-Length:
headers, and APOP. It can be run from inetd or standalone.
Please note that this package is shareware.
This package is based on Todd Vierling's submission in PR pkg/4977, as well
as Jim Wise's submission in PR pkg/4910, which were put on hold until the
licence logic had been added to bsd.pkg.mk, but I've also updated this to
version 1.31, and fixed a few things in the compilation process.
1998-07-21 13:39:54 +02:00
|
|
|
|
2004-01-26 11:51:44 +01:00
|
|
|
do-install:
|
2008-03-04 18:57:17 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/cucipop ${DESTDIR}${PREFIX}/sbin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/makevpopdb ${DESTDIR}${PREFIX}/sbin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/cucipop.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/makevpopdb.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
|
2004-01-26 11:51:44 +01:00
|
|
|
|
Addition of cucipop, version 1.31, to the NetBSD packages collection.
Cucipop, the Cubic Circle POP3 server, is a very small and fast server for
POP3 mail clients--far faster than UW's ipop3d. It does not support POP2,
but it does include support for the TOP extension to POP3, Content-Length:
headers, and APOP. It can be run from inetd or standalone.
Please note that this package is shareware.
This package is based on Todd Vierling's submission in PR pkg/4977, as well
as Jim Wise's submission in PR pkg/4910, which were put on hold until the
licence logic had been added to bsd.pkg.mk, but I've also updated this to
version 1.31, and fixed a few things in the compilation process.
1998-07-21 13:39:54 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|