aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2004-01-09 12:50:47 +0800
committerpetef <petef@FreeBSD.org>2004-01-09 12:50:47 +0800
commit5bff6b01a084a69077d3a86357c30a8216099c5d (patch)
tree1fd54e094daa92f939c16d6f5e6b22b39529da05 /net
parent22045f2849ebf3205097a797b5b739361e1f65cb (diff)
downloadfreebsd-ports-gnome-5bff6b01a084a69077d3a86357c30a8216099c5d.tar.gz
freebsd-ports-gnome-5bff6b01a084a69077d3a86357c30a8216099c5d.tar.zst
freebsd-ports-gnome-5bff6b01a084a69077d3a86357c30a8216099c5d.zip
- update to 0.11.5
- install the correct ChangeLog - add a patch so we have a better chance of working with 4.x Perl PR: 61058 Submitted by: maintainer
Diffstat (limited to 'net')
-rw-r--r--net/gift/Makefile5
-rw-r--r--net/gift/distinfo2
-rw-r--r--net/gift/files/patch-gift-setup.in70
3 files changed, 73 insertions, 4 deletions
diff --git a/net/gift/Makefile b/net/gift/Makefile
index e37efbcfa1ce..cf3d9be6c80c 100644
--- a/net/gift/Makefile
+++ b/net/gift/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= giFT
-PORTVERSION= 0.11.4
-PORTREVISION= 2
+PORTVERSION= 0.11.5
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME:L}
@@ -38,7 +37,7 @@ CONFIGURE_ARGS= --enable-libmagic
MAN1= giftd.1
-DOC_FILES= AUTHORS COPYING ChangeLog \
+DOC_FILES= AUTHORS COPYING src/ChangeLog \
INSTALL NEWS QUICKSTART README TODO
post-patch:
diff --git a/net/gift/distinfo b/net/gift/distinfo
index 2ac7b37c8ed3..f46053fe7431 100644
--- a/net/gift/distinfo
+++ b/net/gift/distinfo
@@ -1 +1 @@
-MD5 (gift-0.11.4.tar.bz2) = decc82159c6723be999b1306a808077f
+MD5 (gift-0.11.5.tar.bz2) = f492b6e3607aed801b77657f3808f5c1
diff --git a/net/gift/files/patch-gift-setup.in b/net/gift/files/patch-gift-setup.in
new file mode 100644
index 000000000000..dab0fc1c9640
--- /dev/null
+++ b/net/gift/files/patch-gift-setup.in
@@ -0,0 +1,70 @@
+$FreeBSD$
+
+--- gift-setup.in.orig Tue Dec 23 05:22:52 2003
++++ gift-setup.in Sun Jan 4 18:11:01 2004
+@@ -338,31 +338,31 @@
+ my ($path_cfg_dir) = $path_cfg =~ m/^(.*)\/[^\/]+$/;
+ mkdir ($path_cfg_dir, 0755) unless (-d $path_cfg_dir);
+
+- open (my $fcfg, ">$path_cfg") or
++ open (fcfg, ">$path_cfg") or
+ die "Cannot open $path_cfg: $!";
+
+- open (my $ftpl, $path_tpl) or
++ open (ftpl, $path_tpl) or
+ die "Cannot open $path_tpl: $!";
+
+ my $cfg_hdr;
+
+- while (<$ftpl>)
++ while (<ftpl>)
+ {
+ $cfg_hdr = $1 if m/^\[(\w+)\]$/;
+
+ if (m/^\#?(\w+) =\s?(.*)$/)
+ {
+ die unless defined $cfg_hdr;
+- printf $fcfg ("%s = %s\n", $1, $cfg_tbl->{"/$cfg_hdr/$1"});
++ printf fcfg ("%s = %s\n", $1, $cfg_tbl->{"/$cfg_hdr/$1"});
+ }
+ else
+ {
+- print $fcfg $_;
++ print fcfg $_;
+ }
+ }
+
+- close $fcfg;
+- close $ftpl;
++ close fcfg;
++ close ftpl;
+
+ printf ("Wrote %s.\n", $path_cfg);
+ }
+@@ -376,7 +376,7 @@
+ my $cfg_ent = {};
+ my $cfg_hdr = undef;
+
+- open (my $fhandle, $template) or
++ open (fhandle, $template) or
+ die "Cannot open $template: $!";
+
+ #
+@@ -387,7 +387,7 @@
+ #
+ my $reading = 0;
+
+- while (<$fhandle>)
++ while (<fhandle>)
+ {
+ $cfg_hdr = $1 if m/^\[(\w+)\]$/;
+
+@@ -425,7 +425,7 @@
+ }
+ }
+
+- close $fhandle;
++ close fhandle;
+
+ return \@cfg_tbl;
+ }