openbsd-ports/www/mediawiki/Makefile
sthen ec926d33f8 security update to mediawiki 1.19.2, ok maintainer (Wen Heping) and jasper@
CVE-2012-4377 Stored XSS via a File::link to a non-existing image

CVE-2012-4378 Multiple DOM-based XSS flaws due improper filtering of
uselang parameter

CVE-2012-4379 CSRF tokens, available via API, not protected when
X-Frame-Options headers used

CVE-2012-4380 Did not prevent account creation for IP addresses
blocked with GlobalBlocking

CVE-2012-4381 Password saved always to the local MediaWiki database

CVE-2012-4382 Metadata about blocks
2012-09-01 11:10:45 +00:00

40 lines
933 B
Makefile

# $OpenBSD: Makefile,v 1.38 2012/09/01 11:10:45 sthen Exp $
COMMENT = web-based collaborative editing environment
V = 1.19.2
DISTNAME = mediawiki-${V}
CATEGORIES = www
HOMEPAGE = http://www.mediawiki.org/
MAINTAINER = Wen Heping <wenheping@gmail.com>
# GPLv2+
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES= http://download.wikimedia.org/mediawiki/${V:R}/
NO_BUILD= Yes
NO_REGRESS= Yes
PKG_ARCH= *
PREFIX= /var/www
INSTDIR= ${PREFIX}/mediawiki
SUBST_VARS= INSTDIR
MODULES= lang/php
RUN_DEPENDS= lang/php/${MODPHP_VERSION},-gd \
php-mysql-${MODPHP_VSPEC}|php-pgsql-${MODPHP_VSPEC}:lang/php/${MODPHP_VERSION},-mysql
do-install:
@${INSTALL_DATA_DIR} ${INSTDIR}
@cd ${WRKSRC} && pax -rw * ${INSTDIR}
@find ${INSTDIR} \( -name '.cvsignore' -or -name \*.orig \) -exec rm -f {} +
@chown -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
.include <bsd.port.mk>