From owner-svn-ports-all@freebsd.org Thu Jul 21 10:00:59 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 684C8B9FF08; Thu, 21 Jul 2016 10:00:59 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 237EE1603; Thu, 21 Jul 2016 10:00:59 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u6LA0wt1089749; Thu, 21 Jul 2016 10:00:58 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u6LA0wMM089746; Thu, 21 Jul 2016 10:00:58 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201607211000.u6LA0wMM089746@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Thu, 21 Jul 2016 10:00:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r418868 - head/misc/zoneinfo X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2016 10:00:59 -0000 Author: mat Date: Thu Jul 21 10:00:57 2016 New Revision: 418868 URL: https://svnweb.freebsd.org/changeset/ports/418868 Log: Update to 2016f. [1] While there, clean things up a bit and really do staging. PR: 211260 [1] Submitted by: devel stasyan com MFH: 2016Q3 With hat: portmgr Sponsored by: Absolight Added: head/misc/zoneinfo/pkg-install (contents, props changed) Deleted: head/misc/zoneinfo/pkg-message Modified: head/misc/zoneinfo/Makefile (contents, props changed) head/misc/zoneinfo/distinfo (contents, props changed) Modified: head/misc/zoneinfo/Makefile ============================================================================== --- head/misc/zoneinfo/Makefile Thu Jul 21 09:00:32 2016 (r418867) +++ head/misc/zoneinfo/Makefile Thu Jul 21 10:00:57 2016 (r418868) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= zoneinfo -DISTVERSION= 2016d +DISTVERSION= 2016f CATEGORIES= misc MASTER_SITES= ftp://ftp.iana.org/tz/releases/ \ ftp://munnari.oz.au/pub/ @@ -11,8 +11,9 @@ DISTNAME= tzdata${DISTVERSION} MAINTAINER= edwin@mavetju.org COMMENT= Updated timezone definitions -WRKSRC= ${WRKDIR} +NO_WRKSUBDIR= yes PREFIX= /usr +NO_ARCH= yes TZFILES= africa antarctica asia australasia etcetera europe \ factory northamerica southamerica systemv @@ -50,14 +51,6 @@ do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/share/zoneinfo ${CP} -R -p ${WRKSRC}/zoneinfo/ ${STAGEDIR}${PREFIX}/share/zoneinfo ${INSTALL_DATA} ${WRKSRC}/zone.tab ${STAGEDIR}${PREFIX}/share/zoneinfo - @if [ -f /var/db/zoneinfo -a -O /var/db/zoneinfo -a \ - -G /var/db/zoneinfo -a \ - -f /usr/share/zoneinfo/$$(cat /var/db/zoneinfo) ]; then \ - tzsetup -r; \ - echo "/etc/localtime is updated."; \ - else \ - ${CAT} ${PKGMESSAGE}; \ - fi test-patches: .for M in ${MISSING} Modified: head/misc/zoneinfo/distinfo ============================================================================== --- head/misc/zoneinfo/distinfo Thu Jul 21 09:00:32 2016 (r418867) +++ head/misc/zoneinfo/distinfo Thu Jul 21 10:00:57 2016 (r418868) @@ -1,2 +1,3 @@ -SHA256 (tzdata2016d.tar.gz) = d9554dfba0efd76053582bd89e8c7036ef12eee14fdd506675b08a5b59f0a1b4 -SIZE (tzdata2016d.tar.gz) = 312481 +TIMESTAMP = 1469094101 +SHA256 (tzdata2016f.tar.gz) = ed8c951008d12f1db55a11e96fc055718c6571233327d9de16a7f8475e2502b0 +SIZE (tzdata2016f.tar.gz) = 313286 Added: head/misc/zoneinfo/pkg-install ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/zoneinfo/pkg-install Thu Jul 21 10:00:57 2016 (r418868) @@ -0,0 +1,14 @@ +#!/bin/sh + +if [ "$2" != "PRE-INSTALL" ]; then + exit 0 +fi + +if [ -f /var/db/zoneinfo -a -O /var/db/zoneinfo -a -G /var/db/zoneinfo ]; then + if [ -f /usr/share/zoneinfo/$(cat /var/db/zoneinfo) ]; then + tzsetup -r + echo "/etc/localtime is updated." + fi +else + echo "Now run tzsetup(8) again to install the right file to /etc/localtime." +fi