From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jan 7 23:00:57 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 489AD16A4CE for ; Wed, 7 Jan 2004 23:00:57 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BDAB843D58 for ; Wed, 7 Jan 2004 23:00:32 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i0870WFR008008 for ; Wed, 7 Jan 2004 23:00:32 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i0870WTj008007; Wed, 7 Jan 2004 23:00:32 -0800 (PST) (envelope-from gnats) Resent-Date: Wed, 7 Jan 2004 23:00:32 -0800 (PST) Resent-Message-Id: <200401080700.i0870WTj008007@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Stefan Ehmann" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 76DBD16A4D0 for ; Wed, 7 Jan 2004 22:58:31 -0800 (PST) Received: from email05.aon.at (WARSL402PIP4.highway.telekom.at [195.3.96.79]) by mx1.FreeBSD.org (Postfix) with SMTP id 51B2143D1D for ; Wed, 7 Jan 2004 22:58:29 -0800 (PST) (envelope-from "") Received: (qmail 386220 invoked from network); 7 Jan 2004 21:49:31 -0000 Received: from m106p018.dipool.highway.telekom.at (HELO shoeserv.freebsd) ([62.46.3.50]) (envelope-sender <>) by qmail5rs.highway.telekom.at (qmail-ldap-1.03) with SMTP for ; 7 Jan 2004 21:49:31 -0000 Message-Id: <1073512181@shoeserv.freebsd> Date: Wed, 7 Jan 2004 22:49:42 +0100 From: "Stefan Ehmann" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: gtk-send-pr 0.2 Subject: ports/61058: update port: net/gift 0.11.4 -> 0.11.5 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2004 07:00:57 -0000 >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 () + { + $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 () + { + $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: