From laffer1 at midnightbsd.org Mon Dec 29 12:50:22 2008 From: laffer1 at midnightbsd.org (laffer1 at midnightbsd.org) Date: Mon, 29 Dec 2008 12:50:22 -0500 (EST) Subject: [Midnightbsd-cvs] src: usr.bin/env: $MidnightBSD$ Message-ID: <200812291750.mBTHoM2c000274@stargazer.midnightbsd.org> Log Message: ----------- $MidnightBSD$ Modified Files: -------------- src/usr.bin/env: Makefile (r1.1.1.1 -> r1.2) env.1 (r1.1.1.1 -> r1.2) env.c (r1.2 -> r1.3) envopts.c (r1.1.1.1 -> r1.2) envopts.h (r1.1.1.1 -> r1.2) -------------- next part -------------- Index: envopts.h =================================================================== RCS file: /home/cvs/src/usr.bin/env/envopts.h,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -L usr.bin/env/envopts.h -L usr.bin/env/envopts.h -u -r1.1.1.1 -r1.2 --- usr.bin/env/envopts.h +++ usr.bin/env/envopts.h @@ -1,3 +1,4 @@ +/* $MidnightBSD$ */ /*- * Copyright (c) 2005 - Garance Alistair Drosehn . * All rights reserved. Index: env.c =================================================================== RCS file: /home/cvs/src/usr.bin/env/env.c,v retrieving revision 1.2 retrieving revision 1.3 diff -L usr.bin/env/env.c -L usr.bin/env/env.c -u -r1.2 -r1.3 --- usr.bin/env/env.c +++ usr.bin/env/env.c @@ -1,4 +1,5 @@ -/* +/* $MidnightBSD$ */ +/*- * Copyright (c) 1988, 1993, 1994 * The Regents of the University of California. All rights reserved. * Index: env.1 =================================================================== RCS file: /home/cvs/src/usr.bin/env/env.1,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -L usr.bin/env/env.1 -L usr.bin/env/env.1 -u -r1.1.1.1 -r1.2 --- usr.bin/env/env.1 +++ usr.bin/env/env.1 @@ -34,6 +34,7 @@ .\" From @(#)printenv.1 8.1 (Berkeley) 6/6/93 .\" From FreeBSD: src/usr.bin/printenv/printenv.1,v 1.17 2002/11/26 17:33:35 ru Exp .\" $FreeBSD: src/usr.bin/env/env.1,v 1.9 2005/06/22 19:04:07 ru Exp $ +.\" $MidnightBSD$ .\" .Dd June 20, 2005 .Dt ENV 1 Index: Makefile =================================================================== RCS file: /home/cvs/src/usr.bin/env/Makefile,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -L usr.bin/env/Makefile -L usr.bin/env/Makefile -u -r1.1.1.1 -r1.2 --- usr.bin/env/Makefile +++ usr.bin/env/Makefile @@ -1,5 +1,6 @@ # From: @(#)Makefile 8.1 (Berkeley) 6/6/93 # $FreeBSD: src/usr.bin/env/Makefile,v 1.6 2005/06/20 03:43:25 gad Exp $ +# $MidnightBSD$ PROG= env SRCS= env.c envopts.c Index: envopts.c =================================================================== RCS file: /home/cvs/src/usr.bin/env/envopts.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -L usr.bin/env/envopts.c -L usr.bin/env/envopts.c -u -r1.1.1.1 -r1.2 --- usr.bin/env/envopts.c +++ usr.bin/env/envopts.c @@ -1,3 +1,4 @@ +/* $MidnightBSD$ */ /*- * Copyright (c) 2005 - Garance Alistair Drosehn . * All rights reserved. From smultron at midnightbsd.org Wed Dec 31 02:35:43 2008 From: smultron at midnightbsd.org (smultron at midnightbsd.org) Date: Wed, 31 Dec 2008 02:35:43 -0500 (EST) Subject: [Midnightbsd-cvs] www: index.html: updated dates and version numbers Message-ID: <200812310735.mBV7Zhfm099137@stargazer.midnightbsd.org> Log Message: ----------- updated dates and version numbers Modified Files: -------------- www/featured: index.html (r1.5 -> r1.6) -------------- next part -------------- Index: index.html =================================================================== RCS file: /home/cvs/www/featured/index.html,v retrieving revision 1.5 retrieving revision 1.6 diff -L featured/index.html -L featured/index.html -u -r1.5 -r1.6 --- featured/index.html +++ featured/index.html @@ -32,63 +32,63 @@ From laffer1 at midnightbsd.org Wed Dec 31 09:27:54 2008 From: laffer1 at midnightbsd.org (laffer1 at midnightbsd.org) Date: Wed, 31 Dec 2008 09:27:54 -0500 (EST) Subject: [Midnightbsd-cvs] src: /src: MidnightBSD security update: Correct a problem where Message-ID: <200812311427.mBVERsQU047399@stargazer.midnightbsd.org> Log Message: ----------- MidnightBSD security update: Correct a problem where bluetooth and netgraph sockets are not initialized properly. Tags: ---- RELENG_0_2 Modified Files: -------------- src: UPDATING (r1.38.2.11 -> r1.38.2.12) src/sys/conf: newvers.sh (r1.3.2.6 -> r1.3.2.7) src/sys/sys: param.h (r1.8.2.5 -> r1.8.2.6) src/sys/kern: uipc_domain.c (r1.2 -> r1.2.4.1) -------------- next part -------------- Index: param.h =================================================================== RCS file: /home/cvs/src/sys/sys/param.h,v retrieving revision 1.8.2.5 retrieving revision 1.8.2.6 diff -L sys/sys/param.h -L sys/sys/param.h -u -r1.8.2.5 -r1.8.2.6 --- sys/sys/param.h +++ sys/sys/param.h @@ -61,7 +61,7 @@ #define __FreeBSD_version 601000 /* Master, propagated to newvers */ #undef __MidnightBSD_version -#define __MidnightBSD_version 002007 +#define __MidnightBSD_version 002008 #ifndef LOCORE #include Index: UPDATING =================================================================== RCS file: /home/cvs/src/UPDATING,v retrieving revision 1.38.2.11 retrieving revision 1.38.2.12 diff -L UPDATING -L UPDATING -u -r1.38.2.11 -r1.38.2.12 --- UPDATING +++ UPDATING @@ -3,6 +3,12 @@ Items affecting the mports and packages system can be found in /usr/mports/UPDATING. +20081231: + MidnightBSD 0.2.1-RELEASE-p4 + + Correct a problem where function pointers for netgraph + and bluetooth sockets are not initialized properly. + 20081124: MidnightBSD 0.2.1-RELEASE-p3 Index: newvers.sh =================================================================== RCS file: /home/cvs/src/sys/conf/newvers.sh,v retrieving revision 1.3.2.6 retrieving revision 1.3.2.7 diff -L sys/conf/newvers.sh -L sys/conf/newvers.sh -u -r1.3.2.6 -r1.3.2.7 --- sys/conf/newvers.sh +++ sys/conf/newvers.sh @@ -33,7 +33,7 @@ TYPE="MidnightBSD" REVISION="0.2.1" -BRANCH="RELEASE-p3" +BRANCH="RELEASE-p4" if [ "X${BRANCH_OVERRIDE}" != "X" ]; then BRANCH=${BRANCH_OVERRIDE} fi Index: uipc_domain.c =================================================================== RCS file: /home/cvs/src/sys/kern/uipc_domain.c,v retrieving revision 1.2 retrieving revision 1.2.4.1 diff -L sys/kern/uipc_domain.c -L sys/kern/uipc_domain.c -u -r1.2 -r1.2.4.1 --- sys/kern/uipc_domain.c +++ sys/kern/uipc_domain.c @@ -114,13 +114,18 @@ #define DEFAULT(foo, bar) if ((foo) == NULL) (foo) = (bar) DEFAULT(pu->pru_accept, pru_accept_notsupp); + DEFAULT(pu->pru_bind, pru_bind_notsupp); DEFAULT(pu->pru_connect, pru_connect_notsupp); DEFAULT(pu->pru_connect2, pru_connect2_notsupp); DEFAULT(pu->pru_control, pru_control_notsupp); + DEFAULT(pu->pru_disconnect, pru_disconnect_notsupp); DEFAULT(pu->pru_listen, pru_listen_notsupp); + DEFAULT(pu->pru_peeraddr, pru_peeraddr_notsupp); DEFAULT(pu->pru_rcvd, pru_rcvd_notsupp); DEFAULT(pu->pru_rcvoob, pru_rcvoob_notsupp); DEFAULT(pu->pru_sense, pru_sense_null); + DEFAULT(pu->pru_shutdown, pru_shutdown_notsupp); + DEFAULT(pu->pru_sockaddr, pru_sockaddr_notsupp); DEFAULT(pu->pru_sosend, sosend); DEFAULT(pu->pru_soreceive, soreceive); DEFAULT(pu->pru_sopoll, sopoll); From laffer1 at midnightbsd.org Wed Dec 31 09:30:18 2008 From: laffer1 at midnightbsd.org (laffer1 at midnightbsd.org) Date: Wed, 31 Dec 2008 09:30:18 -0500 (EST) Subject: [Midnightbsd-cvs] src: uipc_domain.c: Correct a problem where bluetooth and netgraph Message-ID: <200812311430.mBVEUICU047834@stargazer.midnightbsd.org> Log Message: ----------- Correct a problem where bluetooth and netgraph sockets are not initialized properly. Modified Files: -------------- src/sys/kern: uipc_domain.c (r1.3 -> r1.4) -------------- next part -------------- Index: uipc_domain.c =================================================================== RCS file: /home/cvs/src/sys/kern/uipc_domain.c,v retrieving revision 1.3 retrieving revision 1.4 diff -L sys/kern/uipc_domain.c -L sys/kern/uipc_domain.c -u -r1.3 -r1.4 --- sys/kern/uipc_domain.c +++ sys/kern/uipc_domain.c @@ -112,13 +112,18 @@ #define DEFAULT(foo, bar) if ((foo) == NULL) (foo) = (bar) DEFAULT(pu->pru_accept, pru_accept_notsupp); + DEFAULT(pu->pru_bind, pru_bind_notsupp); DEFAULT(pu->pru_connect, pru_connect_notsupp); DEFAULT(pu->pru_connect2, pru_connect2_notsupp); DEFAULT(pu->pru_control, pru_control_notsupp); + DEFAULT(pu->pru_disconnect, pru_disconnect_notsupp); DEFAULT(pu->pru_listen, pru_listen_notsupp); + DEFAULT(pu->pru_peeraddr, pru_peeraddr_notsupp); DEFAULT(pu->pru_rcvd, pru_rcvd_notsupp); DEFAULT(pu->pru_rcvoob, pru_rcvoob_notsupp); DEFAULT(pu->pru_sense, pru_sense_null); + DEFAULT(pu->pru_shutdown, pru_shutdown_notsupp); + DEFAULT(pu->pru_sockaddr, pru_sockaddr_notsupp); DEFAULT(pu->pru_sosend, sosend_generic); DEFAULT(pu->pru_soreceive, soreceive_generic); DEFAULT(pu->pru_sopoll, sopoll_generic); From laffer1 at midnightbsd.org Wed Dec 31 09:42:10 2008 From: laffer1 at midnightbsd.org (laffer1 at midnightbsd.org) Date: Wed, 31 Dec 2008 09:42:10 -0500 (EST) Subject: [Midnightbsd-cvs] src: /src: Correct a problem where function pointers for netgraph Message-ID: <200812311442.mBVEgA06049152@stargazer.midnightbsd.org> Log Message: ----------- Correct a problem where function pointers for netgraph and bluetooth sockets are not initialized properly Tags: ---- RELENG_0_1 Modified Files: -------------- src: UPDATING (r1.20.2.10 -> r1.20.2.11) src/sys/kern: uipc_domain.c (r1.2 -> r1.2.2.1) -------------- next part -------------- Index: UPDATING =================================================================== RCS file: /home/cvs/src/UPDATING,v retrieving revision 1.20.2.10 retrieving revision 1.20.2.11 diff -L UPDATING -L UPDATING -u -r1.20.2.10 -r1.20.2.11 --- UPDATING +++ UPDATING @@ -3,6 +3,10 @@ Items affecting the mports and packages system can be found in /usr/mports/UPDATING. +20081231: + Correct a problem where function pointers for netgraph + and bluetooth sockets are not initialized properly. + 20081002: IPv6 Neighbor Discovery Protocol routing vulnerability Index: uipc_domain.c =================================================================== RCS file: /home/cvs/src/sys/kern/uipc_domain.c,v retrieving revision 1.2 retrieving revision 1.2.2.1 diff -L sys/kern/uipc_domain.c -L sys/kern/uipc_domain.c -u -r1.2 -r1.2.2.1 --- sys/kern/uipc_domain.c +++ sys/kern/uipc_domain.c @@ -114,13 +114,18 @@ #define DEFAULT(foo, bar) if ((foo) == NULL) (foo) = (bar) DEFAULT(pu->pru_accept, pru_accept_notsupp); + DEFAULT(pu->pru_bind, pru_bind_notsupp); DEFAULT(pu->pru_connect, pru_connect_notsupp); DEFAULT(pu->pru_connect2, pru_connect2_notsupp); DEFAULT(pu->pru_control, pru_control_notsupp); + DEFAULT(pu->pru_disconnect, pru_disconnect_notsupp); DEFAULT(pu->pru_listen, pru_listen_notsupp); + DEFAULT(pu->pru_peeraddr, pru_peeraddr_notsupp); DEFAULT(pu->pru_rcvd, pru_rcvd_notsupp); DEFAULT(pu->pru_rcvoob, pru_rcvoob_notsupp); DEFAULT(pu->pru_sense, pru_sense_null); + DEFAULT(pu->pru_shutdown, pru_shutdown_notsupp); + DEFAULT(pu->pru_sockaddr, pru_sockaddr_notsupp); DEFAULT(pu->pru_sosend, sosend); DEFAULT(pu->pru_soreceive, soreceive); DEFAULT(pu->pru_sopoll, sopoll); From laffer1 at midnightbsd.org Wed Dec 31 09:50:37 2008 From: laffer1 at midnightbsd.org (laffer1 at midnightbsd.org) Date: Wed, 31 Dec 2008 09:50:37 -0500 (EST) Subject: [Midnightbsd-cvs] www: index.html: add new security advisory Message-ID: <200812311450.mBVEobb2050359@stargazer.midnightbsd.org> Log Message: ----------- add new security advisory Modified Files: -------------- www/security: index.html (r1.11 -> r1.12) -------------- next part -------------- Index: index.html =================================================================== RCS file: /home/cvs/www/security/index.html,v retrieving revision 1.11 retrieving revision 1.12 diff -L security/index.html -L security/index.html -u -r1.11 -r1.12 --- security/index.html +++ security/index.html @@ -17,7 +17,10 @@

Security Updates

- +
+

December 31, 2008

+

Correct a problem where bluetooth and netgraph sockets were not initialized properly. This is available in RELENG_0_2, RELENG_0_1, and current.

+

November 24, 2008

Correct a problem in arc4random which causes the device not to get enough entropy for system services. ?Geom classes initialized at startup will still have problems. Update your system to From laffer1 at midnightbsd.org Wed Dec 31 09:53:10 2008 From: laffer1 at midnightbsd.org (laffer1 at midnightbsd.org) Date: Wed, 31 Dec 2008 09:53:10 -0500 (EST) Subject: [Midnightbsd-cvs] www: index.html: add security advisory Message-ID: <200812311453.mBVErAdM050567@stargazer.midnightbsd.org> Log Message: ----------- add security advisory Modified Files: -------------- www: index.html (r1.61 -> r1.62) -------------- next part -------------- Index: index.html =================================================================== RCS file: /home/cvs/www/index.html,v retrieving revision 1.61 retrieving revision 1.62 diff -L index.html -L index.html -u -r1.61 -r1.62 --- index.html +++ index.html @@ -63,15 +63,15 @@

Security »

+

December 31, 2008

+

Correct a problem where bluetooth and netgraph sockets...

+

Read more...

+
+

November 24, 2008

Correct a problem in arc4random which causes the device...

Read more...

-
-

September 29, 2008

-

A vulnerability in ftpd could allow unauthorized access....

-

Read more...

-

From laffer1 at midnightbsd.org Wed Dec 31 10:01:23 2008 From: laffer1 at midnightbsd.org (laffer1 at midnightbsd.org) Date: Wed, 31 Dec 2008 10:01:23 -0500 (EST) Subject: [Midnightbsd-cvs] src: /src: Update copyrights for 2009. Message-ID: <200812311501.mBVF1NXc051629@stargazer.midnightbsd.org> Log Message: ----------- Update copyrights for 2009. Modified Files: -------------- src: COPYRIGHT (r1.8 -> r1.9) UPDATING (r1.45 -> r1.46) src/sys/sys: copyright.h (r1.6 -> r1.7) -------------- next part -------------- Index: COPYRIGHT =================================================================== RCS file: /home/cvs/src/COPYRIGHT,v retrieving revision 1.8 retrieving revision 1.9 diff -L COPYRIGHT -L COPYRIGHT -u -r1.8 -r1.9 --- COPYRIGHT +++ COPYRIGHT @@ -5,7 +5,7 @@ The compilation of software known as MidnightBSD is distrubuted under the following terms: -Copyright (C) 2006, 2007, 2008 +Copyright (C) 2006, 2007, 2008, 2009 The MidnightBSD Project. All rights reserved. Redistribution and use in source and binary forms, with or without Index: UPDATING =================================================================== RCS file: /home/cvs/src/UPDATING,v retrieving revision 1.45 retrieving revision 1.46 diff -L UPDATING -L UPDATING -u -r1.45 -r1.46 --- UPDATING +++ UPDATING @@ -3,6 +3,12 @@ Items affecting the mports and packages system can be found in /usr/mports/UPDATING. +20081231: + Correct a problem where bluetooth and netgraph sockets are not + properly initialized. + + Happy 2009. + 20081206: Due to the massive change in the underlying system under way, we're naming the next release 1.0. The sys/sys/param.h was Index: copyright.h =================================================================== RCS file: /home/cvs/src/sys/sys/copyright.h,v retrieving revision 1.6 retrieving revision 1.7 diff -L sys/sys/copyright.h -L sys/sys/copyright.h -u -r1.6 -r1.7 --- sys/sys/copyright.h +++ sys/sys/copyright.h @@ -32,7 +32,7 @@ /* MidnightBSD */ #define COPYRIGHT_MidnightBSD \ - "Copyright (c) 2006-2008 The MidnightBSD Project.\n" + "Copyright (c) 2006-2009 The MidnightBSD Project.\n" /* FreeBSD */ #define COPYRIGHT_FreeBSD \ From ctriv at midnightbsd.org Wed Dec 31 11:40:10 2008 From: ctriv at midnightbsd.org (ctriv at midnightbsd.org) Date: Wed, 31 Dec 2008 11:40:10 -0500 (EST) Subject: [Midnightbsd-cvs] src: Symbol.map: add strndup() Message-ID: <200812311640.mBVGeArC064888@stargazer.midnightbsd.org> Log Message: ----------- add strndup() Modified Files: -------------- src/lib/libc/string: Symbol.map (r1.1.1.1 -> r1.2) -------------- next part -------------- Index: Symbol.map =================================================================== RCS file: /home/cvs/src/lib/libc/string/Symbol.map,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -L lib/libc/string/Symbol.map -L lib/libc/string/Symbol.map -u -r1.1.1.1 -r1.2 --- lib/libc/string/Symbol.map +++ lib/libc/string/Symbol.map @@ -31,6 +31,7 @@ strcpy; strcspn; strdup; + strndup; strerror_r; strerror; strlcat; From laffer1 at midnightbsd.org Thu Jan 1 12:32:00 2009 From: laffer1 at midnightbsd.org (laffer1 at midnightbsd.org) Date: Thu, 1 Jan 2009 12:32:00 -0500 (EST) Subject: [Midnightbsd-cvs] src: param.h: Don't make this octal. Message-ID: <200901011732.n01HW09D019691@stargazer.midnightbsd.org> Log Message: ----------- Don't make this octal. Tags: ---- RELENG_0_2 Modified Files: -------------- src/sys/sys: param.h (r1.8.2.6 -> r1.8.2.7) -------------- next part -------------- Index: param.h =================================================================== RCS file: /home/cvs/src/sys/sys/param.h,v retrieving revision 1.8.2.6 retrieving revision 1.8.2.7 diff -L sys/sys/param.h -L sys/sys/param.h -u -r1.8.2.6 -r1.8.2.7 --- sys/sys/param.h +++ sys/sys/param.h @@ -61,7 +61,7 @@ #define __FreeBSD_version 601000 /* Master, propagated to newvers */ #undef __MidnightBSD_version -#define __MidnightBSD_version 002008 +#define __MidnightBSD_version 2008 #ifndef LOCORE #include From laffer1 at midnightbsd.org Thu Jan 1 12:49:43 2009 From: laffer1 at midnightbsd.org (laffer1 at midnightbsd.org) Date: Thu, 1 Jan 2009 12:49:43 -0500 (EST) Subject: [Midnightbsd-cvs] www: index.html: donation link Message-ID: <200901011749.n01Hnhpl021622@stargazer.midnightbsd.org> Log Message: ----------- donation link Modified Files: -------------- www/donate: index.html (r1.4 -> r1.5) -------------- next part -------------- Index: index.html =================================================================== RCS file: /home/cvs/www/donate/index.html,v retrieving revision 1.4 retrieving revision 1.5 diff -L donate/index.html -L donate/index.html -u -r1.4 -r1.5 --- donate/index.html +++ donate/index.html @@ -34,6 +34,16 @@

Please email luke@midnightbsd.org to make a request or when a request is filled, so that we may update this page. Requestors on this page should have at least one accepted contribution to MidnightBSD.

Donors, please contact the requestor directly and CC the above address. The MidnightBSD project cannot assist with aranging delivery and is not responsible for any transactions.

Check with your local post office for requirements to send out of the country if needed.

+ + +
+

+ + + +

+

@@ -74,4 +84,4 @@ - \ No newline at end of file + From ctriv at midnightbsd.org Thu Jan 1 15:25:30 2009 From: ctriv at midnightbsd.org (ctriv at midnightbsd.org) Date: Thu, 1 Jan 2009 15:25:30 -0500 (EST) Subject: [Midnightbsd-cvs] mports: x11/xorg-cf-files: Force UseElfFormat to YES. Message-ID: <200901012025.n01KPUEr037398@stargazer.midnightbsd.org> Log Message: ----------- Force UseElfFormat to YES. mbsd has always been elf, and this fixes breakage in -CURRENT Modified Files: -------------- mports/x11/xorg-cf-files: Makefile (r1.2 -> r1.3) mports/x11/xorg-cf-files/files: patch-FreeBSD.cf (r1.2 -> r1.3) -------------- next part -------------- Index: Makefile =================================================================== RCS file: /home/cvs/mports/x11/xorg-cf-files/Makefile,v retrieving revision 1.2 retrieving revision 1.3 diff -L x11/xorg-cf-files/Makefile -L x11/xorg-cf-files/Makefile -u -r1.2 -r1.3 --- x11/xorg-cf-files/Makefile +++ x11/xorg-cf-files/Makefile @@ -8,7 +8,7 @@ PORTNAME= xorg-cf-files PORTVERSION= 1.0.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11 MAINTAINER= ports at MidnightBSD.org Index: patch-FreeBSD.cf =================================================================== RCS file: /home/cvs/mports/x11/xorg-cf-files/files/patch-FreeBSD.cf,v retrieving revision 1.2 retrieving revision 1.3 diff -L x11/xorg-cf-files/files/patch-FreeBSD.cf -L x11/xorg-cf-files/files/patch-FreeBSD.cf -u -r1.2 -r1.3 --- x11/xorg-cf-files/files/patch-FreeBSD.cf +++ x11/xorg-cf-files/files/patch-FreeBSD.cf @@ -1,6 +1,17 @@ ---- ./FreeBSD.cf.orig Tue Oct 16 22:57:20 2007 -+++ ./FreeBSD.cf Tue Oct 16 23:09:35 2007 -@@ -47,19 +47,10 @@ +--- ./FreeBSD.cf.orig 2005-05-04 00:14:57 -0400 ++++ ./FreeBSD.cf 2008-12-25 00:22:56 -0500 +@@ -5,9 +5,7 @@ + XCOMM + XCOMM platform: $XFree86: xc/config/cf/FreeBSD.cf,v 3.147 2004/01/28 01:46:21 dawes Exp $ + +-#ifndef UseElfFormat +-#define UseElfFormat DefaultToElfFormat +-#endif ++#define UseElfFormat YES + + #if UseElfFormat + #define OSBinaryFormat [ELF] +@@ -47,19 +45,10 @@ #define HasNdbm YES #define HasPutenv YES #define HasSnprintf YES @@ -22,7 +33,7 @@ #ifndef HasLibCrypt # define HasLibCrypt YES #endif -@@ -74,63 +65,28 @@ +@@ -74,63 +63,28 @@ #ifndef BuildPDFdocs # define BuildPDFdocs NO #endif @@ -94,7 +105,7 @@ #define AvoidNullMakeCommand YES #define StripInstalledPrograms YES -@@ -155,22 +111,9 @@ +@@ -155,22 +109,9 @@ #endif #ifndef HasMktemp @@ -117,7 +128,7 @@ #ifndef CcCmd #define CcCmd cc -@@ -195,41 +138,12 @@ +@@ -195,41 +136,12 @@ GccWarningOptions #endif #endif @@ -160,7 +171,7 @@ #endif /* -@@ -237,17 +151,14 @@ +@@ -237,17 +149,14 @@ * mechanism for specifying a subset of drivers in the OS.cf files yet. */ #ifndef BuildXF86DRI @@ -179,7 +190,7 @@ #define HasAgpGart YES #endif #if (defined(AlphaArchitecture) || defined(ia64Architecture) || \ -@@ -260,8 +171,7 @@ +@@ -260,8 +169,7 @@ * SSE and 3DNow will be autodetected, so binutils is the only * requirement for enabling this. By 4.2 they were all supported. */ @@ -189,7 +200,7 @@ # define HasX86Support YES # define HasMMXSupport YES # define Has3DNowSupport YES -@@ -311,8 +221,6 @@ +@@ -311,8 +219,6 @@ # define UseRpath YES #endif @@ -198,7 +209,7 @@ # ifndef RpathLoadFlags # if UseRpath # if UseElfFormat -@@ -333,7 +241,6 @@ +@@ -333,7 +239,6 @@ # endif # endif @@ -206,7 +217,7 @@ #ifndef LibraryRpathLoadFlags # if UseRpath -@@ -359,20 +266,13 @@ +@@ -359,20 +264,13 @@ #define GnuMallocLibrary -lgnumalloc #endif @@ -227,7 +238,7 @@ /* There are two options for building. One is to assume that the system has * many of the dependencies provided by the ports tree. The other is to just -@@ -449,7 +349,6 @@ +@@ -449,7 +347,6 @@ #define StandardDefines -DCSRG_BASED @@ -235,7 +246,7 @@ #define ServerOSDefines XFree86ServerOSDefines -DDDXTIME #define XawI18nDefines -DUSE_XWCHAR_STRING #define HasMakefileSafeInclude YES -@@ -462,17 +361,11 @@ +@@ -462,17 +359,11 @@ #define ForceNormalLib YES #endif #define HasMkstemp YES @@ -253,7 +264,7 @@ #ifdef i386Architecture # define OptimizedCDebugFlags DefaultGcc2i386Opt -@@ -507,9 +400,7 @@ +@@ -507,9 +398,7 @@ # define CompressManPages YES #endif @@ -263,7 +274,7 @@ #ifndef StaticLibrary #define StaticLibrary(libpath,libname) -Wl,-Bstatic Concat(-L,libpath) Concat(-l,libname) -Wl,-Bdynamic -@@ -561,13 +452,9 @@ +@@ -561,13 +450,9 @@ #ifndef HasCookieMaker /* Which versions have /dev/urandom? */ From laffer1 at midnightbsd.org Thu Jan 1 17:00:27 2009 From: laffer1 at midnightbsd.org (laffer1 at midnightbsd.org) Date: Thu, 1 Jan 2009 17:00:27 -0500 (EST) Subject: [Midnightbsd-cvs] src: share/zoneinfo: 2008i Message-ID: <200901012200.n01M0RQM046333@stargazer.midnightbsd.org> Log Message: ----------- 2008i Modified Files: -------------- src/share/zoneinfo: MidnightBSD-upgrade (r1.3 -> r1.4) africa (r1.4 -> r1.5) asia (r1.4 -> r1.5) australasia (r1.4 -> r1.5) backward (r1.4 -> r1.5) europe (r1.4 -> r1.5) leapseconds (r1.4 -> r1.5) northamerica (r1.4 -> r1.5) southamerica (r1.4 -> r1.5) zone.tab (r1.4 -> r1.5) -------------- next part -------------- Index: australasia =================================================================== RCS file: /home/cvs/src/share/zoneinfo/australasia,v retrieving revision 1.4 retrieving revision 1.5 diff -L share/zoneinfo/australasia -L share/zoneinfo/australasia -u -r1.4 -r1.5 --- share/zoneinfo/australasia +++ share/zoneinfo/australasia @@ -1,4 +1,4 @@ -# @(#)australasia 8.8 +# @(#)australasia 8.9 #
 
 # This file also includes Pacific islands.
@@ -1346,7 +1346,7 @@
 # * Tonga will introduce DST in November
 #
 # I was given this link by John Letts:
-# 
+# 
 # http://news.bbc.co.uk/hi/english/world/asia-pacific/newsid_424000/424764.stm
 # 
 #
@@ -1356,7 +1356,7 @@
 # (12 + 1 hour DST).
 
 # From Arthur David Olson (1999-09-20):
-# According to 
 # http://www.tongaonline.com/news/sept1799.html
 # :
 # "Daylight Savings Time will take effect on Oct. 2 through April 15, 2000
Index: backward
===================================================================
RCS file: /home/cvs/src/share/zoneinfo/backward,v
retrieving revision 1.4
retrieving revision 1.5
diff -L share/zoneinfo/backward -L share/zoneinfo/backward -u -r1.4 -r1.5
--- share/zoneinfo/backward
+++ share/zoneinfo/backward
@@ -1,4 +1,4 @@
-# @(#)backward	8.4
+# @(#)backward	8.6
 
 # This file provides links between current names for time zones
 # and their old names.  Many names changed in late 1993.
@@ -24,8 +24,10 @@
 Link	Asia/Ashgabat		Asia/Ashkhabad
 Link	Asia/Chongqing		Asia/Chungking
 Link	Asia/Dhaka		Asia/Dacca
+Link	Asia/Kolkata		Asia/Calcutta
 Link	Asia/Macau		Asia/Macao
 Link	Asia/Jerusalem		Asia/Tel_Aviv
+Link	Asia/Ho_Chi_Minh	Asia/Saigon
 Link	Asia/Thimphu		Asia/Thimbu
 Link	Asia/Makassar		Asia/Ujung_Pandang
 Link	Asia/Ulaanbaatar	Asia/Ulan_Bator
Index: leapseconds
===================================================================
RCS file: /home/cvs/src/share/zoneinfo/leapseconds,v
retrieving revision 1.4
retrieving revision 1.5
diff -L share/zoneinfo/leapseconds -L share/zoneinfo/leapseconds -u -r1.4 -r1.5
--- share/zoneinfo/leapseconds
+++ share/zoneinfo/leapseconds
@@ -1,4 +1,4 @@
-# @(#)leapseconds	8.4
+# @(#)leapseconds	8.6
 
 # Allowance for leapseconds added to each timezone file.
 
@@ -44,8 +44,10 @@
 Leap	1997	Jun	30	23:59:60	+	S
 Leap	1998	Dec	31	23:59:60	+	S
 Leap	2005	Dec	31	23:59:60	+	S
+Leap	2008	Dec	31	23:59:60	+	S
 
 # INTERNATIONAL EARTH ROTATION AND REFERENCE SYSTEMS SERVICE (IERS)
+#
 # SERVICE INTERNATIONAL DE LA ROTATION TERRESTRE ET DES SYSTEMES DE REFERENCE
 #
 # SERVICE DE LA ROTATION TERRESTRE
@@ -53,30 +55,38 @@
 # 61, Av. de l'Observatoire 75014 PARIS (France)
 # Tel.      : 33 (0) 1 40 51 22 26
 # FAX       : 33 (0) 1 40 51 22 91
-# Internet  : services.iers at obspm.fr
+# e-mail    : services.iers at obspm.fr
+# http://hpiers.obspm.fr/eop-pc
 #
-# Paris, 28 June 2007
+# Paris, 4 July 2008
 #
-# Bulletin C 34
+# Bulletin C 36
 #
 # To authorities responsible
 # for the measurement and
 # distribution of time
 #
-# INFORMATION ON UTC - TAI
+# UTC TIME STEP
+# on the 1st of January 2009
+#
+# A positive leap second will be introduced at the end of December 2008.
+# The sequence of dates of the UTC second markers will be:		
+#
+# 2008 December 31,     23h 59m 59s
+# 2008 December 31,     23h 59m 60s
+# 2009 January   1,      0h  0m  0s
 #
-# NO positive leap second will be introduced at the end of December 2007.
-# The difference between Coordinated Universal Time UTC and the
-# International Atomic Time TAI is :		
+# The difference between UTC and the International Atomic Time TAI is:
 #
-# from 2006 January 1, 0h UTC, until further notice : UTC-TAI = -33 s
+# from 2006 January 1, 0h UTC, to 2009 January 1  0h UTC  : UTC-TAI = - 33s
+# from 2009 January 1, 0h UTC, until further notice       : UTC-TAI = - 34s
 #
 # Leap seconds can be introduced in UTC at the end of the months of December
-# or June,  depending on the evolution of UT1-TAI. Bulletin C is mailed every
-# six months, either to announce a time step in UTC, or to confirm that there
+# or June, depending on the evolution of UT1-TAI. Bulletin C is mailed every
+# six months, either to announce a time step in UTC or to confirm that there
 # will be no time step at the next possible date.
 #
 # Daniel GAMBIS
-# Director			
+# Head		
 # Earth Orientation Center of IERS
 # Observatoire de Paris, France
Index: zone.tab
===================================================================
RCS file: /home/cvs/src/share/zoneinfo/zone.tab,v
retrieving revision 1.4
retrieving revision 1.5
diff -L share/zoneinfo/zone.tab -L share/zoneinfo/zone.tab -u -r1.4 -r1.5
--- share/zoneinfo/zone.tab
+++ share/zoneinfo/zone.tab
@@ -1,4 +1,4 @@
-# @(#)zone.tab	8.13
+# @(#)zone.tab	8.21
 #
 # TZ zone descriptions
 #
@@ -42,13 +42,15 @@
 AQ	-6640+14001	Antarctica/DumontDUrville	Dumont-d'Urville Station, Terre Adelie
 AQ	-690022+0393524	Antarctica/Syowa	Syowa Station, E Ongul I
 AR	-3436-05827	America/Argentina/Buenos_Aires	Buenos Aires (BA, CF)
-AR	-3124-06411	America/Argentina/Cordoba	most locations (CB, CC, CN, ER, FM, LP, MN, NQ, RN, SA, SE, SF, SL)
+AR	-3124-06411	America/Argentina/Cordoba	most locations (CB, CC, CN, ER, FM, MN, SE, SF)
+AR	-2447-06525	America/Argentina/Salta	(SA, LP, NQ, RN)
 AR	-2411-06518	America/Argentina/Jujuy	Jujuy (JY)
 AR	-2649-06513	America/Argentina/Tucuman	Tucuman (TM)
 AR	-2828-06547	America/Argentina/Catamarca	Catamarca (CT), Chubut (CH)
 AR	-2926-06651	America/Argentina/La_Rioja	La Rioja (LR)
 AR	-3132-06831	America/Argentina/San_Juan	San Juan (SJ)
 AR	-3253-06849	America/Argentina/Mendoza	Mendoza (MZ)
+AR	-3319-06621	America/Argentina/San_Luis	San Luis (SL)
 AR	-5138-06913	America/Argentina/Rio_Gallegos	Santa Cruz (SC)
 AR	-5448-06818	America/Argentina/Ushuaia	Tierra del Fuego (TF)
 AS	-1416-17042	Pacific/Pago_Pago
@@ -91,7 +93,8 @@
 BR	-2332-04637	America/Sao_Paulo	S & SE Brazil (GO, DF, MG, ES, RJ, SP, PR, SC, RS)
 BR	-2027-05437	America/Campo_Grande	Mato Grosso do Sul
 BR	-1535-05605	America/Cuiaba	Mato Grosso
-BR	-0846-06354	America/Porto_Velho	W Para, Rondonia
+BR	-0226-05452	America/Santarem	W Para
+BR	-0846-06354	America/Porto_Velho	Rondonia
 BR	+0249-06040	America/Boa_Vista	Roraima
 BR	-0308-06001	America/Manaus	E Amazonas
 BR	-0640-06952	America/Eirunepe	W Amazonas
@@ -209,7 +212,7 @@
 IE	+5320-00615	Europe/Dublin
 IL	+3146+03514	Asia/Jerusalem
 IM	+5409-00428	Europe/Isle_of_Man
-IN	+2232+08822	Asia/Calcutta
+IN	+2232+08822	Asia/Kolkata
 IO	-0720+07225	Indian/Chagos
 IQ	+3321+04425	Asia/Baghdad
 IR	+3540+05126	Asia/Tehran
@@ -291,7 +294,7 @@
 NO	+5955+01045	Europe/Oslo
 NP	+2743+08519	Asia/Katmandu
 NR	-0031+16655	Pacific/Nauru
-NU	-1901+16955	Pacific/Niue
+NU	-1901-16955	Pacific/Niue
 NZ	-3652+17446	Pacific/Auckland	most locations
 NZ	-4357-17633	Pacific/Chatham	Chatham Islands
 OM	+2336+05835	Asia/Muscat
@@ -382,13 +385,13 @@
 US	+364947-0845057	America/Kentucky/Monticello	Eastern Time - Kentucky - Wayne County
 US	+394606-0860929	America/Indiana/Indianapolis	Eastern Time - Indiana - most locations
 US	+384038-0873143	America/Indiana/Vincennes	Eastern Time - Indiana - Daviess, Dubois, Knox & Martin Counties
-US	+411745-0863730	America/Indiana/Knox	Eastern Time - Indiana - Starke County
 US	+410305-0863611	America/Indiana/Winamac	Eastern Time - Indiana - Pulaski County
 US	+382232-0862041	America/Indiana/Marengo	Eastern Time - Indiana - Crawford County
+US	+382931-0871643	America/Indiana/Petersburg	Eastern Time - Indiana - Pike County
 US	+384452-0850402	America/Indiana/Vevay	Eastern Time - Indiana - Switzerland County
 US	+415100-0873900	America/Chicago	Central Time
 US	+375711-0864541	America/Indiana/Tell_City	Central Time - Indiana - Perry County
-US	+382931-0871643	America/Indiana/Petersburg	Central Time - Indiana - Pike County
+US	+411745-0863730	America/Indiana/Knox	Central Time - Indiana - Starke County
 US	+450628-0873651	America/Menominee	Central Time - Michigan - Dickinson, Gogebic, Iron & Menominee Counties
 US	+470659-1011757	America/North_Dakota/Center	Central Time - North Dakota - Oliver County
 US	+465042-1012439	America/North_Dakota/New_Salem	Central Time - North Dakota - Morton County (except Mandan area)
@@ -411,7 +414,7 @@
 VE	+1030-06656	America/Caracas
 VG	+1827-06437	America/Tortola
 VI	+1821-06456	America/St_Thomas
-VN	+1045+10640	Asia/Saigon
+VN	+1045+10640	Asia/Ho_Chi_Minh
 VU	-1740+16825	Pacific/Efate
 WF	-1318-17610	Pacific/Wallis
 WS	-1350-17144	Pacific/Apia
Index: africa
===================================================================
RCS file: /home/cvs/src/share/zoneinfo/africa,v
retrieving revision 1.4
retrieving revision 1.5
diff -L share/zoneinfo/africa -L share/zoneinfo/africa -u -r1.4 -r1.5
--- share/zoneinfo/africa
+++ share/zoneinfo/africa
@@ -1,4 +1,4 @@
-# @(#)africa	8.10
+# @(#)africa	8.17
 # 
 
 # This data is by no means authoritative; if you think you know better,
@@ -387,9 +387,88 @@
 			 0:00	-	GMT
 
 # Mauritius
+
+# From Steffen Thorsen (2008-06-25):
+# Mauritius plans to observe DST from 2008-11-01 to 2009-03-31 on a trial
+# basis....
+# It seems that Mauritius observed daylight saving time from 1982-10-10 to 
+# 1983-03-20 as well, but that was not successful....
+# http://www.timeanddate.com/news/time/mauritius-daylight-saving-time.html
+
+# From Alex Krivenyshev (2008-06-25):
+# http://economicdevelopment.gov.mu/portal/site/Mainhomepage/menuitem.a42b24128104d9845dabddd154508a0c/?content_id=0a7cee8b5d69a110VgnVCM1000000a04a8c0RCRD
+
+# From Arthur David Olson (2008-06-30):
+# The www.timeanddate.com article cited by Steffen Thorsen notes that "A
+# final decision has yet to be made on the times that daylight saving
+# would begin and end on these dates." As a place holder, use midnight.
+
+# From Paul Eggert (2008-06-30):
+# Follow Thorsen on DST in 1982/1983, instead of Shanks & Pottenger.
+
+# From Steffen Thorsen (2008-07-10):
+# According to
+# 
+# http://www.lexpress.mu/display_article.php?news_id=111216
+# 
+# (in French), Mauritius will start and end their DST a few days earlier
+# than previously announced (2008-11-01 to 2009-03-31).  The new start
+# date is 2008-10-26 at 02:00 and the new end date is 2009-03-27 (no time
+# given, but it is probably at either 2 or 3 wall clock time).
+# 
+# A little strange though, since the article says that they moved the date 
+# to align itself with Europe and USA which also change time on that date, 
+# but that means they have not paid attention to what happened in 
+# USA/Canada last year (DST ends first Sunday in November). I also wonder 
+# why that they end on a Friday, instead of aligning with Europe which 
+# changes two days later.
+
+# From Alex Krivenyshev (2008-07-11):
+# Seems that English language article "The revival of daylight saving
+# time:  Energy conservation?"-# No. 16578 (07/11/2008) was originally
+# published on Monday, June 30, 2008...
+#
+# I guess that article in French "Le gouvernement avance l'introduction
+# de l'heure d'ete" stating that DST in Mauritius starting on October 26
+# and ending on March 27, 2009 is the most recent one.
+# ...
+# 
+# http://www.worldtimezone.com/dst_news/dst_news_mauritius02.html
+# 
+
+# From Riad M. Hossen Ally (2008-08-03):
+# The Government of Mauritius weblink
+# 
+# http://www.gov.mu/portal/site/pmosite/menuitem.4ca0efdee47462e7440a600248a521ca/?content_id=3D4728ca68b2a5b110VgnVCM1000000a04a8c0RCRD
+# 
+# Cabinet Decision of July 18th, 2008 states as follows:
+#
+# 4. ...Cabinet has agreed to the introduction into the National Assembly
+# of the Time Bill which provides for the introduction of summer time in
+# Mauritius. The summer time period which will be of one hour ahead of
+# the standard time, will be aligned with that in Europe and the United
+# States of America. It will start at two o'clock in the morning on the
+# last Sunday of October and will end at two o'clock in the morning on
+# the last Sunday of March the following year. The summer time for the
+# year 2008 - 2009 will, therefore, be effective as from 26 October 2008
+# and end on 29 March 2009.
+
+# From Ed Maste (2008-10-07):
+# THE TIME BILL (No. XXVII of 2008) Explanatory Memorandum states the
+# beginning / ending of summer time is 2 o'clock standard time in the
+# morning of the last Sunday of October / last Sunday of March.
+# 
+# http://www.gov.mu/portal/goc/assemblysite/file/bill2708.pdf
+# 
+
+# Rule	NAME	FROM	TO	TYPE	IN	ON	AT	SAVE	LETTER/S
+Rule Mauritius	1982	only	-	Oct	10	0:00	1:00	S
+Rule Mauritius	1983	only	-	Mar	21	0:00	0	-
+Rule Mauritius	2008	max	-	Oct	lastSun	2:00s	1:00	S
+Rule Mauritius	2009	max	-	Mar	lastSun	2:00s	0	-
 # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
 Zone Indian/Mauritius	3:50:00 -	LMT	1907		# Port Louis
-			4:00	-	MUT	# Mauritius Time
+			4:00 Mauritius	MU%sT	# Mauritius Time
 # Agalega Is, Rodriguez
 # no information; probably like Indian/Mauritius
 
@@ -400,7 +479,93 @@
 
 # Morocco
 # See the `europe' file for Spanish Morocco (Africa/Ceuta).
+
+# From Alex Krivenyshev (2008-05-09):
+# Here is an article that Morocco plan to introduce Daylight Saving Time between
+# 1 June, 2008 and 27 September, 2008.
+#
+# "... Morocco is to save energy by adjusting its clock during summer so it will
+# be one hour ahead of GMT between 1 June and 27 September, according to
+# Communication Minister and Gov ernment Spokesman, Khalid Naciri...."
+#
+# 
+# http://www.worldtimezone.net/dst_news/dst_news_morocco01.html
+# 
+# OR
+# 
+# http://en.afrik.com/news11892.html
+# 
+
+# From Alex Krivenyshev (2008-05-09):
+# The Morocco time change can be confirmed on Morocco web site Maghreb Arabe Presse:
+# 
+# http://www.map.ma/eng/sections/box3/morocco_shifts_to_da/view
+# 
+#
+# Morocco shifts to daylight time on June 1st through September 27, Govt.
+# spokesman.
+
+# From Patrice Scattolin (2008-05-09):
+# According to this article:
+# 
+# http://www.avmaroc.com/actualite/heure-dete-comment-a127896.html
+# 
+# (and republished here:
+# 
+# http://www.actu.ma/heure-dete-comment_i127896_0.html
+# 
+# )
+# the changes occurs at midnight:
+#
+# saturday night may 31st at midnight (which in french is to be
+# intrepreted as the night between saturday and sunday)
+# sunday night the 28th  at midnight
+#
+# Seeing that the 28th is monday, I am guessing that she intends to say
+# the midnight of the 28th which is the midnight between sunday and
+# monday, which jives with other sources that say that it's inclusive
+# june1st to sept 27th.
+#
+# The decision was taken by decree *2-08-224 *but I can't find the decree
+# published on the web.
+#
+# It's also confirmed here:
+# 
+# http://www.maroc.ma/NR/exeres/FACF141F-D910-44B0-B7FA-6E03733425D1.htm
+# 
+# on a government portal as being  between june 1st and sept 27th (not yet
+# posted in english).
+#
+# The following google query will generate many relevant hits:
+# 
+# http://www.google.com/search?hl=en&q=Conseil+de+gouvernement+maroc+heure+avance&btnG=Search
+# 
+
+# From Alex Krivenyshev (2008-05-09):
+# Is Western Sahara (part which administrated by Morocco) going to follow
+# Morocco DST changes?  Any information?  What about other part of
+# Western Sahara - under administration of POLISARIO Front (also named
+# SADR Saharawi Arab Democratic Republic)?
+
+# From Arthur David Olson (2008-05-09):
+# XXX--guess that it is only Morocco for now; guess only 2008 for now.
+
+# From Steffen Thorsen (2008-08-27):
+# Morocco will change the clocks back on the midnight between August 31 
+# and September 1. They originally planned to observe DST to near the end 
+# of September:
+#
+# One article about it (in French):
+# 
+# http://www.menara.ma/fr/Actualites/Maroc/Societe/ci.retour_a_l_heure_gmt_a_partir_du_dimanche_31_aout_a_minuit_officiel_.default
+# 
+#
+# We have some further details posted here:
+# 
+# http://www.timeanddate.com/news/time/morocco-ends-dst-early-2008.html
+# 
 # RULE	NAME	FROM	TO	TYPE	IN	ON	AT	SAVE	LETTER/S
+
 Rule	Morocco	1939	only	-	Sep	12	 0:00	1:00	S
 Rule	Morocco	1939	only	-	Nov	19	 0:00	0	-
 Rule	Morocco	1940	only	-	Feb	25	 0:00	1:00	S
@@ -416,11 +581,13 @@
 Rule	Morocco	1977	only	-	Sep	28	 0:00	0	-
 Rule	Morocco	1978	only	-	Jun	 1	 0:00	1:00	S
 Rule	Morocco	1978	only	-	Aug	 4	 0:00	0	-
+Rule	Morocco	2008	only	-	Jun	 1	 0:00	1:00	S
+Rule	Morocco	2008	only	-	Sep	 1	 0:00	0	-
 # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
 Zone Africa/Casablanca	-0:30:20 -	LMT	1913 Oct 26
 			 0:00	Morocco	WE%sT	1984 Mar 16
 			 1:00	-	CET	1986
-			 0:00	-	WET
+			 0:00	Morocco	WE%sT
 # Western Sahara
 Zone Africa/El_Aaiun	-0:52:48 -	LMT	1934 Jan
 			-1:00	-	WAT	1976 Apr 14
Index: MidnightBSD-upgrade
===================================================================
RCS file: /home/cvs/src/share/zoneinfo/MidnightBSD-upgrade,v
retrieving revision 1.3
retrieving revision 1.4
diff -L share/zoneinfo/MidnightBSD-upgrade -L share/zoneinfo/MidnightBSD-upgrade -u -r1.3 -r1.4
--- share/zoneinfo/MidnightBSD-upgrade
+++ share/zoneinfo/MidnightBSD-upgrade
@@ -18,6 +18,6 @@
 
 __
 
-Last updated with tzdata2007k
+Last updated with tzdata2008i
 
 $MidnightBSD$
Index: southamerica
===================================================================
RCS file: /home/cvs/src/share/zoneinfo/southamerica,v
retrieving revision 1.4
retrieving revision 1.5
diff -L share/zoneinfo/southamerica -L share/zoneinfo/southamerica -u -r1.4 -r1.5
--- share/zoneinfo/southamerica
+++ share/zoneinfo/southamerica
@@ -1,4 +1,4 @@
-# @(#)southamerica	8.15
+# @(#)southamerica	8.33
 # 
 
 # This data is by no means authoritative; if you think you know better,
@@ -164,9 +164,58 @@
 # From Paul Eggert (2007-12-22):
 # For dates after mid-2008, the following rules are my guesses and
 # are quite possibly wrong, but are more likely than no DST at all.
+
+# From Alexander Krivenyshev (2008-09-05):
+# As per message from Carlos Alberto Fonseca Arauz (Nicaragua),
+# Argentina will start DST on Sunday October 19, 2008.
+#
+# 
+# http://www.worldtimezone.com/dst_news/dst_news_argentina03.html
+# 
+# OR
+# 
+# http://www.impulsobaires.com.ar/nota.php?id=57832 (in spanish)
+# 
+
+# From Rodrigo Severo (2008-10-06):
+# Here is some info available at a Gentoo bug related to TZ on Argentina's DST:
+# ...
+# ------- Comment #1 from [jmdocile]  2008-10-06 16:28 0000 -------
+# Hi, there is a problem with timezone-data-2008e and maybe with
+# timezone-data-2008f
+# Argentinian law [Number] 25.155 is no longer valid.
+# 
+# http://www.infoleg.gov.ar/infolegInternet/anexos/60000-64999/60036/norma.htm
+# 
+# The new one is law [Number] 26.350
+# 
+# http://www.infoleg.gov.ar/infolegInternet/anexos/135000-139999/136191/norma.htm
+# 
+# So there is no summer time in Argentina for now.
+
+# From Mariano Absatz (2008-10-20):
+# Decree 1693/2008 applies Law 26.350 for the summer 2008/2009 establishing DST in Argentina
+# From 2008-10-19 until 2009-03-15
+# 
+# http://www.boletinoficial.gov.ar/Bora.Portal/CustomControls/PdfContent.aspx?fp=16102008&pi=3&pf=4&s=0&sec=01
+# 
+#
+# Decree 1705/2008 excepting 12 Provinces from applying DST in the summer 2008/2009:
+# Catamarca, La Rioja, Mendoza, Salta, San Juan, San Luis, La Pampa, Neuquen, Rio Negro, Chubut, Santa Cruz
+# and Tierra del Fuego
+# 
+# http://www.boletinoficial.gov.ar/Bora.Portal/CustomControls/PdfContent.aspx?fp=17102008&pi=1&pf=1&s=0&sec=01
+# 
+#
+# Press release 235 dated Saturday October 18th, from the Government of the Province of Jujuy saying
+# it will not apply DST either (even when it was not included in Decree 1705/2008)
+# 
+# http://www.jujuy.gov.ar/index2/partes_prensa/18_10_08/235-181008.doc
+# 
+
 Rule	Arg	2007	only	-	Dec	30	0:00	1:00	S
 Rule	Arg	2008	max	-	Mar	Sun>=15	0:00	0	-
-Rule	Arg	2008	max	-	Oct	Sun>=1	0:00	1:00	S
+Rule	Arg	2008	max	-	Oct	Sun>=15	0:00	1:00	S
  
 # From Mariano Absatz (2004-05-21):
 # Today it was officially published that the Province of Mendoza is changing
@@ -228,10 +277,80 @@
 # http://www.sanjuan.gov.ar/prensa/archivo/000426.html
 # http://www.sanjuan.gov.ar/prensa/archivo/000441.html
 
