aboutsummaryrefslogtreecommitdiffstats
path: root/irc
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2006-02-07 05:44:53 +0800
committeroliver <oliver@FreeBSD.org>2006-02-07 05:44:53 +0800
commit248098f9ab3873e8b5fff97450248ed4f1f5fa9d (patch)
tree033851154854b4321b34861d78a5ed9b98a183b3 /irc
parent68b723326c95fd8a6b51070bd172e0d7bf7f9b44 (diff)
downloadfreebsd-ports-gnome-248098f9ab3873e8b5fff97450248ed4f1f5fa9d.tar.gz
freebsd-ports-gnome-248098f9ab3873e8b5fff97450248ed4f1f5fa9d.tar.zst
freebsd-ports-gnome-248098f9ab3873e8b5fff97450248ed4f1f5fa9d.zip
fix password checking if the crypted password is 28 chars long and not 13
update PORTREVISION
Diffstat (limited to 'irc')
-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