[Bug 476832] Review Request: mydns - serve DNS records directly from an SQL database

bugzilla at redhat.com bugzilla at redhat.com
Wed Dec 17 12:48:38 UTC 2008


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=476832


Itamar Reis Peixoto <itamar at ispbrasil.com.br> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mtasaka at ioa.s.u-tokyo.ac.jp
              Alias|                            |mydns




--- Comment #1 from Itamar Reis Peixoto <itamar at ispbrasil.com.br>  2008-12-17 07:48:37 EDT ---
I need some help packaging mydns.

at this moment mydns doesn't have loadable module support, so I need to compile
mydns 2 times, one for mysql and another for postgresql support, something like
this.

mysql:
%configure --without-pgsql --with-mysql --with-mysql-lib=%{_libdir}/mysql
--with-mysql-include=%{_includedir}/mysql --with-zlib=%{_libdir}

postgresql:
%configure --with-pgsql --without-mysql --with-pgsql-lib=%{_libdir}
--with-pgsql-include=%{_includedir} --with-zlib=%{_libdir}

I like to create one base package and 2 subpackages

mydns
mydns-mysql
mydns-postgresql


but the problem is the name of the files.

/usr/bin/mydns (in mysql subpackage)
/usr/bin/mydns (in postgresql subpackage)


what's the best way to package this ?

renaming files ?

/usr/bin/mydns-mysql (in mysql subpackage)
/usr/bin/mydns-postgresql (in postgresql subpackage)


or there are a way to preserve the mydns name in executable ?

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.




More information about the Fedora-package-review mailing list