+# From Alex Krivenyshev (2008-01-17):
+# Here are articles that Argentina Province San Luis is planning to end DST
+# as earlier as upcoming Monday January 21, 2008 or February 2008:
+#
+# Provincia argentina retrasa reloj y marca diferencia con resto del pais
+# (Argentine Province delayed clock and mark difference with the rest of the
+# country)
+# 
+# http://cl.invertia.com/noticias/noticia.aspx?idNoticia=200801171849_EFE_ET4373&idtel
+# 
+#
+# Es inminente que en San Luis atrasen una hora los relojes
+# (It is imminent in San Luis clocks one hour delay)
+# 
+# http://www.lagaceta.com.ar/vernotae.asp?id_nota=253414
+# 
+#
+# 
+# http://www.worldtimezone.net/dst_news/dst_news_argentina02.html
+# 
+
+# From Jesper Norgaard Welen (2008-01-18):
+# The page of the San Luis provincial government
+# 
+# http://www.sanluis.gov.ar/notas.asp?idCanal=0&id=22812
+# 
+# confirms what Alex Krivenyshev has earlier sent to the tz
+# emailing list about that San Luis plans to return to standard
+# time much earlier than the rest of the country. It also
+# confirms that upon request the provinces San Juan and Mendoza 
+# refused to follow San Luis in this change. 
+# 
+# The change is supposed to take place Monday the 21.st at 0:00
+# hours. As far as I understand it if this goes ahead, we need
+# a new timezone for San Luis (although there are also documented
+# independent changes in the southamerica file of San Luis in
+# 1990 and 1991 which has not been confirmed).
+
+# From Jesper Norgaard Welen (2008-01-25):
+# Unfortunately the below page has become defunct, about the San Luis
+# time change. Perhaps because it now is part of a group of pages "Most
+# important pages of 2008."
+#
+# You can use
+# 
+# http://www.sanluis.gov.ar/notas.asp?idCanal=8141&id=22834
+# 
+# instead it seems. Or use "Buscador" from the main page of the San Luis
+# government, and fill in "huso" and click OK, and you will get 3 pages
+# from which the first one is identical to the above.
+
+# From Mariano Absatz (2008-01-28):
+# I can confirm that the Province of San Luis (and so far only that
+# province) decided to go back to UTC-3 effective midnight Jan 20th 2008
+# (that is, Monday 21st at 0:00 is the time the clocks were delayed back
+# 1 hour), and they intend to keep UTC-3 as their timezone all year round
+# (that is, unless they change their mind any minute now).
+#
+# So we'll have to add yet another city to 'southamerica' (I think San
+# Luis city is the mos populated city in the Province, so it'd be
+# America/Argentina/San_Luis... of course I can't remember if San Luis's
+# history of particular changes goes along with Mendoza or San Juan :-(
+# (I only remember not being able to collect hard facts about San Luis
+# back in 2004, when these provinces changed to UTC-4 for a few days, I
+# mailed them personally and never got an answer).
+
+# From Paul Eggert (2008-06-30):
 # Unless otherwise specified, data are from Shanks & Pottenger through 1992,
 # from the IATA otherwise.  As noted below, Shanks & Pottenger say that
-# America/Cordoba split into 6 subregions during 1991/1992, but we
-# haven't verified this yet so for now we'll keep it a single region.
+# America/Cordoba split into 6 subregions during 1991/1992, one of which
+# was America/San_Luis, but we haven't verified this yet so for now we'll
+# keep America/Cordoba a single region rather than splitting it into the
+# other 5 subregions.
+
 #
 # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
 #
@@ -244,16 +363,13 @@
 			-4:00	Arg	AR%sT	2000 Mar  3
 			-3:00	Arg	AR%sT
 #
-# Santa Fe (SF), Entre Rios (ER), Corrientes (CN), Misiones (MN), Chaco (CC),
-# Formosa (FM), Salta (SA), Santiago del Estero (SE), Cordoba (CB),
-# San Luis (SL), La Pampa (LP), Neuquen (NQ), Rio Negro (RN)
+# Cordoba (CB), Santa Fe (SF), Entre Rios (ER), Corrientes (CN), Misiones (MN),
+# Chaco (CC), Formosa (FM), Santiago del Estero (SE)
 #
 # Shanks & Pottenger also make the following claims, which we haven't verified:
 # - Formosa switched to -3:00 on 1991-01-07.
 # - Misiones switched to -3:00 on 1990-12-29.
 # - Chaco switched to -3:00 on 1991-01-04.
-# - San Luis switched to -4:00 on 1990-03-14, then to -3:00 on 1990-10-15,
-#   then to -4:00 on 1991-03-01, then to -3:00 on 1991-06-01.
 # - Santiago del Estero switched to -4:00 on 1991-04-01,
 #   then to -3:00 on 1991-04-26.
 #
@@ -267,6 +383,18 @@
 			-4:00	Arg	AR%sT	2000 Mar  3
 			-3:00	Arg	AR%sT
 #
+# Salta (SA), La Pampa (LP), Neuquen (NQ), Rio Negro (RN)
+Zone America/Argentina/Salta -4:21:40 - LMT	1894 Oct 31
+			-4:16:48 -	CMT	1920 May
+			-4:00	-	ART	1930 Dec
+			-4:00	Arg	AR%sT	1969 Oct  5
+			-3:00	Arg	AR%sT	1991 Mar  3
+			-4:00	-	WART	1991 Oct 20
+			-3:00	Arg	AR%sT	1999 Oct  3
+			-4:00	Arg	AR%sT	2000 Mar  3
+			-3:00	Arg	AR%sT	2008 Oct 18
+			-3:00	-	ART
+#
 # Tucuman (TM)
 Zone America/Argentina/Tucuman -4:20:52 - LMT	1894 Oct 31
 			-4:16:48 -	CMT	1920 May
@@ -291,7 +419,8 @@
 			-4:00	Arg	AR%sT	2000 Mar  3
 			-3:00	-	ART	2004 Jun  1
 			-4:00	-	WART	2004 Jun 20
-			-3:00	Arg	AR%sT
+			-3:00	Arg	AR%sT	2008 Oct 18
+			-3:00	-	ART
 #
 # San Juan (SJ)
 Zone America/Argentina/San_Juan -4:34:04 - LMT	1894 Oct 31
@@ -304,7 +433,8 @@
 			-4:00	Arg	AR%sT	2000 Mar  3
 			-3:00	-	ART	2004 May 31
 			-4:00	-	WART	2004 Jul 25
-			-3:00	Arg	AR%sT
+			-3:00	Arg	AR%sT	2008 Oct 18
+			-3:00	-	ART
 #
 # Jujuy (JY)
 Zone America/Argentina/Jujuy -4:21:12 -	LMT	1894 Oct 31
@@ -318,7 +448,8 @@
 			-3:00	1:00	ARST	1992
 			-3:00	Arg	AR%sT	1999 Oct  3
 			-4:00	Arg	AR%sT	2000 Mar  3
-			-3:00	Arg	AR%sT
+			-3:00	Arg	AR%sT	2008 Oct 18
+			-3:00	-	ART
 #
 # Catamarca (CT), Chubut (CH)
 Zone America/Argentina/Catamarca -4:23:08 - LMT	1894 Oct 31
@@ -331,7 +462,8 @@
 			-4:00	Arg	AR%sT	2000 Mar  3
 			-3:00	-	ART	2004 Jun  1
 			-4:00	-	WART	2004 Jun 20
-			-3:00	Arg	AR%sT
+			-3:00	Arg	AR%sT	2008 Oct 18
+			-3:00	-	ART
 #
 # Mendoza (MZ)
 Zone America/Argentina/Mendoza -4:35:16 - LMT	1894 Oct 31
@@ -348,7 +480,25 @@
 			-4:00	Arg	AR%sT	2000 Mar  3
 			-3:00	-	ART	2004 May 23
 			-4:00	-	WART	2004 Sep 26
-			-3:00	Arg	AR%sT
+			-3:00	Arg	AR%sT	2008 Oct 18
+			-3:00	-	ART
+#
+# San Luis (SL)
+Zone America/Argentina/San_Luis -4:25:24 - LMT	1894 Oct 31
+			-4:16:48 -	CMT	1920 May
+			-4:00	-	ART	1930 Dec
+			-4:00	Arg	AR%sT	1969 Oct  5
+			-3:00	Arg	AR%sT	1990
+			-3:00	1:00	ARST	1990 Mar 14
+			-4:00	-	WART	1990 Oct 15
+			-4:00	1:00	WARST	1991 Mar  1
+			-4:00	-	WART	1991 Jun  1
+			-3:00	-	ART	1999 Oct  3
+			-4:00	1:00	WARST	2000 Mar  3
+			-3:00	-	ART	2004 May 31
+			-4:00	-	WART	2004 Jul 25
+			-3:00	Arg	AR%sT	2008 Jan 21
+			-3:00	-	ART
 #
 # Santa Cruz (SC)
 Zone America/Argentina/Rio_Gallegos -4:36:52 - LMT 1894 Oct 31
@@ -359,7 +509,8 @@
 			-4:00	Arg	AR%sT	2000 Mar  3
 			-3:00	-	ART	2004 Jun  1
 			-4:00	-	WART	2004 Jun 20
-			-3:00	Arg	AR%sT
+			-3:00	Arg	AR%sT	2008 Oct 18
+			-3:00	-	ART
 #
 # Tierra del Fuego, Antartida e Islas del Atlantico Sur (TF)
 Zone America/Argentina/Ushuaia -4:33:12 - LMT 1894 Oct 31
@@ -370,7 +521,8 @@
 			-4:00	Arg	AR%sT	2000 Mar  3
 			-3:00	-	ART	2004 May 30
 			-4:00	-	WART	2004 Jun 20
-			-3:00	Arg	AR%sT
+			-3:00	Arg	AR%sT	2008 Oct 18
+			-3:00	-	ART
 
 # Aruba
 # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
@@ -456,12 +608,86 @@
 # Brazil will start DST on 2007-10-14 00:00 and end on 2008-02-17 00:00:
 # http://www.mme.gov.br/site/news/detail.do;jsessionid=BBA06811AFCAAC28F0285210913513DA?newsId=13975
 
+# From Paul Schulze (2008-06-24):
+# ...by law number 11.662 of April 24, 2008 (published in the "Diario
+# Oficial da Uniao"...) in Brazil there are changes in the timezones,
+# effective today (00:00am at June 24, 2008) as follows:
+#
+# a) The timezone UTC+5 is e[x]tinguished, with all the Acre state and the
+# part of the Amazonas state that had this timezone now being put to the
+# timezone UTC+4
+# b) The whole Para state now is put at timezone UTC+3, instead of just
+# part of it, as was before.
+#
+# This change follows a proposal of senator Tiao Viana of Acre state, that
+# proposed it due to concerns about open television channels displaying
+# programs inappropriate to youths in the states that had the timezone
+# UTC+5 too early in the night. In the occasion, some more corrections
+# were proposed, trying to unify the timezones of any given state. This
+# change modifies timezone rules defined in decree 2.784 of 18 June,
+# 1913.
+
+# From Rodrigo Severo (2008-06-24):
+# Just correcting the URL:
+# 
+# https://www.in.gov.br/imprensa/visualiza/index.jsp?jornal=3Ddo&secao=3D1&pagina=3D1&data=3D25/04/2008
+# 
+#
+# As a result of the above Decree I believe the America/Rio_Branco
+# timezone shall be modified from UTC-5 to UTC-4 and a new timezone shall
+# be created to represent the the west side of the Para State. I
+# suggest this new timezone be called Santarem as the most
+# important/populated city in the affected area.
+#
+# This new timezone would be the same as the Rio_Branco timezone up to
+# the 2008/06/24 change which would be to UTC-3 instead of UTC-4.
+
+# From Alex Krivenyshev (2008-06-24):
+# This is a quick reference page for New and Old Brazil Time Zones map.
+# 
+# http://www.worldtimezone.com/brazil-time-new-old.php
+# 
+#
+# - 4 time zones replaced by 3 time zones-eliminating time zone UTC- 05
+# (state Acre and the part of the Amazonas will be UTC/GMT- 04) - western
+# part of Par state is moving to one timezone UTC- 03 (from UTC -04).
+
 # From Paul Eggert (2002-10-10):
 # The official decrees referenced below are mostly taken from
 # 
 # Decretos sobre o Horario de Verao no Brasil
 # .
 
+# From Steffen Thorsen (2008-08-29):
+# As announced by the government and many newspapers in Brazil late
+# yesterday, Brazil will start DST on 2008-10-19 (need to change rule) and
+# it will end on 2009-02-15 (current rule for Brazil is fine). Based on
+# past years experience with the elections, there was a good chance that
+# the start was postponed to November, but it did not happen this year.
+#
+# It has not yet been posted to http://pcdsh01.on.br/DecHV.html
+#
+# An official page about it:
+# 
+# http://www.mme.gov.br/site/news/detail.do?newsId=16722
+# 
+# Note that this link does not always work directly, but must be accessed
+# by going to
+# 
+# http://www.mme.gov.br/first
+# 
+#
+# One example link that works directly:
+# 
+# http://jornale.com.br/index.php?option=com_content&task=view&id=13530&Itemid=54
+# (Portuguese)
+# 
+#
+# We have a written a short article about it as well:
+# 
+# http://www.timeanddate.com/news/time/brazil-dst-2008-2009.html
+# 
+
 # Rule	NAME	FROM	TO	TYPE	IN	ON	AT	SAVE	LETTER/S
 # Decree 20,466 (1931-10-01)
 # Decree 21,896 (1932-01-10)
@@ -578,13 +804,13 @@
 Rule	Brazil	2000	2001	-	Oct	Sun>=8	 0:00	1:00	S
 Rule	Brazil	2001	2006	-	Feb	Sun>=15	 0:00	0	-
 # Decree 4,399 (2002-10-01) repeals DST in AL, CE, MA, PB, PE, PI, RN, SE.
-# 
+# 4,399
 Rule	Brazil	2002	only	-	Nov	 3	 0:00	1:00	S
 # Decree 4,844 (2003-09-24; corrected 2003-09-26) repeals DST in BA, MT, TO.
-# 
+# 4,844
 Rule	Brazil	2003	only	-	Oct	19	 0:00	1:00	S
 # Decree 5,223 (2004-10-01) reestablishes DST in MT.
-# 
+# 5,223
 Rule	Brazil	2004	only	-	Nov	 2	 0:00	1:00	S
 # Decree 5,539 (2005-09-19),
 # adopted by the same states as before.
@@ -593,16 +819,36 @@
 # adopted by the same states as before.
 Rule	Brazil	2006	only	-	Nov	 5	 0:00	1:00	S
 Rule	Brazil	2007	only	-	Feb	25	 0:00	0	-
-# (Decree number not yet known)
-# http://www.brasil.gov.br/noticias/ultimas_noticias/horario_verao070920/
-# (2007-09-20) after a heads-up from Steffen Thorsen:
-Rule	Brazil	2007	max	-	Oct	Sun>=8	 0:00	1:00	S
-Rule	Brazil	2008	max	-	Feb	Sun>=15	 0:00	0	-
+# Decree 6,212 (2007-09-26),
+# adopted by the same states as before.
+Rule	Brazil	2007	only	-	Oct	Sun>=8	 0:00	1:00	S
+# From Frederico A. C. Neves (2008-09-10):
+# Acording to this decree
+# 
+# http://www.planalto.gov.br/ccivil_03/_Ato2007-2010/2008/Decreto/D6558.htm
+# 
+# [t]he DST period in Brazil now on will be from the 3rd Oct Sunday to the
+# 3rd Feb Sunday. There is an exception on the return date when this is
+# the Carnival Sunday then the return date will be the next Sunday...
+Rule	Brazil	2008	max	-	Oct	Sun>=15	0:00	1:00	S
+Rule	Brazil	2008	2011	-	Feb	Sun>=15	0:00	0	-
+Rule	Brazil	2012	only	-	Feb	Sun>=22	0:00	0	-
+Rule	Brazil	2013	2014	-	Feb	Sun>=15	0:00	0	-
+Rule	Brazil	2015	only	-	Feb	Sun>=22	0:00	0	-
+Rule	Brazil	2016	2022	-	Feb	Sun>=15	0:00	0	-
+Rule	Brazil	2023	only	-	Feb	Sun>=22	0:00	0	-
+Rule	Brazil	2024	2025	-	Feb	Sun>=15	0:00	0	-
+Rule	Brazil	2026	only	-	Feb	Sun>=22	0:00	0	-
+Rule	Brazil	2027	2033	-	Feb	Sun>=15	0:00	0	-
+Rule	Brazil	2034	only	-	Feb	Sun>=22	0:00	0	-
+Rule	Brazil	2035	2036	-	Feb	Sun>=15	0:00	0	-
+Rule	Brazil	2037	only	-	Feb	Sun>=22	0:00	0	-
+# From Arthur David Olson (2008-09-29):
+# The next is wrong in some years but is better than nothing.
+Rule	Brazil	2038	max	-	Feb	Sun>=15	0:00	0	-
+
 # The latest ruleset listed above says that the following states observe DST:
 # DF, ES, GO, MG, MS, MT, PR, RJ, RS, SC, SP.
-# For dates after mid-2008, the above rules with TO="max" are guesses
-# and are quite possibly wrong, but are more likely than no DST at all.
-
 
 # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
 #
@@ -629,6 +875,13 @@
 			-3:00	Brazil	BR%sT	1988 Sep 12
 			-3:00	-	BRT
 #
+# west Para (PA)
+# West Para includes Altamira, Oribidos, Prainha, Oriximina, and Santarem.
+Zone America/Santarem	-3:38:48 -	LMT	1914
+			-4:00	Brazil	AM%sT	1988 Sep 12
+			-4:00	-	AMT	2008 Jun 24 00:00
+			-3:00	-	BRT
+#
 # Maranhao (MA), Piaui (PI), Ceara (CE), Rio Grande do Norte (RN),
 # Paraiba (PB)
 Zone America/Fortaleza	-2:34:00 -	LMT	1914
@@ -691,8 +944,7 @@
 			-4:00	-	AMT	2004 Oct  1
 			-4:00	Brazil	AM%sT
 #
-# west Para (PA), Rondonia (RO)
-# West Para includes Altamira, Oribidos, Prainha, Oriximina, and Santarem.
+# Rondonia (RO)
 Zone America/Porto_Velho -4:15:36 -	LMT	1914
 			-4:00	Brazil	AM%sT	1988 Sep 12
 			-4:00	-	AMT
@@ -719,13 +971,14 @@
 			-5:00	Brazil	AC%sT	1988 Sep 12
 			-5:00	-	ACT	1993 Sep 28
 			-5:00	Brazil	AC%sT	1994 Sep 22
-			-5:00	-	ACT
+			-5:00	-	ACT	2008 Jun 24 00:00
+			-4:00	-	AMT
 #
 # Acre (AC)
 Zone America/Rio_Branco	-4:31:12 -	LMT	1914
 			-5:00	Brazil	AC%sT	1988 Sep 12
-			-5:00	-	ACT
-
+			-5:00	-	ACT	2008 Jun 24 00:00
+			-4:00	-	AMT
 
 # Chile
 
@@ -759,6 +1012,26 @@
 # America/Santiago.  The pre-1980 Pacific/Easter data are dubious,
 # but we have no other source.
 
+# From German Poo-Caaman~o (2008-03-03):
+# Due to drought, Chile extends Daylight Time in three weeks.  This
+# is one-time change (Saturday 3/29 at 24:00 for America/Santiago
+# and Saturday 3/29 at 22:00 for Pacific/Easter)
+# The Supreme Decree is located at 
+# 
+# http://www.shoa.cl/servicios/supremo316.pdf
+# 
+# and the instructions for 2008 are located in:
+# 
+# http://www.horaoficial.cl/cambio.htm
+# .
+
+# From Jose Miguel Garrido (2008-03-05):
+# ...
+# You could see the announces of the change on 
+# 
+# http://www.shoa.cl/noticias/2008/04hora/hora.htm
+# .
+
 # Rule	NAME	FROM	TO	TYPE	IN	ON	AT	SAVE	LETTER/S
 Rule	Chile	1927	1932	-	Sep	 1	0:00	1:00	S
 Rule	Chile	1928	1932	-	Apr	 1	0:00	0	-
@@ -789,7 +1062,11 @@
 Rule	Chile	1998	only	-	Sep	27	4:00u	1:00	S
 Rule	Chile	1999	only	-	Apr	 4	3:00u	0	-
 Rule	Chile	1999	max	-	Oct	Sun>=9	4:00u	1:00	S
-Rule	Chile	2000	max	-	Mar	Sun>=9	3:00u	0	-
+Rule	Chile	2000	2007	-	Mar	Sun>=9	3:00u	0	-
+# N.B.: the end of March 29 in Chile is March 30 in Universal time,
+# which is used below in specifying the transition.
+Rule	Chile	2008	only	-	Mar	30	3:00u	0	-
+Rule	Chile	2009	max	-	Mar	Sun>=9	3:00u	0	-
 # IATA SSIM anomalies: (1992-02) says 1992-03-14;
 # (1996-09) says 1998-03-08.  Ignore these.
 # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
Index: asia
===================================================================
RCS file: /home/cvs/src/share/zoneinfo/asia,v
retrieving revision 1.4
retrieving revision 1.5
diff -L share/zoneinfo/asia -L share/zoneinfo/asia -u -r1.4 -r1.5
--- share/zoneinfo/asia
+++ share/zoneinfo/asia
@@ -1,4 +1,4 @@
-# @(#)asia	8.14
+# @(#)asia	8.24
 # 
 
 # This data is by no means authoritative; if you think you know better,
@@ -229,6 +229,28 @@
 # (could be true), for the moment I am assuming that those two
 # counties are mistakes in the astro.com data.
 
+# From Paul Eggert (2008-02-11):
+# I just now checked Google News for western news sources that talk
+# about China's single time zone, and couldn't find anything before 1986
+# talking about China being in one time zone.  (That article was: Jim
+# Mann, "A clumsy embrace for another western custom: China on daylight
+# time--sort of", Los Angeles Times, 1986-05-05.  By the way, this
+# article confirms the tz database's data claiming that China began
+# observing daylight saving time in 1986.
+#
+# From Thomas S. Mullaney (2008-02-11):
+# I think you're combining two subjects that need to treated 
+# separately: daylight savings (which, you're correct, wasn't 
+# implemented until the 1980s) and the unified time zone centered near 
+# Beijing (which was implemented in 1949). Briefly, there was also a 
+# "Lhasa Time" in Tibet and "Urumqi Time" in Xinjiang. The first was 
+# ceased, and the second eventually recognized (again, in the 1980s).
+#
+# From Paul Eggert (2008-06-30):
+# There seems to be a good chance China switched to a single time zone in 1949
+# rather than in 1980 as Shanks & Pottenger have it, but we don't have a
+# reliable documentary source saying so yet, so for now we still go with
+# Shanks & Pottenger.
 
 # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
 # Changbai Time ("Long-white Time", Long-white = Heilongjiang area)
@@ -446,13 +468,13 @@
 
 # India
 # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
-Zone	Asia/Calcutta	5:53:28 -	LMT	1880	# Kolkata
+Zone	Asia/Kolkata	5:53:28 -	LMT	1880	# Kolkata
 			5:53:20	-	HMT	1941 Oct    # Howrah Mean Time?
 			6:30	-	BURT	1942 May 15 # Burma Time
 			5:30	-	IST	1942 Sep
 			5:30	1:00	IST	1945 Oct 15
 			5:30	-	IST
-# The following are like Asia/Calcutta:
+# The following are like Asia/Kolkata:
 #	Andaman Is
 #	Lakshadweep (Laccadive, Minicoy and Amindivi Is)
 #	Nicobar Is
@@ -660,6 +682,21 @@
 #
 # So we'll ignore the Economist's claim.
 
+# From Steffen Thorsen (2008-03-10):
+# The cabinet in Iraq abolished DST last week, according to the following
+# news sources (in Arabic):
+# 
+# http://www.aljeeran.net/wesima_articles/news-20080305-98602.html
+# 
+# 
+# http://www.aswataliraq.info/look/article.tpl?id=2047&IdLanguage=17&IdPublication=4&NrArticle=71743&NrIssue=1&NrSection=10
+# 
+#
+# We have published a short article in English about the change:
+# 
+# http://www.timeanddate.com/news/time/iraq-dumps-daylight-saving.html
+# 
+
 # Rule	NAME	FROM	TO	TYPE	IN	ON	AT	SAVE	LETTER/S
 Rule	Iraq	1982	only	-	May	1	0:00	1:00	D
 Rule	Iraq	1982	1984	-	Oct	1	0:00	0	S
@@ -670,8 +707,8 @@
 # IATA SSIM (1991/1996) says Apr 1 12:01am UTC; guess the `:01' is a typo.
 # Shanks & Pottenger say Iraq did not observe DST 1992/1997; ignore this.
 #
-Rule	Iraq	1991	max	-	Apr	 1	3:00s	1:00	D
-Rule	Iraq	1991	max	-	Oct	 1	3:00s	0	S
+Rule	Iraq	1991	2007	-	Apr	 1	3:00s	1:00	D
+Rule	Iraq	1991	2007	-	Oct	 1	3:00s	0	S
 # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
 Zone	Asia/Baghdad	2:57:40	-	LMT	1890
 			2:57:36	-	BMT	1918	    # Baghdad Mean Time?
@@ -1361,6 +1398,42 @@
 # They decided not to adopt daylight-saving time....
 # http://www.mongolnews.mn/index.php?module=unuudur&sec=view&id=15742
 
+# From Deborah Goldsmith (2008-03-30):
+# We received a bug report claiming that the tz database UTC offset for
+# Asia/Choibalsan (GMT+09:00) is incorrect, and that it should be GMT
+# +08:00 instead. Different sources appear to disagree with the tz
+# database on this, e.g.:
+#
+# 
+# http://www.timeanddate.com/worldclock/city.html?n=1026
+# 
+# 
+# http://www.worldtimeserver.com/current_time_in_MN.aspx
+# 
+#
+# both say GMT+08:00.
+
+# From Steffen Thorsen (2008-03-31):
+# eznis airways, which operates several domestic flights, has a flight
+# schedule here:
+# 
+# http://www.eznis.com/Container.jsp?id=112
+# 
+# (click the English flag for English)
+#
+# There it appears that flights between Choibalsan and Ulaanbatar arrive
+# about 1:35 - 1:50 hours later in local clock time, no matter the
+# direction, while Ulaanbaatar-Khvod takes 2 hours in the Eastern
+# direction and 3:35 back, which indicates that Ulaanbatar and Khvod are
+# in different time zones (like we know about), while Choibalsan and
+# Ulaanbatar are in the same time zone (correction needed).
+
+# From Arthur David Olson (2008-05-19):
+# Assume that Choibalsan is indeed offset by 8:00.
+# XXX--in the absence of better information, assume that transition
+# was at the start of 2008-03-31 (the day of Steffen Thorsen's report);
+# this is almost surely wrong.
+
 # Rule	NAME	FROM	TO	TYPE	IN	ON	AT	SAVE	LETTER/S
 Rule	Mongol	1983	1984	-	Apr	1	0:00	1:00	S
 Rule	Mongol	1983	only	-	Oct	1	0:00	0	-
