pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Problem building fail2ban with PKG_SYSCONFBASE=/etc
Jarle Greipsland <jarle.greipsland%norid.no@localhost> writes:
> PKG_DBDIR= /usr/pkg/libdata/pkgdb
> LOCALBASE= /usr/pkg
> VARBASE= /var
> PKG_SYSCONFBASE= /etc
> PKG_TOOLS_BIN= /usr/pkg/sbin
> PKGINFODIR= info
> PKGMANDIR= man
> ===> Installing for fail2ban-1.0.2nb2
> => Generating pre-install file lists
> => Creating installation directories
> ERROR: INSTALLATION_DIRS: /etc/fail2ban must be in /usr/pkg.
> *** Error code 1
Using egrep -R on pkgsrc/mk, I found that INSTALLATION_DIRS requires
that directories are within prefix, in the code. This is documented at
the beginning
# INSTALLATION_DIRS
# A list of directories that should be created at the very
# beginning of the install phase. These directories MUST either
# be paths that contain a leading {PREFIX}/ or be relative
# paths. As a convenience, a leading gnu/ is transformed to
# ${PKGGNUDIR} and a leading man/ is transformed to ${PKGMANDIR},
# to save package authors from typing too much.
and therefore it is a package bug to put PKGSYSCONFDIR in
INSTALLATION_DIRS.
I wonder why you have chose PKG_SYSCONFBASE to be /etc. I leave it at
LOCALBASE/etc.
Home |
Main Index |
Thread Index |
Old Index