From eed171569be79da52c83ded59aa341b8a5892119 Mon Sep 17 00:00:00 2001 From: adrianp Date: Thu, 12 Feb 2009 00:26:59 +0000 Subject: Apache Roller is a full-featured, multi-user and group-blog server suitable for blog sites large and small. Roller is a Java web application that should be able to run on any Java EE server and any relational database. Currently, Roller is best supported on Tomcat and MySQL -- but users have reported success running Roller on Glassfish, Websphere, JBoss, Resin, Gernonimo, Derby, PostgresSQL, Oracle, etc.) Here are some of Roller's key features: * Multi-user blogging: can support tens of thousands of users and blogs * Group blogging with three permisson levels (editor, author and limited) * Support for comment moderation and comment spam prevention measures * Bloggers have complete control over blog layout/style via templates * Built-in search engine indexes weblog entry content * Pluggable cache and rendering system * Support for blog clients that support MetaWeblog API * All blogs have entry and comment feeds in both RSS 2.0 and Atom 1.0 formats --- www/apache-roller/DESCR | 19 +++++++++++ www/apache-roller/MESSAGE | 17 ++++++++++ www/apache-roller/Makefile | 41 ++++++++++++++++++++++++ www/apache-roller/PLIST | 12 +++++++ www/apache-roller/distinfo | 5 +++ www/apache-roller/files/roller-custom.properties | 10 ++++++ www/apache-roller/options.mk | 22 +++++++++++++ 7 files changed, 126 insertions(+) create mode 100644 www/apache-roller/DESCR create mode 100644 www/apache-roller/MESSAGE create mode 100644 www/apache-roller/Makefile create mode 100644 www/apache-roller/PLIST create mode 100644 www/apache-roller/distinfo create mode 100644 www/apache-roller/files/roller-custom.properties create mode 100644 www/apache-roller/options.mk (limited to 'www/apache-roller') diff --git a/www/apache-roller/DESCR b/www/apache-roller/DESCR new file mode 100644 index 00000000000..03f83a90212 --- /dev/null +++ b/www/apache-roller/DESCR @@ -0,0 +1,19 @@ +Apache Roller is a full-featured, multi-user and group-blog server suitable +for blog sites large and small. + +Roller is a Java web application that should be able to run on any Java EE +server and any relational database. Currently, Roller is best supported on +Tomcat and MySQL -- but users have reported success running Roller on +Glassfish, Websphere, JBoss, Resin, Gernonimo, Derby, PostgresSQL, Oracle, +etc.) + +Here are some of Roller's key features: + +* Multi-user blogging: can support tens of thousands of users and blogs +* Group blogging with three permisson levels (editor, author and limited) +* Support for comment moderation and comment spam prevention measures +* Bloggers have complete control over blog layout/style via templates +* Built-in search engine indexes weblog entry content +* Pluggable cache and rendering system +* Support for blog clients that support MetaWeblog API +* All blogs have entry and comment feeds in both RSS 2.0 and Atom 1.0 formats diff --git a/www/apache-roller/MESSAGE b/www/apache-roller/MESSAGE new file mode 100644 index 00000000000..abf185b5db2 --- /dev/null +++ b/www/apache-roller/MESSAGE @@ -0,0 +1,17 @@ +=========================================================================== +$NetBSD: MESSAGE,v 1.1.1.1 2009/02/12 00:26:59 adrianp Exp $ + +As apache-roller can be used with a number of Servlet containers a +number of manual steps must be completed: + +1. Create the database for roller +2. Include the JDBC driver on your CLASSPATH + (The driver is currently installed in ${PREFIX}/lib/java) +3. Modify the roller-custom.properties file and place it on your CLASSPATH + (A sample is suppied in ${PREFIX}/share/examples/apache-roller) +4. Deploy the roller WAR file + (The WAR file can be found in ${PREFIX}/share/apache-roller) + +See the Apache roller docs for the full installation details. + +=========================================================================== diff --git a/www/apache-roller/Makefile b/www/apache-roller/Makefile new file mode 100644 index 00000000000..8e25da0f2e1 --- /dev/null +++ b/www/apache-roller/Makefile @@ -0,0 +1,41 @@ +# $NetBSD: Makefile,v 1.1.1.1 2009/02/12 00:26:59 adrianp Exp $ +# + +DISTNAME= apache-roller-4.0.1 +CATEGORIES= www +MASTER_SITES= http://mirror.lividpenguin.com/pub/apache/roller/roller-4/v4.0.1/bin/ +EXTRACT_SUFX= .zip + +MAINTAINER= adrianp@NetBSD.org +HOMEPAGE= http://roller.apache.org/ +COMMENT= Full-featured, multi-user and group-blog server + +USE_JAVA= run +USE_JAVA2= 1.5 + +PKG_DESTDIR_SUPPORT= user-destdir +PLIST_SUBST+= PKGNAME_NOREV=${PKGNAME_NOREV:Q} + +.include "options.mk" + +do-build: + cd ${WRKSRC}/webapp/roller && ${PKG_JAVA_HOME}/bin/jar cvf \ + ../${PKGNAME_NOREV}.war * + +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/${PKGNAME_NOREV}.war \ + ${DESTDIR}${PREFIX}/share/apache-roller + ${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" diff --git a/www/apache-roller/PLIST b/www/apache-roller/PLIST new file mode 100644 index 00000000000..54347c4f866 --- /dev/null +++ b/www/apache-roller/PLIST @@ -0,0 +1,12 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2009/02/12 00:26:59 adrianp Exp $ +share/doc/apache-roller/LICENSE.txt +share/doc/apache-roller/NOTICE.txt +share/doc/apache-roller/README.txt +share/doc/apache-roller/roller-install-guide.pdf +share/doc/apache-roller/roller-template-guide.pdf +share/doc/apache-roller/roller-user-guide.pdf +share/apache-roller/${PKGNAME_NOREV}.war +share/examples/apache-roller/roller-custom.properties +@dirrm share/examples/apache-roller +@dirrm share/apache-roller +@dirrm share/doc/apache-roller diff --git a/www/apache-roller/distinfo b/www/apache-roller/distinfo new file mode 100644 index 00000000000..1a573d73efb --- /dev/null +++ b/www/apache-roller/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2009/02/12 00:26:59 adrianp Exp $ + +SHA1 (apache-roller-4.0.1.zip) = 4d9990ca072b09cc516d5e05045802e5300186a5 +RMD160 (apache-roller-4.0.1.zip) = 09d1018a6f9185ebaec1ac3cb6e28efe7c59c651 +Size (apache-roller-4.0.1.zip) = 28324346 bytes diff --git a/www/apache-roller/files/roller-custom.properties b/www/apache-roller/files/roller-custom.properties new file mode 100644 index 00000000000..d89247b0b3f --- /dev/null +++ b/www/apache-roller/files/roller-custom.properties @@ -0,0 +1,10 @@ +installation.type=auto +database.configurationType=jdbc +database.jdbc.driverClass=com.mysql.jdbc.Driver +database.jdbc.connectionURL=jdbc:mysql://localhost:3306/rollerdb +database.jdbc.username=scott +database.jdbc.password=tiger +mail.configurationType=properties +mail.hostname=smtp-server.example.com +mail.username=scott +mail.password=tiger diff --git a/www/apache-roller/options.mk b/www/apache-roller/options.mk new file mode 100644 index 00000000000..9f5df568aab --- /dev/null +++ b/www/apache-roller/options.mk @@ -0,0 +1,22 @@ +# $NetBSD: options.mk,v 1.1.1.1 2009/02/12 00:26:59 adrianp Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.apache-roller + +PKG_OPTIONS_OPTIONAL_GROUPS= jdbc +PKG_OPTIONS_GROUP.jdbc= jdbc-mysql5 jdbc-mysql31 + +PKG_SUPPORTED_OPTIONS= jdbc-mysql31 jdbc-mysql5 +PKG_SUGGESTED_OPTIONS= jdbc-mysql31 + +.include "../../mk/bsd.options.mk" + +### +### jdbc mysql v5.0 or v3.1 driver +### +.if !empty(PKG_OPTIONS:Mjdbc-mysql31) +DEPENDS+= jdbc-mysql>=3:../../databases/jdbc-mysql31 +.endif + +.if !empty(PKG_OPTIONS:Mjdbc-mysql5) +DEPENDS+= jdbc-mysql>=5:../../databases/jdbc-mysql5 +.endif -- cgit v1.2.3