Skip site navigation (1)Skip section navigation (2)
Date:      Mon,  8 Sep 2003 18:55:40 +0200
From:      Clement Laforet <sheepkiller@cultdeadsheep.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        "Laforet <sheepkiller"@cultdeadsheep.org
Subject:   ports/56598: [new port] mail/cmd5checkpw: a checkpassword compatible authentication program that uses CRAM-MD5 authentication mode 
Message-ID:  <20030908165537.0931B43FEA@mx1.FreeBSD.org>
Resent-Message-ID: <200309081700.h88H0UOJ090376@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         56598
>Category:       ports
>Synopsis:       [new port] mail/cmd5checkpw: a checkpassword compatible authentication program that uses CRAM-MD5 authentication mode
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 08 10:00:29 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Clement Laforet
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
cotds.org 
>Environment:
System: FreeBSD lucifer.cultdeadsheep.org 5.1-CURRENT FreeBSD 5.1-CURRENT #2: Mon Sep 1 10:07:15 CEST 2003 root@lucifer.cultdeadsheep.org:/usr/obj/usr/src/sys/LUCIFER i386


	
>Description:
	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/

>How-To-Repeat:
	N/A.
>Fix:

	

--- cmd5checkpw.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	cmd5checkpw
#	cmd5checkpw/Makefile
#	cmd5checkpw/distinfo
#	cmd5checkpw/files
#	cmd5checkpw/files/patch-main.c
#	cmd5checkpw/pkg-plist
#	cmd5checkpw/pkg-descr
#
echo c - cmd5checkpw
mkdir -p cmd5checkpw > /dev/null 2>&1
echo x - cmd5checkpw/Makefile
sed 's/^X//' >cmd5checkpw/Makefile << 'END-of-cmd5checkpw/Makefile'
X# New ports collection makefile for:	bind9-sdb-mysql
X# Date created:				8 Sep 2003
X# Whom:					Clement Laforet <sheepkiller@cultdeadsheep.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	cmd5checkpw
XPORTVERSION=	0.22
XCATEGORIES=	mail
XMASTER_SITES=	http://members.elysium.pl/brush/cmd5checkpw/dist/
X
XMAINTAINER=	sheepkiller@cultdeadsheep.org
XCOMMENT=	Checkpassword compatible authentication program that uses CRAM-MD5
X
XUSE_REINPLACE=	yes
X
XMAN8=		cmd5checkpw.8
X
XDOCS_FILES=	CHANGES CREDITS INSTALL README rfc1321.txt rfc2104.txt
X
Xpost-patch:
X	@${REINPLACE_CMD} -e "s|%%POPPASSWD_FILE%%|\"${LOCALBASE}/etc/poppasswd\"|" ${WRKSRC}/main.c
X
Xdo-install:
X	@${INSTALL_PROGRAM} ${WRKSRC}/cmd5checkpw ${LOCALBASE}/bin/
X	@${INSTALL_DATA} ${WRKSRC}/poppasswd ${LOCALBASE}/etc/poppasswd.dist
X	@${INSTALL_MAN}	${WRKSRC}/cmd5checkpw.8 ${MANPREFIX}/man/man8
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X.    for FILE in ${DOCS_FILES}
X	@${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
X.    endfor
X.endif
X
X.include <bsd.port.mk>
END-of-cmd5checkpw/Makefile
echo x - cmd5checkpw/distinfo
sed 's/^X//' >cmd5checkpw/distinfo << 'END-of-cmd5checkpw/distinfo'
XMD5 (cmd5checkpw-0.22.tar.gz) = 40092caf3608cbc8bd23220b2b28cb52
END-of-cmd5checkpw/distinfo
echo c - cmd5checkpw/files
mkdir -p cmd5checkpw/files > /dev/null 2>&1
echo x - cmd5checkpw/files/patch-main.c
sed 's/^X//' >cmd5checkpw/files/patch-main.c << 'END-of-cmd5checkpw/files/patch-main.c'
X--- main.c.orig	Mon Sep  8 15:33:56 2003
X+++ main.c	Mon Sep  8 15:34:29 2003
X@@ -7,7 +7,7 @@
X #include <unistd.h>
X 
X #define LINE_MAX 256
X-#define SMTP_PASSWD_FILE "/etc/poppasswd"
X+#define SMTP_PASSWD_FILE %%POPPASSWD_FILE%%
X char up[513];
X int uplen;
X static char hextab[]="0123456789abcdef";
END-of-cmd5checkpw/files/patch-main.c
echo x - cmd5checkpw/pkg-plist
sed 's/^X//' >cmd5checkpw/pkg-plist << 'END-of-cmd5checkpw/pkg-plist'
Xbin/cmd5checkpw
Xetc/poppasswd.dist
X%%PORTDOCS%%%%DOCSDIR%%/CHANGES
X%%PORTDOCS%%%%DOCSDIR%%/CREDITS
X%%PORTDOCS%%%%DOCSDIR%%/INSTALL
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%%%DOCSDIR%%/rfc1321.txt
X%%PORTDOCS%%%%DOCSDIR%%/rfc2104.txt
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-cmd5checkpw/pkg-plist
echo x - cmd5checkpw/pkg-descr
sed 's/^X//' >cmd5checkpw/pkg-descr << 'END-of-cmd5checkpw/pkg-descr'
Xcmd5checkpw is a checkpassword compatible authentication program that uses 
XCRAM-MD5 authentication mode. It was designed primary to work with qmail 
Xbut it can be used by any other program that knows how to use checkpassword 
Xcompatible authentication. 
X
XWWW: http://members.elysium.pl/brush/cmd5checkpw/
END-of-cmd5checkpw/pkg-descr
exit
--- cmd5checkpw.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030908165537.0931B43FEA>