On 26/10/2013 00:48, Denis Fateyev wrote:
> Hi there,
> 
> To describe this issue in some details: we have a problem on portable
> when trying to place "smtpd.conf" not into `%{sysconfdir}` which is
> usually `/etc`, but into another directory (`/etc/opensmtpd`, for example.)
> 
> Reason: opensmtpd always puts "smtpd.conf" into `%{sysconfdir}`, and the
> only way now to use another directory is to re-assign `%{sysconfdir}` in
> `./configure`. This is definitely not a good idea since `%{sysconfdir}`
> can be used for other purposes during build. Incorrect `%{sysconfdir}`

Is opensmtpd plan to have more than one place for its config? I guess no.

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?

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

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to