pkgsrc/www/apache-roller/Makefile
spz 00ad786d3f update package to 5.0.2
from the release announcement:
   This release fixes two security vulnerabilities in Roller, listed below:
      CVE-2013-4171 Apache Roller RSS/Atom Feed templates contain XSS
   vulnerabilities
      CVE-2013-4212 Apache Roller contains remote code execution
   vulnerabilities
2013-11-08 20:45:28 +00:00

43 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.11 2013/11/08 20:45:28 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.2
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"