* [Buildroot] [PATCH 02/10] grep: bump to version 2.12
2012-05-11 19:37 [Buildroot] [PATCH 01/10] icu: bump to version 4.8.1.1 Gustavo Zacarias
@ 2012-05-11 19:37 ` Gustavo Zacarias
2012-05-11 19:37 ` [Buildroot] [PATCH 03/10] hiawatha: bump to version 8.2 and define saner default directories Gustavo Zacarias
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Gustavo Zacarias @ 2012-05-11 19:37 UTC (permalink / raw)
To: buildroot
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
package/grep/grep.mk | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/package/grep/grep.mk b/package/grep/grep.mk
index aa22910..389aa3b 100644
--- a/package/grep/grep.mk
+++ b/package/grep/grep.mk
@@ -4,7 +4,7 @@
#
#############################################################
-GREP_VERSION = 2.11
+GREP_VERSION = 2.12
GREP_SITE = $(BR2_GNU_MIRROR)/grep
GREP_SOURCE = grep-$(GREP_VERSION).tar.xz
GREP_CONF_OPT = --disable-perl-regexp --without-included-regex
--
1.7.3.4
^ permalink raw reply related [flat|nested] 11+ messages in thread* [Buildroot] [PATCH 03/10] hiawatha: bump to version 8.2 and define saner default directories
2012-05-11 19:37 [Buildroot] [PATCH 01/10] icu: bump to version 4.8.1.1 Gustavo Zacarias
2012-05-11 19:37 ` [Buildroot] [PATCH 02/10] grep: bump to version 2.12 Gustavo Zacarias
@ 2012-05-11 19:37 ` Gustavo Zacarias
2012-05-11 19:37 ` [Buildroot] [PATCH 04/10] libmbus: bump to version 0.7.0 Gustavo Zacarias
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Gustavo Zacarias @ 2012-05-11 19:37 UTC (permalink / raw)
To: buildroot
Bump to version 8.2.
Define CONFIG_DIR=/etc/hiawatha, LOG_DIR=/var/log, PID_DIR=/var/run and
WEBROOT_DIR=/var/www/hiawatha which are the same as the defaults but
without the /usr prefix.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
package/hiawatha/hiawatha.mk | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/package/hiawatha/hiawatha.mk b/package/hiawatha/hiawatha.mk
index aa245f3..4600c11 100644
--- a/package/hiawatha/hiawatha.mk
+++ b/package/hiawatha/hiawatha.mk
@@ -1,4 +1,4 @@
-HIAWATHA_VERSION = 8.1
+HIAWATHA_VERSION = 8.2
HIAWATHA_SITE = http://www.hiawatha-webserver.org/files/
ifeq ($(BR2_PACKAGE_HIAWATHA_SSL),y)
@@ -8,6 +8,10 @@ endif
HIAWATHA_CONF_OPT += \
-DENABLE_TOOLKIT=OFF \
- -DENABLE_XSLT=OFF
+ -DENABLE_XSLT=OFF \
+ -DCONFIG_DIR=/etc/hiawatha \
+ -DLOG_DIR=/var/log \
+ -DPID_DIR=/var/run \
+ -DWEBROOT_DIR=/var/www/hiawatha
$(eval $(call CMAKETARGETS))
--
1.7.3.4
^ permalink raw reply related [flat|nested] 11+ messages in thread* [Buildroot] [PATCH 04/10] libmbus: bump to version 0.7.0
2012-05-11 19:37 [Buildroot] [PATCH 01/10] icu: bump to version 4.8.1.1 Gustavo Zacarias
2012-05-11 19:37 ` [Buildroot] [PATCH 02/10] grep: bump to version 2.12 Gustavo Zacarias
2012-05-11 19:37 ` [Buildroot] [PATCH 03/10] hiawatha: bump to version 8.2 and define saner default directories Gustavo Zacarias
@ 2012-05-11 19:37 ` Gustavo Zacarias
2012-05-11 19:37 ` [Buildroot] [PATCH 05/10] libcurl: bump to version 7.25.0 Gustavo Zacarias
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Gustavo Zacarias @ 2012-05-11 19:37 UTC (permalink / raw)
To: buildroot
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
package/libmbus/libmbus-0.6.1-bcopy.patch | 15 ---------------
package/libmbus/libmbus-bcopy.patch | 16 ++++++++++++++++
package/libmbus/libmbus.mk | 4 ++--
3 files changed, 18 insertions(+), 17 deletions(-)
delete mode 100644 package/libmbus/libmbus-0.6.1-bcopy.patch
create mode 100644 package/libmbus/libmbus-bcopy.patch
diff --git a/package/libmbus/libmbus-0.6.1-bcopy.patch b/package/libmbus/libmbus-0.6.1-bcopy.patch
deleted file mode 100644
index 8b8310c..0000000
--- a/package/libmbus/libmbus-0.6.1-bcopy.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-Drop bcopy since it's deprecated.
-
-Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
-diff -Nura libmbus-0.6.1/mbus/mbus-tcp.c libmbus-0.6.1-bcopy/mbus/mbus-tcp.c
---- libmbus-0.6.1/mbus/mbus-tcp.c 2011-11-06 02:34:28.000000000 -0300
-+++ libmbus-0.6.1-bcopy/mbus/mbus-tcp.c 2012-05-03 08:11:39.680346347 -0300
-@@ -78,7 +78,7 @@
- return NULL;
- }
-
-- bcopy((void *)(host_addr->h_addr), (void *)(&s_addr.sin_addr), host_addr->h_length);
-+ memmove((void *)(&s_addr.sin_addr), (void *)(host_addr->h_addr), host_addr->h_length);
-
- if (connect(handle->sock, (struct sockaddr *)&s_addr, sizeof(s_addr)) < 0)
- {
diff --git a/package/libmbus/libmbus-bcopy.patch b/package/libmbus/libmbus-bcopy.patch
new file mode 100644
index 0000000..660cc37
--- /dev/null
+++ b/package/libmbus/libmbus-bcopy.patch
@@ -0,0 +1,16 @@
+Drop bcopy since it's deprecated.
+
+Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
+
+diff -Nura libmbus-0.7.0/mbus/mbus-tcp.c libmbus-0.7.0-bcopy/mbus/mbus-tcp.c
+--- libmbus-0.7.0/mbus/mbus-tcp.c 2011-12-08 13:21:19.000000000 -0300
++++ libmbus-0.7.0-bcopy/mbus/mbus-tcp.c 2012-05-03 09:08:36.987106612 -0300
+@@ -78,7 +78,7 @@
+ return NULL;
+ }
+
+- bcopy((void *)(host_addr->h_addr), (void *)(&s.sin_addr), host_addr->h_length);
++ memmove((void *)(&s.sin_addr), (void *)(host_addr->h_addr), host_addr->h_length);
+
+ if (connect(handle->sock, (struct sockaddr *)&s, sizeof(s)) < 0)
+ {
diff --git a/package/libmbus/libmbus.mk b/package/libmbus/libmbus.mk
index 9abb2bf..17954b9 100644
--- a/package/libmbus/libmbus.mk
+++ b/package/libmbus/libmbus.mk
@@ -4,8 +4,8 @@
#
#############################################################
-LIBMBUS_VERSION = 0.6.1
-LIBMBUS_SITE = http://www.freescada.com/public-dist/
+LIBMBUS_VERSION = 0.7.0
+LIBMBUS_SITE = http://www.freescada.com/public-dist
LIBMBUS_INSTALL_STAGING = YES
# Without this the build yields an error:
--
1.7.3.4
^ permalink raw reply related [flat|nested] 11+ messages in thread* [Buildroot] [PATCH 05/10] libcurl: bump to version 7.25.0
2012-05-11 19:37 [Buildroot] [PATCH 01/10] icu: bump to version 4.8.1.1 Gustavo Zacarias
` (2 preceding siblings ...)
2012-05-11 19:37 ` [Buildroot] [PATCH 04/10] libmbus: bump to version 0.7.0 Gustavo Zacarias
@ 2012-05-11 19:37 ` Gustavo Zacarias
2012-05-11 19:37 ` [Buildroot] [PATCH 06/10] gmp: bump to version 5.0.5 Gustavo Zacarias
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Gustavo Zacarias @ 2012-05-11 19:37 UTC (permalink / raw)
To: buildroot
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
package/libcurl/libcurl.mk | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/package/libcurl/libcurl.mk b/package/libcurl/libcurl.mk
index e094e31..e8f13bb 100644
--- a/package/libcurl/libcurl.mk
+++ b/package/libcurl/libcurl.mk
@@ -4,7 +4,7 @@
#
#############################################################
-LIBCURL_VERSION = 7.24.0
+LIBCURL_VERSION = 7.25.0
LIBCURL_SOURCE = curl-$(LIBCURL_VERSION).tar.bz2
LIBCURL_SITE = http://curl.haxx.se/download
LIBCURL_INSTALL_STAGING = YES
--
1.7.3.4
^ permalink raw reply related [flat|nested] 11+ messages in thread* [Buildroot] [PATCH 06/10] gmp: bump to version 5.0.5
2012-05-11 19:37 [Buildroot] [PATCH 01/10] icu: bump to version 4.8.1.1 Gustavo Zacarias
` (3 preceding siblings ...)
2012-05-11 19:37 ` [Buildroot] [PATCH 05/10] libcurl: bump to version 7.25.0 Gustavo Zacarias
@ 2012-05-11 19:37 ` Gustavo Zacarias
2012-05-11 19:37 ` [Buildroot] [PATCH 07/10] samba: bump to version 3.6.5 and enhancements Gustavo Zacarias
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Gustavo Zacarias @ 2012-05-11 19:37 UTC (permalink / raw)
To: buildroot
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
package/gmp/gmp.mk | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/package/gmp/gmp.mk b/package/gmp/gmp.mk
index 7899b71..7a17ebc 100644
--- a/package/gmp/gmp.mk
+++ b/package/gmp/gmp.mk
@@ -4,7 +4,7 @@
#
#############################################################
-GMP_VERSION = 5.0.4
+GMP_VERSION = 5.0.5
GMP_SITE = $(BR2_GNU_MIRROR)/gmp
GMP_SOURCE = gmp-$(GMP_VERSION).tar.bz2
GMP_INSTALL_STAGING = YES
--
1.7.3.4
^ permalink raw reply related [flat|nested] 11+ messages in thread* [Buildroot] [PATCH 07/10] samba: bump to version 3.6.5 and enhancements
2012-05-11 19:37 [Buildroot] [PATCH 01/10] icu: bump to version 4.8.1.1 Gustavo Zacarias
` (4 preceding siblings ...)
2012-05-11 19:37 ` [Buildroot] [PATCH 06/10] gmp: bump to version 5.0.5 Gustavo Zacarias
@ 2012-05-11 19:37 ` Gustavo Zacarias
2012-05-11 19:37 ` [Buildroot] [PATCH 08/10] mrouted: bump to version 3.9.6 Gustavo Zacarias
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Gustavo Zacarias @ 2012-05-11 19:37 UTC (permalink / raw)
To: buildroot
Bump samba to version 3.6.5 with SMB2 protocol support.
Use shared popt rather than the builtin - it saves some space if you've
already got it on your target.
mount.cifs & umount.cifs have been unbundled so remove the option -
users must use cifs-tools for that.
Add recommended enhancement from bug #807 (make iconv support optional).
Optional smbd was already commited some time ago.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
package/samba/Config.in | 50 ++++++------------------
package/samba/samba-fix-mount.cifs.patch | 21 ----------
package/samba/samba-getaddrinfo.patch | 19 +++++++++
package/samba/samba-remove-legacy-index.patch | 20 ----------
package/samba/samba.mk | 34 ++++++----------
5 files changed, 45 insertions(+), 99 deletions(-)
delete mode 100644 package/samba/samba-fix-mount.cifs.patch
create mode 100644 package/samba/samba-getaddrinfo.patch
delete mode 100644 package/samba/samba-remove-legacy-index.patch
diff --git a/package/samba/Config.in b/package/samba/Config.in
index a5a5c29..cebf7d9 100644
--- a/package/samba/Config.in
+++ b/package/samba/Config.in
@@ -1,6 +1,6 @@
config BR2_PACKAGE_SAMBA
bool "samba"
- select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
+ select BR2_PACKAGE_POPT
help
Provides print services to all manner of SMB/CIFS clients,
including the numerous versions of Microsoft Windows
@@ -11,20 +11,23 @@ config BR2_PACKAGE_SAMBA
NOTE: A complete Samba install takes over 50MB of space,
so choose only the components you need.
-menu "Samba tools selection"
- depends on BR2_PACKAGE_SAMBA
+if BR2_PACKAGE_SAMBA
-config BR2_PACKAGE_SAMBA_CIFS
- bool "cifs"
- default y
- depends on BR2_PACKAGE_SAMBA
+config BR2_PACKAGE_SAMBA_LIBICONV
+ bool "extended encodings (libiconv)"
+ depends on !BR2_ENABLE_LOCALE
+ select BR2_PACKAGE_LIBICONV
help
- Support CIFS
+ Include libiconv support for extended conversion of filename
+ enconding. Samba has built-in support for UTF-8, ISO-8859-1
+ and ASCII, so this is only required if you want to support
+ other encodings.
+
+menu "Samba tools selection"
config BR2_PACKAGE_SAMBA_EVENTLOGADM
bool "eventlogadm"
default y
- depends on BR2_PACKAGE_SAMBA
help
Write Eventlog records to a tdb or perform other eventlog functions
@@ -43,14 +46,12 @@ comment "findsmb - disabled (requires nmblookup, smbclient and perl)"
config BR2_PACKAGE_SAMBA_NET
bool "net"
default y
- depends on BR2_PACKAGE_SAMBA
help
Distributed SMB/CIFS Server Management Utility
config BR2_PACKAGE_SAMBA_NMBD
bool "nmbd"
default y
- depends on BR2_PACKAGE_SAMBA
help
NetBIOS name server to provide NetBIOS over IP naming services
to clients
@@ -58,7 +59,6 @@ config BR2_PACKAGE_SAMBA_NMBD
config BR2_PACKAGE_SAMBA_NMBLOOKUP
bool "nmblookup"
default y
- depends on BR2_PACKAGE_SAMBA
help
Query NetBIOS names and map them to IP addresses in a network
using NetBIOS over TCP/IP queries
@@ -66,21 +66,18 @@ config BR2_PACKAGE_SAMBA_NMBLOOKUP
config BR2_PACKAGE_SAMBA_NTLM_AUTH
bool "ntlm_auth"
default y
- depends on BR2_PACKAGE_SAMBA
help
Helper utility that authenticates users using NT/LM authentication
config BR2_PACKAGE_SAMBA_PDBEDIT
bool "pdbedit"
default y
- depends on BR2_PACKAGE_SAMBA
help
Manage the SAM database (Database of Samba Users)
config BR2_PACKAGE_SAMBA_PROFILES
bool "profiles"
default y
- depends on BR2_PACKAGE_SAMBA
help
Utility that reports and changes SIDs in Windows NT registry files
@@ -88,7 +85,6 @@ config BR2_PACKAGE_SAMBA_RPCCLIENT
bool "rpcclient"
select BR2_PACKAGE_READLINE
default y
- depends on BR2_PACKAGE_SAMBA
help
Tool for executing client side MS-RPC functions using RPC
calls from a UNIX workstation.
@@ -96,7 +92,6 @@ config BR2_PACKAGE_SAMBA_RPCCLIENT
config BR2_PACKAGE_SAMBA_SMBCACLS
bool "smbcacls"
default y
- depends on BR2_PACKAGE_SAMBA
help
Set or get ACLs on an NT file or directory names
@@ -104,84 +99,72 @@ config BR2_PACKAGE_SAMBA_SMBCLIENT
bool "smbclient"
select BR2_PACKAGE_READLINE
default y
- depends on BR2_PACKAGE_SAMBA
help
ftp-like client to access SMB/CIFS resources on servers
config BR2_PACKAGE_SAMBA_SMBCONTROL
bool "smbcontrol"
default y
- depends on BR2_PACKAGE_SAMBA
help
Send messages to smbd, nmbd or winbindd processes
config BR2_PACKAGE_SAMBA_SMBCQUOTAS
bool "smbcquotas"
default y
- depends on BR2_PACKAGE_SAMBA
help
Set or get QUOTAs of NTFS 5 shares
config BR2_PACKAGE_SAMBA_SMBD
bool "smbd"
default y
- depends on BR2_PACKAGE_SAMBA
help
The server daemon that provides filesharing and printing services
config BR2_PACKAGE_SAMBA_SMBGET
bool "smbget"
default y
- depends on BR2_PACKAGE_SAMBA
help
wget-like utility for download files over SMB
config BR2_PACKAGE_SAMBA_SMBLDBTOOLS
bool "smbldbtools"
default y
- depends on BR2_PACKAGE_SAMBA
help
ldbadd ldbdel ldbedit ldbmodify ldbrename ldbsearch tools
config BR2_PACKAGE_SAMBA_SMBPASSWD
bool "smbpasswd"
default y
- depends on BR2_PACKAGE_SAMBA
help
Change a user's SMB passwd
config BR2_PACKAGE_SAMBA_SMBSHARESEC
bool "smbsharesec"
default y
- depends on BR2_PACKAGE_SAMBA
help
Manipulate share permissions on SMB file shares
config BR2_PACKAGE_SAMBA_SMBSPOOL
bool "smbspool"
default y
- depends on BR2_PACKAGE_SAMBA
help
Send a print file to an SMB printer
config BR2_PACKAGE_SAMBA_SMBSTATUS
bool "smbstatus"
default y
- depends on BR2_PACKAGE_SAMBA
help
Report on current Samba connections
config BR2_PACKAGE_SAMBA_SMBTREE
bool "smbtree"
default y
- depends on BR2_PACKAGE_SAMBA
help
A text based smb network browser
config BR2_PACKAGE_SAMBA_SWAT
bool "swat"
default y
- depends on BR2_PACKAGE_SAMBA
help
Samba Web Administration Tool
@@ -198,21 +181,18 @@ comment "smbtar - disabled (requires smbclient)"
config BR2_PACKAGE_SAMBA_TDB
bool "tdb"
default y
- depends on BR2_PACKAGE_SAMBA
help
Tools to operate on the .tdb database files
config BR2_PACKAGE_SAMBA_TESTPARM
bool "testparm"
default y
- depends on BR2_PACKAGE_SAMBA
help
Check an smb.conf configuration file for internal correctness
config BR2_PACKAGE_SAMBA_WINBINDD
bool "winbindd"
default y
- depends on BR2_PACKAGE_SAMBA
help
Name Service Switch daemon for resolving names from NT servers
@@ -227,11 +207,9 @@ endmenu
menu "Samba libraries selection"
- depends on BR2_PACKAGE_SAMBA
config BR2_PACKAGE_SAMBA_LIBSMBCLIENT
bool "libsmbclient"
- depends on BR2_PACKAGE_SAMBA
help
libsmbclient is a library toolset that permits applications
to manipulate CIFS/SMB network resources using many of the
@@ -242,12 +220,10 @@ endmenu
menu "Samba support selection"
- depends on BR2_PACKAGE_SAMBA
config BR2_PACKAGE_SAMBA_AVAHI
bool "support avahi"
default y
- depends on BR2_PACKAGE_SAMBA
depends on BR2_PACKAGE_AVAHI_DAEMON
select BR2_PACKAGE_DBUS
help
@@ -259,7 +235,6 @@ comment "support avahi - disabled (requires avahi-daemon)"
config BR2_PACKAGE_SAMBA_GAMIN
bool "support gamin"
default y
- depends on BR2_PACKAGE_SAMBA
depends on BR2_PACKAGE_GAMIN
help
Include support for gamin
@@ -269,3 +244,4 @@ comment "support gamin - disabled (requires gamin)"
endmenu
+endif
diff --git a/package/samba/samba-fix-mount.cifs.patch b/package/samba/samba-fix-mount.cifs.patch
deleted file mode 100644
index 9c235ea..0000000
--- a/package/samba/samba-fix-mount.cifs.patch
+++ /dev/null
@@ -1,21 +0,0 @@
---- a/client/mount.cifs.c 2011-09-13 10:26:21.000000000 +0200
-+++ b/client/mount.cifs.c 2011-09-13 10:27:16.000000000 +0200
-@@ -39,7 +39,6 @@
- #include <mntent.h>
- #include <fcntl.h>
- #include <limits.h>
--#include <fstab.h>
- #include "mount.h"
-
- #define MOUNT_CIFS_VERSION_MAJOR "1"
-@@ -255,6 +254,10 @@
- return 0;
- }
- #else /* CIFS_LEGACY_SETUID_CHECK */
-+
-+#ifndef _PATH_FSTAB
-+#define _PATH_FSTAB "/etc/fstab"
-+#endif
- static int
- check_fstab(const char *progname, char *mountpoint, char *devname,
- char **options)
diff --git a/package/samba/samba-getaddrinfo.patch b/package/samba/samba-getaddrinfo.patch
new file mode 100644
index 0000000..af01299
--- /dev/null
+++ b/package/samba/samba-getaddrinfo.patch
@@ -0,0 +1,19 @@
+Patch from OpenWRT.
+Don't check for buggy getaddrinfo() assume it's safe if it's present.
+
+Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
+
+--- a/source3/configure
++++ b/source3/configure
+@@ -13285,10 +13285,7 @@ if test x"$libreplace_cv_HAVE_GETADDRINF
+ # see bug 5910, use our replacements if we detect
+ # a broken system.
+ if test "$cross_compiling" = yes; then :
+- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+-as_fn_error "cannot run test program while cross compiling
+-See \`config.log' for more details." "$LINENO" 5; }
++ $as_echo "assuming valid getaddrinfo without bug 5910" >&2
+ else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
diff --git a/package/samba/samba-remove-legacy-index.patch b/package/samba/samba-remove-legacy-index.patch
deleted file mode 100644
index 855bca7..0000000
--- a/package/samba/samba-remove-legacy-index.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/source3/registry/reg_perfcount.c
-+++ b/source3/registry/reg_perfcount.c
-@@ -616,14 +616,14 @@ static bool _reg_perfcount_add_counter(P
- obj = NULL;
- memset(buf, 0, PERFCOUNT_MAX_LEN);
- memcpy(buf, data.dptr, data.dsize);
-- begin = index(buf, '[');
-- end = index(buf, ']');
-+ begin = strchr(buf, '[');
-+ end = strchr(buf, ']');
- if(begin == NULL || end == NULL)
- return False;
- start = begin+1;
-
- while(start < end) {
-- stop = index(start, ',');
-+ stop = strchr(start, ',');
- if(stop == NULL)
- stop = end;
- *stop = '\0';
diff --git a/package/samba/samba.mk b/package/samba/samba.mk
index 1203693..d7a15b3 100644
--- a/package/samba/samba.mk
+++ b/package/samba/samba.mk
@@ -4,21 +4,19 @@
#
#############################################################
-SAMBA_VERSION = 3.5.15
+SAMBA_VERSION = 3.6.5
SAMBA_SITE = http://ftp.samba.org/pub/samba/stable
SAMBA_SUBDIR = source3
SAMBA_INSTALL_STAGING = YES
-
-SAMBA_DEPENDENCIES = \
- $(if $(BR2_ENABLE_LOCALE),,libiconv) \
+SAMBA_DEPENDENCIES = popt \
$(if $(BR2_PACKAGE_SAMBA_RPCCLIENT),readline) \
$(if $(BR2_PACKAGE_SAMBA_SMBCLIENT),readline) \
$(if $(BR2_PACKAGE_SAMBA_AVAHI),avahi) \
$(if $(BR2_PACKAGE_SAMBA_GAMIN),gamin)
-
SAMBA_CONF_ENV = \
+ ac_cv_file__proc_sys_kernel_core_pattern=yes \
samba_cv_HAVE_GETTIMEOFDAY_TZ=yes \
samba_cv_USE_SETREUID=yes \
samba_cv_HAVE_KERNEL_OPLOCKS_LINUX=yes \
@@ -31,7 +29,6 @@ SAMBA_CONF_ENV = \
libreplace_cv_HAVE_IPV6=$(if $(BR2_INET_IPV6),yes,no) \
$(if $(BR2_PACKAGE_SAMBA_AVAHI),AVAHI_LIBS=-pthread)
-
SAMBA_CONF_OPT = \
--localstatedir=/var \
--with-piddir=/var/run \
@@ -51,49 +48,38 @@ SAMBA_CONF_OPT = \
$(if $(BR2_PACKAGE_SAMBA_SWAT),--enable-swat,--disable-swat) \
\
--without-cluster-support \
- --without-cifsupcall \
+ --without-dnsupdate \
+ $(if $(BR2_INET_RPC),--with-sys-quotas,--without-sys-quotas) \
--without-ads \
--without-ldap \
- --with-included-popt \
--with-included-iniparser \
- --with-libiconv=$(STAGING_DIR) \
\
- $(if $(BR2_PACKAGE_SAMBA_CIFS),--with-cifsmount,--without-cifsmount) \
$(if $(BR2_PACKAGE_SAMBA_RPCCLIENT),--with-readline=$(STAGING_DIR)) \
$(if $(BR2_PACKAGE_SAMBA_SMBCLIENT),--with-readline=$(STAGING_DIR)) \
$(if $(BR2_PACKAGE_SAMBA_WINBINDD),--with-winbind,--without-winbind)
-
SAMBA_INSTALL_TARGET_OPT = \
DESTDIR=$(TARGET_DIR) -C $(SAMBA_DIR)/$(SAMBA_SUBDIR) \
installlibs installservers installbin installscripts \
- $(if $(BR2_PACKAGE_SAMBA_CIFS),installcifsmount) \
$(if $(BR2_PACKAGE_SAMBA_SWAT),installswat)
-
SAMBA_UNINSTALL_TARGET_OPT = \
DESTDIR=$(TARGET_DIR) -C $(SAMBA_DIR)/$(SAMBA_SUBDIR) \
uninstalllibs uninstallservers uninstallbin uninstallscripts \
- $(if $(BR2_PACKAGE_SAMBA_CIFS),uninstallcifsmount) \
$(if $(BR2_PACKAGE_SAMBA_SWAT),uninstallswat)
-
# binaries to keep
SAMBA_BINTARGETS_y = \
usr/sbin/smbd \
usr/lib/libtalloc.so \
usr/lib/libtdb.so
-
# binaries to remove
SAMBA_BINTARGETS_ = \
usr/lib/libnetapi.so* \
usr/lib/libsmbsharemodes.so*
-
# binaries to keep or remove
-SAMBA_BINTARGETS_$(BR2_PACKAGE_SAMBA_CIFS) += usr/sbin/mount.cifs
-SAMBA_BINTARGETS_$(BR2_PACKAGE_SAMBA_CIFS) += usr/sbin/umount.cifs
SAMBA_BINTARGETS_$(BR2_PACKAGE_SAMBA_EVENTLOGADM) += usr/bin/eventlogadm
SAMBA_BINTARGETS_$(BR2_PACKAGE_SAMBA_NET) += usr/bin/net
SAMBA_BINTARGETS_$(BR2_PACKAGE_SAMBA_NMBD) += usr/sbin/nmbd
@@ -131,7 +117,6 @@ SAMBA_BINTARGETS_$(BR2_PACKAGE_SAMBA_WBINFO) += usr/bin/wbinfo
SAMBA_BINTARGETS_$(BR2_PACKAGE_SAMBA_WINBINDD) += usr/lib/libwbclient.so*
SAMBA_BINTARGETS_$(BR2_PACKAGE_SAMBA_LIBSMBCLIENT) += usr/lib/libsmbclient.so*
-
# non-binaries to remove
SAMBA_TXTTARGETS_ = \
usr/include/libsmbclient.h \
@@ -141,7 +126,6 @@ SAMBA_TXTTARGETS_ = \
usr/include/tdb.h \
usr/include/wbclient.h
-
# non-binaries to keep or remove
SAMBA_TXTTARGETS_$(BR2_PACKAGE_SAMBA_FINDSMB) += usr/bin/findsmb
SAMBA_TXTTARGETS_$(BR2_PACKAGE_SAMBA_SMBTAR) += usr/bin/smbtar
@@ -163,6 +147,14 @@ define SAMBA_REMOVE_SWAT_DOCUMENTATION
rm -rf $(TARGET_DIR)/usr/swat/help/welcome.html
endef
+# --with-libiconv="" is to avoid detecting host libiconv and build failure
+ifeq ($(BR2_PACKAGE_SAMBA_LIBICONV),y)
+SAMBA_DEPENDENCIES += libiconv
+SAMBA_CONF_OPT += --with-libiconv=$(STAGING_DIR)
+else
+SAMBA_CONF_OPT += --with-libiconv=""
+endif
+
ifeq ($(BR2_PACKAGE_SAMBA_SWAT),y)
ifneq ($(BR2_HAVE_DOCUMENTATION),y)
SAMBA_POST_INSTALL_TARGET_HOOKS += SAMBA_REMOVE_SWAT_DOCUMENTATION
--
1.7.3.4
^ permalink raw reply related [flat|nested] 11+ messages in thread* [Buildroot] [PATCH 08/10] mrouted: bump to version 3.9.6
2012-05-11 19:37 [Buildroot] [PATCH 01/10] icu: bump to version 4.8.1.1 Gustavo Zacarias
` (5 preceding siblings ...)
2012-05-11 19:37 ` [Buildroot] [PATCH 07/10] samba: bump to version 3.6.5 and enhancements Gustavo Zacarias
@ 2012-05-11 19:37 ` Gustavo Zacarias
2012-05-11 19:37 ` [Buildroot] [PATCH 09/10] gnutls: bump to version 2.12.19 Gustavo Zacarias
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Gustavo Zacarias @ 2012-05-11 19:37 UTC (permalink / raw)
To: buildroot
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
package/mrouted/mrouted-3.9.4-bcopy.patch | 21 -------
package/mrouted/mrouted-3.9.4-makefile-flags.patch | 64 --------------------
package/mrouted/mrouted-bcopy.patch | 39 ++++++++++++
package/mrouted/mrouted.mk | 6 +-
4 files changed, 42 insertions(+), 88 deletions(-)
delete mode 100644 package/mrouted/mrouted-3.9.4-bcopy.patch
delete mode 100644 package/mrouted/mrouted-3.9.4-makefile-flags.patch
create mode 100644 package/mrouted/mrouted-bcopy.patch
diff --git a/package/mrouted/mrouted-3.9.4-bcopy.patch b/package/mrouted/mrouted-3.9.4-bcopy.patch
deleted file mode 100644
index ea8f6db..0000000
--- a/package/mrouted/mrouted-3.9.4-bcopy.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -Nura mrouted-3.9.4/mtrace.c mrouted-3.9.4-memmove/mtrace.c
---- mrouted-3.9.4/mtrace.c 2010-11-19 20:53:19.000000000 -0300
-+++ mrouted-3.9.4-memmove/mtrace.c 2012-05-03 08:27:33.895422455 -0300
-@@ -556,7 +556,7 @@
- save->rtime = ((tr.tv_sec + JAN_1970) << 16) +
- (tr.tv_usec << 10) / 15625;
- save->len = len;
-- bcopy((char *)igmp, (char *)&save->igmp, ipdatalen);
-+ memmove((char *)&save->igmp, (char *)igmp, ipdatalen);
- }
- return recvlen;
- }
-@@ -646,7 +646,7 @@
- base.rtime = ((tr.tv_sec + JAN_1970) << 16) +
- (tr.tv_usec << 10) / 15625;
- base.len = len;
-- bcopy((char *)igmp, (char *)&base.igmp, ipdatalen);
-+ memmove((char *)&base.igmp, (char *)igmp, ipdatalen);
- /*
- * If the user specified which traces to monitor,
- * only accept traces that correspond to the
diff --git a/package/mrouted/mrouted-3.9.4-makefile-flags.patch b/package/mrouted/mrouted-3.9.4-makefile-flags.patch
deleted file mode 100644
index 932bec0..0000000
--- a/package/mrouted/mrouted-3.9.4-makefile-flags.patch
+++ /dev/null
@@ -1,64 +0,0 @@
----
- Makefile | 20 +++++++++-----------
- 1 file changed, 9 insertions(+), 11 deletions(-)
-
-Index: mrouted-3.9.4/Makefile
-===================================================================
---- mrouted-3.9.4.orig/Makefile
-+++ mrouted-3.9.4/Makefile
-@@ -42,11 +42,9 @@
- #MSTAT_OBJS = mstat.o $(EXTRA_OBJS)
-
- ## Common
--CFLAGS = $(MCAST_INCLUDE) $(SNMPDEF) $(RSRRDEF) $(INCLUDES) $(DEFS) $(USERCOMPILE)
--CFLAGS += -O2 -W -Wall -Werror
--#CFLAGS += -O -g
--LDLIBS = $(SNMPLIBDIR) $(SNMPLIBS) $(EXTRA_LIBS)
--LDFLAGS += -Wl,-Map,$@.map
-+MROUTED_CFLAGS = $(MCAST_INCLUDE) $(SNMPDEF) $(RSRRDEF) $(INCLUDES) $(DEFS) $(USERCOMPILE)
-+LDLIBS = $(SNMPLIBDIR) $(SNMPLIBS) $(EXTRA_LIBS)
-+MROUTED_LDFLAGS += -Wl,-Map,$@.map
- OBJS = $(IGMP_OBJS) $(ROUTER_OBJS) $(MAPPER_OBJS) $(MRINFO_OBJS) \
- $(MTRACE_OBJS) $(MSTAT_OBJS)
- SRCS = $(OBJS:.o=.c)
-@@ -65,7 +63,7 @@
-
- .c.o:
- @printf " CC $@\n"
-- @$(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
-+ @$(CC) $(CFLAGS) $(MROUTED_CFLAGS) $(CPPFLAGS) -c -o $@ $<
-
- install: $(EXECS)
- @install -d $(DESTDIR)$(prefix)/sbin
-@@ -95,26 +93,26 @@
-
- mrouted: $(IGMP_OBJS) $(ROUTER_OBJS) $(CMULIBS)
- @printf " LINK $@\n"
-- @$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(IGMP_OBJS) $(ROUTER_OBJS) $(LDLIBS)
-+ @$(CC) $(CFLAGS) $(MROUTED_CFLAGS) $(LDFLAGS) $(MROUTED_LDFLAGS) -o $@ $(IGMP_OBJS) $(ROUTER_OBJS) $(LDLIBS)
-
- vers.c: Makefile
- @echo $(VERSION) | sed -e 's/.*/char todaysversion[]="&";/' > vers.c
-
- map-mbone: $(IGMP_OBJS) $(MAPPER_OBJS)
- @printf " LINK $@\n"
-- @$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(IGMP_OBJS) $(MAPPER_OBJS) $(LDLIBS)
-+ @$(CC) $(CFLAGS) $(MROUTED_CFLAGS) $(LDFLAGS) $(MROUTED_LDFLAGS) -o $@ $(IGMP_OBJS) $(MAPPER_OBJS) $(LDLIBS)
-
- mrinfo: $(IGMP_OBJS) $(MRINFO_OBJS)
- @printf " LINK $@\n"
-- @$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(IGMP_OBJS) $(MRINFO_OBJS) $(LDLIBS)
-+ @$(CC) $(CFLAGS) $(MROUTED_CFLAGS) $(LDFLAGS) $(MROUTED_LDFLAGS) -o $@ $(IGMP_OBJS) $(MRINFO_OBJS) $(LDLIBS)
-
- mtrace: $(IGMP_OBJS) $(MTRACE_OBJS)
- @printf " LINK $@\n"
-- @$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(IGMP_OBJS) $(MTRACE_OBJS) $(LDLIBS)
-+ @$(CC) $(CFLAGS) $(MROUTED_CFLAGS) $(LDFLAGS) $(MROUTED_LDFLAGS) -o $@ $(IGMP_OBJS) $(MTRACE_OBJS) $(LDLIBS)
-
- mstat: $(MSTAT_OBJS) $(CMULIBS)
- @printf " LINK $@\n"
-- @$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(MSTAT_OBJS) $(LDLIBS)
-+ @$(CC) $(CFLAGS) $(MROUTED_CFLAGS) $(LDFLAGS) $(MROUTED_LDFLAGS) -o $@ $(MSTAT_OBJS) $(LDLIBS)
-
- clean: $(SNMPCLEAN)
- -@$(RM) $(OBJS) $(EXECS)
diff --git a/package/mrouted/mrouted-bcopy.patch b/package/mrouted/mrouted-bcopy.patch
new file mode 100644
index 0000000..74af02d
--- /dev/null
+++ b/package/mrouted/mrouted-bcopy.patch
@@ -0,0 +1,39 @@
+From 2d33110ee18fb59a1d6917d598fc1f4eb3c4cf83 Mon Sep 17 00:00:00 2001
+From: Gustavo Zacarias <gustavo@zacarias.com.ar>
+Date: Mon, 7 May 2012 16:32:10 -0300
+Subject: [PATCH] Switch from bcopy to memmove
+
+The bcopy() function is marked as legacy per POSIX.1-2001 and removed by
+POSIX-1.2008 thus shouldn't be used.
+So switch over to memmove()
+
+Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
+---
+ mtrace.c | 4 ++--
+ 1 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/mtrace.c b/mtrace.c
+index c982a67..64630bf 100644
+--- a/mtrace.c
++++ b/mtrace.c
+@@ -556,7 +556,7 @@ int send_recv(u_int32_t dst, int type, int code, int tries, struct resp_buf *sav
+ save->rtime = ((tr.tv_sec + JAN_1970) << 16) +
+ (tr.tv_usec << 10) / 15625;
+ save->len = len;
+- bcopy((char *)igmp, (char *)&save->igmp, ipdatalen);
++ memmove((char *)&save->igmp, (char *)igmp, ipdatalen);
+ }
+ return recvlen;
+ }
+@@ -646,7 +646,7 @@ void passive_mode(void)
+ base.rtime = ((tr.tv_sec + JAN_1970) << 16) +
+ (tr.tv_usec << 10) / 15625;
+ base.len = len;
+- bcopy((char *)igmp, (char *)&base.igmp, ipdatalen);
++ memmove((char *)&base.igmp, (char *)igmp, ipdatalen);
+ /*
+ * If the user specified which traces to monitor,
+ * only accept traces that correspond to the
+--
+1.7.3.4
+
diff --git a/package/mrouted/mrouted.mk b/package/mrouted/mrouted.mk
index 99b54bc..7a3203a 100644
--- a/package/mrouted/mrouted.mk
+++ b/package/mrouted/mrouted.mk
@@ -2,11 +2,11 @@
#
# mrouted
#
-#
#############################################################
-MROUTED_VERSION = 3.9.4
+
+MROUTED_VERSION = 3.9.6
MROUTED_SOURCE = mrouted-$(MROUTED_VERSION).tar.bz2
-MROUTED_SITE = http://ftp.vmlinux.org/pub/People/jocke/mrouted
+MROUTED_SITE = http://cloud.github.com/downloads/troglobit/mrouted
define MROUTED_BUILD_CMDS
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
--
1.7.3.4
^ permalink raw reply related [flat|nested] 11+ messages in thread* [Buildroot] [PATCH 09/10] gnutls: bump to version 2.12.19
2012-05-11 19:37 [Buildroot] [PATCH 01/10] icu: bump to version 4.8.1.1 Gustavo Zacarias
` (6 preceding siblings ...)
2012-05-11 19:37 ` [Buildroot] [PATCH 08/10] mrouted: bump to version 3.9.6 Gustavo Zacarias
@ 2012-05-11 19:37 ` Gustavo Zacarias
2012-05-11 19:37 ` [Buildroot] [PATCH 10/10] mpg123: bump to version 1.14.1 Gustavo Zacarias
2012-05-18 20:28 ` [Buildroot] [PATCH 01/10] icu: bump to version 4.8.1.1 Peter Korsgaard
9 siblings, 0 replies; 11+ messages in thread
From: Gustavo Zacarias @ 2012-05-11 19:37 UTC (permalink / raw)
To: buildroot
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
package/gnutls/gnutls.mk | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/package/gnutls/gnutls.mk b/package/gnutls/gnutls.mk
index ce570d5..f7238aa 100644
--- a/package/gnutls/gnutls.mk
+++ b/package/gnutls/gnutls.mk
@@ -4,7 +4,7 @@
#
#############################################################
-GNUTLS_VERSION = 2.12.18
+GNUTLS_VERSION = 2.12.19
GNUTLS_SOURCE = gnutls-$(GNUTLS_VERSION).tar.bz2
GNUTLS_SITE = $(BR2_GNU_MIRROR)/gnutls
GNUTLS_DEPENDENCIES = host-pkg-config libgcrypt
--
1.7.3.4
^ permalink raw reply related [flat|nested] 11+ messages in thread* [Buildroot] [PATCH 10/10] mpg123: bump to version 1.14.1
2012-05-11 19:37 [Buildroot] [PATCH 01/10] icu: bump to version 4.8.1.1 Gustavo Zacarias
` (7 preceding siblings ...)
2012-05-11 19:37 ` [Buildroot] [PATCH 09/10] gnutls: bump to version 2.12.19 Gustavo Zacarias
@ 2012-05-11 19:37 ` Gustavo Zacarias
2012-05-18 20:28 ` [Buildroot] [PATCH 01/10] icu: bump to version 4.8.1.1 Peter Korsgaard
9 siblings, 0 replies; 11+ messages in thread
From: Gustavo Zacarias @ 2012-05-11 19:37 UTC (permalink / raw)
To: buildroot
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
package/multimedia/mpg123/mpg123.mk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/multimedia/mpg123/mpg123.mk b/package/multimedia/mpg123/mpg123.mk
index 65523f3..4635740 100644
--- a/package/multimedia/mpg123/mpg123.mk
+++ b/package/multimedia/mpg123/mpg123.mk
@@ -4,9 +4,9 @@
#
#############################################################
-MPG123_VERSION = 1.13.8
+MPG123_VERSION = 1.14.1
MPG123_SOURCE = mpg123-$(MPG123_VERSION).tar.bz2
-MPG123_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/mpg123
+MPG123_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/project/mpg123/mpg123/$(MPG123_VERSION)
MPG123_CONF_OPT = --with-optimization=0 --disable-lfs-alias
MPG123_INSTALL_STAGING = YES
--
1.7.3.4
^ permalink raw reply related [flat|nested] 11+ messages in thread* [Buildroot] [PATCH 01/10] icu: bump to version 4.8.1.1
2012-05-11 19:37 [Buildroot] [PATCH 01/10] icu: bump to version 4.8.1.1 Gustavo Zacarias
` (8 preceding siblings ...)
2012-05-11 19:37 ` [Buildroot] [PATCH 10/10] mpg123: bump to version 1.14.1 Gustavo Zacarias
@ 2012-05-18 20:28 ` Peter Korsgaard
9 siblings, 0 replies; 11+ messages in thread
From: Peter Korsgaard @ 2012-05-18 20:28 UTC (permalink / raw)
To: buildroot
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:
Gustavo> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Committed all 10 to -next, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 11+ messages in thread