On Sat, Oct 26, 2013 at 5:21 AM, Sébastien Luttringer <[email protected]>wrote:

>
> So why not keep sysconfdir and set a default value to /etc/smtpd
> (default pool is /var/spool/smtpd) instead of using a non standard new
> value?
>

The default value should be then `/etc/opensmtpd` since we agreed during
the last conversation with Charles, that package should be called
"opensmtpd" in portable. And as mentioned before, we definitely shouldn't
touch "%{sysconfdir}" for such things like setting "smtpd.conf" location.

Hardcoded `%{sysconfdir}/opensmtpd` for config path is better than the
current situation. I think it should be ok.

---
wbr, Denis.



> Most packager expect this behavior.
>
> $ grep -ri sysconfdir=/etc/ /var/abs |egrep
> (light|xorg|openssh|openldap|squid|quagga|pdns)
> /var/abs/community/pdns/PKGBUILD:    --sysconfdir=/etc/powerdns \
> /var/abs/community/quagga/PKGBUILD:    --sysconfdir=/etc/quagga \
> /var/abs/community/squid/PKGBUILD:    --sysconfdir=/etc/squid \
> /var/abs/core/openldap/PKGBUILD:  make prefix=/usr libexecdir=/usr/lib
> sysconfdir=/etc/openldap
> /var/abs/core/openssh/PKGBUILD:         --sysconfdir=/etc/ssh \
> /var/abs/extra/lighttpd/PKGBUILD:               --sysconfdir=/etc/lighttpd
> \
> /var/abs/extra/xorg-server/PKGBUILD:      --sysconfdir=/etc/X11 \
>
> Cheers,
>
> --
> Sébastien "Seblu" Luttringer
> https://www.seblu.net
> GPG: 0x2072D77A
>
>

Reply via email to