On Sun, 16 Feb 2003 03:09:46 +0100 [EMAIL PROTECTED] wrote: > > > On the other hand shared libraries are needed (or a port that > > > supports linking bind statically...) > > > > cd /usr/ports/net/bind[89] > > make clean > > make CFLAGS+=-static -DPORT_REPLACES_BASE_BIND8 > > make install > > > > i don't like ports installing to locations of base system binaries, > i.e. /usr/sbin etc., and in the case of bind i don't see a reason > why the port should be installed in place of the base bind only to > get copied over to the chroot. wouldn't it be fine if the bind ports > would support '-DPORT_INSTALL_CHROOT' or something only installing > static binaries directly to the chroot? on the other hand
"Or something": copy the needed files (named, named-xfer) based upon "echo $(dirname ${named_program})|sed -e 's:/sbin::'" > /etc/rc.d/named probably should also support running chrooted with > the base bind which would either require copying the required libs > or a statically linked base bind... > well, i'm looking forward to your improved version. lines=$(($(ldd ${program} | wc -l) - 1)) for lib in $(ldd ${program} | tail -${lines} | sed -e 's:.*=> ::g;s: (.*::g'); do cp $lib .... done I also think we should have a look at the output of rcNG in general and decide which style we want to use. At the moment we have the "old" style "Configuring syscons: fontX Y Z foo bar" and also "Starting sshd.", "Starting lpd.", ... and also /usr/local/etc/rc.d with the "old" style start messages. This is inconsistent. Bye, Alexander. -- It's not a bug, it's tradition! http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message