openbsd-ports/www/chive/Makefile
sthen bd69d3f94f bugfix update to chive 1.0.3 including security issue;
#911194 Unable to automatically insert auto_increment values
#911297 Incorrect displaying of HTML text in in-line edition mode
#918163 Fieldnames don´t appear on csv export with selected rows
#918363 The Server Information box does not include Chive Version
#911136 Security vulnerability fix
(fix committed in http://bazaar.launchpad.net/~fusonic/chive/1.0/revision/417,
bug report is hidden - missing html escaping in table names etc)
2012-04-18 14:54:57 +00:00

43 lines
924 B
Makefile

# $OpenBSD: Makefile,v 1.8 2012/04/18 14:54:57 sthen Exp $
COMMENT= web-based MySQL management
V= 1.0.3
DISTNAME= chive_$V
PKGNAME= ${DISTNAME:S/_/-/}
CATEGORIES= www databases
HOMEPAGE= http://www.chive-project.com/
MAINTAINER= Stuart Henderson <sthen@openbsd.org>
# Chive: GPLv3+
# Yii framework: BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://launchpad.net/chive/1.0/$V/+download/
MODULES= lang/php
RUN_DEPENDS= lang/php/${MODPHP_VERSION},-pdo_mysql
NO_BUILD= Yes
NO_REGRESS= Yes
PKG_ARCH= *
PREFIX= /var/www
SUBST_VARS= INSTDIR
INSTDIR= ${TRUEPREFIX}/chive
WRKDIST= ${WRKDIR}/chive
do-install:
${INSTALL_DATA_DIR} ${WRKINST}${INSTDIR}
cd ${WRKSRC} && pax -rw * ${WRKINST}${INSTDIR}
${SUBST_CMD} -o ${SHAREOWN} -g ${SHAREGRP} \
-c ${FILESDIR}/chive.conf ${WRKINST}${INSTDIR}/chive.conf.default
.include <bsd.port.mk>