From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Apr 15 06:20:02 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47C2B106566C for ; Wed, 15 Apr 2009 06:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1ED408FC15 for ; Wed, 15 Apr 2009 06:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n3F6K1tn026077 for ; Wed, 15 Apr 2009 06:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n3F6K1iG026076; Wed, 15 Apr 2009 06:20:01 GMT (envelope-from gnats) Resent-Date: Wed, 15 Apr 2009 06:20:01 GMT Resent-Message-Id: <200904150620.n3F6K1iG026076@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, jurgen@ish.com.au Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C2F12106566C for ; Wed, 15 Apr 2009 06:12:45 +0000 (UTC) (envelope-from ish@astonish.ish.com.au) Received: from fish.ish.com.au (eth5921.nsw.adsl.internode.on.net [59.167.240.32]) by mx1.freebsd.org (Postfix) with ESMTP id 58B318FC12 for ; Wed, 15 Apr 2009 06:12:45 +0000 (UTC) (envelope-from ish@astonish.ish.com.au) Received: from ip-211.ish.com.au ([203.29.62.211]:64443 helo=ish.com.au) by fish.ish.com.au with esmtp (Exim 4.69) (envelope-from ) id 1Ltz0b-0002OE-1T for FreeBSD-gnats-submit@freebsd.org; Wed, 15 Apr 2009 16:54:09 +1000 Received: from [203.29.62.212] (HELO astonish.ish.com.au) by ish.com.au (CommuniGate Pro SMTP 5.2.12) with ESMTPS id 4568429; Wed, 15 Apr 2009 16:00:53 +1000 Received: (from root@localhost) by astonish.ish.com.au (8.14.3/8.14.3/Submit) id n3F60qcQ004078; Wed, 15 Apr 2009 16:00:52 +1000 (EST) (envelope-from ish) Message-Id: <200904150600.n3F60qcQ004078@astonish.ish.com.au> Date: Wed, 15 Apr 2009 16:00:52 +1000 (EST) From: jurgen@ish.com.au To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: support@ish.com.au Subject: ports/133740: X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jurgen@ish.com.au List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Apr 2009 06:20:02 -0000 >Number: 133740 >Category: ports >Synopsis: >Confidential: yes >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Apr 15 06:20:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: jurgen >Release: FreeBSD 7.1-RELEASE i386 >Organization: ish pty ltd >Environment: System: FreeBSD astonish.ish.com.au 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan 1 14:37:25 UTC 2009 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 # 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: # # /usr/ports/www/archiva # /usr/ports/www/archiva/Makefile # /usr/ports/www/archiva/distinfo # /usr/ports/www/archiva/pkg-message # /usr/ports/www/archiva/pkg-descr # /usr/ports/www/archiva/files # /usr/ports/www/archiva/files/archiva.xml # echo c - /usr/ports/www/archiva mkdir -p /usr/ports/www/archiva > /dev/null 2>&1 echo x - /usr/ports/www/archiva/Makefile sed 's/^X//' >/usr/ports/www/archiva/Makefile << 'f25821107a05f58f149b1722cc47552c' X# New ports collection makefile for: archiva X# Date created: 2009-04-15 X# Whom: Jurgen Weber X# X# $FreeBSD:$ X# X XPORTNAME= apache-archiva XPORTVERSION= 1.2 XCATEGORIES= www java devel XMASTER_SITES= http://apache.16degrees.com.au/archiva/binaries/ \ X http://apache.wildit.net.au/archiva/binaries/ \ X http://apache.mirror.aussiehq.net.au/archiva/binaries/ XEXTRACT_SUFX= .war XDIST_SUBDIR= ${PORTNAME}-${PORTVERSION} XEXTRACT_ONLY= X XMAINTAINER= jurgen@ish.com.au XCOMMENT= The Build Artifact Repository Manager X XRUN_DEPENDS= ${LOCALBASE}/apache-tomcat6.0/bin/catalina.sh:${PORTSDIR}/www/tomcat6 X XNO_BUILD= yes X XWEBAPP_SUBDIR= apache-tomcat6.0/archiva XWEBAPP_DIR= ${PREFIX}/${WEBAPP_SUBDIR} X XCFGFILE= archiva.xml X XPLIST_FILES= ${WEBAPP_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} \ X apache-tomcat6.0/conf/Catalina/localhost/archiva.xml XPLIST_DIRS= ${WEBAPP_SUBDIR} \ X apache-tomcat6.0/conf/Catalina/localhost X Xdo-install: install-app install-conf X Xinstall-app: X ${MKDIR} ${PREFIX}/${WEBAPP_SUBDIR} X ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} ${WEBAPP_DIR}/ Xinstall-conf: install-app X ${MKDIR} ${PREFIX}/apache-tomcat6.0/conf/Catalina/localhost ; \ X ${CHOWN} www:www ${FILESDIR}/${CFGFILE} ;\ X ${CHMOD} 0640 ${FILESDIR}/${CFGFILE} ;\ X ${CP} -p ${FILESDIR}/${CFGFILE} ${PREFIX}/apache-tomcat6.0/conf/Catalina/localhost/${CFGFILE} X X.include f25821107a05f58f149b1722cc47552c echo x - /usr/ports/www/archiva/distinfo sed 's/^X//' >/usr/ports/www/archiva/distinfo << 'cda50226d62526e9cf2fe696d6c4fd54' XMD5 (apache-archiva-1.2/apache-archiva-1.2.war) = f09072c0f1aa371482e4105557aabe6f XSHA256 (apache-archiva-1.2/apache-archiva-1.2.war) = 2bc77b4f326b8f027c88431b9404da6c248392c8148f04d135642c53d9b6bd3e XSIZE (apache-archiva-1.2/apache-archiva-1.2.war) = 18523821 cda50226d62526e9cf2fe696d6c4fd54 echo x - /usr/ports/www/archiva/pkg-message sed 's/^X//' >/usr/ports/www/archiva/pkg-message << '6ea4b9ab03fef1e16170eba96f2abc57' Xarchiva needs the following set in your rc.conf to function, you will need to restart tomcat60. Xtomcat60_java_opts="-Dappserver.home=${tomcat60_catalina_home} -Dappserver.base=${tomcat60_catalina_base}" X XYou will also need to edit the configuration file found at /conf/Catalina/localhost/archiva.xml Xand ensure that you have directories made for your user and archiva database, set permission to the same user/group Xas tomcat. X XPlease consult the documentation if you have difficulties Xhttp://archiva.apache.org/docs/1.2/adminguide/webapp.html 6ea4b9ab03fef1e16170eba96f2abc57 echo x - /usr/ports/www/archiva/pkg-descr sed 's/^X//' >/usr/ports/www/archiva/pkg-descr << '7002444505bcc1dbf7aaf53764090de8' XApache Archiva is an extensible repository management software Xthat helps taking care of your own personal or enterprise-wide Xbuild artifact repository. X XWWW: http://archiva.apache.org/ 7002444505bcc1dbf7aaf53764090de8 echo c - /usr/ports/www/archiva/files mkdir -p /usr/ports/www/archiva/files > /dev/null 2>&1 echo x - /usr/ports/www/archiva/files/archiva.xml sed 's/^X//' >/usr/ports/www/archiva/files/archiva.xml << '5a473ec96a2519ab22bc96a3fbf29526' X X X X X X X X X X 5a473ec96a2519ab22bc96a3fbf29526 exit >Description: >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: