aboutsummaryrefslogtreecommitdiff
path: root/irc
diff options
context:
space:
mode:
authorFernando ApesteguĂ­a <fernape@FreeBSD.org>2020-03-19 07:11:29 +0000
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2020-03-19 07:11:29 +0000
commit8b304ef939c0c17847672abe224a23ce13cde3cc (patch)
tree579784032e6128543cf97104b846fdc0c380fcad /irc
parent95ebc1c533e70edc269d17b11eaddf61cda1d4ff (diff)
downloadports-8b304ef939c0c17847672abe224a23ce13cde3cc.tar.gz
ports-8b304ef939c0c17847672abe224a23ce13cde3cc.zip
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)
Notes
Notes: svn path=/head/; revision=528691
Diffstat (limited to 'irc')
-rw-r--r--irc/bnc/Makefile6
-rw-r--r--irc/bnc/distinfo1
-rw-r--r--irc/bnc/files/patch-Makefile.in12
-rw-r--r--irc/bnc/files/patch-bncsetup10
4 files changed, 16 insertions, 13 deletions
diff --git a/irc/bnc/Makefile b/irc/bnc/Makefile
index d55fea48c2d3..58d1a02e1bf7 100644
--- a/irc/bnc/Makefile
+++ b/irc/bnc/Makefile
@@ -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
diff --git a/irc/bnc/distinfo b/irc/bnc/distinfo
index 58bacefebc2c..fc990dbfb36e 100644
--- a/irc/bnc/distinfo
+++ b/irc/bnc/distinfo
@@ -1,2 +1,3 @@
+TIMESTAMP = 1584519305
SHA256 (bnc2.9.4.tar.gz) = af0e95c97feb1f2d231c570a658be8e42a91aafab6e6dfeb04b7e9fcc360b74b
SIZE (bnc2.9.4.tar.gz) = 76896
diff --git a/irc/bnc/files/patch-Makefile.in b/irc/bnc/files/patch-Makefile.in
index affea756da23..11081be785dd 100644
--- a/irc/bnc/files/patch-Makefile.in
+++ b/irc/bnc/files/patch-Makefile.in
@@ -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}
diff --git a/irc/bnc/files/patch-bncsetup b/irc/bnc/files/patch-bncsetup
index 50da47e91227..886c6b6879d9 100644
--- a/irc/bnc/files/patch-bncsetup
+++ b/irc/bnc/files/patch-bncsetup
@@ -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