From: Stuart Henderson Subject: Re: misc/llama.cpp: add rc script for llama-server To: ports@openbsd.org Date: Mon, 10 Nov 2025 20:53:51 +0000 On 2025/11/10 21:42, Kirill A. Korinsky wrote: > On Mon, 10 Nov 2025 20:18:37 +0100, > Stuart Henderson wrote: > > > > > > Probably don't understand. LOCALSTATEDIR is /var, isn't it? > > > > the whole point of having a variable is for the extremely unlikely > > case somebody might rebuild packages with it set to something > > different. > > > > so, in that case, all references within the package need to be > > consistent with each other, either /var, or ${LOCALSTATEDIR}. > > > > I don't understand how to use ${LOCALSTATEDIR} in .login file, so I've > replaced to /var and /etc both variables in PLIST. I think that would need a change in bsd.port.mk. > Ok for this? yep. > +@sample /etc/login.conf.d/llama_server so this is not consistent across the tree... I think it should actually be /etc and not ${SYSCONFDIR}. databases/influxdb/pkg/PLIST:15:@sample ${SYSCONFDIR}/login.conf.d/influxdb comms/zigbee2mqtt/pkg/PLIST:7848:@sample ${SYSCONFDIR}/login.conf.d/zigbee2mqtt databases/mariadb/pkg/PLIST-server:618:@sample ${SYSCONFDIR}/login.conf.d/mysqld databases/postgresql/pkg/PLIST-server:1012:@sample ${SYSCONFDIR}/login.conf.d/postgresql geo/traccar/pkg/PLIST:18:@sample ${SYSCONFDIR}/login.conf.d/traccar geo/traccar/pkg/PLIST.orig:18:@sample ${SYSCONFDIR}/login.conf.d/traccar mail/dovecot/pkg/PLIST-server:1148:@sample ${SYSCONFDIR}/login.conf.d/dovecot mail/rspamd/pkg/PLIST:21:@sample /etc/login.conf.d/rspamd mail/stalwart/pkg/PLIST:29:@sample ${SYSCONFDIR}/login.conf.d/stalwart_mail meta/kde/pkg/PLIST-plasma:4:@sample ${SYSCONFDIR}/login.conf.d/kde net/ejabberd/pkg/PLIST:998:@sample ${SYSCONFDIR}/login.conf.d/ejabberd net/endlessh/pkg/PLIST:10:@sample ${SYSCONFDIR}/login.conf.d/endlessh net/endlessh/pkg/PLIST:12:@sample ${SYSCONFDIR}/login.conf.d/endlessh6 net/go-ipfs/pkg/PLIST:16:@sample ${SYSCONFDIR}/login.conf.d/ipfs net/i2pd/pkg/PLIST:226:@sample ${SYSCONFDIR}/login.conf.d/i2pd net/powerdns_recursor/pkg/PLIST:16:@sample ${BASESYSCONFDIR}/login.conf.d/pdns_recursor net/minio/server/pkg/PLIST:20:@sample ${SYSCONFDIR}/login.conf.d/minio net/snowflake_proxy/pkg/PLIST:8:@sample ${SYSCONFDIR}/login.conf.d/snowflake_proxy security/clamav/pkg/PLIST:211:@sample ${SYSCONFDIR}/login.conf.d/clamd textproc/opensearch/pkg/PLIST:897:@sample /etc/login.conf.d/opensearch sysutils/consul/pkg/PLIST:17:@sample ${SYSCONFDIR}/login.conf.d/consul security/step-ca/pkg/PLIST:19:@sample ${SYSCONFDIR}/login.conf.d/step_ca sysutils/telegraf/pkg/PLIST:7:@sample ${SYSCONFDIR}/login.conf.d/telegraf sysutils/obsdfreqd/pkg/PLIST:5:@sample ${SYSCONFDIR}/login.conf.d/obsdfreqd sysutils/salt/pkg/PLIST:5186:@sample ${SYSCONFDIR}/login.conf.d/salt_master textproc/solr/pkg/PLIST:8:@sample ${SYSCONFDIR}/login.conf.d/solr www/apertium-apy/pkg/PLIST:123:@sample ${SYSCONFDIR}/login.conf.d/apertium_apy www/shiori/pkg/PLIST:14:@sample ${SYSCONFDIR}/login.conf.d/shiori www/sogo/pkg/PLIST:2889:@sample ${SYSCONFDIR}/login.conf.d/sogod www/squid/pkg/PLIST-main:59:@sample /etc/login.conf.d/squid x11/gnome/gdm/pkg/PLIST:75:@sample ${SYSCONFDIR}/login.conf.d/gdm