@@ -1396,7 +1469,8 @@
 Zone	Asia/Choibalsan	7:38:00 -	LMT	1905 Aug
 			7:00	-	ULAT	1978
 			8:00	-	ULAT	1983 Apr
-			9:00	Mongol	CHO%sT	# Choibalsan Time
+			9:00	Mongol	CHO%sT	2008 Mar 31 # Choibalsan Time
+			8:00	Mongol	CHO%sT
 
 # Nepal
 # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
@@ -1446,10 +1520,45 @@
 # The minister told a news conference that the experiment had rather
 # shown 8 per cent higher consumption of electricity.
 
+# From Alex Krivenyshev (2008-05-15):
+# 
+# Here is an article that Pakistan plan to introduce Daylight Saving Time 
+# on June 1, 2008 for 3 months.
+# 
+# "... The federal cabinet on Wednesday announced a new conservation plan to help 
+# reduce load shedding by approving the closure of commercial centres at 9pm and 
+# moving clocks forward by one hour for the next three months. 
+# ...."
+# 
+# 
+# http://www.worldtimezone.net/dst_news/dst_news_pakistan01.html
+# 
+# OR
+# 
+# http://www.dailytimes.com.pk/default.asp?page=2008%5C05%5C15%5Cstory_15-5-2008_pg1_4
+# 
+
+# From Arthur David Olson (2008-05-19):
+# XXX--midnight transitions is a guess; 2008 only is a guess.
+
+# From Alexander Krivenyshev (2008-08-28):
+# Pakistan government has decided to keep the watches one-hour advanced
+# for another 2 months--plan to return to Standard Time on October 31
+# instead of August 31.
+#
+# 
+# http://www.worldtimezone.com/dst_news/dst_news_pakistan02.html
+# 
+# OR
+# 
+# http://dailymailnews.com/200808/28/news/dmbrn03.html
+# 
 
 # Rule	NAME	FROM	TO	TYPE	IN	ON	AT	SAVE	LETTER/S
 Rule Pakistan	2002	only	-	Apr	Sun>=2	0:01	1:00	S
 Rule Pakistan	2002	only	-	Oct	Sun>=2	0:01	0	-
+Rule Pakistan	2008	only	-	Jun	1	0:00	1:00	S
+Rule Pakistan	2008	only	-	Nov	1	0:00	0	-
 # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
 Zone	Asia/Karachi	4:28:12 -	LMT	1907
 			5:30	-	IST	1942 Sep
@@ -1569,6 +1678,23 @@
 # For lack of better information, predict that future changes will be
 # the 2nd Thursday of September at 02:00.
 
+# From Alexander Krivenyshev (2008-08-28):
+# Here is an article, that Mideast running on different clocks at Ramadan.
+#
+# Gaza Strip (as Egypt) ended DST at midnight Thursday (Aug 28, 2008), while
+# the West Bank will end Daylight Saving Time at midnight Sunday (Aug 31, 2008).
+#
+# 
+# http://www.guardian.co.uk/world/feedarticle/7759001
+# 
+# 
+# http://www.abcnews.go.com/International/wireStory?id=5676087
+# 
+# or
+# 
+# http://www.worldtimezone.com/dst_news/dst_news_gazastrip01.html
+# 
+
 # The rules for Egypt are stolen from the `africa' file.
 # Rule	NAME	FROM	TO	TYPE	IN	ON	AT	SAVE	LETTER/S
 Rule EgyptAsia	1957	only	-	May	10	0:00	1:00	S
@@ -1584,7 +1710,8 @@
 Rule Palestine	2005	only	-	Oct	 4	2:00	0	-
 Rule Palestine	2006	max	-	Apr	 1	0:00	1:00	S
 Rule Palestine	2006	only	-	Sep	22	0:00	0	-
-Rule Palestine	2007	max	-	Sep	Thu>=8	2:00	0	-
+Rule Palestine	2007	only	-	Sep	Thu>=8	2:00	0	-
+Rule Palestine	2008	max	-	Aug	lastThu	2:00	0	-
 
 # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
 Zone	Asia/Gaza	2:17:52	-	LMT	1900 Oct
@@ -1687,7 +1814,7 @@
 # kept their clocks set five and a half hours ahead of Greenwich Mean
 # Time (GMT), in line with neighbor India.
 # From Paul Eggert (2006-04-18):
-# People who live in regions under Tamil control can use TZ='Asia/Calcutta',
+# People who live in regions under Tamil control can use [TZ='Asia/Kolkata'],
 # as that zone has agreed with the Tamil areas since our cutoff date of 1970.
 
 # From K Sethu (2006-04-25):
@@ -1777,9 +1904,7 @@
 # From Paul Eggert (2007-03-29):
 # Today the AP reported "Syria will switch to summertime at midnight Thursday."
 # http://www.iht.com/articles/ap/2007/03/29/africa/ME-GEN-Syria-Time-Change.php
-# For lack of better info, assume the rule changed to "last Friday in March"
-# this year.
-Rule	Syria	2007	max	-	Mar	lastFri	0:00	1:00	S
+Rule	Syria	2007	only	-	Mar	lastFri	0:00	1:00	S
 # From Jesper Norgard (2007-10-27):
 # The sister center ICARDA of my work CIMMYT is confirming that Syria DST will
 # not take place 1.st November at 0:00 o'clock but 1.st November at 24:00 or
@@ -1801,10 +1926,52 @@
 # Council of Ministers also approved the commencement of work on 
 # identifying the winter time as of Friday, 2/11/2007 where the 60th 
 # minute delay at midnight Thursday 1/11/2007.
+Rule	Syria	2007	only	-	Nov	 Fri>=1	0:00	0	-
+
+# From Stephen Colebourne (2008-03-17):
+# For everyone's info, I saw an IATA time zone change for [Syria] for
+# this month (March 2008) in the last day or so...This is the data IATA
+# are now using:
+# Country     Time Standard   --- DST Start ---   --- DST End ---  DST
+# Name        Zone Variation   Time    Date        Time    Date
+# Variation
+# Syrian Arab
+# Republic    SY    +0200      2200  03APR08       2100  30SEP08   +0300
+#                              2200  02APR09       2100  30SEP09   +0300
+#                              2200  01APR10       2100  30SEP10   +0300
+
+# From Arthur David Olson (2008-03-17):
+# Here's a link to English-language coverage by the Syrian Arab News
+# Agency (SANA)...
+# 
+# http://www.sana.sy/eng/21/2008/03/11/165173.htm
+# ...which reads (in part) "The Cabinet approved the suggestion of the
+# Ministry of Electricity to begin daylight savings time on Friday April
+# 4th, advancing clocks one hour ahead on midnight of Thursday April 3rd."
+# Since Syria is two hours east of UTC, the 2200 and 2100 transition times
+# shown above match up with midnight in Syria.
+
+# From Arthur David Olson (2008-03-18):
+# My buest guess at a Syrian rule is "the Friday nearest April 1";
+# coding that involves either using a "Mar Fri>=29" construct that old time zone
+# compilers can't handle  or having multiple Rules (a la Israel).
+# For now, use "Apr Fri>=1", and go with IATA on a uniform Sep 30 end.
+
+# From Steffen Thorsen (2008-10-07):
+# Syria has now officially decided to end DST on 2008-11-01 this year,
+# according to the following article in the Syrian Arab News Agency (SANA).
+#
+# The article is in Arabic, and seems to tell that they will go back to
+# winter time on 2008-11-01 at 00:00 local daylight time (delaying/setting
+# clocks back 60 minutes).
 #
-# From Arthur David Olson (2007-10-30):
-# My best guess for the future is first Friday in November.
-Rule	Syria	2007	max	-	Nov	 Fri>=1	0:00	0	-
+# 
+# http://sana.sy/ara/2/2008/10/07/195459.htm
+# 
+
+Rule	Syria	2008	max	-	Apr	Fri>=1	0:00	1:00	S
+Rule	Syria	2008	max	-	Nov	1	0:00	0	-
+
 # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
 Zone	Asia/Damascus	2:25:12 -	LMT	1920	# Dimashq
 			2:00	Syria	EE%sT
@@ -1858,13 +2025,13 @@
 
 # Vietnam
 
-# From Paul Eggert (1993-11-18):
-# Saigon's official name is Thanh-Pho Ho Chi Minh, but it's too long.
-# We'll stick with the traditional name for now.
+# From Arthur David Olson (2008-03-18):
+# The English-language name of Vietnam's most populous city is "Ho Chi Min City";
+# we use Ho_Chi_Minh below to avoid a name of more than 14 characters.
 
 # From Shanks & Pottenger:
 # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
-Zone	Asia/Saigon	7:06:40 -	LMT	1906 Jun  9
+Zone	Asia/Ho_Chi_Minh	7:06:40 -	LMT	1906 Jun  9
 			7:06:20	-	SMT	1911 Mar 11 0:01 # Saigon MT?
 			7:00	-	ICT	1912 May
 			8:00	-	ICT	1931 May
Index: europe
===================================================================
RCS file: /home/cvs/src/share/zoneinfo/europe,v
retrieving revision 1.4
retrieving revision 1.5
diff -L share/zoneinfo/europe -L share/zoneinfo/europe -u -r1.4 -r1.5
--- share/zoneinfo/europe
+++ share/zoneinfo/europe
@@ -1,4 +1,4 @@
-# @(#)europe	8.12
+# @(#)europe	8.18
 # 
 
 # This data is by no means authoritative; if you think you know better,
@@ -457,7 +457,7 @@
 Rule	EU	1981	max	-	Mar	lastSun	 1:00u	1:00	S
 Rule	EU	1996	max	-	Oct	lastSun	 1:00u	0	-
 # The most recent directive covers the years starting in 2002.  See:
-# 
 # Directive 2000/84/EC of the European Parliament and of the Council
 # of 19 January 2001 on summer-time arrangements.
 # 
@@ -480,9 +480,48 @@
 Rule	C-Eur	1942	only	-	Nov	 2	 2:00s	0	-
 Rule	C-Eur	1943	only	-	Mar	29	 2:00s	1:00	S
 Rule	C-Eur	1943	only	-	Oct	 4	 2:00s	0	-
-Rule	C-Eur	1944	only	-	Apr	 3	 2:00s	1:00	S
+Rule	C-Eur	1944	1945	-	Apr	Mon>=1	 2:00s	1:00	S
 # Whitman gives 1944 Oct 7; go with Shanks & Pottenger.
 Rule	C-Eur	1944	only	-	Oct	 2	 2:00s	0	-
+# From Jesper Norgaard Welen (2008-07-13):
+#
+# I found what is probably a typo of 2:00 which should perhaps be 2:00s
+# in the C-Eur rule from tz database version 2008d (this part was
+# corrected in version 2008d). The circumstancial evidence is simply the
+# tz database itself, as seen below:
+#
+# Zone Europe/Paris 0:09:21 - LMT 1891 Mar 15  0:01
+#    0:00 France WE%sT 1945 Sep 16  3:00
+#
+# Zone Europe/Monaco 0:29:32 - LMT 1891 Mar 15
+#    0:00 France WE%sT 1945 Sep 16 3:00
+#
+# Zone Europe/Belgrade 1:22:00 - LMT 1884
+#    1:00 1:00 CEST 1945 Sep 16  2:00s
+#
+# Rule France 1945 only - Sep 16  3:00 0 -
+# Rule Belgium 1945 only - Sep 16  2:00s 0 -
+# Rule Neth 1945 only - Sep 16 2:00s 0 -
+#
+# The rule line to be changed is:
+#
+# Rule C-Eur 1945 only - Sep 16  2:00 0 -
+#
+# It seems that Paris, Monaco, Rule France, Rule Belgium all agree on
+# 2:00 standard time, e.g. 3:00 local time.  However there are no
+# countries that use C-Eur rules in September 1945, so the only items
+# affected are apparently these ficticious zones that translates acronyms
+# CET and MET:
+#
+# Zone CET  1:00 C-Eur CE%sT
+# Zone MET  1:00 C-Eur ME%sT
+#
+# It this is right then the corrected version would look like:
+#
+# Rule C-Eur 1945 only - Sep 16  2:00s 0 -
+#
+# A small step for mankind though 8-)
+Rule	C-Eur	1945	only	-	Sep	16	 2:00s	0	-
 Rule	C-Eur	1977	1980	-	Apr	Sun>=1	 2:00s	1:00	S
 Rule	C-Eur	1977	only	-	Sep	lastSun	 2:00s	0	-
 Rule	C-Eur	1978	only	-	Oct	 1	 2:00s	0	-
@@ -725,7 +764,8 @@
 Zone	Europe/Sofia	1:33:16 -	LMT	1880
 			1:56:56	-	IMT	1894 Nov 30 # Istanbul MT?
 			2:00	-	EET	1942 Nov  2  3:00
-			1:00	C-Eur	CE%sT	1945 Apr  2  3:00
+			1:00	C-Eur	CE%sT	1945
+			1:00	-	CET	1945 Apr 2 3:00
 			2:00	-	EET	1979 Mar 31 23:00
 			2:00	Bulg	EE%sT	1982 Sep 26  2:00
 			2:00	C-Eur	EE%sT	1991
@@ -1093,33 +1133,40 @@
 # [See tz-link.htm for the URL.]
 
 # From Joerg Schilling (2002-10-23):
-# In 1945, Berlin was switched to Moscow Summer time (GMT+4) by 
+# In 1945, Berlin was switched to Moscow Summer time (GMT+4) by
+# 
 # General [Nikolai] Bersarin.
 
 # From Paul Eggert (2003-03-08):
 # 
+# http://www.parlament-berlin.de/pds-fraktion.nsf/727459127c8b66ee8525662300459099/defc77cb784f180ac1256c2b0030274b/$FILE/bersarint.pdf
+# 
 # says that Bersarin issued an order to use Moscow time on May 20.
 # However, Moscow did not observe daylight saving in 1945, so
 # this was equivalent to CEMT (GMT+3), not GMT+4.
 
 
 # Rule	NAME	FROM	TO	TYPE	IN	ON	AT	SAVE	LETTER/S
-Rule	Germany	1945	only	-	Apr	 2	2:00s	1:00	S
-Rule	Germany	1945	only	-	May	24	2:00	2:00	M # Midsummer
-Rule	Germany	1945	only	-	Sep	24	3:00	1:00	S
-Rule	Germany	1945	only	-	Nov	18	2:00s	0	-
 Rule	Germany	1946	only	-	Apr	14	2:00s	1:00	S
 Rule	Germany	1946	only	-	Oct	 7	2:00s	0	-
 Rule	Germany	1947	1949	-	Oct	Sun>=1	2:00s	0	-
-Rule	Germany	1947	only	-	Apr	 6	2:00s	1:00	S
+# http://www.ptb.de/de/org/4/44/441/salt.htm says the following transition
+# occurred at 3:00 MEZ, not the 2:00 MEZ given in Shanks & Pottenger.
+# Go with the PTB.
+Rule	Germany	1947	only	-	Apr	 6	3:00s	1:00	S
 Rule	Germany	1947	only	-	May	11	2:00s	2:00	M
 Rule	Germany	1947	only	-	Jun	29	3:00	1:00	S
 Rule	Germany	1948	only	-	Apr	18	2:00s	1:00	S
 Rule	Germany	1949	only	-	Apr	10	2:00s	1:00	S
+
+Rule SovietZone	1945	only	-	May	24	2:00	2:00	M # Midsummer
+Rule SovietZone	1945	only	-	Sep	24	3:00	1:00	S
+Rule SovietZone	1945	only	-	Nov	18	2:00s	0	-
+
 # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
 Zone	Europe/Berlin	0:53:28 -	LMT	1893 Apr
-			1:00	C-Eur	CE%sT	1945 Apr 2 2:00
+			1:00	C-Eur	CE%sT	1945 May 24 2:00
+			1:00 SovietZone	CE%sT	1946
 			1:00	Germany	CE%sT	1980
 			1:00	EU	CE%sT
 
@@ -1196,7 +1243,7 @@
 Zone	Europe/Budapest	1:16:20 -	LMT	1890 Oct
 			1:00	C-Eur	CE%sT	1918
 			1:00	Hungary	CE%sT	1941 Apr  6  2:00
-			1:00	C-Eur	CE%sT	1945 May  1 23:00
+			1:00	C-Eur	CE%sT	1945
 			1:00	Hungary	CE%sT	1980 Sep 28  2:00s
 			1:00	EU	CE%sT
 
@@ -2113,7 +2160,8 @@
 # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
 Zone	Europe/Belgrade	1:22:00	-	LMT	1884
 			1:00	-	CET	1941 Apr 18 23:00
-			1:00	C-Eur	CE%sT	1945 May  8  2:00s
+			1:00	C-Eur	CE%sT	1945
+			1:00	-	CET	1945 May 8 2:00s
 			1:00	1:00	CEST	1945 Sep 16  2:00s
 # Metod Kozelj reports that the legal date of
 # transition to EU rules was 1982-11-27, for all of Yugoslavia at the time.
@@ -2305,6 +2353,27 @@
 # (on a non-government server though) describing dates between 2002 and 2006:
 # http://www.alomaliye.com/bkk_2002_3769.htm
 
+# From Sue Williams (2008-08-11):
+# I spotted this news article about a potential change in Turkey.
+#
+# 
+# http://www.hurriyet.com.tr/english/domestic/9626174.asp?scr=1
+# 
+
+# From Sue Williams (2008-08-20):
+# This article says that around the end of March 2011, Turkey wants to
+# adjust the clocks forward by 1/2 hour and stay that way permanently.
+# The article indicates that this is a change in timezone offset in addition
+# to stopping observance of DST.
+# This proposal has not yet been approved.
+#
+# Read more here...
+#
+# Turkey to abandon daylight saving time in 2011
+# 
+# http://www.turkishdailynews.com.tr/article.php?enewsid=112989
+# 
+
 # Rule	NAME	FROM	TO	TYPE	IN	ON	AT	SAVE	LETTER/S
 Rule	Turkey	1916	only	-	May	 1	0:00	1:00	S
 Rule	Turkey	1916	only	-	Oct	 1	0:00	0	-
Index: northamerica
===================================================================
RCS file: /home/cvs/src/share/zoneinfo/northamerica,v
retrieving revision 1.4
retrieving revision 1.5
diff -L share/zoneinfo/northamerica -L share/zoneinfo/northamerica -u -r1.4 -r1.5
--- share/zoneinfo/northamerica
+++ share/zoneinfo/northamerica
@@ -1,4 +1,4 @@
-# @(#)northamerica	8.20
+# @(#)northamerica	8.24
 # 
 
 # also includes Central America and the Caribbean
@@ -2076,8 +2076,8 @@
 # http://www.jonesbahamas.com/?c=45&a=10412
 
 # Rule	NAME	FROM	TO	TYPE	IN	ON	AT	SAVE	LETTER/S
-Rule	Bahamas	1964	2006	-	Oct	lastSun	2:00	0	S
-Rule	Bahamas	1964	1986	-	Apr	lastSun	2:00	1:00	D
+Rule	Bahamas	1964	1975	-	Oct	lastSun	2:00	0	S
+Rule	Bahamas	1964	1975	-	Apr	lastSun	2:00	1:00	D
 # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
 Zone	America/Nassau	-5:09:24 -	LMT	1912 Mar 2
 			-5:00	Bahamas	E%sT	1976
@@ -2205,6 +2205,52 @@
 # 
 # http://www.worldtimezone.com/dst_news/dst_news_cuba03.html
 
+# From Arthur David Olson (2008-03-09):
+# I'm in Maryland which is now observing United States Eastern Daylight
+# Time. At 9:44 local time I used RealPlayer to listen to
+# 
+# http://media.enet.cu/radioreloj
+# , a Cuban information station, and heard
+# the time announced as "ocho cuarenta y cuatro" ("eight forty-four"),
+# indicating that Cuba is still on standard time.
+
+# From Steffen Thorsen (2008-03-12):
+# It seems that Cuba will start DST on Sunday, 2007-03-16...
+# It was announced yesterday, according to this source (in Spanish):
+# 
+# http://www.nnc.cubaweb.cu/marzo-2008/cien-1-11-3-08.htm
+# 
+#
+# Some more background information is posted here:
+# 
+# http://www.timeanddate.com/news/time/cuba-starts-dst-march-16.html
+# 
+#
+# The article also says that Cuba has been observing DST since 1963,
+# while Shanks (and tzdata) has 1965 as the first date (except in the
+# 1940's). Many other web pages in Cuba also claim that it has been
+# observed since 1963, but with the exception of 1970 - an exception
+# which is not present in tzdata/Shanks. So there is a chance we need to
+# change some historic records as well.
+#
+# One example:
+# 
+# http://www.radiohc.cu/espanol/noticias/mar07/11mar/hor.htm
+# 
+
+# From Jesper Norgaard Welen (2008-03-13):
+# The Cuban time change has just been confirmed on the most authoritative
+# web site, the Granma.  Please check out
+# 
+# http://www.granma.cubaweb.cu/2008/03/13/nacional/artic10.html
+# 
+#
+# Basically as expected after Steffen Thorsens information, the change
+# will take place midnight between Saturday and Sunday.
+
+# From Arthur David Olson (2008-03-12):
+# Assume Sun>=15 (third Sunday) going forward.
+
 # Rule	NAME	FROM	TO	TYPE	IN	ON	AT	SAVE	LETTER/S
 Rule	Cuba	1928	only	-	Jun	10	0:00	1:00	D
 Rule	Cuba	1928	only	-	Oct	10	0:00	0	S
@@ -2236,7 +2282,8 @@
 Rule	Cuba	1998	2003	-	Oct	lastSun	0:00s	0	S
 Rule	Cuba	2000	2006	-	Apr	Sun>=1	0:00s	1:00	D
 Rule	Cuba	2006	max	-	Oct	lastSun	0:00s	0	S
-Rule	Cuba	2007	max	-	Mar	Sun>=8	0:00s	1:00	D
+Rule	Cuba	2007	only	-	Mar	Sun>=8	0:00s	1:00	D
+Rule	Cuba	2008	max	-	Mar	Sun>=15	0:00s	1:00	D
 
 # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
 Zone	America/Havana	-5:29:28 -	LMT	1890

From laffer1 at midnightbsd.org  Thu Jan  1 17:52:48 2009
From: laffer1 at midnightbsd.org (laffer1 at midnightbsd.org)
Date: Thu, 1 Jan 2009 17:52:48 -0500 (EST)
Subject: [Midnightbsd-cvs] src: UPDATING: timezones are fun
Message-ID: <200901012252.n01Mqmck050859@stargazer.midnightbsd.org>

Log Message:
-----------
timezones are fun

Modified Files:
--------------
    src:
        UPDATING (r1.46 -> r1.47)

-------------- next part --------------
Index: UPDATING
===================================================================
RCS file: /home/cvs/src/UPDATING,v
retrieving revision 1.46
retrieving revision 1.47
diff -L UPDATING -L UPDATING -u -r1.46 -r1.47
--- UPDATING
+++ UPDATING
@@ -3,6 +3,9 @@
 Items affecting the mports and packages system can be found in
 /usr/mports/UPDATING. 
 
+20080101:
+	Update time zone data to 2008i.
+
 20081231:
 	Correct a problem where bluetooth and netgraph sockets are not
 	properly initialized.

From laffer1 at midnightbsd.org  Thu Jan  1 18:28:15 2009
From: laffer1 at midnightbsd.org (laffer1 at midnightbsd.org)
Date: Thu, 1 Jan 2009 18:28:15 -0500 (EST)
Subject: [Midnightbsd-cvs] mports: lang/php5: work in progress..
Message-ID: <200901012328.n01NSFE9053770@stargazer.midnightbsd.org>

Log Message:
-----------
work in progress.. upgrade php to 5.2.8

Modified Files:
--------------
    mports/lang/php5:
        Makefile (r1.21 -> r1.22)
        Makefile.ext (r1.10 -> r1.11)
        distinfo (r1.9 -> r1.10)
    mports/lang/php5/files:
        patch-configure.in (r1.2 -> r1.3)

-------------- next part --------------
Index: Makefile.ext
===================================================================
RCS file: /home/cvs/mports/lang/php5/Makefile.ext,v
retrieving revision 1.10
retrieving revision 1.11
diff -L lang/php5/Makefile.ext -L lang/php5/Makefile.ext -u -r1.10 -r1.11
--- lang/php5/Makefile.ext
+++ lang/php5/Makefile.ext
@@ -74,6 +74,10 @@
 CONFIGURE_ARGS+=--enable-exif
 .endif
 
+.if ${PHP_MODNAME} == "filter"
+CONFIGURE_ARGS+=--enable-filter
+.endif
+
 .if ${PHP_MODNAME} == "ftp"
 CONFIGURE_ARGS+=--enable-ftp \
 		--with-openssl-dir=${OPENSSLBASE}
@@ -118,6 +122,10 @@
 CONFIGURE_ARGS+=--with-gmp=${LOCALBASE}
 .endif
 
+.if ${PHP_MODNAME} == "hash"
+CONFIGURE_ARGS+=--enable-hash
+.endif
+
 .if ${PHP_MODNAME} == "iconv"
 CONFIGURE_ARGS+=--with-iconv=${LOCALBASE} \
 		--with-iconv-dir=${LOCALBASE}
@@ -140,10 +148,13 @@
 .if ${PHP_MODNAME} == "interbase"
 CONFIGURE_ARGS+=--with-interbase=${LOCALBASE}
 
-USE_GCC=	3.4+
 USE_FIREBIRD=	yes
 .endif
 
+.if ${PHP_MODNAME} == "json"
+CONFIGURE_ARGS+=--enable-json
+.endif
+
 .if ${PHP_MODNAME} == "ldap"
 CONFIGURE_ARGS+=--with-ldap=${LOCALBASE}
 
@@ -224,8 +235,7 @@
 .endif
 
 .if ${PHP_MODNAME} == "openssl"
-CONFIGURE_ARGS+=--with-openssl=${OPENSSLBASE} \
-		--with-openssl-dir=${OPENSSLBASE}
+CONFIGURE_ARGS+=--with-openssl=${OPENSSLBASE}
 
 LDFLAGS+=	-L${OPENSSLLIB} -lcrypto -lssl
 USE_OPENSSL=	yes
@@ -260,7 +270,6 @@
 USE_PHP=	pdo
 USE_PHP_BUILD=	yes
 
-USE_GCC=	3.4+
 USE_FIREBIRD=	yes
 .endif
 
@@ -373,7 +382,6 @@
 		--with-libxml-dir=${LOCALBASE}
 
 USE_GNOME=	libxml2
-USE_GCC=	3.4+
 
 USE_PHP=	session
 USE_PHP_BUILD=	yes
