ports/96061: [PATCH]: astro/jday: Update to version 2.4
Frank Laszlo
laszlof at vonostingroup.com
Wed Apr 19 17:30:27 UTC 2006
>Number: 96061
>Category: ports
>Synopsis: [PATCH]: astro/jday: Update to version 2.4
>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: Wed Apr 19 17:30:23 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Frank Laszlo
>Release: FreeBSD 6.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD ritamari.vonostingroup.com 6.0-STABLE FreeBSD 6.0-STABLE #0: Mon Nov 7 12:06:15 EST 2005 laszlof at ritamari.vonostingroup.com:/usr/obj/usr/src/sys/RITAMARI i386
>Description:
This patch will update astro/jday to version 2.4. This version now uses a modern GNU configure script and auto*
tools. I have removed the patch for jday.c as it has been applied upstream. I have also moved the files from
pkg-plist to use PLIST_FILES instead. I'll take maintainership.
Removed Files:
pkg-plist
files/patch-jday.c
>How-To-Repeat:
>Fix:
--- jday-2.4.diff begins here ---
diff -NrU3 jday.orig/Makefile jday/Makefile
--- jday.orig/Makefile Wed Apr 19 13:20:01 2006
+++ jday/Makefile Wed Apr 19 13:25:02 2006
@@ -5,17 +5,22 @@
# $FreeBSD: ports/astro/jday/Makefile,v 1.6 2004/04/17 19:20:30 krion Exp $
PORTNAME= jday
-PORTVERSION= 1.3
+PORTVERSION= 2.4
CATEGORIES= astro
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= jday
+MASTER_SITE_SUBDIR= ${PORTNAME}
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= laszlof at vonostingroup.com
COMMENT= Astronomical julian date calculator
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= jday.1
+
+PLIST_FILES= bin/jday bin/j2d bin/dbd \
+ include/jday.h lib/libjday.a \
+ lib/libjday.so.2 lib/libjday.la \
+ lib/pkgconfig/jday.pc
.include <bsd.port.mk>
diff -NrU3 jday.orig/distinfo jday/distinfo
--- jday.orig/distinfo Wed Apr 19 13:20:01 2006
+++ jday/distinfo Wed Apr 19 13:20:33 2006
@@ -1,3 +1,3 @@
-MD5 (jday-1.3.tar.gz) = 4b6e8e4c9322a50322e0eebf86cb32f4
-SHA256 (jday-1.3.tar.gz) = 45a3c1bc2657f3099a43e6ce408b58d49e06fa13190a7f3d5a0973d34a72b2e7
-SIZE (jday-1.3.tar.gz) = 211601
+MD5 (jday-2.4.tar.gz) = 817af56005d1346677271ed2fab63ef5
+SHA256 (jday-2.4.tar.gz) = 3b15f3a1b552ffae7c343bd47bf89e8073da9ef8c2ec6d79b90d56f8c3a06fda
+SIZE (jday-2.4.tar.gz) = 337012
diff -NrU3 jday.orig/files/patch-jday.c jday/files/patch-jday.c
--- jday.orig/files/patch-jday.c Wed Apr 19 13:20:01 2006
+++ jday/files/patch-jday.c Wed Dec 31 19:00:00 1969
@@ -1,14 +0,0 @@
-
-$FreeBSD: ports/astro/jday/files/patch-jday.c,v 1.1 2003/01/01 22:06:00 naddy Exp $
-
---- jday.c.orig Mon Dec 30 16:49:30 2002
-+++ jday.c Mon Dec 30 16:49:44 2002
-@@ -122,7 +122,7 @@
- if ( day < 1 ) day = 1;
- case 3:
- if ( ! strcmp((const char *)argv[1], (const char *) "-d") ) {
-- if ( 3 != sscanf( argv[2], "%d/%d/%d", & year, & mo, & day ) ) {
-+ if ( 3 != sscanf( argv[2], "%ld/%d/%d", & year, & mo, & day ) ) {
- fprintf( stderr, "failed sscanf for ymd\n" );
- exit (-1);
- } else {
diff -NrU3 jday.orig/pkg-plist jday/pkg-plist
--- jday.orig/pkg-plist Wed Apr 19 13:20:01 2006
+++ jday/pkg-plist Wed Dec 31 19:00:00 1969
@@ -1,6 +0,0 @@
- at comment $FreeBSD: ports/astro/jday/pkg-plist,v 1.2 2003/01/01 22:06:00 naddy Exp $
-bin/dbd
-bin/j2d
-bin/jday
-include/jday.h
-lib/libjday.a
--- jday-2.4.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list