[Opendnssec-develop] Re: [OpenDNSSEC] #83: --version prints OPENDNSSEC_VERSION

OpenDNSSEC owner-dnssec-trac at kirei.se
Mon Feb 1 10:57:12 UTC 2010


#83: --version prints OPENDNSSEC_VERSION
------------------------------------------+---------------------------------
Reporter:  Ondřej Surý <ondrej@…>         |       Owner:  alex   
    Type:  defect                         |      Status:  new    
Priority:  minor                          |   Component:  Auditor
 Version:  trunk                          |    Keywords:         
------------------------------------------+---------------------------------

Comment(by Ondřej Surý <ondrej@…>):

 Hi,

 problem is when you package each component separately then ../version.m4
 doesn't exists.  I have solved this with following patch in every split-
 out package, but it would be better if make dist could do: `for dir in
 auditor conf enforcer libhsm signer; cp version.m4 ${dir}; done'

 {{{
 ondrej at howl:~/Projects/pkg-opendnssec/opendnssec-conf/debian/patches$ cat
 001_version_m4.patch
 --- a/configure.ac
 +++ b/configure.ac
 @@ -1,6 +1,6 @@
  # $Id: configure.ac 1971 2009-10-01 06:37:51Z jakob $

 -m4_sinclude([../version.m4])
 +m4_sinclude([version.m4])

  AC_PREREQ(2.61)
  AC_INIT([opendnssec-conf], OPENDNSSEC_VERSION)
 --- /dev/null
 +++ b/version.m4
 @@ -0,0 +1,5 @@
 +# $Id: version.m4 2710 2010-01-25 20:10:09Z jakob $
 +#
 +# this file contains the current OpenDNSSEC version
 +
 +define([OPENDNSSEC_VERSION], [1.0.0rc3])
 }}}

 But consider this as a wishlist, I could easily cope with this when
 creating split-out tarballs.

 Ondrej

-- 
Ticket URL: <http://trac.opendnssec.org/ticket/83#comment:5>
OpenDNSSEC <http://www.opendnssec.org/>
OpenDNSSEC


More information about the Opendnssec-develop mailing list