summaryrefslogtreecommitdiff
path: root/samba
diff options
context:
space:
mode:
authorTim Ansell <mithro@mithis.com>2004-11-27 16:20:13 +0000
committerTim Ansell <mithro@mithis.com>2004-11-27 16:20:13 +0000
commit3e4bb8565e0bae278cea9d2520849017ba1463b2 (patch)
treedae94da9e5a7e3dee105d0deb86f69786c5291ac /samba
parent704cf163e201785b7beaf1654e576bb08485582d (diff)
Merge bk://oe-devel@oe-devel.bkbits.net/packages
into mithis.com:/cc/packages 2004/11/28 02:48:20+10:30 mithis.com!mithro Added mount.cifs stuff. BKrev: 41a8a93dayESvgrueNUvMRUM7_rK5Q
Diffstat (limited to 'samba')
-rw-r--r--samba/samba-3.0.5/cifs.patch0
-rw-r--r--samba/samba_3.0.5.oe15
2 files changed, 12 insertions, 3 deletions
diff --git a/samba/samba-3.0.5/cifs.patch b/samba/samba-3.0.5/cifs.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/samba/samba-3.0.5/cifs.patch
diff --git a/samba/samba_3.0.5.oe b/samba/samba_3.0.5.oe
index 17ec5c1354..b0077c9ce9 100644
--- a/samba/samba_3.0.5.oe
+++ b/samba/samba_3.0.5.oe
@@ -1,11 +1,14 @@
SECTION = "console/network"
DEPENDS = readline
-SRC_URI := "http://samba.mirror.ac.uk/samba/ftp/samba-${PV}.tar.gz \
- file://${FILESDIR}/configure.patch;patch=1"
+SRC_URI := "http://us2.samba.org/samba/ftp/old-versions/samba-${PV}.tar.gz \
+ file://${FILESDIR}/configure.patch;patch=1 \
+ file://${FILESDIR}/cifs.patch;patch=1"
S := ${WORKDIR}/${P}/source
-PACKAGES =+ "libsmbclient libsmbclient-dev "
+PACKAGES =+ "libsmbclient libsmbclient-dev cifs cifs-doc"
+FILES_cifs = "${bindir}/mount.cifs"
+FILES_cifs-doc = "${docdir}/mount.cifs.8"
FILES_libsmbclient = "${libdir}/libsmbclient.so.*"
FILES_libsmbclient-dev = "${libdir}/libsmbclient.so ${includedir}"
@@ -20,11 +23,17 @@ do_configure_prepend () {
fi
}
+do_compile_append () {
+ ${CC} client/mount.cifs.c -o mount.cifs
+
+}
+
do_install_append() {
mv ${D}${libdir}/libsmbclient.so ${D}${libdir}/libsmbclient.so.0
ln -sf libsmbclient.so.0 ${D}${libdir}/libsmbclient.so
rm -f ${D}${bindir}/*.old
rm -f ${D}${sbindir}/*.old
+ mv mount.cifs ${D}${bindir}/mount.cifs
}
do_stage() {