Re: [OpenWrt-Devel] [PATCHv2][packages] add libnetconf package
Hi Jiri, On Sat, Jan 04, 2014 at 10:00:12PM +0100, Jiří Šlachta wrote: > libnetconf is a NETCONF library in C intended for building NETCONF > clients and servers. It provides basic functions to connect NETCONF > client and server to each other via SSH, to send and receive NETCONF > messages and to store and work with the configuration data in a datastore. > > v2: renamed macro Package/$(PKG_NAME)/config to Package/libnetconf/config > to keep naming convention consistent > > Signed-off-by: Jiri Slachta > --- > libs/libnetconf/Makefile | 107 > ++ > 1 file changed, 107 insertions(+) > create mode 100644 libs/libnetconf/Makefile I wanted to create a new feed for management tools (called openwrt-management). For starters I wanted to move packages like freecwmp and tmate. Maybe alljoyn if that is in management domain. Anyway, the libnetconf package is ideal package for this feed... If there are no objections I will create a feed next week. What do you think? Luka ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCHv2][packages] add libnetconf package
libnetconf is a NETCONF library in C intended for building NETCONF clients and servers. It provides basic functions to connect NETCONF client and server to each other via SSH, to send and receive NETCONF messages and to store and work with the configuration data in a datastore. v2: renamed macro Package/$(PKG_NAME)/config to Package/libnetconf/config to keep naming convention consistent Signed-off-by: Jiri Slachta --- libs/libnetconf/Makefile | 107 ++ 1 file changed, 107 insertions(+) create mode 100644 libs/libnetconf/Makefile diff --git a/libs/libnetconf/Makefile b/libs/libnetconf/Makefile new file mode 100644 index 000..ef38acf --- /dev/null +++ b/libs/libnetconf/Makefile @@ -0,0 +1,107 @@ +# +# Copyright (C) 2014 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=libnetconf +PKG_VERSION:=0.6.0 +PKG_RELEASE:=1 +PKG_REV:=ea32c191a189 +PKG_INSTALL:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://code.google.com/p/libnetconf/ +PKG_SOURCE_PROTO:=git +PKG_SOURCE_VERSION:=$(PKG_REV) +PKG_SOURCE_SUBDIR:=$(PKG_NAME) + +PKG_BUILD_DIR=$(BUILD_DIR)/$(PKG_NAME) + +include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/nls.mk + +define Package/libnetconf + SECTION:=libs + CATEGORY:=Libraries + TITLE:=NETCONF library + URL:=$(PKG_SOURCE_URL) + DEPENDS:= \ + +libcurl \ + +libssh2 \ + +libxml2 \ + +libxslt \ + +LIBNETCONF_ENABLE_NOTIFICATIONS:libdbus + MAINTAINER:=Jiri Slachta +endef + +define Package/libnetconf/description + libnetconf is the NETCONF library in C intended for building NETCONF clients and servers. + + libnetconf provides basic functions to connect NETCONF client and server to each other via + SSH, to send and receive NETCONF messages and to store and work with the configuration data + in a datastore. +endef + +define Package/libnetconf/config +menu "Configuration" + config LIBNETCONF_ENABLE_NOTIFICATIONS + bool "Enable support of NETCONF Notifications (RFC 5277)" + default y + + config LIBNETCONF_ENABLE_URL + bool "Enable support of NETCONF URL Capability (RFC 6241)" + default y + + config LIBNETCONF_ENABLE_VALIDATION + bool "Enable support for configuration data validation" + default y + + config LIBNETCONF_NC_WORKING_DIR + depends on DEVEL + string "NETCONF working directory" + default /usr/share/libnetconf/nc-working-dir + help + Path to a working directory of libnetconf, where all + the system files are stored, the default value is + /usr/share/libnetconf/nc-working-dir +endmenu +endef + +ifeq ($(CONFIG_LIBNETCONF_NC_WORKING_DIR),) + CONFIG_LIBNETCONF_NC_WORKING_DIR:=/usr/share/libnetconf/nc-working-dir +endif + +CONFIGURE_ARGS+= \ + --prefix=/usr/ \ + --exec-prefix=/usr/ \ + --enable-libssh2 \ + $(if $(CONFIG_LIBNETCONF_ENABLE_NOTIFICATIONS),--enable,--disable)-notifications \ + $(if $(CONFIG_LIBNETCONF_ENABLE_URL),--enable,--disable)-url \ + $(if $(CONFIG_LIBNETCONF_ENABLE_VALIDATION),--enable,--disable)-validation \ + --with-ncworkingdirpath=$(CONFIG_LIBNETCONF_NC_WORKING_DIR) + +define Build/InstallDev + $(INSTALL_DIR) $(1)/usr/include + $(CP) $(PKG_INSTALL_DIR)/usr/include/libnetconf{,_ssh,_xml}*.h $(1)/usr/include/ + $(INSTALL_DIR) $(1)/usr/include/libnetconf + $(CP) $(PKG_INSTALL_DIR)/usr/include/libnetconf/*.h $(1)/usr/include/libnetconf/ + $(INSTALL_DIR) $(1)/usr/lib + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/libnetconf* $(1)/usr/lib/ + $(INSTALL_DIR) $(1)/usr/lib/pkgconfig + $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libnetconf.pc $(1)/usr/lib/pkgconfig/ + $(INSTALL_DIR) $(1)/var/libnetconf +endef + +define Package/libnetconf/install + $(INSTALL_DIR) $(1)/usr/lib + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/libnetconf.so* $(1)/usr/lib/ + $(INSTALL_DIR) $(1)/usr/share/libnetconf/ + $(CP) $(PKG_INSTALL_DIR)/usr/share/libnetconf/{rnglib,xslt} $(1)/usr/share/libnetconf/ + $(INSTALL_DIR) $(1)$(CONFIG_LIBNETCONF_NC_WORKING_DIR) +endef + +$(eval $(call BuildPackage,libnetconf)) -- 1.7.9.5 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH][packages] add package libnetconf
libnetconf is a NETCONF library in C intended for building NETCONF clients and servers. It provides basic functions to connect NETCONF client and server to each other via SSH, to send and receive NETCONF messages and to store and work with the configuration data in a datastore. Signed-off-by: Jiri Slachta --- libs/libnetconf/Makefile | 107 ++ 1 file changed, 107 insertions(+) create mode 100644 libs/libnetconf/Makefile diff --git a/libs/libnetconf/Makefile b/libs/libnetconf/Makefile new file mode 100644 index 000..c4cb3fc --- /dev/null +++ b/libs/libnetconf/Makefile @@ -0,0 +1,107 @@ +# +# Copyright (C) 2014 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=libnetconf +PKG_VERSION:=0.6.0 +PKG_RELEASE:=1 +PKG_REV:=ea32c191a189 +PKG_INSTALL:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://code.google.com/p/libnetconf/ +PKG_SOURCE_PROTO:=git +PKG_SOURCE_VERSION:=$(PKG_REV) +PKG_SOURCE_SUBDIR:=$(PKG_NAME) + +PKG_BUILD_DIR=$(BUILD_DIR)/$(PKG_NAME) + +include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/nls.mk + +define Package/libnetconf + SECTION:=libs + CATEGORY:=Libraries + TITLE:=NETCONF library + URL:=$(PKG_SOURCE_URL) + DEPENDS:= \ + +libcurl \ + +libssh2 \ + +libxml2 \ + +libxslt \ + +LIBNETCONF_ENABLE_NOTIFICATIONS:libdbus + MAINTAINER:=Jiri Slachta +endef + +define Package/libnetconf/description + libnetconf is the NETCONF library in C intended for building NETCONF clients and servers. + + libnetconf provides basic functions to connect NETCONF client and server to each other via + SSH, to send and receive NETCONF messages and to store and work with the configuration data + in a datastore. +endef + +define Package/$(PKG_NAME)/config +menu "Configuration" + config LIBNETCONF_ENABLE_NOTIFICATIONS + bool "Enable support of NETCONF Notifications (RFC 5277)" + default y + + config LIBNETCONF_ENABLE_URL + bool "Enable support of NETCONF URL Capability (RFC 6241)" + default y + + config LIBNETCONF_ENABLE_VALIDATION + bool "Enable support for configuration data validation" + default y + + config LIBNETCONF_NC_WORKING_DIR + depends on DEVEL + string "NETCONF working directory" + default /usr/share/libnetconf/nc-working-dir + help + Path to a working directory of libnetconf, where all + the system files are stored, the default value is + /usr/share/libnetconf/nc-working-dir +endmenu +endef + +ifeq ($(CONFIG_LIBNETCONF_NC_WORKING_DIR),) + CONFIG_LIBNETCONF_NC_WORKING_DIR:=/usr/share/libnetconf/nc-working-dir +endif + +CONFIGURE_ARGS+= \ + --prefix=/usr/ \ + --exec-prefix=/usr/ \ + --enable-libssh2 \ + $(if $(CONFIG_LIBNETCONF_ENABLE_NOTIFICATIONS),--enable,--disable)-notifications \ + $(if $(CONFIG_LIBNETCONF_ENABLE_URL),--enable,--disable)-url \ + $(if $(CONFIG_LIBNETCONF_ENABLE_VALIDATION),--enable,--disable)-validation \ + --with-ncworkingdirpath=$(CONFIG_LIBNETCONF_NC_WORKING_DIR) + +define Build/InstallDev + $(INSTALL_DIR) $(1)/usr/include + $(CP) $(PKG_INSTALL_DIR)/usr/include/libnetconf{,_ssh,_xml}*.h $(1)/usr/include/ + $(INSTALL_DIR) $(1)/usr/include/libnetconf + $(CP) $(PKG_INSTALL_DIR)/usr/include/libnetconf/*.h $(1)/usr/include/libnetconf/ + $(INSTALL_DIR) $(1)/usr/lib + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/libnetconf* $(1)/usr/lib/ + $(INSTALL_DIR) $(1)/usr/lib/pkgconfig + $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libnetconf.pc $(1)/usr/lib/pkgconfig/ + $(INSTALL_DIR) $(1)/var/libnetconf +endef + +define Package/libnetconf/install + $(INSTALL_DIR) $(1)/usr/lib + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/libnetconf.so* $(1)/usr/lib/ + $(INSTALL_DIR) $(1)/usr/share/libnetconf/ + $(CP) $(PKG_INSTALL_DIR)/usr/share/libnetconf/{rnglib,xslt} $(1)/usr/share/libnetconf/ + $(INSTALL_DIR) $(1)$(CONFIG_LIBNETCONF_NC_WORKING_DIR) +endef + +$(eval $(call BuildPackage,libnetconf)) -- 1.7.9.5 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] [packages] transmission: fixup configure, fuzz
Dnia 2014-01-04, o godz. 11:58:49 Dirk Neukirchen napisał(a): > while at it remove patch fuzz by refreshing patches > > fixes build warning: > configure: WARNING: unrecognized options: --disable-gtk > > Signed-off-by: Dirk Neukirchen r39199, thanks. -- Pozdrawiam, Cezary Jackiewicz ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] [packages] kernel: kmod-w1 - missing netlink support
- updated kerneloptions to include netlink support. diff --git a/package/kernel/linux/modules/w1.mkb/package/kernel/linux/modules/ w1.mk index c2fc649..dba1fed 100644 --- a/package/kernel/linux/modules/w1.mk +++ b/package/kernel/linux/modules/w1.mk @@ -1,5 +1,5 @@ # -# Copyright (C) 2008-2010 OpenWrt.org +# Copyright (C) 2008-2013 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -12,8 +12,13 @@ W1_SLAVES_DIR:=$(LINUX_DIR)/drivers/w1/slaves define KernelPackage/w1 SUBMENU:=$(W1_MENU) TITLE:=Dallas's 1-wire support - KCONFIG:=CONFIG_W1 - FILES:=$(LINUX_DIR)/drivers/w1/wire.ko + KCONFIG:= \ + CONFIG_W1 \ + CONFIG_W1_CON=y \ + CONFIG_CONNECTOR + FILES:= \ + $(LINUX_DIR)/drivers/w1/wire.ko \ + $(LINUX_DIR)/drivers/connector/cn.ko endef define KernelPackage/w1/description ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] [telephony] asterisk-1.8.x: fix configure warnings
Hello Dirk, thank you for your patch. Those configure options were there as leftovers from previous versions. I tested it and pushed it to telephony repository. Thank you so much! :-) Jiri Dne 4. 1. 2014 13:51, Dirk Neukirchen napsal(a): > spotted while looking through build-logs > only compile tested > asterisk-1.8.x uses OpenSSL instead of GnuTLS dunno about that > > errors in log were: > configure: WARNING: unrecognized options: > --with-gnutls, > --without-curl, > --without-pbx-lua, > --without-gtk, --without-kde, --without-qt > > Signed-off-by: Dirk Neukirchen > --- > net/asterisk-1.8.x/Makefile | 14 -- > 1 file changed, 4 insertions(+), 10 deletions(-) > > diff --git a/net/asterisk-1.8.x/Makefile b/net/asterisk-1.8.x/Makefile > index 05f949c..a1ae78b 100644 > --- a/net/asterisk-1.8.x/Makefile > +++ b/net/asterisk-1.8.x/Makefile > @@ -277,23 +277,20 @@ endif > > ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-chan-gtalk),) >CONFIGURE_ARGS+= \ > - --with-gnutls="$(STAGING_DIR)/usr" \ > --with-iksemel="$(STAGING_DIR)/usr" >SITE_VARS+= \ > - ac_cv_lib_iksemel_iks_start_sasl=yes \ > - ac_cv_lib_gnutls_gnutls_bye=yes > + ac_cv_lib_iksemel_iks_start_sasl=yes > else >CONFIGURE_ARGS+= \ > - --without-gnutls \ > --without-iksemel > endif > > ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-curl),) >CONFIGURE_ARGS+= \ > - --with-curl="$(STAGING_DIR)/usr" > + --with-libcurl="$(STAGING_DIR)/usr" > else >CONFIGURE_ARGS+= \ > - --without-curl > + --without-libcurl > endif > > ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-pgsql),) > @@ -342,17 +339,15 @@ ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-pbx-lua),) >TARGET_LDFLAGS+=-ldl -lcrypt > else >CONFIGURE_ARGS+= \ > - --without-pbx-lua > + --without-lua > endif > > CONFIGURE_ARGS+= \ > --without-curses \ > --with-gsm=internal \ > --without-cap \ > - --without-gtk \ > --without-gtk2 \ > --without-isdnnet \ > - --without-kde \ > --without-misdn \ > --without-nbs \ > --with-ncurses="$(STAGING_DIR)/usr" \ > @@ -362,7 +357,6 @@ CONFIGURE_ARGS+= \ > --without-osptk \ > --with-popt="$(STAGING_DIR)/usr" \ > --without-pri \ > - --without-qt \ > --without-radius \ > --without-sdl \ > --without-suppserv \ > > > > ___ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel > ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] [packages] fowsr: update to 2.0-131015
On 04.01.2014 13:13, Daniel Wiegert wrote: > > Hello guys > > I'm new here, I hope I'm doing right, herd you guys can bite kind of hard! ;) > > > The active version of fowsr in openwrt feeds is 1.0 and is kind of buggy. > There are a newer version available on fowsr svn: (openwrt makefile) > http://code.google.com/p/fowsr/source/browse/trunk/openwrt/Makefile > > Checked and works fine in latest trunk. > > //Daniel > There are submission guidelines: https://dev.openwrt.org/wiki/SubmittingPatches the following trivial patch should apply - update version, md5 - update source url - fix grammar Reported-by: Daniel Wiegert Signed-off-by: Dirk Neukirchen --- utils/fowsr/Makefile | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/utils/fowsr/Makefile b/utils/fowsr/Makefile index cda239b..2bf4d01 100644 --- a/utils/fowsr/Makefile +++ b/utils/fowsr/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2010-2012 OpenWrt.org +# Copyright (C) 2010-2013 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -8,14 +8,14 @@ include $(TOPDIR)/rules.mk PKG_NAME:=fowsr -PKG_VERSION:=1.0-20110904 +PKG_VERSION:=2.0-131015 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=http://fowsr.googlecode.com/files -PKG_MD5SUM:=3dbe93a59d85bf89f9c1d20d54f5e983 +PKG_SOURCE_URL:=http://fowsr.googlecode.com/svn/tags/Releases/ +PKG_MD5SUM:=7f78e8d2b1a162a99e684cab49a210a0 -PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-1.0 +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME).src include $(INCLUDE_DIR)/package.mk @@ -30,7 +30,7 @@ endef define Package/fowsr/description fowsr is a USB Data Collector application for WH1080 compatible weather stations. - Output formats includes XML, Wunderground.com and pywws. + Output formats include XML, Wunderground.com and pywws. endef define Package/fowsr/install -- 1.8.5.2 smime.p7s Description: S/MIME Cryptographic Signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] [telephony] asterisk-1.8.x: fix configure warnings
spotted while looking through build-logs only compile tested asterisk-1.8.x uses OpenSSL instead of GnuTLS dunno about that errors in log were: configure: WARNING: unrecognized options: --with-gnutls, --without-curl, --without-pbx-lua, --without-gtk, --without-kde, --without-qt Signed-off-by: Dirk Neukirchen --- net/asterisk-1.8.x/Makefile | 14 -- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/net/asterisk-1.8.x/Makefile b/net/asterisk-1.8.x/Makefile index 05f949c..a1ae78b 100644 --- a/net/asterisk-1.8.x/Makefile +++ b/net/asterisk-1.8.x/Makefile @@ -277,23 +277,20 @@ endif ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-chan-gtalk),) CONFIGURE_ARGS+= \ - --with-gnutls="$(STAGING_DIR)/usr" \ --with-iksemel="$(STAGING_DIR)/usr" SITE_VARS+= \ - ac_cv_lib_iksemel_iks_start_sasl=yes \ - ac_cv_lib_gnutls_gnutls_bye=yes + ac_cv_lib_iksemel_iks_start_sasl=yes else CONFIGURE_ARGS+= \ - --without-gnutls \ --without-iksemel endif ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-curl),) CONFIGURE_ARGS+= \ - --with-curl="$(STAGING_DIR)/usr" + --with-libcurl="$(STAGING_DIR)/usr" else CONFIGURE_ARGS+= \ - --without-curl + --without-libcurl endif ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-pgsql),) @@ -342,17 +339,15 @@ ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-pbx-lua),) TARGET_LDFLAGS+=-ldl -lcrypt else CONFIGURE_ARGS+= \ - --without-pbx-lua + --without-lua endif CONFIGURE_ARGS+= \ --without-curses \ --with-gsm=internal \ --without-cap \ - --without-gtk \ --without-gtk2 \ --without-isdnnet \ - --without-kde \ --without-misdn \ --without-nbs \ --with-ncurses="$(STAGING_DIR)/usr" \ @@ -362,7 +357,6 @@ CONFIGURE_ARGS+= \ --without-osptk \ --with-popt="$(STAGING_DIR)/usr" \ --without-pri \ - --without-qt \ --without-radius \ --without-sdl \ --without-suppserv \ -- 1.8.5.2 smime.p7s Description: S/MIME Cryptographic Signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] FEEDS: outdated FOWSR makefile
Hello guys I'm new here, I hope I'm doing right, herd you guys can bite kind of hard! ;) The active version of fowsr in openwrt feeds is 1.0 and is kind of buggy. There are a newer version available on fowsr svn: (openwrt makefile) http://code.google.com/p/fowsr/source/browse/trunk/openwrt/Makefile Checked and works fine in latest trunk. //Daniel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] [packages] transmission: fixup configure, fuzz
while at it remove patch fuzz by refreshing patches fixes build warning: configure: WARNING: unrecognized options: --disable-gtk Signed-off-by: Dirk Neukirchen --- net/transmission/Makefile | 2 +- .../patches/010_libtransmission_fallocate64_eglibc.patch | 7 +++ 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/net/transmission/Makefile b/net/transmission/Makefile index e5a0a11..72983e9 100644 --- a/net/transmission/Makefile +++ b/net/transmission/Makefile @@ -81,7 +81,7 @@ CONFIGURE_VARS += \ CONFIGURE_ARGS += \ --enable-daemon \ --enable-cli \ - --disable-gtk \ + --without-gtk \ --enable-largefile \ --enable-lightweight diff --git a/net/transmission/patches/010_libtransmission_fallocate64_eglibc.patch b/net/transmission/patches/010_libtransmission_fallocate64_eglibc.patch index 15ae518..afadc24 100644 --- a/net/transmission/patches/010_libtransmission_fallocate64_eglibc.patch +++ b/net/transmission/patches/010_libtransmission_fallocate64_eglibc.patch @@ -1,6 +1,5 @@ -diff -Naur transmission-2.61/libtransmission/fdlimit.c transmission-2.61-new/libtransmission/fdlimit.c transmission-2.61/libtransmission/fdlimit.c2012-07-24 04:59:03.429474697 +0300 -+++ transmission-2.61-new/libtransmission/fdlimit.c2012-07-31 14:40:23.999860054 +0300 +--- a/libtransmission/fdlimit.c b/libtransmission/fdlimit.c @@ -25,7 +25,8 @@ #include #endif @@ -9,5 +8,5 @@ diff -Naur transmission-2.61/libtransmission/fdlimit.c transmission-2.61-new/lib +/* no need to define fallocate64 in glibc/eglibc case */ +#if defined(__UCLIBC__) && (HAVE_FALLOCATE64) /* FIXME can't find the right #include voodoo to pick up the declaration.. */ - extern int fallocate64( int fd, int mode, uint64_t offset, uint64_t len ); + extern int fallocate64 (int fd, int mode, uint64_t offset, uint64_t len); #endif -- 1.8.5.2 smime.p7s Description: S/MIME Cryptographic Signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] [packages] mysql: cleanup and update to 5.1.73
- some mirrors do not have the old version anymore - cleanup deprecated options --without-vio : removed in 5.0.2 --without-raid, --without-mysqlfs : removed in 5.0.3 http://dev.mysql.com/doc/refman/5.0/en/source-configuration-options.html --without-pstack : removed in 5.1.54 --without-bench : removed in 5.1.11 http://dev.mysql.com/doc/refman/5.1/en/source-configuration-options.html Signed-off-by: Dirk Neukirchen --- libs/mysql/Makefile | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/libs/mysql/Makefile b/libs/mysql/Makefile index 1f756b9..1f41801 100644 --- a/libs/mysql/Makefile +++ b/libs/mysql/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/uclibc++.mk PKG_NAME:=mysql -PKG_VERSION:=5.1.68 +PKG_VERSION:=5.1.73 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz @@ -20,7 +20,7 @@ PKG_SOURCE_URL:=\ http://mirror.switch.ch/ftp/mirror/mysql/Downloads/MySQL-5.1/ \ http://downloads.mysql.com/archives/mysql-5.1/ -PKG_MD5SUM:=3a4a627d0865ce7660504728a15b0fb9 +PKG_MD5SUM:=887f869bcc757957067b9198f707f32f PKG_BUILD_DEPENDS:=libncurses libreadline PKG_BUILD_PARALLEL:=1 @@ -68,20 +68,15 @@ CONFIGURE_ARGS += \ --with-pthread \ --with-server \ --without-mysqlmanager \ - --without-raid \ --with-mysqld-user=root \ --with-unix-socket-path=/tmp \ --without-libwrap \ - --without-pstack \ --with-low-memory \ --without-embedded-server \ --without-query-cache \ - --without-mysqlfs \ - --without-vio \ --without-ssl \ --without-docs \ --without-man \ - --without-bench \ --without-readline \ --without-debug \ --with-named-thread-libs=-lpthread -- 1.8.5.2 smime.p7s Description: S/MIME Cryptographic Signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel