From ssedov@mbsd.msk.ru  Sun Jul 30 18:38:04 2006
Return-Path: <ssedov@mbsd.msk.ru>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 2E77E16A4E7
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 30 Jul 2006 18:38:04 +0000 (UTC)
	(envelope-from ssedov@mbsd.msk.ru)
Received: from com1.ht-systems.ru (com1.ht-systems.ru [83.97.104.204])
	by mx1.FreeBSD.org (Postfix) with ESMTP id CA04A43D55
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 30 Jul 2006 18:38:02 +0000 (GMT)
	(envelope-from ssedov@mbsd.msk.ru)
Received: from [217.118.83.1] (helo=fonon.realnet)
	by com1.ht-systems.ru with esmtpa (Exim 4.62)
	(envelope-from <ssedov@mbsd.msk.ru>)
	id 1G7GIZ-0001Ya-1f
	for FreeBSD-gnats-submit@freebsd.org; Sun, 30 Jul 2006 22:46:04 +0400
Received: by fonon.realnet (Postfix, from userid 1001)
	id CC7E7120A1; Sun, 30 Jul 2006 22:37:35 +0400 (MSD)
Message-Id: <20060730183735.CC7E7120A1@fonon.realnet>
Date: Sun, 30 Jul 2006 22:37:35 +0400 (MSD)
From: Stanislav Sedov <ssedov@mbsd.msk.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [NEW PORT] www/xsm: Extensible Site Manager
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         101064
>Category:       ports
>Synopsis:       [NEW PORT] www/xsm: Extensible Site Manager
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    stas
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 30 18:40:13 GMT 2006
>Closed-Date:    Wed Apr 11 14:58:23 GMT 2007
>Last-Modified:  Wed Apr 11 15:00:10 GMT 2007
>Originator:     Stanislav Sedov
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
MBSD labs, Inc.
>Environment:
System: FreeBSD fonon.realnet 7.0-CURRENT FreeBSD 7.0-CURRENT #7: Sun Jun 18 20:51:36 MSD 2006
>Description:
Rectang XSM (eXtensible Site Manager)

XSM is a new Content management system for generating fast web sites.
The system generates "static" html pages using Java / JSP renderers.
Published content can be stored locally or distributed over an ssh connection.
The backend uses only XML for easy management and backup.

Using the TinyMCE open source project we can offer a WYSIWYG editor for
editing HTML based document types ("HTML" and "News")

Other Document types include:
  * Html    - (as above) simple WYSIWYG edited page for any content
  * News    - blog style inclue RSS and archive
  * Gallery - generates thumbnails and previews along with pages for browsing
  * Files   - simple file listing for uploading misc files
  * Book    - for collating large, structured documents - generates individual
                pages and a "printer friendly" version.
  * FAQs    - classic structure for a collection of question-answer knowledge
  * PreviewdFile - file list, but providing a preview image and description for
                every file
  * Links   - categorised links for the necessary "links" page

Author:	Andy (HandyAndE) Williams
WWW:	http://www.rectang.com/Software/XSM/

>How-To-Repeat:
>Fix:

--- xsm-1.0.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	xsm
#	xsm/pkg-descr
#	xsm/Makefile
#	xsm/distinfo
#	xsm/pkg-message
#
echo c - xsm
mkdir -p xsm > /dev/null 2>&1
echo x - xsm/pkg-descr
sed 's/^X//' >xsm/pkg-descr << 'END-of-xsm/pkg-descr'
XRectang XSM (eXtensible Site Manager)
X
XXSM is a new Content management system for generating fast web sites.
XThe system generates "static" html pages using Java / JSP renderers.
XPublished content can be stored locally or distributed over an ssh connection.
XThe backend uses only XML for easy management and backup.
X
XUsing the TinyMCE open source project we can offer a WYSIWYG editor for
Xediting HTML based document types ("HTML" and "News")
X
XOther Document types include:
X  * Html    - (as above) simple WYSIWYG edited page for any content
X  * News    - blog style inclue RSS and archive
X  * Gallery - generates thumbnails and previews along with pages for browsing
X  * Files   - simple file listing for uploading misc files
X  * Book    - for collating large, structured documents - generates individual
X                pages and a "printer friendly" version.
X  * FAQs    - classic structure for a collection of question-answer knowledge
X  * PreviewdFile - file list, but providing a preview image and description for
X                every file
X  * Links   - categorised links for the necessary "links" page
X
XAuthor:	Andy (HandyAndE) Williams
XWWW:	http://www.rectang.com/Software/XSM/
END-of-xsm/pkg-descr
echo x - xsm/Makefile
sed 's/^X//' >xsm/Makefile << 'END-of-xsm/Makefile'
X# New ports collection makefile for:	xsm
X# Date created:		2006-07-30
X# Whom:			Stanislav Sedov <ssedov@mbsd.msk.ru>
X#
X# $MBSDlabs$
X# $FreeBSD$
X#
X
XPORTNAME=	xsm
XPORTVERSION=	1.0
XCATEGORIES=	www
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=rxsm
XDISTNAME=	${PORTNAME}_${PORTVERSION}
X
XMAINTAINER=	ssedov@mbsd.msk.ru
XCOMMENT=	Extensible Site Manager
X
XRUN_DEPENDS=	${LOCALBASE}/bin/ant:${PORTSDIR}/devel/apache-ant
X
XUSE_JAVA=	yes
XJAVA_VERSION=	1.4+
XNO_BUILD=	yes
X
XOPTIONS=	TOMCAT4		"Use Jakarta Tomcat 4"		off	\
X		TOMCAT41	"Use Jakarta Tomcat 4.1"	off	\
X		TOMCAT5		"Use Jakarta Tomcat 5"		on	\
X		TOMCAT55	"Use Jakarta Tomcat 5.55"	off	\
X		RESIN2		"Use Resin 2"			off	\
X		RESIN3		"Use Resin 3"			off
X
X.include <bsd.port.pre.mk>
X
XWEBAPP_DIRS=	#empty
X.if defined(WITH_TOMCAT4)
XWEBAPP_DIRS+=	jakarta-tomcat4.0
XRUN_DEPENDS+=	${PREFIX}/jakarta-tomcat4.0/bin/bootstrap.jar:${PORTSDIR}/www/jakarta-tomcat4
X.endif
X
X.if defined(WITH_TOMCAT41)
XWEBAPP_DIRS+=	jakarta-tomcat4.1
XRUN_DEPENDS+=	${PREFIX}/jakarta-tomcat4.1/bin/bootstrap.jar:${PORTSDIR}/www/jakarta-tomcat41
X.endif
X
X.if defined(WITH_TOMCAT5)
XWEBAPP_DIRS+=	jakarta-tomcat5.0
XRUN_DEPENDS+=	${PREFIX}/jakarta-tomcat5.0/bin/bootstrap.jar:${PORTSDIR}/www/jakarta-tomcat5
X.endif
X
X.if defined(WITH_TOMCAT55)
XWEBAPP_DIRS+=	tomcat5.5
XRUN_DEPENDS+=	${PREFIX}/tomcat5.5/bin/bootstrap.jar:${PORTSDIR}/www/tomcat55
X.endif
X
X.if defined(WITH_RESIN2)
XWEBAPP_DIRS+=	resin2
XRUN_DEPENDS+=	${PREFIX}/resin2/lib/resin.jar:${PORTSDIR}/www/resin2
X.endif
X
X.if defined(WITH_RESIN3)
XWEBAPP_DIRS+=	resin3
XRUN_DEPENDS+=	${PREFIX}/resin3/lib/resin.jar:${PORTSDIR}/www/resin3
X.endif
X
Xdo-install:
X.if ${PREFIX}!=${LOCALBASE}
X	@${ECHO_CMD} "Warning: you changed prefix to ${PREFIX}"
X	@${ECHO_CMD} "Default installation will not work if you installed"
X	@${ECHO_CMD} "application server in different prefix"
X.endif
X.for DIR in ${WEBAPP_DIRS}
X	@${ECHO_CMD} "${DIR}/webapps/xsm.war" >> ${TMPPLIST}
X.if !exists(${PREFIX}/${DIR}/webapps)
X	${MKDIR} ${PREFIX}/${DIR}/webapps
X	@${ECHO_CMD} "@dirrm ${DIR}/webapps" >> ${TMPPLIST}
X.endif
X	${INSTALL_DATA} ${WRKSRC}/xsm.war ${PREFIX}/${DIR}/webapps
X.endfor
X
Xpost-install:
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.post.mk>
END-of-xsm/Makefile
echo x - xsm/distinfo
sed 's/^X//' >xsm/distinfo << 'END-of-xsm/distinfo'
XMD5 (xsm_1.0.tar.gz) = 4906e02686ad5e1ae7125aba139cd1ca
XSHA256 (xsm_1.0.tar.gz) = 708c53555ae1bb65108f57f09ec39fe00c8cefb4456922205a98823c414820a1
XSIZE (xsm_1.0.tar.gz) = 2779061
END-of-xsm/distinfo
echo x - xsm/pkg-message
sed 's/^X//' >xsm/pkg-message << 'END-of-xsm/pkg-message'
X
X===========================================================================
XNote, that XSM webapp should have rights to write to the directory "custom"
Xwithin its context.
X
XFor further installation instructions look at
Xhttp://www.rectang.com/Software/XSM/
X===========================================================================
X
END-of-xsm/pkg-message
exit
--- xsm-1.0.shar ends here ---

