Commit Graph

27 Commits

Author SHA1 Message Date
Rosen Penev 6a007dcabb xinetd: fix compilation with gcc 14
Missing headers. Fix some warnings related to time_t while at it.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2024-05-14 16:39:55 -07:00
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
Rosen Penev 550100482b
xinetd: fix URL
Something went wrong here. Switch to git tarballs.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-01-14 20:24:13 -08:00
Helge Mader c80fc6c343 xinetd: add processing of redirect option in init script
Signed-off-by: Helge Mader <ma@dev.tdt.de>
2023-01-11 11:49:17 +01:00
Rosen Penev d438d1295c xinetd: fix bad printf formats
Easier to use the proper C macro.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-01-30 23:27:41 -08:00
Fritz D. Ansel afdc1c2a75 xinetd: fix syntax violation
see https://github.com/openwrt/packages/pull/16318#discussion_r687481110

Signed-off-by: Fritz D. Ansel <fdansel@yandex.ru>
2021-08-12 14:05:09 +02:00
Fritz D. Ansel 631e3fa10f xinetd: support for anonym configs
config by names clashes if a service supports
udp and tcp, eg time and daytime

Signed-off-by: Fritz D. Ansel <fdansel@yandex.ru>
2021-08-12 14:01:48 +02:00
Sven Roederer bdab7e6bfe xinetd: honor ${IPKG_INSTROOT} when sourcing /lib/functions.sh
Avoid "file not found"-error when embedding via Imagebuilder.

Signed-off-by: Sven Roederer <devel-sven@geroedel.de>
2021-04-04 01:58:14 +02:00
Helge Mader 0bf2130f62 xinetd: do not restart service after config change if it is not running
Signed-off-by: Helge Mader <ma@dev.tdt.de>
2020-11-05 14:29:38 +01:00
Helge Mader 2bba943e99 xinetd: update config sample to latest requirements
Signed-off-by: Helge Mader <ma@dev.tdt.de>
2020-10-23 11:15:20 +02:00
Helge Mader 90ab809f7f xinetd: include additional (runtime) directory in configuration file
The additional directory is created and can be used e.g. for configurations
which are created e.g. dynamically from an uci config.

Signed-off-by: Helge Mader <ma@dev.tdt.de>
2020-10-23 11:14:44 +02:00
Helge Mader 4a3e547f5d xinetd: save configurations in /etc/xinetd.d on sysupgrade
For applications writing their own xinetd configuration to the /etc/xinetd.d
directory it would be necessary to save them (e.g. a user edits them manually)

Signed-off-by: Helge Mader <ma@dev.tdt.de>
2020-10-23 11:14:07 +02:00
Helge Mader 65c49f0030 xinetd: update PKG_RELEASE to 9
Signed-off-by: Helge Mader <ma@dev.tdt.de>
2020-10-23 11:12:56 +02:00
Helge Mader 43813fe3c9 xinetd: fix xinetd reload problem
Signed-off-by: Helge Mader <ma@dev.tdt.de>
2020-09-28 11:25:33 +02:00
Florian Eckert eb6cb75f9f xinetd: start service in foreground for procd
Since we use now procd for xinetd, we have to start the service with the
option `-dontfork` to make procd happy.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-07-10 11:08:11 +02:00
Florian Eckert 3d9e9632d4 xinetd: change PKG_MAINTAINER
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-07-10 11:08:08 +02:00
Florian Eckert 33f836a1c2 xinetd: do not save xinet.d configrations on sysupgrade
Since we can now configure xinet.d with uci, it is no longer necessary
to save the configuration in /etc/xinet.d/* when upgrading the system.

This was wrong anyway, because other packages can also store configuration
there. If this configuration get changed then the new/changed one will never get
applied, because the configration is always replaced with the saved
configration during sysupgrade.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-06-09 08:11:55 +02:00
Helge Mader be55bce946 xinetd: add support for UCI configuration
Signed-off-by: Helge Mader <ma@dev.tdt.de>
2020-06-09 08:11:55 +02:00
Jan Pavlinec 299e5b0a9b
treewide: add PKG_CPE_ID for better cvescanner coverage
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-09-17 12:40:26 +02:00
Rosen Penev 0f9000ef05 xinetd: Update URLs.
xinetd.org has been defunct for a long time and it seems the main developer moved everything to GitHub.

Discovered with uscan.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-03-25 18:23:39 -07:00
Etienne Champetier 4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Florian Eckert e804593cd8 net/xinet.d: add /etc/xinet.d/ dir to conffiles (#4096)
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-03-06 23:21:21 +00:00
Jo-Philipp Wich 644ae71ebc xinetd: fix musl compatibility
Pass HAVE_RLIM_T via TARGET_CPPFLAGS since configure uses that define
but never actually declares it.

Without doing that, `config.h` tries to declare `rlim_t` itself which
leads to `config.h:126:16: error: 'long long long' is too long for GCC`
with musl on at least x86_64.

Also refresh patches while we're at it.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-17 19:31:03 +02:00
Christian Schoenebeck 8eb8659e41 xinetd: socket bind: Invalid argument (errno = 22) when using USERID on ipv6
Use right size of addresses in bind() call. Also use getpeername addresses when
connecting to ident service to prevent address family mismatch between socket(),
bind() and connect() calls.

---
Christian Schoenebeck via github pull request #205:
Reported for a long time in the web. Still exists in the current sources.
Already reported and offert on TRAC Ticket #15821.

You can find a lot of entries on "Google" about the reported problem.
I got the same error on my WNDR3800 and von VirtualBox X86.
I copied the patch to my local trunk build system and recompiled.
The problem was fixed.

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>
2014-08-16 17:47:08 +01:00
Jonathan McCrohan 790de0513f xinetd: Add PKG_LICENSE information
Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>
2014-08-14 01:01:31 +01:00
Jonathan McCrohan c3e9974862 muninlite,mtr,sslh,wavemon,xinetd: s/MAINTAINER/PKG_&/
Replace the MAINTAINER lines in packages that I maintain with
PKG_MAINTAINER lines, to be consistent with the rest of the packages
tree.

Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>
2014-08-14 00:39:20 +01:00
Jonathan McCrohan 5b0c015de8 xinetd: Import from oldpackages, add myself as maintainer
Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>
2014-07-09 00:32:45 +01:00