summaryrefslogtreecommitdiff
path: root/security/cmd5checkpw
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2003-09-09 15:07:53 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2003-09-09 15:07:53 +0000
commitfe30368f644eb09aef8eb9fbe217e25efbfe4def (patch)
tree3ee6f2727a6aeef22d74faeffbf5d17d6b55f87b /security/cmd5checkpw
parentUpdate modules: mount-1.100-8, samba-1.100-6, squid-1.100-5. (diff)
New port: a checkpassword compatible authentication
program that uses CRAM-MD5 authentication mode. Submitted by: Clement Laforet <sheepkiller@cultdeadsheep.org> PR: 56598
Notes
Notes: svn path=/head/; revision=88863
Diffstat (limited to 'security/cmd5checkpw')
-rw-r--r--security/cmd5checkpw/Makefile40
-rw-r--r--security/cmd5checkpw/distinfo1
-rw-r--r--security/cmd5checkpw/pkg-descr6
-rw-r--r--security/cmd5checkpw/pkg-plist9
4 files changed, 56 insertions, 0 deletions
diff --git a/security/cmd5checkpw/Makefile b/security/cmd5checkpw/Makefile
new file mode 100644
index 000000000000..7265f69b905b
--- /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 000000000000..b0b90a2c84da
--- /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 000000000000..3c3409443f51
--- /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 000000000000..75b84ff2372b
--- /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%%