summaryrefslogtreecommitdiff
path: root/packaging/RedHat
diff options
context:
space:
mode:
authorJohn Terpstra <jht@samba.org>1998-10-05 12:58:07 +0000
committerJohn Terpstra <jht@samba.org>1998-10-05 12:58:07 +0000
commit4980fcf425ae40db097afe144443e025eba190e7 (patch)
tree18c5b9c85b6d18bef4018febdcf428ac91c380b5 /packaging/RedHat
parent4473ce561b32be514bf62bf46379558f4127916f (diff)
downloadsamba-4980fcf425ae40db097afe144443e025eba190e7.tar.gz
samba-4980fcf425ae40db097afe144443e025eba190e7.tar.bz2
samba-4980fcf425ae40db097afe144443e025eba190e7.zip
More yuck changes for Red Hat RPM production.
(This used to be commit aa38a03961442e70e453f65c60f717765b4bea6f)
Diffstat (limited to 'packaging/RedHat')
-rw-r--r--packaging/RedHat/samba2.spec.tmpl2
-rw-r--r--packaging/RedHat/smbw.patch10
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