Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: wberrier at uclibc.org <wberrier@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/samba
Date: Mon,  6 Oct 2008 12:53:30 -0700 (PDT)	[thread overview]
Message-ID: <20081006195330.4A0D23C7C4@busybox.net> (raw)

Author: wberrier
Date: 2008-10-06 12:53:29 -0700 (Mon, 06 Oct 2008)
New Revision: 23607

Log:
samba.mk:
-force some performance enhancing autoconf options
-run 'installscripts' so findsmb and smbtar are installed
-samba binaires were segfaulting with uclibc 0.9.29
 when not using: samba_cv_fpie=no.  Force it.

Config.in:
-create configure options for findsmb and smbtar

S91smb:
-create dir (/var/lock/subsys) that is referenced
 later in script


Modified:
   trunk/buildroot/package/samba/Config.in
   trunk/buildroot/package/samba/S91smb
   trunk/buildroot/package/samba/samba.mk


Changeset:
Modified: trunk/buildroot/package/samba/Config.in
===================================================================
--- trunk/buildroot/package/samba/Config.in	2008-10-06 19:20:58 UTC (rev 23606)
+++ trunk/buildroot/package/samba/Config.in	2008-10-06 19:53:29 UTC (rev 23607)
@@ -27,6 +27,18 @@
 	help
 	  Write Eventlog records to a tdb or perform other eventlog functions
 
+config BR2_PACKAGE_SAMBA_FINDSMB
+	bool "findsmb"
+	default y
+	depends on BR2_PACKAGE_SAMBA_SMBCLIENT
+	depends on BR2_PACKAGE_SAMBA_NMBLOOKUP
+	depends on BR2_PACKAGE_MICROPERL
+	help
+	  Script to browse network
+
+comment "findsmb       - disabled (requires nmblookup, smbclient and perl)"
+	depends on !BR2_PACKAGE_SAMBA_SMBCLIENT || !BR2_PACKAGE_SAMBA_NMBLOOKUP || !BR2_PACKAGE_MICROPERL
+
 config BR2_PACKAGE_SAMBA_NET
 	bool "net"
 	default y
@@ -149,6 +161,16 @@
 	help
 	  Samba Web Administration Tool
 
+config BR2_PACKAGE_SAMBA_SMBTAR
+	bool "smbtar"
+	default y
+	depends on BR2_PACKAGE_SAMBA_SMBCLIENT
+	help
+	  tar-like script that wraps smbclient
+
+comment "smbtar        - disabled (requires smbclient)"
+	depends on !BR2_PACKAGE_SAMBA_SMBCLIENT
+
 config BR2_PACKAGE_SAMBA_TDB
 	bool "tdb"
 	default y

Modified: trunk/buildroot/package/samba/S91smb
===================================================================
--- trunk/buildroot/package/samba/S91smb	2008-10-06 19:20:58 UTC (rev 23606)
+++ trunk/buildroot/package/samba/S91smb	2008-10-06 19:53:29 UTC (rev 23607)
@@ -9,6 +9,7 @@
 # Make directories.
 mkdir -p /var/cache/samba
 mkdir -p /var/log/samba
+mkdir -p /var/lock/subsys
 
 RETVAL=0
 

Modified: trunk/buildroot/package/samba/samba.mk
===================================================================
--- trunk/buildroot/package/samba/samba.mk	2008-10-06 19:20:58 UTC (rev 23606)
+++ trunk/buildroot/package/samba/samba.mk	2008-10-06 19:53:29 UTC (rev 23607)
@@ -29,6 +29,10 @@
 		samba_cv_USE_SETREUID=yes \
 		samba_cv_HAVE_KERNEL_OPLOCKS_LINUX=yes \
 		samba_cv_HAVE_IFACE_IFCONF=yes \
+		samba_cv_HAVE_MMAP=yes \
+		samba_cv_HAVE_FCNTL_LOCK=yes \
+		samba_cv_HAVE_SECURE_MKSTEMP=yes \
+		samba_cv_fpie=no \
 		./configure \
 		--target=$(GNU_TARGET_NAME) \
 		--host=$(GNU_TARGET_NAME) \
