Commit Graph

111 Commits

Author SHA1 Message Date
Gustavo Zacarias
f026f825ce samba: security bump to version 3.5.12
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-01-02 17:02:21 +01:00
Thomas Petazzoni
300f9c9c9d package: remove useless arguments from AUTOTARGETS
Thanks to the pkgparentdir and pkgname functions, we can rewrite the
AUTOTARGETS macro in a way that avoids the need for each package to
repeat its name and the directory in which it is present.

[Peter: pkgdir->pkgparentdir]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-29 23:12:27 +02:00
Sven Neumann
c71b56b8c1 samba: fix linking of smbd with avahi support
Expliticly link with -lpthread if smbd is compiled with
avahi support. Otherwise the binary will fail to run.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-13 21:32:14 +02:00
Sven Neumann
b25b711e4a samba: bump to 3.5.11
Bump to version 3.5.11 and also update the download location.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-13 21:31:55 +02:00
Sven Neumann
ede8ca0019 samba: make installation of smbd configurable
It may be desirable to compile samba but not actually install
the smbd binary. This is the case if you need libsmbclient but
don't want to run a samba server.

Make this possible by allowing to disable installation of smbd.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-11 22:46:46 +02:00
Gustavo Zacarias
ced6c9df43 samba: bump to version 3.3.15
Bump samba to version 3.3.15 and add security patches for CVE-2011-2522
and CVE-2011-2694.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-04 21:37:38 +02:00
Thomas Petazzoni
0a5e5534cb packages: remove --{enable,disable}-{shared,static} from autotools packages
Now that those values are passed at the autotools infrastructure
level, there's no need for every package to pass inconsistent values.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-06-12 21:59:59 +02:00
Peter Korsgaard
9c35b09873 samba: rename CVE-2011-0719 patch so other patches gets applied as well
Otherwise the build breaks during configure with the AC_TRY_RUN test for
getgrouplist.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-11 23:06:16 +01:00
Gustavo Zacarias
a3cd2e7671 samba: add security fix for CVE-2011-0719
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-05 15:33:38 +01:00
Peter Korsgaard
0be744e495 package: apply libtool patch where possible
Now that we have libtool-2.2.x patch support, we can get rid of a bunch
of _LIBTOOL_PATH = NO, fixing (potential) cross link issues.

Notice: php not changed, as it uses a very old 1.5 version for the
embedded sqlite, where our buildroot-libtool-v1.5.patch doesn't apply.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-17 14:02:52 +01:00
Gustavo Zacarias
25a8ff3b23 samba: security bump to 3.3.14 [CVE-2010-3069]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-11-04 20:16:29 +01:00
Thomas Petazzoni
e8ba6a5119 samba: convert old-style hooks to new-style hooks
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-09-12 19:24:59 +02:00
Peter Korsgaard
c06b3891ff samba: avahi support needs avahi-daemon / dbus
./configure checks for libavahi-client.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-08-29 21:35:36 +02:00
Thomas Petazzoni
9e06a85616 samba: remove swat documentation when not needed
When SWAT (the Web administration tool of Samba) is enabled, which is
the default when one enables samba in Buildroot, a lot of
documentation gets installed in /usr/swat (~15 MB). This patch fixes
this by removing the documentation when BR2_HAVE_DOCUMENTATION is not
set.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-29 22:18:56 +02:00
Gustavo Zacarias
018c77a548 Bump samba to 3.3.13 [CVE-2010-2063]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
2010-07-28 00:30:26 +02:00
Thomas Petazzoni
0317b30912 samba: only require libiconv if !BR2_ENABLE_LOCALE
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-20 22:34:29 +02:00
Gustavo Zacarias
ba9ed13708 samba: bump version
Closes #1561

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-26 21:44:31 +02:00
rvpaasen
d7f5f04ba2 samba: updated the samba package to version 3.3.8
Update the samba package to the new makefile format and also update
it to samba version 3.3.8 (latest 3.3.x version). Based on the
patch from bug 665, but with uclibc dependency and call to
autogen.sh removed.

