pkgsrc/www/php-basercms/Makefile
taca 5e8d5e8184 www/php-basercms: update to 3.0.16
Various fixes and improvement from 3.0.9 including some security fixes.

https://basercms.net/release/3_0_10
https://basercms.net/release/3_0_11
	* fixes CSS and CSRF.

https://basercms.net/release/3_0_12
https://basercms.net/release/3_0_13
https://basercms.net/release/3_0_14
https://basercms.net/release/3_0_15

	* fixes SQL injection in searching within a website.
	* fixes arbitary file removal with mail form.
	* fixes code injection.

https://basercms.net/release/3_0_16
2018-12-17 15:56:32 +00:00

52 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.9 2018/12/17 15:56:32 taca Exp $
BASERVER= 3.0.16
DISTNAME= basercms-${BASERVER}
PKGNAME= ${PHP_PKG_PREFIX}-${DISTNAME}
CATEGORIES= www
MASTER_SITES= -https://basercms.net/packages/download/basercms/${BASERVER}
EXTRACT_SUFX= .zip
MAINTAINER= ryoon@NetBSD.org
HOMEPAGE= https://basercms.net/
COMMENT= Easy to use Content Management System for Japan/Japanese
LICENSE= mit
DEPENDS+= ${PHP_PKG_PREFIX}-mbstring-[0-9]*:../../converters/php-mbstring
DEPENDS+= ${PHP_PKG_PREFIX}-gd-[0-9]*:../../graphics/php-gd
WRKSRC= ${WRKDIR}/basercms
USE_LANGUAGES= # none
USE_TOOLS+= pax
NO_BUILD= yes
CHECK_INTERPRETER_SKIP+= share/basercms/app/Console/*
CHECK_INTERPRETER_SKIP+= share/basercms/lib/Cake/Console/*
BC_DIR= share/basercms
INSTALLATION_DIRS+= ${BC_DIR}
.include "options.mk"
.include "../../mk/bsd.prefs.mk"
APACHE_USER?= www
APACHE_GROUP?= www
PKG_GROUPS= ${APACHE_GROUP}
PKG_USERS= ${APACHE_USER}:${APACHE_GROUP}
PKG_USERS_VARS= APACHE_USER
PKG_GROUPS_VARS= APACHE_GROUP
BUILD_DEFS+= APACHE_GROUP APACHE_USER
FILES_SUBST+= WWWGRP=${APACHE_GROUP} WWWOWN=${APACHE_USER} \
BC_DIR=${BC_DIR}
do-install:
cd ${WRKDIR} && ${FIND} basercms -type f \! -name '*.orig' -print | \
pax -rw -pmp ${DESTDIR}${PREFIX}/share
.include "../../lang/php/phpversion.mk"
.include "../../mk/bsd.pkg.mk"