@@ -58,6 +62,7 @@
 SAMBA_TARGETS_$(BR2_PACKAGE_SAMBA_CIFS) += usr/sbin/mount.cifs \
 						   usr/sbin/umount.cifs
 SAMBA_TARGETS_$(BR2_PACKAGE_SAMBA_EVENTLOGADM) += usr/bin/eventlogadm
+SAMBA_TARGETS_$(BR2_PACKAGE_SAMBA_FINDSMB) += usr/bin/findsmb
 SAMBA_TARGETS_$(BR2_PACKAGE_SAMBA_NET) += usr/bin/net
 SAMBA_TARGETS_$(BR2_PACKAGE_SAMBA_NMBD) += usr/sbin/nmbd
 SAMBA_TARGETS_$(BR2_PACKAGE_SAMBA_NMBLOOKUP) += usr/bin/nmblookup
@@ -73,6 +78,7 @@
 SAMBA_TARGETS_$(BR2_PACKAGE_SAMBA_SMBPASSWD) += usr/bin/smbpasswd
 SAMBA_TARGETS_$(BR2_PACKAGE_SAMBA_SMBSPOOL) += usr/bin/smbspool
 SAMBA_TARGETS_$(BR2_PACKAGE_SAMBA_SMBSTATUS) += usr/bin/smbstatus
+SAMBA_TARGETS_$(BR2_PACKAGE_SAMBA_SMBTAR) += usr/bin/smbtar
 SAMBA_TARGETS_$(BR2_PACKAGE_SAMBA_SMBTREE) += usr/bin/smbtree
 SAMBA_TARGETS_$(BR2_PACKAGE_SAMBA_SWAT) += usr/sbin/swat
 SAMBA_TARGETS_$(BR2_PACKAGE_SAMBA_TDB) += usr/bin/tdbbackup \
@@ -91,7 +97,7 @@
 		PRIVATEDIR="${TARGET_DIR}/etc/samba" \
 		CONFIGDIR="${TARGET_DIR}/etc/samba" \
 		VARDIR="${TARGET_DIR}/var/log/samba" \
-		-C $(SAMBA_DIR) installservers installbin installcifsmount
+		-C $(SAMBA_DIR) installservers installbin installcifsmount installscripts
 	for file in $(SAMBA_TARGETS_); do \
 		rm -f $(TARGET_DIR)/$$file; \
 	done

             reply	other threads:[~2008-10-06 19:53 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-06 19:53 wberrier at uclibc.org [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-01-13  8:02 [Buildroot] svn commit: trunk/buildroot/package/samba egtvedt at uclibc.org
2009-01-13  7:29 egtvedt at uclibc.org
2009-01-13  7:26 egtvedt at uclibc.org
2009-01-13  8:00 ` Bernhard Reutner-Fischer
2009-01-13  8:03   ` Hans-Christian Egtvedt
2008-12-12 10:34 egtvedt at uclibc.org
2008-12-12  9:29 egtvedt at uclibc.org
2008-12-12 10:06 ` Peter Korsgaard
2008-12-12 10:14   ` Hans-Christian Egtvedt
2008-12-12 10:29     ` Peter Korsgaard
2008-12-12 10:35       ` Hans-Christian Egtvedt
2008-12-12  9:09 egtvedt at uclibc.org
2008-12-05 14:46 egtvedt at uclibc.org
2008-12-02 14:46 egtvedt at uclibc.org
2008-07-03  8:12 ulf at uclibc.org
2008-06-24  8:36 jacmet at uclibc.org
2008-03-11 19:13 ninevoltz at uclibc.org
2008-03-06 18:23 ninevoltz at uclibc.org
2007-09-23 23:23 ulf at uclibc.org
2007-07-28 21:51 ulf at uclibc.org
2007-07-23  7:56 ulf at uclibc.org
2007-07-17  0:21 sjhill at uclibc.org
2007-04-03 15:35 jacmet at uclibc.org
2007-01-21  5:17 sjhill at uclibc.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081006195330.4A0D23C7C4@busybox.net \
    --to=wberrier@uclibc.org \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox