Date: Tue, 27 Dec 2011 16:07:48 GMT From: Rainer Hurling <rhurlin@gwdg.de> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/163643: [patch] astro/wmspaceweather: URL changed + two minor items Message-ID: <201112271607.pBRG7mUh054168@red.freebsd.org> Resent-Message-ID: <201112271610.pBRGAB6n065267@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 163643 >Category: ports >Synopsis: [patch] astro/wmspaceweather: URL changed + two minor items >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Tue Dec 27 16:10:10 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Rainer Hurling >Release: FreeBSD 10.0-CURRENT (amd64) >Organization: >Environment: FreeBSD xxx.xxx.xxx 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r228906: Tue Dec 27 09:08:58 CET 2011 xxx@xxx.xxx.xxx:/usr/obj/usr/src/sys/XXX amd64 >Description: (1) Main problem is, that the distfiles URL is not valid any more. Added two replacements. (2) Because Perl5 will lost its builtin CTime function in the near future, added a dependency for devel/p5-Time-modules and link to it in wmSpaceWeather/GetKp. (3) Added license information. >How-To-Repeat: Try to install astro/wmspaceweather. >Fix: The applied patch should solve the above-mentioned three items. Patch attached with submission follows: diff -Naur wmspaceweather.orig/Makefile wmspaceweather/Makefile --- wmspaceweather.orig/Makefile 2009-11-22 20:49:28.000000000 +0100 +++ wmspaceweather/Makefile 2011-12-27 16:47:27.000000000 +0100 @@ -6,14 +6,19 @@ PORTNAME= wmspaceweather PORTVERSION= 1.04 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= astro windowmaker -MASTER_SITES= http://dockapps.org/files/15/22/ +MASTER_SITES= https://api.opensuse.org/public/source/openSUSE:Factory/WindowMaker-applets/ \ + ftp://ftp.canadatux.org/linux/windowmaker/ DISTNAME= wmSpaceWeather-${PORTVERSION} MAINTAINER= xride@FreeBSD.org COMMENT= A DockApp that shows the weather at geosynchronous orbit +LICENSE= GPLv2 + +RUN_DEPENDS= ${SITE_PERL}/Time/CTime.pm:${PORTSDIR}/devel/p5-Time-modules + WRKSRC= ${WRKDIR}/${DISTNAME}/wmSpaceWeather # distfile is actually just a tar with suffix .tar.gz: diff -Naur wmspaceweather.orig/distinfo wmspaceweather/distinfo --- wmspaceweather.orig/distinfo 2011-03-19 13:27:41.000000000 +0100 +++ wmspaceweather/distinfo 2011-12-27 14:16:14.000000000 +0100 @@ -1,2 +1,2 @@ -SHA256 (wmSpaceWeather-1.04.tar.gz) = e616dd40237e3585e0fb7f9a37f44bb5c7c4fc1e1c9cfd2643ffb26d6706b9b3 -SIZE (wmSpaceWeather-1.04.tar.gz) = 143360 +SHA256 (wmSpaceWeather-1.04.tar.gz) = 107343c2e3d1fc2dd40f74ed9684f218d0f19e2358bc3813c6bc943bfd48eac0 +SIZE (wmSpaceWeather-1.04.tar.gz) = 36760 diff -Naur wmspaceweather.orig/files/patch-ab wmspaceweather/files/patch-ab --- wmspaceweather.orig/files/patch-ab 2004-05-17 04:56:00.000000000 +0200 +++ wmspaceweather/files/patch-ab 2011-12-27 15:39:27.000000000 +0100 @@ -1,5 +1,14 @@ ---- GetKp.orig Fri Apr 16 15:08:21 1999 -+++ GetKp Tue Apr 13 20:06:19 2004 +--- GetKp.orig 1999-02-12 06:42:01.000000000 +0100 ++++ GetKp 2011-12-27 15:38:56.000000000 +0100 +@@ -5,7 +5,7 @@ + # + + +- require "ctime.pl"; ++ use Time::CTime; + + + ($Year, $Month, $Day) = &year_month_day(); @@ -19,7 +19,7 @@ } >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112271607.pBRG7mUh054168>