aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/gift
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2004-01-09 04:50:47 +0000
committerPete Fritchman <petef@FreeBSD.org>2004-01-09 04:50:47 +0000
commit1966c20f457ee65dc1c46d2e53986e2091e999ac (patch)
tree62175365a6ad48e5e3828ac5d12b3c2d1c849a23 /net-p2p/gift
parent0ef6bdcfb56f47378cf777e70862089c42f5556a (diff)
downloadports-1966c20f457ee65dc1c46d2e53986e2091e999ac.tar.gz
ports-1966c20f457ee65dc1c46d2e53986e2091e999ac.zip
Notes
Diffstat (limited to 'net-p2p/gift')
-rw-r--r--net-p2p/gift/Makefile5
-rw-r--r--net-p2p/gift/distinfo2
-rw-r--r--net-p2p/gift/files/patch-gift-setup.in70
3 files changed, 73 insertions, 4 deletions
diff --git a/net-p2p/gift/Makefile b/net-p2p/gift/Makefile
index e37efbcfa1ce..cf3d9be6c80c 100644
--- a/net-p2p/gift/Makefile
+++ b/net-p2p/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-p2p/gift/distinfo b/net-p2p/gift/distinfo
index 2ac7b37c8ed3..f46053fe7431 100644
--- a/net-p2p/gift/distinfo
+++ b/net-p2p/gift/distinfo
@@ -1 +1 @@
-MD5 (gift-0.11.4.tar.bz2) = decc82159c6723be999b1306a808077f
+MD5 (gift-0.11.5.tar.bz2) = f492b6e3607aed801b77657f3808f5c1
diff --git a/net-p2p/gift/files/patch-gift-setup.in b/net-p2p/gift/files/patch-gift-setup.in
new file mode 100644
index 000000000000..dab0fc1c9640
--- /dev/null
+++ b/net-p2p/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;
+ }