@@ -490,6 +498,11 @@
 USE_PHP_BUILD=	yes
 .endif
 
+.if ${PHP_MODNAME} == "zip"
+CONFIGURE_ARGS+=--enable-zip \
+		--with-zlib-dir=/usr
+.endif
+
 .if ${PHP_MODNAME} == "zlib"
 CONFIGURE_ARGS+=--with-zlib=/usr
 .endif
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/lang/php5/Makefile,v
retrieving revision 1.21
retrieving revision 1.22
diff -L lang/php5/Makefile -L lang/php5/Makefile -u -r1.21 -r1.22
--- lang/php5/Makefile
+++ lang/php5/Makefile
@@ -7,8 +7,8 @@
 #
 
 PORTNAME=	php5
-PORTVERSION=	5.2.6
-PORTREVISION?=	4
+PORTVERSION=	5.2.8
+PORTREVISION?=	0
 CATEGORIES?=	lang devel www
 MASTER_SITES=	${MASTER_SITE_PHP:S/$/:release/}
 MASTER_SITE_SUBDIR=	distributions/:release
@@ -56,7 +56,7 @@
 .include 
 
 .if !defined(WITHOUT_SUHOSIN)
-PATCHFILES+=	suhosin-patch-${PORTVERSION}-0.9.6.2.patch.gz:suhosin
+PATCHFILES+=	suhosin-patch-5.2.7-0.9.6.3.patch.gz:suhosin
 PATCH_SITES+=	http://download.suhosin.org/:suhosin
 PATCH_DIST_STRIP=	-p1
 PLIST_SUB+=	SUHOSIN=""
Index: distinfo
===================================================================
RCS file: /home/cvs/mports/lang/php5/distinfo,v
retrieving revision 1.9
retrieving revision 1.10
diff -L lang/php5/distinfo -L lang/php5/distinfo -u -r1.9 -r1.10
--- lang/php5/distinfo
+++ lang/php5/distinfo
@@ -1,9 +1,9 @@
-MD5 (php-5.2.6.tar.bz2) = 7380ffecebd95c6edb317ef861229ebd
-SHA256 (php-5.2.6.tar.bz2) = 1892b2dd50b56ae2c9aec027fcd9035b76673f113555bc2bc1007bab8ae4db81
-SIZE (php-5.2.6.tar.bz2) = 9571312
-MD5 (suhosin-patch-5.2.6-0.9.6.2.patch.gz) = f2ec986341a314c271259dbe4d940858
-SHA256 (suhosin-patch-5.2.6-0.9.6.2.patch.gz) = dfdae803778e6ed6854ea3ad2948bbfedbfffc5a32dbc75a657b99092a9cc5e4
-SIZE (suhosin-patch-5.2.6-0.9.6.2.patch.gz) = 22986
-MD5 (php-5.2.6-mail-header.patch) = eb26be2469a173a3476220342c5fcd58
-SHA256 (php-5.2.6-mail-header.patch) = 7e546c22a19386c4d93bebddfb64ace9447774f748070794c7c41419c5c474ac
-SIZE (php-5.2.6-mail-header.patch) = 3420
+MD5 (php-5.2.8.tar.bz2) = 8760a833cf10433d3e72271ab0d0eccf
+SHA256 (php-5.2.8.tar.bz2) = a70600e13410213a637f1c9825e9c0d45c64de8cefb1929f8f5aa761b20b2b67
+SIZE (php-5.2.8.tar.bz2) = 9827180
+MD5 (suhosin-patch-5.2.7-0.9.6.3.patch.gz) = d455c3dd5b652046dbac2951a58f64fa
+SHA256 (suhosin-patch-5.2.7-0.9.6.3.patch.gz) = 85e6262f53014e393977d1efed2d3a7e686767a07f96b14b2c3f126f694aee46
+SIZE (suhosin-patch-5.2.7-0.9.6.3.patch.gz) = 23125
+MD5 (php-5.2.8-mail-header.patch) = 74bf3a2a123c284f908c4f5483ebe886
+SHA256 (php-5.2.8-mail-header.patch) = 9bd306145153a371f619d89996cb329bdc36791b22a50daf4afe7cc69c46dccb
+SIZE (php-5.2.8-mail-header.patch) = 3381
Index: patch-configure.in
===================================================================
RCS file: /home/cvs/mports/lang/php5/files/patch-configure.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -L lang/php5/files/patch-configure.in -L lang/php5/files/patch-configure.in -u -r1.2 -r1.3
--- lang/php5/files/patch-configure.in
+++ lang/php5/files/patch-configure.in
@@ -1,6 +1,6 @@
---- configure.in.orig	Mon Jun  4 08:08:43 2007
-+++ configure.in	Mon Jun  4 08:13:47 2007
-@@ -233,7 +233,6 @@
+--- configure.in.orig	2008-12-05 07:58:47.000000000 +0100
++++ configure.in	2008-12-05 08:02:26.000000000 +0100
+@@ -270,7 +270,6 @@
  dnl .
  dnl -------------------------------------------------------------------------
  
@@ -8,7 +8,7 @@
  PHP_HELP_SEPARATOR([SAPI modules:])
  PHP_SHLIB_SUFFIX_NAMES
  PHP_SAPI=default
-@@ -258,7 +257,6 @@
+@@ -295,7 +294,6 @@
  
  if test "$enable_maintainer_zts" = "yes"; then
    PTHREADS_ASSIGN_VARS
@@ -16,7 +16,7 @@
  fi
  
  divert(3)
-@@ -1123,7 +1121,7 @@
+@@ -1136,7 +1134,7 @@
  EXPANDED_DATADIR=$datadir
  EXPANDED_PHP_CONFIG_FILE_PATH=`eval echo "$PHP_CONFIG_FILE_PATH"`
  EXPANDED_PHP_CONFIG_FILE_SCAN_DIR=`eval echo "$PHP_CONFIG_FILE_SCAN_DIR"`
@@ -25,13 +25,13 @@
  
  exec_prefix=$old_exec_prefix
  libdir=$old_libdir
-@@ -1295,22 +1293,19 @@
+@@ -1344,22 +1342,19 @@
  INLINE_CFLAGS="$INLINE_CFLAGS $standard_libtool_flag"
  CXXFLAGS="$CXXFLAGS $standard_libtool_flag"
  
--all_targets="$lcov_target \$(OVERALL_TARGET) \$(PHP_MODULES) \$(PHP_CLI_TARGET)"
+-all_targets="$lcov_target \$(OVERALL_TARGET) \$(PHP_MODULES) \$(PHP_ZEND_EX) \$(PHP_CLI_TARGET)"
 -install_targets="$install_modules install-build install-headers install-programs $install_pear"
-+all_targets="$lcov_target \$(OVERALL_TARGET) \$(PHP_MODULES) \$(PHP_CLI_TARGET) \$(PHP_CGI_TARGET)"
++all_targets="$lcov_target \$(OVERALL_TARGET) \$(PHP_MODULES) \$(PHP_ZEND_EX) \$(PHP_CLI_TARGET) \$(PHP_CGI_TARGET)"
 +install_targets="$PHP_INSTALL_CLI_TARGET $PHP_INSTALL_CGI_TARGET $install_modules install-build install-headers install-programs $install_pear"
  
  case $PHP_SAPI in

From laffer1 at midnightbsd.org  Thu Jan  1 18:29:20 2009
From: laffer1 at midnightbsd.org (laffer1 at midnightbsd.org)
Date: Thu, 1 Jan 2009 18:29:20 -0500 (EST)
Subject: [Midnightbsd-cvs] mports: patch-main_safe_mode.c: remove outdated
	patch
Message-ID: <200901012329.n01NTKPF053844@stargazer.midnightbsd.org>

Log Message:
-----------
remove outdated patch

Removed Files:
-------------
    mports/lang/php5/files:
        patch-main_safe_mode.c

-------------- next part --------------
--- lang/php5/files/patch-main_safe_mode.c
+++ /dev/null
@@ -1,17 +0,0 @@
---- main/safe_mode.c.orig	2008-09-04 15:52:19.000000000 +0200
-+++ main/safe_mode.c	2008-09-04 15:52:35.000000000 +0200
-@@ -74,14 +74,6 @@
- 		}
- 	}
- 
--	/* 
--	 * If given filepath is a URL, allow - safe mode stuff
--	 * related to URL's is checked in individual functions
--	 */
--	wrapper = php_stream_locate_url_wrapper(filename, NULL, STREAM_LOCATE_WRAPPERS_ONLY TSRMLS_CC);
--	if (wrapper != NULL)
--		return 1;
--		
- 	/* First we see if the file is owned by the same user...
- 	 * If that fails, passthrough and check directory...
- 	 */

From laffer1 at midnightbsd.org  Thu Jan  1 18:49:21 2009
From: laffer1 at midnightbsd.org (laffer1 at midnightbsd.org)
Date: Thu, 1 Jan 2009 18:49:21 -0500 (EST)
Subject: [Midnightbsd-cvs] mports: Makefile: We don't support php 4
Message-ID: <200901012349.n01NnLst055525@stargazer.midnightbsd.org>

Log Message:
-----------
We don't support php 4

Modified Files:
--------------
    mports/lang/php5-extensions:
        Makefile (r1.5 -> r1.6)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/lang/php5-extensions/Makefile,v
retrieving revision 1.5
retrieving revision 1.6
diff -L lang/php5-extensions/Makefile -L lang/php5-extensions/Makefile -u -r1.5 -r1.6
--- lang/php5-extensions/Makefile
+++ lang/php5-extensions/Makefile
@@ -19,7 +19,6 @@
 LICENSE=	agg
 
 DEFAULT_PHP_VER=5
-IGNORE_WITH_PHP=4
 USE_PHP_BUILD=	yes
 
 NO_BUILD=	yes

From laffer1 at midnightbsd.org  Thu Jan  1 19:26:38 2009
From: laffer1 at midnightbsd.org (laffer1 at midnightbsd.org)
Date: Thu, 1 Jan 2009 19:26:38 -0500 (EST)
Subject: [Midnightbsd-cvs] mports: x11/xterm: update to 237
Message-ID: <200901020026.n020QcD1058841@stargazer.midnightbsd.org>

Log Message:
-----------
update to 237

Modified Files:
--------------
    mports/x11/xterm:
        Makefile (r1.9 -> r1.10)
        distinfo (r1.8 -> r1.9)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/x11/xterm/Makefile,v
retrieving revision 1.9
retrieving revision 1.10
diff -L x11/xterm/Makefile -L x11/xterm/Makefile -u -r1.9 -r1.10
--- x11/xterm/Makefile
+++ x11/xterm/Makefile
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	xterm
-PORTVERSION=	235
+PORTVERSION=	237
 CATEGORIES=	x11
 MASTER_SITES=	ftp://invisible-island.net/xterm/ \
 		http://voodoo.bawue.com/download/
Index: distinfo
===================================================================
RCS file: /home/cvs/mports/x11/xterm/distinfo,v
retrieving revision 1.8
retrieving revision 1.9
diff -L x11/xterm/distinfo -L x11/xterm/distinfo -u -r1.8 -r1.9
--- x11/xterm/distinfo
+++ x11/xterm/distinfo
@@ -1,3 +1,3 @@
-MD5 (xterm-235.tgz) = 5060cab9cef0ea09a24928f3c7fbde2b
-SHA256 (xterm-235.tgz) = c8a7ccb515b967a11dc2ac1061943cddbf0b6640de89f72590b1ff79e69a49cf
-SIZE (xterm-235.tgz) = 857714
+MD5 (xterm-237.tgz) = 6d5f9e124fd3e09487f47c66da8c7345
+SHA256 (xterm-237.tgz) = f3be160c230fcb38fba0824cf8a4334e8ff0bb93938e5e325be5e949cd2b3476
+SIZE (xterm-237.tgz) = 860424

From laffer1 at midnightbsd.org  Thu Jan  1 19:48:42 2009
From: laffer1 at midnightbsd.org (laffer1 at midnightbsd.org)
Date: Thu, 1 Jan 2009 19:48:42 -0500 (EST)
Subject: [Midnightbsd-cvs] src: Makefile: geeze,
	fix the build/install of liblwres
Message-ID: <200901020048.n020mgAI060772@stargazer.midnightbsd.org>

Log Message:
-----------
geeze, fix the build/install of liblwres

Modified Files:
--------------
    src/lib/bind/lwres:
        Makefile (r1.6 -> r1.7)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/src/lib/bind/lwres/Makefile,v
retrieving revision 1.6
retrieving revision 1.7
diff -L lib/bind/lwres/Makefile -L lib/bind/lwres/Makefile -u -r1.6 -r1.7
--- lib/bind/lwres/Makefile
+++ lib/bind/lwres/Makefile
@@ -10,7 +10,7 @@
 
 # Unlike other BIND libs, this should be installed unless the user says NO.
 .if ${MK_BIND_LIBS_LWRES} != "no"
-WITH_BIND_LIBS=
+MK_BIND_LIBS=	yes
 .endif
 
 .include	"${LIB_BIND_DIR}/config.mk"

From laffer1 at midnightbsd.org  Thu Jan  1 19:59:49 2009
From: laffer1 at midnightbsd.org (laffer1 at midnightbsd.org)
Date: Thu, 1 Jan 2009 19:59:49 -0500 (EST)
Subject: [Midnightbsd-cvs] mports: emulators/kqemu-kmod: Fix a few bugs with
	kqemu
Message-ID: <200901020059.n020xnF4061929@stargazer.midnightbsd.org>

Log Message:
-----------
Fix a few bugs with kqemu

Modified Files:
--------------
    mports/emulators/kqemu-kmod:
        Makefile (r1.3 -> r1.4)
    mports/emulators/kqemu-kmod/files:
        patch-kqemu-freebsd.c (r1.1 -> r1.2)

Added Files:
-----------
    mports/emulators/kqemu-kmod/files:
        patch-common-Makefile (r1.1)
        patch-fpucontext (r1.1)
        patch-tssworkaround (r1.1)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/emulators/kqemu-kmod/Makefile,v
retrieving revision 1.3
retrieving revision 1.4
diff -L emulators/kqemu-kmod/Makefile -L emulators/kqemu-kmod/Makefile -u -r1.3 -r1.4
--- emulators/kqemu-kmod/Makefile
+++ emulators/kqemu-kmod/Makefile
@@ -8,10 +8,10 @@
 
 PORTNAME=	kqemu
 PORTVERSION=	1.3.0.p11
+PORTREVISION=	1
 CATEGORIES=	emulators
-MASTER_SITES=	http://qemu.org/ \
-		http://fabrice.bellard.free.fr/qemu/ \
-		${MASTER_SITE_LOCAL}
+MASTER_SITES=	http://bellard.org/qemu/ \
+		${MASTER_SITE_FREEBSD_LOCAL}
 MASTER_SITE_SUBDIR=	nox
 PKGNAMESUFFIX=	-kmod
 DISTNAME=	${PORTNAME}-${PORTVERSION:C/.p/pre/}
@@ -24,10 +24,8 @@
 ONLY_FOR_ARCHS=	i386 amd64
 HAS_CONFIGURE=	yes
 USE_GMAKE=	yes
-USE_GCC=	3.4
 CONFIGURE_ARGS+=	--prefix=${PREFIX} --cc=${CC}
 
-
 USE_RC_SUBR=	kqemu
 
 .include 
--- /dev/null
+++ emulators/kqemu-kmod/files/patch-tssworkaround
@@ -0,0 +1,112 @@
+Index: kqemu-freebsd.c
+@@ -38,6 +38,14 @@
+ #else
+ #include 
+ #endif
++#ifdef __x86_64__
++#include 
++#include 
++#include 
++#include 
++#include 
++#include 
++#endif
+ 
+ #include "kqemu-kernel.h"
+ 
+@@ -248,6 +256,57 @@
+     va_end(ap);
+ }
+ 
++#ifdef __x86_64__
++int kqemu_cpu0gdtfixed;
++int kqemu_gdts_used;
++struct user_segment_descriptor *kqemu_gdts;
++struct region_descriptor kqemu_r_newgdt;
++extern  struct pcpu __pcpu[];
++
++/* called with interrupts disabled */
++void CDECL kqemu_tss_fixup(unsigned long kerngdtbase)
++{
++    int gsel_tss = GSEL(GPROC0_SEL, SEL_KPL);
++    unsigned cpuid = PCPU_GET(cpuid);
++    struct user_segment_descriptor *newgdt = gdt;
++
++    if (mp_ncpus <= 1 || kerngdtbase != (unsigned long)gdt)
++	/* UP host or gdt already moved, nothing to do */
++	return;
++    if (cpuid) {
++	/* move gdts of all but first cpu */
++	if (!kqemu_gdts)
++	    /*
++	     * XXX gdt is allocated as
++	     *	struct user_segment_descriptor gdt[NGDT * MAXCPU];
++	     * so it has room for the moved copies; need to allocate at
++	     * kldload (and only free if kqemu_gdts_used is zero) should this
++	     * change in the future
++	     */
++	    kqemu_gdts = &gdt[NGDT];
++	++kqemu_gdts_used;
++	newgdt = &kqemu_gdts[NGDT * (cpuid - 1)];
++	bcopy(gdt, newgdt, NGDT * sizeof(gdt[0]));
++	kqemu_r_newgdt.rd_limit = NGDT * sizeof(gdt[0]) - 1;
++	kqemu_r_newgdt.rd_base = (long) newgdt;
++    } else {
++	if (kqemu_cpu0gdtfixed)
++	    return;
++	++kqemu_cpu0gdtfixed;
++    }
++    gdt_segs[GPROC0_SEL].ssd_base = (long) &common_tss[cpuid];
++    ssdtosyssd(&gdt_segs[GPROC0_SEL],
++       (struct system_segment_descriptor *)&newgdt[GPROC0_SEL]);
++    if (cpuid) {
++	lgdt(&kqemu_r_newgdt);
++	wrmsr(MSR_GSBASE, (u_int64_t)&__pcpu[cpuid]);
++	wrmsr(MSR_KGSBASE, curthread->td_pcb->pcb_gsbase);
++	wrmsr(MSR_FSBASE, curthread->td_pcb->pcb_fsbase);
++    }
++    ltr(gsel_tss);
++}
++#endif
++
+ struct kqemu_instance { 
+ #if __FreeBSD_version >= 500000
+     TAILQ_ENTRY(kqemu_instance) kqemu_ent;
+Index: common/kernel.c
+@@ -1025,6 +1025,9 @@
+ #ifdef __x86_64__
+     uint16_t saved_ds, saved_es;
+     unsigned long fs_base, gs_base;
++#ifdef __FreeBSD__
++    struct kqemu_global_state *g = s->global_state;
++#endif
+ #endif
+     
+ #ifdef PROFILE
+@@ -1096,6 +1099,14 @@
+             apic_nmi_mask = apic_save_and_disable_nmi(s);
+         }
+ 
++#ifdef __FreeBSD__
++#ifdef __x86_64__
++        spin_lock(&g->lock);
++        asm volatile ("sgdt %0" : : "m" (s->kernel_gdt));
++        kqemu_tss_fixup(s->kernel_gdt.base);
++        spin_unlock(&g->lock);
++#endif
++#endif
+         /* load breakpoint registers and avoid setting them if in the
+            monitor address space. We suppose that no breakpoints are
+            set by the host OS for this process */
+Index: kqemu-kernel.h
+@@ -48,4 +48,10 @@
+ 
+ void CDECL kqemu_log(const char *fmt, ...);
+ 
++#ifdef __FreeBSD__
++#ifdef __x86_64__
++void CDECL kqemu_tss_fixup(unsigned long kerngdtbase);
++#endif
++#endif
++
+ #endif /* KQEMU_KERNEL_H */
--- /dev/null
+++ emulators/kqemu-kmod/files/patch-common-Makefile
@@ -0,0 +1,22 @@
+Index: common/Makefile
+@@ -47,9 +47,9 @@
+ ifeq ($(ARCH), x86_64)
+ COMMON_CFLAGS+=-mno-red-zone
+ endif
+-CFLAGS=$(COMMON_CFLAGS)
++CFLAGS=$(COMMON_CFLAGS) ${DEBUG_FLAGS}
+ MON_CFLAGS=$(COMMON_CFLAGS)
+-KERNEL_CFLAGS=$(COMMON_CFLAGS)
++KERNEL_CFLAGS=$(COMMON_CFLAGS) ${DEBUG_FLAGS}
+ 
+ # Disable SSP if GCC supports it
+ MON_CFLAGS+=$(call cc-option,$(MON_CC),-fno-stack-protector,)
+@@ -119,7 +119,7 @@
+ 	$(CC) $(CFLAGS) $(DEFINES) $(INCLUDES) -c -o $@ $<
+ 
+ %.o: %.S
+-	$(CC) $(DEFINES) $(INCLUDES) -D__ASSEMBLY__ -c -o $@ $<
++	$(CC) ${DEBUG_FLAGS} $(DEFINES) $(INCLUDES) -D__ASSEMBLY__ -c -o $@ $<
+ 
+ clean:
+ 	rm -f *.o *~ monitor-image.h genoffsets genmon monitor_def.h \
--- /dev/null
+++ emulators/kqemu-kmod/files/patch-fpucontext
@@ -0,0 +1,78 @@
+Index: common/kernel.c
+@@ -1240,6 +1240,11 @@
+             case MON_REQ_EXCEPTION:
+                 exec_exception(s->arg0);
+                 break;
++#ifdef __FreeBSD__
++            case MON_REQ_LOADFPUCONTEXT:
++                kqemu_loadfpucontext(s->arg0);
++                break;
++#endif
+             default:
+                 kqemu_log("invalid mon request: %d\n", s->mon_req);
+                 break;
+Index: common/kqemu_int.h
+@@ -523,6 +523,7 @@
+     MON_REQ_LOCK_USER_PAGE,
+     MON_REQ_UNLOCK_USER_PAGE,
+     MON_REQ_EXCEPTION,
++    MON_REQ_LOADFPUCONTEXT,
+ } MonitorRequest;
+ 
+ #define INTERRUPT_ENTRY_SIZE 16
+Index: common/monitor.c
+@@ -1995,8 +1995,13 @@
+         raise_exception_err(s, EXCP07_PREX, 0);
+     } else {
+         /* the host needs to restore the FPU state for us */
++#ifndef __FreeBSD__
+         s->mon_req = MON_REQ_EXCEPTION;
+         s->arg0 = 0x07;
++#else
++        s->mon_req = MON_REQ_LOADFPUCONTEXT;
++        s->arg0 = (unsigned long)s->cpu_state.cpl;
++#endif
+         monitor2kernel1(s);
+     }
+ }
+Index: kqemu-freebsd.c
+@@ -33,6 +33,11 @@
+ 
+ #include 
+ #include 
++#ifdef __x86_64__
++#include 
++#else
++#include 
++#endif
+ 
+ #include "kqemu-kernel.h"
+ 
+@@ -172,6 +177,15 @@
+ {
+ }
+ 
++void CDECL kqemu_loadfpucontext(unsigned long cpl)
++{
++#ifdef __x86_64__
++    fpudna();
++#else
++    npxdna();
++#endif
++}
++
+ #if __FreeBSD_version < 500000
+ static int
+ curpriority_cmp(struct proc *p)
+Index: kqemu-kernel.h
+@@ -40,6 +40,10 @@
+ void * CDECL kqemu_io_map(unsigned long page_index, unsigned int size);
+ void CDECL kqemu_io_unmap(void *ptr, unsigned int size);
+ 
++#ifdef __FreeBSD__
++void CDECL kqemu_loadfpucontext(unsigned long cpl);
++#endif
++
+ int CDECL kqemu_schedule(void);
+ 
+ void CDECL kqemu_log(const char *fmt, ...);
Index: patch-kqemu-freebsd.c
===================================================================
RCS file: /home/cvs/mports/emulators/kqemu-kmod/files/patch-kqemu-freebsd.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -L emulators/kqemu-kmod/files/patch-kqemu-freebsd.c -L emulators/kqemu-kmod/files/patch-kqemu-freebsd.c -u -r1.1 -r1.2
--- emulators/kqemu-kmod/files/patch-kqemu-freebsd.c
+++ emulators/kqemu-kmod/files/patch-kqemu-freebsd.c
@@ -1,12 +1,69 @@
 Index: kqemu-freebsd.c
-@@ -321,6 +321,9 @@
+@@ -222,9 +222,17 @@
+ int CDECL kqemu_schedule(void)
+ {
+     /* kqemu_log("kqemu_schedule\n"); */
++#if __FreeBSD_version < 700044
+     mtx_lock_spin(&sched_lock);
+     mi_switch(SW_VOL, NULL);
+     mtx_unlock_spin(&sched_lock);
++#else
++    /* -current no longer uses sched_lock */
++    struct thread *td = curthread;
++    thread_lock(td);
++    mi_switch(SW_VOL, NULL);
++    thread_unlock(td);
++#endif
+     return SIGPENDING(curthread);
+ }
+ #endif
+@@ -258,6 +266,10 @@
+ static struct clonedevs *kqemuclones;
+ static TAILQ_HEAD(,kqemu_instance) kqemuhead = TAILQ_HEAD_INITIALIZER(kqemuhead);
+ static eventhandler_tag clonetag;
++#ifndef D_NEEDMINOR
++/* see http://svn.freebsd.org/viewvc/base?view=revision&revision=179726 */
++#define D_NEEDMINOR 0
++#endif
+ #endif
+ 
+ static d_close_t kqemu_close;
+@@ -282,7 +294,7 @@
+ 	/* bmaj */	-1
+ #else
+ 	.d_version =	D_VERSION,
+-	.d_flags =	D_NEEDGIANT,
++	.d_flags =	D_NEEDGIANT | D_NEEDMINOR,
+ 	.d_open =	kqemu_open,
+ 	.d_ioctl =	kqemu_ioctl,
+ 	.d_close =	kqemu_close,
+@@ -334,8 +346,15 @@
  #if __FreeBSD_version >= 500000
      dev->si_drv1 = NULL;
      TAILQ_REMOVE(&kqemuhead, ks, kqemu_ent);
++#if __FreeBSD_version >= 700051
++    destroy_dev_sched(dev);
++#else
 +#if __FreeBSD_version >= 700024
 +    dev_relthread(dev); 
 +#endif
      destroy_dev(dev);
  #endif
++#endif
      free(ks, M_KQEMU);
-
+     --kqemu_ref_count;
+ }
+@@ -514,7 +533,13 @@
+ 	while ((ks = TAILQ_FIRST(&kqemuhead)) != NULL) {
+ 	    kqemu_destroy(ks);
+ 	}
++#if __FreeBSD_version >= 700051
++	drain_dev_clone_events();
++#endif
+ 	clone_cleanup(&kqemuclones);
++#if __FreeBSD_version >= 700051
++	destroy_dev_drain(&kqemu_cdevsw);
++#endif
+ #endif
+         kqemu_global_delete(kqemu_gs);
+         kqemu_gs = NULL;

