1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

- 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
This commit is contained in:
Pete Fritchman 2004-01-09 04:50:47 +00:00
parent 0ef6bdcfb5
commit 1966c20f45
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=97738
6 changed files with 146 additions and 8 deletions

View File

@ -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:

View File

@ -1 +1 @@
MD5 (gift-0.11.4.tar.bz2) = decc82159c6723be999b1306a808077f
MD5 (gift-0.11.5.tar.bz2) = f492b6e3607aed801b77657f3808f5c1

View File

@ -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;
}

View File

@ -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:

View File

@ -1 +1 @@
MD5 (gift-0.11.4.tar.bz2) = decc82159c6723be999b1306a808077f
MD5 (gift-0.11.5.tar.bz2) = f492b6e3607aed801b77657f3808f5c1

View File

@ -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;
}