Commit Graph

28 Commits

Author SHA1 Message Date
Robert Marko 272f55e87f treewide: refresh hashes after move to use ZSTD as default
With the recent move to using ZSTD as the default compression format
for packaging git repo clones we must refresh all of the hashes for
the packages feed as well.

Signed-off-by: Robert Marko <robimarko@gmail.com>
2024-04-07 12:06:34 +02:00
Alan Luck 25ded48f9f wsdd2: update to 2023-12-21
Signed-off-by: Alan Luck <luckyhome2008@gmail.com>
2023-12-21 18:06:26 -08:00
Rafał Miłecki 6020ca52bf wsdd2: fix stopping service
Function start_service() is called whenever service may need reloading.
If SMB server is not running it could be simply because it has been
stopped. Reloading service in such case is not an error so:
1. Don't log error as it isn't one
2. Don't exit with error code as it was confusing procd

This change fixes scenario like:
/etc/init.d/ksmbd stop
/etc/init.d/wsdd2 reload
(previously above wasn't stopping wsdd2)

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2023-05-11 18:21:42 +03:00
Paul Fertser 0c10c224be treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.

The following temporary change was made to the core:

diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
 abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))

 COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))

 all:
 FORCE: ;

And this command used to fix affected packages:

for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
                              sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
  make package/$i/download
done

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-21 22:46:58 +02:00
Rosen Penev 7cdc9da02a wsdd2: update config file for ksmbd
Previous commit makes use of ksmbd.conf

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-11-06 12:39:03 -08:00
Andrew Sim 6377176f68 wsdd2: update to 2022-04-25
Signed-off-by: Andrew Sim <andrewsimz@gmail.com>
2022-10-23 18:38:28 +02:00
Andy Walsh cd49a8fb27 samba4: drop maintainership
drop maintainership:
* samba4
* ksmbd-tools
* perl-parse-yapp
* libtirpc
* softethervpn5
* wsdd2
* rpcsvc-proto

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2022-06-21 12:24:15 -06:00
Li Zhang 5fc06d939f wsdd2: Remove extra comma, which breaks the key-value pair of the '-b' parameter
Signed-off-by: Li Zhang <starsunyzl@gmail.com>
2022-04-25 18:36:31 -07:00
Rosen Penev b6cd312557 wsdd: update to 2021-10-22
Fixes another segfault.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-10-22 18:14:15 -07:00
Rosen Penev 27c315c3bb wsdd2: update to 2021-10-14
Remove upstreamed patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-10-20 15:33:31 -07:00
Rosen Penev 9ff8e6bcf3 wsdd2: fix usage with musl 1.2.0
This package uses a wrong format string for time_t. Cast to long long to
fix.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-10-14 17:53:54 -07:00
Andy Walsh 8a4f796cb9 wsdd2: update to git (2021-08-09), switch to Netgear repo
* update to git (2021-08-09)
* switch to Netgear repo

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2021-09-08 07:29:58 -07:00
Fritz D. Ansel 3953ff956d wsdd2: dont use fqdn
workgroups use the name of the host without domain

Signed-off-by: Fritz D. Ansel <fdansel@yandex.ru>
2021-08-15 14:42:37 +03:00
Andy Walsh 584d37fb0c wsdd2: update to git 2021-06-28 (v1.8.5)
* update to git 2021-06-28 (v1.8.5)
* add extra startup delay

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2021-06-28 18:06:03 +02:00
Andy Walsh 219d2ec81a wsdd2: update to git (2020-11-19)
* update to git (2020-11-19)

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2020-12-08 19:49:57 +01:00
Andy Walsh 3ba3a0ba4a wsdd2: Uppercase NB_PARM
* Uppercase NB_PARM if mdns option is not set
* filter commented lines

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2020-07-18 13:00:22 +02:00
Andy Walsh 0792409a13 wsdd2: update to git 2020-05-06
* update to git 2020-05-06
* Fix '-b' option parsing

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2020-06-09 17:03:31 +02:00
Syrone Wong e8bee3aaa3 wsdd2: bump PKG_RELEASE; refine init script
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2020-05-06 10:12:03 +08:00
Syrone Wong 48d9521ecd wsdd2: fix infinite loop when BI_PARM is never set
If BI_PARM is never set, it's "" and causes
infinite loop (before my PR sent upstream) or
error out (after my PR sent upstream).
Append -b option only if it's valid.

Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2020-05-06 07:59:52 +08:00
Rosen Penev 94040813a8
wsdd2: run init script through shellcheck
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-03-29 21:35:43 -07:00
Andy Walsh 878402d28f wsdd2: fix typos
* fix typos (WG_PARM, reload_trigger)

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2020-02-02 15:04:28 +01:00
Andy Walsh f27a6e42d1 wsdd2: update for renamed smbd->ksmbd
* update for renamed smbd->ksmbd

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2020-01-26 16:42:13 +01:00
Ansuel Smith 56b7c239fd
wsdd2: fix install warning on compile
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2020-01-07 19:37:20 +01:00
Andy Walsh fbd991aaa2 wsdd2: update init for renamed cifsd->smbd
* update init for renamed cifsd->smbd

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2019-12-31 15:16:07 +01:00
Andy Walsh e1a305a355 wsdd2: update to git (2019-12-15), bind to 'lan' only
* update to git (2019-12-15)
* bind to 'lan' interface only
* make cifsd compatible (avoid testparm dependency)
* only start if needed
* add meta data (vendor, model, sku)
* update smb.conf procd location
* lower restart delay
* remove outdated patch

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2019-12-15 20:44:49 +01:00
Andy Walsh 32fe219d6f wsdd2: fix missing triggers
* add triggers so changes can be picked up

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2018-09-27 17:08:33 +02:00
Andy Walsh cde778a70a wsdd2: fix invalid error message
* fixed invalid error message

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2018-09-10 17:47:32 +02:00
Andy Walsh 0d23c9f2ea samba4: add package samba-4.8
Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2018-07-26 21:38:19 +02:00