diff options
-rw-r--r-- | packaging/RedHat/samba2.spec.tmpl | 2 | ||||
-rw-r--r-- | packaging/RedHat/smbw.patch | 10 |
2 files changed, 12 insertions, 0 deletions
diff --git a/packaging/RedHat/samba2.spec.tmpl b/packaging/RedHat/samba2.spec.tmpl index d57cf449d6..4d65fe13d3 100644 --- a/packaging/RedHat/samba2.spec.tmpl +++ b/packaging/RedHat/samba2.spec.tmpl @@ -6,6 +6,7 @@ Copyright: GNU GPL version 2 Group: Networking Source: ftp://samba.anu.edu.au/pub/samba/samba-PVERSION.tar.gz Patch: makefile-path.patch +Patch1: smbw.patch Packager: John H Terpstra [Samba-Team] <jht@samba.anu.edu.au> Requires: pam >= 0.64 BuildRoot: /tmp/samba @@ -75,6 +76,7 @@ enabled. Red Hat Linux has built in support for quotas in PAM. %prep %setup %patch -p1 +%patch1 -p1 mv source/smbwrapper/README source/smbwrapper/README.smbsh %build diff --git a/packaging/RedHat/smbw.patch b/packaging/RedHat/smbw.patch new file mode 100644 index 0000000000..0abbfdf73f --- /dev/null +++ b/packaging/RedHat/smbw.patch @@ -0,0 +1,10 @@ +--- samba-2.0.0/source/smbwrapper/smbsh.in.orig Mon Oct 5 22:37:01 1998 ++++ samba-2.0.0/source/smbwrapper/smbsh.in Mon Oct 5 22:37:51 1998 +@@ -1,6 +1,6 @@ + #! /bin/sh + +-SMBW_LIBDIR=${SMBW_LIBDIR-@builddir@/smbwrapper} ++SMBW_LIBDIR=${SMBW_LIBDIR-/usr/bin} + + if [ ! -f ${SMBW_LIBDIR}/smbwrapper.so ]; then + echo You need to set LIBDIR in smbsh |