From laffer1 at midnightbsd.org  Thu Jan  1 20:06:29 2009
From: laffer1 at midnightbsd.org (laffer1 at midnightbsd.org)
Date: Thu, 1 Jan 2009 20:06:29 -0500 (EST)
Subject: [Midnightbsd-cvs] mports: Makefile: osversion assumption for
	__FreeBSD_version
Message-ID: <200901020106.n0216To2062810@stargazer.midnightbsd.org>

Log Message:
-----------
osversion assumption for __FreeBSD_version

Modified Files:
--------------
    mports/emulators/pearpc:
        Makefile (r1.4 -> r1.5)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/emulators/pearpc/Makefile,v
retrieving revision 1.4
retrieving revision 1.5
diff -L emulators/pearpc/Makefile -L emulators/pearpc/Makefile -u -r1.4 -r1.5
--- emulators/pearpc/Makefile
+++ emulators/pearpc/Makefile
@@ -8,7 +8,7 @@
 
 PORTNAME=	pearpc
 PORTVERSION=	0.4
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	emulators
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -85,6 +85,11 @@
 post-extract:
 	@${REINPLACE_CMD} -e 's|-g -O2||;s|-O2||' ${WRKSRC}/configure
 
+pre-configure:
+# Assumes __FreeBSD_version value.  Change when current switches over.
+.if ${OSVERSION} > 700000
+	@${REINPLACE_CMD} -e 's|clock_settime\ ()|foobar()|' ${WRKSRC}/configure
+.endif
 
 post-configure:
 	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/Makefile

From laffer1 at midnightbsd.org  Thu Jan  1 20:19:16 2009
From: laffer1 at midnightbsd.org (laffer1 at midnightbsd.org)
Date: Thu, 1 Jan 2009 20:19:16 -0500 (EST)
Subject: [Midnightbsd-cvs] mports: security/vlock: update to 2.2.2
Message-ID: <200901020119.n021JG4x063964@stargazer.midnightbsd.org>

Log Message:
-----------
update to 2.2.2

Modified Files:
--------------
    mports/security/vlock:
        Makefile (r1.2 -> r1.3)
        distinfo (r1.1 -> r1.2)
        pkg-descr (r1.1 -> r1.2)

Added Files:
-----------
    mports/security/vlock/files:
        patch-configure (r1.1)

Removed Files:
-------------
    mports/security/vlock/files:
        patch-aa
        patch-ab
        patch-ac
        patch-ad
        patch-ae

-------------- next part --------------
Index: pkg-descr
===================================================================
RCS file: /home/cvs/mports/security/vlock/pkg-descr,v
retrieving revision 1.1
retrieving revision 1.2
diff -L security/vlock/pkg-descr -L security/vlock/pkg-descr -u -r1.1 -r1.2
--- security/vlock/pkg-descr
+++ security/vlock/pkg-descr
@@ -1,5 +1,4 @@
 This is a utility which locks a terminal so it can only be unlocked with the
 user's password (or the root password).  It uses PAM authentication by default.
 
-- George Reid
-services at nevernet.net
+WWW: http://freshmeat.net/projects/vlock
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/security/vlock/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -L security/vlock/Makefile -L security/vlock/Makefile -u -r1.2 -r1.3
--- security/vlock/Makefile
+++ security/vlock/Makefile
@@ -2,22 +2,86 @@
 # Date created:		08 Oct 2000
 # Whom:			George Reid 
 #
-# $FreeBSD: ports/security/vlock/Makefile,v 1.5 2004/02/05 20:37:48 trevor Exp $
 # $MidnightBSD$
-#
+# $FreeBSD: ports/security/vlock/Makefile,v 1.9 2008/06/19 19:35:54 pav Exp $
 
 PORTNAME=	vlock
-PORTVERSION=	1.3
-PORTREVISION=	1
+PORTVERSION=	2.2.2
 CATEGORIES=	security
