a...@openmailbox.org said: > but do not know, how to create suhosin.ini. > Anyone can help?
As I gather you want to place a config file "suhosin.ini" into "/etc", right? Then you should add something like this to your Makefile: post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/suhosin ${INSTALL_DATA} ${WRKSRC}/suhosin.ini \ ${PREFIX}/share/examples/suhosin/suhosin.ini.example Then, after you run "make update-plist", your "pkg/PLIST" will contain a line "share/examples/suhosin/suhosin.ini". Insert this line right after it: "@sample /etc/suhosin.ini". See bsd.port.mk(1) and pkg_create(1) for details. FWIW some comments about the port: | VERSION= 0.9.37.1 | DISTNAME= suhosin-${VERSION} You don't seem to use VERSION elsewhere, so there is no need in this variable. | MAINTAINER= ports@openbsd.org Just remove this line. If it is empty, it is automatically filled with "The OpenBSD ports mailing-list <ports@openbsd.org>". | # BSD No, it is PHP license. It also includes LGPL-licensed mbregex library. Are you sure it is not used? If it is, maybe it could be a separate port? | BUILD_DEPENDS+= ${MODGNU_AUTOCONF_DEPENDS} | | CONFIGURE_STYLE= gnu | CONFIGURE_ENV= AUTOCONF_VERSION=${AUTOCONF_VERSION} You might want to replace this with CONFIGURE_STYLE=autoconf. | NO_TEST= Yes The port appears to have tests, so this should not be set. Also "suhosin/pkg/DESCR" looks too short. From reading it I have no idea what suhosin really is. -- Dmitrij D. Czarkoff