aboutsummaryrefslogtreecommitdiffstats
path: root/net/morebalance
diff options
context:
space:
mode:
authorclement <clement@FreeBSD.org>2006-11-03 17:43:36 +0800
committerclement <clement@FreeBSD.org>2006-11-03 17:43:36 +0800
commit3cdc1d5dffc84d542bf032d5af0492ac5698b626 (patch)
treebe671fb82f3389cb05d965df22af0c59c4ba2ff6 /net/morebalance
parent33191db0b0431a2a76191c8311b372ed3fb48ece (diff)
downloadfreebsd-ports-gnome-3cdc1d5dffc84d542bf032d5af0492ac5698b626.tar.gz
freebsd-ports-gnome-3cdc1d5dffc84d542bf032d5af0492ac5698b626.tar.zst
freebsd-ports-gnome-3cdc1d5dffc84d542bf032d5af0492ac5698b626.zip
- Update to 0.4
Diffstat (limited to 'net/morebalance')
-rw-r--r--net/morebalance/Makefile3
-rw-r--r--net/morebalance/distinfo6
-rw-r--r--net/morebalance/files/patch-Makefile17
-rw-r--r--net/morebalance/files/patch-sys.c10
4 files changed, 14 insertions, 22 deletions
diff --git a/net/morebalance/Makefile b/net/morebalance/Makefile
index cfcb2584e543..a8f5830ac2bd 100644
--- a/net/morebalance/Makefile
+++ b/net/morebalance/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= morebalance
-PORTVERSION= 0.3
-PORTREVISION= 3
+PORTVERSION= 0.4
CATEGORIES= net
MASTER_SITES= http://morebalance.coolprojects.org/
diff --git a/net/morebalance/distinfo b/net/morebalance/distinfo
index 0f7f05eba0e0..5c9f10bc0943 100644
--- a/net/morebalance/distinfo
+++ b/net/morebalance/distinfo
@@ -1,3 +1,3 @@
-MD5 (morebalance-0.3.tar.gz) = 54067547d3ce92320edb0ac81e05b7e9
-SHA256 (morebalance-0.3.tar.gz) = afc198b995db47e21298821141a209384258e0c3fc034ebc142b35054131e632
-SIZE (morebalance-0.3.tar.gz) = 35825
+MD5 (morebalance-0.4.tar.gz) = 75bb77751f53e8841cbd10817a14c97c
+SHA256 (morebalance-0.4.tar.gz) = 7c9aeb1b334fc4875bd2d81f0cb96db21be917a032d49950d11ccb68d355b59f
+SIZE (morebalance-0.4.tar.gz) = 39137
diff --git a/net/morebalance/files/patch-Makefile b/net/morebalance/files/patch-Makefile
index eeade5ca46a4..5466f9d30b10 100644
--- a/net/morebalance/files/patch-Makefile
+++ b/net/morebalance/files/patch-Makefile
@@ -1,12 +1,15 @@
---- Makefile.orig Tue Jun 1 23:06:03 2004
-+++ Makefile Wed Jun 2 11:55:57 2004
-@@ -1,19 +1,14 @@
- VERSION = 0.3
+--- Makefile.orig Mon Apr 10 15:42:36 2006
++++ Makefile Fri Nov 3 10:19:18 2006
+@@ -1,20 +1,17 @@
+ VERSION = 0.4
-PCRE=-lpcre
-GNUTLS=-lggz -lgnutls
--
+-ZLIB=-lz
+
-CC = gcc
--CFLAGS = -Wall -O3 -ggdb3
+-CFLAGS += -Wall -O3 -ggdb3
++CC?= gcc
++CFLAGS += -Wall
OBJECTS = main.o conf.o sys.o magic.o server.o ipban.o filter.o
@@ -18,7 +21,7 @@
all: morebalance
morebalance: $(OBJECTS)
-- $(CC) -o $@ $(OBJECTS) -lpthread $(PCRE) $(GNUTLS)
+- $(CC) -o $@ $(OBJECTS) -lpthread $(PCRE) $(GNUTLS) $(ZLIB)
+ $(CC) -o $@ $(OBJECTS) $(CFLAGS) $(LDFLAGS)
clean:
diff --git a/net/morebalance/files/patch-sys.c b/net/morebalance/files/patch-sys.c
deleted file mode 100644
index 603abfa92a89..000000000000
--- a/net/morebalance/files/patch-sys.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- sys.c.orig Sat Oct 11 20:37:45 2003
-+++ sys.c Sat Oct 11 20:38:00 2003
-@@ -2,6 +2,7 @@
- #include "sys.h"
-
- /* System includes */
-+#include <sys/types.h>
- #include <netdb.h>
- #include <netinet/in.h>
- #include <stdlib.h>