Tested-By: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-20 14:52:31 +02:00
Peter Korsgaard
3fdf0bffb8 buildroot: silence ./configure step when building with 'make -s'
We have been passing -q to ./configure when using 'make -s' for
packages using Makefile.autotools.in for some time. Do the same
for packages using autotools, but not using the
Makefile.autotools.in infrastructure, taking care to not do it
for packages with hand written configure scripts.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-01 21:24:42 +02:00
Sven Neumann
e7da301b42 samba: fix dependencies
The samba configure scripts detects the presence of fam and avahi
headers in order to decide whether support for fam and/or avahi should
be built into samba. This patch adds the missing dependencies so that
fam and/or avahi are built before samba if they are selected in buildroot.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-21 23:28:23 +02:00
Sven Neumann
1d9178db29 samba: add option to install libsmbclient
Closes #301

The libsmbclient library is part of the samba package. It can be used
to build applications that access Samba shares without the need to
mount them. Currently the library is explicitly not installed by
buildroot. Here's a patch that adds a config option to install it.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-21 23:26:51 +02:00
Sven Neumann
5fda7023ff samba: explicitly link with -pthread if avahi support is enabled
The avahi-client library makes use of threads. We need to link the
smbd binary with -pthread if avahi support is enabled. Otherwise the
binary will crash at startup.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-21 21:25:00 +02:00
Sven Neumann
a657cf77ea samba: bump version
Closes #293.

[peter: bump to 3.3.4]

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-05-04 21:01:25 +02:00
Peter Korsgaard
4a653c39d4 samba: fix build with ipv6 support is disabled
Based on patch by Sven Neumann <s.neumann@phase-zero.de>, closes #285
2009-04-26 21:17:33 +00:00
Peter Korsgaard
4a7bfd2775 package/: convert to DOWNLOAD helper 2009-01-16 11:42:52 +00:00
Hans-Christian Egtvedt
2c6ee8299b samba: use proper BR variable to disable largefile while configuring 2009-01-13 08:02:52 +00:00
Hans-Christian Egtvedt
8e1e3e58fb samba: bump version to 3.2.7 and refresh patches against this version
This patch bumps the Samba version to 3.2.7 and refreshes the patches. It also
fixes two minor issues by introducing two new small patches.
2009-01-13 07:29:35 +00:00
Hans-Christian Egtvedt
b9a79cd8f0 samba: properly disable largefile if not selected in Buildroot 2009-01-13 07:26:55 +00:00
Hans-Christian Egtvedt
b3af19b799 samba: add a comment about why make proto is done before make
This patch adds a comment why make proto is needed before make.
2008-12-12 10:34:25 +00:00
Hans-Christian Egtvedt
eebacb875c samba: make proto first to allow parallel build afterwards
This patch fixes parallel build of Samba. The trick is to make proto before
executing a full make.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-12-12 09:29:37 +00:00
Hans-Christian Egtvedt
f02a0408dc samba: bump version to 3.2.5
This patch bumps Samba version to 3.2.5. In the process Samba now
depends on libiconv. This dependency is needed because Samba wants to use
various formats when talking to the different parts of the system.

