Edit

IABSD.fr/ports/net/yc-dyndns/patches

Branch :

  • Show log

    Commit

  • Author : kn
    Date : 2026-09-14 17:37:33
    Hash : d457cd3b
    Message : update to yc-dyndns 0.3.1

  • patch-yc-dyndns
  • - shebang is done in do-install
    - neuter .pyc write attempts (-B) for early "[wc]path"
    - ignore env vars changing Python behaviour (-E)
    - specify site-package path for narrow unveil
    
    Index: yc-dyndns
    --- yc-dyndns.orig
    +++ yc-dyndns
    @@ -1,4 +1,4 @@
    -#!/usr/local/bin/python3 -BE
    +#!${MODPY_BIN} -BE
     
     from psutil import OPENBSD
     
    @@ -141,7 +141,7 @@ if OPENBSD:
             "/dev/urandom",
             "/etc/hosts",
             "/etc/resolv.conf",
    -        "/usr/local/lib",
    +        "${MODPY_SITEPKG}/grpc",
             "/usr/share/zoneinfo",
         ):
             unveil(rpath, "r")