[prev in list] [next in list] [prev in thread] [next in thread]
List: ltsp-developer
Subject: [Ltsp-developer] Packaging Contribs, was Re: [Ltsp-discuss] a vnc over ssh package
From: Georg Baum <Georg.Baum () post ! rwth-aachen ! de>
Date: 2001-09-09 18:05:39
[Download RAW message or body]
Am Freitag, 7. September 2001 20:13 schrieb Dumas Patrice:
> Hi,
> I have just made a package for ltsp which permits for a workstation to
> use vnc over ssh. I didn't reinstall the s commands and so on, you can
> use the ssh package I did.
> (however, in the package with ssh I sent to some of you, ssh_agent
> segfault, and thus is not suitable...)
Oh, I had did not come so far, had to stop playing with it.
Some notes for packaging (also useful for other contributors):
It is great that you used Jims packages as a template. However, the sort of
rpm that he uses does circumvent some advantages of rpm over tgz packages,
because it is only a wrapper around the tgz. Please take the time and make
a "real" rpm. It is easy (at least with small packages like yours), a good
guide is "Maximum rpm" at http://www.rpmdp.org/rpmbook/.
Another issue are modifications of rc.local. Please try to minimize them as
far as possible by writing all stuff in an extra script and then execute
that from rc.local. Also check in the install script if your modifications
were already applied, for example like this for the ssh package:
if ! grep "SSH_CHAR" /tftpboot/lts/ltsroot/etc/rc.local > /dev/null 2>&1;
then
patch -p0 < rc.local.diff
fi
Doing it like this makes upgrading of the package easy (both for the user
and for the maintainer).
root test in install.sh: Please do not use
if [ "${LOGNAME}" != "root" ]; then
as it was in older LTSP releases (and unfortunately some add-ons) but
if [ `id -u` != "0" ]; then
The latter works also if you became root by using the su program or
similar.
> I still have no place to put it but can send it in mail. It annoys me a
> little to have nowhere to post it, because of things I fix. Does someone
> know how to have a ftp or web site, and no ISP (and no possibility to use
> the site of my organization) ?
There is the contrib section at ltsp.org, ask Jim wether he wants to put
your packages there. The disadvantage is that you need to bother Jim for
each update. On the other hand there is webspace available at no cost from
many vendors (e. g. yahoo, gmx), often in combination with an email
address.
Georg
_____________________________________________________________________
Ltsp-developer mailing list. To un-subscribe, or change prefs, goto:
https://lists.sourceforge.net/lists/listinfo/ltsp-developer
For additional LTSP help, try #ltsp channel on irc.openprojects.net
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic