]> git.openpandora.org Git - openembedded.git/commitdiff
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 fca08d1735b9496bca99a28e9e488510611f0313..d718fc8a9610eeb6d0c500a0094cfeb749998098 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 365d208028785cdc36e47932df6317dcdc26db41..75febf4ab183d1c0efa04535ff9bf6ae0b5a4b4b 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 f9dce44072e4ed6362229625145e9af722e0896e..aa3083d1f6c2f1e8733993203cfa3c570653da14 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 4aa262920c030e88e50c61aeb02c0a7aa525ae9a..895ce6b33779cb3fe8dcbc8b0372c847521f5fbf 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 08d3c390e793c3779c7186fc092ad90e6c9fcfa5..d191363cd6dafbd8f4b1cefb79d35231903eb385 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 7aa3d53626b58825f16c67a1cad8bea98e6afc97..fb2407c74f45e205818e74ce04bc30d5724911ef 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 acec5afdd83df89387767043a7264366cb43d437..5317bcc62abfc301cca95e5bd65a0c114024a654 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 4aa262920c030e88e50c61aeb02c0a7aa525ae9a..895ce6b33779cb3fe8dcbc8b0372c847521f5fbf 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 4aa262920c030e88e50c61aeb02c0a7aa525ae9a..895ce6b33779cb3fe8dcbc8b0372c847521f5fbf 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