diff options
author | John Terpstra <jht@samba.org> | 1998-10-05 12:58:07 +0000 |
---|---|---|
committer | John Terpstra <jht@samba.org> | 1998-10-05 12:58:07 +0000 |
commit | aa38a03961442e70e453f65c60f717765b4bea6f (patch) | |
tree | 094129334e347e9f1a5936a616c7b7b4f15abb42 /packaging | |
parent | 80d1c5118abaa99fe0f1c9d2089a81c9953cebad (diff) | |
download | samba-aa38a03961442e70e453f65c60f717765b4bea6f.tar.gz samba-aa38a03961442e70e453f65c60f717765b4bea6f.tar.xz samba-aa38a03961442e70e453f65c60f717765b4bea6f.zip |
More yuck changes for Red Hat RPM production.
Diffstat (limited to 'packaging')
-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 d57cf449d6b..4d65fe13d37 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 00000000000..0abbfdf73f6 --- /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 |