Date: Mon, 9 Jul 2007 11:15:22 +0200 From: "Ronald Klop" <ronald@echteman.nl> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Subject: ports/114431: new port devel/jakarta-commons-daemon 1.0.1 Message-ID: <1183972522.18061@ronald.office.base.nl> Resent-Message-ID: <200707090950.l699o2Xx037995@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 114431 >Category: ports >Synopsis: new port devel/jakarta-commons-daemon 1.0.1 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Jul 09 09:50:01 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Ronald Klop >Release: FreeBSD 6.2-STABLE i386 >Organization: >Environment: System: FreeBSD 6.2-STABLE #73: Thu Jul 5 20:44:35 CEST 2007 root@ronald.office.base.nl:/usr/obj/usr/src/sys/RONALD >Description: New port, with a little bit of native code. Not very difficult. I took some parts from the other jakarta-* ports. >How-To-Repeat: >Fix: --- jakarta-commons-daemon.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: # # jakarta-commons-daemon # jakarta-commons-daemon/files # jakarta-commons-daemon/files/patch-configure # jakarta-commons-daemon/Makefile # jakarta-commons-daemon/distinfo # jakarta-commons-daemon/pkg-descr # echo c - jakarta-commons-daemon mkdir -p jakarta-commons-daemon > /dev/null 2>&1 echo c - jakarta-commons-daemon/files mkdir -p jakarta-commons-daemon/files > /dev/null 2>&1 echo x - jakarta-commons-daemon/files/patch-configure sed 's/^X//' >jakarta-commons-daemon/files/patch-configure << 'END-of-jakarta-commons-daemon/files/patch-configure' X$FreeBSD$ X X--- src/native/unix/configure.dist Mon Jul 9 10:35:45 2007 X+++ src/native/unix/configure Mon Jul 9 10:36:04 2007 X@@ -2407 +2407 @@ X- freebsd4.?) X+ freebsd*) END-of-jakarta-commons-daemon/files/patch-configure echo x - jakarta-commons-daemon/Makefile sed 's/^X//' >jakarta-commons-daemon/Makefile << 'END-of-jakarta-commons-daemon/Makefile' X# New ports collection makefile for: commons-daemon X# Date created: 9 July 2007 X# Whom: Ronald Klop <ronald@echteman.nl> X# X# $FreeBSD$ X# X XPORTNAME= commons-daemon XPORTVERSION= 1.0.1 XCATEGORIES= devel java XMASTER_SITES= ${MASTER_SITE_APACHE_JAKARTA} XMASTER_SITE_SUBDIR= commons/daemon/source XPKGNAMEPREFIX= jakarta- XDISTNAME= daemon-${PORTVERSION} X XMAINTAINER= ronald@echteman.nl XCOMMENT= Wrapper code to start/stop a Java application as a daemon. X XBUILD_DEPENDS= gmake:${PORTSDIR}/devel/gmake X XUSE_JAVA= yes XJAVA_VERSION= 1.2+ XJAVA_OS= native XJAVA_BUILD= jdk XNEED_JAVAC= yes XUSE_JIKES= no XUSE_ANT= yes X XGNU_CONFIGURE= yes X XALL_TARGET= dist X XPLIST_FILES= bin/jsvc share/java/classes/commons-daemon.jar X X.include <bsd.port.pre.mk> X Xdo-configure: X cd ${WRKSRC}/src/native/unix && ./configure --with-java=${JAVA_HOME} X Xpre-build: X cd ${WRKSRC}/src/native/unix && ${GMAKE} X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/src/native/unix/jsvc ${LOCALBASE}/bin X ${INSTALL} ${WRKSRC}/dist/commons-daemon.jar ${JAVAJARDIR} X X.include <bsd.port.post.mk> END-of-jakarta-commons-daemon/Makefile echo x - jakarta-commons-daemon/distinfo sed 's/^X//' >jakarta-commons-daemon/distinfo << 'END-of-jakarta-commons-daemon/distinfo' XMD5 (daemon-1.0.1.tar.gz) = df3eb5aafa53ca530843a09d40b8a1c0 XSHA256 (daemon-1.0.1.tar.gz) = 177107b8d99cabdbcda58cec284a2e2ccb5063113cc1fdb1b672754d4652848c XSIZE (daemon-1.0.1.tar.gz) = 301023 END-of-jakarta-commons-daemon/distinfo echo x - jakarta-commons-daemon/pkg-descr sed 's/^X//' >jakarta-commons-daemon/pkg-descr << 'END-of-jakarta-commons-daemon/pkg-descr' XWrapper code to start/stop a Java application as a daemon. XDaemon is made of 2 parts. One written in C that makes the interface to the operating system and the other in Java that provides the Daemon API. X XWWW: http://jakarta.apache.org/commons/daemon/ END-of-jakarta-commons-daemon/pkg-descr exit --- jakarta-commons-daemon.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1183972522.18061>