aboutsummaryrefslogtreecommitdiff
path: root/security
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
parent55ebffb990f99d35651341e4c00fd886b2c00697 (diff)
downloadports-fe30368f644eb09aef8eb9fbe217e25efbfe4def.tar.gz
ports-fe30368f644eb09aef8eb9fbe217e25efbfe4def.zip
Notes
Diffstat (limited to 'security')
-rw-r--r--security/Makefile1
-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
5 files changed, 57 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index 2afd7f7cc109..96a5d0218042 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -39,6 +39,7 @@
SUBDIR += cksfv
SUBDIR += clamav
SUBDIR += clamav-devel
+ SUBDIR += cmd5checkpw
SUBDIR += cops
SUBDIR += cp2fwb
SUBDIR += crack
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%%