diff options
author | John Terpstra <jht@samba.org> | 2002-03-12 01:01:04 +0000 |
---|---|---|
committer | John Terpstra <jht@samba.org> | 2002-03-12 01:01:04 +0000 |
commit | 879c18397ca68b9968dd96a8c9e61e6ffbee0576 (patch) | |
tree | 2c6d8bf83c137d95c628a50f8a61fbee610b59c8 /packaging/Caldera | |
parent | 92e59edc410a1de09a3d1eaba09cd46f4db1367f (diff) | |
download | samba-879c18397ca68b9968dd96a8c9e61e6ffbee0576.tar.gz samba-879c18397ca68b9968dd96a8c9e61e6ffbee0576.tar.bz2 samba-879c18397ca68b9968dd96a8c9e61e6ffbee0576.zip |
Still hacking at it.
(This used to be commit 153091597cd4f2e26a3aa80c32bba27bc358b0b2)
Diffstat (limited to 'packaging/Caldera')
-rw-r--r-- | packaging/Caldera/OpenLinux/samba3.spec.tmpl | 36 |
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 |