[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RFC: how to handle configuration files?



Hi.
I am trying to make a new port (isoQlog) for OpenBSD but I have got stuck with configuration file. I think configuration files are handled in different way. Am I right? Under FreeBSD I am able to add *.conf-dist file under pkg-plist. But when I add those lines to pkg/PLIST
etc/isoqlog.conf-dist
etc/isoqlog.domains-dist


lines. After installing package I am getting that error:

------------------
Creating package /usr/ports/packages/i386/All/isoqlog-2.0.tgz
Using SrcDir value of /usr/ports/mail/isoqlog/w-isoqlog-2.0/fake-i386/usr/local
Creating gzip'd tar ball in '/usr/ports/packages/i386/All/isoqlog-2.0.tgz'
tar: Unable to access etc/isoqlog.conf-dist <No such file or directory>
tar: Unable to access etc/isoqlog.domains-dist <No such file or directory>
tar: WARNING! These file names were not selected:
etc/isoqlog.conf-dist
etc/isoqlog.domains-dist
pkg_create: tar command failed with code 256
*** Error code 1


Stop in /usr/ports/mail/isoqlog (line 1894 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1


Stop in /usr/ports/mail/isoqlog (line 631 of /usr/ports/infrastructure/mk/bsd.port.mk).
-------------------------


But I can find those files under /usr/ports/mail/isoqlog/w-isoqlog-2.0/fake-i386/etc. What may be the problem? By the way those 2 files (isqlog.domains-dist and isoqlog.conf-dist) must be installed by post-install directive ?



Visit your host, monkey.org