From: Mark W. <ri...@us...> - 2002-01-27 19:17:35
|
Update of /cvsroot/ipcop/ipcop/lfs/ipcop In directory usw-pr-cvs1:/tmp/cvs-serv16082/lfs/ipcop Modified Files: 90-strip compile-dhcp compile-dnsmasq compile-mini_httpd compile-snort compile-squid postsetup-dhcp Added Files: 30-dhcp 31-dhcpcd 32-dnsmasq Removed Files: 30-dnsmasq 31-dhcp 32-dhcpcd Log Message: More updates --- NEW FILE: 30-dhcp --- . /install/scripts/setup2 [ -f /install/ipcop/postsetup-$N ] && . /install/ipcop/postsetup-$N . /install/scripts/installedp . /install/scripts/extract2 . /install/scripts/patch . /install/scripts/clean . /install/ipcop/compile-$N . /install/scripts/remove . /install/scripts/postinstalledp . /install/scripts/failed --- NEW FILE: 31-dhcpcd --- . /install/scripts/setup2 [ -f /install/ipcop/postsetup-$N ] && . /install/ipcop/postsetup-$N . /install/scripts/installedp . /install/scripts/extract2 . /install/scripts/patch . /install/scripts/clean . /install/ipcop/compile-$N . /install/scripts/remove . /install/scripts/postinstalledp . /install/scripts/failed --- NEW FILE: 32-dnsmasq --- . /install/scripts/setup2 [ -f /install/ipcop/postsetup-$N ] && . /install/ipcop/postsetup-$N . /install/scripts/installedp . /install/scripts/extract2 . /install/scripts/patch . /install/scripts/clean . /install/ipcop/compile-$N . /install/scripts/remove . /install/scripts/postinstalledp . /install/scripts/failed Index: 90-strip =================================================================== RCS file: /cvsroot/ipcop/ipcop/lfs/ipcop/90-strip,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** 90-strip 2002/01/24 09:54:20 1.1 --- 90-strip 2002/01/27 19:17:32 1.2 *************** *** 6,7 **** --- 6,10 ---- find $LFS/{,usr,usr/local}/lib -type f \ -exec strip --strip-debug '{}' ';' + + find $LFS/{chroot/httpd,chroot/snort,chroot/squid,chroot/dns-dhcp}/bin -type f \ + -exec strip --strip-all '{}' ';' Index: compile-dhcp =================================================================== RCS file: /cvsroot/ipcop/ipcop/lfs/ipcop/compile-dhcp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** compile-dhcp 2002/01/14 07:42:27 1.2 --- compile-dhcp 2002/01/27 19:17:32 1.3 *************** *** 1,6 **** ! ./configure make DEBUG="-D_PATH_DHCPD_DB=\\\"/var/lib/dhcp/dhcpd.leases\\\" \ -D_PATH_DHCLIENT_DB=\\\"/var/lib/dhcp/dhclient.leases\\\"" && make install && ! mkdir -p /var/lib/dhcp && ! touch /var/lib/dhcp/dhcpd.leases --- 1,26 ---- ! ./configure && make DEBUG="-D_PATH_DHCPD_DB=\\\"/var/lib/dhcp/dhcpd.leases\\\" \ -D_PATH_DHCLIENT_DB=\\\"/var/lib/dhcp/dhclient.leases\\\"" && make install && ! LIBC_VERSION=`ls -l /lib/libc-* | awk '{print $NF}' | sed 's%^.*-\(.*\).so.*%\1%'` && ! mkdir -p /chroot/dns-dhcp/etc /chroot/dns-dhcp/lib /chroot/dns-dhcp/bin && ! mkdir -p /chroot/dns-dhcp/var/lib/dhcp /chroot/dns-dhcp/var/state/dhcp && ! ln /etc/passwd /chroot/dns-dhcp/etc/passwd && ! ln /etc/group /chroot/dns-dhcp/etc/group && ! ln /etc/nsswitch.conf /chroot/dns-dhcp/etc/nsswitch.conf && ! ln /etc/resolv.conf /chroot/dns-dhcp/etc/resolv.conf && ! ln /etc/localtime /chroot/dns-dhcp/etc/localtime && ! ln /lib/libc-${LIBC_VERSION}.so /chroot/dns-dhcp/lib/libc.so.6 && ! ln /lib/libcrypt-${LIBC_VERSION}.so /chroot/dns-dhcp/lib/libcrypt.so.1 && ! ln /lib/libdl-${LIBC_VERSION}.so /chroot/dns-dhcp/lib/libdl.so.2 && ! ln /lib/libm-${LIBC_VERSION}.so /chroot/dns-dhcp/lib/libm.so.6 && ! ln /lib/libnsl-${LIBC_VERSION}.so /chroot/dns-dhcp/lib/libnsl.so.1 && ! ln /lib/libnss_compat-${LIBC_VERSION}.so /chroot/dns-dhcp/lib/libnss_compat.so.2 && ! ln /lib/libnss_dns-${LIBC_VERSION}.so /chroot/dns-dhcp/lib/libnss_dns.so.2 && ! ln /lib/libnss_files-${LIBC_VERSION}.so /chroot/dns-dhcp/lib/libnss_files.so.2 && ! ln /lib/libresolv-${LIBC_VERSION}.so /chroot/dns-dhcp/lib/libresolv.so.2 && ! ln /lib/libutil-${LIBC_VERSION}.so /chroot/dns-dhcp/lib/libutil.so.1 && ! ln /lib/ld-${LIBC_VERSION}.so /chroot/dns-dhcp/lib/ld-linux.so.2 && ! mv /usr/sbin/dhcrelay /chroot/dns-dhcp/bin/ && ! mv /usr/sbin/dhcpd /chroot/dns-dhcp/bin/ && ! touch /chroot/dns-dhcp/var/lib/dhcp/dhcpd.leases Index: compile-dnsmasq =================================================================== RCS file: /cvsroot/ipcop/ipcop/lfs/ipcop/compile-dnsmasq,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** compile-dnsmasq 2002/01/12 11:33:24 1.1 --- compile-dnsmasq 2002/01/27 19:17:32 1.2 *************** *** 5,7 **** mv tmp~ Makefile && make && ! make install --- 5,8 ---- mv tmp~ Makefile && make && ! make install && ! mv /usr/sbin/dnsmasq /chroot/dns-dhcp/bin/ Index: compile-mini_httpd =================================================================== RCS file: /cvsroot/ipcop/ipcop/lfs/ipcop/compile-mini_httpd,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** compile-mini_httpd 2002/01/05 18:56:59 1.1 --- compile-mini_httpd 2002/01/27 19:17:32 1.2 *************** *** 6,8 **** mv tmp~ Makefile && make && ! make install --- 6,29 ---- mv tmp~ Makefile && make && ! make install && ! LIBC_VERSION=`ls -l /lib/libc-* | awk '{print $NF}' | sed 's%^.*-\(.*\).so.*%\1%'` && ! mkdir -p /chroot/httpd/etc /chroot/httpd/lib /chroot/httpd/sbin && ! ln /etc/passwd /chroot/httpd/etc/passwd && ! ln /etc/group /chroot/httpd/etc/group && ! ln /etc/nsswitch.conf /chroot/httpd/etc/nsswitch.conf && ! ln /etc/resolv.conf /chroot/httpd/etc/resolv.conf && ! ln /etc/localtime /chroot/httpd/etc/localtime && ! ln /lib/libc-${LIBC_VERSION}.so /chroot/httpd/lib/libc.so.6 && ! ln /lib/libcrypt-${LIBC_VERSION}.so /chroot/httpd/lib/libcrypt.so.1 && ! ln /lib/libdl-${LIBC_VERSION}.so /chroot/httpd/lib/libdl.so.2 && ! ln /lib/libm-${LIBC_VERSION}.so /chroot/httpd/lib/libm.so.6 && ! ln /lib/libnsl-${LIBC_VERSION}.so /chroot/httpd/lib/libnsl.so.1 && ! ln /lib/libnss_compat-${LIBC_VERSION}.so /chroot/httpd/lib/libnss_compat.so.2 && ! ln /lib/libnss_dns-${LIBC_VERSION}.so /chroot/httpd/lib/libnss_dns.so.2 && ! ln /lib/libnss_files-${LIBC_VERSION}.so /chroot/httpd/lib/libnss_files.so.2 && ! ln /lib/libresolv-${LIBC_VERSION}.so /chroot/snort/lib/libresolv.so.2 && ! ln /lib/libutil-${LIBC_VERSION}.so /chroot/httpd/lib/libutil.so.1 && ! ln /lib/ld-${LIBC_VERSION}.so /chroot/httpd/lib/ld-linux.so.2 && ! ln /usr/lib/libssl.so.0.9.6 /chroot/httpd/lib/libssl.so.0.9.6 && ! ln /usr/lib/libcrypto.so.0.9.6 /chroot/httpd/lib/libcrypto.so.0.9.6 && ! ln /usr/sbin/mini_httpd /chroot/httpd/sbin/mini_httpd Index: compile-snort =================================================================== RCS file: /cvsroot/ipcop/ipcop/lfs/ipcop/compile-snort,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** compile-snort 2002/01/12 11:33:24 1.1 --- compile-snort 2002/01/27 19:17:32 1.2 *************** *** 4,17 **** cd libpcap ./configure && ! make ! ! cd ../snort* ! ./configure --prefix=/usr --sysconfdir=/etc/snort --sharedstatedir=/var \ --localstatedir=/var --with-openssl=/usr \ --with-libpcap-includes=/usr/src/libpcap \ --with-libpcap-libraries=/usr/src/libpcap && make && ! make install ! ! cd .. ! rm -rf libpcap --- 4,35 ---- cd libpcap ./configure && ! make && ! cd ../snort* && ! ./configure --prefix=/ --sysconfdir=/etc --sharedstatedir=/var \ --localstatedir=/var --with-openssl=/usr \ --with-libpcap-includes=/usr/src/libpcap \ --with-libpcap-libraries=/usr/src/libpcap && make && ! make install && ! cd .. && ! rm -rf libpcap && ! LIBC_VERSION=`ls -l /lib/libc-* | awk '{print $NF}' | sed 's%^.*-\(.*\).so.*%\1%'` && ! mkdir -p /chroot/snort/etc /chroot/snort/lib /chroot/snort/bin && ! ln /etc/passwd /chroot/snort/etc/passwd && ! ln /etc/group /chroot/snort/etc/group && ! ln /etc/nsswitch.conf /chroot/snort/etc/nsswitch.conf && ! ln /etc/localtime /chroot/snort/etc/localtime && ! ln /lib/libc-${LIBC_VERSION}.so /chroot/snort/lib/libc.so.6 && ! ln /lib/libcrypt-${LIBC_VERSION}.so /chroot/snort/lib/libcrypt.so.1 && ! ln /lib/libdl-${LIBC_VERSION}.so /chroot/snort/lib/libdl.so.2 && ! ln /lib/libm-${LIBC_VERSION}.so /chroot/snort/lib/libm.so.6 && ! ln /lib/libnsl-${LIBC_VERSION}.so /chroot/snort/lib/libnsl.so.1 && ! ln /lib/libnss_compat-${LIBC_VERSION}.so /chroot/snort/lib/libnss_compat.so.2 && ! ln /lib/libnss_dns-${LIBC_VERSION}.so /chroot/snort/lib/libnss_dns.so.2 && ! ln /lib/libnss_files-${LIBC_VERSION}.so /chroot/snort/lib/libnss_files.so.2 && ! ln /lib/libresolv-${LIBC_VERSION}.so /chroot/snort/lib/libresolv.so.2 && ! ln /lib/libutil-${LIBC_VERSION}.so /chroot/snort/lib/libutil.so.1 && ! ln /lib/ld-${LIBC_VERSION}.so /chroot/snort/lib/ld-linux.so.2 && ! ln /usr/lib/libssl.so.0.9.6 /chroot/snort/lib/libssl.so.0.9.6 && ! ln /usr/lib/libcrypto.so.0.9.6 /chroot/snort/lib/libcrypto.so.0.9.6 && ! mv /usr/bin/snort /chroot/snort/bin/ Index: compile-squid =================================================================== RCS file: /cvsroot/ipcop/ipcop/lfs/ipcop/compile-squid,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** compile-squid 2002/01/07 12:34:50 1.2 --- compile-squid 2002/01/27 19:17:32 1.3 *************** *** 3,5 **** --localstatedir=/var --with-pthreads --enable-linux-netfilter && make all && ! make install --- 3,31 ---- --localstatedir=/var --with-pthreads --enable-linux-netfilter && make all && ! make install && ! LIBC_VERSION=`ls -l /lib/libc-* | awk '{print $NF}' | sed 's%^.*-\(.*\).so.*%\1%'` && ! mkdir -p /chroot/squid/etc /chroot/squid/lib /chroot/squid/bin /chroot/squid/var/logs && ! ln /etc/passwd /chroot/squid/etc/passwd && ! ln /etc/group /chroot/squid/etc/group && ! ln /etc/nsswitch.conf /chroot/squid/etc/nsswitch.conf && ! ln /etc/resolv.conf /chroot/squid/etc/resolv.conf && ! ln /etc/localtime /chroot/squid/etc/localtime && ! ln /lib/libc-${LIBC_VERSION}.so /chroot/squid/lib/libc.so.6 && ! ln /lib/libcrypt-${LIBC_VERSION}.so /chroot/squid/lib/libcrypt.so.1 && ! ln /lib/libdl-${LIBC_VERSION}.so /chroot/squid/lib/libdl.so.2 && ! ln /lib/libm-${LIBC_VERSION}.so /chroot/squid/lib/libm.so.6 && ! ln /lib/libnsl-${LIBC_VERSION}.so /chroot/squid/lib/libnsl.so.1 && ! ln /lib/libnss_compat-${LIBC_VERSION}.so /chroot/squid/lib/libnss_compat.so.2 && ! ln /lib/libnss_dns-${LIBC_VERSION}.so /chroot/squid/lib/libnss_dns.so.2 && ! ln /lib/libnss_files-${LIBC_VERSION}.so /chroot/squid/lib/libnss_files.so.2 && ! ln /lib/libresolv-${LIBC_VERSION}.so /chroot/squid/lib/libresolv.so.2 && ! ln /lib/libutil-${LIBC_VERSION}.so /chroot/squid/lib/libutil.so.1 && ! ln /lib/ld-${LIBC_VERSION}.so /chroot/squid/lib/ld-linux.so.2 && ! ln /lib/libpthread-0.9.so /chroot/squid/lib/libpthread.so.0 && ! mv /etc/squid /chroot/squid/etc/ && ! mv /usr/sbin/squid /chroot/squid/bin/ && ! mv /usr/sbin/RunAccel /chroot/squid/bin/ && ! mv /usr/sbin/RunCache /chroot/squid/bin/ && ! mv /usr/sbin/squid /chroot/squid/bin/ && ! mv /usr/lib/squid /chroot/squid/lib/ && ! rm -rf /var/logs Index: postsetup-dhcp =================================================================== RCS file: /cvsroot/ipcop/ipcop/lfs/ipcop/postsetup-dhcp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** postsetup-dhcp 2002/01/12 13:48:50 1.1 --- postsetup-dhcp 2002/01/27 19:17:32 1.2 *************** *** 1 **** ! P=dhcpd --- 1 ---- ! P=/chroot/dns-dhcp/bin/dhcpd --- 30-dnsmasq DELETED --- --- 31-dhcp DELETED --- --- 32-dhcpcd DELETED --- |