summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/Caldera/OpenLinux/samba3.spec.tmpl36
1 files changed, 20 insertions, 16 deletions
diff --git a/packaging/Caldera/OpenLinux/samba3.spec.tmpl b/packaging/Caldera/OpenLinux/samba3.spec.tmpl
index 81ee895f40..f3f7bf3c76 100644
--- a/packaging/Caldera/OpenLinux/samba3.spec.tmpl
+++ b/packaging/Caldera/OpenLinux/samba3.spec.tmpl
@@ -105,16 +105,17 @@ allowing an administrator to easily look up the effects of any change.
#%patch1 -p1
#%patch2 -p1
+# The commented out fixUP below should be best known as screwUP!
# instead of patch (to help configuration) ... ;^)
-%{fixUP} -vbT source/Makefile.in -e '
- s:we don.t use sbindir because we want:if you want : +
- s:(the previous releases of Samba):$1, please use: +
- s:(SBINDIR\s*=\s*\@)b:# ./configure --sbindir=\\\$(BINDIR)\n${1}sb: +
- s:/log\.(\S+):/log/samba.d/${1}d: +
- s:(PASSWD_PROGRAM\s*=\s*)(/bin):$1/usr$2: +
- s:^(LIBS\s*=):AUTH_$1: +
- s:((SMBD|SWAT|RPCCLIENT|SMBPASSWD)_OBJ\) )(\$\(LDF):$1\$(AUTH_LIBS) $3:
-'
+#%{fixUP} -vbT source/Makefile.in -e '
+# s:we don.t use sbindir because we want:if you want : +
+# s:(the previous releases of Samba):$1, please use: +
+# s:(SBINDIR\s*=\s*\@)b:# ./configure --sbindir=\\\$(BINDIR)\n${1}sb: +
+# s:/log\.(\S+):/log/samba.d/${1}d: +
+# s:(PASSWD_PROGRAM\s*=\s*)(/bin):$1/usr$2: +
+# s:^(LIBS\s*=):AUTH_$1: +
+# s:((SMBD|SWAT|RPCCLIENT|SMBPASSWD)_OBJ\) )(\$\(LDF):$1\$(AUTH_LIBS) $3:
+#'
for i in {cvs.,change-}log; do [ ! -f ../$i ] || mv ../$i source; done
@@ -145,7 +146,8 @@ done
%Build
cd source
-autoreconf
+rm configure
+autoconf
CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" ./configure \
--prefix='$(DESTDIR)/usr' \
@@ -156,14 +158,8 @@ CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" ./configure \
--with-swatdir='$(DESTDIR)/usr/share/swat' \
--with-smbmount \
--with-pam \
- --with-pam_smbpass \
--with-tdbsam \
- --with-ldapsam \
- --with-nisplussam \
- --with-nisplus-home \
--with-winbind \
- --with-acl-support \
- --without-smbwrapper \
--with-utmp \
--with-quotas \
--with-vfs \
@@ -174,6 +170,14 @@ CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" ./configure \
--with-netatalk \
--with-sambabook=$(DESTDIR)/usr/share/swat/using_samba
+# Temp disabled - add later - JHT
+# --with-pam_smbpass \
+# --without-smbwrapper \
+# --with-ldapsam \
+# --with-nisplussam \
+# --with-nisplus-home \
+# --with-acl-support \
+
make all