samba: Make fetching more robust (closes 1885). Unify some more. Sanitize.
authorRolf Leggewie <oe-devel@rolf.leggewie.biz>
Mon, 19 Feb 2007 07:01:12 +0000 (07:01 +0000)
committerRolf Leggewie <oe-devel@rolf.leggewie.biz>
Mon, 19 Feb 2007 07:01:12 +0000 (07:01 +0000)
packages/samba/samba-essential.inc
packages/samba/samba-essential_3.0.20.bb
packages/samba/samba.inc
packages/samba/samba_3.0.10.bb
packages/samba/samba_3.0.14a.bb
packages/samba/samba_3.0.20.bb
packages/samba/samba_3.0.23c.bb
packages/samba/samba_3.0.5.bb
packages/samba/samba_3.0.9.bb

index fca08d1..d718fc8 100644 (file)
@@ -1,10 +1,15 @@
 SECTION = "console/network"
-DEPENDS = "readline"
 LICENSE = "GPL"
+DEPENDS = "readline"
               
+SRC_URI = "http://samba.org/samba/ftp/stable/samba-${PV}.tar.gz \
+           file://configure.patch;patch=1 \
+           file://cifs.patch;patch=1"
+S = "${WORKDIR}/samba-${PV}/source"
+
 inherit autotools
 
-EXTRA_OECONF='--disable-cups --with-readline=${STAGING_LIBDIR}/.. \
+EXTRA_OECONF = '--disable-cups --with-readline=${STAGING_LIBDIR}/.. \
              --without-ads --without-automount --without-smbmount --without-syslog \
              --without-ldapsam --without-quotas --without-nisplus-home \
              --without-sys-quotas --without-libsmbclient --without-winbind \
index 365d208..75febf4 100644 (file)
@@ -1,22 +1,17 @@
+require samba-essential.inc
+inherit update-rc.d
+
 PR = "r5"
 
-SRC_URI = "http://us2.samba.org/samba/ftp/stable/samba-${PV}.tar.gz \
-          file://configure.patch;patch=1 \
-          file://cifs.patch;patch=1 \
-          file://config-lfs.patch;patch=1 \
+SRC_URI = "file://config-lfs.patch;patch=1 \
           file://init-essential \
            file://quota.patch;patch=1;pnum=0 \
           file://smb-essential.conf \
           file://smb-essential-inactive.conf \
           file://Managing-Samba.txt"
 
-S := "${WORKDIR}/samba-${PV}/source"
-
 RCONFLICTS = "samba"
 
-require samba-essential.inc
-inherit update-rc.d
-
 INITSCRIPT_NAME = "samba"
 # No dependencies, goes in at level 20 (NOTE: take care with the
 # level, later levels put the shutdown later too - see the links
index f9dce44..aa3083d 100644 (file)
@@ -1,6 +1,16 @@
 SECTION = "console/network"
-DEPENDS = "readline"
 LICENSE = "GPL"
+DEPENDS = "readline"
+
+SRC_URI = "http://samba.org/samba/ftp/stable/samba-${PV}.tar.gz \
+           file://configure.patch;patch=1 \
+           file://cifs.patch;patch=1"
+S = "${WORKDIR}/samba-${PV}/source"
+
+inherit autotools
+
+EXTRA_OECONF='--disable-cups --with-readline=${STAGING_LIBDIR}/.. \
+             --without-ads --without-automount --with-smbmount'
 
 PACKAGES =+ "libsmbclient libsmbclient-dev cifs cifs-doc"
 FILES_cifs = "${bindir}/mount.cifs"
@@ -8,10 +18,6 @@ FILES_cifs-doc = "${docdir}/mount.cifs.8"
 FILES_libsmbclient = "${libdir}/libsmbclient.so.*"
 FILES_libsmbclient-dev = "${libdir}/libsmbclient.so ${includedir}"
 
-inherit autotools
-
-EXTRA_OECONF='--disable-cups --with-readline=${STAGING_LIBDIR}/.. \
-             --without-ads --without-automount --with-smbmount'
 do_configure_prepend () {
        ./script/mkversion.sh
        if [ ! -e acinclude.m4 ]; then
index 4aa2629..895ce6b 100644 (file)
@@ -1,6 +1 @@
-SRC_URI := "http://us2.samba.org/samba/ftp/stable/samba-${PV}.tar.gz \
-          file://${FILESDIR}/configure.patch;patch=1 \
-          file://${FILESDIR}/cifs.patch;patch=1"
-S := "${WORKDIR}/${P}/source"
-
 require samba.inc
index 08d3c39..d191363 100644 (file)
@@ -1,16 +1,12 @@
+require samba.inc
+inherit update-rc.d
+
 PR = "r15"
 
-SRC_URI = "http://us2.samba.org/samba/ftp/stable/samba-${PV}.tar.gz \
-          file://configure.patch;patch=1 \
-          file://cifs.patch;patch=1 \
-          file://config-lfs.patch;patch=1 \
+SRC_URI += "file://config-lfs.patch;patch=1 \
           file://init \
            file://quota.patch;patch=1;pnum=0 \
           "
-S = "${WORKDIR}/${P}/source"
-
-require samba.inc
-inherit update-rc.d
 
 INITSCRIPT_NAME = "samba"
 # No dependencies, goes in at level 20 (NOTE: take care with the
index 7aa3d53..fb2407c 100644 (file)
@@ -1,16 +1,12 @@
+require samba.inc
+inherit update-rc.d
+
 PR = "r5"
 
-SRC_URI = "http://us2.samba.org/samba/ftp/stable/samba-${PV}.tar.gz \
-          file://configure.patch;patch=1 \
-          file://cifs.patch;patch=1 \
-          file://config-lfs.patch;patch=1 \
+SRC_URI += "file://config-lfs.patch;patch=1 \
           file://init \
            file://quota.patch;patch=1;pnum=0 \
           "
-S = "${WORKDIR}/${P}/source"
-
-require samba.inc
-inherit update-rc.d
 
 INITSCRIPT_NAME = "samba"
 # No dependencies, goes in at level 20 (NOTE: take care with the
index acec5af..5317bcc 100644 (file)
@@ -1,16 +1,10 @@
-PR = "r0"
+require samba.inc
+inherit update-rc.d
 
-SRC_URI = "http://us2.samba.org/samba/ftp/stable/samba-${PV}.tar.gz \
-          file://configure.patch;patch=1 \
-          file://cifs.patch;patch=1 \
-          file://config-lfs.patch;patch=1 \
+SRC_URI += "file://config-lfs.patch;patch=1 \
           file://init \
            file://quota.patch;patch=1;pnum=0 \
           "
-S = "${WORKDIR}/${P}/source"
-
-include samba.inc
-inherit update-rc.d
 
 INITSCRIPT_NAME = "samba"
 # No dependencies, goes in at level 20 (NOTE: take care with the
index 4aa2629..895ce6b 100644 (file)
@@ -1,6 +1 @@
-SRC_URI := "http://us2.samba.org/samba/ftp/stable/samba-${PV}.tar.gz \
-          file://${FILESDIR}/configure.patch;patch=1 \
-          file://${FILESDIR}/cifs.patch;patch=1"
-S := "${WORKDIR}/${P}/source"
-
 require samba.inc
index 4aa2629..895ce6b 100644 (file)
@@ -1,6 +1 @@
-SRC_URI := "http://us2.samba.org/samba/ftp/stable/samba-${PV}.tar.gz \
-          file://${FILESDIR}/configure.patch;patch=1 \
-          file://${FILESDIR}/cifs.patch;patch=1"
-S := "${WORKDIR}/${P}/source"
-
 require samba.inc