From owner-freebsd-questions@freebsd.org Wed Oct 28 18:57:36 2015 Return-Path: Delivered-To: freebsd-questions@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 C79C4A20038 for ; Wed, 28 Oct 2015 18:57:36 +0000 (UTC) (envelope-from talktheharsh@gmail.com) Received: from mail-ob0-x22e.google.com (mail-ob0-x22e.google.com [IPv6:2607:f8b0:4003:c01::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9AA3C1775 for ; Wed, 28 Oct 2015 18:57:36 +0000 (UTC) (envelope-from talktheharsh@gmail.com) Received: by obbwb3 with SMTP id wb3so14728405obb.0 for ; Wed, 28 Oct 2015 11:57:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Ae1CS/BBUD/+lhZ2JPKfHqvyFbzkQ174Glvff9Urh9A=; b=IC75Xmh2gPbDtq+hjiHWtaeJFNnLW0pjlh4c6FZQ1lGjqz45fbakY+P7W7wOukVC1y 7Uhvut9Qj9C5HnpVCh8YmAKRj8Z/XKFnGWse4OMvRb43HpaP70C6NNckQuD4rlO9eLbE 8BMG+t+WnCLLyMX2odJHp2g56KFou1Jn3pPJv6556nB9VdHmVc8JIpyQlArdfWR2qGQN hAOlXD1Pmjy5yQy602jatZhaPcr0z9W8M6Lz/Wr/Mxdkp6xV8lbM2U2jvkYQbBPxU43x hZN8PnMUDW2+SWiVZ3SpZCN9yRy2LKS2JFvynAOzWgTVs+EHSmFOljnyBS4k2kA5B/Hj 6HbA== MIME-Version: 1.0 X-Received: by 10.182.33.67 with SMTP id p3mr32835135obi.11.1446058655884; Wed, 28 Oct 2015 11:57:35 -0700 (PDT) Received: by 10.202.173.211 with HTTP; Wed, 28 Oct 2015 11:57:35 -0700 (PDT) Date: Thu, 29 Oct 2015 00:27:35 +0530 Message-ID: Subject: creating compiled TZ database from a posix timezone expression From: Harsh Arya To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Oct 2015 18:57:36 -0000 Hi Freebsd-hackers I want to create a compiled TZ database file from a posix expression. Is there any unix utility which can create the TZ database out of the posix expression? I do check the zic command but I was not able to find a way to provide posix expression rules as input to the zic. Is there any way to use posix expression with zic? eg. EST5EDT,M10.3.0,M2.3.0 I need the compiled database as I want timezone to be persistent across all the sessions so that /etc/localtime can be linked to the compiled database. Directly setting TZ variable to posix expression will not help as it will not be persistent over session as well after reboot. Regards Harsh Arya