Index: head/irc/bnc/Makefile =================================================================== --- head/irc/bnc/Makefile (revision 528690) +++ head/irc/bnc/Makefile (revision 528691) @@ -1,35 +1,37 @@ # Created by: Bill Fumerola # $FreeBSD$ PORTNAME= bnc PORTVERSION= 2.9.4 CATEGORIES= irc MASTER_SITES= http://home.risingnet.net/download/ \ http://bnc.acmeshells.com/ \ - http://www.sourcefiles.org/System/Servers/ + http://www.sourcefiles.org/System/Servers/ \ + https://BSDforge.com/projects/source/irc/bnc/ DISTNAME= ${PORTNAME}${PORTVERSION} MAINTAINER= douglas@t2web.com.br COMMENT= Simple IRC relay proxy with support for virtual hosting -BROKEN= unfetchable +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING GNU_CONFIGURE= yes DOCS= COPYING Changelog README example.conf BINS= bnc mkpasswd SCRIPTS= bncchk bncsetup OPTIONS_DEFINE= DOCS post-patch: ${SED} -e 's,@PREFIX@,${PREFIX},g' ${WRKSRC}/bncsetup do-install: ${INSTALL_PROGRAM} ${BINS:S,^,${WRKSRC}/,} ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${SCRIPTS:S,^,${WRKSRC}/,} ${STAGEDIR}${PREFIX}/bin ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/ ${INSTALL_DATA} ${WRKSRC}/example.conf ${STAGEDIR}${PREFIX}/etc/bnc.conf.sample .include Index: head/irc/bnc/distinfo =================================================================== --- head/irc/bnc/distinfo (revision 528690) +++ head/irc/bnc/distinfo (revision 528691) @@ -1,2 +1,3 @@ +TIMESTAMP = 1584519305 SHA256 (bnc2.9.4.tar.gz) = af0e95c97feb1f2d231c570a658be8e42a91aafab6e6dfeb04b7e9fcc360b74b SIZE (bnc2.9.4.tar.gz) = 76896 Index: head/irc/bnc/files/patch-Makefile.in =================================================================== --- head/irc/bnc/files/patch-Makefile.in (revision 528690) +++ head/irc/bnc/files/patch-Makefile.in (revision 528691) @@ -1,11 +1,11 @@ ---- Makefile.in.orig Fri Jun 15 14:29:22 2001 -+++ Makefile.in Fri Jun 15 14:29:40 2001 -@@ -6,7 +6,7 @@ - STRIP = strip - CC = gcc +--- Makefile.in.orig 2005-01-26 04:15:06 UTC ++++ Makefile.in +@@ -2,7 +2,7 @@ LIBS=@LIBS@ + CFLAGS=-O3 -Wall -include config.h + CC=@CC@ -ALL: bnc mkpasswd +all: bnc mkpasswd mkpasswd:mkpasswd.c - ${CC} ${OPTS} ${COPT} ${LIBS} -o mkpasswd mkpasswd.c + ${CC} ${CFLAGS} -o mkpasswd mkpasswd.c ${LIBS} Index: head/irc/bnc/files/patch-bncsetup =================================================================== --- head/irc/bnc/files/patch-bncsetup (revision 528690) +++ head/irc/bnc/files/patch-bncsetup (revision 528691) @@ -1,37 +1,37 @@ ---- bncsetup.orig Wed Mar 17 07:31:19 1999 -+++ bncsetup Thu Mar 18 01:51:47 1999 -@@ -12,15 +12,9 @@ - exit $1 +--- bncsetup.orig 2005-02-07 01:51:06 UTC ++++ bncsetup +@@ -91,15 +91,9 @@ altconf() + } -if ! [ -e ./mkpasswd ] -then - echo "You need to Make the package before you can use this script" - echo "(required ./mkpasswd)" - bsclean 0 -fi echo "BAD\$" > $TMPFILE -echo "Test" | ./mkpasswd -s >> $TMPFILE +echo "Test" | mkpasswd -s >> $TMPFILE CRCYS=$(cat $TMPFILE | grep '\$' | tail -1 ) -@@ -149,13 +143,13 @@ +@@ -244,13 +238,13 @@ ERRORLEVEL=$? if [ x$ERRORLEVEL = x0 ] then - if [ -x ./mkpasswd ] + if [ -x @PREFIX@/bin/mkpasswd ] then - SUPERPASS="+"$(echo "$SUPERPASS" | ./mkpasswd -s) - BNCPASS="+"$(echo "$BNCPASS" | ./mkpasswd -s) + SUPERPASS="+"$(echo "$SUPERPASS" | mkpasswd -s) + BNCPASS="+"$(echo "$BNCPASS" | mkpasswd -s) else clear - echo "You have not did ./configure and make so there is no ./mkpasswd" + echo "You have not did ./configure and make so there is no mkpasswd" echo "This program is required to produce the encryption" bsclean 0 fi