On Mon, 2003-01-13 at 14:30, Jared wrote:
[snip]
> I tried something like that before, where I made my root "/" and then
> made myself a tree with usr/sbin/hotwayd and etc/xinetd.d/hotwayd as
> files to be installed. Well, it ended up wiping out my symlink of /etc
> and replacing it with an actual directory, /etc/ with only one file in
> it (xinetd.d) and one file inside that. Luckily, it was unable to wipe
> out /usr because I mistakenly forgot to give it root privileges
> (difference between root and admin wasn't clear at the time). Do you
> think if I had given it root privileges that it would have installed
> *in* /etc and *in* /usr or would it have gone overboard and trashed
> /usr as well?
>
Well-behaved Unix apps are passed their final install location using
./configure --prefix (so you can have, say, ./configure
--prefix=/usr/local or /sw for example) but for installation and/or
packaging the install target is then overriden, so the installation is
done using e.g. 'make install DESTDIR=/tmp/package' . Best way is to
examine the configure and Makefile scripts, and there are tons of RPM
spec and Fink info files you can examine to see how other packagers do
things.
HTH,
--
__ __ _ _ _
| \/ (_) ___| |__ ___| |
| |\/| | |/ __| '_ \ / _ \ |
| | | | | (__| | | | __/ |
|_| |_|_|\___|_| |_|\___|_|
Michel Alexandre Salim
GnuPG Key ID: B58A8357
http://salimma.freeshell.org/files/crypto/publickey.asc
One day this guy is finally fed up with his middle-class existence and
decides to do something about it. He calls up his best friend, who is a
mathematical genius. "Look," he says, "do you suppose you could find some
way mathematically of guaranteeing winning at the race track? We could
make a lot of money and retire and enjoy life." The mathematician thinks
this over a bit and walks away mumbling to himself.
A week later his friend drops by to ask the genius if he's had any
success. The genius, looking a little bleary-eyed, replies, "Well, yes,
actually I do have an idea, and I'm reasonably sure that it will work, but
there a number of details to be figured out.
After the second week the mathematician appears at his friend's house,
looking quite a bit rumpled, and announces, "I think I've got it! I still have
some of the theory to work out, but now I'm certain that I'm on the right
track."
At the end of the third week the mathematician wakes his friend by
pounding on his door at three in the morning. He has dark circles under his
eyes. His hair hasn't been combed for many days. He appears to be wearing
the same clothes as the last time. He has several pencils sticking out from
behind his ears and an almost maniacal expression on his face. "WE CAN DO
IT! WE CAN DO IT!!" he shrieks. "I have discovered the perfect solution!!
And it's so EASY! First, we assume that horses are perfect spheres in simple
harmonic motion..."
-------------------------------------------------------
This SF.NET email is sponsored by: FREE SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel