summaryrefslogtreecommitdiff
path: root/irc/muh
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2006-02-06 21:44:53 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2006-02-06 21:44:53 +0000
commit3ffec1c851b7786c4b558a21101da125f9bef0ef (patch)
tree2caac7e23d44727aa18ef3346428bc354b4c2c7e /irc/muh
parentUpdate to DAT 4690 (diff)
fix password checking if the crypted password is 28 chars long and not 13
update PORTREVISION
Notes
Notes: svn path=/head/; revision=155376
Diffstat (limited to 'irc/muh')
-rw-r--r--irc/muh/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/irc/muh/Makefile b/irc/muh/Makefile
index 6a3a72a6ff64..f2a24eb3dca2 100644
--- a/irc/muh/Makefile
+++ b/irc/muh/Makefile
@@ -7,7 +7,7 @@
PORTNAME= muh
PORTVERSION= 2.2
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= irc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=muh
@@ -24,6 +24,8 @@ CONFIGURE_ARGS= "--enable-ipv6"
post-patch:
@${REINPLACE_CMD} -e "s|=muh|=${PREFIX}/bin/muh|g" ${WRKSRC}/misc/muh-check
+ @${REINPLACE_CMD} -e "s/if( strlen( cfg.password ) == 13 /& || strlen( cfg.password ) == 28/" \
+ ${WRKSRC}/src/muh.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/muh ${PREFIX}/bin