-MASTER_SITES=	${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR=	utils/console
+MASTER_SITES=	http://cthulhu.c3d2.de/~toidinamai/vlock/archive/
 
 MAINTAINER=	ports at MidnightBSD.org
 COMMENT=	Locks a terminal
 LICENSE=	gpl2
 
+USE_GMAKE=	yes
+HAS_CONFIGURE=	yes
+CONFIGURE_ARGS=	--enable-plugins --enable-pam \
+		--prefix=${PREFIX} \
+		--mandir=${MANPREFIX}/man \
+		--with-modules="${VLOCKMODULES}" \
+		--with-scripts="${VLOCKSCRIPTS}" \
+		VLOCK_GROUP="${VLOCKGRP}" \
+		VLOCK_MODE="0750" \
+		EXTRA_CFLAGS="-I${LOCALBASE}/include" \
+		EXTRA_LDFLAGS="-L${LOCALBASE}/lib"
+
+OPTIONS=	ROOTPWD "Enable unlock using root password" on \
+		VLOCKSCRIPTS "Install sample hook scripts" off \
+		CACASAVER "Enable libcaca screensaver" off
+
+MANLANG=	""
 MAN1=		vlock.1
-PLIST_FILES=	bin/vlock
+MAN5=		vlock-plugins.5
+MAN8=		vlock-main.8
+
+# Default scripts/modules
+VLOCKSCRIPTS=
+VLOCKMODULES=	all.so new.so
+
+# Vlock group = vlock:*:129:
+VLOCKGRP=	vlock
+VLOCKGID=	129
+
+.include 
+
+.if !defined(WITHOUT_ROOTPWD)
+CONFIGURE_ARGS+=	--enable-root-password
+.else
+CONFIGURE_ARGS+=	--disable-root-password
+.endif
+
+.if !defined(WITHOUT_VLOCKSCRIPTS)
+VLOCKSCRIPTS+=	amarok.sh example_script.sh mplayer.sh
+PLIST_SUB+=	PL_VLOCKSCRIPTS=""
+.else
+PLIST_SUB+=	PL_VLOCKSCRIPTS="@comment "
+.endif
+
+.if !defined(WITHOUT_CACASAVER)
+BUILD_DEPENDS+=	${LOCALBASE}/lib/libcaca.a:${PORTSDIR}/graphics/libcaca
+VLOCKMODULES+=	caca.so
+PLIST_SUB+=	PL_CACASAVER=""
+.else
+PLIST_SUB+=	PL_CACASAVER="@comment "
+.endif
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|-lncurses|-lm|' ${WRKSRC}/modules/Makefile
+
+pre-install:
+	if ! pw groupshow ${VLOCKGRP}; then pw groupadd ${VLOCKGRP} -g ${VLOCKGID}; fi
+
+post-install:
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/COPYING ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/PLUGINS ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README.X11 ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/SECURITY ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/TODO ${DOCSDIR}
+.endif
 
-.include 
+.include 
Index: distinfo
===================================================================
RCS file: /home/cvs/mports/security/vlock/distinfo,v
retrieving revision 1.1
retrieving revision 1.2
diff -L security/vlock/distinfo -L security/vlock/distinfo -u -r1.1 -r1.2
--- security/vlock/distinfo
+++ security/vlock/distinfo
@@ -1,3 +1,3 @@
-MD5 (vlock-1.3.tar.gz) = d04076f9c5f12aadc4d5fbbabf8a0c12
-SHA256 (vlock-1.3.tar.gz) = 700b8f45b6b7cdaac2185a4796870ac378015db18a7414eebee5e5b6a4131daf
-SIZE (vlock-1.3.tar.gz) = 17188
+MD5 (vlock-2.2.2.tar.gz) = 51c389ee4ef814bf59063bc367437eb8
+SHA256 (vlock-2.2.2.tar.gz) = ea875250cad150872583b6ed2436470bc5e9c3a580d85554e31a2d5ae1d92fad
+SIZE (vlock-2.2.2.tar.gz) = 54732
--- security/vlock/files/patch-ac
+++ /dev/null
@@ -1,11 +0,0 @@
---- terminal.c.orig	Sun Oct  8 18:03:19 2000
-+++ terminal.c		Sun Oct  8 18:03:24 2000
-@@ -15,7 +15,7 @@
- #include 
- #include 
- #include 
--#include 
-+#include 
- #include "vlock.h"
- 
- 
--- /dev/null
+++ security/vlock/files/patch-configure
@@ -0,0 +1,25 @@
+--- configure.orig	2008-05-18 05:10:54 -0400
++++ configure	2009-01-01 20:16:02 -0500
+@@ -220,7 +220,8 @@
+   MODULEDIR="\$(LIBDIR)/vlock/modules"
+ 
+   CC=gcc
+-  DEFAULT_CFLAGS="-O2 -Wall -W -pedantic -std=gnu99"
++  #DEFAULT_CFLAGS="-O2 -Wall -W -pedantic -std=gnu99"
++  DEFAULT_CFLAGS="-pedantic -std=gnu99"
+   DEBUG_CFLAGS="-O0 -g -Wall -W -pedantic -std=gnu99"
+   CFLAGS="${DEFAULT_CFLAGS}"
+   LD=ld
+@@ -266,6 +267,12 @@
+       CRYPT_LIB=''
+       MODULES="all.so new.so"
+     ;;
++    MidnightBSD)
++      PAM_LIBS='-lpam'
++      DL_LIB=''
++      CRYPT_LIB=''
++      MODULES="all.so new.so"
++    ;;
+   esac
+ }
+ 
--- security/vlock/files/patch-ab
+++ /dev/null
@@ -1,11 +0,0 @@
---- signals.c.orig	Sun Oct  8 18:03:19 2000
-+++ signals.c		Sun Oct  8 18:03:24 2000
-@@ -16,7 +16,7 @@
- #include 
- #include 
- #include 
--#include 
-+#include 
- #include "vlock.h"
- 
- 
--- security/vlock/files/patch-ae
+++ /dev/null
@@ -1,39 +0,0 @@
---- input.c.orig	Thu Jan 14 03:19:14 1999
-+++ input.c	Fri Feb 28 13:48:38 2003
-@@ -60,11 +60,27 @@
- #error "Shadow and PAM don't mix!"
- #endif
- 
-+#if (__FreeBSD__ == 0)            /* 1.0 did not define __FreeBSD__ */
-+#define __FreeBSD_version 199401
-+#elsif __FreeBSD__ == 1          /* 1.1 defined it to be 1 */
-+#define __FreeBSD_version 199405
-+#else                           /* 2.0 and higher define it to be 2 */
-+#include           /* and this works */
-+#endif
-+
- #include 
-+#if defined (__FreeBSD_version) && (__FreeBSD_version > 500030)
-+#include 
-+#else
- #include 
-+#endif
- 
- static struct pam_conv PAM_conversation = {
-+#if defined (__FreeBSD_version) && (__FreeBSD_version > 500030)
-+    openpam_ttyconv,
-+#else
-     &misc_conv,
-+#endif
-     NULL
- };
- 
-@@ -291,7 +307,7 @@
-   setuid(getuid());
-   setgid(getgid());
- 
--  sprintf(prompt, "%s's password: ", username);
-+  snprintf(prompt, 99, "%s's password: ", username);
- #endif /* !USE_PAM */
- }
- 
--- security/vlock/files/patch-ad
+++ /dev/null
@@ -1,46 +0,0 @@
---- vlock.c.orig	Sun Oct  8 18:03:19 2000
-+++ vlock.c		Sun Oct  8 18:03:24 2000
-@@ -14,12 +14,10 @@
- #include 
- #include 
- #include 
--#include 
- #include 
- #include 
--#include 
--#include 
- #include 
-+#include 
- #include "vlock.h"
- #include "version.h"
- 
-@@ -37,20 +35,12 @@
- 
- int main(int argc, char **argv) {
- 
--  static struct option long_options[] = { /* For parsing long arguments */
--    {"current", 0, &o_lock_all, 0},
--    {"all", 0, &o_lock_all, 1},
--    {"version", no_argument, 0, O_VERSION},
--    {"help", no_argument, 0, O_HELP},
--    {0, 0, 0, 0},
--  };
-   int option_index; /* Unused */
-   int c;
-   struct vt_mode vtm;
- 
-   /* First we parse all the command line arguments */
--  while ((c = getopt_long(argc, argv, "acvh",
--			  long_options, &option_index)) != -1) {
-+  while ((c = getopt(argc, argv, "acvh")) != -1) {
-     switch(c) {
-     case 'c':
-       o_lock_all = 0;
-@@ -107,6 +97,7 @@
-     vtm.mode = VT_PROCESS;
-     vtm.relsig = SIGUSR1; /* handled by release_vt() */
-     vtm.acqsig = SIGUSR2; /* handled by acquire_vt() */
-+    vtm.frsig = SIGUSR1;  /* needed by FreeBSD */
-     ioctl(vfd, VT_SETMODE, &vtm);
-   }
- 
--- security/vlock/files/patch-aa
+++ /dev/null
@@ -1,36 +0,0 @@
---- Makefile.orig	Thu Jan 14 01:19:14 1999
-+++ Makefile	Wed Jun 16 17:23:34 2004
-@@ -1,24 +1,19 @@
- # vlock makefile
- 
--CC = gcc
--# remove the -DUSE_PAM, -ldl, and -lpam if you aren't using PAM
--RPM_OPT_FLAGS=-O2
--CFLAGS = $(RPM_OPT_FLAGS) -DUSE_PAM
--LDFLAGS = -ldl -lpam -lpam_misc
-+CFLAGS += -DUSE_PAM
-+LDFLAGS = -lpam
- 
- OBJS = vlock.o signals.o help.o terminal.o input.o
- 
--vlock: $(OBJS)
-+all:	vlock
- 
--vlock.man: vlock.1
--	groff -man -Tascii vlock.1 > vlock.man
-+vlock:	$(OBJS)
-+	cc $(OBJS) $(LDFLAGS) -o vlock
- 
--vlock.o: vlock.h version.h
--signals.o: vlock.h
--help.o: vlock.h
--terminal.o: vlock.h
--input.o: vlock.h
-+install:
-+	/usr/bin/install -c -s -o root -g wheel -m 4555 vlock ${PREFIX}/bin
-+	/usr/bin/install -c -o root -g wheel -m 444 vlock.1 ${MANPREFIX}/man/man1
- 
- clean:
--	rm -f $(OBJS) vlock core core.vlock
-+	rm -f $(OBJS) vlock vlock.core
- 

From laffer1 at midnightbsd.org  Thu Jan  1 20:19:31 2009
From: laffer1 at midnightbsd.org (laffer1 at midnightbsd.org)
Date: Thu, 1 Jan 2009 20:19:31 -0500 (EST)
Subject: [Midnightbsd-cvs] mports: pkg-plist: update to 2.2.2
Message-ID: <200901020119.n021JV9m064023@stargazer.midnightbsd.org>

Log Message:
-----------
update to 2.2.2

Added Files:
-----------
    mports/security/vlock:
        pkg-plist (r1.1)

-------------- next part --------------
--- /dev/null
+++ security/vlock/pkg-plist
@@ -0,0 +1,20 @@
+bin/vlock
+sbin/vlock-main
+lib/vlock/modules/all.so
+lib/vlock/modules/new.so
+%%PL_CACASAVER%%lib/vlock/modules/caca.so
+ at dirrm lib/vlock/modules
+%%PL_VLOCKSCRIPTS%%lib/vlock/scripts/amarok
+%%PL_VLOCKSCRIPTS%%lib/vlock/scripts/example_script
+%%PL_VLOCKSCRIPTS%%lib/vlock/scripts/mplayer
+%%PL_VLOCKSCRIPTS%%@dirrm lib/vlock/scripts
+ at dirrm lib/vlock
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/PLUGINS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/README.X11
+%%PORTDOCS%%%%DOCSDIR%%/SECURITY
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+ at exec if ! pw groupshow vlock 2>/dev/null; then pw groupadd vlock -g 129; fi

From ctriv at midnightbsd.org  Thu Jan  1 20:33:18 2009
From: ctriv at midnightbsd.org (ctriv at midnightbsd.org)
Date: Thu, 1 Jan 2009 20:33:18 -0500 (EST)
Subject: [Midnightbsd-cvs] mports: bsd.mport.mk: Change OSVERSION to refer
	to the MidnightBSD
Message-ID: <200901020133.n021XI8r065447@stargazer.midnightbsd.org>

Log Message:
-----------
Change OSVERSION to refer to the MidnightBSD version, not the FreeBSD version.
Don't check for param.h in src, it could be version that isn't at all related to 
the actual system.  Check param.h in /usr/include, and if that fails, use sysctl.

Modified Files:
--------------
    mports/Mk:
        bsd.mport.mk (r1.131 -> r1.132)

-------------- next part --------------
Index: bsd.mport.mk
===================================================================
RCS file: /home/cvs/mports/Mk/bsd.mport.mk,v
retrieving revision 1.131
retrieving revision 1.132
diff -L Mk/bsd.mport.mk -L Mk/bsd.mport.mk -u -r1.131 -r1.132
--- Mk/bsd.mport.mk
+++ Mk/bsd.mport.mk
@@ -118,12 +118,10 @@
 OSREL!=	${UNAME} -r | ${SED} -e 's/[-(].*//'
 .endif
 
-# Get __FreeBSD_version
+# Get __MidnightBSD_version
 .if !defined(OSVERSION)
 .if exists(${DESTDIR}/usr/include/sys/param.h)
-OSVERSION!=	${AWK} '/^\#define[[:blank:]]__FreeBSD_version/ {print $$3}' < ${DESTDIR}/usr/include/sys/param.h
-.elif exists(${DESTDIR}/usr/src/sys/sys/param.h)
-OSVERSION!=	${AWK} '/^\#define[[:blank:]]__FreeBSD_version/ {print $$3}' < ${DESTDIR}/usr/src/sys/sys/param.h
+OSVERSION!=	${AWK} '/^\#define[[:blank:]]__MidnightBSD_version/ {print $$3}' < ${DESTDIR}/usr/include/sys/param.h
 .else
 OSVERSION!=	${SYSCTL} -n kern.osreldate
 .endif

From ctriv at midnightbsd.org  Thu Jan  1 20:34:04 2009
From: ctriv at midnightbsd.org (ctriv at midnightbsd.org)
Date: Thu, 1 Jan 2009 20:34:04 -0500 (EST)
Subject: [Midnightbsd-cvs] mports: Makefile: Fix OSVERSION.
Message-ID: <200901020134.n021Y4hp065513@stargazer.midnightbsd.org>

Log Message:
-----------
Fix OSVERSION.

Modified Files:
--------------
    mports/astro/boinc-milkyway:
        Makefile (r1.2 -> r1.3)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/astro/boinc-milkyway/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -L astro/boinc-milkyway/Makefile -L astro/boinc-milkyway/Makefile -u -r1.2 -r1.3
--- astro/boinc-milkyway/Makefile
+++ astro/boinc-milkyway/Makefile
@@ -22,7 +22,7 @@
 
 ONLY_FOR_ARCHS=	i386 amd64
 
-.if ${OSVERSION} >= 700000
+.if ${OSVERSION} >= 3000
 LIB_DEPENDS+=	c.6:${PORTSDIR}/misc/compat6x
 .endif
 

From ctriv at midnightbsd.org  Thu Jan  1 20:35:46 2009
From: ctriv at midnightbsd.org (ctriv at midnightbsd.org)
Date: Thu, 1 Jan 2009 20:35:46 -0500 (EST)
Subject: [Midnightbsd-cvs] mports: gcc.mk: Fix OSVERSION.
Message-ID: <200901020135.n021Zkna065882@stargazer.midnightbsd.org>

Log Message:
-----------
Fix OSVERSION.

Modified Files:
--------------
    mports/Mk/extensions:
        gcc.mk (r1.1 -> r1.2)

-------------- next part --------------
Index: gcc.mk
===================================================================
RCS file: /home/cvs/mports/Mk/extensions/gcc.mk,v
retrieving revision 1.1
retrieving revision 1.2
diff -L Mk/extensions/gcc.mk -L Mk/extensions/gcc.mk -u -r1.1 -r1.2
--- Mk/extensions/gcc.mk
+++ Mk/extensions/gcc.mk
@@ -40,7 +40,7 @@
 # the base system.
 # The third field is the version as USE_GCC would use.
 #
-GCCVERSION_030402=	502126 999999 3.4
+GCCVERSION_030402=	2000 999999 3.4
 GCCVERSION_040100=	999999 999999 4.1
 GCCVERSION_040200=	999999 999999 4.2
 GCCVERSION_040300=	999999 999999 4.3

From ctriv at midnightbsd.org  Thu Jan  1 20:36:29 2009
From: ctriv at midnightbsd.org (ctriv at midnightbsd.org)
Date: Thu, 1 Jan 2009 20:36:29 -0500 (EST)
Subject: [Midnightbsd-cvs] mports: bsd.mport.mk.pod: Clean up version
	variable documentation.
Message-ID: <200901020136.n021aT1g065949@stargazer.midnightbsd.org>

Log Message:
-----------
Clean up version variable documentation.

Modified Files:
--------------
    mports/Mk/docs:
        bsd.mport.mk.pod (r1.7 -> r1.8)

-------------- next part --------------
Index: bsd.mport.mk.pod
===================================================================
RCS file: /home/cvs/mports/Mk/docs/bsd.mport.mk.pod,v
retrieving revision 1.7
retrieving revision 1.8
diff -L Mk/docs/bsd.mport.mk.pod -L Mk/docs/bsd.mport.mk.pod -u -r1.7 -r1.8
--- Mk/docs/bsd.mport.mk.pod
+++ Mk/docs/bsd.mport.mk.pod
@@ -244,10 +244,6 @@
 
 The value of __MidnightBSD_version.
 
-=item FREEBSDVERSION 
-
-The version of FreeBSD closest to your version of MidnightBSD.
-
 =item PORTOBJFORMAT
 
 The object format ("aout" or "elf").

From ctriv at midnightbsd.org  Thu Jan  1 20:37:30 2009
From: ctriv at midnightbsd.org (ctriv at midnightbsd.org)
Date: Thu, 1 Jan 2009 20:37:30 -0500 (EST)
Subject: [Midnightbsd-cvs] mports: Makefile: Fix OSVERSION.
Message-ID: <200901020137.n021bUcj066045@stargazer.midnightbsd.org>

Log Message:
-----------
Fix OSVERSION.

Modified Files:
--------------
    mports/devel/ZendOptimizer:
        Makefile (r1.2 -> r1.3)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/devel/ZendOptimizer/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -L devel/ZendOptimizer/Makefile -L devel/ZendOptimizer/Makefile -u -r1.2 -r1.3
--- devel/ZendOptimizer/Makefile
+++ devel/ZendOptimizer/Makefile
@@ -26,7 +26,7 @@
 .include 
 
 VER=		6.0
-.if ${OSVERSION} >= 700043
+.if ${OSVERSION} >= 3000
 LIB_DEPENDS+=	m.4:${PORTSDIR}/misc/compat6x
 .endif
 

From ctriv at midnightbsd.org  Thu Jan  1 20:42:02 2009
From: ctriv at midnightbsd.org (ctriv at midnightbsd.org)
Date: Thu, 1 Jan 2009 20:42:02 -0500 (EST)
Subject: [Midnightbsd-cvs] mports: devel/gvfs: We've always had libarchive,
	don't check OSVERSION
Message-ID: <200901020142.n021g22G066541@stargazer.midnightbsd.org>

Log Message:
-----------
We've always had libarchive, don't check OSVERSION to decide to use it.

Modified Files:
--------------
    mports/devel/gvfs:
        Makefile (r1.6 -> r1.7)
        pkg-plist (r1.1 -> r1.2)

-------------- next part --------------
Index: pkg-plist
===================================================================
RCS file: /home/cvs/mports/devel/gvfs/pkg-plist,v
retrieving revision 1.1
retrieving revision 1.2
diff -L devel/gvfs/pkg-plist -L devel/gvfs/pkg-plist -u -r1.1 -r1.2
--- devel/gvfs/pkg-plist
+++ devel/gvfs/pkg-plist
@@ -28,7 +28,7 @@
 lib/libgvfscommon.so.0
 %%FUSE%%libexec/gvfs-fuse-daemon
 libexec/gvfsd
-%%ARCHIVE%%libexec/gvfsd-archive
+libexec/gvfsd-archive
 libexec/gvfsd-burn
 %%CDDA%%libexec/gvfsd-cdda
 libexec/gvfsd-computer
@@ -44,7 +44,7 @@
 %%SMB%%libexec/gvfsd-smb-browse
 libexec/gvfsd-trash
 share/dbus-1/services/gvfs-daemon.service
-%%ARCHIVE%%share/gvfs/mounts/archive.mount
+share/gvfs/mounts/archive.mount
 share/gvfs/mounts/burn.mount
 %%CDDA%%share/gvfs/mounts/cdda.mount
 share/gvfs/mounts/computer.mount
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/devel/gvfs/Makefile,v
retrieving revision 1.6
retrieving revision 1.7
diff -L devel/gvfs/Makefile -L devel/gvfs/Makefile -u -r1.6 -r1.7
--- devel/gvfs/Makefile
+++ devel/gvfs/Makefile
@@ -73,11 +73,4 @@
 PLIST_SUB+=	GPHOTO2="@comment "
 .endif
 
-.if ${OSVERSION} < 602112
-CONFIGURE_ARGS+=	--disable-archive
-PLIST_SUB+=	ARCHIVE="@comment "
-.else
-PLIST_SUB+=	ARCHIVE=""
-.endif
-
 .include 

From laffer1 at midnightbsd.org  Thu Jan  1 20:44:11 2009
From: laffer1 at midnightbsd.org (laffer1 at midnightbsd.org)
Date: Thu, 1 Jan 2009 20:44:11 -0500 (EST)
Subject: [Midnightbsd-cvs] mports: Makefile: freebsd local not ours,
	add license
Message-ID: <200901020144.n021iB2m066666@stargazer.midnightbsd.org>

Log Message:
-----------
freebsd local not ours, add license

Modified Files:
--------------
    mports/graphics/wmicons:
        Makefile (r1.2 -> r1.3)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/graphics/wmicons/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -L graphics/wmicons/Makefile -L graphics/wmicons/Makefile -u -r1.2 -r1.3
--- graphics/wmicons/Makefile
+++ graphics/wmicons/Makefile
@@ -10,7 +10,7 @@
 PORTVERSION=	1.0
 PORTREVISION=   1
 CATEGORIES=	graphics windowmaker
-MASTER_SITES=	${MASTER_SITE_LOCAL:S|%SUBDIR%|kiri/wmicons|} \
+MASTER_SITES=	${MASTER_SITE_FREEBSD_LOCAL:S|%SUBDIR%|kiri/wmicons|} \
 		${MASTER_SITE_WINDOWMAKER} \
 		${MASTER_SITE_PORTS_JP} \
 		http://www.itlb.te.noda.tus.ac.jp/~manome/wmaker/archive/
@@ -24,6 +24,7 @@
 
 MAINTAINER=	ports at MidnightBSD.org
 COMMENT=	Icons mainly for use in Window Maker
+LICENSE=	unknown
 
 GNU_CONFIGURE=	yes
 

From ctriv at midnightbsd.org  Thu Jan  1 20:45:33 2009
From: ctriv at midnightbsd.org (ctriv at midnightbsd.org)
Date: Thu, 1 Jan 2009 20:45:33 -0500 (EST)
Subject: [Midnightbsd-cvs] mports: Makefile: Fix OSVERSION.
Message-ID: <200901020145.n021jXXR067035@stargazer.midnightbsd.org>

Log Message:
-----------
Fix OSVERSION.

Modified Files:
--------------
    mports/devel/qt4-corelib:
        Makefile (r1.4 -> r1.5)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/devel/qt4-corelib/Makefile,v
retrieving revision 1.4
retrieving revision 1.5
diff -L devel/qt4-corelib/Makefile -L devel/qt4-corelib/Makefile -u -r1.4 -r1.5
--- devel/qt4-corelib/Makefile
+++ devel/qt4-corelib/Makefile
@@ -69,9 +69,10 @@
 	${HEAD} -n 27 ${WRKSRC}/global/qconfig.h > ${WRKDIR}/qconfig.tmp
 	${CHMOD} 644 ${WRKSRC}/global/qconfig.h
 	${CAT} ${WRKDIR}/qconfig.tmp ${FILESDIR}/qconfig.h.in > ${WRKSRC}/global/qconfig.h
-.if ${OSVERSION} >= 700042
-	${ECHO_CMD} "#define QT_VISIBILITY_AVAILABLE" >> ${WRKSRC}/global/qconfig.h
-.endif
+# this looks to be a newer GCC thing.
+#.if ${OSVERSION} >= 3000
+#	${ECHO_CMD} "#define QT_VISIBILITY_AVAILABLE" >> ${WRKSRC}/global/qconfig.h
+#.endif
 
 
 post-install:

From ctriv at midnightbsd.org  Thu Jan  1 20:46:08 2009
From: ctriv at midnightbsd.org (ctriv at midnightbsd.org)
Date: Thu, 1 Jan 2009 20:46:08 -0500 (EST)
Subject: [Midnightbsd-cvs] mports: Makefile: Fix OSVERSION.
Message-ID: <200901020146.n021k8gn067095@stargazer.midnightbsd.org>

Log Message:
-----------
Fix OSVERSION.

Modified Files:
--------------
    mports/editors/zile:
        Makefile (r1.2 -> r1.3)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/editors/zile/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -L editors/zile/Makefile -L editors/zile/Makefile -u -r1.2 -r1.3
--- editors/zile/Makefile
+++ editors/zile/Makefile
@@ -25,11 +25,7 @@
 
 .include 
 
-.if ${OSVERSION} > 502010
 GNU_REGEX_H=	gnu/regex.h
-.else
-GNU_REGEX_H=	gnuregex.h
-.endif
 
 post-patch:
 	@${REINPLACE_CMD} -e \

From ctriv at midnightbsd.org  Thu Jan  1 21:31:29 2009
From: ctriv at midnightbsd.org (ctriv at midnightbsd.org)
Date: Thu, 1 Jan 2009 21:31:29 -0500 (EST)
Subject: [Midnightbsd-cvs] mports: patch-aa: Fix OSVERSION.
Message-ID: <200901020231.n022VTLB071392@stargazer.midnightbsd.org>

Log Message:
-----------
Fix OSVERSION.

Modified Files:
--------------
    mports/graphics/png/files:
        patch-aa (r1.4 -> r1.5)

-------------- next part --------------
Index: patch-aa
===================================================================
RCS file: /home/cvs/mports/graphics/png/files/patch-aa,v
retrieving revision 1.4
retrieving revision 1.5
diff -L graphics/png/files/patch-aa -L graphics/png/files/patch-aa -u -r1.4 -r1.5
--- graphics/png/files/patch-aa
+++ graphics/png/files/patch-aa
@@ -1,17 +1,13 @@
---- scripts/makefile.freebsd.orig	2007-06-21 02:10:26.000000000 +0400
-+++ scripts/makefile.freebsd	2007-10-13 17:24:24.000000000 +0400
-@@ -8,26 +8,27 @@
+--- ./scripts/makefile.freebsd.orig	2007-06-20 18:10:26 -0400
++++ ./scripts/makefile.freebsd	2009-01-01 21:27:38 -0500
+@@ -8,26 +8,22 @@
  LIB=		png
  SHLIB_MAJOR=	${SHLIB_VER}
  SHLIB_MINOR=	0
 -NOPROFILE=	YES
-+.if (${OSVERSION} > 600007)
+-NOOBJ=          YES
 +NO_PROFILE=     YES
 +NO_OBJ=         YES
-+.else
-+NOPROFILE=      YES
- NOOBJ=          YES
-+.endif
  
  # where make install puts libpng.a and png.h
 -DESTDIR=	${PREFIX}
@@ -36,7 +32,7 @@
  
  SRCS=	png.c pngset.c pngget.c pngrutil.c pngtrans.c pngwutil.c \
  	pngread.c pngrio.c pngwio.c pngwrite.c pngrtran.c \
-@@ -45,4 +46,22 @@
+@@ -45,4 +41,22 @@
  writelock:
  	chmod a-w *.[ch35] $(DOCS) scripts/*
  

From ctriv at midnightbsd.org  Thu Jan  1 21:33:30 2009
From: ctriv at midnightbsd.org (ctriv at midnightbsd.org)
Date: Thu, 1 Jan 2009 21:33:30 -0500 (EST)
Subject: [Midnightbsd-cvs] mports: Makefile: Fix OSVERSION.
Message-ID: <200901020233.n022XUih071570@stargazer.midnightbsd.org>

Log Message:
-----------
Fix OSVERSION.

Modified Files:
--------------
    mports/java/diablo-jre16:
        Makefile (r1.2 -> r1.3)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/java/diablo-jre16/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -L java/diablo-jre16/Makefile -L java/diablo-jre16/Makefile -u -r1.2 -r1.3
--- java/diablo-jre16/Makefile
+++ java/diablo-jre16/Makefile
@@ -51,15 +51,15 @@
 
 .include 
 
-.if ${OSVERSION} >= 700000
+.if ${OSVERSION} >= 3000
 JRE_OSREL=	freebsd7
 PLIST_SUB+=	RELEASENOTE="@comment "
-.elif ${OSVERSION} >= 600000
+.elif ${OSVERSION} >= 1000
 BROKEN=		required gethostbyname_r
 JRE_OSREL=	freebsd6
 PLIST_SUB+=	RELEASENOTE=""
 .else
-IGNORE=		only available for FreeBSD 6.x/i386 and FreeBSD 6.x/amd64 and later
+IGNORE=		Somehow, you have a copy of MidnightBSD 0.0.0.  Well done!
 .endif
 
 .if ${ARCH} == "i386"

From ctriv at midnightbsd.org  Thu Jan  1 21:37:45 2009
From: ctriv at midnightbsd.org (ctriv at midnightbsd.org)
Date: Thu, 1 Jan 2009 21:37:45 -0500 (EST)
Subject: [Midnightbsd-cvs] mports: Makefile: Fix OSVERSION.
Message-ID: <200901020237.n022bjif072095@stargazer.midnightbsd.org>

Log Message:
-----------
Fix OSVERSION.

Modified Files:
--------------
    mports/lang/mono:
        Makefile (r1.6 -> r1.7)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/lang/mono/Makefile,v
retrieving revision 1.6
retrieving revision 1.7
diff -L lang/mono/Makefile -L lang/mono/Makefile -u -r1.6 -r1.7
--- lang/mono/Makefile
+++ lang/mono/Makefile
@@ -77,12 +77,8 @@
 		${WRKSRC}/mcs/class/Managed.Windows.Forms/build-csproj \
 		${WRKSRC}/mcs/class/Managed.Windows.Forms/build-csproj2k5
 
-.if ${OSVERSION} >= 700000
-	@${REINPLACE_CMD} -e 's|freebsd6|freebsd7|g' \
-		${WRKSRC}/configure ${WRKSRC}/libgc/configure
-.endif
 
-tests: build
+test: build
 	@${ECHO_MSG} "===> Running mono regression tests"
 	@(cd ${WRKSRC}/mono/tests && ${SETENV} ${MAKE_ENV} ${GMAKE} \
 		${MAKE_FLAGS} Makefile ${MAKE_ARGS} test)

From ctriv at midnightbsd.org  Thu Jan  1 21:42:14 2009
From: ctriv at midnightbsd.org (ctriv at midnightbsd.org)
Date: Thu, 1 Jan 2009 21:42:14 -0500 (EST)
Subject: [Midnightbsd-cvs] mports: makefile.lib: Fix OSVERSION.
Message-ID: <200901020242.n022gE40072622@stargazer.midnightbsd.org>

Log Message:
-----------
Fix OSVERSION.

Modified Files:
--------------
    mports/math/blas/files:
        makefile.lib (r1.3 -> r1.4)

-------------- next part --------------
Index: makefile.lib
===================================================================
RCS file: /home/cvs/mports/math/blas/files/makefile.lib,v
retrieving revision 1.3
retrieving revision 1.4
diff -L math/blas/files/makefile.lib -L math/blas/files/makefile.lib -u -r1.3 -r1.4
--- math/blas/files/makefile.lib
+++ math/blas/files/makefile.lib
@@ -2,11 +2,7 @@
 FFLAGS=	@FFLAGS@
 
 LIBDIR= ${PREFIX}/lib
-.if (${OSVERSION} > 600007)
 NO_PROFILE= no
-.else
-NOPROFILE= no
-.endif
 
 SHLIB_MAJOR= 2
 

From ctriv at midnightbsd.org  Thu Jan  1 22:01:29 2009
From: ctriv at midnightbsd.org (ctriv at midnightbsd.org)
Date: Thu, 1 Jan 2009 22:01:29 -0500 (EST)
Subject: [Midnightbsd-cvs] mports: Makefile: Fix OSVERSION.
Message-ID: <200901020301.n0231TAb074649@stargazer.midnightbsd.org>

Log Message:
-----------
Fix OSVERSION.

Modified Files:
--------------
    mports/multimedia/ffmpeg:
        Makefile (r1.1 -> r1.2)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/multimedia/ffmpeg/Makefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -L multimedia/ffmpeg/Makefile -L multimedia/ffmpeg/Makefile -u -r1.1 -r1.2
--- multimedia/ffmpeg/Makefile
+++ multimedia/ffmpeg/Makefile
@@ -244,12 +244,9 @@
 	@${REINPLACE_CMD} -e 's|faacD|NeAACD|' ${WRKSRC}/libavcodec/libfaad.c
 # {C,LD}FLAGS safeness
 # fix x264 math, use correct log base 2 from math(3)
-.if ${OSVERSION} <= 601000
 	@${REINPLACE_CMD} -E \
 		-e 's| log2| log|' \
 		${WRKSRC}/libavcodec/libx264.c
-.endif
-
 	${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|${FAKE_DESTDIR}${PREFIX}/libdata/pkgconfig|' \
 		${WRKSRC}/common.mak ${WRKSRC}/subdir.mak
 	@${REINPLACE_CMD} -e 's|/etc/ffserver.conf|${PREFIX}/etc/ffserver.conf|' \

From ctriv at midnightbsd.org  Thu Jan  1 22:03:28 2009
From: ctriv at midnightbsd.org (ctriv at midnightbsd.org)
Date: Thu, 1 Jan 2009 22:03:28 -0500 (EST)
Subject: [Midnightbsd-cvs] mports: Makefile: Fix OSVERSION.
Message-ID: <200901020303.n0233S8d074791@stargazer.midnightbsd.org>

Log Message:
-----------
Fix OSVERSION.

Modified Files:
--------------
    mports/net/iwi-firmware:
        Makefile (r1.2 -> r1.3)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/net/iwi-firmware/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -L net/iwi-firmware/Makefile -L net/iwi-firmware/Makefile -u -r1.2 -r1.3
--- net/iwi-firmware/Makefile
+++ net/iwi-firmware/Makefile
@@ -30,6 +30,6 @@
 		ipw-${PORTVERSION}-sniffer.fw:${DRIVERNAME}-sniffer.fw \
 		ipw-${PORTVERSION}-sniffer_ucode.fw:${DRIVERNAME}-ucode-sniffer.fw
 
-MIN7OSVERSION=	700006
+MIN7OSVERSION=	3000
 
 .include "${MASTERDIR}/Makefile"

From ctriv at midnightbsd.org  Thu Jan  1 22:05:51 2009
From: ctriv at midnightbsd.org (ctriv at midnightbsd.org)
Date: Thu, 1 Jan 2009 22:05:51 -0500 (EST)
Subject: [Midnightbsd-cvs] mports: Makefile: Fix OSVERSION.
Message-ID: <200901020305.n0235pQL075186@stargazer.midnightbsd.org>

Log Message:
-----------
Fix OSVERSION.

Modified Files:
--------------
    mports/sysutils/hal:
        Makefile (r1.8 -> r1.9)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/sysutils/hal/Makefile,v
retrieving revision 1.8
retrieving revision 1.9
diff -L sysutils/hal/Makefile -L sysutils/hal/Makefile -u -r1.8 -r1.9
--- sysutils/hal/Makefile
+++ sysutils/hal/Makefile
@@ -72,15 +72,11 @@
 
 .include 
 
-.if ${OSVERSION} < 505000
-IGNORE=	not supported on FreeBSD prior to 5.5-RELEASE
-.endif
-
 .if (${ARCH}=="i386" || ${ARCH}=="amd64" || ${ARCH}=="ia64")
 RUN_DEPENDS+=	dmidecode:${PORTSDIR}/sysutils/dmidecode
 .endif
 
-.if ${OSVERSION} <= 601100
+.if ${OSVERSION} <= 3000
 NEEDS_MEDIA=	yes
 PLIST_SUB+=	MEDIA=""
 .else

From ctriv at midnightbsd.org  Thu Jan  1 22:06:56 2009
From: ctriv at midnightbsd.org (ctriv at midnightbsd.org)
Date: Thu, 1 Jan 2009 22:06:56 -0500 (EST)
Subject: [Midnightbsd-cvs] mports: Makefile: Fix OSVERSION.
Message-ID: <200901020306.n0236uAC075296@stargazer.midnightbsd.org>

Log Message:
-----------
Fix OSVERSION.

Modified Files:
--------------
    mports/textproc/enchant:
        Makefile (r1.2 -> r1.3)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/textproc/enchant/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -L textproc/enchant/Makefile -L textproc/enchant/Makefile -u -r1.2 -r1.3
--- textproc/enchant/Makefile
+++ textproc/enchant/Makefile
@@ -71,11 +71,9 @@
 post-patch:
 	@${REINPLACE_CMD} -e 's|MKDIRPROG-mkdir|MKDIRPROG-mkdir -p|g' \
 		${WRKSRC}/install-sh
-.if ${OSVERSION} < 700042
 	@${REINPLACE_CMD} -E -e "s|-Wunsafe-loop-optimizations ||g" \
 		-e "s|-Wno-missing-field-initializers ||g" \
 		-e "s|-Wno-attributes ||g" \
 			${WRKSRC}/configure
-.endif
 
 .include 

From ctriv at midnightbsd.org  Thu Jan  1 22:08:17 2009
From: ctriv at midnightbsd.org (ctriv at midnightbsd.org)
Date: Thu, 1 Jan 2009 22:08:17 -0500 (EST)
Subject: [Midnightbsd-cvs] mports: Makefile: Fix OSVERSION.
Message-ID: <200901020308.n0238Hqs075391@stargazer.midnightbsd.org>

Log Message:
-----------
Fix OSVERSION.

Modified Files:
--------------
    mports/www/squid:
        Makefile (r1.5 -> r1.6)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/www/squid/Makefile,v
retrieving revision 1.5
retrieving revision 1.6
diff -L www/squid/Makefile -L www/squid/Makefile -u -r1.5 -r1.6
--- www/squid/Makefile
+++ www/squid/Makefile
@@ -254,10 +254,9 @@
 storage_schemes=	ufs diskd null
 .if defined(WITH_SQUID_AUFS)
 storage_schemes+=	aufs
-.if ${OSVERSION}>=501000
-# Only document libmap.conf where it is available:
+
 EXTRA_PATCHES+=		${PATCHDIR}/extra-patch-src-cf.data.pre.aufs
-.endif
+
 # Nil aufs threads is default, set any other value via SQUID_CONFIGURE_ARGS
 CONFIGURE_ARGS+=	--with-pthreads
 CFLAGS+=	${PTHREAD_CFLAGS}
@@ -337,9 +336,6 @@
 .endif
 .if defined(WITH_SQUID_PF)
 CONFIGURE_ARGS+=	--enable-pf-transparent
-.if ${OSVERSION} < 502106
-IGNORE=		pf available only in FreeBSD 5.3 and newer
-.endif
 .endif
 
 .if defined(WITH_SQUID_IPFILTER)

From ctriv at midnightbsd.org  Thu Jan  1 22:10:03 2009
From: ctriv at midnightbsd.org (ctriv at midnightbsd.org)
Date: Thu, 1 Jan 2009 22:10:03 -0500 (EST)
Subject: [Midnightbsd-cvs] mports: Makefile: Fix OSVERSION.
Message-ID: <200901020310.n023A3np075614@stargazer.midnightbsd.org>

Log Message:
-----------
Fix OSVERSION.

Modified Files:
--------------
    mports/x11/gnome-panel:
        Makefile (r1.4 -> r1.5)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/x11/gnome-panel/Makefile,v
retrieving revision 1.4
retrieving revision 1.5
diff -L x11/gnome-panel/Makefile -L x11/gnome-panel/Makefile -u -r1.4 -r1.5
--- x11/gnome-panel/Makefile
+++ x11/gnome-panel/Makefile
@@ -70,12 +70,6 @@
 	@${FIND} ${WRKSRC} -type f | \
 		${XARGS} -n 10 ${REINPLACE_CMD} -e \
 		's|"applications.menu"|"gnome-applications.menu"|'
-.if ( ${OSVERSION} > 600000 && ${OSVERSION} < 600006 ) || \
-	( ${OSVERSION} < 503101 )
-.for po in da.po it.po zh_CN.po zh_TW.po
-	@${REINPLACE_CMD} -e 's|%-|%|g' ${WRKSRC}/po/${po}
-.endfor
-.endif
 
 post-install:
 	${MKDIR} ${PREFIX}/share/gnome-panel

From ctriv at midnightbsd.org  Thu Jan  1 22:11:55 2009
From: ctriv at midnightbsd.org (ctriv at midnightbsd.org)
Date: Thu, 1 Jan 2009 22:11:55 -0500 (EST)
Subject: [Midnightbsd-cvs] mports: Makefile: Fix OSVERSION.
Message-ID: <200901020311.n023Bt6e075907@stargazer.midnightbsd.org>

Log Message:
-----------
Fix OSVERSION.

Modified Files:
--------------
    mports/x11/nvidia-driver:
        Makefile (r1.6 -> r1.7)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/x11/nvidia-driver/Makefile,v
retrieving revision 1.6
retrieving revision 1.7
diff -L x11/nvidia-driver/Makefile -L x11/nvidia-driver/Makefile -u -r1.6 -r1.7
--- x11/nvidia-driver/Makefile
+++ x11/nvidia-driver/Makefile
@@ -79,13 +79,8 @@
 post-patch: .SILENT
 # We should support -CURRENT: kill the check
 	${REINPLACE_CMD} '24,26d' ${WRKSRC}/src/nv-freebsd.h
-# Fix `agpvar.h' location on recent -CURRENT
-.if ${OSVERSION} >= 800004
-	${REINPLACE_CMD} -e 's,pci/agpvar\.h,dev/agp/agpvar.h,' \
-		${WRKSRC}/src/nv-freebsd.h
-.endif
 # Building with -Werror requires prototype for suser() which was moved
-.if ${OSVERSION} >= 700048
+.if ${OSVERSION} >= 3000
 	${REINPLACE_CMD} -e '15s,^,#include ,' \
 		${WRKSRC}/src/nvidia_os.c
 .endif

From ctriv at midnightbsd.org  Thu Jan  1 22:17:31 2009
From: ctriv at midnightbsd.org (ctriv at midnightbsd.org)
Date: Thu, 1 Jan 2009 22:17:31 -0500 (EST)
Subject: [Midnightbsd-cvs] mports: Makefile: Cleanup linking with sqlite.
Message-ID: <200901020317.n023HV33076423@stargazer.midnightbsd.org>

Log Message:
-----------
Cleanup linking with sqlite.  Use the system sqlite unless it's an old version
of mbsd.

Modified Files:
--------------
    mports/databases/qt4-sqlite3-plugin:
        Makefile (r1.3 -> r1.4)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/databases/qt4-sqlite3-plugin/Makefile,v
retrieving revision 1.3
retrieving revision 1.4
diff -L databases/qt4-sqlite3-plugin/Makefile -L databases/qt4-sqlite3-plugin/Makefile -u -r1.3 -r1.4
--- databases/qt4-sqlite3-plugin/Makefile
+++ databases/qt4-sqlite3-plugin/Makefile
@@ -21,8 +21,6 @@
 
 FAKE_OPTS=	trueprefix
 
-LIB_DEPENDS+=	sqlite3:${PORTSDIR}/databases/sqlite3
-
 USE_QT_VER=	4
 QT_COMPONENTS=	moc_build sql
 QT_NONSTANDARD=	yes
@@ -34,13 +32,25 @@
 		${DISTNAME}/include/QtSql \
 		${DISTNAME}/src/sql/kernel
 MAKEFILE=	${FILESDIR}/Makefile.bsd
+
+PLIST_SUB=	DB=${DB}
+
+
+.include 
+
+
+# old mbsd versions didn't come with sqlite in core.
+.if ${OSVERSION} < 2000
+LIB_DEPENDS+=	sqlite3:${PORTSDIR}/databases/sqlite3
+.endif
+
 MAKE_ENV+=	DB="${DB}" DRIVER="${DRIVER}" MOC="${MOC}" \
 		PLUGIN="${PLUGIN}" \
 		PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
 		PTHREAD_LIBS="${PTHREAD_LIBS}"
-PLIST_SUB=	DB=${DB}
 
-pre-fake:
-	@${MKDIR} ${FAKE_DESTDIR}${PREFIX}/lib/qt4/plugins/sqldrivers
+pre-install:
+	@${MKDIR} ${PREFIX}/lib/qt4/plugins/sqldrivers
+
 
-.include 
+.include 
\ No newline at end of file

From ctriv at midnightbsd.org  Fri Jan  2 21:13:12 2009
From: ctriv at midnightbsd.org (ctriv at midnightbsd.org)
Date: Fri, 2 Jan 2009 21:13:12 -0500 (EST)
Subject: [Midnightbsd-cvs] mports: graphics/poppler-qt4: add poppler-qt4
Message-ID: <200901030213.n032DCOx010668@stargazer.midnightbsd.org>

Log Message:
-----------
add poppler-qt4

Added Files:
-----------
    mports/graphics/poppler-qt4:
        Makefile (r1.1)
        pkg-plist (r1.1)

-------------- next part --------------
--- /dev/null
+++ graphics/poppler-qt4/pkg-plist
@@ -0,0 +1,12 @@
+ at comment $MidnightBSD: mports/graphics/poppler-qt4/pkg-plist,v 1.1 2009/01/03 02:13:12 ctriv Exp $
+include/poppler/qt4/poppler-qt4.h
+include/poppler/qt4/poppler-link.h
+include/poppler/qt4/poppler-annotation.h
+include/poppler/qt4/poppler-form.h
+include/poppler/qt4/poppler-page-transition.h
+lib/libpoppler-qt4.so.2
+lib/libpoppler-qt4.so
+lib/libpoppler-qt4.la
+lib/libpoppler-qt4.a
+libdata/pkgconfig/poppler-qt4.pc
+ at dirrm include/poppler/qt4
--- /dev/null
+++ graphics/poppler-qt4/Makefile
@@ -0,0 +1,19 @@
+# New ports collection makefile for:	poppler-qt4
+# Date created:		June 26, 2007
+# Whom:			Michael Johnson 
+#
+# $FreeBSD: ports/graphics/poppler-qt4/Makefile,v 1.9 2008/08/04 02:28:00 mezz Exp $
+#   $MCom: ports-stable/graphics/poppler-qt4/Makefile,v 1.3 2008/06/20 17:48:14 mezz Exp $
+#
+
+PORTREVISION=	0
+PKGNAMESUFFIX=	-qt4
+
+MAINTAINER=	gnome at FreeBSD.org
+COMMENT=	Qt4 bindings to poppler
+
+MASTERDIR=	${.CURDIR}/../../graphics/poppler
+SLAVEPORT=	qt4
+PLIST=		${.CURDIR}/pkg-plist
+
+.include "${MASTERDIR}/Makefile"

From ctriv at midnightbsd.org  Fri Jan  2 21:15:15 2009
From: ctriv at midnightbsd.org (ctriv at midnightbsd.org)
Date: Fri, 2 Jan 2009 21:15:15 -0500 (EST)
Subject: [Midnightbsd-cvs] mports: Makefile: add poppler-qt4
Message-ID: <200901030215.n032FFF8011065@stargazer.midnightbsd.org>

Log Message:
-----------
add poppler-qt4

Modified Files:
--------------
    mports/graphics:
        Makefile (r1.83 -> r1.84)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/graphics/Makefile,v
retrieving revision 1.83
retrieving revision 1.84
diff -L graphics/Makefile -L graphics/Makefile -u -r1.83 -r1.84
--- graphics/Makefile
+++ graphics/Makefile
@@ -93,6 +93,7 @@
     SUBDIR += poppler-data
     SUBDIR += poppler-gtk
     SUBDIR += poppler-qt
+    SUBDIR += poppler-qt4
     SUBDIR += poppler-utils
     SUBDIR += popplerkit
     SUBDIR += py-cairo

From ctriv at midnightbsd.org  Fri Jan  2 21:23:14 2009
From: ctriv at midnightbsd.org (ctriv at midnightbsd.org)
Date: Fri, 2 Jan 2009 21:23:14 -0500 (EST)
Subject: [Midnightbsd-cvs] mports: misc/chmlib: Added chmlib-0.39
Message-ID: <200901030223.n032NE8R011764@stargazer.midnightbsd.org>

Log Message:
-----------
Added chmlib-0.39

Added Files:
-----------
    mports/misc/chmlib:
        Makefile (r1.1)
        distinfo (r1.1)
        pkg-descr (r1.1)
        pkg-plist (r1.1)
    mports/misc/chmlib/files:
        patch-chm_lib.c (r1.1)
        patch-chm_lib.h (r1.1)
        patch-ltmain.sh (r1.1)

-------------- next part --------------
--- /dev/null
+++ misc/chmlib/pkg-descr
@@ -0,0 +1,7 @@
+CHMLIB is a library for dealing with Microsoft ITSS/CHM format files. Right
+now, it is a very simple library, but sufficient for dealing with all of the
+.chm files I've come across. Due to the fairly well-designed indexing built
+into this particular file format, even a small library is able to gain
+reasonably good performance indexing into ITSS archives.
+
+WWW: http://morte.jedrea.com/~jedwin/projects/chmlib/
--- /dev/null
+++ misc/chmlib/pkg-plist
@@ -0,0 +1,9 @@
+bin/chm_http
+bin/enum_chmLib
+bin/enumdir_chmLib
+bin/extract_chmLib
+bin/test_chmLib
+include/chm_lib.h
+include/lzx.h
+lib/libchm.so
+lib/libchm.so.0
--- /dev/null
+++ misc/chmlib/Makefile
@@ -0,0 +1,24 @@
+# ex:ts=8
+#
+# $MidnightBSD: mports/misc/chmlib/Makefile,v 1.1 2009/01/03 02:23:12 ctriv Exp $
+#
+
+PORTNAME=	chmlib
+PORTVERSION=	0.39
+CATEGORIES=	misc
+MASTER_SITES=	http://www.jedrea.com/chmlib/
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	A library for dealing with Microsoft ITSS/CHM format files
+LICENSE=	lgpl
+
+USE_BZIP2=	yes
+GNU_CONFIGURE=	yes
+CONFIGURE_ARGS=	--disable-io64 --disable-pread --exec-prefix=${PREFIX} --disable-static --enable-examples
+USE_GMAKE=	yes
+USE_LDCONFIG=	yes
+
+post-patch:
+	@${REINPLACE_CMD} -e "s,-lpthread,${PTHREAD_LIBS}," ${WRKSRC}/configure
+
+.include 
--- /dev/null
+++ misc/chmlib/distinfo
@@ -0,0 +1,3 @@
+MD5 (chmlib-0.39.tar.bz2) = debed1a0bdded7a12d3d967e497cea9c
+SHA256 (chmlib-0.39.tar.bz2) = d2305d449eb5a2922ed3e61714074b09aae2491aa0cdbb783ab33a1744e0ff41
+SIZE (chmlib-0.39.tar.bz2) = 263013
--- /dev/null
+++ misc/chmlib/files/patch-ltmain.sh
@@ -0,0 +1,15 @@
+--- ltmain.sh.orig	Mon Jun 19 09:26:24 2006
++++ ltmain.sh	Mon Jun 19 09:26:40 2006
+@@ -6003,10 +6003,12 @@
+ 	fi
+ 
+ 	# Install the pseudo-library for information purposes.
++	if /usr/bin/false ; then
+ 	name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+ 	instname="$dir/$name"i
+ 	$show "$install_prog $instname $destdir/$name"
+ 	$run eval "$install_prog $instname $destdir/$name" || exit $?
++	fi
+ 
+ 	# Maybe install the static library, too.
+ 	test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
--- /dev/null
+++ misc/chmlib/files/patch-chm_lib.h
@@ -0,0 +1,25 @@
+--- src/chm_lib.h.orig	Fri Feb 25 21:26:09 2005
++++ src/chm_lib.h	Fri Feb 25 21:26:57 2005
+@@ -78,6 +78,12 @@
+     char               path[CHM_MAX_PATHLEN+1];
+ };
+ 
++typedef struct chmUnitInfo chmUnitInfo;
++typedef struct chm_dir {
++  int nentries;
++  char **info;
++} chm_dir;
++
+ /* open an ITS archive */
+ #ifdef PPC_BSTR
+ /* RWE 6/12/2003 */
+@@ -133,6 +139,7 @@
+                       CHM_ENUMERATOR e,
+                       void *context);
+ 
++chm_dir get_names(struct chmFile *h);
+ #ifdef __cplusplus
+ }
+ #endif
+
+
--- /dev/null
+++ misc/chmlib/files/patch-chm_lib.c
@@ -0,0 +1,20 @@
+--- src/chm_lib.c.orig	Tue Apr  8 10:33:30 2003
++++ src/chm_lib.c	Tue Apr  8 10:40:56 2003
+@@ -156,6 +156,17 @@
+ typedef __int64                 Int64;
+ typedef unsigned __int64        UInt64;
+ 
++/* FreeBSD */
++#elif __FreeBSD__
++#include 
++typedef unsigned char           UChar;
++typedef int16_t                 Int16;
++typedef uint16_t                UInt16;
++typedef int32_t                 Int32;
++typedef uint32_t                UInt32;
++typedef int64_t                 Int64;
++typedef uint64_t                UInt64;
++
+ /* I386, 32-bit, non-Windows */
+ /* Sparc        */
+ /* MIPS         */

From ctriv at midnightbsd.org  Fri Jan  2 21:23:28 2009
From: ctriv at midnightbsd.org (ctriv at midnightbsd.org)
Date: Fri, 2 Jan 2009 21:23:28 -0500 (EST)
Subject: [Midnightbsd-cvs] mports: Makefile: added: chmlib,
	koffice-i18n-sr@Latn, wmweather+.
Message-ID: <200901030223.n032NSbS011814@stargazer.midnightbsd.org>

Log Message:
-----------
added: chmlib, koffice-i18n-sr at Latn, wmweather+.

Modified Files:
--------------
    mports/misc:
        Makefile (r1.52 -> r1.53)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/misc/Makefile,v
retrieving revision 1.52
retrieving revision 1.53
diff -L misc/Makefile -L misc/Makefile -u -r1.52 -r1.53
--- misc/Makefile
+++ misc/Makefile
@@ -4,6 +4,7 @@
     COMMENT = Miscellaneous utilities
 
     SUBDIR += brs
+    SUBDIR += chmlib
     SUBDIR += compat4x
     SUBDIR += compat5x
     SUBDIR += cpuid

From smultron at midnightbsd.org  Fri Jan  2 21:23:35 2009
From: smultron at midnightbsd.org (smultron at midnightbsd.org)
Date: Fri, 2 Jan 2009 21:23:35 -0500 (EST)
Subject: [Midnightbsd-cvs] www: /www: add xfce to featured
Message-ID: <200901030223.n032NZhl011884@stargazer.midnightbsd.org>

Log Message:
-----------
add xfce to featured

Modified Files:
--------------
    www:
        index.html (r1.62 -> r1.63)
    www/images/ports:
        001.png (r1.1 -> r1.2)
    www/featured:
        index.html (r1.6 -> r1.7)

-------------- next part --------------
Index: index.html
===================================================================
RCS file: /home/cvs/www/index.html,v
retrieving revision 1.62
retrieving revision 1.63
diff -L index.html -L index.html -u -r1.62 -r1.63
--- index.html
+++ index.html
@@ -49,6 +49,7 @@
 				
 				
Index: index.html =================================================================== RCS file: /home/cvs/www/featured/index.html,v retrieving revision 1.6 retrieving revision 1.7 diff -L featured/index.html -L featured/index.html -u -r1.6 -r1.7 --- featured/index.html +++ featured/index.html @@ -29,6 +29,13 @@

Featured Ports

+ -

Software descriptions taken from their respective Wikipedia articles


From ctriv at midnightbsd.org Fri Jan 2 21:40:53 2009 From: ctriv at midnightbsd.org (ctriv at midnightbsd.org) Date: Fri, 2 Jan 2009 21:40:53 -0500 (EST) Subject: [Midnightbsd-cvs] mports: graphics/djvulibre-nox11: Added djvulibre-nox11-3.5.21 Message-ID: <200901030240.n032erHg013723@stargazer.midnightbsd.org> Log Message: ----------- Added djvulibre-nox11-3.5.21 Added Files: ----------- mports/graphics/djvulibre-nox11: Makefile (r1.1) distinfo (r1.1) pkg-descr (r1.1) pkg-plist (r1.1) mports/graphics/djvulibre-nox11/files: patch-config_ltmain.sh (r1.1) patch-configure (r1.1) patch-desktopfiles_Makefile.in (r1.1) patch-tools_any2djvu (r1.1) -------------- next part -------------- --- /dev/null +++ graphics/djvulibre-nox11/pkg-descr @@ -0,0 +1,14 @@ +DjVu is a web-centric format and software platform for distributing +documents and images. DjVu was originally developped at AT&T +Labs-Research. In March 2000, AT&T sold DjVu to LizardTech Inc. who +now distributes Windows/Mac plug-ins, and commercial encoders (mostly +on Windows) + +The LizardTech released the reference implementation of DjVu under +the GNU GPL in October 2000. DjVuLibre (which means free DjVu), is +an enhanced version of that code maintained by the original inventors +of DjVu. It is compatible with version 3.5 of the LizardTech DjVu +software suite. + +Author: Leon Bottou +WWW: http://djvu.sourceforge.net/ --- /dev/null +++ graphics/djvulibre-nox11/pkg-plist @@ -0,0 +1,62 @@ +%%ANY2DJVU%%bin/any2djvu +bin/bzz +bin/c44 +bin/cjb2 +bin/cpaldjvu +bin/csepdjvu +bin/ddjvu +bin/djvm +bin/djvmcvt +bin/djvudigital +bin/djvudump +bin/djvuextract +bin/djvumake +bin/djvups +bin/djvused +bin/djvuserve +bin/djvutoxml +bin/djvutxt +bin/djvuxmlparser +include/libdjvu/ddjvuapi.h +include/libdjvu/miniexp.h +lib/libdjvulibre.so +lib/libdjvulibre.so.21 +libdata/pkgconfig/ddjvuapi.pc +share/djvu/osi/cs/messages.xml +share/djvu/osi/de/libdjvu++.xml +share/djvu/osi/de/messages.xml +share/djvu/osi/desktop/djvulibre-mime.xml +share/djvu/osi/desktop/hi22-djvu.png +share/djvu/osi/desktop/hi32-djvu.png +share/djvu/osi/desktop/hi48-djvu.png +share/djvu/osi/desktop/register-djvu-mime +share/djvu/osi/en/djvutools-reference.xml +share/djvu/osi/en/libdjvu++.xml +share/djvu/osi/en/messages.xml +share/djvu/osi/en/unixgui-shared.xml +share/djvu/osi/en/unixgui-viewer.xml +share/djvu/osi/fr/libdjvu++.xml +share/djvu/osi/fr/messages.xml +share/djvu/osi/ja/libdjvu++.xml +share/djvu/osi/ja/messages.xml +share/djvu/osi/languages.xml +share/djvu/osi/zh/libdjvu++.xml +share/djvu/osi/zh/messages.xml +share/djvu/pubtext/DjVuMessages.dtd +share/djvu/pubtext/DjVuOCR.dtd +share/djvu/pubtext/DjVuXML-s.dtd + at dirrm share/djvu/pubtext + at dirrm share/djvu/osi/zh + at dirrm share/djvu/osi/ja + at dirrm share/djvu/osi/fr + at dirrm share/djvu/osi/en + at dirrm share/djvu/osi/desktop + at dirrm share/djvu/osi/de + at dirrm share/djvu/osi/cs + at dirrm share/djvu/osi + at dirrmtry share/djvu + at dirrmtry man/fr/man1 + at dirrmtry man/fr + at dirrmtry man/de/man1 + at dirrmtry man/de + at dirrm include/libdjvu --- /dev/null +++ graphics/djvulibre-nox11/Makefile @@ -0,0 +1,82 @@ +# Date Created: 20 July 1999 +# +# $MidnightBSD: mports/graphics/djvulibre-nox11/Makefile,v 1.1 2009/01/03 02:40:50 ctriv Exp $ +# + +PORTNAME= djvulibre +PORTVERSION= 3.5.21 +PORTREVISION= 0 +CATEGORIES= graphics www +MASTER_SITES= SF/djvu +PKGNAMESUFFIX= -nox11 + +MAINTAINER= ports at MidnightBSD.org +COMMENT= DjVu base libraries and utilities +LICENSE= gpl2 + +LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \ + tiff.4:${PORTSDIR}/graphics/tiff + +USE_ICONV= yes +USE_GNOME= gnomehack gnometarget +GNU_CONFIGURE= yes +CONFIGURE_ENV= JPEG_CFLAGS="-I${LOCALBASE}/include" \ + JPEG_LIBS="-L${LOCALBASE}/lib -ljpeg" \ + TIFF_CFLAGS="-I${LOCALBASE}/include" \ + TIFF_LIBS="-L${LOCALBASE}/lib -ltiff" \ + PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ + PTHREAD_LIBS="${PTHREAD_LIBS}" \ + LOCALBASE="${LOCALBASE}" \ + CXX="${CXX}" +CONFIGURE_ARGS= --enable-threads=pthread --enable-shared +USE_LDCONFIG= yes + +OPTIONS= ANY2DJVU "Install any2djvu script (requires curl)" off + +MANLANG= "" ja +MAN1= bzz.1 c44.1 cjb2.1 cpaldjvu.1 csepdjvu.1 ddjvu.1 djvm.1 \ + djvmcvt.1 djvu.1 djvudump.1 djvuextract.1 djvumake.1 djvups.1 \ + djvused.1 djvuserve.1 djvutxt.1 +MAN1_EN= djvutoxml.1 djvuxml.1 djvuxmlparser.1 djvudigital.1 + +PORTDOCS= djvu2spec.djvu lizard2002.djvu + +CONFIGURE_ARGS+= --disable-djview --without-x + +.include + +.if defined(WITH_ANY2DJVU) +MAN1_EN+= any2djvu.1 +RUN_DEPENDS+= curl:${PORTSDIR}/ftp/curl +PLIST_SUB+= ANY2DJVU="" +.else +PLIST_SUB+= ANY2DJVU="@comment " +.endif + +post-patch: + @${REINPLACE_CMD} -e \ + 's|$${libdir}/pkgconfig|${PREFIX}/libdata/pkgconfig|' \ + ${WRKSRC}/libdjvu/Makefile.in + @${REINPLACE_CMD} -e '/-O\*/d ; \ + s|$$OPTS -O3|$$OPTS|g ; \ + s|$$OPTS -O2|$$OPTS|g ; \ + s|$$OPTS $$opt|$$OPTS|g' ${WRKSRC}/configure + @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ + 's|= @CPPFLAGS|= $${FLAGS} @CPPFLAGS|g ; \ + s|@ $${FLAGS}|@|g ; \ + s|} $${FLAGS}|}|g ; \ + s|/netscape/|/djvulibre/|g ; \ + s|eucjp|eucJP|g ; \ + s|_PROGRAM} -m|} -m|g' +.if !defined(WITH_ANY2DJVU) + @${REINPLACE_CMD} -e 's,any2djvu,,' ${WRKSRC}/tools/Makefile.in +.endif + + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/doc/,} ${DOCSDIR}/ +.endif + +.include --- /dev/null +++ graphics/djvulibre-nox11/distinfo @@ -0,0 +1,3 @@ +MD5 (djvulibre-3.5.21.tar.gz) = 4c6f3eb03ffbd067b6d2fe2344b0d9ad +SHA256 (djvulibre-3.5.21.tar.gz) = 39f80c1810be22c5ea7f6a44bbb449c3e29902895dcff9da6a8440891a67b8b4 +SIZE (djvulibre-3.5.21.tar.gz) = 2993718 --- /dev/null +++ graphics/djvulibre-nox11/files/patch-tools_any2djvu @@ -0,0 +1,95 @@ +--- tools/any2djvu.orig 2008-02-17 20:18:08.000000000 +0300 ++++ tools/any2djvu 2008-02-17 20:20:31.000000000 +0300 +@@ -1,11 +1,11 @@ +-#! /bin/bash -f ++#!/bin/sh + # CVS version control block - do not edit manually + # $RCSfile: any2djvu,v $ + # $Revision: 1.3 $ + # $Date: 2007/08/10 08:08:55 $ + # $Source: /cvsroot/djvu/djvulibre-3.5/tools/any2djvu,v $ + +-function copyright() ++copyright() + { + echo "Copyright (C) 2002 David Kreil " + echo "Modified by Barak A. Pearlmutter " +@@ -14,7 +14,7 @@ + echo "Released under the GNU GPL v2, 21-Oct-2002." + } + +-function warranty() ++warranty() + { + echo "This program is distributed in the hope that it will be useful," + echo "but WITHOUT ANY WARRANTY; without even the implied warranty of" +@@ -22,7 +22,7 @@ + echo "GNU General Public License for more details." + } + +-function disclaimer() ++disclaimer() + { + echo "By using this tool you accept the following disclaimer:" + echo " Because the any2djvu service is free of charge, there is no" +@@ -40,7 +40,7 @@ + ocr=1 + docformat=2 + +-function warn() ++warn() + { + echo "Notes:" + echo " - Internet connection is required." +@@ -53,7 +53,7 @@ + echo " - This software comes with NO WARRANTY." + } + +-function format_help() ++format_help() + { + echo "Codes for the formats of the input documents to use with -f" + echo " 1 - DjVu Document (for verification or OCR)" +@@ -67,7 +67,7 @@ + echo " 9 - Scanned Document - Color/Mixed - >400 dpi" + } + +-function usage() ++usage() + { + echo "Convert files from .ps/.ps.gz/.pdf to .djvu" + echo "Usage: $0 [options] [url] {filename(s)}" +@@ -123,13 +123,13 @@ + fi + + # check OCR option +-if [ ! "x$ocr" == x0 ] && [ ! "x$ocr" == x1 ]; then ++if [ ! "x$ocr" = x0 ] && [ ! "x$ocr" = x1 ]; then + echo 'error: -o OCR must be 0 or 1' + exit 2 + fi + + # if help is requested or docformat is not specified right - show help +-if [ "x$docformat" == x'help' ]; then ++if [ "x$docformat" = x'help' ]; then + format_help + exit 0 + fi +@@ -215,7 +215,7 @@ + -F ocr=$ocr -F legal=1 "$rurl/$rcgi" \ + | eval tee "'$log'" $shellopts + else +- wget $wgetopts -O - "$rurl/$rcgi?urlupload=$lurl/$in$cgiopts" \ ++ /usr/bin/fetch$wgetopts -o - "$rurl/$rcgi?urlupload=$lurl/$in$cgiopts" \ + | eval tee "'$log'" $shellopts + fi + l=`egrep 'href=djvu/.*\.djvu' "$log"` +@@ -225,7 +225,7 @@ + echo "error: something got wrong. check log file" + exit 1 + fi +- wget $wgetopts -O "$b.djvu" "$rurl/$l" ++ /usr/bin/fetch $wgetopts -o $b.djvu "$rurl/$l" + + [ -z "$doclean" ] || rm "$log" + [ -z $silent ] && ls -l "$b.djvu" --- /dev/null +++ graphics/djvulibre-nox11/files/patch-desktopfiles_Makefile.in @@ -0,0 +1,28 @@ +--- desktopfiles/Makefile.in.orig 2007-09-10 20:23:30.000000000 +0400 ++++ desktopfiles/Makefile.in 2007-09-10 20:55:26.000000000 +0400 +@@ -29,6 +29,7 @@ + + INSTALL = @INSTALL@ + INSTALL_PROGRAM = @INSTALL_PROGRAM@ ++INSTALL_SCRIPT = @INSTALL_SCRIPT@ + INSTALL_DATA = @INSTALL_DATA@ + XDG_MIME = @XDG_MIME@ + XDG_ICON_RESOURCE = @XDG_ICON_RESOURCE@ +@@ -71,7 +72,7 @@ + + install-djvu-files: FORCE + ${INSTALL} -d ${DESTDIR}${datadir_djvu} +- ${INSTALL_PROGRAM} register-djvu-mime ${DESTDIR}${datadir_djvu} ++ ${INSTALL_SCRIPT} register-djvu-mime ${DESTDIR}${datadir_djvu} + ${INSTALL_DATA} ${srcdir}/*djvu.png ${DESTDIR}${datadir_djvu} + ${INSTALL_DATA} ${srcdir}/*mime.xml ${DESTDIR}${datadir_djvu} + - at echo "Run ${datadir_djvu}/register-djvu-mime install" +@@ -79,7 +80,7 @@ + + install-djview-files: FORCE + ${INSTALL} -d ${DESTDIR}${datadir_djview} +- ${INSTALL_PROGRAM} register-djview-menu ${DESTDIR}${datadir_djview} ++ ${INSTALL_SCRIPT} register-djview-menu ${DESTDIR}${datadir_djview} + ${INSTALL_DATA} ${srcdir}/*djview3.png ${DESTDIR}${datadir_djview} + ${INSTALL_DATA} ${srcdir}/*djview3.desktop ${DESTDIR}${datadir_djview} + - at echo "Run ${datadir_djview}/register-djview-menu install" --- /dev/null +++ graphics/djvulibre-nox11/files/patch-configure @@ -0,0 +1,10 @@ +--- configure.orig 2008-08-26 14:48:20.000000000 +0400 ++++ configure 2008-08-26 14:48:36.000000000 +0400 +@@ -21689,6 +21689,7 @@ + __sync_lock_test_and_set(&l,1); + __sync_lock_release(&l); + __sync_add_and_fetch(&l,1); ++ __sync_bool_compare_and_swap(&l,&l,1); + return 0; + ; + return 0; --- /dev/null +++ graphics/djvulibre-nox11/files/patch-config_ltmain.sh @@ -0,0 +1,17 @@ +--- config/ltmain.sh.orig 2008-08-26 16:13:33.000000000 +0400 ++++ config/ltmain.sh 2008-08-26 16:14:40.000000000 +0400 +@@ -6002,14 +6002,6 @@ + IFS="$save_ifs" + fi + +- # Install the pseudo-library for information purposes. +- name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` +- instname="$dir/$name"i +- $show "$install_prog $instname $destdir/$name" +- $run eval "$install_prog $instname $destdir/$name" || exit $? +- +- # Maybe install the static library, too. +- test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" + ;; + + *.lo) From ctriv at midnightbsd.org Fri Jan 2 21:42:35 2009 From: ctriv at midnightbsd.org (ctriv at midnightbsd.org) Date: Fri, 2 Jan 2009 21:42:35 -0500 (EST) Subject: [Midnightbsd-cvs] mports: Makefile: add djvulibre-nox11 Message-ID: <200901030242.n032gZZp013837@stargazer.midnightbsd.org> Log Message: ----------- add djvulibre-nox11 Modified Files: -------------- mports/graphics: Makefile (r1.84 -> r1.85) -------------- next part -------------- Index: Makefile =================================================================== RCS file: /home/cvs/mports/graphics/Makefile,v retrieving revision 1.84 retrieving revision 1.85 diff -L graphics/Makefile -L graphics/Makefile -u -r1.84 -r1.85 --- graphics/Makefile +++ graphics/Makefile @@ -11,6 +11,7 @@ SUBDIR += cairo SUBDIR += cairomm SUBDIR += dia + SUBDIR += djvulibre-nox11 SUBDIR += dri SUBDIR += eog SUBDIR += etoile-distributedview From ctriv at midnightbsd.org Fri Jan 2 21:47:18 2009 From: ctriv at midnightbsd.org (ctriv at midnightbsd.org) Date: Fri, 2 Jan 2009 21:47:18 -0500 (EST) Subject: [Midnightbsd-cvs] mports: bsd.mport.mk: Display the various stage messages in bold. Message-ID: <200901030247.n032lIf8014295@stargazer.midnightbsd.org> Log Message: ----------- Display the various stage messages in bold. Modified Files: -------------- mports/Mk: bsd.mport.mk (r1.132 -> r1.133) -------------- next part -------------- Index: bsd.mport.mk =================================================================== RCS file: /home/cvs/mports/Mk/bsd.mport.mk,v retrieving revision 1.132 retrieving revision 1.133 diff -L Mk/bsd.mport.mk -L Mk/bsd.mport.mk -u -r1.132 -r1.133 --- Mk/bsd.mport.mk +++ Mk/bsd.mport.mk @@ -2919,25 +2919,25 @@ .ORDER: ${_INSTALL_DEP} ${_INSTALL_SEQ} extract-message: - @${ECHO_MSG} "===> Extracting for ${PKGNAME}" + @${ECHO_MSG} -e "\033[1m===> Extracting for ${PKGNAME}\033[0m" patch-message: - @${ECHO_MSG} "===> Patching for ${PKGNAME}" + @${ECHO_MSG} -e "\033[1m===> Patching for ${PKGNAME}\033[0m" configure-message: - @${ECHO_MSG} "===> Configuring for ${PKGNAME}" + @${ECHO_MSG} -e "\033[1m===> Configuring for ${PKGNAME}\033[0m" build-message: - @${ECHO_MSG} "===> Building for ${PKGNAME}" + @${ECHO_MSG} -e "\033[1m===> Building for ${PKGNAME}\033[0m" fake-message: - @${ECHO_MSG} "===> Faking install for ${PKGNAME}" + @${ECHO_MSG} -e "\033[1m===> Faking install for ${PKGNAME}\033[0m" install-message: .if !defined(DESTDIR) - @${ECHO_MSG} "===> Installing ${PKGFILE}" + @${ECHO_MSG} -e "\033[1m===> Installing ${PKGFILE}\033[0m" .else - @${ECHO_MSG} "===> Installing ${PKGFILE} into ${DESTDIR}" + @${ECHO_MSG} -e "\033[1m===> Installing ${PKGFILE} into ${DESTDIR}\033[0m" .endif package-message: - @${ECHO_MSG} "===> Building package for ${PKGNAME}" + @${ECHO_MSG} -e "\033[1m===> Building package for ${PKGNAME}\033[0m" done-message: - @${ECHO_MSG} "===> Done." + @${ECHO_MSG} -e "\033[1m===> Done.\033[0m" # Empty pre-* and post-* targets From smultron at midnightbsd.org Fri Jan 2 21:56:10 2009 From: smultron at midnightbsd.org (smultron at midnightbsd.org) Date: Fri, 2 Jan 2009 21:56:10 -0500 (EST) Subject: [Midnightbsd-cvs] www: index.html: corrected description Message-ID: <200901030256.n032uAYs015278@stargazer.midnightbsd.org> Log Message: ----------- corrected description Modified Files: -------------- www/featured: index.html (r1.7 -> r1.8) -------------- next part -------------- Index: index.html =================================================================== RCS file: /home/cvs/www/featured/index.html,v retrieving revision 1.7 retrieving revision 1.8 diff -L featured/index.html -L featured/index.html -u -r1.7 -r1.8 --- featured/index.html +++ featured/index.html @@ -34,7 +34,7 @@ -

is a free software desktop environment for Unix and other Unix-like platforms, such as Linux, Solaris and BSD. It aims to be fast and lightweight, while still being visually appealing and easy to use. It is based on the GTK+ 2 toolkit (as is GNOME). It uses the Xfwm window manager, described below. Its configuration is entirely mouse-driven, and the configuration files are hidden from the casual user.

+

Xfce is a free software desktop environment for Unix and other Unix-like platforms, such as Linux, Solaris and BSD. It aims to be fast and lightweight, while still being visually appealing and easy to use. It is based on the GTK+ 2 toolkit (as is GNOME). It uses the Xfwm window manager, described below. Its configuration is entirely mouse-driven, and the configuration files are hidden from the casual user.