diff options
author | osa <osa@FreeBSD.org> | 2003-09-09 23:07:53 +0800 |
---|---|---|
committer | osa <osa@FreeBSD.org> | 2003-09-09 23:07:53 +0800 |
commit | 8965eb2a683306098a5eba35a8c381dbe05fe75d (patch) | |
tree | eef6bc1f0f875bf7e342b0b0aacf724f28f2ce74 /security/cmd5checkpw | |
parent | 8e6ac4a8e349edd6f34721d14bb28f2c89079047 (diff) | |
download | freebsd-ports-graphics-8965eb2a683306098a5eba35a8c381dbe05fe75d.tar.gz freebsd-ports-graphics-8965eb2a683306098a5eba35a8c381dbe05fe75d.tar.zst freebsd-ports-graphics-8965eb2a683306098a5eba35a8c381dbe05fe75d.zip |
New port: a checkpassword compatible authentication
program that uses CRAM-MD5 authentication mode.
Submitted by: Clement Laforet <sheepkiller@cultdeadsheep.org>
PR: 56598
Diffstat (limited to 'security/cmd5checkpw')
-rw-r--r-- | security/cmd5checkpw/Makefile | 40 | ||||
-rw-r--r-- | security/cmd5checkpw/distinfo | 1 | ||||
-rw-r--r-- | security/cmd5checkpw/pkg-descr | 6 | ||||
-rw-r--r-- | security/cmd5checkpw/pkg-plist | 9 |
4 files changed, 56 insertions, 0 deletions
diff --git a/security/cmd5checkpw/Makefile b/security/cmd5checkpw/Makefile new file mode 100644 index 00000000000..7265f69b905 --- /dev/null +++ b/security/cmd5checkpw/Makefile @@ -0,0 +1,40 @@ +# New ports collection makefile for: cmd5checkpw +# Date created: 8 Sep 2003 +# Whom: Clement Laforet <sheepkiller@cultdeadsheep.org> +# +# $FreeBSD$ +# + +PORTNAME= cmd5checkpw +PORTVERSION= 0.22 +CATEGORIES= security +MASTER_SITES= http://members.elysium.pl/brush/cmd5checkpw/dist/ + +MAINTAINER= sheepkiller@cultdeadsheep.org +COMMENT= Checkpassword compatible authentication program that uses CRAM-MD5 + +USE_REINPLACE= yes + +MAN8= cmd5checkpw.8 + +DOCS_FILES= CHANGES CREDITS INSTALL README rfc1321.txt rfc2104.txt + +post-patch: + @${REINPLACE_CMD} -e 's|/etc/poppasswd|${LOCALBASE}/etc/poppasswd|' \ + ${WRKSRC}/main.c + @${REINPLACE_CMD} -e 's|^\(CC\)|#\1|; s|^\(CFLAGS\)|#\1|; \ + s|LD=gcc|LD=$${CC}|; s|LDFLAGS=-g|LDFLAGS=$${CFLAGS} ${LDFLAGS}|;' \ + ${WRKSRC}/Makefile + +do-install: + @${INSTALL_PROGRAM} ${WRKSRC}/cmd5checkpw ${LOCALBASE}/bin + @${INSTALL_DATA} ${WRKSRC}/poppasswd ${LOCALBASE}/etc/poppasswd.dist + @${INSTALL_MAN} ${WRKSRC}/cmd5checkpw.8 ${MANPREFIX}/man/man8 +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +. for f in ${DOCS_FILES} + @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} +. endfor +.endif + +.include <bsd.port.mk> diff --git a/security/cmd5checkpw/distinfo b/security/cmd5checkpw/distinfo new file mode 100644 index 00000000000..b0b90a2c84d --- /dev/null +++ b/security/cmd5checkpw/distinfo @@ -0,0 +1 @@ +MD5 (cmd5checkpw-0.22.tar.gz) = 40092caf3608cbc8bd23220b2b28cb52 diff --git a/security/cmd5checkpw/pkg-descr b/security/cmd5checkpw/pkg-descr new file mode 100644 index 00000000000..3c3409443f5 --- /dev/null +++ b/security/cmd5checkpw/pkg-descr @@ -0,0 +1,6 @@ +cmd5checkpw is a checkpassword compatible authentication program that uses +CRAM-MD5 authentication mode. It was designed primary to work with qmail +but it can be used by any other program that knows how to use checkpassword +compatible authentication. + +WWW: http://members.elysium.pl/brush/cmd5checkpw/ diff --git a/security/cmd5checkpw/pkg-plist b/security/cmd5checkpw/pkg-plist new file mode 100644 index 00000000000..75b84ff2372 --- /dev/null +++ b/security/cmd5checkpw/pkg-plist @@ -0,0 +1,9 @@ +bin/cmd5checkpw +etc/poppasswd.dist +%%PORTDOCS%%%%DOCSDIR%%/CHANGES +%%PORTDOCS%%%%DOCSDIR%%/CREDITS +%%PORTDOCS%%%%DOCSDIR%%/INSTALL +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/rfc1321.txt +%%PORTDOCS%%%%DOCSDIR%%/rfc2104.txt +%%PORTDOCS%%@dirrm %%DOCSDIR%% |