1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

Update to 1.4

PR:		32209
Submitted by:	maintainer
This commit is contained in:
Patrick Li 2001-11-23 05:41:25 +00:00
parent 6abce359e6
commit f010f9c4c1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=50399
5 changed files with 17 additions and 33 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= ipfw-graph
PORTVERSION= 1.3
PORTVERSION= 1.4
CATEGORIES= net
MASTER_SITES= http://www.mavetju.org/download/
@ -17,4 +17,7 @@ MAKE_ENV+= MANPREFIX="${MANPREFIX}"
MAN8= ipfw-al.8 ipfw-graph.8
pre-patch:
@${PERL} -pi -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/ipfw-graph.h
.include <bsd.port.mk>

View File

@ -1 +1 @@
MD5 (ipfw-graph-1.3.tar.gz) = d624be15caf4f0f5401658138ad04850
MD5 (ipfw-graph-1.4.tar.gz) = 44a1a43ad982fe976bca9608deaeb5d9

View File

@ -1,31 +1,23 @@
--- Makefile.orig Fri Nov 16 02:46:59 2001
+++ Makefile Sat Nov 17 15:56:24 2001
@@ -2,12 +2,11 @@
# $Id: Makefile,v 1.8 2001/11/16 04:46:20 mavetju Exp $
--- Makefile.orig Thu Nov 22 23:12:38 2001
+++ Makefile Fri Nov 23 00:33:25 2001
@@ -2,7 +2,6 @@
# $Id: Makefile,v 1.10 2001/11/23 04:09:03 mavetju Exp $
#
-CC = gcc
-OPT_C = -c -Wall -g
+OPT_C = -c -Wall -g $(CFLAGS)
-GTK_CONFIG ?= gtk12-config
OPT_C = -c -Wall -g $(CFLAGS)
OPT_L = -g
-GTK_C = `gtk12-config --cflags`
-GTK_L = `gtk12-config --libs`
+GTK_C = `${GTK_CONFIG} --cflags`
+GTK_L = `${GTK_CONFIG} --libs`
OFILES = ipfw-core.o ipfw-data.o ipfw-gtk.o ipfw-default.o ipfw-log.o \
ipfw-linear.o ipfw-allowonly.o ipfw-denyonly.o
@@ -38,7 +37,8 @@
@@ -39,7 +38,8 @@
rm /usr/local/man/man8/ipfw-graph.8
install:
- install -o root -g wheel -m 4755 ipfw-al /usr/local/sbin
- install -o root -g wheel -m 4755 ipfw-al /usr/local/bin
- install -o root -g wheel -m 0755 ipfw-graph /usr/local/bin
- install -o root -g wheel -m 0644 ipfw-al.8 /usr/local/man/man8
- install -o root -g wheel -m 0644 ipfw-graph.8 /usr/local/man/man8
+ ${BSD_INSTALL_PROGRAM} ipfw-al ${PREFIX}/sbin
+ chmod u+s ${PREFIX}/sbin/ipfw-al
+ ${BSD_INSTALL_PROGRAM} ipfw-al ${PREFIX}/bin
+ chmod u+s ${PREFIX}/bin/ipfw-al
+ ${BSD_INSTALL_PROGRAM} ipfw-graph ${PREFIX}/bin
+ ${BSD_INSTALL_MAN} ipfw-al.8 ${MANPREFIX}/man/man8
+ ${BSD_INSTALL_MAN} ipfw-graph.8 ${MANPREFIX}/man/man8

View File

@ -1,11 +0,0 @@
--- ipfw-gtk.c.orig Sat Nov 17 15:50:05 2001
+++ ipfw-gtk.c Sat Nov 17 15:50:14 2001
@@ -230,7 +230,7 @@
// text_area=gtk_label_new("blaat");
text_area=gtk_entry_new();
- gtk_entry_set_text(text_area,"blaat");
+ gtk_entry_set_text((GtkEntry *)text_area,"blaat");
gtk_box_pack_start(GTK_BOX(vbox),text_area,FALSE,FALSE,0);
gtk_widget_show(text_area);

View File

@ -1,2 +1,2 @@
bin/ipfw-graph
sbin/ipfw-al
bin/ipfw-al