On Tue, 16 Sep 1997, Christoph Lameter wrote:
> : I must say I like debmake for small packaging up small and easy packages.
>
> : However, I ran into big problems with using debstd in the large and
> : complicated mysql package. (For example, debstd inserts commands in the
> : postinst script which can not be turned of easily.)
>
> I wish I would have gotten a bug report about this. I am not aware of debstd
> inserting commands when not told to. You trigger command insertion by creating
> the proper files in the debian directory as documented by the debstd manpage.
As it was not really a bug, I didn't report a bug report--but you're
right, I probably should have done this either way.
If I recall right, the problem was that debstd inserted calls to
"update-rc.d" and "/etc/init.d/foo start" to the postinst script
automatically, which I wasn't aware of in the first place and couldn't
turn it off after I realized this. (So it would be nice if there was an
option to debstd to tell it not to touch the maintainer scripts--just
install them, chmod them, etc.)
But please don't get me wrong; as I said debmake is really a great tool
for easy packages. However, I spent much time with the mysql package to
get it compile and have everything working to get the packages right.
Since I really set up the debian/* files with care I can't afford using
debstd since I don't know what it's doing _exactly_. And since it's not
actually doing too much (debstd was replaced with a few additional lines
to debian/rules without much troubles) I think it's better to do these
things "by hand" in larger and more complicated packages.
Do you see an easy way to write such a debstd replacement which just
prints the commands to stdout? I had a short look at debstd but I don't
see an easy solution right now.
Thanks,
Chris
-- Christian Schwarz
[EMAIL PROTECTED], [EMAIL PROTECTED],
Debian is looking [EMAIL PROTECTED], [EMAIL PROTECTED]
for a logo! Have a
look at our drafts PGP-fp: 8F 61 EB 6D CF 23 CA D7 34 05 14 5C C8 DC 22 BA
at http://fatman.mathematik.tu-muenchen.de/~schwarz/debian-logo/