diff options
author | wiz <wiz@pkgsrc.org> | 2000-04-02 01:32:28 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2000-04-02 01:32:28 +0000 |
commit | 36b529f52736fa6e4fb5fb90398b85257f9ce7c5 (patch) | |
tree | 67dcf914e60a3637202663f8b4f80a7e88361359 /mail/popa3d/Makefile | |
parent | f955b05eb495b7f57ab368a57d2338cf2b4eefba (diff) | |
download | pkgsrc-36b529f52736fa6e4fb5fb90398b85257f9ce7c5.tar.gz |
Initial import of popa3d, a small, performant, reliable, and secure
pop3 daemon.
Diffstat (limited to 'mail/popa3d/Makefile')
-rw-r--r-- | mail/popa3d/Makefile | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/mail/popa3d/Makefile b/mail/popa3d/Makefile new file mode 100644 index 00000000000..c84f20e6ef9 --- /dev/null +++ b/mail/popa3d/Makefile @@ -0,0 +1,40 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/04/02 01:32:28 wiz Exp $ +# + +DISTNAME= popa3d-0.4 +CATEGORIES= mail +MASTER_SITES= http://www.openwall.com/popa3d/ \ + ftp://ftp.openwall.com/popa3d/ \ + ftp://ftp.false.com/pub/security/popa3d/ + +MAINTAINER= wiz@netbsd.org +HOMEPAGE= http://www.openwall.com/popa3d/ + +.if exists(/usr/sbin/user) +USER_CMD= /usr/sbin/user +GROUP_CMD= /usr/sbin/group +.else +DEPENDS+= user>=20000313:../../sysutils/user +USER_CMD= ${LOCALBASE}/sbin/user +GROUP_CMD= ${LOCALBASE}/sbin/group +.endif + +do-install: + @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 + ${INSTALL_PROGRAM} -o popa3d -g popa3d -m 700 ${WRKSRC}/popa3d \ + ${PREFIX}/libexec + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/popa3d + cd ${WRKSRC} && ${INSTALL_DATA} COPYING DESIGN INSTALL \ + ${PREFIX}/share/doc/popa3d + +.include "../../mk/bsd.pkg.mk" |