Date: Wed, 7 Jan 2004 22:49:42 +0100 From: "Stefan Ehmann" <shoesoft@gmx.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/61058: update port: net/gift 0.11.4 -> 0.11.5 Message-ID: <1073512181@shoeserv.freebsd> Resent-Message-ID: <200401080700.i0870WTj008007@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 61058 >Category: ports >Synopsis: update port: net/gift 0.11.4 -> 0.11.5 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jan 07 23:00:32 PST 2004 >Closed-Date: >Last-Modified: >Originator: Stefan Ehmann >Release: FreeBSD 5.2-CURRENT i386 >Organization: >Environment: System: FreeBSD shoeserv.freebsd 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Tue Jan 6 18:48:09 CET 2004 Shoe@shoeserv.freebsd:/usr/obj/usr/src/sys/SHOE i386 >Description: updates net/gift 0.11.4 -> 0.11.5 add current Changelog to portsdocs (instead of obsolete) Add a little patch that should fix gift-setup for some perl versions (e.g the one used in stable). Actually I have no idea what the patch actually does but it seemed to work in a quick test (I got some hints mailed). >How-To-Repeat: >Fix: --- gift-patch begins here --- diff -ruN gift.bak/Makefile gift/Makefile --- gift.bak/Makefile Sun Jan 4 17:42:45 2004 +++ gift/Makefile Sun Jan 4 17:40:53 2004 @@ -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 @@ MAN1= giftd.1 -DOC_FILES= AUTHORS COPYING ChangeLog \ +DOC_FILES= AUTHORS COPYING src/ChangeLog \ INSTALL NEWS QUICKSTART README TODO post-patch: diff -ruN gift.bak/distinfo gift/distinfo --- gift.bak/distinfo Sun Jan 4 17:42:45 2004 +++ gift/distinfo Sun Jan 4 17:41:09 2004 @@ -1 +1 @@ -MD5 (gift-0.11.4.tar.bz2) = decc82159c6723be999b1306a808077f +MD5 (gift-0.11.5.tar.bz2) = f492b6e3607aed801b77657f3808f5c1 diff -ruN gift.bak/files/patch-gift-setup.in gift/files/patch-gift-setup.in --- gift.bak/files/patch-gift-setup.in Thu Jan 1 01:00:00 1970 +++ gift/files/patch-gift-setup.in Sun Jan 4 18:12:02 2004 @@ -0,0 +1,68 @@ +--- 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; + } --- gift-patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1073512181>