From 879c18397ca68b9968dd96a8c9e61e6ffbee0576 Mon Sep 17 00:00:00 2001 From: John Terpstra Date: Tue, 12 Mar 2002 01:01:04 +0000 Subject: Still hacking at it. (This used to be commit 153091597cd4f2e26a3aa80c32bba27bc358b0b2) --- packaging/Caldera/OpenLinux/samba3.spec.tmpl | 36 +++++++++++++++------------- 1 file changed, 20 insertions(+), 16 deletions(-) (limited to 'packaging/Caldera') 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 -- cgit