{
CONFIGURE_OPTS="\
${CONFIGURE_OPTS} \
+ --libexecdir=/usr/lib \
--enable-no-install-program=kill,uptime"
}
mv -v /usr/bin/{false,ln,ls,mkdir,mknod,mv,pwd,rm} /bin
# Now specify new path to mv to eliminate error message:
- # "/usr/bin/mv: No such file or directory"
+ # "/usr/bin/mv: No such file or directory"
/bin/mv -v /usr/bin/{rmdir,stty,sync,true,uname} /bin
/bin/mv -v /usr/bin/chroot /usr/sbin
CFLAGS="${CFLAGS} -DSQLITE_SECURE_DELETE -DSQLITE_ENABLE_UNLOCK_NOTIFY=1" \
ipkg ${SQLITE} "--enable-threadsafe --enable-readline --enable-dynamic-extensions"
ipkg -j ${SUBVERSION} "--without-berkeley-db"
-ipkg ${SUDO}
+ipkg ${SUDO} "--libexecdir=/usr/lib/sudo \
+ --with-all-insults \
+ --with-env-editor \
+ --without-pam \
+ --without-sendmail"
ipkg ${STRACE}
ipkg ${PCRE} "--docdir=/usr/share/doc/pcre \
--enable-utf8 \
ipkg -m noac ${ZIP}
ipkg -m noac ${UNZIP}
ipkg -m noac ${UNRAR}
-ipkg ${CPIO}
+ipkg ${CPIO} "\
+ --bindir=/bin \
+ --libexecdir=/tmp \
+ --enable-mt \
+ --with-rmt=/usr/sbin/rmt"
ipkg ${SCREEN}
ipkg ${INTLTOOL}
-ipkg -m acnb ${GIT}
+ipkg -m acnb ${GIT} "--libexecdir=/usr/lib --with-gitconfig=/etc/gitconfig"
# DocBook
ipkg -m acnb ${SGML_COMMON}
fpkg -m hv ${SGML_SPM}
fpkg -m sf -s "docbook" ${DOCBOOK_DSSSL}
fpkg -e "tar.gz" ${DOCBOOK_UTILS} \
- "http://sources.redhat.com/pub/docbook-tools/new-trials/SOURCES"
-## "ftp://sources.redhat.com/pub/docbook-tools/new-trials/SOURCES"
+ "ftp://sources.redhat.com/pub/docbook-tools/new-trials/SOURCES"
fpkg -e "tar.gz" ${LIBXML2} "http://xmlsoft.org/sources"
fpkg -e "tar.gz" ${LIBXSLT} "http://xmlsoft.org/sources"
fpkg -m hv ${DOCBOOK_XML}
#!/bin/bash
+hvconfig_pre()
+{
+ sed -i -e '/gets is a/d' ${LFS_TMP}/${PACKAGE}/gnu/stdio.in.h
+}
+
hvbuild_post()
{
install -v -m755 ${SCRDIR}/misc/rpm2cpio /usr/bin
hvbuild_post()
{
+ for lib in gssapi_krb5 gssrpc k5crypto kadm5clnt_mit kadm5srv_mit kdb5 \
+ krb5 krb5support verto-k5ev verto ; do
+ chmod -v 755 /usr/lib/lib${lib}.so.*.*
+ done
+
mv -v /usr/bin/ksu /bin
chmod -v 755 /bin/ksu
ln -svfT ../../lib/libkrb5.so.3.3 /usr/lib/libkrb5.so
ln -svfT ../../lib/libk5crypto.so.3.1 /usr/lib/libk5crypto.so
ln -svfT ../../lib/libkrb5support.so.0.1 /usr/lib/libkrb5support.so
-
- # Temporairement desactive car login krb5 ne marche pas.
- #if [ ! -f /bin/login.shadow ]; then
- # mv -v /bin/login /bin/login.shadow
- #fi
- #install -v -m755 /usr/sbin/login.krb5 /bin/login
-
-######## mv -v /usr/lib/libdes425.so.3* /lib
-######## mv -v /usr/lib/libkrb4.so.2* /lib
-
-######## ln -svfT ../../lib/libdes425.so.3.0 /usr/lib/libdes425.so
-######## ln -svfT ../../lib/libkrb4.so.2.0 /usr/lib/libkrb4.so
-
- cat > /etc/krb5.conf << EOF
-[libdefaults]
- default_realm = <LFS.ORG>
- encrypt = true
-
-[realms]
- <LFS.ORG> = {
- kdc = <belgarath.lfs.org>
- admin_server = <belgarath.lfs.org>
- }
-
-[domain_realm]
- .<lfs.org> = <LFS.ORG>
-
-[logging]
- kdc = SYSLOG[:INFO[:AUTH]]
- admin_server = SYSLOG[INFO[:AUTH]]
- default = SYSLOG[[:SYS]]
-EOF
}