pkgsrc/www/apache-roller/Makefile
spz 82b8b892c0 update to version 5.0.3:
This release fixes a security vulnerability in Roller, listed below:
CVE-2014-0030 Apache Roller XML-RPC susceptible to XML Entended Entity attacks
2014-01-12 22:22:25 +00:00

43 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.12 2014/01/12 22:22:25 spz Exp $
#
DISTNAME= roller-weblogger-${ROLLER_VER}-for-tomcat
PKGNAME= apache-roller-${ROLLER_VER}
WRKSRC= ${WRKDIR}/${DISTNAME:S/-for//}
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_APACHE:=roller/roller-5/v${ROLLER_VER}/bin/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://roller.apache.org/
COMMENT= Full-featured, multi-user and group-blog server
BUILD_DEPENDS+= fastjar-[0-9]*:../../archivers/fastjar
USE_JAVA= run
USE_JAVA2= 1.5
ROLLER_VER= 5.0.3
PLIST_SUBST+= PKGNAME_NOREV=${PKGNAME_NOREV:Q}
.include "options.mk"
do-build:
:
do-install:
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/apache-roller
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/apache-roller
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/apache-roller
${INSTALL_DATA} ${WRKSRC}/docs/roller-*.pdf \
${DESTDIR}${PREFIX}/share/doc/apache-roller
${INSTALL_DATA} ${WRKSRC}/*.txt \
${DESTDIR}${PREFIX}/share/doc/apache-roller
${INSTALL_DATA} ${WRKSRC}/webapp/roller-${ROLLER_VER}-tomcat.war \
${DESTDIR}${PREFIX}/share/apache-roller/${PKGNAME_NOREV}.war
${INSTALL_DATA} ${FILESDIR}/roller-custom.properties \
${DESTDIR}${PREFIX}/share/examples/apache-roller
.include "../../mk/mysql.buildlink3.mk"
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"