[Pkg-firebird-general] Issues firebird 1.5.2

Remco Seesink raseesink@hotpop.com
Sun, 13 Mar 2005 17:54:53 +0100


--Signature=_Sun__13_Mar_2005_17_54_53_+0100_ykcUk7NzC/ojsuYN
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Hi,

I checked it out. Sorry for being so slow, but my new job and travel
time leaves me only 3 hours of free time a day, and compiling firebird
takes 5 hours on my computer. I need to buy a new one I guess.

I ran into trouble unpacking it:

$ dpkg-source -x
firebird2_1.5.2-0mentors2.dsc  dpkg-source: error: file
firebird2_1.5.2.orig.tar.gz has size 7416659 instead of expected 7414728

Which is because you now have a different .ori.tar.gz than on mentors.
You probably fixed the md5sum problem I spotted last time, but it is not
possible to upload an new ori.tar.gz so for mentors you may want to keep
the first one and use the new version for the real upload version.

After fixing the .dsc file manually I ran into this:
file firebird2_1.5.2-0mentors2.diff.gz 
firebird2_1.5.2-0mentors2.diff.gz: ASCII C program text

The diff file somehow became unzipped. You should pack your source with
dpkg-source -b <directory> or by using what debuild generates or other
means.

I got it compiling eventually. It seems to work overall though.

If we comment out AskUserForNewDBApassword in
firebird2-classic-server.postinst and firebird2-super-server.postinst
and describe what to do in the documentation would that let anything
explode?

It is descibred here that we shouldn't ask question "by hand" but ony
trough debconf.
http://www.debian.org/doc/debian-policy/ch-binary.html#s-maintscriptprompt

If we don't want to remove the password question we could use this in
stead of AskQuestion to prevent echoing the password to the terminal:

AskPassword() {
    Test=$1
    DefaultAns=$2
    echo -n "${1}"
    Answer="$DefaultAns"
    stty ?echo          # turn off terminal echo to prevent peeping!
    read Answer
    stty echo           # restore terminal echo
    echo                # printout a new line to make output nice
}

Good work!
Cheers, Remco.

On Sat, 05 Mar 2005 17:04:53 +0200
Damyan Ivanov <divanov@creditreform.bg> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Remco, all,
> 
> I've just uploaded my second attempt of firebird 1.5.2 packaging.
> 
> http://mentors.debian.net/debian/pool/main/f/firebird2/
> 
> see -0mentors2.diff.gz
> 
> Changelog:
> firebird2 (1.5.2-0mentors2) unstable; urgency=low
> 
> ~  * New upstream release
> ~  * debian/make_packages.sh
> ~    - put some comments regarding libgds.so.0 links
> ~    - Cleaned libfbclient and libfbembed links (see Policy, 8.1):
> ~      + *.so.1 -> *.so.1.5.2 links in lib* packages
> ~      + *.so -> *.so.1.5.2 links in -dev package
> ~  * 1.5.2 replaced with $FB_VERSION (currently defined equal to
> "1.5.2", but
> ~    will ease packaging of future versions
> ~  * debian/rules
> ~    - clean:
> ~      + remove object and other generated files in
> src/extern/editline ~      + call sh clean.sh for cleaning additional
> generated files ~      + remove src/dsql/dsql.tab.h which is generated
> too ~  * added debian/source.lintian-overrides, containing
> ~    - maintainer-script-lacks-debhelper-token
> ~      debian/firebird2-super-server.postinst
> ~      This is normal, super.postinst explicitly does what #DEBHELPER#
> does
> 
> The diff is basically the same as the 1.5.1's, only updated to apply
> cleanly, plus the above changes in debian/
> 
> Please accept my apologies for the late update. Building firebird
> takes about 35 minutes on 2GHz :-/ and I had a little spare time
> lately.
> 
> TODO:
> debconf voodoo for changing SYSDBA password.
> change SYSDBA password only on first install, not on every upgrade
> 
> These can wait for -2, since 1.5.1 has the same problems already.
> 
> 
> I'd very much appreciate any comments.
> 
> I am taking my ski-vacation these days, so if I do not respond
> promptly, this is because I am on the ski-track :-)
> 
> 
> Kind regards,
> dam
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.5 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
> 
> iD8DBQFCKcqVNBiEfikF4hoRAm/VAJ4n+QoENLAbX92FwRzBKsRsBjmWDgCgzPYx
> Ujz6qDxS1amQHrmiaIcXdUQ=
> =JdKq
> -----END PGP SIGNATURE-----
> 
> _______________________________________________
> Pkg-firebird-general mailing list
> Pkg-firebird-general@lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-firebird-general

--Signature=_Sun__13_Mar_2005_17_54_53_+0100_ykcUk7NzC/ojsuYN
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFCNHBhVYMI95VPXscRAjZtAKCAa3ZH9sFpnvcoy3SA/ESMLaOrnQCeKmVX
9hK5HAW7YxQNoz+U+hJOXG4=
=NVNR
-----END PGP SIGNATURE-----

--Signature=_Sun__13_Mar_2005_17_54_53_+0100_ykcUk7NzC/ojsuYN--