pkgsrc-Users archive

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

pkglint - Conf_Files



Hi!
Try to build my own Software Package, after check my build with pkglint -e i have following
error:

ERROR: PLIST:10: Configuration files must not be registered in the PLIST. Please use the CONF_FILES framework, which is described in mk/pkginstall/bsd.pkginstall.mk.
ERROR: PLIST:11: Configuration files must not be registered in the PLIST. Please use the CONF_FILES framework, which is described in mk/pkginstall/bsd.pkginstall.mk.
ERROR: PLIST:12: Configuration files must not be registered in the PLIST. Please use the CONF_FILES framework, which is described in mk/pkginstall/bsd.pkginstall.mk.

after read the bsd.pkginstall.mk try to add Conf_files in every possible constelation
but at the moment without success. currently are perplexed. help !

Regards
Mauri

hp7900# cat Makefile
# $NetBSD$

DISTNAME=       openssh-6.2p1
PKGNAME=        openssh-6.2.1
SVR4_PKGNAME=   ossh
CATEGORIES=     security
MASTER_SITES=   ftp://ftp.ch.openbsd.org/pub/OpenBSD/OpenSSH/portable/
MAINTAINER=     pkgsrc-users%NetBSD.org@localhost
HOMEPAGE=       ftp://ftp.ch.openbsd.org/pub/OpenBSD/OpenSSH/portable/
COMMENT=        OpenSSH 6.1 - MCA
CONF_FILES=     etc/moduli etc/ssh_config etc/sshd_config

USE_TOOLS+=             perl
GNU_CONFIGURE=          yes
CRYPTO=                 yes
CONFIGURE_ARGS+=        --with-ssl-dir=/usr/pkg/lib
CONFIGURE_ARGS+=        --with-mantype=man
CONFIGURE_ARGS+=        --sysconfdir=${PKG_SYSCONFDIR:Q}
CONFIGURE_ARGS+=        --with-pid-dir=${SSH_PID_DIR:Q}
CONFIGURE_ARGS+=        --with-ssl-dir=${SSLBASE:Q}
CONFIGURE_ARGS+=        --with-tcp-wrappers=${BUILDLINK_PREFIX.tcp_wrappers}

# retain the following line, for IPv6-ready pkgsrc webpage
BUILD_DEFS+=            IPV6_READY

PKG_GROUPS_VARS+=       OPENSSH_GROUP
PKG_USERS_VARS+=        OPENSSH_USER
BUILD_DEFS+=            OPENSSH_CHROOT
BUILD_DEFS+=            VARBASE

INSTALL_TARGET=         install-nokeys
PLIST_SRC=              # empty

.include "../../devel/zlib/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

 



Home | Main Index | Thread Index | Old Index