Commit Graph

17 Commits

Author SHA1 Message Date
sthen
56a28fcfb7 remove DISTFILES setting for cargo ports using GH_*, no longer needed
with cargo.port.mk r1.35
2023-01-30 13:28:38 +00:00
tb
ed20f890af bump consumers of rust-ring (static linking) 2023-01-28 13:34:16 +00:00
ajacoutot
aa7091aa40 Remove empty trailing line(s). 2023-01-25 10:54:32 +00:00
tb
18c1496317 Add a build dependency on security/rust-ring to all ports using ring.
Bump.

ok semarie, tweak from sthen
2023-01-18 13:08:37 +00:00
ajacoutot
c4096e6659 Stop using the daemon class in @newuser.
If we need to make an exception we can do it and properly document the
reason but by default we should just use the default login class.
rc.d uses daemon or the login class provided in login.conf.d so this has
no impact there.

discussed with sthen@, tb@ and robert@

praying that my grep/sed skills did not break anything and still
believing in portbump :-)
2022-11-08 11:16:56 +00:00
sthen
6781029335 bump REVISION for ports using rust, so that pkg_add -u for i386 users
updates to packages without -znotext (i.e. with text relocations disabled)
makes sense to phessler, semarie, tb
2022-10-28 10:00:45 +00:00
semarie
6f1dbcb6fe adjust rust programs to run with immutable stack
the rust std library has been changed to not try to reallocate
a guard page on the stack.

as the rust std library is statically linked in rust programs,
bump REVISION to force reinstall.
2022-10-09 16:32:18 +00:00
landry
94b1ae9c83 www/nextcloud_notify_push: update to 0.5.0.
see https://github.com/nextcloud/notify_push/releases/tag/v0.5.0 and
https://github.com/nextcloud/notify_push/releases/tag/v0.4.0

tested working fine against nc 23.0.9 on 7.1.
2022-10-08 11:14:09 +00:00
semarie
dffd163a87 devel/cargo: provide a generic way to override MODCARGO_CRATES changes
several crates needs few changes (patch) to work easily in ports tree, or might
build bundled versions of libraries instead of using ports tree.

but in some cases, it's simpler to let porters manage that themselves.

the diff replaces MODCARGO_CRATES_SQLITE3_BUNDLED (specific knob for
libsqlite3-sys) by MODCARGO_CRATES_KEEP (a list of crates to keep unmodified).

adapt security/vaultwarden and www/nextcloud_notify_push to use
MODCARGO_CRATES_KEEP instead of MODCARGO_CRATES_SQLITE3_BUNDLED.

ok landry@
2022-09-12 07:40:12 +00:00
jca
045015cdb7 Those ports use the ring crate and can't build on powerpc64 and riscv64.
The ring-v0.16.20 crate (latest) only builds on a handful of archs.
Work seems to be ongoing upstream to add support for more architectures.

ok semarie@
2022-08-24 21:53:42 +00:00
naddy
ec14803114 drop RCS Ids 2022-03-11 20:09:36 +00:00
kn
442f5ec3e6 Mark BROKEN-sparc64, uses the ring-crate
Line copied from audio/ncspot.
2022-02-20 14:10:10 +00:00
landry
df0b6b3fb1 www/nextcloud_notify_push: update to 0.3.0 2022-01-17 14:58:06 +00:00
sthen
4dd0bc6997 disable on i386, this is now failing too often due to running out of memory 2022-01-12 09:57:10 +00:00
landry
9479359402 www/nextcloud_notify_push: update to 0.2.2. 2021-08-16 15:00:14 +00:00
landry
444df4688b www/nextcloud_notify_push: update to 0.2.1. 2021-07-16 07:44:15 +00:00
landry
a6b842ad87 Import www/nextcloud_notify_push 0.1.7.
This nextcloud service attempts to solve the issue where Nextcloud clients have
to periodically check the server if any files have been changed. In order to
keep sync snappy, clients wants to check for updates often, which increases the
load on the server.

With many clients all checking for updates a large portion of the server load
can consist of just these update checks.

By providing a way for the server to send update notifications to the clients,
the need for the clients to make these checks can be greatly reduced.

Been using it for some weeks on 6.9 without issues, support for push
notifications landed in nextcloudclient 3.2, and is also present in
recent android/ios clients.

Note that the _notify_push user needs to be in www group to be able to
read /var/www/nextcloud/config.php. The service also requires nextcloud
to be configured against redis, cf pkg/README.

ok gonzalo@, feedback rsadowski@
2021-05-27 14:49:45 +00:00