Usermanager Section
File created: mylinux-usermanager-0.99/MyLinux-Patches/htdig-default.patch
--- ./htdig.conf.default 2005-02-04 04:36:46.000000000 +0100
+++ ./htdig.conf.default 2005-02-07 22:14:58.000000000 +0100
@@ -25,7 +25,15 @@
# You could also index all the URLs in a file like so:
# start_url: `${common_dir}/start.url`
#
-start_url: http://www.htdig.org/
+start_url: http://www.htdig.org https://www.htdig.org
+local_urls: http://www.htdig.org/=/usr/local/httpd/htdocs/ \
+ https://www.htdig.org/=/usr/local/httpd/htdocs/ \
+ http://www.htdig.org/manual/=/usr/local/httpd/manual/ \
+ https://www.htdig.org/manual/=/usr/local/httpd/manual/ \
+ http://www.htdig.org/share-doc/=/usr/share/doc/ \
+ https://www.htdig.org/share-doc/=/usr/share/doc/ \
+ http://www.htdig.org/local-share-doc/=/usr/local/share/doc/
+ https://www.htdig.org/local-share-doc/=/usr/local/share/doc/
#
# This attribute limits the scope of the indexing process. The default is to
@@ -37,7 +45,7 @@
# patterns. As long as URLs contain at least one of the patterns it will be
# seen as part of the scope of the index.
#
-limit_urls_to: ${start_url}
+limit_urls_to: http://www.htdig.org https://www.htdig.org
#
# This attribute is used for compressing the database. The default is to
File changed: mylinux-usermanager-0.99/compile-scripts/COMPILE-MYLINUX
1698,1700c1698,1699
< FQHOSTNAME=lfs.mylinux.de
< DOMAIN=mylinux.de
< cat /usr/local/httpd/htdig.conf.default | sed -e "s|www.htdig.org/|$FQHOSTNAME|" -e "s|unconfigured@htdig.searchengine.maintainer|root@$DOMAIN|" > /usr/local/httpd/htdig.conf
---
> cd /usr/local/httpd/
> patch -Np1 -i /MyLinux-Patches/htdig-default.patch
File changed: mylinux-usermanager-0.99/compile-scripts/MAIN
285c285
< cp -dp $MYLINUXPACKAGE/{create_compressed_fs,extract_compressed_fs} /usr/local/bin/
---
> cp -dp $MYLINUXPACKAGE/{create_compressed_fs,extract_compressed_fs} $LFS/usr/local/bin/
File changed: mylinux-usermanager-0.99/setup/htdig.sh
26c26
< cat /usr/local/httpd/htdig.conf.default | sed -e "s|start_url\(.*\)http://www.htdig.org/|start_url\1http://$FQHOSTNAME|" -e "s|unconfigured@htdig.searchengine.maintainer|root@$DOMAIN|" -e "s|exclude_urls:\(.*\)|exclude_urls:\1 http://$FQHOSTNAME:631|" > /usr/local/httpd/htdig.conf
---
> cat /usr/local/httpd/htdig.conf.default | sed -e "s|www.htdig.org|$FQHOSTNAME|g" -e "s|unconfigured@htdig.searchengine.maintainer|root@$DOMAIN|" -e "s|exclude_urls:\(.*\)|exclude_urls:\1 http://$FQHOSTNAME:631|" > /usr/local/httpd/htdig.conf