openbsd-ports/www/nostromo/Makefile
jasper d72cf3b4d8 Security fix for CVE-2011-0751
Nostromo Directory Traversal Vulnerability.

from and ok mglocker@
2011-03-17 17:43:14 +00:00

52 lines
1.5 KiB
Makefile

# $OpenBSD: Makefile,v 1.36 2011/03/17 17:43:14 jasper Exp $
COMMENT= Nostromo webserver
DISTNAME= nostromo-1.9.3
REVISION= 1
CATEGORIES= www
MASTER_SITES= http://www.nazgul.ch/dev/
HOMEPAGE= http://www.nazgul.ch/dev.html
MAINTAINER= Marcus Glocker <marcus@nazgul.ch>
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c crypto ssl
NO_REGRESS= Yes
# Change bsd.port.mk vars
WRKSRC= ${WRKDIST}/src
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/nhttpd/nhttpd ${PREFIX}/sbin
${INSTALL_PROGRAM} ${WRKSRC}/tools/crypt ${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/nhttpd/nhttpd.cat8 \
${PREFIX}/man/cat8/nhttpd.0
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/nostromo
${INSTALL_DATA} ${WRKDIST}/ChangeLog ${PREFIX}/share/doc/nostromo
${INSTALL_DATA} ${WRKDIST}/README ${PREFIX}/share/doc/nostromo
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/nostromo
${INSTALL_DATA} ${WRKDIST}/htdocs/cgi-bin/printenv \
${PREFIX}/share/examples/nostromo
${INSTALL_DATA} ${WRKDIST}/conf/mimes \
${PREFIX}/share/examples/nostromo
${INSTALL_DATA} ${WRKDIST}/conf/nhttpd.conf-dist \
${PREFIX}/share/examples/nostromo
${INSTALL_DATA} ${WRKDIST}/htdocs/index.html \
${PREFIX}/share/examples/nostromo
${INSTALL_DATA} ${WRKDIST}/htdocs/nostromo.gif \
${PREFIX}/share/examples/nostromo
${INSTALL_DATA} ${WRKDIST}/icons/dir.gif \
${PREFIX}/share/examples/nostromo
${INSTALL_DATA} ${WRKDIST}/icons/file.gif \
${PREFIX}/share/examples/nostromo
.include <bsd.port.mk>