mirror of
https://github.com/coolsnowwolf/packages
synced 2025-01-09 04:37:41 +08:00
owfs: bump version
This commit is contained in:
parent
d31f4bd06e
commit
2ab3df4b17
@ -8,14 +8,16 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=owfs
|
||||
PKG_VERSION:=2.9p5
|
||||
PKG_RELEASE:=1
|
||||
PKG_VERSION:=3.2p3
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=@SF/$(PKG_NAME)
|
||||
PKG_HASH:=f7e11bae6cd29d58726e6d29b297834e5656d6069a407d798067ae25cb0812ea
|
||||
PKG_SOURCE_URL:=https://github.com/owfs/owfs/releases/download/v$(PKG_VERSION)
|
||||
PKG_HASH:=b8d33eba57d4a2f6c8a11ff23f233e3248bd75a42c8219b058a888846edd8717
|
||||
|
||||
PKG_MAINTAINER:=Jo-Philipp Wich <jo@mein.io>
|
||||
PKG_LICENSE:=GPL-2.0
|
||||
PKG_CPE_ID:=cpe:/a:owfs:owfs
|
||||
|
||||
PKG_FIXUP:=autoreconf
|
||||
PKG_INSTALL:=1
|
||||
@ -36,7 +38,7 @@ include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/owfs/Default
|
||||
TITLE:=OWFS (1-Wire File System)
|
||||
URL:=http://owfs.sourceforge.net/
|
||||
URL:=https://github.com/owfs/owfs
|
||||
SECTION:=net
|
||||
CATEGORY:=Network
|
||||
SUBMENU:=Filesystem
|
||||
@ -118,7 +120,6 @@ endef
|
||||
define Package/owshell
|
||||
$(call Package/owfs/Utility)
|
||||
TITLE:=OWFS - shell utilities
|
||||
DEPENDS+= +USE_UCLIBC:librpc
|
||||
endef
|
||||
|
||||
define Package/owshell/description
|
||||
@ -191,6 +192,7 @@ CONFIGURE_ARGS += \
|
||||
--disable-owphp \
|
||||
--disable-owtcl \
|
||||
--disable-swig \
|
||||
--disable-avahi \
|
||||
$(if $(CONFIG_LIBOW_MASTER_USB),--enable-usb,--disable-usb) \
|
||||
$(if $(CONFIG_LIBOW_MASTER_W1),--enable-w1,--disable-w1) \
|
||||
$(if $(CONFIG_LIBOW_MASTER_I2C),--enable-i2c,--disable-i2c) \
|
||||
|
@ -1,30 +0,0 @@
|
||||
AaAA
|
||||
--- a/module/owlib/src/c/ow_w1_parse.c
|
||||
+++ b/module/owlib/src/c/ow_w1_parse.c
|
||||
@@ -237,7 +237,7 @@ enum Netlink_Read_Status W1_Process_Resp
|
||||
owfree(nlp.nlm) ;
|
||||
return nrs_nodev ;
|
||||
}
|
||||
- if ( nrs_callback == NULL ) { // status message
|
||||
+ if ( nrs_callback == NULL ) { // bus reset
|
||||
owfree(nlp.nlm) ;
|
||||
return nrs_complete ;
|
||||
}
|
||||
@@ -246,7 +246,7 @@ enum Netlink_Read_Status W1_Process_Resp
|
||||
nrs_callback( &nlp, v, pn ) ;
|
||||
LEVEL_DEBUG("Called nrs_callback");
|
||||
owfree(nlp.nlm) ;
|
||||
- if ( nlp.cn->ack != 0 ) {
|
||||
+ if ( nlp.cn->seq != nlp.cn->ack ) {
|
||||
if ( nlp.w1m->type == W1_LIST_MASTERS ) {
|
||||
continue ; // look for more data
|
||||
}
|
||||
@@ -254,7 +254,7 @@ enum Netlink_Read_Status W1_Process_Resp
|
||||
continue ; // look for more data
|
||||
}
|
||||
}
|
||||
- nrs_callback = NULL ; // now look for status message
|
||||
+ return nrs_complete ; // status message
|
||||
}
|
||||
return nrs_timeout ;
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
--- a/module/owlib/src/c/ow_reset.c
|
||||
+++ b/module/owlib/src/c/ow_reset.c
|
||||
@@ -21,6 +21,10 @@ RESET_TYPE BUS_reset(const struct parsed
|
||||
struct connection_in * in = pn->selected_connection ;
|
||||
STAT_ADD1_BUS(e_bus_resets, in);
|
||||
|
||||
+ if ( in->iroutines.reset == NO_RESET_ROUTINE ) {
|
||||
+ return BUS_RESET_OK;
|
||||
+ }
|
||||
+
|
||||
switch ( (in->iroutines.reset) (pn) ) {
|
||||
case BUS_RESET_OK:
|
||||
in->reconnect_state = reconnect_ok; // Flag as good!
|
Loading…
Reference in New Issue
Block a user