pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/apache-roller Apache Roller is a full-featured, mu...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5c7c53b56695
branches:  trunk
changeset: 554311:5c7c53b56695
user:      adrianp <adrianp%pkgsrc.org@localhost>
date:      Thu Feb 12 00:26:59 2009 +0000

description:
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

diffstat:

 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(+), 0 deletions(-)

diffs (154 lines):

diff -r 1a6565a2b7d8 -r 5c7c53b56695 www/apache-roller/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/apache-roller/DESCR   Thu Feb 12 00:26:59 2009 +0000
@@ -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 -r 1a6565a2b7d8 -r 5c7c53b56695 www/apache-roller/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/apache-roller/MESSAGE Thu Feb 12 00:26:59 2009 +0000
@@ -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 -r 1a6565a2b7d8 -r 5c7c53b56695 www/apache-roller/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/apache-roller/Makefile        Thu Feb 12 00:26:59 2009 +0000
@@ -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@localhost
+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 -r 1a6565a2b7d8 -r 5c7c53b56695 www/apache-roller/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/apache-roller/PLIST   Thu Feb 12 00:26:59 2009 +0000
@@ -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 -r 1a6565a2b7d8 -r 5c7c53b56695 www/apache-roller/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/apache-roller/distinfo        Thu Feb 12 00:26:59 2009 +0000
@@ -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 -r 1a6565a2b7d8 -r 5c7c53b56695 www/apache-roller/files/roller-custom.properties
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/apache-roller/files/roller-custom.properties  Thu Feb 12 00:26:59 2009 +0000
@@ -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 -r 1a6565a2b7d8 -r 5c7c53b56695 www/apache-roller/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/apache-roller/options.mk      Thu Feb 12 00:26:59 2009 +0000
@@ -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



Home | Main Index | Thread Index | Old Index