openbsd-ports/www/wordpress/Makefile
merdely b95f94c256 Update Wordpress to 2.8.6.
From http://wordpress.org/development/2009/11/wordpress-2-8-6-security-release/:

2.8.6 fixes two security problems that can be exploited by registered,
logged in users who have posting privileges.  If you have untrusted
authors on your blog, upgrading to 2.8.6 is recommended.

The first problem is an XSS vulnerability in Press This discovered by
Benjamin Flesch.  The second problem, discovered by Dawid Golunski, is
an issue with sanitizing uploaded file names that can be exploited in
certain Apache configurations. Thanks to Benjamin and Dawid for finding
and reporting these.
2009-11-13 02:45:06 +00:00

36 lines
701 B
Makefile

# $OpenBSD: Makefile,v 1.23 2009/11/13 02:45:06 merdely Exp $
COMMENT = standard compliant weblog
DISTNAME = wordpress-2.8.6
CATEGORIES = www
HOMEPAGE = http://wordpress.org/
MAINTAINER = Michael Erdely <merdely@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${HOMEPAGE}
RUN_DEPENDS = :php5-mysql-*:www/php5/extensions,-mysql
NO_BUILD = Yes
NO_REGRESS = Yes
PKG_ARCH = *
PREFIX = /var/www
INSTDIR = ${PREFIX}/wordpress
WRKDIST = ${WRKDIR}/wordpress
SUBST_VARS = INSTDIR
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/wordpress
cd ${WRKSRC} && pax -rw * ${PREFIX}/wordpress
.include <bsd.port.mk>