├── 01_lfs ├── 01 │ ├── 00_install_needed_packages.sh │ ├── 01_check_host.sh │ └── 02_check_library.sh ├── 02 │ ├── 2.3_prepare_partition.sh │ └── 2.4_prepare_lfs_dir.sh ├── 03 │ ├── 3.1.1_prepare_source.sh │ ├── 3.1.2_download_package.sh │ └── 3.1.3_md5_checking.sh ├── 04 │ ├── 4.2_create_lfs_tools_dir.sh │ ├── 4.3_create_lfs_user.sh │ └── 4.4_set_profile.sh ├── 05 │ ├── 5.04_build_binutil.sh │ ├── 5.05_build_gcc.sh │ ├── 5.06_build_linux_api_header.sh │ ├── 5.07.1_build_glibc.sh │ ├── 5.07.2_build_glibc_test.sh │ ├── 5.08_build_libstdc.sh │ ├── 5.09_build_binutil2.sh │ ├── 5.10.1_build_gcc2.sh │ ├── 5.10.2_build_gcc2_test.sh │ ├── 5.11_build_tcl.sh │ ├── 5.12_build_expect.sh │ ├── 5.13_build_dejagnu.sh │ ├── 5.14_build_check.sh │ ├── 5.15_build_ncurses.sh │ ├── 5.16_build_bash.sh │ ├── 5.17_build_bzip.sh │ ├── 5.18_build_coreutil.sh │ ├── 5.19_build_diffutils.sh │ ├── 5.20_build_file.sh │ ├── 5.21_build_findutils.sh │ ├── 5.22_build_awk.sh │ ├── 5.23_build_gettext.sh │ ├── 5.24_build_grep.sh │ ├── 5.25_build_gzip.sh │ ├── 5.26_build_m4.sh │ ├── 5.27_build_make.sh │ ├── 5.28_build_patch.sh │ ├── 5.29_build_perl.sh │ ├── 5.30_build_sed.sh │ ├── 5.31_build_tar.sh │ ├── 5.32_build_texinfo.sh │ ├── 5.33_build_util_linux.sh │ ├── 5.34_build_xz.sh │ ├── 5.35_build_php.sh │ ├── 5.36_stripping.sh │ ├── 5.37_change_ownership.sh │ └── 5.38_cleanup.sh ├── 06 │ ├── 6.02_prepare_virtual_system.sh │ ├── 6.04_chroot.sh │ ├── 6.05_create_directories.sh │ ├── 6.06_create_essential_files.sh │ ├── 6.07_build_linux_api_headers.sh │ ├── 6.08_install_man_pages.sh │ ├── 6.09.1_build_glibc.sh │ ├── 6.09.2_check_glibc.sh │ ├── 6.09.3_install_glibc.sh │ ├── 6.10.1_adjust_tool_chain.sh │ ├── 6.10.2_test_tool_chain.sh │ ├── 6.11_build_zlib.sh │ ├── 6.12_build_file.sh │ ├── 6.13.1_veriry_binutils.sh │ ├── 6.13.2_build_binutils.sh │ ├── 6.13.3_install_binutils.sh │ ├── 6.14.1_build_gmp.sh │ ├── 6.14.2_install_gmp.sh │ ├── 6.15.1_build_mpfr.sh │ ├── 6.15.2_install_mpfr.sh │ ├── 6.16_build_mpc.sh │ ├── 6.17.1_build_gcc.sh │ ├── 6.17.2_install_gcc.sh │ ├── 6.17.3_test_gcc.sh │ ├── 6.18_build_bzip2.sh │ ├── 6.19_build_pkg_config.sh │ ├── 6.20_build_ncurses.sh │ ├── 6.21_build_attr.sh │ ├── 6.22_build_acl.sh │ ├── 6.23_build_libcap.sh │ ├── 6.24_build_sed.sh │ ├── 6.25_build_shadow.sh │ ├── 6.26_build_psmisc.sh │ ├── 6.27_build_procps_ng.sh │ ├── 6.28_build_e2fsprogs.sh │ ├── 6.29_build_coreutils.sh │ ├── 6.30_build_iana_etc.sh │ ├── 6.31_build_m4.sh │ ├── 6.32_build_flex.sh │ ├── 6.33_build_bison.sh │ ├── 6.34_build_grep.sh │ ├── 6.35_build_readline.sh │ ├── 6.36_build_bash.sh │ ├── 6.37_build_bc.sh │ ├── 6.38_build_libtools.sh │ ├── 6.39_build_gdbm.sh │ ├── 6.40_build_expat.sh │ ├── 6.41_build_inetutils.sh │ ├── 6.42_build_perl.sh │ ├── 6.43_build_xml-parser.sh │ ├── 6.44_build_autoconf.sh │ ├── 6.45_build_automake.sh │ ├── 6.46_build_diffutils.sh │ ├── 6.47_build_gawk.sh │ ├── 6.48_build_findutils.sh │ ├── 6.49_build_gettext.sh │ ├── 6.50_build_intltool.sh │ ├── 6.51_build_gperf.sh │ ├── 6.52_build_groff.sh │ ├── 6.53_build_xz.sh │ ├── 6.54_build_grub.sh │ ├── 6.55_build_less.sh │ ├── 6.56_build_gzip.sh │ ├── 6.57_build_iproute.sh │ ├── 6.58_build_kbd.sh │ ├── 6.59_build_kmod.sh │ ├── 6.60_build_libpipeline.sh │ ├── 6.61_build_make.sh │ ├── 6.62_build_patch.sh │ ├── 6.63_build_sysklogd.sh │ ├── 6.64.3_strip.sh │ ├── 6.64_build_sysvinit.sh │ ├── 6.65_build_tar.sh │ ├── 6.66_build_texinfo.sh │ ├── 6.67_build_eudev.sh │ ├── 6.68_build_util_linux.sh │ ├── 6.69_build_mandb.sh │ ├── 6.70_build_vim.sh │ ├── 6.73.1_logout.sh │ ├── 6.73.2_chroot.sh │ └── 6.74_cleanup.sh ├── 07 │ ├── 7.00_chroot.sh │ ├── 7.01_linkphp.sh │ ├── 7.02_install_bootstrips.sh │ ├── 7.05_network.sh │ ├── 7.06_sysvinit_bootscripts.sh │ ├── 7.07_create_profile.sh │ └── 7.08_create_inputrc.sh └── 08 │ ├── 8.01_create_fstab.sh │ ├── 8.03_build_kernel.sh │ └── 8.04_install_grub.sh ├── 02_blfs ├── 00_prepare │ ├── 01_mount_source.sh │ ├── 02_down_blfs_boot_scripts.sh │ ├── 03_down_packages.sh │ ├── 04_down_md5.sh │ ├── 05_check_md5.sh │ ├── 06_chroot.sh │ ├── packagelist │ └── readme.txt ├── 01_basic │ ├── 1.01_build_openssh.sh │ ├── 1.02_install_cert.sh │ ├── 1.03_build_net_tools.sh │ ├── 1.04_build_unzip.sh │ ├── 1.05_build_wget.sh │ ├── 1.06_build_cron.sh │ ├── 1.07_build_lrzsz.sh │ ├── 1.08_build_ctags.sh │ ├── 1.09_build_acpid.sh │ ├── 1.10_build_dhcpd.sh │ ├── 1.11_build_ntp.sh │ ├── 1.12_build_curl.sh │ ├── 1.13_build_libarchive.sh │ ├── 1.14_build_libevent.sh │ ├── 1.15_build_libxml2.sh │ ├── 1.16_build_which.sh │ ├── 1.17_ldap.sh │ └── setnic ├── 02_security │ ├── 01_build_openssh.sh │ ├── 02_build_sudo.sh │ ├── 03_create_z_account.sh │ └── 04_build_sasl.sh ├── 03_apache │ ├── 01_build_apr.sh │ ├── 02_build_apr_util.sh │ ├── 03_build_pcre.sh │ ├── 04_build_apache.sh │ └── httpd │ │ ├── envvars │ │ ├── extra │ │ ├── front.conf │ │ ├── logs.conf │ │ ├── mime.types │ │ └── security.conf │ │ ├── httpd.conf │ │ └── magic ├── 04_database │ ├── 01_build_cmake.sh │ ├── 02_build_mariadb.sh │ └── 03_build_sqlite.sh ├── 05_gd │ ├── 01_build_nasm.sh │ ├── 02_build_libjpeg.sh │ ├── 03_build_libtiff.sh │ ├── 04_build_libpng.sh │ ├── 05_build_libexif.sh │ ├── 06_build_freetype.sh │ ├── 07_build_fongconfig.sh │ └── 08_build_gd.sh ├── 06_php │ ├── 01_build_php.sh │ ├── 02_install_phpmyadmin.sh │ ├── 03_ioncube.sh │ └── php.ini ├── 07_python │ ├── 01_build_python.sh │ └── 02_build_scons.sh ├── 08_scm │ ├── 01_build_serf.sh │ ├── 02_build_subversion.sh │ └── 03_build_git.sh └── readme.txt ├── 03_crz ├── 01_install_ranzhi.sh ├── 02_install_chanzhi.sh ├── 03_install_zentao.sh ├── 04_install_portal.sh ├── chanzhi.conf ├── index.php ├── ranzhi.conf └── zentao.conf ├── 04_minify ├── 01_mount_minify.sh ├── 02_clean_minify.sh ├── 03_copy_to_minify.sh ├── 04_install_grub.sh ├── 05_remove_package.sh ├── 06_remove_files.sh ├── 07_usr_share.sh ├── 08_rm_user_share_bak.sh ├── 09_user_bin.sh ├── 10_rm_usr_bin_bak.sh ├── 11_usr_lib.sh ├── 12_rm_usr_lib_bak.sh ├── 13_so.sh ├── 14_strip.sh ├── 15_rm_svn_conf.sh └── readme.txt ├── 05_release ├── 01_fdisk_release.sh ├── 02_mount_release.sh ├── 03_clear_history.sh ├── 04_copy_files.sh ├── 06_change_own.sh ├── 07_install_grub.sh ├── 08_change_fstab.sh └── readme.txt ├── htdocs └── index.php ├── panel ├── .build │ └── Manifest.xml ├── bin │ ├── access.bat │ ├── getHttpPort.bat │ ├── getVboxManage.bat │ ├── install.bat │ ├── isExist.bat │ ├── isRunning.bat │ ├── snapshot.bat │ ├── start.bat │ ├── stop.bat │ ├── testVboxManage.bat │ └── uninstall.bat ├── default.aproj ├── lang │ └── zh-cn.aau ├── layout │ ├── config.html │ ├── css │ │ ├── common.css │ │ ├── config.css │ │ └── index.css │ ├── images │ │ ├── background.png │ │ └── zentao.ico │ └── index.html ├── main.aau └── spawn.vbs ├── pkg ├── .gitignore ├── batchbuild ├── batchdb ├── createini ├── createlist ├── ini │ ├── acl.ini │ ├── acpid.ini │ ├── apache2.ini │ ├── apr-util.ini │ ├── apr.ini │ ├── attr.ini │ ├── autoconf.ini │ ├── automake.ini │ ├── bash.ini │ ├── bc.ini │ ├── binutils.ini │ ├── bison.ini │ ├── bzip2.ini │ ├── ca-certs.ini │ ├── chanzhi.ini │ ├── chanzhidb.ini │ ├── cmake.ini │ ├── coreutils.ini │ ├── ctags.ini │ ├── curl.ini │ ├── cyrus-sasl.ini │ ├── dhcpcd.ini │ ├── diffutils.ini │ ├── e2fsprogs.ini │ ├── eudev.ini │ ├── expat.ini │ ├── file.ini │ ├── findutils.ini │ ├── flex.ini │ ├── fontconfig.ini │ ├── freetype.ini │ ├── gawk.ini │ ├── gcc.ini │ ├── gdbm.ini │ ├── gettext.ini │ ├── git.ini │ ├── glibc.ini │ ├── gmp.ini │ ├── gperf.ini │ ├── grep.ini │ ├── groff.ini │ ├── grub-config.ini │ ├── grub.ini │ ├── gzip.ini │ ├── iana-etc.ini │ ├── inetutils.ini │ ├── intltool.ini │ ├── ioncube.ini │ ├── iproute2.ini │ ├── kbd.ini │ ├── kernel.ini │ ├── kmod.ini │ ├── less.ini │ ├── lfs-bootscripts.ini │ ├── libarchive.ini │ ├── libcap.ini │ ├── libevent.ini │ ├── libexif.ini │ ├── libgd.ini │ ├── libjpeg-turbo.ini │ ├── libpipeline.ini │ ├── libpng.ini │ ├── libserf.ini │ ├── libtiff.ini │ ├── libtool.ini │ ├── libxml2.ini │ ├── linux.ini │ ├── lrzsz.ini │ ├── m4.ini │ ├── make.ini │ ├── man-db.ini │ ├── man-pages.ini │ ├── mariadb.ini │ ├── mpc.ini │ ├── mpfr.ini │ ├── nasm.ini │ ├── ncurses.ini │ ├── net-tools.ini │ ├── network-config.ini │ ├── ntp.ini │ ├── openldap.ini │ ├── openssh.ini │ ├── openssl.ini │ ├── patch.ini │ ├── pcre.ini │ ├── perl.ini │ ├── php55.ini │ ├── phpmyadmin.ini │ ├── pkg-config.ini │ ├── pkg.ini │ ├── procps-ng.ini │ ├── psmisc.ini │ ├── python27.ini │ ├── ranzhi.ini │ ├── ranzhidb.ini │ ├── readline.ini │ ├── scons.ini │ ├── sed.ini │ ├── shadow.ini │ ├── sqlite.ini │ ├── subversion.ini │ ├── sudo.ini │ ├── sysklogd.ini │ ├── sysvinit-bootscripts.ini │ ├── sysvinit.ini │ ├── tar.ini │ ├── texinfo.ini │ ├── unzip.ini │ ├── util-linux.ini │ ├── vim.ini │ ├── vixiecron.ini │ ├── wget.ini │ ├── which.ini │ ├── xml-parser.ini │ ├── xz.ini │ ├── zentao.ini │ ├── zentaodb.ini │ ├── zlib.ini │ └── zos-portal.ini ├── log │ ├── acl.log │ ├── acpid.log │ ├── apache2.log │ ├── apr-util.log │ ├── apr.log │ ├── attr.log │ ├── autoconf.log │ ├── automake.log │ ├── bash.log │ ├── bc.log │ ├── binutils.log │ ├── bison.log │ ├── bzip2.log │ ├── ca-certs.log │ ├── chanzhi.log │ ├── chanzhidb.log │ ├── cmake.log │ ├── coreutils.log │ ├── ctags.log │ ├── curl.log │ ├── cyrus-sasl.log │ ├── dhcpcd.log │ ├── diffutils.log │ ├── e2fsprogs.log │ ├── eudev.log │ ├── expat.log │ ├── file.log │ ├── findutils.log │ ├── flex.log │ ├── fontconfig.log │ ├── freetype.log │ ├── gawk.log │ ├── gcc.log │ ├── gdbm.log │ ├── gettext.log │ ├── git.log │ ├── glibc.log │ ├── gmp.log │ ├── gperf.log │ ├── grep.log │ ├── groff.log │ ├── grub-config.log │ ├── grub.log │ ├── gzip.log │ ├── iana-etc.log │ ├── inetutils.log │ ├── intltool.log │ ├── ioncube.log │ ├── iproute2.log │ ├── kbd.log │ ├── kernel.log │ ├── kmod.log │ ├── less.log │ ├── lfs-bootscripts.log │ ├── libarchive.log │ ├── libcap.log │ ├── libevent.log │ ├── libexif.log │ ├── libgd.log │ ├── libjpeg-turbo.log │ ├── libpipeline.log │ ├── libpng.log │ ├── libserf.log │ ├── libtiff.log │ ├── libtool.log │ ├── libxml2.log │ ├── linux.log │ ├── lrzsz.log │ ├── m4.log │ ├── make.log │ ├── man-db.log │ ├── man-pages.log │ ├── mariadb.log │ ├── mpc.log │ ├── mpfr.log │ ├── nasm.log │ ├── ncurses.log │ ├── net-tools.log │ ├── network-config.log │ ├── ntp.log │ ├── openldap.log │ ├── openssh.log │ ├── openssl.log │ ├── patch.log │ ├── pcre.log │ ├── perl.log │ ├── php55.log │ ├── phpmyadmin.log │ ├── pkg-config.log │ ├── pkg.log │ ├── procps-ng.log │ ├── psmisc.log │ ├── python27.log │ ├── ranzhi.log │ ├── ranzhidb.log │ ├── readline.log │ ├── scons.log │ ├── sed.log │ ├── shadow.log │ ├── sqlite.log │ ├── subversion.log │ ├── sudo.log │ ├── sysklogd.log │ ├── sysvinit-bootscripts.log │ ├── sysvinit.log │ ├── tar.log │ ├── texinfo.log │ ├── unzip.log │ ├── util-linux.log │ ├── vim.log │ ├── vixiecron.log │ ├── wget.log │ ├── which.log │ ├── xml-parser.log │ ├── xz.log │ ├── zentao.log │ ├── zentaodb.log │ ├── zlib.log │ └── zos-portal.log ├── packages │ ├── acl.html │ ├── attr.html │ ├── autoconf.html │ ├── automake.html │ ├── bash.html │ ├── bc.html │ ├── binutils.html │ ├── bison.html │ ├── bzip2.html │ ├── coreutils.html │ ├── diffutils.html │ ├── e2fsprogs.html │ ├── eudev.html │ ├── expat.html │ ├── file.html │ ├── findutils.html │ ├── flex.html │ ├── gawk.html │ ├── gcc.html │ ├── gdbm.html │ ├── gettext.html │ ├── glibc.html │ ├── gmp.html │ ├── gperf.html │ ├── grep.html │ ├── groff.html │ ├── grub.html │ ├── gzip.html │ ├── iana-etc.html │ ├── inetutils.html │ ├── intltool.html │ ├── iproute2.html │ ├── kbd.html │ ├── kmod.html │ ├── less.html │ ├── libcap.html │ ├── libpipeline.html │ ├── libtool.html │ ├── linux-headers.html │ ├── m4.html │ ├── make.html │ ├── man-db.html │ ├── man-pages.html │ ├── mpc.html │ ├── mpfr.html │ ├── ncurses.html │ ├── patch.html │ ├── perl.html │ ├── pkg-config.html │ ├── procps-ng.html │ ├── psmisc.html │ ├── readline.html │ ├── sed.html │ ├── shadow.html │ ├── sysklogd.html │ ├── sysvinit.html │ ├── tar.html │ ├── texinfo.html │ ├── util-linux.html │ ├── vim.html │ ├── xml-parser.html │ ├── xz.html │ └── zlib.html ├── pkg └── winst └── readme.txt /01_lfs/01/00_install_needed_packages.sh: -------------------------------------------------------------------------------- 1 | sudo apt-get update 2 | sudo apt-get install axel 3 | sudo apt-get install vim 4 | sudo apt-get install ctags 5 | sudo apt-get install unzip 6 | sudo apt-get install bison 7 | sudo apt-get install gawk 8 | sudo apt-get install m4 9 | sudo apt-get install texinfo 10 | sudo apt-get install bzip2 11 | sudo apt-get install perl 12 | sudo apt-get install make 13 | sudo apt-get install gcc 14 | sudo apt-get install zerofree # used to shrink the vdisk, thus can vboxmanage modyhd --compact to compact it. 15 | -------------------------------------------------------------------------------- /01_lfs/01/01_check_host.sh: -------------------------------------------------------------------------------- 1 | cat > version-check.sh << "EOF" 2 | #!/bin/bash 3 | # Simple script to list version numbers of critical development tools 4 | 5 | export LC_ALL=C 6 | bash --version | head -n1 | cut -d" " -f2-4 7 | echo "/bin/sh -> `readlink -f /bin/sh`" 8 | echo -n "Binutils: "; ld --version | head -n1 | cut -d" " -f3- 9 | bison --version | head -n1 10 | if [ -e /usr/bin/yacc ]; 11 | then echo "/usr/bin/yacc -> `readlink -f /usr/bin/yacc`"; 12 | else echo "yacc not found"; fi 13 | 14 | bzip2 --version 2>&1 < /dev/null | head -n1 | cut -d" " -f1,6- 15 | echo -n "Coreutils: "; chown --version | head -n1 | cut -d")" -f2 16 | diff --version | head -n1 17 | find --version | head -n1 18 | gawk --version | head -n1 19 | if [ -e /usr/bin/awk ]; 20 | then echo "/usr/bin/awk -> `readlink -f /usr/bin/awk`"; 21 | else echo "awk not found"; fi 22 | 23 | gcc --version | head -n1 24 | g++ --version | head -n1 25 | ldd --version | head -n1 | cut -d" " -f2- # glibc version 26 | grep --version | head -n1 27 | gzip --version | head -n1 28 | cat /proc/version 29 | m4 --version | head -n1 30 | make --version | head -n1 31 | patch --version | head -n1 32 | echo Perl `perl -V:version` 33 | sed --version | head -n1 34 | tar --version | head -n1 35 | xz --version | head -n1 36 | 37 | echo 'main(){}' > dummy.c && g++ -o dummy dummy.c 38 | if [ -x dummy ] 39 | then echo "g++ compilation OK"; 40 | else echo "g++ compilation failed"; fi 41 | rm -f dummy.c dummy 42 | 43 | EOF 44 | 45 | bash ./version-check.sh 46 | rm -fr ./version-check.sh 47 | -------------------------------------------------------------------------------- /01_lfs/01/02_check_library.sh: -------------------------------------------------------------------------------- 1 | cat > library-check.sh << "EOF" 2 | #!/bin/bash 3 | for lib in lib{gmp,mpfr,mpc}.la; do 4 | echo $lib: $(if find /usr/lib* -name $lib| 5 | grep -q $lib;then :;else echo not;fi) found 6 | done 7 | unset lib 8 | EOF 9 | 10 | bash library-check.sh 11 | rm -fr library-check.sh 12 | -------------------------------------------------------------------------------- /01_lfs/02/2.3_prepare_partition.sh: -------------------------------------------------------------------------------- 1 | # need four disks: one for building, one for tools, one for sources and last one for release. 2 | sudo fdisk /dev/sdb 3 | sudo fdisk /dev/sdc 4 | sudo fdisk /dev/sdd 5 | sudo fdisk /dev/sde 6 | sudo mkfs.ext4 -v /dev/sdb1 7 | sudo mkfs.ext4 -v /dev/sdc1 8 | sudo mkfs.ext4 -v /dev/sdd1 9 | sudo mkfs.ext4 -v /dev/sde1 10 | -------------------------------------------------------------------------------- /01_lfs/02/2.4_prepare_lfs_dir.sh: -------------------------------------------------------------------------------- 1 | export LFS=/mnt/lfs 2 | sudo mkdir -pv $LFS 3 | sudo mount -t ext4 -v /dev/sdb1 $LFS 4 | -------------------------------------------------------------------------------- /01_lfs/03/3.1.1_prepare_source.sh: -------------------------------------------------------------------------------- 1 | sudo mkdir -v /mnt/lfs/sources 2 | sudo chmod -v a+wt /mnt/lfs/sources 3 | sudo mount /dev/sdd1 /mnt/lfs/sources 4 | -------------------------------------------------------------------------------- /01_lfs/03/3.1.2_download_package.sh: -------------------------------------------------------------------------------- 1 | sudo wget -c http://www.linuxfromscratch.org/lfs/view/stable/wget-list 2 | sudo wget -c -i wget-list -P $LFS/sources 3 | sudo rm -f wget-list 4 | -------------------------------------------------------------------------------- /01_lfs/03/3.1.3_md5_checking.sh: -------------------------------------------------------------------------------- 1 | sudo wget -c -O $LFS/sources/md5sums http://www.linuxfromscratch.org/lfs/view/stable/md5sums 2 | pushd $LFS/sources 3 | md5sum -c md5sums 4 | popd 5 | sudo rm -fr $LFS/source/md5sums 6 | -------------------------------------------------------------------------------- /01_lfs/04/4.2_create_lfs_tools_dir.sh: -------------------------------------------------------------------------------- 1 | sudo mkdir -v $LFS/tools 2 | sudo mount /dev/sdc1 $LFS/tools 3 | sudo ln -sv $LFS/tools / 4 | -------------------------------------------------------------------------------- /01_lfs/04/4.3_create_lfs_user.sh: -------------------------------------------------------------------------------- 1 | sudo groupadd lfs 2 | sudo useradd -s /bin/bash -g lfs -m -k /dev/null lfs 3 | sudo passwd lfs 4 | sudo chown -v lfs $LFS/tools 5 | sudo chown -v lfs $LFS/sources 6 | 7 | su - lfs 8 | -------------------------------------------------------------------------------- /01_lfs/04/4.4_set_profile.sh: -------------------------------------------------------------------------------- 1 | cat > ~/.bash_profile << "EOF" 2 | exec env -i HOME=$HOME TERM=$TERM PS1='\u:\w\$ ' /bin/bash 3 | EOF 4 | 5 | cat > ~/.bashrc << "EOF" 6 | set +h 7 | umask 022 8 | LFS=/mnt/lfs 9 | LC_ALL=POSIX 10 | LFS_TGT=$(uname -m)-lfs-linux-gnu 11 | PATH=/tools/bin:/bin:/usr/bin:/usr/local/bin 12 | export LFS LC_ALL LFS_TGT PATH 13 | #export MAKEFLAGS='-j 8' 14 | EOF 15 | 16 | source ~/.bash_profile 17 | -------------------------------------------------------------------------------- /01_lfs/05/5.04_build_binutil.sh: -------------------------------------------------------------------------------- 1 | cd $LFS/sources 2 | 3 | tar jxvf binutils-2.24.tar.bz2 4 | cd binutils* 5 | 6 | mkdir -v ../binutils-build 7 | cd ../binutils-build 8 | 9 | ../binutils-2.24/configure \ 10 | --prefix=/tools \ 11 | --with-sysroot=$LFS \ 12 | --with-lib-path=/tools/lib \ 13 | --target=$LFS_TGT \ 14 | --disable-nls \ 15 | --disable-werror 16 | 17 | time make && make install 18 | 19 | rm -frv /mnt/lfs/sources/binutils-2.24 20 | rm -frv /mnt/lfs/sources/binutils-build 21 | -------------------------------------------------------------------------------- /01_lfs/05/5.06_build_linux_api_header.sh: -------------------------------------------------------------------------------- 1 | cd $LFS/sources 2 | tar xxvf linux* 3 | cd linux* 4 | make mrproper 5 | make INSTALL_HDR_PATH=dest headers_install 6 | cp -rv dest/include/* /tools/include 7 | -------------------------------------------------------------------------------- /01_lfs/05/5.07.1_build_glibc.sh: -------------------------------------------------------------------------------- 1 | cd $LFS/sources 2 | tar xxvf glibc*.xz 3 | cd glibc* 4 | 5 | if [ ! -r /usr/include/rpc/types.h ]; then 6 | su -c 'mkdir -pv /usr/include/rpc' 7 | su -c 'cp -v sunrpc/rpc/*.h /usr/include/rpc' 8 | fi 9 | 10 | mkdir -v ../glibc-build 11 | cd ../glibc-build 12 | 13 | ../glibc-2.20/configure \ 14 | --prefix=/tools \ 15 | --host=$LFS_TGT \ 16 | --build=$(../glibc-2.20/scripts/config.guess) \ 17 | --disable-profile \ 18 | --enable-kernel=2.6.32 \ 19 | --with-headers=/tools/include \ 20 | libc_cv_forced_unwind=yes \ 21 | libc_cv_ctors_header=yes \ 22 | libc_cv_c_cleanup=yes 23 | 24 | make && make install 25 | -------------------------------------------------------------------------------- /01_lfs/05/5.07.2_build_glibc_test.sh: -------------------------------------------------------------------------------- 1 | echo 'main(){}' > dummy.c 2 | $LFS_TGT-gcc dummy.c 3 | readelf -l a.out | grep ': /tools' 4 | rm -v dummy.c a.out 5 | -------------------------------------------------------------------------------- /01_lfs/05/5.08_build_libstdc.sh: -------------------------------------------------------------------------------- 1 | cd $LFS/sources 2 | tar xvf gcc*.bz2 3 | cd $LFS/sources/gcc* 4 | 5 | mkdir -pv ../gcc-build 6 | cd ../gcc-build 7 | 8 | ../gcc-4.9.1/libstdc++-v3/configure \ 9 | --host=$LFS_TGT \ 10 | --prefix=/tools \ 11 | --disable-multilib \ 12 | --disable-shared \ 13 | --disable-nls \ 14 | --disable-libstdcxx-threads \ 15 | --disable-libstdcxx-pch \ 16 | --with-gxx-include-dir=/tools/$LFS_TGT/include/c++/4.9.1 17 | 18 | make 19 | make install 20 | 21 | rm -frv /mnt/lfs/sources/gcc-4.9.1 22 | rm -frv /mnt/lfs/sourcesgcc-build 23 | -------------------------------------------------------------------------------- /01_lfs/05/5.09_build_binutil2.sh: -------------------------------------------------------------------------------- 1 | cd $LFS/sources 2 | 3 | tar jxvf binutils-2.24.tar.bz2 4 | cd binutils* 5 | 6 | rm -fr ../binutils-build 7 | mkdir -v ../binutils-build 8 | cd ../binutils-build 9 | 10 | CC=$LFS_TGT-gcc \ 11 | AR=$LFS_TGT-ar \ 12 | RANLIB=$LFS_TGT-ranlib \ 13 | 14 | ../binutils-2.24/configure \ 15 | --prefix=/tools \ 16 | --disable-nls \ 17 | --disable-werror \ 18 | --with-lib-path=/tools/lib \ 19 | --with-sysroot 20 | 21 | make && make install 22 | 23 | make -C ld clean 24 | make -C ld LIB_PATH=/usr/lib:/lib 25 | cp -v ld/ld-new /tools/bin 26 | -------------------------------------------------------------------------------- /01_lfs/05/5.10.1_build_gcc2.sh: -------------------------------------------------------------------------------- 1 | cd $LFS/sources 2 | rm -fr gcc-4.9.1 3 | rm -fr gcc-build 4 | tar xvf gcc*.bz2 5 | cd gcc* 6 | 7 | cat gcc/limitx.h gcc/glimits.h gcc/limity.h > \ 8 | `dirname $($LFS_TGT-gcc -print-libgcc-file-name)`/include-fixed/limits.h 9 | 10 | for file in \ 11 | $(find gcc/config -name linux64.h -o -name linux.h -o -name sysv4.h) 12 | do 13 | cp -uv $file{,.orig} 14 | sed -e 's@/lib\(64\)\?\(32\)\?/ld@/tools&@g' \ 15 | -e 's@/usr@/tools@g' $file.orig > $file 16 | echo ' 17 | #undef STANDARD_STARTFILE_PREFIX_1 18 | #undef STANDARD_STARTFILE_PREFIX_2 19 | #define STANDARD_STARTFILE_PREFIX_1 "/tools/lib/" 20 | #define STANDARD_STARTFILE_PREFIX_2 ""' >> $file 21 | touch $file.orig 22 | done 23 | 24 | tar -xf ../mpfr-3.1.2.tar.xz 25 | mv -v mpfr-3.1.2 mpfr 26 | tar -xf ../gmp-6.0.0a.tar.xz 27 | mv -v gmp-6.0.0 gmp 28 | tar -xf ../mpc-1.0.2.tar.gz 29 | mv -v mpc-1.0.2 mpc 30 | 31 | sed -i 's/if \((code.*))\)/if (\1 \&\& \!DEBUG_INSN_P (insn))/' gcc/sched-deps.c 32 | 33 | mkdir -v ../gcc-build 34 | cd ../gcc-build 35 | 36 | CC=$LFS_TGT-gcc \ 37 | CXX=$LFS_TGT-g++ \ 38 | AR=$LFS_TGT-ar \ 39 | RANLIB=$LFS_TGT-ranlib \ 40 | ../gcc-4.9.1/configure \ 41 | --prefix=/tools \ 42 | --with-local-prefix=/tools \ 43 | --with-native-system-header-dir=/tools/include \ 44 | --enable-languages=c,c++ \ 45 | --disable-libstdcxx-pch \ 46 | --disable-multilib \ 47 | --disable-bootstrap \ 48 | --disable-libgomp 49 | 50 | make && make install 51 | 52 | ln -sv gcc /tools/bin/cc 53 | -------------------------------------------------------------------------------- /01_lfs/05/5.10.2_build_gcc2_test.sh: -------------------------------------------------------------------------------- 1 | echo 'main(){}' > dummy.c 2 | cc dummy.c 3 | readelf -l a.out | grep ': /tools' 4 | 5 | rm -v dummy.c a.out 6 | -------------------------------------------------------------------------------- /01_lfs/05/5.11_build_tcl.sh: -------------------------------------------------------------------------------- 1 | cd $LFS/sources 2 | tar xvf tcl* 3 | cd tcl* 4 | 5 | cd unix 6 | ./configure --prefix=/tools 7 | 8 | make 9 | TZ=UTC make test 10 | make install 11 | 12 | chmod -v u+w /tools/lib/libtcl8.6.so 13 | make install-private-headers 14 | ln -sv tclsh8.6 /tools/bin/tclsh 15 | -------------------------------------------------------------------------------- /01_lfs/05/5.12_build_expect.sh: -------------------------------------------------------------------------------- 1 | cd $LFS/sources 2 | tar xvf expect* 3 | cd expect* 4 | 5 | cp -v configure{,.orig} 6 | sed 's:/usr/local/bin:/bin:' configure.orig > configure 7 | 8 | ./configure --prefix=/tools --with-tcl=/tools/lib \ 9 | --with-tclinclude=/tools/include 10 | 11 | make && make test 12 | 13 | make SCRIPTS="" install 14 | -------------------------------------------------------------------------------- /01_lfs/05/5.13_build_dejagnu.sh: -------------------------------------------------------------------------------- 1 | cd $LFS/sources 2 | tar xvf deja* 3 | cd deja* 4 | 5 | ./configure --prefix=/tools 6 | 7 | make install 8 | make check 9 | -------------------------------------------------------------------------------- /01_lfs/05/5.14_build_check.sh: -------------------------------------------------------------------------------- 1 | cd $LFS/sources 2 | tar xvf check*.gz 3 | cd check* 4 | 5 | PKG_CONFIG= ./configure --prefix=/tools 6 | make 7 | make check 8 | make install 9 | -------------------------------------------------------------------------------- /01_lfs/05/5.15_build_ncurses.sh: -------------------------------------------------------------------------------- 1 | cd $LFS/sources 2 | tar zxvf ncurses* 3 | cd ncurses* 4 | 5 | ./configure --prefix=/tools \ 6 | --with-shared \ 7 | --without-debug \ 8 | --without-ada \ 9 | --enable-widec \ 10 | --enable-overwrite 11 | 12 | make && make install 13 | -------------------------------------------------------------------------------- /01_lfs/05/5.16_build_bash.sh: -------------------------------------------------------------------------------- 1 | cd $LFS/sources 2 | tar zxvf bash*.gz 3 | cd bash* 4 | 5 | ./configure --prefix=/tools --without-bash-malloc 6 | make 7 | make tests 8 | make install 9 | ln -sv bash /tools/bin/sh 10 | -------------------------------------------------------------------------------- /01_lfs/05/5.17_build_bzip.sh: -------------------------------------------------------------------------------- 1 | cd $LFS/sources 2 | tar zxvf bzip*.gz 3 | cd bzip* 4 | 5 | make 6 | make PREFIX=/tools install 7 | -------------------------------------------------------------------------------- /01_lfs/05/5.18_build_coreutil.sh: -------------------------------------------------------------------------------- 1 | cd $LFS/sources 2 | tar xvf coreutils*.xz 3 | cd coreutils* 4 | 5 | ./configure --prefix=/tools --enable-install-program=hostname 6 | make 7 | make RUN_EXPENSIVE_TESTS=yes check 8 | make install 9 | -------------------------------------------------------------------------------- /01_lfs/05/5.19_build_diffutils.sh: -------------------------------------------------------------------------------- 1 | cd $LFS/sources 2 | tar xvf diffutils* 3 | cd diffutils* 4 | 5 | ./configure --prefix=/tools 6 | make 7 | make check 8 | make install 9 | -------------------------------------------------------------------------------- /01_lfs/05/5.20_build_file.sh: -------------------------------------------------------------------------------- 1 | cd $LFS/sources 2 | tar xvf file*.gz 3 | cd file* 4 | 5 | ./configure --prefix=/tools 6 | make 7 | make check 8 | make install 9 | -------------------------------------------------------------------------------- /01_lfs/05/5.21_build_findutils.sh: -------------------------------------------------------------------------------- 1 | cd $LFS/sources 2 | tar xvf findutils*.gz 3 | cd findutils* 4 | 5 | ./configure --prefix=/tools 6 | make 7 | make check 8 | make install 9 | -------------------------------------------------------------------------------- /01_lfs/05/5.22_build_awk.sh: -------------------------------------------------------------------------------- 1 | cd $LFS/sources 2 | tar xvf gawk*.tar.xz 3 | cd gawk* 4 | 5 | ./configure --prefix=/tools 6 | make 7 | make check 8 | make install 9 | -------------------------------------------------------------------------------- /01_lfs/05/5.23_build_gettext.sh: -------------------------------------------------------------------------------- 1 | cd $LFS/sources 2 | tar xvf gettext*.xz 3 | cd gettext* 4 | 5 | cd gettext-tools 6 | EMACS="no" ./configure --prefix=/tools --disable-shared 7 | 8 | make -C gnulib-lib 9 | make -C src msgfmt 10 | make -C src msgmerge 11 | make -C src xgettext 12 | 13 | cp -v src/{msgfmt,msgmerge,xgettext} /tools/bin 14 | -------------------------------------------------------------------------------- /01_lfs/05/5.24_build_grep.sh: -------------------------------------------------------------------------------- 1 | cd $LFS/sources 2 | tar xvf grep*.xz 3 | cd grep* 4 | 5 | ./configure --prefix=/tools 6 | make 7 | make check 8 | make install 9 | -------------------------------------------------------------------------------- /01_lfs/05/5.25_build_gzip.sh: -------------------------------------------------------------------------------- 1 | cd $LFS/sources 2 | tar xvf gzip*.xz 3 | cd gzip* 4 | 5 | ./configure --prefix=/tools 6 | make 7 | make check 8 | make install 9 | -------------------------------------------------------------------------------- /01_lfs/05/5.26_build_m4.sh: -------------------------------------------------------------------------------- 1 | cd $LFS/sources 2 | tar xvf m4*.xz 3 | cd m4* 4 | 5 | ./configure --prefix=/tools 6 | make 7 | make check 8 | make install 9 | -------------------------------------------------------------------------------- /01_lfs/05/5.27_build_make.sh: -------------------------------------------------------------------------------- 1 | cd $LFS/sources 2 | tar jxvf make*.bz2 3 | cd make* 4 | 5 | ./configure --prefix=/tools --without-guile 6 | make 7 | make check 8 | make install 9 | -------------------------------------------------------------------------------- /01_lfs/05/5.28_build_patch.sh: -------------------------------------------------------------------------------- 1 | cd $LFS/sources 2 | tar xvf patch*.xz 3 | cd patch* 4 | 5 | ./configure --prefix=/tools 6 | make 7 | make check 8 | make install 9 | -------------------------------------------------------------------------------- /01_lfs/05/5.29_build_perl.sh: -------------------------------------------------------------------------------- 1 | cd $LFS/sources 2 | tar jxvf perl*.bz2 3 | cd perl* 4 | 5 | sh Configure -des -Dprefix=/tools -Dlibs=-lm 6 | make 7 | 8 | cp -v perl cpan/podlators/pod2man /tools/bin 9 | mkdir -pv /tools/lib/perl5/5.20.0 10 | cp -Rv lib/* /tools/lib/perl5/5.20.0 11 | -------------------------------------------------------------------------------- /01_lfs/05/5.30_build_sed.sh: -------------------------------------------------------------------------------- 1 | cd $LFS/sources 2 | tar jxvf sed*.bz2 3 | cd sed* 4 | 5 | ./configure --prefix=/tools 6 | make 7 | make check 8 | make install 9 | -------------------------------------------------------------------------------- /01_lfs/05/5.31_build_tar.sh: -------------------------------------------------------------------------------- 1 | cd $LFS/sources 2 | tar xvf tar*.xz 3 | cd tar* 4 | 5 | ./configure --prefix=/tools 6 | make 7 | make check 8 | make install 9 | -------------------------------------------------------------------------------- /01_lfs/05/5.32_build_texinfo.sh: -------------------------------------------------------------------------------- 1 | cd $LFS/sources 2 | tar xvf texinfo*.xz 3 | cd texinfo* 4 | 5 | ./configure --prefix=/tools 6 | make 7 | make check 8 | make install 9 | -------------------------------------------------------------------------------- /01_lfs/05/5.33_build_util_linux.sh: -------------------------------------------------------------------------------- 1 | cd $LFS/sources 2 | tar xvf util-linux*.xz 3 | cd util* 4 | 5 | ./configure --prefix=/tools \ 6 | --without-python \ 7 | --disable-makeinstall-chown \ 8 | --without-systemdsystemunitdir \ 9 | PKG_CONFIG="" 10 | 11 | make 12 | make install 13 | -------------------------------------------------------------------------------- /01_lfs/05/5.34_build_xz.sh: -------------------------------------------------------------------------------- 1 | cd $LFS/sources 2 | tar xvf xz*.xz 3 | cd xz* 4 | 5 | ./configure --prefix=/tools 6 | make 7 | make check 8 | make install 9 | -------------------------------------------------------------------------------- /01_lfs/05/5.35_build_php.sh: -------------------------------------------------------------------------------- 1 | cd $LFS/sources 2 | wget -c http://cn2.php.net/distributions/php-5.4.38.tar.bz2 3 | tar xvf php*.tar.bz2 4 | cd php* 5 | 6 | ./configure --prefix=/tools/ --disable-all --without-pear 7 | make 8 | make install 9 | -------------------------------------------------------------------------------- /01_lfs/05/5.36_stripping.sh: -------------------------------------------------------------------------------- 1 | strip --strip-debug /tools/lib/* 2 | /usr/bin/strip --strip-unneeded /tools/{,s}bin/* 3 | rm -rf /tools/{,share}/{info,man,doc} 4 | -------------------------------------------------------------------------------- /01_lfs/05/5.37_change_ownership.sh: -------------------------------------------------------------------------------- 1 | sudo chown -R root:root $LFS/tools 2 | -------------------------------------------------------------------------------- /01_lfs/05/5.38_cleanup.sh: -------------------------------------------------------------------------------- 1 | # this shell is used to clean up the source code extraced and the build directories. 2 | cd $LFS/sources 3 | mkdir .package 4 | mv *.gz *.bz2 *.xz *.patch .package 5 | mkdir temp 6 | mv * temp/ 7 | rm -fr temp 8 | 9 | mv .package/* . 10 | rmdir .package 11 | -------------------------------------------------------------------------------- /01_lfs/06/6.02_prepare_virtual_system.sh: -------------------------------------------------------------------------------- 1 | sudo mkdir -pv $LFS/{dev,proc,sys,run} 2 | sudo mknod -m 600 $LFS/dev/console c 5 1 3 | sudo mknod -m 666 $LFS/dev/null c 1 3 4 | sudo mount -v --bind /dev $LFS/dev 5 | sudo mount -vt devpts devpts $LFS/dev/pts -o gid=5,mode=620 6 | sudo mount -vt proc proc $LFS/proc 7 | sudo mount -vt sysfs sysfs $LFS/sys 8 | sudo mount -vt tmpfs tmpfs $LFS/run 9 | if [ -h $LFS/dev/shm ]; then 10 | sudo mkdir -pv $LFS/$(readlink $LFS/dev/shm) 11 | fi 12 | -------------------------------------------------------------------------------- /01_lfs/06/6.04_chroot.sh: -------------------------------------------------------------------------------- 1 | sudo chroot "$LFS" /tools/bin/env -i \ 2 | HOME=/root \ 3 | TERM="$TERM" \ 4 | PS1='\u:\w\$ ' \ 5 | PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin \ 6 | /tools/bin/bash --login +h 7 | -------------------------------------------------------------------------------- /01_lfs/06/6.05_create_directories.sh: -------------------------------------------------------------------------------- 1 | mkdir -pv /{bin,boot,etc/{opt,sysconfig},home,lib,mnt,opt} 2 | mkdir -pv /{media/{floppy,cdrom},sbin,srv,var} 3 | install -dv -m 0750 /root 4 | install -dv -m 1777 /tmp /var/tmp 5 | mkdir -pv /usr/{,local/}{bin,include,lib,sbin,src} 6 | mkdir -pv /usr/{,local/}share/{color,dict,doc,info,locale,man} 7 | mkdir -v /usr/{,local/}share/{misc,terminfo,zoneinfo} 8 | mkdir -v /usr/libexec 9 | mkdir -pv /usr/{,local/}share/man/man{1..8} 10 | 11 | case $(uname -m) in 12 | x86_64) ln -sv lib /lib64 13 | ln -sv lib /usr/lib64 14 | ln -sv lib /usr/local/lib64 ;; 15 | esac 16 | 17 | mkdir -v /var/{log,mail,spool} 18 | ln -sv /run /var/run 19 | ln -sv /run/lock /var/lock 20 | mkdir -pv /var/{opt,cache,lib/{color,misc,locate},local} 21 | -------------------------------------------------------------------------------- /01_lfs/06/6.06_create_essential_files.sh: -------------------------------------------------------------------------------- 1 | ln -sv /tools/bin/{bash,cat,echo,pwd,stty} /bin 2 | ln -sv /tools/bin/perl /usr/bin 3 | ln -sv /tools/bin/env /usr/bin 4 | ln -sv /tools/lib/libgcc_s.so{,.1} /usr/lib 5 | ln -sv /tools/lib/libstdc++.so{,.6} /usr/lib 6 | sed 's/tools/usr/' /tools/lib/libstdc++.la > /usr/lib/libstdc++.la 7 | ln -sv bash /bin/sh 8 | 9 | # copy pkg files. 10 | ln -s /tools/zentaomos /root/ 11 | ln -s /tools/zentaomos/pkg/pkg /tools/bin/ 12 | 13 | ln -sv /proc/self/mounts /etc/mtab 14 | 15 | cat > /etc/passwd << "EOF" 16 | root:x:0:0:root:/root:/bin/bash 17 | bin:x:1:1:bin:/dev/null:/bin/false 18 | daemon:x:6:6:Daemon User:/dev/null:/bin/false 19 | messagebus:x:18:18:D-Bus Message Daemon User:/var/run/dbus:/bin/false 20 | nobody:x:99:99:Unprivileged User:/dev/null:/bin/false 21 | EOF 22 | 23 | cat > /etc/group << "EOF" 24 | root:x:0: 25 | bin:x:1:daemon 26 | sys:x:2: 27 | kmem:x:3: 28 | tape:x:4: 29 | tty:x:5: 30 | daemon:x:6: 31 | floppy:x:7: 32 | disk:x:8: 33 | lp:x:9: 34 | dialout:x:10: 35 | audio:x:11: 36 | video:x:12: 37 | utmp:x:13: 38 | usb:x:14: 39 | cdrom:x:15: 40 | adm:x:16: 41 | messagebus:x:18: 42 | systemd-journal:x:23: 43 | input:x:24: 44 | mail:x:34: 45 | nogroup:x:99: 46 | users:x:999: 47 | EOF 48 | 49 | touch /var/log/{btmp,lastlog,wtmp} 50 | chgrp -v utmp /var/log/lastlog 51 | chmod -v 664 /var/log/lastlog 52 | chmod -v 600 /var/log/btmp 53 | 54 | exec /tools/bin/bash --login +h 55 | -------------------------------------------------------------------------------- /01_lfs/06/6.07_build_linux_api_headers.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf linux*.tar.xz 3 | cd linux* 4 | 5 | make mrproper 6 | 7 | pkg watch /mnt/lfs 8 | 9 | make INSTALL_HDR_PATH=dest headers_install 10 | find dest/include \( -name .install -o -name ..install.cmd \) -delete 11 | cp -rv dest/include/* /usr/include 12 | 13 | pkg savelog linux 14 | -------------------------------------------------------------------------------- /01_lfs/06/6.08_install_man_pages.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf man-pages*.xz 3 | cd man-pages* 4 | pkg watch /mnt/lfs 5 | make install 6 | pkg savelog man-pages 7 | -------------------------------------------------------------------------------- /01_lfs/06/6.09.1_build_glibc.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf glibc*.tar.xz 3 | cd glibc* 4 | 5 | patch -Np1 -i ../glibc-2.20-fhs-1.patch 6 | 7 | mkdir -v ../glibc-build 8 | cd ../glibc-build 9 | 10 | ../glibc-2.20/configure \ 11 | --prefix=/usr \ 12 | --disable-profile \ 13 | --enable-kernel=2.6.32 \ 14 | --enable-obsolete-rpc 15 | make 16 | -------------------------------------------------------------------------------- /01_lfs/06/6.09.2_check_glibc.sh: -------------------------------------------------------------------------------- 1 | cd /sources/glibc-build 2 | make -k check 2>&1 | tee glibc-check-log 3 | grep Error glibc-check-log 4 | -------------------------------------------------------------------------------- /01_lfs/06/6.09.3_install_glibc.sh: -------------------------------------------------------------------------------- 1 | cd /sources/glibc-build 2 | pkg watch /mnt/lfs 3 | 4 | touch /etc/ld.so.conf 5 | make install 6 | 7 | # Name service cache daemon 8 | cp -v ../glibc-2.20/nscd/nscd.conf /etc/nscd.conf 9 | mkdir -pv /var/cache/nscd 10 | 11 | cat > /etc/nsswitch.conf << "EOF" 12 | # Begin /etc/nsswitch.conf 13 | 14 | passwd: files 15 | group: files 16 | shadow: files 17 | 18 | hosts: files dns 19 | networks: files 20 | 21 | protocols: files 22 | services: files 23 | ethers: files 24 | rpc: files 25 | 26 | # End /etc/nsswitch.conf 27 | EOF 28 | 29 | tar -xf ../tzdata2014g.tar.gz 30 | 31 | ZONEINFO=/usr/share/zoneinfo 32 | mkdir -pv $ZONEINFO/{posix,right} 33 | 34 | for tz in etcetera southamerica northamerica europe africa antarctica \ 35 | asia australasia backward pacificnew systemv; do 36 | zic -L /dev/null -d $ZONEINFO -y "sh yearistype.sh" ${tz} 37 | zic -L /dev/null -d $ZONEINFO/posix -y "sh yearistype.sh" ${tz} 38 | zic -L leapseconds -d $ZONEINFO/right -y "sh yearistype.sh" ${tz} 39 | done 40 | 41 | cp -v zone.tab zone1970.tab iso3166.tab $ZONEINFO 42 | zic -d $ZONEINFO -p America/New_York 43 | unset ZONEINFO 44 | 45 | cp -v zone.tab iso3166.tab $ZONEINFO 46 | zic -d $ZONEINFO -p America/New_York 47 | unset ZONEINFO 48 | 49 | #tzselect 50 | 51 | cp -v --remove-destination /usr/share/zoneinfo/Asia/Shanghai /etc/localtime 52 | 53 | cat > /etc/ld.so.conf << "EOF" 54 | # Begin /etc/ld.so.conf 55 | /usr/local/lib 56 | /opt/lib 57 | 58 | EOF 59 | 60 | cat >> /etc/ld.so.conf << "EOF" 61 | # Add an include directory 62 | include /etc/ld.so.conf.d/*.conf 63 | 64 | EOF 65 | mkdir -pv /etc/ld.so.conf.d 66 | 67 | pkg savelog glibc 68 | -------------------------------------------------------------------------------- /01_lfs/06/6.10.1_adjust_tool_chain.sh: -------------------------------------------------------------------------------- 1 | mv -v /tools/bin/{ld,ld-old} 2 | mv -v /tools/$(gcc -dumpmachine)/bin/{ld,ld-old} 3 | mv -v /tools/bin/{ld-new,ld} 4 | ln -sv /tools/bin/ld /tools/$(gcc -dumpmachine)/bin/ld 5 | 6 | gcc -dumpspecs | sed -e 's@/tools@@g' \ 7 | -e '/\*startfile_prefix_spec:/{n;s@.*@/usr/lib/ @}' \ 8 | -e '/\*cpp:/{n;s@$@ -isystem /usr/include@}' > \ 9 | `dirname $(gcc --print-libgcc-file-name)`/specs 10 | -------------------------------------------------------------------------------- /01_lfs/06/6.10.2_test_tool_chain.sh: -------------------------------------------------------------------------------- 1 | echo 'main(){}' > dummy.c 2 | cc dummy.c -v -Wl,--verbose &> dummy.log 3 | readelf -l a.out | grep ': /lib' 4 | 5 | grep -o '/usr/lib.*/crt[1in].*succeeded' dummy.log 6 | grep -B1 '^ /usr/include' dummy.log 7 | grep 'SEARCH.*/usr/lib' dummy.log |sed 's|; |\n|g' 8 | grep "/lib.*/libc.so.6 " dummy.log 9 | grep found dummy.log 10 | 11 | rm -v dummy.c a.out dummy.log 12 | -------------------------------------------------------------------------------- /01_lfs/06/6.11_build_zlib.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf zlib*.xz 3 | cd zlib* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | ./configure --prefix=/usr 8 | make 9 | make install 10 | 11 | mv -v /usr/lib/libz.so.* /lib 12 | ln -sfv ../../lib/$(readlink /usr/lib/libz.so) /usr/lib/libz.so 13 | 14 | pkg savelog zlib 15 | -------------------------------------------------------------------------------- /01_lfs/06/6.12_build_file.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar zxvf file*.gz 3 | cd file* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | ./configure --prefix=/usr 8 | make 9 | make install 10 | 11 | pkg savelog file 12 | -------------------------------------------------------------------------------- /01_lfs/06/6.13.1_veriry_binutils.sh: -------------------------------------------------------------------------------- 1 | expect -c "spawn ls" 2 | -------------------------------------------------------------------------------- /01_lfs/06/6.13.2_build_binutils.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar jxvf binutils*.bz2 3 | cd binutils* 4 | 5 | patch -Np1 -i ../binutils-2.24-load_gcc_lto_plugin_by_default-1.patch 6 | patch -Np1 -i ../binutils-2.24-lto_testsuite-1.patch 7 | mkdir -v ../binutils-build 8 | cd ../binutils-build 9 | ../binutils-2.24/configure --prefix=/usr \ 10 | --enable-shared \ 11 | --disable-werror 12 | 13 | make tooldir=/usr 14 | make -k check 15 | -------------------------------------------------------------------------------- /01_lfs/06/6.13.3_install_binutils.sh: -------------------------------------------------------------------------------- 1 | cd /sources/binutils-build/ 2 | 3 | pkg watch /mnt/lfs 4 | make tooldir=/usr install 5 | pkg savelog binutils 6 | -------------------------------------------------------------------------------- /01_lfs/06/6.14.1_build_gmp.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf gmp*.tar.xz 3 | cd gmp* 4 | 5 | ABI=32 ./configure --prefix=/usr \ 6 | --enable-cxx \ 7 | --docdir=/usr/share/doc/gmp-6.0.0a 8 | make 9 | make html 10 | 11 | make check 2>&1 | tee gmp-check-log 12 | awk '/tests passed/{total+=$2} ; END{print total}' gmp-check-log 13 | -------------------------------------------------------------------------------- /01_lfs/06/6.14.2_install_gmp.sh: -------------------------------------------------------------------------------- 1 | cd /sources/gmp* 2 | 3 | pkg watch /mnt/lfs 4 | 5 | make install 6 | 7 | pkg savelog gmp 8 | -------------------------------------------------------------------------------- /01_lfs/06/6.15.1_build_mpfr.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf mpfr*.tar.xz 3 | cd mpfr* 4 | 5 | patch -Np1 -i ../mpfr-3.1.2-upstream_fixes-2.patch 6 | 7 | ./configure --prefix=/usr \ 8 | --enable-thread-safe \ 9 | --docdir=/usr/share/doc/mpfr-3.1.2 10 | 11 | make 12 | make check 13 | -------------------------------------------------------------------------------- /01_lfs/06/6.15.2_install_mpfr.sh: -------------------------------------------------------------------------------- 1 | cd /sources/mpfr* 2 | 3 | pkg watch /mnt/lfs 4 | 5 | make install 6 | 7 | pkg savelog mpfr 8 | -------------------------------------------------------------------------------- /01_lfs/06/6.16_build_mpc.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf mpc*.tar.gz 3 | cd mpc* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | ./configure --prefix=/usr --docdir=/usr/share/doc/mpc-1.0.2 8 | 9 | make 10 | make install 11 | 12 | pkg savelog mpc 13 | -------------------------------------------------------------------------------- /01_lfs/06/6.17.1_build_gcc.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar jxvf gcc*.tar.bz2 3 | cd gcc* 4 | 5 | sed -i 's/if \((code.*))\)/if (\1 \&\& \!DEBUG_INSN_P (insn))/' gcc/sched-deps.c 6 | patch -Np1 -i ../gcc-4.9.1-upstream_fixes-1.patch 7 | 8 | mkdir -v ../gcc-build 9 | cd ../gcc-build 10 | 11 | SED=sed \ 12 | ../gcc-4.9.1/configure \ 13 | --prefix=/usr \ 14 | --enable-languages=c,c++ \ 15 | --disable-multilib \ 16 | --disable-bootstrap \ 17 | --with-system-zlib 18 | 19 | make 20 | -------------------------------------------------------------------------------- /01_lfs/06/6.17.2_install_gcc.sh: -------------------------------------------------------------------------------- 1 | cd /sources/gcc-build 2 | pkg watch /mnt/lfs 3 | 4 | make install 5 | ln -sv ../usr/bin/cpp /lib 6 | ln -sv gcc /usr/bin/cc 7 | 8 | install -v -dm755 /usr/lib/bfd-plugins 9 | ln -sfv ../../libexec/gcc/$(gcc -dumpmachine)/4.9.1/liblto_plugin.so /usr/lib/bfd-plugins/ 10 | 11 | mkdir -pv /usr/share/gdb/auto-load/usr/lib 12 | mv -v /usr/lib/*gdb.py /usr/share/gdb/auto-load/usr/lib 13 | 14 | pkg savelog gcc 15 | -------------------------------------------------------------------------------- /01_lfs/06/6.17.3_test_gcc.sh: -------------------------------------------------------------------------------- 1 | echo 'main(){}' > dummy.c 2 | cc dummy.c -v -Wl,--verbose &> dummy.log 3 | readelf -l a.out | grep ': /lib' 4 | 5 | grep -o '/usr/lib.*/crt[1in].*succeeded' dummy.log 6 | grep -B4 '^ /usr/include' dummy.log 7 | grep 'SEARCH.*/usr/lib' dummy.log |sed 's|; |\n|g' 8 | grep "/lib.*/libc.so.6 " dummy.log 9 | grep found dummy.log 10 | rm -v dummy.c a.out dummy.log 11 | -------------------------------------------------------------------------------- /01_lfs/06/6.18_build_bzip2.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf bzip*.tar.gz 3 | cd bzip2* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | patch -Np1 -i ../bzip2-1.0.6-install_docs-1.patch 8 | sed -i 's@\(ln -s -f \)$(PREFIX)/bin/@\1@' Makefile 9 | sed -i "s@(PREFIX)/man@(PREFIX)/share/man@g" Makefile 10 | make -f Makefile-libbz2_so 11 | make clean 12 | make 13 | make PREFIX=/usr install 14 | 15 | cp -v bzip2-shared /bin/bzip2 16 | cp -av libbz2.so* /lib 17 | ln -sv ../../lib/libbz2.so.1.0 /usr/lib/libbz2.so 18 | rm -v /usr/bin/{bunzip2,bzcat,bzip2} 19 | ln -sv bzip2 /bin/bunzip2 20 | ln -sv bzip2 /bin/bzcat 21 | 22 | pkg savelog bzip2 23 | -------------------------------------------------------------------------------- /01_lfs/06/6.19_build_pkg_config.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf pkg-config*.gz 3 | cd pkg-config* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | ./configure --prefix=/usr \ 8 | --with-internal-glib \ 9 | --disable-host-tool \ 10 | --docdir=/usr/share/doc/pkg-config-0.28 11 | make 12 | make install 13 | 14 | pkg savelog pkg-config 15 | -------------------------------------------------------------------------------- /01_lfs/06/6.20_build_ncurses.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf ncurses*.gz 3 | cd ncurses* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | ./configure --prefix=/usr \ 8 | --mandir=/usr/share/man \ 9 | --with-shared \ 10 | --without-debug \ 11 | --enable-pc-files \ 12 | --enable-widec 13 | 14 | make 15 | make install 16 | 17 | mv -v /usr/lib/libncursesw.so.5* /lib 18 | ln -sfv ../../lib/$(readlink /usr/lib/libncursesw.so) /usr/lib/libncursesw.so 19 | 20 | for lib in ncurses form panel menu ; do 21 | rm -vf /usr/lib/lib${lib}.so 22 | echo "INPUT(-l${lib}w)" > /usr/lib/lib${lib}.so 23 | ln -sfv lib${lib}w.a /usr/lib/lib${lib}.a 24 | ln -sfv ${lib}w.pc /usr/lib/pkgconfig/${lib}.pc 25 | done 26 | 27 | ln -sfv libncurses++w.a /usr/lib/libncurses++.a 28 | 29 | rm -vf /usr/lib/libcursesw.so 30 | echo "INPUT(-lncursesw)" > /usr/lib/libcursesw.so 31 | ln -sfv libncurses.so /usr/lib/libcurses.so 32 | ln -sfv libncursesw.a /usr/lib/libcursesw.a 33 | ln -sfv libncurses.a /usr/lib/libcurses.a 34 | 35 | pkg savelog ncurses 36 | -------------------------------------------------------------------------------- /01_lfs/06/6.21_build_attr.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf attr*.gz 3 | cd attr* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | sed -i -e 's|/@pkg_name@|&-@pkg_version@|' include/builddefs.in 8 | ./configure --prefix=/usr --bindir=/bin 9 | 10 | make 11 | make -j1 tests root-tests 12 | 13 | make install install-dev install-lib 14 | chmod -v 755 /usr/lib/libattr.so 15 | 16 | mv -v /usr/lib/libattr.so.* /lib 17 | ln -sfv ../../lib/$(readlink /usr/lib/libattr.so) /usr/lib/libattr.so 18 | 19 | pkg savelog attr 20 | -------------------------------------------------------------------------------- /01_lfs/06/6.22_build_acl.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf acl*.gz 3 | cd acl* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | sed -i -e 's|/@pkg_name@|&-@pkg_version@|' include/builddefs.in 8 | sed -i "s:| sed.*::g" test/{sbits-restore,cp,misc}.test 9 | sed -i -e "/TABS-1;/a if (x > (TABS-1)) x = (TABS-1);" \ 10 | libacl/__acl_to_any_text.c 11 | 12 | ./configure --prefix=/usr \ 13 | --bindir=/bin \ 14 | --libexecdir=/usr/lib 15 | 16 | make 17 | make install install-dev install-lib 18 | chmod -v 755 /usr/lib/libacl.so 19 | 20 | mv -v /usr/lib/libacl.so.* /lib 21 | ln -sfv ../../lib/$(readlink /usr/lib/libacl.so) /usr/lib/libacl.so 22 | 23 | pkg savelog acl 24 | -------------------------------------------------------------------------------- /01_lfs/06/6.23_build_libcap.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf libcap*.xz 3 | cd libcap* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | make 8 | make RAISE_SETFCAP=no prefix=/usr install 9 | chmod -v 755 /usr/lib/libcap.so 10 | 11 | pkg savelog libcap 12 | -------------------------------------------------------------------------------- /01_lfs/06/6.24_build_sed.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf sed*.bz2 3 | cd sed* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | ./configure --prefix=/usr --bindir=/bin --htmldir=/usr/share/doc/sed-4.2.2 8 | make 9 | make install 10 | 11 | pkg savelog sed 12 | -------------------------------------------------------------------------------- /01_lfs/06/6.25_build_shadow.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf shadow*.xz 3 | cd shadow* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | sed -i 's/groups$(EXEEXT) //' src/Makefile.in 8 | find man -name Makefile.in -exec sed -i 's/groups\.1 / /' {} \; 9 | 10 | sed -i -e 's@#ENCRYPT_METHOD DES@ENCRYPT_METHOD SHA512@' \ 11 | -e 's@/var/spool/mail@/var/mail@' etc/login.defs 12 | 13 | sed -i 's@DICTPATH.*@DICTPATH\t/lib/cracklib/pw_dict@' \ 14 | etc/login.defs 15 | 16 | sed -i 's/1000/999/' etc/useradd 17 | 18 | ./configure --sysconfdir=/etc --with-group-name-max-length=32 19 | make 20 | make install 21 | mv -v /usr/bin/passwd /bin 22 | 23 | pwconv 24 | grpconv 25 | sed -i 's/yes/no/' /etc/default/useradd 26 | 27 | passwd root 28 | 29 | pkg savelog shadow 30 | -------------------------------------------------------------------------------- /01_lfs/06/6.26_build_psmisc.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf psmisc*.gz 3 | cd psmisc* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | ./configure --prefix=/usr 8 | make 9 | make install 10 | mv -v /usr/bin/fuser /bin 11 | mv -v /usr/bin/killall /bin 12 | 13 | pkg savelog psmisc 14 | -------------------------------------------------------------------------------- /01_lfs/06/6.27_build_procps_ng.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf procps-ng*.xz 3 | cd procps* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | ./configure --prefix=/usr \ 8 | --exec-prefix= \ 9 | --libdir=/usr/lib \ 10 | --docdir=/usr/share/doc/procps-ng-3.3.9 \ 11 | --disable-static \ 12 | --disable-kill 13 | 14 | make 15 | make install 16 | 17 | mv -v /usr/bin/pidof /bin 18 | mv -v /usr/lib/libprocps.so.* /lib 19 | ln -sfv ../../lib/$(readlink /usr/lib/libprocps.so) /usr/lib/libprocps.so 20 | 21 | pkg savelog procps-ng 22 | -------------------------------------------------------------------------------- /01_lfs/06/6.28_build_e2fsprogs.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf e2fsprogs*.gz 3 | cd e2fsprogs* 4 | 5 | mkdir -v build 6 | cd build 7 | 8 | pkg watch /mnt/lfs 9 | 10 | LIBS=-L/tools/lib \ 11 | CFLAGS=-I/tools/include \ 12 | PKG_CONFIG_PATH=/tools/lib/pkgconfig \ 13 | ../configure --prefix=/usr \ 14 | --bindir=/bin \ 15 | --with-root-prefix="" \ 16 | --enable-elf-shlibs \ 17 | --disable-libblkid \ 18 | --disable-libuuid \ 19 | --disable-uuidd \ 20 | --disable-fsck 21 | make 22 | 23 | make install 24 | make install-libs 25 | 26 | chmod -v u+w /usr/lib/{libcom_err,libe2p,libext2fs,libss}.a 27 | 28 | pkg savelog e2fsprogs 29 | -------------------------------------------------------------------------------- /01_lfs/06/6.29_build_coreutils.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | #tar xvf coreutils*.xz 3 | cd coreutils* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | patch -Np1 -i ../coreutils-8.23-i18n-1.patch && 8 | touch Makefile.in 9 | 10 | FORCE_UNSAFE_CONFIGURE=1 ./configure \ 11 | --prefix=/usr \ 12 | --enable-no-install-program=kill,uptime 13 | #make 14 | make install 15 | 16 | /tools/bin/mv -v /usr/bin/{cat,chgrp,chmod,chown,cp,date,dd,df,echo} /bin 17 | /tools/bin/mv -v /usr/bin/{false,ln,ls,mkdir,mknod,mv,pwd,rm} /bin 18 | /tools/bin/mv -v /usr/bin/{rmdir,stty,sync,true,uname} /bin 19 | /tools/bin/mv -v /usr/bin/chroot /usr/sbin 20 | /tools/bin/mv -v /usr/share/man/man1/chroot.1 /usr/share/man/man8/chroot.8 21 | sed -i s/\"1\"/\"8\"/1 /usr/share/man/man8/chroot.8 22 | /tools/bin/mv -v /usr/bin/{head,sleep,nice,test,[} /bin 23 | 24 | pkg savelog coreutils 25 | -------------------------------------------------------------------------------- /01_lfs/06/6.30_build_iana_etc.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf iana-etc*.bz2 3 | cd iana* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | make 8 | make install 9 | 10 | pkg savelog iana-etc 11 | -------------------------------------------------------------------------------- /01_lfs/06/6.31_build_m4.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf m4*.xz 3 | cd m4* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | ./configure --prefix=/usr 8 | make 9 | 10 | make install 11 | 12 | pkg savelog m4 13 | -------------------------------------------------------------------------------- /01_lfs/06/6.32_build_flex.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar jxvf flex*.bz2 3 | cd flex* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | ./configure --prefix=/usr --docdir=/usr/share/doc/flex-2.5.39 8 | make 9 | 10 | make install 11 | ln -sv flex /usr/bin/lex 12 | 13 | pkg savelog flex 14 | -------------------------------------------------------------------------------- /01_lfs/06/6.33_build_bison.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf bison*.xz 3 | cd bison* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | ./configure --prefix=/usr 8 | 9 | make 10 | make install 11 | 12 | pkg savelog bison 13 | -------------------------------------------------------------------------------- /01_lfs/06/6.34_build_grep.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf grep*.xz 3 | cd grep* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | ./configure --prefix=/usr --bindir=/bin 8 | make 9 | make install 10 | 11 | pkg savelog grep 12 | -------------------------------------------------------------------------------- /01_lfs/06/6.35_build_readline.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf readline*.gz 3 | cd readline* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | patch -Np1 -i ../readline-6.3-upstream_fixes-2.patch 8 | sed -i '/MV.*old/d' Makefile.in 9 | sed -i '/{OLDSUFF}/c:' support/shlib-install 10 | 11 | ./configure --prefix=/usr --docdir=/usr/share/doc/readline-6.3 12 | make SHLIB_LIBS=-lncurses 13 | 14 | make SHLIB_LIBS=-lncurses install 15 | mv -v /usr/lib/lib{readline,history}.so.* /lib 16 | ln -sfv ../../lib/$(readlink /usr/lib/libreadline.so) /usr/lib/libreadline.so 17 | ln -sfv ../../lib/$(readlink /usr/lib/libhistory.so ) /usr/lib/libhistory.so 18 | 19 | pkg savelog readline 20 | -------------------------------------------------------------------------------- /01_lfs/06/6.36_build_bash.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf bash*.gz 3 | cd bash* 4 | 5 | pkg watch /mnt/lfs 6 | patch -Np1 -i ../bash-4.3-upstream_fixes-3.patch 7 | ./configure --prefix=/usr \ 8 | --bindir=/bin \ 9 | --docdir=/usr/share/doc/bash-4.3 \ 10 | --without-bash-malloc \ 11 | --with-installed-readline 12 | 13 | make 14 | make install 15 | 16 | pkg savelog bash 17 | -------------------------------------------------------------------------------- /01_lfs/06/6.37_build_bc.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf bc*.bz2 3 | cd bc* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | patch -Np1 -i ../bc-1.06.95-memory_leak-1.patch 8 | 9 | ./configure --prefix=/usr \ 10 | --with-readline \ 11 | --mandir=/usr/share/man \ 12 | --infodir=/usr/share/info 13 | 14 | make 15 | make install 16 | 17 | pkg savelog bc 18 | -------------------------------------------------------------------------------- /01_lfs/06/6.38_build_libtools.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf libtool*.gz 3 | cd libtool* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | ./configure --prefix=/usr 8 | make 9 | make install 10 | 11 | pkg savelog libtool 12 | -------------------------------------------------------------------------------- /01_lfs/06/6.39_build_gdbm.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf gdbm*.gz 3 | cd gdbm* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | ./configure --prefix=/usr --enable-libgdbm-compat 8 | make 9 | make install 10 | 11 | pkg savelog gdbm 12 | -------------------------------------------------------------------------------- /01_lfs/06/6.40_build_expat.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf expat*.gz 3 | cd expat* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | ./configure --prefix=/usr 8 | make 9 | make install 10 | 11 | pkg savelog expat 12 | -------------------------------------------------------------------------------- /01_lfs/06/6.41_build_inetutils.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf inetutils*.gz 3 | cd inetutils* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | echo '#define PATH_PROCNET_DEV "/proc/net/dev"' >> ifconfig/system/linux.h 8 | 9 | ./configure --prefix=/usr \ 10 | --localstatedir=/var \ 11 | --disable-logger \ 12 | --disable-whois \ 13 | --disable-servers 14 | make 15 | make install 16 | 17 | mv -v /usr/bin/{hostname,ping,ping6,traceroute} /bin 18 | mv -v /usr/bin/ifconfig /sbin 19 | 20 | pkg savelog inetutils 21 | -------------------------------------------------------------------------------- /01_lfs/06/6.42_build_perl.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar jxvf perl*.bz2 3 | cd perl* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | export BUILD_ZLIB=False 8 | export BUILD_BZIP2=0 9 | 10 | sh Configure -des -Dprefix=/usr \ 11 | -Dvendorprefix=/usr \ 12 | -Dman1dir=/usr/share/man/man1 \ 13 | -Dman3dir=/usr/share/man/man3 \ 14 | -Dpager="/usr/bin/less -isR" \ 15 | -Duseshrplib 16 | 17 | make 18 | 19 | make install 20 | unset BUILD_ZLIB BUILD_BZIP2 21 | 22 | pkg savelog perl 23 | -------------------------------------------------------------------------------- /01_lfs/06/6.43_build_xml-parser.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf XML-Parser*.tar.gz 3 | cd XML* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | perl Makefile.PL 8 | make 9 | make install 10 | 11 | pkg savelog xml-parser 12 | -------------------------------------------------------------------------------- /01_lfs/06/6.44_build_autoconf.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf autoconf*.xz 3 | cd autoconf* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | ./configure --prefix=/usr 8 | 9 | make 10 | make install 11 | 12 | pkg savelog autoconf 13 | -------------------------------------------------------------------------------- /01_lfs/06/6.45_build_automake.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf automake*.xz 3 | cd automake* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | ./configure --prefix=/usr --docdir=/usr/share/doc/automake-1.14.1 8 | 9 | make 10 | make install 11 | 12 | pkg savelog automake 13 | -------------------------------------------------------------------------------- /01_lfs/06/6.46_build_diffutils.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf diffutils*.xz 3 | cd diffutils* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | sed -i 's:= @mkdir_p@:= /bin/mkdir -p:' po/Makefile.in.in 8 | ./configure --prefix=/usr 9 | make 10 | make install 11 | 12 | pkg savelog diffutils 13 | -------------------------------------------------------------------------------- /01_lfs/06/6.47_build_gawk.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf gawk*.xz 3 | cd gawk* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | ./configure --prefix=/usr 8 | make 9 | make install 10 | 11 | pkg savelog gawk 12 | -------------------------------------------------------------------------------- /01_lfs/06/6.48_build_findutils.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf findutils*.gz 3 | cd findutils* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | ./configure --prefix=/usr --localstatedir=/var/lib/locate 8 | 9 | make 10 | make install 11 | 12 | mv -v /usr/bin/find /bin 13 | sed -i 's|find:=${BINDIR}|find:=/bin|' /usr/bin/updatedb 14 | 15 | pkg savelog findutils 16 | -------------------------------------------------------------------------------- /01_lfs/06/6.49_build_gettext.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf gettext*.xz 3 | cd gettext* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | ./configure --prefix=/usr \ 8 | --docdir=/usr/share/doc/gettext-0.19.2 9 | make 10 | make install 11 | 12 | pkg savelog gettext 13 | -------------------------------------------------------------------------------- /01_lfs/06/6.50_build_intltool.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf intltool*.gz 3 | cd intltool* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | ./configure --prefix=/usr 8 | make 9 | make install 10 | 11 | pkg savelog intltool 12 | -------------------------------------------------------------------------------- /01_lfs/06/6.51_build_gperf.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf gperf*.gz 3 | cd gperf* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | ./configure --prefix=/usr --docdir=/usr/share/doc/gperf-3.0.4 8 | make 9 | make install 10 | 11 | pkg savelog gperf 12 | -------------------------------------------------------------------------------- /01_lfs/06/6.52_build_groff.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf groff*.gz 3 | cd groff* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | # set page size to A4 default. 8 | PAGE=A4 ./configure --prefix=/usr 9 | 10 | make 11 | make install 12 | 13 | pkg savelog groff 14 | -------------------------------------------------------------------------------- /01_lfs/06/6.53_build_xz.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf xz*.xz 3 | cd xz* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | ./configure --prefix=/usr --docdir=/usr/share/doc/xz-5.0.5 8 | make 9 | make install 10 | 11 | mv -v /usr/bin/{lzma,unlzma,lzcat,xz,unxz,xzcat} /bin 12 | mv -v /usr/lib/liblzma.so.* /lib 13 | ln -svf ../../lib/$(readlink /usr/lib/liblzma.so) /usr/lib/liblzma.so 14 | 15 | pkg savelog xz 16 | -------------------------------------------------------------------------------- /01_lfs/06/6.54_build_grub.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf grub*.xz 3 | cd grub* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | sed -i -e '/gets is a/d' grub-core/gnulib/stdio.in.h 8 | ./configure --prefix=/usr \ 9 | --sbindir=/sbin \ 10 | --sysconfdir=/etc \ 11 | --disable-grub-emu-usb \ 12 | --disable-efiemu \ 13 | --disable-werror 14 | make 15 | make install 16 | 17 | pkg savelog grub 18 | -------------------------------------------------------------------------------- /01_lfs/06/6.55_build_less.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf less*.gz 3 | cd less* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | ./configure --prefix=/usr --sysconfdir=/etc 8 | 9 | make 10 | make install 11 | 12 | pkg savelog less 13 | -------------------------------------------------------------------------------- /01_lfs/06/6.56_build_gzip.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf gzip*.xz 3 | cd gzip* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | ./configure --prefix=/usr --bindir=/bin 8 | make 9 | make install 10 | 11 | mv -v /bin/{gzexe,uncompress,zcmp,zdiff,zegrep} /usr/bin 12 | mv -v /bin/{zfgrep,zforce,zgrep,zless,zmore,znew} /usr/bin 13 | 14 | pkg savelog gzip 15 | -------------------------------------------------------------------------------- /01_lfs/06/6.57_build_iproute.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf iproute*.xz 3 | cd iproute* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | sed -i '/^TARGETS/s@arpd@@g' misc/Makefile 8 | sed -i /ARPD/d Makefile 9 | sed -i 's/arpd.8//' man/man8/Makefile 10 | 11 | make 12 | make DOCDIR=/usr/share/doc/iproute2-3.16.0 install 13 | 14 | pkg savelog iproute2 15 | -------------------------------------------------------------------------------- /01_lfs/06/6.58_build_kbd.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf kbd*.gz 3 | cd kbd* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | patch -Np1 -i ../kbd-2.0.2-backspace-1.patch 8 | sed -i 's/\(RESIZECONS_PROGS=\)yes/\1no/g' configure 9 | sed -i 's/resizecons.8 //' docs/man/man8/Makefile.in 10 | 11 | PKG_CONFIG_PATH=/tools/lib/pkgconfig ./configure --prefix=/usr --disable-vlock 12 | 13 | make 14 | make install 15 | 16 | pkg savelog kbd 17 | -------------------------------------------------------------------------------- /01_lfs/06/6.59_build_kmod.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf kmod*.xz 3 | cd kmod* 4 | 5 | pkg watch /mnt/lfs/ 6 | 7 | ./configure --prefix=/usr \ 8 | --bindir=/bin \ 9 | --sysconfdir=/etc \ 10 | --with-rootlibdir=/lib \ 11 | --with-xz \ 12 | --with-zlib 13 | 14 | make 15 | make install 16 | 17 | for target in depmod insmod modinfo modprobe rmmod; do 18 | ln -sv ../bin/kmod /sbin/$target 19 | done 20 | 21 | ln -sv kmod /bin/lsmod 22 | 23 | pkg savelog kmod 24 | -------------------------------------------------------------------------------- /01_lfs/06/6.60_build_libpipeline.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf libpipeline*.gz 3 | cd libpi* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | PKG_CONFIG_PATH=/tools/lib/pkgconfig ./configure --prefix=/usr 8 | 9 | make 10 | make install 11 | 12 | pkg savelog libpipeline 13 | -------------------------------------------------------------------------------- /01_lfs/06/6.61_build_make.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar jxvf make*.bz2 3 | cd make* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | ./configure --prefix=/usr 8 | make 9 | make install 10 | 11 | pkg savelog make 12 | -------------------------------------------------------------------------------- /01_lfs/06/6.62_build_patch.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf patch*.xz 3 | cd patch* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | ./configure --prefix=/usr 8 | make 9 | make install 10 | 11 | pkg savelog patch 12 | -------------------------------------------------------------------------------- /01_lfs/06/6.63_build_sysklogd.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf sysklogd*.gz 3 | cd sysklogd* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | sed -i '/Error loading kernel symbols/{n;n;d}' ksym_mod.c 8 | make 9 | make BINDIR=/sbin install 10 | 11 | cat > /etc/syslog.conf << "EOF" 12 | # Begin /etc/syslog.conf 13 | 14 | auth,authpriv.* -/var/log/auth.log 15 | *.*;auth,authpriv.none -/var/log/sys.log 16 | daemon.* -/var/log/daemon.log 17 | kern.* -/var/log/kern.log 18 | mail.* -/var/log/mail.log 19 | user.* -/var/log/user.log 20 | *.emerg * 21 | 22 | # End /etc/syslog.conf 23 | EOF 24 | 25 | pkg savelog sysklogd 26 | -------------------------------------------------------------------------------- /01_lfs/06/6.64.3_strip.sh: -------------------------------------------------------------------------------- 1 | # this file run in chroot env. 2 | /tools/bin/find /{,usr/}{bin,lib,sbin} -type f \ 3 | -exec /tools/bin/strip --strip-debug '{}' ';' 4 | -------------------------------------------------------------------------------- /01_lfs/06/6.64_build_sysvinit.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf sysvinit*bz2 3 | cd sysvinit* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | patch -Np1 -i ../sysvinit-2.88dsf-consolidated-1.patch 8 | 9 | make -C src 10 | make -C src install 11 | 12 | pkg savelog sysvinit 13 | -------------------------------------------------------------------------------- /01_lfs/06/6.65_build_tar.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf tar*.xz 3 | cd tar* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | FORCE_UNSAFE_CONFIGURE=1 \ 8 | ./configure --prefix=/usr \ 9 | --bindir=/bin 10 | make 11 | make install 12 | 13 | pkg savelog tar 14 | -------------------------------------------------------------------------------- /01_lfs/06/6.66_build_texinfo.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf texinfo*.xz 3 | cd texinfo* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | ./configure --prefix=/usr 8 | make 9 | make install 10 | 11 | pkg savelog texinfo 12 | -------------------------------------------------------------------------------- /01_lfs/06/6.67_build_eudev.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar -xvf eudev*.gz 3 | cd eudev* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | BLKID_CFLAGS=-I/tools/include \ 8 | BLKID_LIBS='-L/tools/lib -lblkid' \ 9 | ./configure --prefix=/usr \ 10 | --bindir=/sbin \ 11 | --sbindir=/sbin \ 12 | --libdir=/usr/lib \ 13 | --sysconfdir=/etc \ 14 | --libexecdir=/lib \ 15 | --with-rootprefix= \ 16 | --with-rootlibdir=/lib \ 17 | --enable-split-usr \ 18 | --enable-libkmod \ 19 | --enable-rule_generator \ 20 | --enable-keymap \ 21 | --disable-introspection \ 22 | --disable-gudev \ 23 | --disable-gtk-doc-html \ 24 | --with-firmware-path=/lib/firmware 25 | 26 | make 27 | 28 | mkdir -pv /lib/{firmware,udev} 29 | mkdir -pv /lib/udev/rules.d 30 | mkdir -pv /etc/udev/rules.d 31 | 32 | make install 33 | 34 | tar -xvf ../udev-lfs-20140408.tar.bz2 35 | make -f udev-lfs-20140408/Makefile.lfs install 36 | 37 | pkg savelog eudev 38 | -------------------------------------------------------------------------------- /01_lfs/06/6.68_build_util_linux.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf util-linux*.tar.xz 3 | cd util* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | mkdir -pv /var/lib/hwclock 8 | 9 | ./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \ 10 | --docdir=/usr/share/doc/util-linx-2.25.1 11 | make 12 | make install 13 | 14 | pkg savelog util-linux 15 | -------------------------------------------------------------------------------- /01_lfs/06/6.69_build_mandb.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf man-db*.xz 3 | cd man-db* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | ./configure --prefix=/usr \ 8 | --docdir=/usr/share/doc/man-db-2.6.7.1 \ 9 | --sysconfdir=/etc \ 10 | --disable-setuid \ 11 | --with-browser=/usr/bin/lynx \ 12 | --with-vgrind=/usr/bin/vgrind \ 13 | --with-grap=/usr/bin/grap 14 | make 15 | make install 16 | 17 | pkg savelog man-db 18 | -------------------------------------------------------------------------------- /01_lfs/06/6.70_build_vim.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf vim*.bz2 3 | cd vim74 4 | 5 | pkg watch /mnt/lfs 6 | 7 | echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h 8 | ./configure --prefix=/usr --enable-multibyte 9 | make 10 | make install 11 | 12 | ln -sv vim /usr/bin/vi 13 | ln -sv ../vim/vim74/doc /usr/share/doc/vim-7.4 14 | 15 | cat > /etc/vimrc << "EOF" 16 | " Begin /etc/vimrc 17 | 18 | set nocompatible 19 | set backspace=2 20 | syntax on 21 | if (&term == "iterm") || (&term == "putty") 22 | set background=dark 23 | endif 24 | 25 | " End /etc/vimrc 26 | EOF 27 | 28 | pkg savelog vim 29 | -------------------------------------------------------------------------------- /01_lfs/06/6.73.1_logout.sh: -------------------------------------------------------------------------------- 1 | echo "logout from the chroot env and then run 6.73.2_chroot.sh"; 2 | -------------------------------------------------------------------------------- /01_lfs/06/6.73.2_chroot.sh: -------------------------------------------------------------------------------- 1 | # this is run out chroot. 2 | sudo chroot "$LFS" /usr/bin/env -i \ 3 | HOME=/root TERM="$TERM" PS1='\u:\w\$ ' \ 4 | PATH=/bin:/usr/bin:/sbin:/usr/sbin \ 5 | /bin/bash --login 6 | -------------------------------------------------------------------------------- /01_lfs/06/6.74_cleanup.sh: -------------------------------------------------------------------------------- 1 | rm -frv /tmp/* 2 | -------------------------------------------------------------------------------- /01_lfs/07/7.00_chroot.sh: -------------------------------------------------------------------------------- 1 | sudo mount -v --bind /dev $LFS/dev 2 | 3 | sudo mount -vt devpts devpts $LFS/dev/pts 4 | sudo mount -vt proc proc $LFS/proc 5 | sudo mount -vt sysfs sysfs $LFS/sys 6 | 7 | sudo chroot "$LFS" /usr/bin/env -i \ 8 | HOME=/root TERM="$TERM" PS1='\u:\w\$ ' \ 9 | PATH=/bin:/usr/bin:/sbin:/usr/sbin \ 10 | /bin/bash --login 11 | -------------------------------------------------------------------------------- /01_lfs/07/7.01_linkphp.sh: -------------------------------------------------------------------------------- 1 | # In chapter, the tools is removed from the path. 2 | # link php to /usr/bin to make pkg work 3 | ln -s /tools/bin/php /usr/bin/php 4 | -------------------------------------------------------------------------------- /01_lfs/07/7.02_install_bootstrips.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf lfs-bootscripts*bz2 3 | cd lfs-bootscripts* 4 | 5 | pkg watch /mnt/lfs 6 | make install 7 | pkg savelog lfs-bootscripts 8 | -------------------------------------------------------------------------------- /01_lfs/07/7.05_network.sh: -------------------------------------------------------------------------------- 1 | cd /tmp/ 2 | pkg watch /mnt/lfs 3 | 4 | # create net rules. 5 | bash /lib/udev/init-net-rules.sh 6 | 7 | # create net config file. 8 | cat > /etc/sysconfig/ifconfig.eth0 << "EOF" 9 | ONBOOT=yes 10 | IFACE=eth0 11 | SERVICE=ipv4-static 12 | IP=10.0.2.15 13 | GATEWAY=10.0.2.2 14 | PREFIX=24 15 | BROADCAST=10.0.2.255 16 | EOF 17 | 18 | # set resolv.conf file. 19 | cat > /etc/resolv.conf << "EOF" 20 | domain zos 21 | nameserver 223.6.6.6 22 | nameserver 223.5.5.5 23 | EOF 24 | 25 | # set hosts file. 26 | cat > /etc/hosts << "EOF" 27 | 127.0.0.1 localhost 28 | EOF 29 | 30 | # set hostname. 31 | echo "zos" > /etc/hostname 32 | 33 | pkg savelog network-config 34 | -------------------------------------------------------------------------------- /01_lfs/07/7.07_create_profile.sh: -------------------------------------------------------------------------------- 1 | cat > /etc/profile << "EOF" 2 | export LANG=en_US.UTF-8 3 | export LC_ALL=C 4 | export SVN_EDITOR="/usr/bin/vim" 5 | PROMPT_COMMAND='echo -ne "\033]0;`hostname`:`basename $PWD`\\007"' 6 | PS1='[\u@\h:\w\$] ' 7 | EOF 8 | -------------------------------------------------------------------------------- /01_lfs/07/7.08_create_inputrc.sh: -------------------------------------------------------------------------------- 1 | cat > /etc/inputrc << "EOF" 2 | # Begin /etc/inputrc 3 | # Modified by Chris Lynn 4 | 5 | # Allow the command prompt to wrap to the next line 6 | set horizontal-scroll-mode Off 7 | 8 | # Enable 8bit input 9 | set meta-flag On 10 | set input-meta On 11 | 12 | # Turns off 8th bit stripping 13 | set convert-meta Off 14 | 15 | # Keep the 8th bit for display 16 | set output-meta On 17 | 18 | # none, visible or audible 19 | set bell-style none 20 | 21 | # All of the following map the escape sequence of the value 22 | # contained in the 1st argument to the readline specific functions 23 | "\eOd": backward-word 24 | "\eOc": forward-word 25 | 26 | # for linux console 27 | "\e[1~": beginning-of-line 28 | "\e[4~": end-of-line 29 | "\e[5~": beginning-of-history 30 | "\e[6~": end-of-history 31 | "\e[3~": delete-char 32 | "\e[2~": quoted-insert 33 | 34 | # for xterm 35 | "\eOH": beginning-of-line 36 | "\eOF": end-of-line 37 | 38 | # for Konsole 39 | "\e[H": beginning-of-line 40 | "\e[F": end-of-line 41 | 42 | # End /etc/inputrc 43 | EOF 44 | -------------------------------------------------------------------------------- /01_lfs/08/8.01_create_fstab.sh: -------------------------------------------------------------------------------- 1 | cat > /etc/fstab << "EOF" 2 | #fs mount-point type options dump fsck 3 | /dev/sda1 / ext4 defaults 1 1 4 | proc /proc proc nosuid,noexec,nodev 0 0 5 | sysfs /sys sysfs nosuid,noexec,nodev 0 0 6 | devpts /dev/pts devpts gid=5,mode=620 0 0 7 | tmpfs /run tmpfs defaults 0 0 8 | devtmpfs /dev devtmpfs mode=0755,nosuid 0 0 9 | EOF 10 | -------------------------------------------------------------------------------- /01_lfs/08/8.03_build_kernel.sh: -------------------------------------------------------------------------------- 1 | cd /sources/ 2 | tar xvf linux*.tar.xz 3 | cd linux* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | make mrproper 8 | make LANG=en_US.UTF-8 LC_ALL= menuconfig 9 | make 10 | 11 | make modules_install 12 | cp -v arch/x86/boot/bzImage /boot/vmlinuz-3.16.2-lfs-7.6 13 | cp -v .config /boot/config-3.16.2 14 | 15 | install -v -m755 -d /etc/modprobe.d 16 | cat > /etc/modprobe.d/usb.conf << "EOF" 17 | # Begin /etc/modprobe.d/usb.conf 18 | 19 | install ohci_hcd /sbin/modprobe ehci_hcd ; /sbin/modprobe -i ohci_hcd ; true 20 | install uhci_hcd /sbin/modprobe ehci_hcd ; /sbin/modprobe -i uhci_hcd ; true 21 | 22 | # End /etc/modprobe.d/usb.conf 23 | EOF 24 | 25 | pkg savelog kernel 26 | -------------------------------------------------------------------------------- /01_lfs/08/8.04_install_grub.sh: -------------------------------------------------------------------------------- 1 | cd /tmp/ 2 | pkg watch /mnt/lfs 3 | grub-install /dev/sdb 4 | cat > /boot/grub/grub.cfg << "EOF" 5 | set default=0 6 | set timeout=5 7 | insmod ext2 8 | set root=(hd0,1) 9 | menuentry "zos 1.1(build from LFS 7.6)" { 10 | linux /boot/vmlinuz-3.16.2-lfs-7.6 root=/dev/sda1 ro 11 | } 12 | EOF 13 | 14 | pkg savelog grub-config 15 | -------------------------------------------------------------------------------- /02_blfs/00_prepare/01_mount_source.sh: -------------------------------------------------------------------------------- 1 | sudo mount /dev/sdd1 /sources 2 | -------------------------------------------------------------------------------- /02_blfs/00_prepare/02_down_blfs_boot_scripts.sh: -------------------------------------------------------------------------------- 1 | sudo mkdir /sources/blfs 2 | sudo chown 1000:1000 /sources/blfs 3 | cd /sources/blfs 4 | wget http://www.linuxfromscratch.org/blfs/downloads/7.6/blfs-bootscripts-20140919.tar.bz2 5 | tar xvf blfs-bootscripts*.tar.bz2 6 | -------------------------------------------------------------------------------- /02_blfs/00_prepare/03_down_packages.sh: -------------------------------------------------------------------------------- 1 | wget -c -i packagelist -P /mnt/lfs/sources/blfs 2 | -------------------------------------------------------------------------------- /02_blfs/00_prepare/04_down_md5.sh: -------------------------------------------------------------------------------- 1 | grep linuxfromscratch packagelist |awk '{print $0".md5sum"}'|xargs curl > /mnt/lfs/sources/blfs/md5sums 2 | -------------------------------------------------------------------------------- /02_blfs/00_prepare/05_check_md5.sh: -------------------------------------------------------------------------------- 1 | cd /mnt/lfs/sources/blfs/ 2 | md5sum -c md5sums 3 | -------------------------------------------------------------------------------- /02_blfs/00_prepare/06_chroot.sh: -------------------------------------------------------------------------------- 1 | sudo mkdir -pv $LFS/{dev,proc,sys,run} 2 | sudo mknod -m 600 $LFS/dev/console c 5 1 3 | sudo mknod -m 666 $LFS/dev/null c 1 3 4 | sudo mount -v --bind /dev $LFS/dev 5 | sudo mount -vt devpts devpts $LFS/dev/pts -o gid=5,mode=620 6 | sudo mount -vt proc proc $LFS/proc 7 | sudo mount -vt sysfs sysfs $LFS/sys 8 | sudo mount -vt tmpfs tmpfs $LFS/run 9 | if [ -h $LFS/dev/shm ]; then 10 | sudo mkdir -pv $LFS/$(readlink $LFS/dev/shm) 11 | fi 12 | 13 | # this is run out chroot. 14 | sudo chroot "$LFS" /usr/bin/env -i \ 15 | HOME=/root TERM="$TERM" PS1='\u:\w\$ ' \ 16 | PATH=/bin:/usr/bin:/sbin:/usr/sbin \ 17 | /bin/bash --login 18 | -------------------------------------------------------------------------------- /02_blfs/00_prepare/readme.txt: -------------------------------------------------------------------------------- 1 | run this shells in the host. 2 | -------------------------------------------------------------------------------- /02_blfs/01_basic/1.01_build_openssh.sh: -------------------------------------------------------------------------------- 1 | cd /sources/blfs 2 | tar xvf openssl*.tar.gz 3 | cd openssl* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | patch -Np1 -i ../openssl-1.0.1i-fix_parallel_build-1.patch && 8 | 9 | ./config --prefix=/usr \ 10 | --openssldir=/etc/ssl \ 11 | --libdir=lib \ 12 | shared \ 13 | zlib-dynamic && 14 | make 15 | 16 | make MANDIR=/usr/share/man MANSUFFIX=ssl install && 17 | install -dv -m755 /usr/share/doc/openssl-1.0.1i && 18 | 19 | pkg savelog openssl 20 | -------------------------------------------------------------------------------- /02_blfs/01_basic/1.03_build_net_tools.sh: -------------------------------------------------------------------------------- 1 | cd /sources/blfs/ 2 | tar xvf net-tools*.tar.gz 3 | cd net-tools* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | patch -Np1 -i ../net-tools-CVS_20101030-remove_dups-1.patch && 8 | 9 | yes "" | make config && 10 | make 11 | 12 | make update 13 | 14 | pkg savelog net-tools 15 | -------------------------------------------------------------------------------- /02_blfs/01_basic/1.04_build_unzip.sh: -------------------------------------------------------------------------------- 1 | cd /sources/blfs 2 | tar xvf unzip*.tar.gz 3 | cd unzip* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | case `uname -m` in 8 | i?86) 9 | sed -i -e 's/DASM_CRC"/DASM_CRC -DNO_LCHMOD"/' unix/Makefile 10 | make -f unix/Makefile linux 11 | ;; 12 | *) 13 | sed -i -e 's/CFLAGS="-O -Wall/& -DNO_LCHMOD/' unix/Makefile 14 | make -f unix/Makefile linux_noasm 15 | ;; 16 | esac 17 | 18 | make prefix=/usr MANDIR=/usr/share/man/man1 install 19 | 20 | pkg savelog unzip 21 | -------------------------------------------------------------------------------- /02_blfs/01_basic/1.05_build_wget.sh: -------------------------------------------------------------------------------- 1 | cd /sources/blfs 2 | tar xvf wget*.tar.xz 3 | cd wget* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | ./configure --prefix=/usr \ 8 | --sysconfdir=/etc \ 9 | --with-ssl=openssl && 10 | make 11 | make install 12 | 13 | echo ca-directory=/etc/ssl/certs >> /etc/wgetrc 14 | 15 | pkg savelog wget 16 | -------------------------------------------------------------------------------- /02_blfs/01_basic/1.06_build_cron.sh: -------------------------------------------------------------------------------- 1 | groupadd -g 25 vxicron && 2 | useradd -c "Vixie cron User" -d /dev/null -u 25 -g vxicron -s /bin/false vxicron 3 | 4 | cd /sources/blfs 5 | mkdir cron_4.1 6 | cd cron_4.1 7 | sh < ../cron*.shar 8 | 9 | pkg watch /mnt/lfs 10 | 11 | sed -i 's@/usr/ucb/vi@/usr/bin/vim@' pathnames.h && 12 | echo '#define CRON_GROUP "vxicron"' >> config.h && 13 | make 14 | make install 15 | 16 | cd ../blfs-bootscript* 17 | sed -i 's/fcron/cron/g' blfs/init.d/fcron 18 | mv blfs/init.d/fcron blfs/init.d/cron 19 | sed -i 's/fcron/cron/g' Makefile 20 | make install-cron 21 | 22 | mkdir /var/cron 23 | touch /var/cron/cron.allow 24 | touch /var/cron/cron.deny 25 | echo z > /var/cron/cron.allow 26 | 27 | cd - 28 | pkg savelog vixiecron 29 | -------------------------------------------------------------------------------- /02_blfs/01_basic/1.07_build_lrzsz.sh: -------------------------------------------------------------------------------- 1 | cd /sources/blfs 2 | tar xvf lrzsz*.tar.gz 3 | cd lrzsz* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | ./configure --prefix=/usr 8 | make 9 | make install 10 | ln -s /usr/bin/lrz /usr/bin/rz 11 | ln -s /usr/bin/lsz /usr/bin/sz 12 | 13 | pkg savelog lrzsz 14 | -------------------------------------------------------------------------------- /02_blfs/01_basic/1.08_build_ctags.sh: -------------------------------------------------------------------------------- 1 | cd /sources/blfs 2 | tar xvf ctags*.tar.gz 3 | cd ctags* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | ./configure --prefix=/usr 8 | make 9 | make install 10 | 11 | pkg savelog ctags 12 | -------------------------------------------------------------------------------- /02_blfs/01_basic/1.09_build_acpid.sh: -------------------------------------------------------------------------------- 1 | cd /sources/blfs 2 | tar xvf acpid*.tar.xz 3 | cd acpid* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | ./configure --prefix=/usr --docdir=/usr/share/doc/acpid-2.0.23 && 8 | make 9 | 10 | make install && 11 | install -v -m755 -d /etc/acpi/events 12 | 13 | cat > power << "EOF" 14 | event=button/power 15 | action=/etc/acpi/power.sh 16 | EOF 17 | mv power /etc/acpi/events/ 18 | 19 | cat > power.sh << "EOF" 20 | #!/bin/sh 21 | /sbin/shutdown -h now "Power button pressed" 22 | EOF 23 | 24 | mv power.sh /etc/acpi/ 25 | 26 | chmod +x /etc/acpi/power.sh 27 | 28 | cd ../blfs-boot* 29 | make install-acpid 30 | 31 | cd - 32 | pkg savelog acpid 33 | -------------------------------------------------------------------------------- /02_blfs/01_basic/1.10_build_dhcpd.sh: -------------------------------------------------------------------------------- 1 | pwd=`pwd` 2 | 3 | cd /sources/blfs 4 | tar xvf dhcpcd*.tar.bz2 5 | cd dhcp* 6 | 7 | pkg watch /mnt/lfs 8 | 9 | ./configure --libexecdir=/lib/dhcpcd \ 10 | --dbdir=/var/tmp && 11 | make 12 | 13 | make install 14 | 15 | cd ../blfs-boot* 16 | make install-service-dhcpcd 17 | 18 | cat > ifconfig << "EOF" 19 | ONBOOT="yes" 20 | IFACE="eth0" 21 | SERVICE="dhcpcd" 22 | DHCP_START="-b -q" 23 | DHCP_STOP="-k" 24 | EOF 25 | 26 | ifconfig=`ls /etc/sysconfig/ifconfig*` 27 | mv ifconfig $ifconfig 28 | cp -v $pwd/setnic /etc/init.d/ 29 | cd /etc/rc.d/rc3.d/ 30 | ln -s ../../init.d/setnic ./S15setnic 31 | 32 | cd /sources/blfs/dhcp* 33 | pkg savelog dhcpcd 34 | -------------------------------------------------------------------------------- /02_blfs/01_basic/1.11_build_ntp.sh: -------------------------------------------------------------------------------- 1 | cd /sources/blfs 2 | tar xvf ntp*.tar.gz 3 | cd ntp* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | groupadd -g 87 ntp && 8 | useradd -c "Network Time Protocol" -d /var/lib/ntp -u 87 \ 9 | -g ntp -s /bin/false ntp 10 | 11 | ./configure --prefix=/usr \ 12 | --sysconfdir=/etc \ 13 | --enable-linuxcaps \ 14 | --with-binsubdir=sbin \ 15 | --with-lineeditlibs=readline && 16 | make 17 | 18 | make install && 19 | install -v -o ntp -g ntp -d /var/lib/ntp 20 | 21 | cat > /etc/ntp.conf << "EOF" 22 | server 0.asia.pool.ntp.org 23 | server 0.oceania.pool.ntp.org 24 | server 0.europe.pool.ntp.org 25 | server 0.north-america.pool.ntp.org 26 | server 2.south-america.pool.ntp.org 27 | driftfile /var/cache/ntp.drift 28 | pidfile /var/run/ntpd.pid 29 | EOF 30 | 31 | cd ../blfs-boot* 32 | make install-ntpd 33 | 34 | cd - 35 | pkg savelog ntp 36 | -------------------------------------------------------------------------------- /02_blfs/01_basic/1.12_build_curl.sh: -------------------------------------------------------------------------------- 1 | cd /sources/blfs 2 | tar xvf curl*.tar.bz2 3 | cd curl* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | ./configure --prefix=/usr \ 8 | --disable-static \ 9 | --enable-threaded-resolver && 10 | make 11 | make install 12 | 13 | pkg savelog curl 14 | -------------------------------------------------------------------------------- /02_blfs/01_basic/1.13_build_libarchive.sh: -------------------------------------------------------------------------------- 1 | cd /sources/blfs 2 | tar xvf libarchive*.gz 3 | cd libarchive* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | ./configure --prefix=/usr --disable-static && 8 | make 9 | make install 10 | 11 | pkg savelog libarchive 12 | -------------------------------------------------------------------------------- /02_blfs/01_basic/1.14_build_libevent.sh: -------------------------------------------------------------------------------- 1 | cd /sources/blfs 2 | tar xvf libevent*.tar.gz 3 | cd libevent* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | ./configure --prefix=/usr --disable-static && 8 | make 9 | make install 10 | 11 | pkg savelog libevent 12 | -------------------------------------------------------------------------------- /02_blfs/01_basic/1.15_build_libxml2.sh: -------------------------------------------------------------------------------- 1 | cd /sources/blfs 2 | tar xvf libxml*.tar.gz 3 | cd libxml* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | ./configure --prefix=/usr --disable-static --with-history && 8 | make 9 | make install 10 | 11 | pkg savelog libxml2 12 | -------------------------------------------------------------------------------- /02_blfs/01_basic/1.16_build_which.sh: -------------------------------------------------------------------------------- 1 | cd /sources/blfs 2 | tar xvf which*.tar.gz 3 | cd which* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | ./configure --prefix=/usr && 8 | make 9 | make install 10 | 11 | pkg savelog which 12 | -------------------------------------------------------------------------------- /02_blfs/01_basic/1.17_ldap.sh: -------------------------------------------------------------------------------- 1 | cd /sources/blfs 2 | tar xvf openldap*.tgz 3 | cd openldap* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | patch -Np1 -i ../openldap-2.4.39-blfs_paths-1.patch && 8 | patch -Np1 -i ../openldap-2.4.39-symbol_versions-1.patch && 9 | autoconf && 10 | ./configure --prefix=/usr \ 11 | --sysconfdir=/etc \ 12 | --disable-static \ 13 | --enable-dynamic \ 14 | --disable-debug \ 15 | --disable-slapd && 16 | make depend && 17 | make 18 | make install 19 | 20 | pkg savelog openldap 21 | -------------------------------------------------------------------------------- /02_blfs/01_basic/setnic: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env php 2 | > /etc/ssh/sshd_config 24 | 25 | cd ../blfs-bootscripts* && make install-sshd 26 | cd - 27 | 28 | pkg savelog openssh 29 | -------------------------------------------------------------------------------- /02_blfs/02_security/02_build_sudo.sh: -------------------------------------------------------------------------------- 1 | cd /sources/blfs 2 | tar xvf sudo*.tar.gz 3 | cd sudo* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | ./configure --prefix=/usr \ 8 | --libexecdir=/usr/lib \ 9 | --with-all-insults \ 10 | --with-env-editor \ 11 | --docdir=/usr/share/doc/sudo-1.8.10p3 \ 12 | --with-passprompt="[sudo] password for %p" && 13 | 14 | 15 | make 16 | make install 17 | 18 | echo "User_Alias ADMIN=root,z " > /etc/sudoers 19 | echo "ADMIN ALL=NOPASSWD: ALL" >> /etc/sudoers 20 | 21 | pkg savelog sudo 22 | -------------------------------------------------------------------------------- /02_blfs/02_security/03_create_z_account.sh: -------------------------------------------------------------------------------- 1 | useradd z 2 | passwd z 3 | mkdir /home/z 4 | chown z:z z 5 | chown z:z -R /sources/ 6 | -------------------------------------------------------------------------------- /02_blfs/02_security/04_build_sasl.sh: -------------------------------------------------------------------------------- 1 | cd /sources/blfs 2 | tar xvf cyrus-sasl*.tar.gz 3 | cd cyrus* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | patch -Np1 -i ../cyrus-sasl-2.1.26-fixes-3.patch && 8 | autoreconf -fi && 9 | ./configure --prefix=/usr \ 10 | --sysconfdir=/etc \ 11 | --enable-auth-sasldb \ 12 | --with-dbpath=/var/lib/sasl/sasldb2 \ 13 | --with-saslauthd=/var/run/saslauthd && 14 | make 15 | make install 16 | install -v -dm700 /var/lib/sasl 17 | 18 | pkg savelog cyrus-sasl 19 | -------------------------------------------------------------------------------- /02_blfs/03_apache/01_build_apr.sh: -------------------------------------------------------------------------------- 1 | cd /sources/blfs 2 | tar xvf apr-1.5.1.tar.bz2 3 | cd apr-1.5.1 4 | 5 | pkg watch /mnt/lfs 6 | 7 | ./configure --prefix=/usr \ 8 | --disable-static \ 9 | --with-installbuilddir=/usr/share/apr-1/build && 10 | make 11 | make install 12 | 13 | pkg savelog apr 14 | -------------------------------------------------------------------------------- /02_blfs/03_apache/02_build_apr_util.sh: -------------------------------------------------------------------------------- 1 | cd /sources/blfs 2 | tar xvf apr-util*.tar.bz2 3 | cd apr-uti* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | ./configure --prefix=/usr \ 8 | --with-apr=/usr \ 9 | --with-gdbm=/usr \ 10 | --with-openssl=/usr \ 11 | --with-crypto && 12 | make 13 | make install 14 | 15 | pkg savelog apr-util 16 | -------------------------------------------------------------------------------- /02_blfs/03_apache/03_build_pcre.sh: -------------------------------------------------------------------------------- 1 | cd /sources/blfs 2 | tar xvf pcre*.tar.bz2 3 | cd pcre* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | ./configure --prefix=/usr \ 8 | --docdir=/usr/share/doc/pcre-8.35 \ 9 | --enable-unicode-properties \ 10 | --enable-pcre16 \ 11 | --enable-pcre32 \ 12 | --enable-pcregrep-libz \ 13 | --enable-pcregrep-libbz2 \ 14 | --enable-pcretest-libreadline \ 15 | --disable-static && 16 | make 17 | 18 | make install && 19 | mv -v /usr/lib/libpcre.so.* /lib && 20 | ln -sfv ../../lib/$(readlink /usr/lib/libpcre.so) /usr/lib/libpcre.so 21 | 22 | pkg savelog pcre 23 | -------------------------------------------------------------------------------- /02_blfs/03_apache/04_build_apache.sh: -------------------------------------------------------------------------------- 1 | pwd=`pwd` 2 | cd /sources/blfs 3 | tar xvf httpd*.tar.bz2 4 | cd httpd* 5 | 6 | pkg watch /mnt/lfs 7 | 8 | groupadd -g 26 apache && 9 | useradd -c "Apache Server" -d /srv/www -g apache \ 10 | -s /bin/false -u 26 apache 11 | 12 | patch -Np1 -i ../httpd-2.4.10-blfs_layout-1.patch && 13 | sed '/dir.*CFG_PREFIX/s@^@#@' -i support/apxs.in && 14 | ./configure --enable-authnz-fcgi \ 15 | --enable-layout=BLFS \ 16 | --enable-mods-shared="all cgi" \ 17 | --enable-mpms-shared=all \ 18 | --enable-suexec=shared \ 19 | --with-apr=/usr/bin/apr-1-config \ 20 | --with-apr-util=/usr/bin/apu-1-config \ 21 | --with-suexec-bin=/usr/lib/httpd/suexec \ 22 | --with-suexec-caller=apache \ 23 | --with-suexec-docroot=/srv/www \ 24 | --with-suexec-logfile=/var/log/httpd/suexec.log \ 25 | --with-suexec-uidmin=100 \ 26 | --with-suexec-userdir=public_html && 27 | make install && 28 | 29 | mv -v /usr/sbin/suexec /usr/lib/httpd/suexec && 30 | chgrp apache /usr/lib/httpd/suexec && 31 | chmod 4754 /usr/lib/httpd/suexec && 32 | 33 | chown -v -R apache:apache /srv/www 34 | 35 | cd ../blfs-bootscripts* 36 | make install-httpd 37 | 38 | # copy modified config files. 39 | rm -frv /etc/httpd/ 40 | cp -frv $pwd/httpd /etc/httpd 41 | 42 | cd - 43 | pkg savelog apache2 44 | -------------------------------------------------------------------------------- /02_blfs/03_apache/httpd/envvars: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | # 17 | # envvars-std - default environment variables for apachectl 18 | # 19 | # This file is generated from envvars-std.in 20 | # 21 | if test "x$LD_LIBRARY_PATH" != "x" ; then 22 | LD_LIBRARY_PATH="/usr/lib:$LD_LIBRARY_PATH" 23 | else 24 | LD_LIBRARY_PATH="/usr/lib" 25 | fi 26 | export LD_LIBRARY_PATH 27 | # 28 | 29 | -------------------------------------------------------------------------------- /02_blfs/03_apache/httpd/extra/front.conf: -------------------------------------------------------------------------------- 1 | # Deflat. 2 | AddType image/x-icon .ico 3 | AddType image/gif .gif 4 | AddType image/jpeg .jpg .jpeg 5 | AddType image/png .png 6 | AddType application/javascript .js 7 | DeflateCompressionLevel 9 8 | AddOutputFilterByType DEFLATE text/html text/css application/javascript 9 | 10 | # Expires. 11 | ExpiresActive On 12 | ExpiresByType image/gif A2592000 13 | ExpiresByType image/jpeg A2592000 14 | ExpiresByType image/png A2592000 15 | ExpiresByType image/x-icon A2592000 16 | ExpiresByType application/javascript A2592000 17 | ExpiresByType application/x-shockwave-flash A2592000 18 | ExpiresByType text/css A604800 19 | 20 | # Etag off. 21 | FileEtag none 22 | -------------------------------------------------------------------------------- /02_blfs/03_apache/httpd/extra/logs.conf: -------------------------------------------------------------------------------- 1 | # Logs 2 | ErrorLog "/var/log/httpd/error.log" 3 | LogLevel warn 4 | LogFormat "%{Host}i:%p %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined 5 | CustomLog "/var/log/httpd/access.log" combined 6 | -------------------------------------------------------------------------------- /02_blfs/03_apache/httpd/extra/security.conf: -------------------------------------------------------------------------------- 1 | # Security. 2 | ServerTokens Prod 3 | ServerSignature Off 4 | AccessFileName .htaccess 5 | 6 | Require all denied 7 | 8 | 9 | # deny access to .svn directory. 10 | RedirectMatch 404 /\\.svn(/|$) 11 | RedirectMatch 404 /\\.git(/|$) 12 | -------------------------------------------------------------------------------- /02_blfs/04_database/01_build_cmake.sh: -------------------------------------------------------------------------------- 1 | cd /sources/blfs 2 | tar xvf cmake*.tar.gz 3 | cd cmake* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | ./bootstrap --prefix=/usr \ 8 | --system-libs \ 9 | --mandir=/share/man \ 10 | --docdir=/share/doc/cmake-3.0.1 && 11 | make 12 | make install 13 | 14 | pkg savelog cmake 15 | -------------------------------------------------------------------------------- /02_blfs/04_database/03_build_sqlite.sh: -------------------------------------------------------------------------------- 1 | cd /sources/blfs 2 | tar xvf sqlite*.tar.gz 3 | cd sqlite* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | ./configure --prefix=/usr --disable-static \ 8 | CFLAGS="-g -O2 -DSQLITE_ENABLE_FTS3=1 \ 9 | -DSQLITE_ENABLE_COLUMN_METADATA=1 \ 10 | -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 \ 11 | -DSQLITE_SECURE_DELETE=1" && 12 | make 13 | make install 14 | 15 | pkg savelog sqlite 16 | -------------------------------------------------------------------------------- /02_blfs/05_gd/01_build_nasm.sh: -------------------------------------------------------------------------------- 1 | cd /sources/blfs 2 | tar xvf nasm*.tar.xz 3 | cd nasm* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | ./configure --prefix=/usr && 8 | make 9 | make install 10 | 11 | pkg savelog nasm 12 | -------------------------------------------------------------------------------- /02_blfs/05_gd/02_build_libjpeg.sh: -------------------------------------------------------------------------------- 1 | cd /sources/blfs 2 | tar xvf libjpeg*.tar.gz 3 | cd libjpeg* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | sed -i -e '/^docdir/ s:$:/libjpeg-turbo-1.3.1:' \ 8 | -e '/^exampledir/ s:$:/libjpeg-turbo-1.3.1:' Makefile.in && 9 | 10 | ./configure --prefix=/usr \ 11 | --mandir=/usr/share/man \ 12 | --with-jpeg8 \ 13 | --disable-static && 14 | make 15 | make install 16 | 17 | pkg savelog libjpeg-turbo 18 | -------------------------------------------------------------------------------- /02_blfs/05_gd/03_build_libtiff.sh: -------------------------------------------------------------------------------- 1 | cd /sources/blfs 2 | tar xvf tiff*.tar.gz 3 | cd tiff* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | sed -i '/glDrawPixels/a glFlush();' tools/tiffgt.c && 8 | ./configure --prefix=/usr --disable-static && 9 | make 10 | 11 | make install 12 | pkg savelog libtiff 13 | -------------------------------------------------------------------------------- /02_blfs/05_gd/04_build_libpng.sh: -------------------------------------------------------------------------------- 1 | cd /sources/blfs 2 | tar xvf libpng*.tar.xz 3 | cd libpng* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | gzip -cd ../libpng-1.6.13-apng.patch.gz | patch -p1 8 | ./configure --prefix=/usr --disable-static && 9 | make 10 | make install 11 | 12 | pkg savelog libpng 13 | -------------------------------------------------------------------------------- /02_blfs/05_gd/05_build_libexif.sh: -------------------------------------------------------------------------------- 1 | cd /sources/blfs 2 | tar xvf libexif*.tar.bz2 3 | cd libexif* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | ./configure --prefix=/usr \ 8 | --with-doc-dir=/usr/share/doc/libexif-0.6.21 \ 9 | --disable-static && 10 | make 11 | make install 12 | 13 | pkg savelog libexif 14 | -------------------------------------------------------------------------------- /02_blfs/05_gd/06_build_freetype.sh: -------------------------------------------------------------------------------- 1 | cd /sources/blfs 2 | tar xvf freetype*.tar.bz2 3 | cd freetype* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | sed -i -e "/AUX.*.gxvalid/s@^# @@" \ 8 | -e "/AUX.*.otvalid/s@^# @@" \ 9 | modules.cfg && 10 | 11 | sed -ri -e 's:.*(#.*SUBPIXEL.*) .*:\1:' \ 12 | include/config/ftoption.h && 13 | 14 | ./configure --prefix=/usr --disable-static && 15 | make 16 | make install 17 | 18 | pkg savelog freetype 19 | -------------------------------------------------------------------------------- /02_blfs/05_gd/07_build_fongconfig.sh: -------------------------------------------------------------------------------- 1 | cd /sources/blfs 2 | tar xvf fontconfig*.tar.bz2 3 | cd fontconfig* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | ./configure --prefix=/usr \ 8 | --sysconfdir=/etc \ 9 | --localstatedir=/var \ 10 | --disable-docs \ 11 | --docdir=/usr/share/doc/fontconfig-2.11.1 && 12 | make 13 | make install 14 | 15 | pkg savelog fontconfig 16 | -------------------------------------------------------------------------------- /02_blfs/05_gd/08_build_gd.sh: -------------------------------------------------------------------------------- 1 | cd /sources/blfs 2 | tar xvf libgd*.tar.xz 3 | cd libgd* 4 | 5 | pkg watch /mnt/lfs 6 | 7 | ./configure --prefix=/usr/ --with-png=/usr/ --with-freetype=/usr/ --with-fontconfig=/usr --with-jpeg=/usr --with-tiff=/usr 8 | make 9 | make install 10 | 11 | pkg savelog libgd 12 | -------------------------------------------------------------------------------- /02_blfs/06_php/01_build_php.sh: -------------------------------------------------------------------------------- 1 | pwd=`pwd` 2 | cd /sources/blfs 3 | tar xvf php*.tar.bz2 4 | cd php* 5 | 6 | pkg watch /mnt/lfs 7 | 8 | ./configure --prefix=/usr \ 9 | --sysconfdir=/etc \ 10 | --with-apxs2 \ 11 | --with-config-file-path=/etc \ 12 | --disable-ipv6 \ 13 | --with-openssl \ 14 | --with-pcre-regex=/usr \ 15 | --with-zlib \ 16 | --enable-bcmath \ 17 | --with-bz2 \ 18 | --with-curl \ 19 | --with-openssl-dir=/usr \ 20 | --with-zlib-dir=/usr \ 21 | --with-ldap \ 22 | --with-ldap-sasl \ 23 | --enable-mbstring \ 24 | --with-mysql \ 25 | --with-mysqli \ 26 | --with-mysql-sock=/var/run/mysqld/mysqld.sock \ 27 | --with-pdo-mysql \ 28 | --with-readline \ 29 | --enable-sockets \ 30 | --with-iconv \ 31 | --disable-cgi \ 32 | --with-gd \ 33 | --with-jpeg-dir=/usr/ \ 34 | --with-png-dir=/usr/ \ 35 | --with-zlib-dir=/usr/ \ 36 | --with-freetype-dir=/usr/ \ 37 | --enable-gd-native-ttf \ 38 | --enable-gd-jis-conv \ 39 | 40 | make clean 41 | make 42 | 43 | # include php module for apache. 44 | cat > /etc/httpd/extra/php.conf < config.inc.php < /etc/httpd/sites/20.phpmyadmin.conf < 39 | AuthName 'phpMyAdmin(run /srv/auth/pma/adduser.sh to add user.)' 40 | AuthType Basic 41 | AuthUserFile /srv/auth/pma/users 42 | require valid-user 43 | 44 | EOT 45 | 46 | # Set auth files. 47 | mkdir -pv /srv/auth/pma/ 48 | touch /srv/auth/pma/users 49 | cat > /srv/auth/pma/adduser.sh < /etc/httpd/extra/svn.conf < /etc/httpd/sites/30.phpmyadmin.conf < 32 | AuthType Basic 33 | AuthName "Subversion(run /srv/auth/svn/adduser.sh to add user)" 34 | AuthUserFile /srv/auth/svn/users 35 | AuthzSVNAccessFile /srv/auth/svn/authz 36 | Require valid-user 37 | 38 | DAV svn 39 | SVNParentPath /srv/scm/svn/repo 40 | SVNListParentPath on 41 | 42 | EOT 43 | 44 | mkdir -p /srv/auth/svn 45 | touch /srv/auth/svn/users 46 | 47 | cat > /srv/auth/svn/authz < /srv/auth/svn/adduser.sh < ranzhi.log 3 | echo "/etc/httpd/sites/02.ranzhi.conf" >> ranzhi.log 4 | find /srv/mysql/ranzhi -type f > ranzhidb.log 5 | mv -v ranzhi.log ../pkg/log/ 6 | mv -v ranzhidb.log ../pkg/log/ 7 | -------------------------------------------------------------------------------- /03_crz/02_install_chanzhi.sh: -------------------------------------------------------------------------------- 1 | # install chanzhi manual and then run this script to get files installed. 2 | find /srv/chanzhi -type f > chanzhi.log 3 | echo "/etc/httpd/sites/02.chanzhi.conf" >> chanzhi.log 4 | find /srv/mysql/chanzhi -type f > chanzhidb.log 5 | mv -v chanzhi.log ../pkg/log 6 | mv -v chanzhidb.log ../pkg/log 7 | -------------------------------------------------------------------------------- /03_crz/03_install_zentao.sh: -------------------------------------------------------------------------------- 1 | # install zentao manual and then run this script to get files installed. 2 | find /srv/zentao -type f > zentao.log 3 | echo "/etc/httpd/sites/02.zentao.conf" >> zentao.log 4 | find /srv/mysql/zentao -type f > zentaodb.log 5 | mv -v zentao.log ../pkg/log/ 6 | mv -v zentaodb.log ../pkg/log/ 7 | -------------------------------------------------------------------------------- /03_crz/04_install_portal.sh: -------------------------------------------------------------------------------- 1 | cp index.php /srv/www/ 2 | rm -fr /srv/www/index.html 3 | echo '/srv/www/index.php' > ../pkg/log/zos-portal.log 4 | -------------------------------------------------------------------------------- /03_crz/chanzhi.conf: -------------------------------------------------------------------------------- 1 | alias /chanzhi "/srv/chanzhi/www/" 2 | 3 | AllowOverride none 4 | Require all granted 5 | php_admin_value open_basedir /srv/chanzhi/:/tmp/ 6 | 7 | RewriteEngine On 8 | RewriteCond %{REQUEST_FILENAME} !-d 9 | RewriteCond %{REQUEST_FILENAME} !-f 10 | RewriteRule (.*)$ /chanzhi/index.php/$1 [L] 11 | 12 | -------------------------------------------------------------------------------- /03_crz/ranzhi.conf: -------------------------------------------------------------------------------- 1 | alias /ranzhi "/srv/ranzhi/www/" 2 | 3 | AllowOverride none 4 | Require all granted 5 | php_admin_value open_basedir /srv/ranzhi/:/tmp/ 6 | 7 | RewriteEngine On 8 | RewriteCond %{REQUEST_FILENAME} !-d 9 | RewriteCond %{REQUEST_FILENAME} !-f 10 | RewriteRule (.*)$ /ranzhi/index.php/$1 [L] 11 | 12 | 13 | 14 | RewriteEngine On 15 | RewriteCond %{REQUEST_FILENAME} !-d 16 | RewriteCond %{REQUEST_FILENAME} !-f 17 | RewriteRule (.*)$ /ranzhi/crm/index.php/$1 [L] 18 | 19 | 20 | 21 | RewriteEngine On 22 | RewriteCond %{REQUEST_FILENAME} !-d 23 | RewriteCond %{REQUEST_FILENAME} !-f 24 | RewriteRule (.*)$ /ranzhi/oa/index.php/$1 [L] 25 | 26 | 27 | 28 | RewriteEngine On 29 | RewriteCond %{REQUEST_FILENAME} !-d 30 | RewriteCond %{REQUEST_FILENAME} !-f 31 | RewriteRule (.*)$ /ranzhi/cash/index.php/$1 [L] 32 | 33 | 34 | 35 | RewriteEngine On 36 | RewriteCond %{REQUEST_FILENAME} !-d 37 | RewriteCond %{REQUEST_FILENAME} !-f 38 | RewriteRule (.*)$ /ranzhi/team/index.php/$1 [L] 39 | 40 | 41 | 42 | RewriteEngine On 43 | RewriteCond %{REQUEST_FILENAME} !-d 44 | RewriteCond %{REQUEST_FILENAME} !-f 45 | RewriteRule (.*)$ /ranzhi/sys/index.php/$1 [L] 46 | 47 | -------------------------------------------------------------------------------- /03_crz/zentao.conf: -------------------------------------------------------------------------------- 1 | alias /zentao "/srv/zentao/www/" 2 | 3 | AllowOverride All 4 | Require all granted 5 | php_admin_value open_basedir /srv/zentao/:/tmp/ 6 | 7 | RewriteEngine On 8 | RewriteCond %{REQUEST_FILENAME} !-d 9 | RewriteCond %{REQUEST_FILENAME} !-f 10 | RewriteRule (.*)$ /zentao/index.php/$1 [L] 11 | 12 | -------------------------------------------------------------------------------- /04_minify/01_mount_minify.sh: -------------------------------------------------------------------------------- 1 | echo "you must run this on the debian build host." 2 | sudo umount /dev/sdc1 3 | sudo umount /dev/sdd1 4 | 5 | sudo mkdir /tmp/minify 6 | sudo mount /dev/sde1 /tmp/minify 7 | -------------------------------------------------------------------------------- /04_minify/02_clean_minify.sh: -------------------------------------------------------------------------------- 1 | echo 'clean the target minify disk' 2 | sudo rm -frv /tmp/minify/* 3 | -------------------------------------------------------------------------------- /04_minify/03_copy_to_minify.sh: -------------------------------------------------------------------------------- 1 | sudo cp -Rav /mnt/lfs/* /tmp/minify/ 2 | -------------------------------------------------------------------------------- /04_minify/04_install_grub.sh: -------------------------------------------------------------------------------- 1 | sudo umount /mnt/lfs/sources/ 2 | sudo umount /mnt/lfs/tools/ 3 | sudo umount /mnt/lfs/ 4 | 5 | sudo umount /dev/sde1 6 | sudo mount /dev/sde1 /mnt/lfs 7 | 8 | echo "now will enter the chroot env, after that, run grub-install /dev/sde\n\n" 9 | bash ../01_lfs/07/7.00_chroot.sh 10 | -------------------------------------------------------------------------------- /04_minify/05_remove_package.sh: -------------------------------------------------------------------------------- 1 | # Backup the basic libraries. 2 | sudo mkdir -p /usr/lib/bak 3 | sudo mv -v /usr/lib/libgcc* /usr/lib/bak 4 | sudo mv -v /usr/lib/libstdc++* /usr/lib/bak 5 | sudo mv -v /usr/lib/libcap* /usr/lib/bak 6 | sudo mv -v /usr/lib/libbfd*.so /usr/lib/bak 7 | sudo mv -v /usr/lib/libmagic* /usr/lib/bak 8 | sudo mv -v /usr/lib/libmpfr* /usr/lib/bak 9 | 10 | sudo mkdir /lib/bak 11 | sudo mv -v /lib/libpcre* /lib/bak/ 12 | 13 | # Remove these packages. 14 | sudo pkg remove gcc 15 | sudo pkg remove autoconf 16 | sudo pkg remove automake 17 | sudo pkg remove bison 18 | sudo pkg remove cmake 19 | sudo pkg remove flex 20 | sudo pkg remove m4 21 | sudo pkg remove make 22 | sudo pkg remove man-db 23 | sudo pkg remove man-pages 24 | sudo pkg remove pcre 25 | sudo pkg remove perl 26 | sudo pkg remove pkg-config 27 | sudo pkg remove pyton27 28 | sudo pkg remove scons 29 | sudo pkg remove xml::parser 30 | sudo pkg remove libtiff 31 | sudo pkg remove nasm 32 | sudo pkg remove groff 33 | 34 | # Restore these libraries. 35 | sudo mv -v /usr/lib/bak/* /usr/lib/ 36 | sudo rm -frv /usr/lib/bak 37 | sudo mv -v /lib/bak/* /lib/ 38 | sudo rm -frv /lib/bak 39 | -------------------------------------------------------------------------------- /04_minify/06_remove_files.sh: -------------------------------------------------------------------------------- 1 | # remove docs. 2 | sudo rm -frv /usr/share/man 3 | sudo rm -frv /usr/man 4 | sudo rm -frv /usr/share/tex{info,mf} 5 | sudo rm -frv /usr/share/groff 6 | sudo rm -frv /usr/share/{doc,info} 7 | sudo rm -frv /usr/doc 8 | sudo rm -frv /usr/info 9 | 10 | echo 'rm compiling tools' 11 | sudo rm -frv /usr/share/{automake*,aclocal*,autoconf,libtool} 12 | sudo rm -frv /usr/bin/{make,automake*,aclocal*,autoconf,autom4te,autoheader} 13 | sudo rm -frv /usr/bin/{autoreconf,autoscan,autoupdate,ifnamesi,libtool*} 14 | sudo rm -frv /{,usr/}lib/*.la 15 | sudo rm -frv /usr/lib/{crt*.o,?crt1.o,gcc-lib} 16 | sudo rm -frv /lib/cpp 17 | sudo rm -frv /usr/bin/{c++*,g++,cc,gcov,gcc*,cpp,i?86-pc-linux-{g++,c++,gcc*}} 18 | sudo rm -frv /usr/include 19 | sudo rm -frv /usr/lib/*.a 20 | sudo rm -frv /usr/bin/{ccmake,cmake,cmake-gui,cpack,ctest} 21 | sudo rm -frv /usr/share/cmake* 22 | 23 | echo 'rm locale file' 24 | sudo rm -frv /usr/share/locale 25 | sudo rm -frv /usr/lib/locale 26 | 27 | echo 'rm git files' 28 | sudo rm -frv /usr/libexec/git-core 29 | 30 | # rm unused files. 31 | sudo rm -frv /usr/php 32 | sudo rm -frv /usr/my.cnf 33 | sudo rm -frv /usr/my-new.cnf 34 | sudo rm -frv /sources 35 | -------------------------------------------------------------------------------- /04_minify/07_usr_share.sh: -------------------------------------------------------------------------------- 1 | sudo mv -v /usr/share /usr/share.bak 2 | sudo mkdir -v /usr/share 3 | 4 | sudo cp -frv /usr/share.bak/grub /usr/share 5 | 6 | sudo mkdir -pv /usr/share/mysql/english 7 | sudo cp -frv /usr/share.bak/mysql/english/errmsg.sys /usr/share/mysql/english/ 8 | 9 | sudo mkdir -pv /usr/share/terminfo/l/ 10 | sudo mkdir -pv /usr/share/terminfo/x/ 11 | sudo cp -fv /usr/share.bak/terminfo/l/linux /usr/share/terminfo/l/ 12 | sudo cp -fv /usr/share.bak/terminfo/x/xterm /usr/share/terminfo/x/ 13 | 14 | sudo mkdir -pv /usr/share/vim/vim74/syntax 15 | sudo cp -frv /usr/share.bak/vim/vim74/*.vim /usr/share/vim/vim74/ 16 | sudo cp -frv /usr/share.bak/vim/vim74/colors /usr/share/vim/vim74/ 17 | sudo cp -frv /usr/share.bak/vim/vim74/indent /usr/share/vim/vim74/ 18 | sudo cp -frv /usr/share.bak/vim/vim74/ftplugin /usr/share/vim/vim74/ 19 | sudo rm -frv /usr/share/vim/vim74/*example*/ 20 | sudo rm -frv /usr/share/vim/vim74/bugreport* 21 | 22 | sudo cp -frv /usr/share.bak/vim/vim74/syntax/{css,html,javascript,php,sh,sql,sqloracle,syncolor,synload,syntax,nosyntax,vb}.vim /usr/share/vim/vim74/syntax/ 23 | -------------------------------------------------------------------------------- /04_minify/08_rm_user_share_bak.sh: -------------------------------------------------------------------------------- 1 | sudo rm -frv /usr/share.bak 2 | -------------------------------------------------------------------------------- /04_minify/10_rm_usr_bin_bak.sh: -------------------------------------------------------------------------------- 1 | sudo mv /usr/bin /usr/bin.bak 2 | /usr/binnew/sudo mv -v /usr/binnew /usr/bin 3 | sudo rm -fr /usr/bin.bak 4 | -------------------------------------------------------------------------------- /04_minify/11_usr_lib.sh: -------------------------------------------------------------------------------- 1 | sudo mkdir /usr/lib/bak 2 | sudo mv -v /usr/lib/apr-util-1 /usr/lib/bak/ 3 | sudo mv -v /usr/lib/apr.exp /usr/lib/bak/ 4 | sudo mv -v /usr/lib/aprutil.exp /usr/lib/bak/ 5 | sudo mv -v /usr/lib/audit /usr/lib/bak/ 6 | sudo mv -v /usr/lib/gawk /usr/lib/bak/ 7 | sudo mv -v /usr/lib/e2initrd_helper /usr/lib/bak/ 8 | sudo mv -v /usr/lib/engines /usr/lib/bak/ 9 | sudo mv -v /usr/lib/firmware /usr/lib/bak/ 10 | sudo mv -v /usr/lib/gconv /usr/lib/bak/ 11 | sudo mv -v /usr/lib/gettext /usr/lib/bak/ 12 | sudo mv -v /usr/lib/ldscripts /usr/lib/bak/ 13 | sudo mv -v /usr/lib/man-db /usr/lib/bak/ 14 | sudo mv -v /usr/lib/mysql /usr/lib/bak/ 15 | sudo mv -v /usr/lib/openssh /usr/lib/bak/ 16 | sudo mv -v /usr/lib/php /usr/lib/bak/ 17 | sudo mv -v /usr/lib/pkgconfig /usr/lib/bak/ 18 | sudo mv -v /usr/lib/sasl2 /usr/lib/bak/ 19 | sudo mv -v /usr/lib/tc /usr/lib/bak/ 20 | sudo mv -v /usr/lib/terminfo /usr/lib/bak/ 21 | sudo mv -v /usr/lib/xml2Conf.sh /usr/lib/bak/ 22 | sudo mv -v /usr/lib/perl5 /usr/lib/bak/ 23 | sudo mv -v /usr/lib/gcc /usr/lib/bak/ 24 | sudo mv -v /usr/lib/libmysql* /usr/lib/bak/ 25 | sudo mv -v /usr/lib/preloadable_libintl.so /usr/lib/bak/ 26 | 27 | sudo mkdir -v /usr/lib/php 28 | sudo mv -v /usr/lib/bak/php/extensions/ /usr/lib/php 29 | -------------------------------------------------------------------------------- /04_minify/12_rm_usr_lib_bak.sh: -------------------------------------------------------------------------------- 1 | sudo rm -frv /usr/lib/bak 2 | -------------------------------------------------------------------------------- /04_minify/13_so.sh: -------------------------------------------------------------------------------- 1 | sudo mv /usr/lib/libcrypto* /usr/lib.bak 2 | sudo mv /usr/lib/libcurl* /usr/lib.bak 3 | sudo mv /usr/lib/libfreetype* /usr/lib.bak 4 | sudo mv /usr/lib/libjpeg* /usr/lib.bak 5 | sudo mv /usr/lib/liblber* /usr/lib.bak 6 | sudo mv /usr/lib/libldap* /usr/lib.bak 7 | sudo mv /usr/lib/libpng16* /usr/lib.bak 8 | sudo mv /usr/lib/libsasl2* /usr/lib.bak 9 | sudo mv /usr/lib/libssl* /usr/lib.bak 10 | sudo mv /usr/lib/libxml2* /usr/lib.bak 11 | sudo mv /usr/lib/libapr* /usr/lib.bak 12 | sudo mv /usr/lib/libaprutil* /usr/lib.bak 13 | sudo mv /usr/lib/libcrypto* /usr/lib.bak 14 | sudo mv /usr/lib/libexpat* /usr/lib.bak 15 | sudo mv /usr/lib/libgcc_s* /usr/lib.bak 16 | sudo mv /usr/lib/libgdbm* /usr/lib.bak 17 | sudo mv /usr/lib/libssl* /usr/lib.bak 18 | sudo mv /usr/lib/libstdc++* /usr/lib.bak 19 | sudo cp -av /usr/lib/sudo /usr/lib.bak 20 | sudo mv /usr/lib/php /usr/lib.bak 21 | sudo mv /usr/lib/httpd /usr/lib.bak 22 | sudo mv /usr/lib/libgmp.so.* /usr/lib.bak 23 | 24 | sudo rm -frv /usr/lib/*so* 25 | sudo rm -frv /usr/lib/groff 26 | sudo rm -frv /usr/lib/group 27 | sudo rm -frv /usr/lib/python* 28 | sudo rm -frv /usr/lib/php 29 | sudo cp -av /usr/lib.bak/ /usr/lib/ 30 | sudo rm -fr /usr/lib.bak 31 | -------------------------------------------------------------------------------- /04_minify/14_strip.sh: -------------------------------------------------------------------------------- 1 | # this file run in chroot env. 2 | find /{,usr/}{bin,lib,sbin} -type f \ 3 | -exec strip --strip-debug '{}' ';' 4 | -------------------------------------------------------------------------------- /04_minify/15_rm_svn_conf.sh: -------------------------------------------------------------------------------- 1 | sudo rm -frv /etc/httpd/sites/30.subversion.conf 2 | sudo rm -frv /etc/httpd/extra/svn.conf 3 | sudo rm -frv /srv/auth/svn 4 | sudo rm -fr /usr/lib/httpd/modules/*.svn* 5 | -------------------------------------------------------------------------------- /04_minify/readme.txt: -------------------------------------------------------------------------------- 1 | before 04_install_grub you must run this on the debian build host. 2 | after install the grub, boot the minify vhost and run it in the minify system. 3 | -------------------------------------------------------------------------------- /05_release/01_fdisk_release.sh: -------------------------------------------------------------------------------- 1 | sudo fdisk /dev/sdf 2 | sudo fdisk /dev/sdg 3 | sudo mkfs.ext4 /dev/sdf1 4 | sudo mkfs.ext4 /dev/sdg1 5 | -------------------------------------------------------------------------------- /05_release/02_mount_release.sh: -------------------------------------------------------------------------------- 1 | # first, umount the build host. 2 | sudo umount /dev/sdd1 3 | sudo umount /dev/sdc1 4 | sudo umount /dev/sdb1 5 | 6 | mkdir /tmp/minify 7 | mkdir /tmp/release 8 | sudo mount /dev/sde1 /tmp/minify 9 | sudo mount /dev/sdf1 /tmp/release 10 | 11 | sudo mkdir /tmp/release/home 12 | sudo mount /dev/sdg1 /tmp/release/home/ 13 | sudo mkdir /tmp/release/home/srv 14 | sudo mkdir /tmp/release/home/var 15 | -------------------------------------------------------------------------------- /05_release/03_clear_history.sh: -------------------------------------------------------------------------------- 1 | sudo rm -frv /tmp/minify/home/z/.* 2 | sudo rm -frv /tmp/minify/home/z/* 3 | sudo rm -frv /tmp/minify/root/.* 4 | sudo rm -frv /tmp/minify/root/* 5 | 6 | sudo rm -frv /tmp/minify/root 7 | sudo mkdir -v /tmp/minify/root 8 | sudo chown root:root /tmp/minify/root 9 | sudo chmod 750 /tmp/minify/root 10 | 11 | sudo rm -frv /tmp/minify/srv/mysql/ib_logfile0 12 | sudo rm -frv /tmp/minify/srv/mysql/ib_logfile1 13 | sudo rm -frv /tmp/minify/srv/mysql/debian.err 14 | 15 | sudo rm -fr /tmp/minify/var/log 16 | sudo mkdir -v /tmp/minify/var/log/httpd -p 17 | 18 | sudo rm -frv /tmp/minify/sources 19 | sudo rm -frv /tmp/minify/tools 20 | 21 | sudo rm -frv /tmp/minify/srv/auth/users 22 | sudo touch /tmp/minify/srv/auth/users 23 | -------------------------------------------------------------------------------- /05_release/04_copy_files.sh: -------------------------------------------------------------------------------- 1 | cd /tmp/minify 2 | sudo cp -Rav {bin,boot,dev,etc,lib,media,mnt,opt,proc,root,run,sbin,sys,tmp,usr} /tmp/release 3 | sudo cp -Rav srv/* /tmp/release/home/srv/ 4 | sudo cp -Rav var/* /tmp/release/home/var/ 5 | sudo cp -Rav home/* /tmp/release/home/ 6 | 7 | cd /tmp/release 8 | sudo ln -s home/srv . 9 | sudo ln -s home/var . 10 | -------------------------------------------------------------------------------- /05_release/06_change_own.sh: -------------------------------------------------------------------------------- 1 | sudo chown -Rv 1000:1000 /tmp/release/home/z 2 | sudo chown -Rv 1000:1000 /tmp/release/home/srv/{auth,pma,www,zentao,ranzhi,chanzhi} 3 | -------------------------------------------------------------------------------- /05_release/07_install_grub.sh: -------------------------------------------------------------------------------- 1 | sudo umount /dev/sdg1 2 | sudo umount /dev/sdf1 3 | sudo mount /dev/sdf1 /mnt/lfs 4 | sudo mkdir /mnt/lfs/sources/ 5 | sudo mkdir /mnt/lfs/tools/ 6 | sudo mount /dev/sdc1 /mnt/lfs/tools 7 | sudo mount /dev/sdd1 /mnt/lfs/sources 8 | 9 | echo "now will enter the chroot env, after that, run grub-install /dev/sdf\n\n" 10 | bash ../01_lfs/07/7.00_chroot.sh 11 | -------------------------------------------------------------------------------- /05_release/08_change_fstab.sh: -------------------------------------------------------------------------------- 1 | echo "modify /etc/fstab to mount home partion"; 2 | -------------------------------------------------------------------------------- /05_release/readme.txt: -------------------------------------------------------------------------------- 1 | run this in the debian system. 2 | -------------------------------------------------------------------------------- /panel/.build/Manifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 10 | AAuto工程 11 | 12 | 13 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /panel/bin/access.bat: -------------------------------------------------------------------------------- 1 | start http://www.zentao.net 2 | -------------------------------------------------------------------------------- /panel/bin/getHttpPort.bat: -------------------------------------------------------------------------------- 1 | %VBoxManage% showvminfo zentaomos | findstr "http" | findstr /C:"host port" 2 | -------------------------------------------------------------------------------- /panel/bin/getVboxManage.bat: -------------------------------------------------------------------------------- 1 | reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Oracle\VirtualBox" /s | find "InstallDir" 2 | -------------------------------------------------------------------------------- /panel/bin/install.bat: -------------------------------------------------------------------------------- 1 | %VBoxManage% createvm -name zentaomos -register 2 | %VBoxManage% storagectl zentaomos --name "IDE Controller" --add ide 3 | %VBoxManage% storageattach zentaomos --storagectl "IDE Controller" --port 0 --device 0 --type hdd --medium .\vmdk\system.vmdk 4 | %VBoxManage% storageattach zentaomos --storagectl "IDE Controller" --port 1 --device 0 --type hdd --medium .\vmdk\data.vmdk 5 | %VBoxManage% modifyvm zentaomos --memory %memory% --cpus %cpus% --acpi on --nic1 nat --nictype1 82540EM 6 | %VBoxManage% modifyvm zentaomos --natdnsproxy1 on 7 | %VBoxManage% modifyvm zentaomos --natpf1 "http,tcp,,%httpPort%,,80" 8 | %VBoxManage% modifyvm zentaomos --natpf1 "ssh,tcp,,%sshPort%,,22" 9 | -------------------------------------------------------------------------------- /panel/bin/isExist.bat: -------------------------------------------------------------------------------- 1 | %VBoxManage% list vms | findstr \"zentaomos\" 2 | -------------------------------------------------------------------------------- /panel/bin/isRunning.bat: -------------------------------------------------------------------------------- 1 | %VBoxManage% list runningvms | findstr \"zentaomos\" 2 | -------------------------------------------------------------------------------- /panel/bin/snapshot.bat: -------------------------------------------------------------------------------- 1 | %VBoxManage% snapshot zentaomos take %snapshotName% 2 | %VBoxManage% snapshot zentaomos list | findstr %snapshotName% 3 | -------------------------------------------------------------------------------- /panel/bin/start.bat: -------------------------------------------------------------------------------- 1 | %VBoxManage% startvm zentaomos 2 | -------------------------------------------------------------------------------- /panel/bin/stop.bat: -------------------------------------------------------------------------------- 1 | %VBoxManage% controlvm zentaomos acpipowerbutton 2 | -------------------------------------------------------------------------------- /panel/bin/testVboxManage.bat: -------------------------------------------------------------------------------- 1 | %VBoxManage% 2 | -------------------------------------------------------------------------------- /panel/bin/uninstall.bat: -------------------------------------------------------------------------------- 1 | %VBoxManage% storageattach zentaomos --storagectl "IDE Controller" --port 0 --device 0 --type hdd --medium none 2 | %VBoxManage% storageattach zentaomos --storagectl "IDE Controller" --port 1 --device 0 --type hdd --medium none 3 | %VBoxManage% closemedium disk .\vmdk\system.vmdk 4 | %VBoxManage% closemedium disk .\vmdk\data.vmdk 5 | %VBoxManage% unregistervm zentaomos --delete 6 | -------------------------------------------------------------------------------- /panel/default.aproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwccss/zos/f7e09d0f3bba49fb04fccd079cd4700ebf9e5d72/panel/default.aproj -------------------------------------------------------------------------------- /panel/lang/zh-cn.aau: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwccss/zos/f7e09d0f3bba49fb04fccd079cd4700ebf9e5d72/panel/lang/zh-cn.aau -------------------------------------------------------------------------------- /panel/layout/config.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
12 | 内存/CPU个数 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 |
内存(M)
CPU(个)
23 |
24 | 25 |
26 | 端口转发 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 |
名称主机端口虚拟机端口
http
ssh
44 |
45 |
46 |
47 | 48 | 49 | -------------------------------------------------------------------------------- /panel/layout/css/common.css: -------------------------------------------------------------------------------- 1 | button 2 | { 3 | width:50px; 4 | margin:15px 20px 15px 0px; 5 | display: inline-block; 6 | padding: 4px 12px; 7 | font-size: 12px; 8 | line-height: 20px; 9 | color: black; 10 | text-align: center; 11 | text-shadow: 0 1px 1px rgba(255,255,255,0.75); 12 | vertical-align: middle; 13 | cursor: pointer; 14 | background-color: #f5f5f5; 15 | background-image: -moz-linear-gradient(top,#fff,#e6e6e6); 16 | background-image: -webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6)); 17 | background-image: -webkit-linear-gradient(top,#fff,#e6e6e6); 18 | background-image: -o-linear-gradient(top,#fff,#e6e6e6); 19 | background-image: linear-gradient(to bottom,#fff,#e6e6e6); 20 | background-repeat: repeat-x; 21 | border: 1px solid #ccc; 22 | border-color: #e6e6e6 #e6e6e6 #bfbfbf; 23 | border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25); 24 | border-bottom-color: #b3b3b3; 25 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#ffe6e6e6',GradientType=0); 26 | filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); 27 | -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05); 28 | -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05); 29 | box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05); 30 | } 31 | button:hover {background:blue; color:white} 32 | -------------------------------------------------------------------------------- /panel/layout/css/config.css: -------------------------------------------------------------------------------- 1 | table {width:100%} 2 | tr {text-align:center} 3 | input {width:90%} 4 | legend {color:gray} 5 | button 6 | { 7 | background-color: #006DCC; 8 | background-image: linear-gradient(to bottom, #0088CC, #0044CC); 9 | background-repeat: repeat-x; 10 | border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); 11 | color: #FFFFFF; 12 | text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); 13 | } 14 | -------------------------------------------------------------------------------- /panel/layout/css/index.css: -------------------------------------------------------------------------------- 1 | #buttons button:last-child {margin-right:0px} 2 | textarea {width:100%;height:220px} 3 | -------------------------------------------------------------------------------- /panel/layout/images/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwccss/zos/f7e09d0f3bba49fb04fccd079cd4700ebf9e5d72/panel/layout/images/background.png -------------------------------------------------------------------------------- /panel/layout/images/zentao.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwccss/zos/f7e09d0f3bba49fb04fccd079cd4700ebf9e5d72/panel/layout/images/zentao.ico -------------------------------------------------------------------------------- /panel/layout/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 |
16 |
17 | 18 |
19 | 20 | 21 | -------------------------------------------------------------------------------- /panel/main.aau: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwccss/zos/f7e09d0f3bba49fb04fccd079cd4700ebf9e5d72/panel/main.aau -------------------------------------------------------------------------------- /panel/spawn.vbs: -------------------------------------------------------------------------------- 1 | CreateObject("Wscript.Shell").Run ".\tmp\tmp.bat",0,false 2 | -------------------------------------------------------------------------------- /pkg/.gitignore: -------------------------------------------------------------------------------- 1 | .notifier 2 | -------------------------------------------------------------------------------- /pkg/batchbuild: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env php 2 | ([\w\W]*?)|', $package, $result); 12 | 13 | $packageName = str_replace("\n", '', trim(strip_tags($result[1]))); // Remove \n. 14 | $packageName = preg_replace('/\s+/', ' ', $packageName); // Replace multi space with one. 15 | 16 | $packageName = explode(' ', trim($packageName)); 17 | $packageName = $packageName[1]; 18 | $lastPos = strrpos($packageName, '-'); 19 | $packageVersion = substr($packageName, $lastPos + 1); 20 | $packageName = strtolower(substr($packageName, 0, $lastPos)); 21 | 22 | /* Get package desc. */ 23 | preg_match('|
|', $package, $result); 24 | $packageDesc = preg_replace('/\s+/', ' ', trim(strip_tags($result[0]))); 25 | 26 | $packageList[$packageName]['version'] = $packageVersion; 27 | $packageList[$packageName]['desc'] = $packageDesc; 28 | } 29 | 30 | /* Create package ini files. */ 31 | foreach($packageList as $packageName => $package) 32 | { 33 | $pkgINI = << wlist 4 | -------------------------------------------------------------------------------- /pkg/ini/acl.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="acl"; 3 | version="2.2.52"; 4 | desc="The Acl package contains utilities to administer Access Control Lists, which are used to define more fine-grained discretionary access rights for files and directories." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/acpid.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="acpid"; 3 | version="2.0.23"; 4 | desc="The acpid (Advanced Configuration and Power Interface event daemon) is a completely flexible, totally extensible daemon for delivering ACPI events. " 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/apache2.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="apache2"; 3 | version="2.4.10"; 4 | desc="The Apache HTTPD package contains an open-source HTTP server. It is useful for creating local intranet web sites or running huge web serving operations." 5 | maintainer="chunsheng wang" 6 | depends="apr-util,pcre" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/apr-util.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="apr-util"; 3 | version="1.5.3"; 4 | desc="The Apache Portable Runtime Utility Library provides a predictable and consistent interface to underlying client library interfaces." 5 | maintainer="chunsheng wang" 6 | depends="apr" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/apr.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="apr"; 3 | version="1.5.1"; 4 | desc="The Apache Portable Runtime (APR) is a supporting library for the Apache web server. " 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/attr.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="attr"; 3 | version="2.4.47"; 4 | desc="The attr package contains utilities to administer the extended attributes on filesystem objects." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/autoconf.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="autoconf"; 3 | version="2.69"; 4 | desc="The Autoconf package contains programs for producing shell scripts that can automatically configure source code." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/automake.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="automake"; 3 | version="1.14.1"; 4 | desc="The Automake package contains programs for generating Makefiles for use with Autoconf." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/bash.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="bash"; 3 | version="4.3"; 4 | desc="The Bash package contains the Bourne-Again SHell." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/bc.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="bc"; 3 | version="1.06.95"; 4 | desc="The Bc package contains an arbitrary precision numeric processing language." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/binutils.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="binutils"; 3 | version="2.24"; 4 | desc="The Binutils package contains a linker, an assembler, and other tools for handling object files." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/bison.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="bison"; 3 | version="3.0.2"; 4 | desc="The Bison package contains a parser generator." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/bzip2.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="bzip2"; 3 | version="1.0.6"; 4 | desc="The Bzip2 package contains programs for compressing and decompressing files. Compressing text files with bzip2 yields a much better compression percentage than with the traditional gzip." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/ca-certs.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="ca-certs"; 3 | version="20150227"; 4 | desc="The certificates loaded by this section are from the list on the Mozilla version control system and formats it into a form used by OpenSSL-1.0.1i." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/chanzhi.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="chanzhi"; 3 | version="4.2.1"; 4 | desc="chanzhi portal system for company." 5 | maintainer="chunsheng wang" 6 | depends="php55,mariadb,apache2" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/chanzhidb.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="chanzhidb"; 3 | version="4.2.1"; 4 | desc="chanzhi database." 5 | maintainer="chunsheng wang" 6 | depends="mariadb" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/cmake.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="cmake"; 3 | version="3.0.1"; 4 | desc="The CMake package contains a modern toolset used for generating Makefiles." 5 | maintainer="chunsheng wang" 6 | depends="curl,libarchive" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/coreutils.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="coreutils"; 3 | version="8.23"; 4 | desc="The Coreutils package contains utilities for showing and setting the basic system characteristics." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/ctags.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="ctags"; 3 | version="5.8"; 4 | desc="Ctags generates an index (or tag) file of language objects found in source files that allows these items to be quickly and easily located by a text editor or other utility." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/curl.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="curl"; 3 | version="7.37.1"; 4 | desc="The cURL package contains a utility and a library used for transferring files with URL syntax to any of the following protocols: FTP, FTPS, HTTP, HTTPS, SCP, SFTP, TFTP, TELNET, DICT, LDAP, LDAPS and FILE. Its ability to both download and upload files can be incorporated into other programs to support functions like streaming media. " 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/cyrus-sasl.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="cyrus-sasl"; 3 | version="2.1.26"; 4 | desc="The Cyrus SASL package contains a Simple Authentication and Security Layer, a method for adding authentication support to connection-based protocols." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/dhcpcd.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="dhcpcd"; 3 | version="6.4.3"; 4 | desc="dhcpcd is an implementation of the DHCP client specified in RFC2131. " 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/diffutils.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="diffutils"; 3 | version="3.3"; 4 | desc="The Diffutils package contains programs that show the differences between files or directories." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/e2fsprogs.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="e2fsprogs"; 3 | version="1.42.12"; 4 | desc="The E2fsprogs package contains the utilities for handling the ext2 file system. It also supports the ext3 and ext4 journaling file systems." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/eudev.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="eudev"; 3 | version="1.10"; 4 | desc="The Eudev package contains programs for dynamic creation of device nodes." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/expat.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="expat"; 3 | version="2.1.0"; 4 | desc="The Expat package contains a stream oriented C library for parsing XML." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/file.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="file"; 3 | version="5.19"; 4 | desc="The File package contains a utility for determining the type of a given file or files." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/findutils.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="findutils"; 3 | version="4.4.2"; 4 | desc="The Findutils package contains programs to find files. These programs are provided to recursively search through a directory tree and to create, maintain, and search a database (often faster than the recursive find, but unreliable if the database has not been recently updated)." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/flex.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="flex"; 3 | version="2.5.39"; 4 | desc="The Flex package contains a utility for generating programs that recognize patterns in text." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/fontconfig.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="fontconfig"; 3 | version="2.11.1"; 4 | desc="The Fontconfig package contains a library and support programs used for configuring and customizing font access." 5 | maintainer="chunsheng wang" 6 | depends="freetype" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/freetype.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="freetype"; 3 | version="2.5.3"; 4 | desc="The FreeType2 package contains a library which allows applications to properly render TrueType fonts." 5 | maintainer="chunsheng wang" 6 | depends="which" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/gawk.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="gawk"; 3 | version="4.1.1"; 4 | desc="The Gawk package contains programs for manipulating text files." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/gcc.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="gcc"; 3 | version="4.9.1"; 4 | desc="The GCC package contains the GNU compiler collection, which includes the C and C++ compilers." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/gdbm.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="gdbm"; 3 | version="1.11"; 4 | desc="The GDBM package contains the GNU Database Manager. It is a library of database functions that use extensible hashing and work similar to the standard UNIX dbm. The library provides primitives for storing key/data pairs, searching and retrieving the data by its key and deleting a key along with its data." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/gettext.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="gettext"; 3 | version="0.19.2"; 4 | desc="The Gettext package contains utilities for internationalization and localization. These allow programs to be compiled with NLS (Native Language Support), enabling them to output messages in the user's native language." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/git.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="git"; 3 | version="2.1.0"; 4 | desc="Git is a free and open source, distributed version control system designed to handle everything from small to very large projects with speed and efficiency." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/glibc.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="glibc"; 3 | version="2.20"; 4 | desc="The Glibc package contains the main C library. This library provides the basic routines for allocating memory, searching directories, opening and closing files, reading and writing files, string handling, pattern matching, arithmetic, and so on." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/gmp.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="gmp"; 3 | version="6.0.0a"; 4 | desc="The GMP package contains math libraries. These have useful functions for arbitrary precision arithmetic." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/gperf.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="gperf"; 3 | version="3.0.4"; 4 | desc="Gperf generates a perfect hash function from a key set." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/grep.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="grep"; 3 | version="2.20"; 4 | desc="The Grep package contains programs for searching through files." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/groff.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="groff"; 3 | version="1.22.2"; 4 | desc="The Groff package contains programs for processing and formatting text." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/grub-config.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="grub-config"; 3 | version="20150224"; 4 | desc="The grub config package." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/grub.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="grub"; 3 | version="2.00"; 4 | desc="The GRUB package contains the GRand Unified Bootloader." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/gzip.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="gzip"; 3 | version="1.6"; 4 | desc="The Gzip package contains programs for compressing and decompressing files." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/iana-etc.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="iana-etc"; 3 | version="2.30"; 4 | desc="The Iana-Etc package provides data for network services and protocols." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/inetutils.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="inetutils"; 3 | version="1.9.2"; 4 | desc="The Inetutils package contains programs for basic networking." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/intltool.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="intltool"; 3 | version="0.50.2"; 4 | desc="The Intltool is an internationalization tool used for extracting translatable strings from source files." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/ioncube.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="ioncube"; 3 | version="5.5"; 4 | desc="The ioncube loader file." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/iproute2.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="iproute2"; 3 | version="3.16.0"; 4 | desc="The IPRoute2 package contains programs for basic and advanced IPV4-based networking." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/kbd.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="kbd"; 3 | version="2.0.2"; 4 | desc="The Kbd package contains key-table files, console fonts, and keyboard utilities." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/kernel.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="kernel"; 3 | version="3.16.2"; 4 | desc="The linux kernel." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/kmod.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="kmod"; 3 | version="18"; 4 | desc="The Kmod package contains libraries and utilities for loading kernel modules" 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/less.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="less"; 3 | version="458"; 4 | desc="The Less package contains a text file viewer." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/lfs-bootscripts.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="lfs-bootscripts"; 3 | version="20140815"; 4 | desc="The LFS-Bootscripts package contains a set of scripts to start/stop the LFS system at bootup/shutdown. The configuration files and procedures needed to customize the boot process are described in the following sections. " 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/libarchive.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="libarchive"; 3 | version="3.1.2"; 4 | desc="The libarchive library provides a single interface for reading/writing various compression formats. " 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/libcap.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="libcap"; 3 | version="2.24"; 4 | desc="The Libcap package implements the user-space interfaces to the POSIX 1003.1e capabilities available in Linux kernels. These capabilities are a partitioning of the all powerful root privilege into a set of distinct privileges." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/libevent.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="libevent"; 3 | version="2.0.21"; 4 | desc="libevent is an asynchronous event notification software library. The libevent API provides a mechanism to execute a callback function when a specific event occurs on a file descriptor or after a timeout has been reached. Furthermore, libevent also supports callbacks due to signals or regular timeouts." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/libexif.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="libexif"; 3 | version="0.6.21"; 4 | desc="The libexif package contains a library for parsing, editing, and saving EXIF data. Most digital cameras produce EXIF files, which are JPEG files with extra tags that contain information about the image. All EXIF tags described in EXIF standard 2.1 are supported." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/libgd.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="libgd"; 3 | version="2.1.1"; 4 | desc="GD library." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/libjpeg-turbo.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="libjpeg-turbo"; 3 | version="1.3.1"; 4 | desc="libjpeg-turbo is a fork of the original IJG libjpeg which uses SIMD to accelerate baseline JPEG compression and decompression. libjpeg is a library that implements JPEG image encoding, decoding and transcoding." 5 | maintainer="chunsheng wang" 6 | depends="nasm" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/libpipeline.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="libpipeline"; 3 | version="1.3.0"; 4 | desc="The Libpipeline package contains a library for manipulating pipelines of subprocesses in a flexible and convenient way." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/libpng.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="libpng"; 3 | version="1.6.13"; 4 | desc="The libpng package contains libraries used by other programs for reading and writing PNG files. The PNG format was designed as a replacement for GIF and, to a lesser extent, TIFF, with many improvements and extensions and lack of patent problems." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/libserf.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="libserf"; 3 | version="1.3.8"; 4 | desc="The Serf package contains a C-based HTTP client library built upon the Apache Portable Runtime (APR) library." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/libtiff.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="libtiff"; 3 | version="4.0.3"; 4 | desc="The LibTIFF package contains the TIFF libraries and associated utilities. The libraries are used by many programs for reading and writing TIFF files and the utilities are used for general work with TIFF files." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/libtool.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="libtool"; 3 | version="2.4.2"; 4 | desc="The Libtool package contains the GNU generic library support script. It wraps the complexity of using shared libraries in a consistent, portable interface." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/libxml2.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="libxml2"; 3 | version="2.9.1"; 4 | desc="The libxml2 package contains libraries and utilities used for parsing XML files." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/linux.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="linux-api-headers"; 3 | version="3.16.2"; 4 | desc="The Linux API Headers (in linux-3.16.2.tar.xz) expose the kernel's API for use by Glibc." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/lrzsz.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="lrzsz"; 3 | version="0.12.20"; 4 | desc="lrzsz is a unix communication package providing the XMODEM, YMODEM ZMODEM file transfer protocols." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/m4.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="m4"; 3 | version="1.4.17"; 4 | desc="The M4 package contains a macro processor." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/make.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="make"; 3 | version="4.0"; 4 | desc="The Make package contains a program for compiling packages." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/man-db.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="man-db"; 3 | version="2.6.7.1"; 4 | desc="The Man-DB package contains programs for finding and viewing man pages." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/man-pages.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="man-pages"; 3 | version="3.72"; 4 | desc="The Man-pages package contains over 2,200 man pages." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/mariadb.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="mariadb"; 3 | version="10.0.13"; 4 | desc="MariaDB is a community-developed fork and a drop-in replacement for the MySQL relational database management system." 5 | maintainer="chunsheng wang" 6 | depends="cmake,openssl" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/mpc.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="mpc"; 3 | version="1.0.2"; 4 | desc="The MPC package contains a library for the arithmetic of complex numbers with arbitrarily high precision and correct rounding of the result." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/mpfr.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="mpfr"; 3 | version="3.1.2"; 4 | desc="The MPFR package contains functions for multiple precision math." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/nasm.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="nasm"; 3 | version="2.11.05"; 4 | desc="NASM (Netwide Assembler) is an 80x86 assembler designed for portability and modularity. It includes a disassembler as well." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/ncurses.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="ncurses"; 3 | version="5.9"; 4 | desc="The Ncurses package contains libraries for terminal-independent handling of character screens." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/net-tools.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="net-tools"; 3 | version="20101030"; 4 | desc="The Net-tools package is a collection of programs for controlling the network subsystem of the Linux kernel." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/network-config.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="network-config"; 3 | version="20150224"; 4 | desc="Basic config files for networking." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/ntp.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="ntp"; 3 | version="4.2.6.p5"; 4 | desc="The ntp package contains a client and server to keep the time synchronized between various computers over a network. " 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/openldap.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="openldap"; 3 | version="2.4.39"; 4 | desc="The OpenLDAP package provides an open source implementation of the Lightweight Directory Access Protocol." 5 | maintainer="chunsheng wang" 6 | depends="cyrus-sasl,openssl" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/openssh.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="openssh"; 3 | version="6.6p1"; 4 | desc="The OpenSSH package contains ssh clients and the sshd daemon." 5 | maintainer="chunsheng wang" 6 | depends="openssl" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/openssl.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="openssl"; 3 | version="1.0.1i"; 4 | desc="The OpenSSL package contains management tools and libraries relating to cryptography. These are useful for providing cryptography functions to other packages, such as OpenSSH, email applications and web browsers (for accessing HTTPS sites). " 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/patch.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="patch"; 3 | version="2.7.1"; 4 | desc="The Patch package contains a program for modifying or creating files by applying a “patch” file typically created by the diff program." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/pcre.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="pcre"; 3 | version="8.35"; 4 | desc="The PCRE package contains Perl Compatible Regular Expression libraries." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/perl.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="perl"; 3 | version="5.20.0"; 4 | desc="The Perl package contains the Practical Extraction and Report Language." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/php55.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="php55"; 3 | version="5.5.22"; 4 | desc="PHP is a popular general-purpose scripting language that is especially suited to web development. fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world. " 5 | maintainer="chunsheng wang" 6 | depends="libxml2" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/phpmyadmin.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="phpmyadmin"; 3 | version="4.3.11"; 4 | desc="phpMyAdmin is a free software tool written in PHP, intended to handle the administration of MySQL over the Web." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/pkg-config.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="pkg-config"; 3 | version="0.28"; 4 | desc="The pkg-config package contains a tool for passing the include path and/or library paths to build tools during the configure and make file execution." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/pkg.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="pkg"; 3 | version="1.0"; 4 | desc="The package manager for zos." 5 | maintainer="chunsheng wang" 6 | depends="php55,sqlite3" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/procps-ng.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="procps-ng"; 3 | version="3.3.9"; 4 | desc="The Procps-ng package contains programs for monitoring processes." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/psmisc.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="psmisc"; 3 | version="22.21"; 4 | desc="The Psmisc package contains programs for displaying information about running processes." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/python27.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="python27"; 3 | version="2.7.8"; 4 | desc="The Python 2 package contains the Python development environment." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/ranzhi.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="ranzhi"; 3 | version="2.2"; 4 | desc="ranzhi cooperation system for company." 5 | maintainer="chunsheng wang" 6 | depends="php55,mariadb,apache2" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/ranzhidb.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="ranzhidb"; 3 | version="2.2"; 4 | desc="ranzhi database." 5 | maintainer="chunsheng wang" 6 | depends="mariadb" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/readline.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="readline"; 3 | version="6.3"; 4 | desc="The Readline package is a set of libraries that offers command-line editing and history capabilities." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/scons.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="scons"; 3 | version="2.3.4"; 4 | desc="SCons is a tool for building software (and other files) implemented in Python." 5 | maintainer="chunsheng wang" 6 | depends="python27" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/sed.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="sed"; 3 | version="4.2.2"; 4 | desc="The Sed package contains a stream editor." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/shadow.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="shadow"; 3 | version="4.2.1"; 4 | desc="The Shadow package contains programs for handling passwords in a secure way." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/sqlite.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="sqlite"; 3 | version="3.8.6"; 4 | desc="The SQLite package is a software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/subversion.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="subversion"; 3 | version="1.8.10"; 4 | desc="Subversion is a version control system that is designed to be a compelling replacement for CVS in the open source community." 5 | maintainer="chunsheng wang" 6 | depends="apr-util,sqlite,openssl,serf" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/sudo.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="sudo"; 3 | version="1.8.10p3"; 4 | desc="The Sudo package allows a system administrator to give certain users (or groups of users) the ability to run some (or all) commands as root or another user while logging the commands and arguments." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/sysklogd.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="sysklogd"; 3 | version="1.5"; 4 | desc="The Sysklogd package contains programs for logging system messages, such as those given by the kernel when unusual things happen." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/sysvinit-bootscripts.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="sysvinit-bootscripts"; 3 | version="20150224"; 4 | desc="The sysvinit boot scripts" 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/sysvinit.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="sysvinit"; 3 | version="2.88dsf"; 4 | desc="The Sysvinit package contains programs for controlling the startup, running, and shutdown of the system." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/tar.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="tar"; 3 | version="1.28"; 4 | desc="The Tar package contains an archiving program." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/texinfo.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="texinfo"; 3 | version="5.2"; 4 | desc="The Texinfo package contains programs for reading, writing, and converting info pages." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/unzip.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="unzip"; 3 | version="6.0"; 4 | desc="The UnZip package contains ZIP extraction utilities. These are useful for extracting files from ZIP archives. ZIP archives are created with PKZIP or Info-ZIP utilities, primarily in a DOS environment. " 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/util-linux.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="util-linux"; 3 | version="2.25.1"; 4 | desc="The Util-linux package contains miscellaneous utility programs. Among them are utilities for handling file systems, consoles, partitions, and messages." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/vim.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="vim"; 3 | version="7.4"; 4 | desc="The Vim package contains a powerful text editor." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/vixiecron.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="cron"; 3 | version="4.1"; 4 | desc="Vixie-cron is a full featured cron implementation based on SysV cron. Each user has his own crontab and is allowed to specify environment variables within that crontab." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/wget.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="wget"; 3 | version="1.15"; 4 | desc="The Wget package contains a utility useful for non-interactive downloading of files from the Web. " 5 | maintainer="chunsheng wang" 6 | depends="openssl" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/which.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="which"; 3 | version="2.20"; 4 | desc="which - locate a command" 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/xml-parser.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="xml::parser"; 3 | version="2.42_01"; 4 | desc="The XML::Parser module is a Perl interface to James Clark's XML parser, Expat." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/xz.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="xz"; 3 | version="5.0.5"; 4 | desc="The Xz package contains programs for compressing and decompressing files. It provides capabilities for the lzma and the newer xz compression formats. Compressing text files with xz yields a better compression percentage than with the traditional gzip or bzip2 commands." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/zentao.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="zentao"; 3 | version="7.1"; 4 | desc="zentao project management system." 5 | maintainer="chunsheng wang" 6 | depends="php55,mariadb,apache2" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/zentaodb.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="zentaodb"; 3 | version="7.1"; 4 | desc="zentao database." 5 | maintainer="chunsheng wang" 6 | depends="mariadb" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/ini/zlib.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="zlib"; 3 | version="1.2.8"; 4 | desc="The Zlib package contains compression and decompression routines used by some programs." 5 | maintainer="chunsheng wang" 6 | depends="" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] -------------------------------------------------------------------------------- /pkg/ini/zos-portal.ini: -------------------------------------------------------------------------------- 1 | [basic] 2 | name="zos-portal"; 3 | version="1.0"; 4 | desc="The portal index page for zos." 5 | maintainer="chunsheng wang" 6 | depends="php55,apache2" 7 | [preinstall] 8 | [postinstall] 9 | [preuninstall] 10 | [postuninstall] 11 | -------------------------------------------------------------------------------- /pkg/log/acpid.log: -------------------------------------------------------------------------------- 1 | /usr/sbin/kacpimon 2 | /usr/sbin/kacpimon 3 | /usr/share/man/man8/kacpimon.8 4 | /usr/share/man/man8/kacpimon.8 5 | /usr/bin/acpi_listen 6 | /usr/bin/acpi_listen 7 | /usr/sbin/acpid 8 | /usr/sbin/acpid 9 | /usr/share/doc/acpid-2.0.23/COPYING 10 | /usr/share/doc/acpid-2.0.23/COPYING 11 | /usr/share/doc/acpid-2.0.23/Changelog 12 | /usr/share/doc/acpid-2.0.23/Changelog 13 | /usr/share/doc/acpid-2.0.23/README 14 | /usr/share/doc/acpid-2.0.23/README 15 | /usr/share/doc/acpid-2.0.23/TESTPLAN 16 | /usr/share/doc/acpid-2.0.23/TESTPLAN 17 | /usr/share/doc/acpid-2.0.23/TODO 18 | /usr/share/doc/acpid-2.0.23/TODO 19 | /usr/share/man/man8/acpid.8 20 | /usr/share/man/man8/acpid.8 21 | /usr/share/man/man8/acpi_listen.8 22 | /usr/share/man/man8/acpi_listen.8 23 | /etc/acpi/events/power 24 | /etc/acpi/events/power 25 | /etc/acpi/power.sh 26 | /etc/acpi/power.sh 27 | /etc/rc.d/init.d/acpid 28 | /etc/rc.d/init.d/acpid 29 | /etc/rc.d/rc0.d/K32acpid 30 | /etc/rc.d/rc1.d/K32acpid 31 | /etc/rc.d/rc2.d/S18acpid 32 | /etc/rc.d/rc3.d/S18acpid 33 | /etc/rc.d/rc4.d/S18acpid 34 | /etc/rc.d/rc5.d/S18acpid 35 | /etc/rc.d/rc6.d/K32acpid 36 | -------------------------------------------------------------------------------- /pkg/log/bc.log: -------------------------------------------------------------------------------- 1 | /usr/bin/bc 2 | /usr/bin/bc 3 | /usr/bin/bc 4 | /usr/bin/dc 5 | /usr/bin/dc 6 | /usr/share/info/bc.info 7 | /usr/share/info/bc.info 8 | /usr/share/info/dc.info 9 | /usr/share/info/dc.info 10 | /usr/share/info/dir 11 | /usr/share/info/dir 12 | /usr/share/info/dir 13 | /usr/share/info/dir 14 | /usr/share/info/dir 15 | /usr/share/info/dir 16 | /usr/share/info/dir 17 | /usr/share/info/dir 18 | /usr/share/info/dir 19 | /usr/share/info/dir 20 | /usr/share/info/dir 21 | /usr/share/info/dir 22 | /usr/share/info/dir 23 | /usr/share/info/dir 24 | /usr/share/info/dir 25 | /usr/share/info/dir 26 | /usr/share/info/dir 27 | /usr/share/info/dir 28 | /usr/share/info/dir 29 | /usr/share/info/dir 30 | /usr/share/info/dir 31 | /usr/share/info/dir 32 | /usr/share/info/dir 33 | /usr/share/info/dir 34 | /usr/share/info/dir 35 | /usr/share/info/dir 36 | /usr/share/info/dir 37 | /usr/share/info/dir 38 | /usr/share/info/dir 39 | /usr/share/info/dir 40 | /usr/share/info/dir 41 | /usr/share/info/dir 42 | /usr/share/info/dir 43 | /usr/share/info/dir 44 | /usr/share/info/dir 45 | /usr/share/info/dir 46 | /usr/share/info/dir 47 | /usr/share/info/dir 48 | /usr/share/info/dir 49 | /usr/share/info/dir 50 | /usr/share/man/man1/bc.1 51 | /usr/share/man/man1/bc.1 52 | /usr/share/man/man1/dc.1 53 | /usr/share/man/man1/dc.1 54 | -------------------------------------------------------------------------------- /pkg/log/bzip2.log: -------------------------------------------------------------------------------- 1 | /usr/bin/bzip2 2 | /usr/bin/bzip2 3 | /usr/bin/bzip2 4 | /usr/bin/bunzip2 5 | /usr/bin/bunzip2 6 | /usr/bin/bunzip2 7 | /usr/bin/bzcat 8 | /usr/bin/bzcat 9 | /usr/bin/bzcat 10 | /usr/bin/bzip2recover 11 | /usr/bin/bzip2recover 12 | /usr/share/man/man1/bzip2.1 13 | /usr/share/man/man1/bzip2.1 14 | /usr/include/bzlib.h 15 | /usr/include/bzlib.h 16 | /usr/lib/libbz2.a 17 | /usr/lib/libbz2.a 18 | /usr/lib/libbz2.a 19 | /usr/bin/bzgrep 20 | /usr/bin/bzgrep 21 | /usr/bin/bzegrep 22 | /usr/bin/bzfgrep 23 | /usr/bin/bzmore 24 | /usr/bin/bzmore 25 | /usr/bin/bzless 26 | /usr/bin/bzdiff 27 | /usr/bin/bzdiff 28 | /usr/bin/bzcmp 29 | /usr/share/man/man1/bzgrep.1 30 | /usr/share/man/man1/bzgrep.1 31 | /usr/share/man/man1/bzmore.1 32 | /usr/share/man/man1/bzmore.1 33 | /usr/share/man/man1/bzdiff.1 34 | /usr/share/man/man1/bzdiff.1 35 | /usr/share/man/man1/bzegrep.1 36 | /usr/share/man/man1/bzegrep.1 37 | /usr/share/man/man1/bzfgrep.1 38 | /usr/share/man/man1/bzfgrep.1 39 | /usr/share/man/man1/bzless.1 40 | /usr/share/man/man1/bzless.1 41 | /usr/share/man/man1/bzcmp.1 42 | /usr/share/man/man1/bzcmp.1 43 | /usr/share/doc/bzip2-1.0.6/manual.html 44 | /usr/share/doc/bzip2-1.0.6/manual.html 45 | /usr/share/doc/bzip2-1.0.6/manual.pdf 46 | /usr/share/doc/bzip2-1.0.6/manual.pdf 47 | /usr/share/doc/bzip2-1.0.6/manual.pdf 48 | /usr/share/doc/bzip2-1.0.6/manual.ps 49 | /usr/share/doc/bzip2-1.0.6/manual.ps 50 | /usr/share/doc/bzip2-1.0.6/manual.ps 51 | /usr/share/doc/bzip2-1.0.6/manual.ps 52 | /usr/share/doc/bzip2-1.0.6/manual.ps 53 | /usr/share/doc/bzip2-1.0.6/manual.ps 54 | /usr/share/doc/bzip2-1.0.6/manual.ps 55 | /usr/share/doc/bzip2-1.0.6/manual.ps 56 | /usr/share/doc/bzip2-1.0.6/manual.ps 57 | /usr/share/doc/bzip2-1.0.6/manual.ps 58 | /usr/share/doc/bzip2-1.0.6/bzip2.txt 59 | /usr/share/doc/bzip2-1.0.6/bzip2.txt 60 | /bin/bzip2 61 | /bin/bzip2 62 | /lib/libbz2.so.1.0 63 | /lib/libbz2.so.1.0.6 64 | /lib/libbz2.so.1.0.6 65 | /lib/libbz2.so.1.0.6 66 | /usr/lib/libbz2.so 67 | /bin/bunzip2 68 | /bin/bzcat 69 | -------------------------------------------------------------------------------- /pkg/log/ctags.log: -------------------------------------------------------------------------------- 1 | /usr/bin/ctags 2 | /usr/bin/ctags 3 | /usr/bin/ctags 4 | /usr/bin/ctags 5 | /usr/bin/ctags 6 | /usr/bin/ctags 7 | /usr/bin/ctags 8 | /usr/share/man/man1/ctags.1 9 | /usr/share/man/man1/ctags.1 10 | -------------------------------------------------------------------------------- /pkg/log/dhcpcd.log: -------------------------------------------------------------------------------- 1 | /etc/dhcpcd.conf 2 | /etc/dhcpcd.conf 3 | /lib/dhcpcd/dev/udev.so 4 | /lib/dhcpcd/dev/udev.so 5 | /lib/dhcpcd/dhcpcd-hooks/01-test 6 | /lib/dhcpcd/dhcpcd-hooks/01-test 7 | /lib/dhcpcd/dhcpcd-hooks/02-dump 8 | /lib/dhcpcd/dhcpcd-hooks/02-dump 9 | /lib/dhcpcd/dhcpcd-hooks/10-mtu 10 | /lib/dhcpcd/dhcpcd-hooks/10-mtu 11 | /lib/dhcpcd/dhcpcd-hooks/10-wpa_supplicant 12 | /lib/dhcpcd/dhcpcd-hooks/10-wpa_supplicant 13 | /lib/dhcpcd/dhcpcd-hooks/15-timezone 14 | /lib/dhcpcd/dhcpcd-hooks/15-timezone 15 | /lib/dhcpcd/dhcpcd-hooks/20-resolv.conf 16 | /lib/dhcpcd/dhcpcd-hooks/20-resolv.conf 17 | /lib/dhcpcd/dhcpcd-hooks/29-lookup-hostname 18 | /lib/dhcpcd/dhcpcd-hooks/29-lookup-hostname 19 | /lib/dhcpcd/dhcpcd-hooks/30-hostname 20 | /lib/dhcpcd/dhcpcd-hooks/30-hostname 21 | /lib/dhcpcd/dhcpcd-run-hooks 22 | /lib/dhcpcd/dhcpcd-run-hooks 23 | /lib/services/dhcpcd 24 | /lib/services/dhcpcd 25 | /sbin/dhcpcd 26 | /sbin/dhcpcd 27 | /sbin/dhcpcd 28 | /usr/share/man/man5/dhcpcd.conf.5 29 | /usr/share/man/man5/dhcpcd.conf.5 30 | /usr/share/man/man8/dhcpcd-run-hooks.8 31 | /usr/share/man/man8/dhcpcd-run-hooks.8 32 | /usr/share/man/man8/dhcpcd.8 33 | /usr/share/man/man8/dhcpcd.8 34 | /etc/init.d/setnic 35 | /etc/rc.d/rc3.d/S15setnic 36 | -------------------------------------------------------------------------------- /pkg/log/file.log: -------------------------------------------------------------------------------- 1 | /usr/lib/libmagic.so.1.0.0 2 | /usr/lib/libmagic.so.1.0.0 3 | /usr/lib/libmagic.so.1.0.0 4 | /usr/lib/libmagic.so.1.0.0 5 | /usr/lib/libmagic.so.1 6 | /usr/lib/libmagic.so 7 | /usr/lib/libmagic.la 8 | /usr/lib/libmagic.la 9 | /usr/bin/file 10 | /usr/bin/file 11 | /usr/include/magic.h 12 | /usr/include/magic.h 13 | /usr/share/misc/magic.mgc 14 | /usr/share/misc/magic.mgc 15 | /usr/share/misc/magic.mgc 16 | /usr/share/misc/magic.mgc 17 | /usr/share/misc/magic.mgc 18 | /usr/share/misc/magic.mgc 19 | /usr/share/misc/magic.mgc 20 | /usr/share/misc/magic.mgc 21 | /usr/share/misc/magic.mgc 22 | /usr/share/misc/magic.mgc 23 | /usr/share/misc/magic.mgc 24 | /usr/share/misc/magic.mgc 25 | /usr/share/misc/magic.mgc 26 | /usr/share/misc/magic.mgc 27 | /usr/share/misc/magic.mgc 28 | /usr/share/misc/magic.mgc 29 | /usr/share/misc/magic.mgc 30 | /usr/share/misc/magic.mgc 31 | /usr/share/misc/magic.mgc 32 | /usr/share/misc/magic.mgc 33 | /usr/share/misc/magic.mgc 34 | /usr/share/misc/magic.mgc 35 | /usr/share/misc/magic.mgc 36 | /usr/share/man/man1/file.1 37 | /usr/share/man/man1/file.1 38 | /usr/share/man/man3/libmagic.3 39 | /usr/share/man/man3/libmagic.3 40 | /usr/share/man/man4/magic.4 41 | /usr/share/man/man4/magic.4 42 | -------------------------------------------------------------------------------- /pkg/log/gperf.log: -------------------------------------------------------------------------------- 1 | /usr/bin/gperf 2 | /usr/bin/gperf 3 | /usr/bin/gperf 4 | /usr/bin/gperf 5 | /usr/share/info/gperf.info 6 | /usr/share/info/gperf.info 7 | /usr/share/man/man1/gperf.1 8 | /usr/share/man/man1/gperf.1 9 | /usr/share/doc/gperf-3.0.4/gperf.html 10 | /usr/share/doc/gperf-3.0.4/gperf.html 11 | -------------------------------------------------------------------------------- /pkg/log/iana-etc.log: -------------------------------------------------------------------------------- 1 | /etc/protocols 2 | /etc/protocols 3 | /etc/services 4 | /etc/services 5 | /etc/services 6 | /etc/services 7 | /etc/services 8 | /etc/services 9 | /etc/services 10 | -------------------------------------------------------------------------------- /pkg/log/intltool.log: -------------------------------------------------------------------------------- 1 | /usr/share/man/man8/intltoolize.8 2 | /usr/share/man/man8/intltoolize.8 3 | /usr/share/man/man8/intltool-extract.8 4 | /usr/share/man/man8/intltool-extract.8 5 | /usr/share/man/man8/intltool-merge.8 6 | /usr/share/man/man8/intltool-merge.8 7 | /usr/share/man/man8/intltool-prepare.8 8 | /usr/share/man/man8/intltool-prepare.8 9 | /usr/share/man/man8/intltool-update.8 10 | /usr/share/man/man8/intltool-update.8 11 | /usr/bin/intltool-extract 12 | /usr/bin/intltool-extract 13 | /usr/bin/intltool-merge 14 | /usr/bin/intltool-merge 15 | /usr/bin/intltool-update 16 | /usr/bin/intltool-update 17 | /usr/bin/intltoolize 18 | /usr/bin/intltoolize 19 | /usr/bin/intltool-prepare 20 | /usr/bin/intltool-prepare 21 | /usr/share/aclocal/intltool.m4 22 | /usr/share/aclocal/intltool.m4 23 | /usr/share/intltool/Makefile.in.in 24 | /usr/share/intltool/Makefile.in.in 25 | -------------------------------------------------------------------------------- /pkg/log/ioncube.log: -------------------------------------------------------------------------------- 1 | /usr/lib/php/extensions/no-debug-non-zts-20121212/ioncube_loader_lin_5.5.so 2 | -------------------------------------------------------------------------------- /pkg/log/kmod.log: -------------------------------------------------------------------------------- 1 | /usr/lib/libkmod.so.2.2.8 2 | /usr/lib/libkmod.so.2.2.8 3 | /usr/lib/libkmod.so.2.2.8 4 | /usr/lib/libkmod.so.2.2.8 5 | /usr/lib/libkmod.so.2 6 | /usr/lib/libkmod.so 7 | /usr/lib/libkmod.la 8 | /usr/lib/libkmod.la 9 | /bin/kmod 10 | /bin/kmod 11 | /bin/kmod 12 | /bin/kmod 13 | /bin/kmod 14 | /usr/lib/libkmod.so 15 | /usr/lib/libkmod.so.2 16 | /lib/libkmod.so.2 17 | /usr/lib/libkmod.so.2.2.8 18 | /lib/libkmod.so.2.2.8 19 | /usr/share/bash-completion/completions/kmod 20 | /usr/share/bash-completion/completions/kmod 21 | /usr/include/libkmod.h 22 | /usr/include/libkmod.h 23 | /usr/lib/pkgconfig/libkmod.pc 24 | /usr/lib/pkgconfig/libkmod.pc 25 | /usr/share/man/man5/depmod.d.5 26 | /usr/share/man/man5/depmod.d.5 27 | /usr/share/man/man5/modprobe.d.5 28 | /usr/share/man/man5/modprobe.d.5 29 | /usr/share/man/man5/modules.dep.5 30 | /usr/share/man/man5/modules.dep.5 31 | /usr/share/man/man5/modules.dep.bin.5 32 | /usr/share/man/man5/modules.dep.bin.5 33 | /usr/share/man/man8/depmod.8 34 | /usr/share/man/man8/depmod.8 35 | /usr/share/man/man8/insmod.8 36 | /usr/share/man/man8/insmod.8 37 | /usr/share/man/man8/lsmod.8 38 | /usr/share/man/man8/lsmod.8 39 | /usr/share/man/man8/rmmod.8 40 | /usr/share/man/man8/rmmod.8 41 | /usr/share/man/man8/modprobe.8 42 | /usr/share/man/man8/modprobe.8 43 | /usr/share/man/man8/modinfo.8 44 | /usr/share/man/man8/modinfo.8 45 | /sbin/depmod 46 | /sbin/insmod 47 | /sbin/modinfo 48 | /sbin/modprobe 49 | /sbin/rmmod 50 | /bin/lsmod 51 | -------------------------------------------------------------------------------- /pkg/log/less.log: -------------------------------------------------------------------------------- 1 | /usr/bin/less 2 | /usr/bin/less 3 | /usr/bin/less 4 | /usr/bin/less 5 | /usr/bin/less 6 | /usr/bin/lesskey 7 | /usr/bin/lesskey 8 | /usr/bin/lessecho 9 | /usr/bin/lessecho 10 | /usr/share/man/man1/less.1 11 | /usr/share/man/man1/less.1 12 | /usr/share/man/man1/lesskey.1 13 | /usr/share/man/man1/lesskey.1 14 | /usr/share/man/man1/lessecho.1 15 | /usr/share/man/man1/lessecho.1 16 | -------------------------------------------------------------------------------- /pkg/log/libpng.log: -------------------------------------------------------------------------------- 1 | /usr/lib/libpng16.so.16.13.0 2 | /usr/lib/libpng16.so.16.13.0 3 | /usr/lib/libpng16.so.16.13.0 4 | /usr/lib/libpng16.so.16.13.0 5 | /usr/lib/libpng16.so.16.13.0 6 | /usr/lib/libpng16.so.16.13.0 7 | /usr/lib/libpng16.so.16.13.0 8 | /usr/lib/libpng16.so.16 9 | /usr/lib/libpng16.so 10 | /usr/lib/libpng16.la 11 | /usr/lib/libpng16.la 12 | /usr/bin/pngfix 13 | /usr/bin/pngfix 14 | /usr/bin/png-fix-itxt 15 | /usr/bin/png-fix-itxt 16 | /usr/bin/libpng16-config 17 | /usr/bin/libpng16-config 18 | /usr/lib/libpng.so 19 | /usr/lib/libpng.la 20 | /usr/bin/libpng-config 21 | /usr/share/man/man3/libpng.3 22 | /usr/share/man/man3/libpng.3 23 | /usr/share/man/man3/libpng.3 24 | /usr/share/man/man3/libpng.3 25 | /usr/share/man/man3/libpngpf.3 26 | /usr/share/man/man3/libpngpf.3 27 | /usr/share/man/man5/png.5 28 | /usr/share/man/man5/png.5 29 | /usr/include/libpng16/pnglibconf.h 30 | /usr/include/libpng16/pnglibconf.h 31 | /usr/lib/pkgconfig/libpng16.pc 32 | /usr/lib/pkgconfig/libpng16.pc 33 | /usr/include/libpng16/png.h 34 | /usr/include/libpng16/png.h 35 | /usr/include/libpng16/png.h 36 | /usr/include/libpng16/pngconf.h 37 | /usr/include/libpng16/pngconf.h 38 | /usr/include/pnglibconf.h 39 | /usr/include/png.h 40 | /usr/include/pngconf.h 41 | /usr/lib/pkgconfig/libpng.pc 42 | -------------------------------------------------------------------------------- /pkg/log/libserf.log: -------------------------------------------------------------------------------- 1 | /usr/lib/libserf-1.so.1.3.0 2 | /usr/lib/libserf-1.so.1.3.0 3 | /usr/lib/libserf-1.so.1.3.0 4 | /usr/lib/libserf-1.so.1.3.0 5 | /usr/lib/libserf-1.so.1.3.0 6 | /usr/lib/libserf-1.so.1.3.0 7 | /usr/lib/libserf-1.so.1.3.0 8 | /usr/lib/libserf-1.so.1.3.0 9 | /usr/lib/libserf-1.so.1.3.0 10 | /usr/lib/libserf-1.so.1.3.0 11 | /usr/lib/libserf-1.so.1.3.0 12 | /usr/lib/libserf-1.so.1.3.0 13 | /usr/lib/libserf-1.so.1.3.0 14 | /usr/lib/libserf-1.so.1.3.0 15 | /usr/lib/libserf-1.so.1.3.0 16 | /usr/lib/libserf-1.so.1.3.0 17 | /usr/lib/libserf-1.so.1.3.0 18 | /usr/lib/libserf-1.so.1.3.0 19 | /usr/lib/libserf-1.so.1.3.0 20 | /usr/lib/libserf-1.so.1.3.0 21 | /usr/lib/libserf-1.so.1.3.0 22 | /usr/lib/libserf-1.so.1.3.0 23 | /usr/lib/libserf-1.so.1.3.0 24 | /usr/lib/libserf-1.so.1.3.0 25 | /usr/lib/libserf-1.so.1.3.0 26 | /usr/lib/libserf-1.so.1.3.0 27 | /usr/lib/libserf-1.so.1.3.0 28 | /usr/lib/libserf-1.so.1.3.0 29 | /usr/lib/libserf-1.so.1.3.0 30 | /usr/lib/libserf-1.so.1.3.0 31 | /usr/lib/libserf-1.so.1.3.0 32 | /usr/lib/libserf-1.so.1.3.0 33 | /usr/lib/libserf-1.so.1.3.0 34 | /usr/lib/libserf-1.so.1.3.0 35 | /usr/lib/libserf-1.so.1.3.0 36 | /usr/lib/libserf-1.so.1.3.0 37 | /usr/lib/libserf-1.so.1.3.0 38 | /usr/lib/libserf-1.so.1.3.0 39 | /usr/lib/libserf-1.so.1.3.0 40 | /usr/lib/libserf-1.so.1.3.0 41 | /usr/lib/libserf-1.so.1.3.0 42 | /usr/lib/libserf-1.so.1.3.0 43 | /usr/lib/libserf-1.so.1.3.0 44 | /usr/lib/libserf-1.so.1.3.0 45 | /usr/lib/libserf-1.so.1.3.0 46 | /usr/lib/libserf-1.so 47 | /usr/lib/libserf-1.so.1 48 | /usr/include/serf-1/serf.h 49 | /usr/include/serf-1/serf.h 50 | /usr/include/serf-1/serf.h 51 | /usr/include/serf-1/serf.h 52 | /usr/include/serf-1/serf.h 53 | /usr/include/serf-1/serf.h 54 | /usr/include/serf-1/serf_bucket_types.h 55 | /usr/include/serf-1/serf_bucket_types.h 56 | /usr/include/serf-1/serf_bucket_types.h 57 | /usr/include/serf-1/serf_bucket_types.h 58 | /usr/include/serf-1/serf_bucket_util.h 59 | /usr/include/serf-1/serf_bucket_util.h 60 | /usr/include/serf-1/serf_bucket_util.h 61 | /usr/lib/pkgconfig/serf-1.pc 62 | /usr/lib/pkgconfig/serf-1.pc 63 | -------------------------------------------------------------------------------- /pkg/log/lrzsz.log: -------------------------------------------------------------------------------- 1 | /usr/bin/lrz 2 | /usr/bin/lrz 3 | /usr/bin/lrz 4 | /usr/bin/lsz 5 | /usr/bin/lsz 6 | /usr/bin/lsz 7 | /usr/bin/lsb 8 | /usr/bin/lsx 9 | /usr/bin/lrb 10 | /usr/bin/lrx 11 | /usr/share/locale/de/LC_MESSAGES/lrzsz.mo 12 | /usr/share/locale/de/LC_MESSAGES/lrzsz.mo 13 | /usr/man/man1/lrz.1 14 | /usr/man/man1/lrz.1 15 | /usr/man/man1/lsz.1 16 | /usr/man/man1/lsz.1 17 | /usr/bin/rz 18 | /usr/bin/sz 19 | -------------------------------------------------------------------------------- /pkg/log/m4.log: -------------------------------------------------------------------------------- 1 | /usr/bin/m4 2 | /usr/bin/m4 3 | /usr/bin/m4 4 | /usr/bin/m4 5 | /usr/bin/m4 6 | /usr/share/info/m4.info 7 | /usr/share/info/m4.info 8 | /usr/share/info/m4.info-1 9 | /usr/share/info/m4.info-1 10 | /usr/share/info/m4.info-1 11 | /usr/share/info/m4.info-1 12 | /usr/share/info/m4.info-2 13 | /usr/share/info/m4.info-2 14 | /usr/share/info/dir 15 | /usr/share/info/dir 16 | /usr/share/info/dir 17 | /usr/share/info/dir 18 | /usr/share/info/dir 19 | /usr/share/info/dir 20 | /usr/share/info/dir 21 | /usr/share/info/dir 22 | /usr/share/info/dir 23 | /usr/share/info/dir 24 | /usr/share/info/dir 25 | /usr/share/info/dir 26 | /usr/share/info/dir 27 | /usr/share/info/dir 28 | /usr/share/info/dir 29 | /usr/share/info/dir 30 | /usr/share/info/dir 31 | /usr/share/info/dir 32 | /usr/share/info/dir 33 | /usr/share/info/dir 34 | /usr/share/man/man1/m4.1 35 | /usr/share/man/man1/m4.1 36 | -------------------------------------------------------------------------------- /pkg/log/mpc.log: -------------------------------------------------------------------------------- 1 | /usr/lib/libmpc.so.3.0.0 2 | /usr/lib/libmpc.so.3.0.0 3 | /usr/lib/libmpc.so.3 4 | /usr/lib/libmpc.so 5 | /usr/lib/libmpc.la 6 | /usr/lib/libmpc.la 7 | /usr/lib/libmpc.a 8 | /usr/lib/libmpc.a 9 | /usr/lib/libmpc.a 10 | /usr/lib/st2s2S9I 11 | /usr/lib/st2s2S9I 12 | /usr/lib/st2s2S9I 13 | /usr/lib/st2s2S9I 14 | /usr/lib/st2s2S9I 15 | /usr/lib/st2s2S9I 16 | /usr/lib/st2s2S9I 17 | /usr/lib/st2s2S9I 18 | /usr/lib/st2s2S9I 19 | /usr/lib/st2s2S9I 20 | /usr/lib/st2s2S9I 21 | /usr/lib/st2s2S9I 22 | /usr/lib/st2s2S9I 23 | /usr/lib/st2s2S9I 24 | /usr/lib/st2s2S9I 25 | /usr/lib/st2s2S9I 26 | /usr/lib/st2s2S9I 27 | /usr/lib/st2s2S9I 28 | /usr/lib/st2s2S9I 29 | /usr/lib/st2s2S9I 30 | /usr/lib/st2s2S9I 31 | /usr/lib/st2s2S9I 32 | /usr/lib/st2s2S9I 33 | /usr/lib/st2s2S9I 34 | /usr/lib/st2s2S9I 35 | /usr/lib/st2s2S9I 36 | /usr/lib/st2s2S9I 37 | /usr/lib/st2s2S9I 38 | /usr/lib/st2s2S9I 39 | /usr/lib/st2s2S9I 40 | /usr/lib/st2s2S9I 41 | /usr/lib/st2s2S9I 42 | /usr/lib/st2s2S9I 43 | /usr/lib/st2s2S9I 44 | /usr/lib/st2s2S9I 45 | /usr/lib/st2s2S9I 46 | /usr/lib/st2s2S9I 47 | /usr/lib/st2s2S9I 48 | /usr/lib/st2s2S9I 49 | /usr/lib/st2s2S9I 50 | /usr/lib/st2s2S9I 51 | /usr/lib/st2s2S9I 52 | /usr/lib/st2s2S9I 53 | /usr/lib/st2s2S9I 54 | /usr/lib/st2s2S9I 55 | /usr/lib/st2s2S9I 56 | /usr/lib/st2s2S9I 57 | /usr/lib/st2s2S9I 58 | /usr/lib/st2s2S9I 59 | /usr/lib/st2s2S9I 60 | /usr/lib/st2s2S9I 61 | /usr/lib/st2s2S9I 62 | /usr/lib/st2s2S9I 63 | /usr/lib/libmpc.a 64 | /usr/share/info/mpc.info 65 | /usr/share/info/mpc.info 66 | /usr/share/info/dir 67 | /usr/share/info/dir 68 | /usr/share/info/dir 69 | /usr/share/info/dir 70 | /usr/share/info/dir 71 | /usr/share/info/dir 72 | /usr/share/info/dir 73 | /usr/share/info/dir 74 | /usr/share/info/dir 75 | /usr/share/info/dir 76 | /usr/share/info/dir 77 | /usr/share/info/dir 78 | /usr/share/info/dir 79 | /usr/share/info/dir 80 | /usr/share/info/dir 81 | /usr/share/info/dir 82 | /usr/share/info/dir 83 | /usr/share/info/dir 84 | /usr/include/mpc.h 85 | /usr/include/mpc.h 86 | -------------------------------------------------------------------------------- /pkg/log/nasm.log: -------------------------------------------------------------------------------- 1 | /usr/bin/nasm 2 | /usr/bin/nasm 3 | /usr/bin/nasm 4 | /usr/bin/nasm 5 | /usr/bin/nasm 6 | /usr/bin/nasm 7 | /usr/bin/nasm 8 | /usr/bin/nasm 9 | /usr/bin/nasm 10 | /usr/bin/nasm 11 | /usr/bin/nasm 12 | /usr/bin/nasm 13 | /usr/bin/nasm 14 | /usr/bin/nasm 15 | /usr/bin/nasm 16 | /usr/bin/nasm 17 | /usr/bin/ndisasm 18 | /usr/bin/ndisasm 19 | /usr/bin/ndisasm 20 | /usr/bin/ndisasm 21 | /usr/bin/ndisasm 22 | /usr/bin/ndisasm 23 | /usr/bin/ndisasm 24 | /usr/share/man/man1/nasm.1 25 | /usr/share/man/man1/nasm.1 26 | /usr/share/man/man1/ndisasm.1 27 | /usr/share/man/man1/ndisasm.1 28 | -------------------------------------------------------------------------------- /pkg/log/net-tools.log: -------------------------------------------------------------------------------- 1 | /sbin/arp 2 | /sbin/arp 3 | /sbin/arp 4 | /sbin/nameif 5 | /sbin/nameif 6 | /bin/netstat 7 | /bin/netstat 8 | /sbin/plipconfig 9 | /sbin/plipconfig 10 | /sbin/rarp 11 | /sbin/rarp 12 | /sbin/route 13 | /sbin/route 14 | /sbin/route 15 | /sbin/slattach 16 | /sbin/slattach 17 | /sbin/ipmaddr 18 | /sbin/ipmaddr 19 | /sbin/iptunnel 20 | /sbin/iptunnel 21 | /sbin/mii-tool 22 | /sbin/mii-tool 23 | /usr/share/man/man5/ethers.5 24 | /usr/share/man/man5/ethers.5 25 | /usr/share/man/man8/arp.8 26 | /usr/share/man/man8/arp.8 27 | /usr/share/man/man8/mii-tool.8 28 | /usr/share/man/man8/mii-tool.8 29 | /usr/share/man/man8/nameif.8 30 | /usr/share/man/man8/nameif.8 31 | /usr/share/man/man8/netstat.8 32 | /usr/share/man/man8/netstat.8 33 | /usr/share/man/man8/plipconfig.8 34 | /usr/share/man/man8/plipconfig.8 35 | /usr/share/man/man8/rarp.8 36 | /usr/share/man/man8/rarp.8 37 | /usr/share/man/man8/route.8 38 | /usr/share/man/man8/route.8 39 | /usr/share/man/man8/slattach.8 40 | /usr/share/man/man8/slattach.8 41 | -------------------------------------------------------------------------------- /pkg/log/network-config.log: -------------------------------------------------------------------------------- 1 | /etc/sysconfig/ifconfig.eth0 2 | /etc/sysconfig/ifconfig.eth0 3 | /etc/resolv.conf 4 | /etc/resolv.conf 5 | /etc/hostname 6 | /etc/hosts 7 | /etc/hosts 8 | -------------------------------------------------------------------------------- /pkg/log/ntp.log: -------------------------------------------------------------------------------- 1 | /etc/ntp.conf 2 | /etc/ntp.conf 3 | /etc/rc.d/init.d/ntpd 4 | /etc/rc.d/init.d/ntpd 5 | /etc/rc.d/rc0.d/K46ntpd 6 | /etc/rc.d/rc1.d/K46ntpd 7 | /etc/rc.d/rc2.d/K46ntpd 8 | /etc/rc.d/rc3.d/S26ntpd 9 | /etc/rc.d/rc4.d/S26ntpd 10 | /etc/rc.d/rc5.d/S26ntpd 11 | /etc/rc.d/rc6.d/K46ntpd 12 | /usr/sbin/ntp-keygen 13 | /usr/sbin/ntp-keygen 14 | /usr/sbin/ntp-keygen 15 | /usr/sbin/ntp-keygen 16 | /usr/sbin/ntp-keygen 17 | /usr/sbin/ntp-wait 18 | /usr/sbin/ntp-wait 19 | /usr/sbin/ntpd 20 | /usr/sbin/ntpd 21 | /usr/sbin/ntpd 22 | /usr/sbin/ntpd 23 | /usr/sbin/ntpd 24 | /usr/sbin/ntpd 25 | /usr/sbin/ntpd 26 | /usr/sbin/ntpd 27 | /usr/sbin/ntpd 28 | /usr/sbin/ntpd 29 | /usr/sbin/ntpd 30 | /usr/sbin/ntpd 31 | /usr/sbin/ntpd 32 | /usr/sbin/ntpd 33 | /usr/sbin/ntpd 34 | /usr/sbin/ntpdate 35 | /usr/sbin/ntpdate 36 | /usr/sbin/ntpdate 37 | /usr/sbin/ntpdate 38 | /usr/sbin/ntpdc 39 | /usr/sbin/ntpdc 40 | /usr/sbin/ntpdc 41 | /usr/sbin/ntpdc 42 | /usr/sbin/ntpdc 43 | /usr/sbin/ntpdc 44 | /usr/sbin/ntpq 45 | /usr/sbin/ntpq 46 | /usr/sbin/ntpq 47 | /usr/sbin/ntpq 48 | /usr/sbin/ntpq 49 | /usr/sbin/ntpq 50 | /usr/sbin/ntptime 51 | /usr/sbin/ntptime 52 | /usr/sbin/ntptime 53 | /usr/sbin/ntptrace 54 | /usr/sbin/ntptrace 55 | /usr/sbin/sntp 56 | /usr/sbin/sntp 57 | /usr/sbin/sntp 58 | /usr/sbin/sntp 59 | /usr/sbin/sntp 60 | /usr/sbin/tickadj 61 | /usr/sbin/tickadj 62 | /usr/share/man/man1/ntp-keygen.1 63 | /usr/share/man/man1/ntp-keygen.1 64 | /usr/share/man/man1/ntpd.1 65 | /usr/share/man/man1/ntpd.1 66 | /usr/share/man/man1/ntpdc.1 67 | /usr/share/man/man1/ntpdc.1 68 | /usr/share/man/man1/ntpq.1 69 | /usr/share/man/man1/ntpq.1 70 | /usr/share/man/man1/ntpsnmpd.1 71 | /usr/share/man/man1/ntpsnmpd.1 72 | /usr/share/man/man1/sntp.1 73 | /usr/share/man/man1/sntp.1 74 | -------------------------------------------------------------------------------- /pkg/log/patch.log: -------------------------------------------------------------------------------- 1 | /var/tmp/cf2173/conftest9012345 2 | /usr/lib/cf2173/conftest9012345 3 | /usr/bin/patch 4 | /usr/bin/patch 5 | /usr/bin/patch 6 | /usr/bin/patch 7 | /usr/bin/patch 8 | /usr/share/man/man1/patch.1 9 | /usr/share/man/man1/patch.1 10 | -------------------------------------------------------------------------------- /pkg/log/pkg-config.log: -------------------------------------------------------------------------------- 1 | /usr/bin/pkg-config 2 | /usr/bin/pkg-config 3 | /usr/bin/pkg-config 4 | /usr/bin/pkg-config 5 | /usr/bin/pkg-config 6 | /usr/bin/pkg-config 7 | /usr/bin/pkg-config 8 | /usr/bin/pkg-config 9 | /usr/bin/pkg-config 10 | /usr/bin/pkg-config 11 | /usr/bin/pkg-config 12 | /usr/share/doc/pkg-config-0.28/pkg-config-guide.html 13 | /usr/share/doc/pkg-config-0.28/pkg-config-guide.html 14 | /usr/share/aclocal/pkg.m4 15 | /usr/share/aclocal/pkg.m4 16 | /usr/share/man/man1/pkg-config.1 17 | /usr/share/man/man1/pkg-config.1 18 | -------------------------------------------------------------------------------- /pkg/log/pkg.log: -------------------------------------------------------------------------------- 1 | /bin/pkg 2 | /var/lib/pkg/pkg.db 3 | -------------------------------------------------------------------------------- /pkg/log/sqlite.log: -------------------------------------------------------------------------------- 1 | /usr/lib/libsqlite3.so.0.8.6 2 | /usr/lib/libsqlite3.so.0.8.6 3 | /usr/lib/libsqlite3.so.0.8.6 4 | /usr/lib/libsqlite3.so.0.8.6 5 | /usr/lib/libsqlite3.so.0.8.6 6 | /usr/lib/libsqlite3.so.0.8.6 7 | /usr/lib/libsqlite3.so.0.8.6 8 | /usr/lib/libsqlite3.so.0.8.6 9 | /usr/lib/libsqlite3.so.0.8.6 10 | /usr/lib/libsqlite3.so.0.8.6 11 | /usr/lib/libsqlite3.so.0.8.6 12 | /usr/lib/libsqlite3.so.0.8.6 13 | /usr/lib/libsqlite3.so.0.8.6 14 | /usr/lib/libsqlite3.so.0.8.6 15 | /usr/lib/libsqlite3.so.0.8.6 16 | /usr/lib/libsqlite3.so.0.8.6 17 | /usr/lib/libsqlite3.so.0.8.6 18 | /usr/lib/libsqlite3.so.0.8.6 19 | /usr/lib/libsqlite3.so.0.8.6 20 | /usr/lib/libsqlite3.so.0 21 | /usr/lib/libsqlite3.so 22 | /usr/lib/libsqlite3.la 23 | /usr/lib/libsqlite3.la 24 | /usr/bin/sqlite3 25 | /usr/bin/sqlite3 26 | /usr/include/sqlite3.h 27 | /usr/include/sqlite3.h 28 | /usr/include/sqlite3.h 29 | /usr/include/sqlite3.h 30 | /usr/include/sqlite3ext.h 31 | /usr/include/sqlite3ext.h 32 | /usr/share/man/man1/sqlite3.1 33 | /usr/share/man/man1/sqlite3.1 34 | /usr/lib/pkgconfig/sqlite3.pc 35 | /usr/lib/pkgconfig/sqlite3.pc 36 | -------------------------------------------------------------------------------- /pkg/log/sysklogd.log: -------------------------------------------------------------------------------- 1 | /usr/share/man/man8/sysklogd.8 2 | /usr/share/man/man8/sysklogd.8 3 | /usr/share/man/man8/syslogd.8 4 | /usr/share/man/man8/syslogd.8 5 | /usr/share/man/man5/syslog.conf.5 6 | /usr/share/man/man5/syslog.conf.5 7 | /usr/share/man/man8/klogd.8 8 | /usr/share/man/man8/klogd.8 9 | /sbin/syslogd 10 | /sbin/syslogd 11 | /sbin/stbGYd1c 12 | /sbin/stbGYd1c 13 | /sbin/stbGYd1c 14 | /sbin/stbGYd1c 15 | /sbin/stbGYd1c 16 | /sbin/stbGYd1c 17 | /sbin/stbGYd1c 18 | /sbin/stbGYd1c 19 | /sbin/stbGYd1c 20 | /sbin/stbGYd1c 21 | /sbin/stbGYd1c 22 | /sbin/stbGYd1c 23 | /sbin/stbGYd1c 24 | /sbin/stbGYd1c 25 | /sbin/stbGYd1c 26 | /sbin/stbGYd1c 27 | /sbin/syslogd 28 | /sbin/klogd 29 | /sbin/klogd 30 | /sbin/stDy8w0d 31 | /sbin/stDy8w0d 32 | /sbin/stDy8w0d 33 | /sbin/stDy8w0d 34 | /sbin/stDy8w0d 35 | /sbin/stDy8w0d 36 | /sbin/stDy8w0d 37 | /sbin/stDy8w0d 38 | /sbin/stDy8w0d 39 | /sbin/stDy8w0d 40 | /sbin/stDy8w0d 41 | /sbin/stDy8w0d 42 | /sbin/stDy8w0d 43 | /sbin/klogd 44 | /etc/syslog.conf 45 | /etc/syslog.conf 46 | -------------------------------------------------------------------------------- /pkg/log/sysvinit-bootscripts.log: -------------------------------------------------------------------------------- 1 | /etc/inittab 2 | /etc/inittab 3 | /etc/sysconfig/clock 4 | /etc/sysconfig/clock 5 | /etc/sysconfig/console 6 | /etc/sysconfig/console 7 | /etc/sysconfig/rc.site 8 | /etc/sysconfig/rc.site 9 | -------------------------------------------------------------------------------- /pkg/log/sysvinit.log: -------------------------------------------------------------------------------- 1 | /sbin/init 2 | /sbin/init 3 | /sbin/halt 4 | /sbin/halt 5 | /sbin/shutdown 6 | /sbin/shutdown 7 | /sbin/runlevel 8 | /sbin/runlevel 9 | /sbin/killall5 10 | /sbin/killall5 11 | /sbin/fstab-decode 12 | /sbin/fstab-decode 13 | /sbin/bootlogd 14 | /sbin/bootlogd 15 | /sbin/reboot 16 | /sbin/poweroff 17 | /sbin/telinit 18 | /usr/include/initreq.h 19 | /usr/include/initreq.h 20 | /usr/share/man/man5/initscript.5 21 | /usr/share/man/man5/initscript.5 22 | /usr/share/man/man5/inittab.5 23 | /usr/share/man/man5/inittab.5 24 | /usr/share/man/man8/halt.8 25 | /usr/share/man/man8/halt.8 26 | /usr/share/man/man8/init.8 27 | /usr/share/man/man8/init.8 28 | /usr/share/man/man8/killall5.8 29 | /usr/share/man/man8/killall5.8 30 | /usr/share/man/man8/poweroff.8 31 | /usr/share/man/man8/poweroff.8 32 | /usr/share/man/man8/reboot.8 33 | /usr/share/man/man8/reboot.8 34 | /usr/share/man/man8/runlevel.8 35 | /usr/share/man/man8/runlevel.8 36 | /usr/share/man/man8/shutdown.8 37 | /usr/share/man/man8/shutdown.8 38 | /usr/share/man/man8/telinit.8 39 | /usr/share/man/man8/telinit.8 40 | /usr/share/man/man8/fstab-decode.8 41 | /usr/share/man/man8/fstab-decode.8 42 | /usr/share/man/man8/bootlogd.8 43 | /usr/share/man/man8/bootlogd.8 44 | -------------------------------------------------------------------------------- /pkg/log/unzip.log: -------------------------------------------------------------------------------- 1 | /usr/bin/unzip 2 | /usr/bin/unzip 3 | /usr/bin/unzip 4 | /usr/bin/funzip 5 | /usr/bin/funzip 6 | /usr/bin/unzipsfx 7 | /usr/bin/unzipsfx 8 | /usr/bin/zipgrep 9 | /usr/bin/zipgrep 10 | /usr/bin/zipinfo 11 | /usr/share/man/man1/funzip.1 12 | /usr/share/man/man1/funzip.1 13 | /usr/share/man/man1/unzip.1 14 | /usr/share/man/man1/unzip.1 15 | /usr/share/man/man1/unzipsfx.1 16 | /usr/share/man/man1/unzipsfx.1 17 | /usr/share/man/man1/zipgrep.1 18 | /usr/share/man/man1/zipgrep.1 19 | /usr/share/man/man1/zipinfo.1 20 | /usr/share/man/man1/zipinfo.1 21 | -------------------------------------------------------------------------------- /pkg/log/vixiecron.log: -------------------------------------------------------------------------------- 1 | /etc/rc.d/init.d/cron 2 | /etc/rc.d/init.d/cron 3 | /etc/rc.d/rc0.d/K08cron 4 | /etc/rc.d/rc1.d/K08cron 5 | /etc/rc.d/rc2.d/S40cron 6 | /etc/rc.d/rc3.d/S40cron 7 | /etc/rc.d/rc4.d/S40cron 8 | /etc/rc.d/rc5.d/S40cron 9 | /etc/rc.d/rc6.d/K08cron 10 | /usr/bin/crontab 11 | /usr/bin/crontab 12 | /usr/bin/crontab 13 | /usr/sbin/cron 14 | /usr/sbin/cron 15 | /usr/sbin/cron 16 | /usr/share/man/man1/crontab.1 17 | /usr/share/man/man1/crontab.1 18 | /usr/share/man/man5/crontab.5 19 | /usr/share/man/man5/crontab.5 20 | /usr/share/man/man8/cron.8 21 | /usr/share/man/man8/cron.8 22 | /var/cron/cron.allow 23 | /var/cron/cron.allow 24 | -------------------------------------------------------------------------------- /pkg/log/which.log: -------------------------------------------------------------------------------- 1 | /usr/bin/which 2 | /usr/bin/which 3 | /usr/share/info/which.info 4 | /usr/share/info/which.info 5 | /usr/share/info/dir 6 | /usr/share/info/dir 7 | /usr/share/info/dir 8 | /usr/share/info/dir 9 | /usr/share/info/dir 10 | /usr/share/info/dir 11 | /usr/share/info/dir 12 | /usr/share/info/dir 13 | /usr/share/info/dir 14 | /usr/share/info/dir 15 | /usr/share/info/dir 16 | /usr/share/info/dir 17 | /usr/share/info/dir 18 | /usr/share/info/dir 19 | /usr/share/info/dir 20 | /usr/share/info/dir 21 | /usr/share/info/dir 22 | /usr/share/info/dir 23 | /usr/share/info/dir 24 | /usr/share/info/dir 25 | /usr/share/info/dir 26 | /usr/share/info/dir 27 | /usr/share/info/dir 28 | /usr/share/man/man1/which.1 29 | /usr/share/man/man1/which.1 30 | -------------------------------------------------------------------------------- /pkg/log/zlib.log: -------------------------------------------------------------------------------- 1 | /usr/lib/libz.a 2 | /usr/lib/libz.a 3 | /usr/lib/stPqjinh 4 | /usr/lib/stPqjinh 5 | /usr/lib/stPqjinh 6 | /usr/lib/stPqjinh 7 | /usr/lib/stPqjinh 8 | /usr/lib/stPqjinh 9 | /usr/lib/stPqjinh 10 | /usr/lib/stPqjinh 11 | /usr/lib/stPqjinh 12 | /usr/lib/stPqjinh 13 | /usr/lib/stPqjinh 14 | /usr/lib/stPqjinh 15 | /usr/lib/stPqjinh 16 | /usr/lib/stPqjinh 17 | /usr/lib/stPqjinh 18 | /usr/lib/stPqjinh 19 | /usr/lib/stPqjinh 20 | /usr/lib/stPqjinh 21 | /usr/lib/stPqjinh 22 | /usr/lib/stPqjinh 23 | /usr/lib/stPqjinh 24 | /usr/lib/stPqjinh 25 | /usr/lib/stPqjinh 26 | /usr/lib/stPqjinh 27 | /usr/lib/stPqjinh 28 | /usr/lib/stPqjinh 29 | /usr/lib/stPqjinh 30 | /usr/lib/stPqjinh 31 | /usr/lib/stPqjinh 32 | /usr/lib/stPqjinh 33 | /usr/lib/stPqjinh 34 | /usr/lib/stPqjinh 35 | /usr/lib/stPqjinh 36 | /usr/lib/stPqjinh 37 | /usr/lib/libz.a 38 | /usr/lib/libz.so.1.2.8 39 | /usr/lib/libz.so.1.2.8 40 | /usr/lib/libz.so 41 | /usr/lib/libz.so.1 42 | /usr/share/man/man3/zlib.3 43 | /usr/share/man/man3/zlib.3 44 | /usr/lib/pkgconfig/zlib.pc 45 | /usr/lib/pkgconfig/zlib.pc 46 | /usr/include/zlib.h 47 | /usr/include/zlib.h 48 | /usr/include/zconf.h 49 | /usr/include/zconf.h 50 | /usr/lib/libz.so.1 51 | /lib/libz.so.1 52 | /usr/lib/libz.so.1.2.8 53 | /lib/libz.so.1.2.8 54 | /usr/lib/libz.so 55 | -------------------------------------------------------------------------------- /pkg/log/zos-portal.log: -------------------------------------------------------------------------------- 1 | /srv/www/index.php 2 | -------------------------------------------------------------------------------- /pkg/winst: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # This shell is used to monitor the files when install a software by make install or other commands. 4 | # 5 | # @author chunsheng wang 6 | 7 | # Judge inotifywait tool exists or not. 8 | which inotifywait > /dev/null 9 | if [ $? -ne 0 ]; then 10 | echo 'No inotifywait. Please install inotify-tools, for debian or ubuntun run apt-get install inotify-tools.'; 11 | exit 1 12 | fi 13 | 14 | # Judge the params, must give watcher. 15 | if [ $# -lt 1 ]; then 16 | echo './winst watcher' 17 | exit 1 18 | fi 19 | watcher=$1 20 | notifier=$PWD/.notifier; 21 | 22 | # Increase the limit. 23 | echo 100000000 > /proc/sys/fs/inotify/max_user_watches 24 | 25 | # Watch the watcher 26 | inotifywait -mrq --event create,modify,move --format '%w %e %f' \ 27 | --exclude '(/mnt/lfs/sources/|/mnt/lfs/tools|/mnt/lfs/tmp/|/mnt/lfs/root/|/mnt/lfs/dev/|/mnt/lfs/run/|aux-cache|ld.so.cache)' $watcher |\ 28 | while read dir event file ; do 29 | 30 | # Get the logfile name from the notifier file by "pkg watch" command. 31 | logfile=`cat $notifier`; 32 | if [ $logfile ]; then 33 | 34 | # Get file installed. 35 | fileinstalled=$dir$file 36 | fileinstalled=${fileinstalled/$watcher/} 37 | 38 | # If event is ISDIR, ignore it. 39 | echo $event |grep -q 'ISDIR' 40 | if [ $? -eq 0 ]; then 41 | echo `date "+%H:%M:%S"` $fileinstalled is dir, ignored. 42 | continue; 43 | fi 44 | 45 | # Append file to the logfile. 46 | echo $fileinstalled >> $logfile 47 | echo `date "+%H:%M:%S"` $fileinstalled $event 48 | 49 | fi 50 | 51 | done 52 | -------------------------------------------------------------------------------- /readme.txt: -------------------------------------------------------------------------------- 1 | ZOS is a light linux os with apache, php and mysql build in it, which can only run in virutal environment like virtualbox, vmware. ZOS aims to supoort one all-in-one box for company to run a php app like zentaopms, wordpress. It has just two virtual machine files system.vmdk and data.vmdk, can run it on windows with virtualbox or vmware support. 2 | 3 | ZOS is build from LFS. This project's codes are the shells to build and reduct it. To build ZOS, need seven disks as flowing: 4 | #/dev/sda the debian build host system 5 | #/dev/sdb the lfs system. 6 | #/dev/sdc the tools 7 | #/dev/sdd the source 8 | #/dev/sde the minify 9 | #/dev/sdf the release system 10 | #/dev/sdg the release data. 11 | --------------------------------------------------------------------------------