spksrc icon indicating copy to clipboard operation
spksrc copied to clipboard

[Package Request] haproxy for SRM

Open publicarray opened this issue 4 years ago • 6 comments

  • Name: haproxy

Jamyz

Hi! something like Haproxy. Before i watch this page https://synopackages.wordpress.com/2017/04/23/synocommunity-packages-for-srm-1-1/ but the links are deads.

https://discord.com/channels/732558169863225384/905064261984845836/920983852112019456

publicarray avatar Dec 18 '21 10:12 publicarray

The current haproxy package has an ExtJS config gui that is only working on DSM 5. And this gui works with python2 only, as pyextdirect by @Diaoul was never ported to Python 3.x.

Anyway we need a new approach for packages that need a simple configuration UI. We might benefit from the work in #4568. As Synology might drop installation wizard support, such config UI will get mandatory.

hgy59 avatar Dec 18 '21 15:12 hgy59

AFAIK The SRM is based on DSM5. So it might be usable for that 🤷. Thanks, yea this package needs a rewrite unless we can migrate to Synology's login portal's reverse proxy. It seems to do the job.

publicarray avatar Dec 18 '21 20:12 publicarray

IMHO SRM is based on DSM 6.

hgy59 avatar Dec 18 '21 21:12 hgy59

It reports itself as 5.2 but who knows what they have done on that platform. It may not work due to other changes.

https://github.com/publicarray/spksrc/blob/79b15bc8f95129b7dcd12cce6d55068ee59a6249/spk/dnscrypt-proxy/src/service-setup.sh#L12

publicarray avatar Dec 18 '21 21:12 publicarray

@publicarray thanks for clearing up, i never had access to a synology router. I always thought that versions are SRM 1.0, 1.1 or 1.2. And we had problems with REQUIRED_DSM variable as SRM versions are always lower than DSM versions.

hgy59 avatar Dec 18 '21 22:12 hgy59

@hgy59 Yea the confusing thing is that the SRM is 1.x, but he SYNOPKG_DSM_VERSION_* variables report 5.x This caught me off guard when I wanted to differentiate between SRM and DSM in the script. This suggests they used DSM5 as a base to build the RSM

publicarray avatar Dec 28 '21 01:12 publicarray