Changeset 4e71b7e for scripts/untested
- Timestamp:
- Feb 21, 2006, 12:22:44 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:
- 236a72e
- Parents:
- 834dec0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/untested/blfs-scripts/blfs-samba.sh
r834dec0 r4e71b7e 11 11 setup_multiarch 12 12 if [ ! "${libdirname}" = "lib" ]; then 13 extra_conf="--libdir=/usr/${libdirname} "13 extra_conf="--libdir=/usr/${libdirname}/samba" 14 14 fi 15 15 16 unpack_tarball samba-${ MYSQL_VER}16 unpack_tarball samba-${SAMBA_VER} 17 17 18 # TODO, set --with-libdir here only when biarch...19 # remove from configure below20 18 cd ${PKGDIR}/source 21 19 22 max_log_init samba ${ MYSQL_VER} "blfs (shared)" ${CONFLOGS} ${LOG}20 max_log_init samba ${SAMBA_VER} "blfs (shared)" ${CONFLOGS} ${LOG} 23 21 CC="${CC-gcc} ${ARCH_CFLAGS}" \ 24 22 CXX="${CXX-g++} ${ARCH_CFLAGS}" \ 25 CFLAGS=" ${TGT_CFLAGS}" \26 CXXLAGS=" ${TGT_CFLAGS}" \23 CFLAGS="-O2 -pipe ${TGT_CFLAGS}" \ 24 CXXLAGS="-O2 -pipe ${TGT_CFLAGS}" \ 27 25 ./configure --prefix=/usr ${extra_conf} \ 28 --with-libdir=/usr/${libdirname}/samba \29 26 --sysconfdir=/etc \ 30 27 --with-configdir=/etc/samba \ … … 34 31 --with-smbmount \ 35 32 --with-automount \ 36 --with-python =python${suffix}\33 --with-python \ 37 34 --with-pam \ 38 --with-expsam=xml,mysql \35 --with-expsam=xml,mysql,pgsql \ 39 36 >> ${LOGFILE} 2>&1 && 40 37 echo " o Configure OK" && 41 38 39 # BAH, samba doesn't seem to want to honour --libdir 42 40 min_log_init ${BUILDLOGS} && 43 make ${PMFLAGS}\41 make LIBDIR=/usr/${libdirname}/samba \ 44 42 >> ${LOGFILE} 2>&1 && 45 43 echo " o Build OK" && 46 44 47 45 min_log_init ${INSTLOGS} && 48 make install \46 make LIBDIR=/usr/${libdirname}/samba install \ 49 47 >> ${LOGFILE} 2>&1 && 50 48 echo " o ALL OK" || barf … … 58 56 ln -sf libnss_winbind.so /${libdirname}/libnss_winbind.so.2 && 59 57 ln -sf libnss_wins.so /${libdirname}/libnss_wins.so.2 && 60 cp ../examples/smb.conf.default / etc/samba &&58 cp ../examples/smb.conf.default /tmp/${PKGDIR}-${BUILDENV}/etc/samba && 61 59 install -m644 ../docs/*.pdf /usr/share/samba && 62 60 if [ -f nsswitch/pam_winbind.so ]; then
Note:
See TracChangeset
for help on using the changeset viewer.