pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

update time/globe



Hi,

Patch to update time/globe from globe-19940326 to globe-20140814
attached. Couldnt find a changelog.

Cheers,
Ben
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/time/globe/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- Makefile	8 Oct 2012 13:04:18 -0000	1.8
+++ Makefile	5 Oct 2015 13:11:48 -0000
@@ -1,15 +1,15 @@
 # $NetBSD: Makefile,v 1.8 2012/10/08 13:04:18 asau Exp $
 #
 
-DISTNAME=	globe_26mar94
-PKGNAME=	globe-19940326
-PKGREVISION=	1
+DISTNAME=	globe_14Aug2014
+PKGNAME=	globe-20140814
 CATEGORIES=	time
 MASTER_SITES=	http://www.acme.com/software/globe/
 
 MAINTAINER=	is%NetBSD.org@localhost
 HOMEPAGE=	http://www.acme.com/software/globe/
 COMMENT=	Display the currently-lighted face of Earth in ASCII
+LICENSE=	2-clause-bsd
 
 WRKSRC=		${WRKDIR}/globe
 
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/time/globe/distinfo,v
retrieving revision 1.4
diff -u -r1.4 distinfo
--- distinfo	17 Apr 2012 17:49:28 -0000	1.4
+++ distinfo	5 Oct 2015 13:11:48 -0000
@@ -1,7 +1,6 @@
 $NetBSD: distinfo,v 1.4 2012/04/17 17:49:28 joerg Exp $
 
-SHA1 (globe_26mar94.tar.gz) = e1d27953237d3ae1648080045f86a0529cd01b7f
-RMD160 (globe_26mar94.tar.gz) = 94470c28771d33c20411ce706aa3695f89a8f336
-Size (globe_26mar94.tar.gz) = 9813 bytes
-SHA1 (patch-aa) = cc11ea40f3382506cad6b064a64261ce7081e49c
-SHA1 (patch-globe.c) = a5bb9c7655e0eec6e05a5f68875b9216c574b6f9
+SHA1 (globe_14Aug2014.tar.gz) = d9c2657e0080c762f797dc6d2956d9ce91e220b8
+RMD160 (globe_14Aug2014.tar.gz) = 85f00508aa7625bbe3296ffc4b465c26dd8351a6
+Size (globe_14Aug2014.tar.gz) = 9956 bytes
+SHA1 (patch-Makefile) = 6b977be1e83edf385b350552bd4e798eea634dca
Index: patches/patch-Makefile
===================================================================
RCS file: patches/patch-Makefile
diff -N patches/patch-Makefile
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ patches/patch-Makefile	5 Oct 2015 13:11:48 -0000
@@ -0,0 +1,37 @@
+$NetBSD$
+	pkgsrc-ify the new Makefile 
+--- Makefile.orig	2014-08-11 19:13:12.000000000 +0000
++++ Makefile
+@@ -1,17 +1,15 @@
+ # CONFIGURE: the directory where you want the executables installed.
+-BINDIR =	/usr/local/bin
++BINDIR =	${PREFIX}/bin
+ 
+ # CONFIGURE: the directory tree where you want the man pages installed.
+-MANDIR =	/usr/local/man
++MANDIR =	${PREFIX}/man/man1
+ 
+ # CONFIGURE: your favorite C compiler.
+-CC =		cc
+ 
+ # CONFIGURE: your favorite C flags.
+ CFLAGS =	-O -ansi -pedantic -U__STRICT_ANSI__ -Wall -Wpointer-arith -Wshadow -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wno-long-long
+ 
+ # CONFIGURE: your favorite linker flags.
+-LDFLAGS =	-s
+ 
+ all:		globe
+ 
+@@ -19,10 +17,7 @@ globe:		globe.c
+ 	$(CC) $(CFLAGS) globe.c $(LDFLAGS) -o globe
+ 
+ install:	all
+-	rm -f $(BINDIR)/globe
+-	cp globe $(BINDIR)
+-	rm -f $(MANDIR)/man1/globe.1
+-	cp globe.1 $(MANDIR)/man1
+-
++	${BSD_INSTALL_PROGRAM} globe ${DESTDIR}$(BINDIR)
++	${BSD_INSTALL_MAN} globe.1 ${DESTDIR}$(MANDIR)
+ clean:
+ 	rm -f globe a.out core
Index: patches/patch-aa
===================================================================
RCS file: patches/patch-aa
diff -N patches/patch-aa
--- patches/patch-aa	20 Jun 2008 01:09:39 -0000	1.2
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,38 +0,0 @@
-$NetBSD: patch-aa,v 1.2 2008/06/20 01:09:39 joerg Exp $
-
---- Makefile.orig	Fri Nov 10 20:11:03 1995
-+++ Makefile
-@@ -1,17 +1,15 @@
- # CONFIGURE: the directory where you want the executables installed.
--BINDIR =	/usr/local/bin
-+BINDIR =	${PREFIX}/bin
- 
- # CONFIGURE: the directory tree where you want the man pages installed.
--MANDIR =	/usr/local/man
-+MANDIR =	${PREFIX}/man/man1
- 
- # CONFIGURE: your favorite C compiler.
--CC =		gcc
- 
- # CONFIGURE: your favorite C flags.
--CFLAGS =	-O
-+CFLAGS =	-O2
- 
- # CONFIGURE: your favorite linker flags.
--LDFLAGS =	-s
- 
- all:		globe
- 
-@@ -19,10 +17,8 @@
- 	$(CC) $(CFLAGS) globe.c $(LDFLAGS) -o globe
- 
- install:	all
--	rm -f $(BINDIR)/globe
--	cp globe $(BINDIR)
--	rm -f $(MANDIR)/man1/globe.1
--	cp globe.1 $(MANDIR)/man1
-+	${BSD_INSTALL_PROGRAM} globe ${DESTDIR}$(BINDIR)
-+	${BSD_INSTALL_MAN} globe.1 ${DESTDIR}$(MANDIR)
- 
- clean:
- 	rm -f globe a.out core
Index: patches/patch-globe.c
===================================================================
RCS file: patches/patch-globe.c
diff -N patches/patch-globe.c
--- patches/patch-globe.c	17 Apr 2012 17:49:29 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-globe.c,v 1.1 2012/04/17 17:49:29 joerg Exp $
-
---- globe.c.orig	2012-04-17 16:08:21.000000000 +0000
-+++ globe.c
-@@ -731,8 +731,8 @@ static char* globes[NGLOBES][NLINES] =
-     };
- 
- 
--void
--main( int argc, char* argv )
-+int
-+main(void)
-     {
-     time_t now;
-     int gnum, lnum;

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index