>Release-Note:
>Audit-Trail:

From: Stanislav Sedov <ssedov@mbsd.msk.ru>
To: bug-followup@freebsd.org <bug-followup@freebsd.org>
Cc:  
Subject: Re: ports/101064: [NEW PORT] www/xsm: Extensible Site Manager
Date: Mon, 31 Jul 2006 10:32:24 +0400

 I have left a silly error in Makefile - it requires the following patch:
 ------------------------------------------------------------------------
 --- Makefile.orig	Mon Jul 31 10:30:28 2006
 +++ Makefile	Mon Jul 31 10:30:50 2006
 @@ -42,7 +42,7 @@
  RUN_DEPENDS+=
 ${PREFIX}/jakarta-tomcat4.1/bin/bootstrap.jar:${PORTSDIR}/www/jakarta-tomcat41
  .endif
  
 -.if defined(WITH_TOMCAT5)
 +.if !defined(WITHOUT_TOMCAT5)
  WEBAPP_DIRS+=	jakarta-tomcat5.0
  RUN_DEPENDS+=
 ${PREFIX}/jakarta-tomcat5.0/bin/bootstrap.jar:${PORTSDIR}/www/jakarta-tomcat5
  .endif
 ------------------------------------------------------------------------
 
 Thanks!
Responsible-Changed-From-To: freebsd-ports-bugs->stas 
Responsible-Changed-By: stas 
Responsible-Changed-When: Wed Sep 20 12:59:36 UTC 2006 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=101064 
State-Changed-From-To: open->closed 
State-Changed-By: stas 
State-Changed-When: Wed Apr 11 14:58:21 UTC 2007 
State-Changed-Why:  
New port added. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=101064 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/101064: commit references a PR
Date: Wed, 11 Apr 2007 14:54:29 +0000 (UTC)

 stas        2007-04-11 14:54:14 UTC
 
   FreeBSD ports repository
 
   Modified files:
     www                  Makefile 
   Added files:
     www/xsm              Makefile distinfo pkg-descr pkg-message 
   Log:
   Add xsm 1.0, an eXtensible Site Manager.
   
   PR:             ports/101064
   Submitted by:   me
   
   Revision  Changes    Path
   1.1783    +1 -0      ports/www/Makefile
   1.1       +82 -0     ports/www/xsm/Makefile (new)
   1.1       +3 -0      ports/www/xsm/distinfo (new)
   1.1       +24 -0     ports/www/xsm/pkg-descr (new)
   1.1       +9 -0      ports/www/xsm/pkg-message (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
