Changeset 4e71b7e


Ignore:
Timestamp:
Feb 21, 2006, 12:22:44 AM (19 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
236a72e
Parents:
834dec0
Message:

r599@server (orig r597): ryan | 2005-08-05 23:16:50 -0700
General fixes, add pgsql support



File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/untested/blfs-scripts/blfs-samba.sh

    r834dec0 r4e71b7e  
    1111setup_multiarch
    1212if [ ! "${libdirname}" = "lib" ]; then
    13    extra_conf="--libdir=/usr/${libdirname}"
     13   extra_conf="--libdir=/usr/${libdirname}/samba"
    1414fi
    1515
    16 unpack_tarball samba-${MYSQL_VER}
     16unpack_tarball samba-${SAMBA_VER}
    1717
    18 # TODO, set --with-libdir here only when biarch...
    19 #       remove from configure below
    2018cd ${PKGDIR}/source
    2119
    22 max_log_init samba ${MYSQL_VER} "blfs (shared)" ${CONFLOGS} ${LOG}
     20max_log_init samba ${SAMBA_VER} "blfs (shared)" ${CONFLOGS} ${LOG}
    2321CC="${CC-gcc} ${ARCH_CFLAGS}" \
    2422CXX="${CXX-g++} ${ARCH_CFLAGS}" \
    25 CFLAGS="${TGT_CFLAGS}" \
    26 CXXLAGS="${TGT_CFLAGS}" \
     23CFLAGS="-O2 -pipe ${TGT_CFLAGS}" \
     24CXXLAGS="-O2 -pipe ${TGT_CFLAGS}" \
    2725./configure --prefix=/usr ${extra_conf} \
    28    --with-libdir=/usr/${libdirname}/samba \
    2926   --sysconfdir=/etc \
    3027   --with-configdir=/etc/samba \
     
    3431   --with-smbmount \
    3532   --with-automount \
    36    --with-python=python${suffix} \
     33   --with-python \
    3734   --with-pam \
    38    --with-expsam=xml,mysql \
     35   --with-expsam=xml,mysql,pgsql \
    3936   >> ${LOGFILE} 2>&1 &&
    4037echo " o Configure OK" &&
    4138
     39# BAH, samba doesn't seem to want to honour --libdir
    4240min_log_init ${BUILDLOGS} &&
    43 make ${PMFLAGS} \
     41make LIBDIR=/usr/${libdirname}/samba \
    4442   >> ${LOGFILE} 2>&1 &&
    4543echo " o Build OK" &&
    4644
    4745min_log_init ${INSTLOGS} &&
    48 make install \
     46make LIBDIR=/usr/${libdirname}/samba install \
    4947   >> ${LOGFILE} 2>&1 &&
    5048echo " o ALL OK" || barf
     
    5856ln -sf libnss_winbind.so /${libdirname}/libnss_winbind.so.2 &&
    5957ln -sf libnss_wins.so /${libdirname}/libnss_wins.so.2 &&
    60 cp ../examples/smb.conf.default /etc/samba &&
     58cp ../examples/smb.conf.default /tmp/${PKGDIR}-${BUILDENV}/etc/samba &&
    6159install -m644 ../docs/*.pdf /usr/share/samba &&
    6260if [ -f nsswitch/pam_winbind.so ]; then
Note: See TracChangeset for help on using the changeset viewer.