Two new patches are introduced, one to double check if BSD functions are
available, and one to skip checking for glibc version. The use unsigned
enum patch could be removed since this can be supplied with a autoconf
variable.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-12-12 09:09:51 +00:00
Peter Korsgaard
ac1d92c425 package/: get rid of unneeded $(strip ..) 2008-12-08 08:15:27 +00:00
Hans-Christian Egtvedt
e35414722d samba: predefine a autoconf result for enums with negative values
The configure script tries to find out if enums can be negative, this is not
supported when cross compiling, since it tries to run the binary. This commit
sets the test to yes, i.e. negative enums are possible.
2008-12-05 14:46:56 +00:00
Hans-Christian Egtvedt
a3c53dc20d samba: bump version to 3.0.33
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-12-02 14:46:38 +00:00
Wade Berrier
f6c58902ac 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
2008-10-06 19:53:29 +00:00
Peter Korsgaard
4683420c4c Kconfig: remove 'default n'
'default n' is the default, so there's no need to say it explicitly.
2008-07-17 20:01:44 +00:00
Ulf Samuelsson
5800bd037d install SAMBA SWAT correctly, add hint for autoconf, courtesy HC Egtvedt 2008-07-03 08:12:51 +00:00
Peter Korsgaard
ad348c0d7f samba: use generic samba.org location over http
Based on patch by Thiago A. Correa.
2008-06-24 08:36:37 +00:00
Peter Korsgaard
a5ac61715b buildroot: s/depends/depends on/
The new kconfig is more strict regarding depends/depends on, so fixup
the tree.
2008-06-19 19:06:25 +00:00
John Voltz
0f95603ed8 updated samba version 2008-03-11 19:13:38 +00:00
John Voltz
6f9ad306a2 update samba version 2008-03-06 18:23:59 +00:00
Bernhard Reutner-Fischer
14a71561a3 - just use the strip binary to avoid confusing libtool (quotes)
- use $(STRIPCMD) in packages to avoid clashes with $(STRIP)
2007-10-01 16:15:31 +00:00
Ulf Samuelsson
6b17905616 Bump SAMBA version to 3.0.26a, 3.0.25b has moved 2007-09-23 23:23:52 +00:00
Bernhard Reutner-Fischer
6547bced93 - global whitespace trimming 2007-08-22 12:35:41 +00:00
Bernhard Reutner-Fischer
956d3eb78b - semicolon touchup. No other changes 2007-08-22 09:56:41 +00:00
Bernhard Reutner-Fischer
6c6cb06709 - sed -i -e "/;$/s/;$//g" $(egrep ";$" package/* package/*/*.mk toolchain/* toolchain/*/*.mk */Makefile.in -l) 2007-08-21 19:20:18 +00:00
Ulf Samuelsson
e4ead9c13c Remove switches if sstrip is run 2007-08-21 01:53:57 +00:00
Ulf Samuelsson
19ab5e67fe Use only single job to build Samba 2007-07-28 21:51:58 +00:00
Ulf Samuelsson
8143566382 Update SAMBA configuration + cleanup 2007-07-23 07:56:00 +00:00
"Steven J. Hill"
bc9dcb8574 Bump Samba to latest version and update patches. 2007-07-17 00:21:16 +00:00
Ulf Samuelsson
e1621a4a2a Use <package>_VERSION in all <package>.mk instead of <package>_VER 2007-07-11 14:06:06 +00:00
Bernhard Reutner-Fischer
9bb66ca13e - the TARGET_CONFIGURE_OPTS have to be passed after $(MAKE).
Fixes build breakage as seen by Ulf et al.
2007-07-09 08:30:38 +00:00
Bernhard Reutner-Fischer
74d518dc2a - add endian handling, mmap, memcmp checks to TARGET_CONFIGURE_ARGS
- use TARGET_CONFIGURE_ARGS where appropriate.
2007-06-27 12:01:27 +00:00
"Steven J. Hill"
8f8e19df58 Fix install of scripts. 2007-06-16 17:54:38 +00:00
"Steven J. Hill"
6b00c90d70 Rename all INIT scripts to have the numerical prefixes to easily see the start-up order. 2007-05-09 22:48:41 +00:00
Peter Korsgaard
58656093dc 3.0.23d now under old-versions. Thanks to Michael Benedict 2007-04-03 15:35:26 +00:00
Eric Andersen
85d7f6f05f fixup package LDFLAGS handling 2007-03-13 22:59:59 +00:00
"Steven J. Hill"
c7da5ba291 Patch to remove usage of legacy 'index' function. 2007-01-21 05:17:06 +00:00
Bernhard Reutner-Fischer
5900cdb25f - Remove CC_FOR_BUILD="$(HOSTCC)" since it is already contained in the
TARGET_CONFIGURE_OPTS
2007-01-14 11:25:22 +00:00
Bernhard Reutner-Fischer
98862ee4a5 - add missing foo-source target for "make source" for downloading
package sources used by later offline build.
2007-01-14 11:14:27 +00:00
"Steven J. Hill"
d8bcc8f168 Add Samba to buildroot. 2007-01-14 06:13:27 +00:00