irc/bnc: unbreak (make fetchable again)

Additionally:

 * add additional MASTER_SITES
 * add license info
 * rework patches (make makepach)

PR:	244638
Submitted by:	portmaster@bsdforge.com
Approved by:	douglas@t2web.com.br (maintainer, timeout)
This commit is contained in:
Fernando Apesteguía 2020-03-19 07:11:29 +00:00
parent 95ebc1c533
commit 8b304ef939
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=528691
4 changed files with 16 additions and 13 deletions

View file

@ -6,13 +6,15 @@ 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

View file

@ -1,2 +1,3 @@
TIMESTAMP = 1584519305
SHA256 (bnc2.9.4.tar.gz) = af0e95c97feb1f2d231c570a658be8e42a91aafab6e6dfeb04b7e9fcc360b74b
SIZE (bnc2.9.4.tar.gz) = 76896

View file

@ -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}

View file

@ -1,7 +1,7 @@
--- 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 ]
@ -17,7 +17,7 @@
CRCYS=$(cat $TMPFILE | grep '\$' | tail -1 )
@@ -149,13 +143,13 @@
@@ -244,13 +238,13 @@ ERRORLEVEL=$?
if [ x$ERRORLEVEL = x0 ]
then