Changeset 0ee931e
- Timestamp:
- Feb 21, 2006, 12:16:10 AM (19 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 99e4712
- Parents:
- 12ba0a4
- Location:
- scripts/untested/blfs-scripts
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/untested/blfs-scripts/blfs-mysql-32.sh
-
Property mode
changed from
100644
to120000
r12ba0a4 r0ee931e 1 #!/bin/bash 2 3 ### mysql ### 4 5 cd ${SRC} 6 LOG=mysql-blfs.log 7 8 SELF=`basename ${0}` 9 set_buildenv 10 set_libdirname 11 setup_multiarch 12 if [ ! "${libdirname}" = "lib" ]; then 13 extra_conf="--libdir=/usr/${libdirname}" 14 fi 15 16 unpack_tarball mysql-${MYSQL_VER} 17 cd ${PKGDIR} 18 19 max_log_init mysql ${MYSQL_VER} "blfs (shared)" ${CONFLOGS} ${LOG} 20 CC="${CC-gcc} ${ARCH_CFLAGS}" \ 21 CXX="${CXX-g++} ${ARCH_CFLAGS}" \ 22 CFLAGS="${TGT_CFLAGS}" \ 23 CXXLAGS="${TGT_CFLAGS}" \ 24 CPPFLAGS="-D_GNU_SOURCE" \ 25 ./configure --prefix=/usr ${extra_conf} \ 26 --libexecdir=/usr/${libdirname}/mysql --localstatedir=/var/lib/mysql \ 27 --enable-thread-safe-client --enable-assembler \ 28 --enable-local-infile --with-named-thread-libs=-lpthread \ 29 --with-unix-socket-path=/var/run/mysql/mysql.sock \ 30 --without-debug --without-bench --without-readline \ 31 --with-libwrap --with-openssl \ 32 >> ${LOGFILE} 2>&1 && 33 echo " o Configure OK" && 34 35 min_log_init ${BUILDLOGS} && 36 make ${PMFLAGS} testdir=/usr/${libdirname}/mysql/mysql-test \ 37 >> ${LOGFILE} 2>&1 && 38 echo " o Build OK" && 39 40 min_log_init ${INSTLOGS} && 41 make testdir=/usr/${libdirname}/mysql/mysql-test install \ 42 >> ${LOGFILE} 2>&1 && 43 echo " o ALL OK" || barf 44 45 if [ "Y" = "${MULTIARCH}" ]; then 46 use_wrapper /usr/bin/{mysql_config,mysql_fix_privilege_tables,mysql_install_db,mysqlbug} 47 create_stub_hdrs /usr/include/mysql/my_config.h 48 fi 49 50 cd /usr/${libdirname} && 51 ln -sf mysql/libmysqlclient{,_r}.so* . 52 #!/bin/bash 53 54 ### mysql ### 55 56 cd ${SRC} 57 LOG=mysql-blfs.log 58 59 SELF=`basename ${0}` 60 set_buildenv 61 set_libdirname 62 setup_multiarch 63 if [ ! "${libdirname}" = "lib" ]; then 64 extra_conf="--libdir=/usr/${libdirname}" 65 fi 66 67 unpack_tarball mysql-${MYSQL_VER} 68 cd ${PKGDIR} 69 70 max_log_init mysql ${MYSQL_VER} "blfs (shared)" ${CONFLOGS} ${LOG} 71 CC="${CC-gcc} ${ARCH_CFLAGS}" \ 72 CXX="${CXX-g++} ${ARCH_CFLAGS}" \ 73 CFLAGS="${TGT_CFLAGS}" \ 74 CXXLAGS="${TGT_CFLAGS}" \ 75 CPPFLAGS="-D_GNU_SOURCE" \ 76 ./configure --prefix=/usr ${extra_conf} \ 77 --libexecdir=/usr/${libdirname}/mysql --localstatedir=/var/lib/mysql \ 78 --enable-thread-safe-client --enable-assembler \ 79 --enable-local-infile --with-named-thread-libs=-lpthread \ 80 --with-unix-socket-path=/var/run/mysql/mysql.sock \ 81 --without-debug --without-bench --without-readline \ 82 --with-libwrap --with-openssl \ 83 >> ${LOGFILE} 2>&1 && 84 echo " o Configure OK" && 85 86 min_log_init ${BUILDLOGS} && 87 make ${PMFLAGS} testdir=/usr/${libdirname}/mysql/mysql-test \ 88 >> ${LOGFILE} 2>&1 && 89 echo " o Build OK" && 90 91 min_log_init ${INSTLOGS} && 92 make testdir=/usr/${libdirname}/mysql/mysql-test install \ 93 >> ${LOGFILE} 2>&1 && 94 echo " o ALL OK" || barf 95 96 if [ "Y" = "${MULTIARCH}" ]; then 97 use_wrapper /usr/bin/{mysql_config,mysql_fix_privilege_tables,mysql_install_db,mysqlbug} 98 create_stub_hdrs /usr/include/mysql/my_config.h 99 fi 100 101 cd /usr/${libdirname} && 102 ln -sf mysql/libmysqlclient{,_r}.so* . 1 blfs-mysql.sh -
Property mode
changed from
-
scripts/untested/blfs-scripts/blfs-mysql-64.sh
-
Property mode
changed from
100644
to120000
r12ba0a4 r0ee931e 1 #!/bin/bash 2 3 ### mysql ### 4 5 cd ${SRC} 6 LOG=mysql-blfs.log 7 8 SELF=`basename ${0}` 9 set_buildenv 10 set_libdirname 11 setup_multiarch 12 if [ ! "${libdirname}" = "lib" ]; then 13 extra_conf="--libdir=/usr/${libdirname}" 14 fi 15 16 unpack_tarball mysql-${MYSQL_VER} 17 cd ${PKGDIR} 18 19 max_log_init mysql ${MYSQL_VER} "blfs (shared)" ${CONFLOGS} ${LOG} 20 CC="${CC-gcc} ${ARCH_CFLAGS}" \ 21 CXX="${CXX-g++} ${ARCH_CFLAGS}" \ 22 CFLAGS="${TGT_CFLAGS}" \ 23 CXXLAGS="${TGT_CFLAGS}" \ 24 CPPFLAGS="-D_GNU_SOURCE" \ 25 ./configure --prefix=/usr ${extra_conf} \ 26 --libexecdir=/usr/${libdirname}/mysql --localstatedir=/var/lib/mysql \ 27 --enable-thread-safe-client --enable-assembler \ 28 --enable-local-infile --with-named-thread-libs=-lpthread \ 29 --with-unix-socket-path=/var/run/mysql/mysql.sock \ 30 --without-debug --without-bench --without-readline \ 31 --with-libwrap --with-openssl \ 32 >> ${LOGFILE} 2>&1 && 33 echo " o Configure OK" && 34 35 min_log_init ${BUILDLOGS} && 36 make ${PMFLAGS} testdir=/usr/${libdirname}/mysql/mysql-test \ 37 >> ${LOGFILE} 2>&1 && 38 echo " o Build OK" && 39 40 min_log_init ${INSTLOGS} && 41 make testdir=/usr/${libdirname}/mysql/mysql-test install \ 42 >> ${LOGFILE} 2>&1 && 43 echo " o ALL OK" || barf 44 45 if [ "Y" = "${MULTIARCH}" ]; then 46 use_wrapper /usr/bin/{mysql_config,mysql_fix_privilege_tables,mysql_install_db,mysqlbug} 47 create_stub_hdrs /usr/include/mysql/my_config.h 48 fi 49 50 cd /usr/${libdirname} && 51 ln -sf mysql/libmysqlclient{,_r}.so* . 52 #!/bin/bash 53 54 ### mysql ### 55 56 cd ${SRC} 57 LOG=mysql-blfs.log 58 59 SELF=`basename ${0}` 60 set_buildenv 61 set_libdirname 62 setup_multiarch 63 if [ ! "${libdirname}" = "lib" ]; then 64 extra_conf="--libdir=/usr/${libdirname}" 65 fi 66 67 unpack_tarball mysql-${MYSQL_VER} 68 cd ${PKGDIR} 69 70 max_log_init mysql ${MYSQL_VER} "blfs (shared)" ${CONFLOGS} ${LOG} 71 CC="${CC-gcc} ${ARCH_CFLAGS}" \ 72 CXX="${CXX-g++} ${ARCH_CFLAGS}" \ 73 CFLAGS="${TGT_CFLAGS}" \ 74 CXXLAGS="${TGT_CFLAGS}" \ 75 CPPFLAGS="-D_GNU_SOURCE" \ 76 ./configure --prefix=/usr ${extra_conf} \ 77 --libexecdir=/usr/${libdirname}/mysql --localstatedir=/var/lib/mysql \ 78 --enable-thread-safe-client --enable-assembler \ 79 --enable-local-infile --with-named-thread-libs=-lpthread \ 80 --with-unix-socket-path=/var/run/mysql/mysql.sock \ 81 --without-debug --without-bench --without-readline \ 82 --with-libwrap --with-openssl \ 83 >> ${LOGFILE} 2>&1 && 84 echo " o Configure OK" && 85 86 min_log_init ${BUILDLOGS} && 87 make ${PMFLAGS} testdir=/usr/${libdirname}/mysql/mysql-test \ 88 >> ${LOGFILE} 2>&1 && 89 echo " o Build OK" && 90 91 min_log_init ${INSTLOGS} && 92 make testdir=/usr/${libdirname}/mysql/mysql-test install \ 93 >> ${LOGFILE} 2>&1 && 94 echo " o ALL OK" || barf 95 96 if [ "Y" = "${MULTIARCH}" ]; then 97 use_wrapper /usr/bin/{mysql_config,mysql_fix_privilege_tables,mysql_install_db,mysqlbug} 98 create_stub_hdrs /usr/include/mysql/my_config.h 99 fi 100 101 cd /usr/${libdirname} && 102 ln -sf mysql/libmysqlclient{,_r}.so* . 1 blfs-mysql.sh -
Property mode
changed from
-
scripts/untested/blfs-scripts/blfs-python-32.sh
-
Property mode
changed from
100644
to120000
r12ba0a4 r0ee931e 1 #!/bin/bash 2 # 3 # python 4 # 5 # Dependencies: None 6 # 7 8 cd ${SRC} 9 LOG=blfs-python.log 10 11 SELF=`basename ${0}` 12 set_buildenv 13 set_libdirname 14 setup_multiarch 15 if [ ! "${libdirname}" = "lib" ]; then 16 extra_conf="--libdir=/usr/${libdirname}" 17 fi 18 19 unpack_tarball Python-${PYTHON_VER} && 20 cd ${PKGDIR} 21 22 case ${PYTHON_VER}} in 23 2.4 ) apply_patch Python-2.4-db43-1 ;; 24 esac 25 # Still applies to 2.4.1 26 apply_patch Python-2.4-gdbm-1 27 28 #------------------------------------------ 29 # TODO: need to do some edits for lib64 ... 30 #------------------------------------------ 31 if [ "lib64" = ${libdirname} ]; then 32 case ${PYTHON_VER}} in 33 2.4 ) apply_patch Python-2.4-lib64-1 ;; 34 2.4.* ) apply_patch Python-2.4.1-lib64-1 ;; 35 esac 36 fi 37 38 max_log_init python ${PYTHON_VER} "blfs (shared)" ${CONFLOGS} ${LOG} 39 CC="${CC-gcc} ${ARCH_CFLAGS}" \ 40 CXX="${CXX-g++} ${ARCH_CFLAGS}" \ 41 CFLAGS="${TGT_CFLAGS}" \ 42 CXXFLAGS="${TGT_CFLAGS}" \ 43 ./configure --prefix=/usr --build="${TARGET}" \ 44 --mandir=/usr/share/man --infodir=/usr/share/info \ 45 --enable-shared ${extra_conf} \ 46 --enable-ipv6 \ 47 >> ${LOGFILE} 2>&1 && 48 echo " o Configure OK" && 49 50 min_log_init ${BUILDLOGS} && 51 make ${PMFLAGS} LDFLAGS="-s" \ 52 >> ${LOGFILE} 2>&1 && 53 echo " o Build OK" && 54 55 min_log_init ${INSTLOGS} && 56 make install \ 57 >> ${LOGFILE} 2>&1 && 58 echo " o ALL OK" || barf 59 60 if [ "Y" = "${MULTIARCH}" ]; then 61 use_wrapper /usr/bin/{python,python2.4} 62 create_stub_hdrs /usr/include/python2.4/pyconfig.h 63 fi 64 #!/bin/bash 65 # 66 # python 67 # 68 # Dependencies: None 69 # 70 71 cd ${SRC} 72 LOG=blfs-python.log 73 74 SELF=`basename ${0}` 75 set_buildenv 76 set_libdirname 77 setup_multiarch 78 if [ ! "${libdirname}" = "lib" ]; then 79 extra_conf="--libdir=/usr/${libdirname}" 80 fi 81 82 unpack_tarball Python-${PYTHON_VER} && 83 cd ${PKGDIR} 84 85 case ${PYTHON_VER}} in 86 2.4 ) apply_patch Python-2.4-db43-1 ;; 87 esac 88 # Still applies to 2.4.1 89 apply_patch Python-2.4-gdbm-1 90 91 #------------------------------------------ 92 # TODO: need to do some edits for lib64 ... 93 #------------------------------------------ 94 if [ "lib64" = ${libdirname} ]; then 95 case ${PYTHON_VER}} in 96 2.4 ) apply_patch Python-2.4-lib64-1 ;; 97 2.4.* ) apply_patch Python-2.4.1-lib64-1 ;; 98 esac 99 fi 100 101 max_log_init python ${PYTHON_VER} "blfs (shared)" ${CONFLOGS} ${LOG} 102 CC="${CC-gcc} ${ARCH_CFLAGS}" \ 103 CXX="${CXX-g++} ${ARCH_CFLAGS}" \ 104 CFLAGS="${TGT_CFLAGS}" \ 105 CXXFLAGS="${TGT_CFLAGS}" \ 106 ./configure --prefix=/usr --build="${TARGET}" \ 107 --mandir=/usr/share/man --infodir=/usr/share/info \ 108 --enable-shared ${extra_conf} \ 109 --enable-ipv6 \ 110 >> ${LOGFILE} 2>&1 && 111 echo " o Configure OK" && 112 113 min_log_init ${BUILDLOGS} && 114 make ${PMFLAGS} LDFLAGS="-s" \ 115 >> ${LOGFILE} 2>&1 && 116 echo " o Build OK" && 117 118 min_log_init ${INSTLOGS} && 119 make install \ 120 >> ${LOGFILE} 2>&1 && 121 echo " o ALL OK" || barf 122 123 if [ "Y" = "${MULTIARCH}" ]; then 124 use_wrapper /usr/bin/{python,python2.4} 125 create_stub_hdrs /usr/include/python2.4/pyconfig.h 126 fi 1 blfs-python.sh -
Property mode
changed from
-
scripts/untested/blfs-scripts/blfs-xml-parser-pm-32.sh
-
Property mode
changed from
100644
to120000
r12ba0a4 r0ee931e 1 #!/bin/bash 2 3 ### XML-Parser perl module ### 4 5 cd ${SRC} 6 LOG=xml-parser-pm-blfs.log 7 8 SELF=`basename ${0}` 9 set_buildenv 10 11 # No need to set libdirname etc, will use perl defaults which should 12 # correctly set CC and libdir 13 14 unpack_tarball XML-Parser-${XML_PARSER_PM_VER} 15 cd ${PKGDIR} 16 17 max_log_init XML-Parser ${XML_PARSER_PM_VER} "blfs (shared)" ${CONFLOGS} ${LOG} 18 perl Makefile.PL \ 19 >> ${LOGFILE} 2>&1 && 20 echo " o Configure OK" || barf 21 22 min_log_init ${BUILDLOGS} && 23 make \ 24 >> ${LOGFILE} 2>&1 && 25 echo " o Build OK" || barf 26 27 min_log_init ${TESTLOGS} && 28 make test \ 29 >> ${LOGFILE} 2>&1 && 30 echo " o Test OK" || barf 31 32 min_log_init ${INSTLOGS} && 33 make install \ 34 >> ${LOGFILE} 2>&1 && 35 echo " o ALL OK" || barf 36 37 #!/bin/bash 38 39 ### XML-Parser perl module ### 40 41 cd ${SRC} 42 LOG=xml-parser-pm-blfs.log 43 44 SELF=`basename ${0}` 45 set_buildenv 46 47 # No need to set libdirname etc, will use perl defaults which should 48 # correctly set CC and libdir 49 50 unpack_tarball XML-Parser-${XML_PARSER_PM_VER} 51 cd ${PKGDIR} 52 53 max_log_init XML-Parser ${XML_PARSER_PM_VER} "blfs (shared)" ${CONFLOGS} ${LOG} 54 perl Makefile.PL \ 55 >> ${LOGFILE} 2>&1 && 56 echo " o Configure OK" || barf 57 58 min_log_init ${BUILDLOGS} && 59 make \ 60 >> ${LOGFILE} 2>&1 && 61 echo " o Build OK" || barf 62 63 min_log_init ${TESTLOGS} && 64 make test \ 65 >> ${LOGFILE} 2>&1 && 66 echo " o Test OK" || barf 67 68 min_log_init ${INSTLOGS} && 69 make install \ 70 >> ${LOGFILE} 2>&1 && 71 echo " o ALL OK" || barf 72 1 blfs-xml-parser-pm.sh -
Property mode
changed from
-
scripts/untested/blfs-scripts/blfs-xml-parser-pm-64.sh
-
Property mode
changed from
100644
to120000
r12ba0a4 r0ee931e 1 #!/bin/bash 2 3 ### XML-Parser perl module ### 4 5 cd ${SRC} 6 LOG=xml-parser-pm-blfs.log 7 8 SELF=`basename ${0}` 9 set_buildenv 10 11 # No need to set libdirname etc, will use perl defaults which should 12 # correctly set CC and libdir 13 14 unpack_tarball XML-Parser-${XML_PARSER_PM_VER} 15 cd ${PKGDIR} 16 17 max_log_init XML-Parser ${XML_PARSER_PM_VER} "blfs (shared)" ${CONFLOGS} ${LOG} 18 perl Makefile.PL \ 19 >> ${LOGFILE} 2>&1 && 20 echo " o Configure OK" || barf 21 22 min_log_init ${BUILDLOGS} && 23 make \ 24 >> ${LOGFILE} 2>&1 && 25 echo " o Build OK" || barf 26 27 min_log_init ${TESTLOGS} && 28 make test \ 29 >> ${LOGFILE} 2>&1 && 30 echo " o Test OK" || barf 31 32 min_log_init ${INSTLOGS} && 33 make install \ 34 >> ${LOGFILE} 2>&1 && 35 echo " o ALL OK" || barf 36 37 #!/bin/bash 38 39 ### XML-Parser perl module ### 40 41 cd ${SRC} 42 LOG=xml-parser-pm-blfs.log 43 44 SELF=`basename ${0}` 45 set_buildenv 46 47 # No need to set libdirname etc, will use perl defaults which should 48 # correctly set CC and libdir 49 50 unpack_tarball XML-Parser-${XML_PARSER_PM_VER} 51 cd ${PKGDIR} 52 53 max_log_init XML-Parser ${XML_PARSER_PM_VER} "blfs (shared)" ${CONFLOGS} ${LOG} 54 perl Makefile.PL \ 55 >> ${LOGFILE} 2>&1 && 56 echo " o Configure OK" || barf 57 58 min_log_init ${BUILDLOGS} && 59 make \ 60 >> ${LOGFILE} 2>&1 && 61 echo " o Build OK" || barf 62 63 min_log_init ${TESTLOGS} && 64 make test \ 65 >> ${LOGFILE} 2>&1 && 66 echo " o Test OK" || barf 67 68 min_log_init ${INSTLOGS} && 69 make install \ 70 >> ${LOGFILE} 2>&1 && 71 echo " o ALL OK" || barf 72 1 blfs-xml-parser-pm.sh -
Property mode
changed from
Note:
See TracChangeset
for help on using the changeset viewer.