diff --git a/www/Makefile b/www/Makefile index 9fd07803c474..d4736684bcfd 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1,541 +1,542 @@ # $FreeBSD$ # SUBDIR += MT SUBDIR += Mosaic # requires Motif SUBDIR += WebMagick SUBDIR += abcache SUBDIR += adzap SUBDIR += adzapper SUBDIR += amaya SUBDIR += amyc SUBDIR += analog SUBDIR += aolserver SUBDIR += apache-contrib SUBDIR += apache-jserv SUBDIR += apache13 SUBDIR += apache13+ipv6 SUBDIR += apache13-fp SUBDIR += apache13-modssl SUBDIR += apache13-ssl SUBDIR += apache2 SUBDIR += arena SUBDIR += aria SUBDIR += ashe # requires Motif SUBDIR += asp2php SUBDIR += aswedit SUBDIR += aswiki SUBDIR += august SUBDIR += auth_ldap SUBDIR += awstats SUBDIR += axis SUBDIR += beonex SUBDIR += bins SUBDIR += bk2site SUBDIR += bkmrkconv SUBDIR += bluefish SUBDIR += bluefish-devel SUBDIR += boa SUBDIR += bozohttpd SUBDIR += cadaver SUBDIR += calamaris SUBDIR += caudium-devel SUBDIR += caudium10 SUBDIR += caudium12 SUBDIR += cgi-lib SUBDIR += cgi-lib.pl SUBDIR += cgic SUBDIR += cgicc SUBDIR += cgichk SUBDIR += cgihtml SUBDIR += cgiparse SUBDIR += cgiwrap SUBDIR += checkbot SUBDIR += cheetah SUBDIR += cherokee SUBDIR += chimera SUBDIR += chimera2 SUBDIR += chtml SUBDIR += cl-lml SUBDIR += cl-lml-clisp SUBDIR += cl-lml-cmucl SUBDIR += cl-lml-sbcl SUBDIR += comclear SUBDIR += crawl SUBDIR += css-mode.el SUBDIR += cybercalendar SUBDIR += dansguardian SUBDIR += dansguardian-devel SUBDIR += decss SUBDIR += demoroniser SUBDIR += dhttpd SUBDIR += dillo # SUBDIR += djvuplugin SUBDIR += eldav.el SUBDIR += elinks SUBDIR += emacs-w3m SUBDIR += emacs-w3m-emacs20 SUBDIR += emacs-w3m-xemacs21-mule SUBDIR += epiphany SUBDIR += erwn SUBDIR += evg SUBDIR += fcgi SUBDIR += ffproxy SUBDIR += fhttpd SUBDIR += flashplugin SUBDIR += flashplugin-mozilla SUBDIR += flashplugin-mozilla-devel SUBDIR += flashpluginwrapper SUBDIR += flood SUBDIR += frontpage SUBDIR += frontpage-ar SUBDIR += frontpage-de SUBDIR += frontpage-es SUBDIR += frontpage-fr SUBDIR += frontpage-he SUBDIR += frontpage-it SUBDIR += frontpage-ja SUBDIR += frontpage-ko SUBDIR += frontpage-nl SUBDIR += frontpage-sv SUBDIR += frontpage-th SUBDIR += frontpage-zh SUBDIR += fxhtml SUBDIR += g-gcl SUBDIR += galeon SUBDIR += galeon2 SUBDIR += gallery SUBDIR += geeklog SUBDIR += glibwww SUBDIR += gn SUBDIR += gnuinfo SUBDIR += gnujsp SUBDIR += grail SUBDIR += gtkhtml SUBDIR += gtkhtml3 SUBDIR += guile-www SUBDIR += gurlchecker SUBDIR += harvest SUBDIR += horde2 SUBDIR += hotjava SUBDIR += htdump SUBDIR += html2hdml SUBDIR += html2wml SUBDIR += htmlobject SUBDIR += htmlpp SUBDIR += http-analyze SUBDIR += http_get SUBDIR += http_load SUBDIR += httperf SUBDIR += httpgrabber SUBDIR += httptunnel SUBDIR += httrack SUBDIR += hydra SUBDIR += hypermail SUBDIR += igal SUBDIR += indexme SUBDIR += interchange SUBDIR += jakarta-jmeter SUBDIR += jakarta-tomcat3 SUBDIR += jakarta-tomcat4 SUBDIR += jakarta-tomcat41 SUBDIR += jakarta-tomcat5 SUBDIR += jdresolve SUBDIR += jesred SUBDIR += jetspeed SUBDIR += jetty SUBDIR += jonah SUBDIR += junkbuster SUBDIR += kannel SUBDIR += knowledgekit SUBDIR += larbin SUBDIR += libghttp SUBDIR += libgtkhtml SUBDIR += libwww SUBDIR += links SUBDIR += links1 SUBDIR += linux-beonex SUBDIR += linux-flashplugin SUBDIR += linux-flashplugin6 SUBDIR += linux-lesstif-ns SUBDIR += linux-mozilla SUBDIR += linux-mozilla-devel SUBDIR += linux-mozillafirebird SUBDIR += linux-opera SUBDIR += ljdeps SUBDIR += logtools SUBDIR += lws SUBDIR += lynx SUBDIR += lynx-current SUBDIR += lynx-ssl SUBDIR += man2web SUBDIR += mapedit SUBDIR += mathopd SUBDIR += mdw SUBDIR += mergelog SUBDIR += mgstat SUBDIR += mhonarc SUBDIR += micro_httpd SUBDIR += middleman SUBDIR += mini_httpd SUBDIR += mmosaic SUBDIR += mnogosearch SUBDIR += mod_access_identd SUBDIR += mod_access_referer SUBDIR += mod_accounting SUBDIR += mod_auth_any SUBDIR += mod_auth_external SUBDIR += mod_auth_kerb SUBDIR += mod_auth_mysql SUBDIR += mod_auth_mysql_another SUBDIR += mod_auth_pam SUBDIR += mod_auth_pgsql SUBDIR += mod_auth_pwcheck SUBDIR += mod_backhand SUBDIR += mod_bandwidth SUBDIR += mod_bf SUBDIR += mod_blosxom SUBDIR += mod_blowchunks SUBDIR += mod_bunzip2 SUBDIR += mod_cgi_debug SUBDIR += mod_color SUBDIR += mod_csacek SUBDIR += mod_cvs SUBDIR += mod_dav SUBDIR += mod_dtcl SUBDIR += mod_extract_forwarded SUBDIR += mod_fastcgi SUBDIR += mod_filter SUBDIR += mod_frontpage SUBDIR += mod_geoip SUBDIR += mod_gzip SUBDIR += mod_hosts_access SUBDIR += mod_index_rss SUBDIR += mod_jk SUBDIR += mod_jk2 SUBDIR += mod_layout SUBDIR += mod_layout2 SUBDIR += mod_limitipconn SUBDIR += mod_log_sql SUBDIR += mod_mp3 SUBDIR += mod_mylo SUBDIR += mod_mysqluserdir SUBDIR += mod_pcgi2 SUBDIR += mod_perl SUBDIR += mod_perl2 SUBDIR += mod_php3 SUBDIR += mod_php4 SUBDIR += mod_php5 SUBDIR += mod_proxy_add_forward SUBDIR += mod_put SUBDIR += mod_python SUBDIR += mod_python3 SUBDIR += mod_roaming SUBDIR += mod_roaming2 SUBDIR += mod_ruby SUBDIR += mod_scgi SUBDIR += mod_security SUBDIR += mod_sed SUBDIR += mod_sequester SUBDIR += mod_snake SUBDIR += mod_sqlinclude SUBDIR += mod_throttle SUBDIR += mod_ticket SUBDIR += mod_trigger SUBDIR += mod_tsunami SUBDIR += mod_v2h SUBDIR += mod_watch SUBDIR += mod_webapp SUBDIR += mod_zap SUBDIR += moinmoin SUBDIR += momspider SUBDIR += mozilla SUBDIR += mozilla-devel SUBDIR += mozilla-devel-gtk2 SUBDIR += mozilla-firebird SUBDIR += mozilla-gtk2 SUBDIR += mozilla-headers SUBDIR += mozilla-headers-devel SUBDIR += mplayer-plugin SUBDIR += nd SUBDIR += neon SUBDIR += neowebscript SUBDIR += netraider SUBDIR += netrik SUBDIR += netscape-remote SUBDIR += netscape-wrapper SUBDIR += netscape47-communicator SUBDIR += netscape47-navigator SUBDIR += netscape48-communicator SUBDIR += netscape48-navigator SUBDIR += netscape7 SUBDIR += notftp SUBDIR += npc SUBDIR += nscache SUBDIR += nspostgres SUBDIR += ocaml-net SUBDIR += ocaml-wdialog SUBDIR += oops SUBDIR += openvrml SUBDIR += opera SUBDIR += orion SUBDIR += p5-Apache-ASP SUBDIR += p5-Apache-AddHostPath SUBDIR += p5-Apache-Admin-Config SUBDIR += p5-Apache-AntiSpam SUBDIR += p5-Apache-Archive SUBDIR += p5-Apache-AuthCookie SUBDIR += p5-Apache-AuthTicket SUBDIR += p5-Apache-AuthenCache SUBDIR += p5-Apache-AuthenURL SUBDIR += p5-Apache-AutoIndex SUBDIR += p5-Apache-AxKit-Plugin-AddXSLParams-Request SUBDIR += p5-Apache-Clean SUBDIR += p5-Apache-ConfigFile SUBDIR += p5-Apache-DBI SUBDIR += p5-Apache-DumpHeaders SUBDIR += p5-Apache-Filter SUBDIR += p5-Apache-Gallery SUBDIR += p5-Apache-Icon SUBDIR += p5-Apache-Language SUBDIR += p5-Apache-MP3 SUBDIR += p5-Apache-NNTPGateway SUBDIR += p5-Apache-PageKit SUBDIR += p5-Apache-Peek SUBDIR += p5-Apache-Radius SUBDIR += p5-Apache-Reload SUBDIR += p5-Apache-SSI SUBDIR += p5-Apache-Session SUBDIR += p5-Apache-Session-PHP SUBDIR += p5-Apache-Session-SharedMem SUBDIR += p5-Apache-SubProcess SUBDIR += p5-Apache-Test SUBDIR += p5-ApacheBench SUBDIR += p5-AxKit SUBDIR += p5-AxKit-XSP-Cookie SUBDIR += p5-AxKit-XSP-ESQL SUBDIR += p5-AxKit-XSP-Exception SUBDIR += p5-AxKit-XSP-IfParam SUBDIR += p5-AxKit-XSP-Param SUBDIR += p5-AxKit-XSP-PerForm SUBDIR += p5-AxKit-XSP-Sendmail SUBDIR += p5-AxKit-XSP-Util SUBDIR += p5-AxKit-XSP-WebUtils SUBDIR += p5-Bundle-Slash SUBDIR += p5-Bundle-Sledge SUBDIR += p5-CGI-Application SUBDIR += p5-CGI-ArgChecker SUBDIR += p5-CGI-Cache SUBDIR += p5-CGI-FastTemplate SUBDIR += p5-CGI-Minimal SUBDIR += p5-CGI-Session SUBDIR += p5-CGI-SpeedyCGI SUBDIR += p5-CGI-Untaint SUBDIR += p5-CGI-Upload SUBDIR += p5-CGI-XMLApplication SUBDIR += p5-CGI-modules SUBDIR += p5-CGI.pm SUBDIR += p5-CGI_Lite SUBDIR += p5-FAQ-OMatic SUBDIR += p5-FastCGI SUBDIR += p5-Flash-FLAP SUBDIR += p5-GtkHTML SUBDIR += p5-HTML SUBDIR += p5-HTML-Breadcrumbs SUBDIR += p5-HTML-CalendarMonthSimple SUBDIR += p5-HTML-Clean SUBDIR += p5-HTML-Element-Extended SUBDIR += p5-HTML-Embperl SUBDIR += p5-HTML-FillInForm SUBDIR += p5-HTML-FromText SUBDIR += p5-HTML-Mason SUBDIR += p5-HTML-Navigation SUBDIR += p5-HTML-Pager SUBDIR += p5-HTML-Parser SUBDIR += p5-HTML-QuickCheck SUBDIR += p5-HTML-SimpleParse SUBDIR += p5-HTML-StickyQuery SUBDIR += p5-HTML-Stream SUBDIR += p5-HTML-Summary SUBDIR += p5-HTML-Table SUBDIR += p5-HTML-TableExtract SUBDIR += p5-HTML-TableLayout SUBDIR += p5-HTML-Tagset SUBDIR += p5-HTML-Template SUBDIR += p5-HTML-Template-Expr SUBDIR += p5-HTML-Tree SUBDIR += p5-HTML-Webmake SUBDIR += p5-HTML-Widgets-SelectLayers SUBDIR += p5-HTTP-BrowserDetect SUBDIR += p5-HTTP-DAV SUBDIR += p5-HTTP-GHTTP SUBDIR += p5-HTTP-MobileAgent SUBDIR += p5-HTTP-WebTest SUBDIR += p5-HTTPD-Log-Filter SUBDIR += p5-HTTPD-Tools SUBDIR += p5-MasonX-Request-WithApacheSession SUBDIR += p5-PHP-Session SUBDIR += p5-ParallelUA SUBDIR += p5-Sledge SUBDIR += p5-Sledge-Plugin-CacheContent SUBDIR += p5-Sledge-Plugin-Download SUBDIR += p5-Sledge-Plugin-Dumper SUBDIR += p5-Sledge-Plugin-HTML2HDML SUBDIR += p5-Sledge-Plugin-Log SUBDIR += p5-Sledge-Plugin-NoCache SUBDIR += p5-Sledge-Plugin-SaveUpload SUBDIR += p5-Sledge-Plugin-ScratchPad SUBDIR += p5-Sledge-Plugin-SessionAutoCleanup SUBDIR += p5-Sledge-Plugin-XSLT SUBDIR += p5-Sledge-SessionManager-CookieStore SUBDIR += p5-Sledge-Template-Expr SUBDIR += p5-Template-Plugin-Comma SUBDIR += p5-Template-Toolkit SUBDIR += p5-URI-Sequin SUBDIR += p5-WWW-Automate SUBDIR += p5-WWW-Babelfish SUBDIR += p5-WWW-Curl SUBDIR += p5-WWW-IMDb SUBDIR += p5-WWW-Link SUBDIR += p5-WWW-Mechanize SUBDIR += p5-WWW-Robot SUBDIR += p5-WWW-Search SUBDIR += p5-WWW-Search-AltaVista SUBDIR += p5-WWW-Search-Google SUBDIR += p5-WWW-Shorten SUBDIR += p5-libapreq SUBDIR += p5-libservlet SUBDIR += p5-libwww SUBDIR += peacock SUBDIR += pear-APC SUBDIR += pgdriver SUBDIR += photo_gallery SUBDIR += php-dyn SUBDIR += php-screw SUBDIR += php-templates SUBDIR += php4-cgi SUBDIR += php5-cgi SUBDIR += phpSysInfo SUBDIR += phpbb SUBDIR += phpnuke SUBDIR += plone SUBDIR += plugger SUBDIR += postnuke SUBDIR += pound SUBDIR += privoxy SUBDIR += privoxy+ipv6 SUBDIR += publicfile SUBDIR += pwebstats SUBDIR += py-HTMLgen SUBDIR += py-albatross SUBDIR += py-fcgi SUBDIR += py-scgi SUBDIR += py-websvcs SUBDIR += pyweblib SUBDIR += qdecoder SUBDIR += quanta SUBDIR += quixote SUBDIR += reportmagic + SUBDIR += resin2 SUBDIR += resin3 SUBDIR += retawq SUBDIR += roundup SUBDIR += roxen SUBDIR += rt2 SUBDIR += rt3 SUBDIR += rt3-elixus SUBDIR += ruboard SUBDIR += ruby-asp SUBDIR += ruby-borges SUBDIR += ruby-div SUBDIR += ruby-fcgi SUBDIR += ruby-google SUBDIR += ruby-http-access SUBDIR += ruby-mnogosearch SUBDIR += ruby-nora SUBDIR += ruby-tmpl SUBDIR += ruby-webrick SUBDIR += ruby-webunit SUBDIR += sarg SUBDIR += scoop SUBDIR += scout SUBDIR += screem SUBDIR += sidplug SUBDIR += sitecopy SUBDIR += smarty SUBDIR += smb2www SUBDIR += smb_auth SUBDIR += snarf SUBDIR += squid SUBDIR += squid24 SUBDIR += squidclients SUBDIR += squidguard SUBDIR += squidpurge SUBDIR += squidtimes SUBDIR += squirm SUBDIR += squishdot SUBDIR += ssserver SUBDIR += suphp SUBDIR += surfraw SUBDIR += swiggle SUBDIR += swish++ SUBDIR += swish-e SUBDIR += tclhttpd SUBDIR += tdiary SUBDIR += thttpd SUBDIR += thumbnail_index SUBDIR += tidy SUBDIR += tidy-devel SUBDIR += tidy-lib SUBDIR += tinyproxy SUBDIR += transproxy SUBDIR += turck-mmcache SUBDIR += twhttpd SUBDIR += twig SUBDIR += twiki SUBDIR += udmsearch SUBDIR += ump SUBDIR += w3 SUBDIR += w3-4 SUBDIR += w3c-httpd SUBDIR += w3m SUBDIR += w3m-img SUBDIR += w3m-m17n SUBDIR += w3mir SUBDIR += waccess SUBDIR += wb0 SUBDIR += wcol SUBDIR += web2ldap SUBDIR += web500gw SUBDIR += webalizer SUBDIR += webcheck SUBDIR += webcopy SUBDIR += webcrawl SUBDIR += webfs SUBDIR += webglimpse SUBDIR += weblint SUBDIR += webredirect SUBDIR += webresolve SUBDIR += webstone SUBDIR += webstone-ssl SUBDIR += wml SUBDIR += wmnetselect SUBDIR += wsmake SUBDIR += www6to4 SUBDIR += wwwcount SUBDIR += wwwoffle SUBDIR += wwwstat SUBDIR += wyvern SUBDIR += xist SUBDIR += xitami SUBDIR += xpath2rss SUBDIR += znavigator SUBDIR += zope SUBDIR += zope-cmf SUBDIR += zope-cmf13 SUBDIR += zope-cmfforum SUBDIR += zope-guf SUBDIR += zope-zmysqlda SUBDIR += zope-zpt SUBDIR += zope-zwiki .include diff --git a/www/resin2/Makefile b/www/resin2/Makefile new file mode 100644 index 000000000000..3f3b9c3c9eeb --- /dev/null +++ b/www/resin2/Makefile @@ -0,0 +1,85 @@ +# New ports collection makefile for: resin2 +# Whom: Jean-Baptiste Quenot +# Date Created: 2002-07-15 15:00:43 +# +# $FreeBSD$ +# + +PORTNAME= resin +PORTVERSION= 2.1.11 +CATEGORIES= www java +MASTER_SITES= http://www.caucho.com/download/ + +MAINTAINER= jb.quenot@caraldi.com +COMMENT= Resin, a Java-based Application Server, 2.x branch + +USE_JAVA= 1.2+ +HAS_CONFIGURE= yes +USE_PERL5= yes + +# Customizable settings +RUNASUSER?= www +RUNASUID?= 80 +GROUP?= ${RUNASUSER} +GID?= ${RUNASUID} +PORT?= 8080 +APP_HOME?= ${PREFIX}/${PKGNAMEPREFIX}${PORTNAME} +WITH_APACHE?= NO +WITH_APACHE2?= NO + +# Other settings +APXS?= ${LOCALBASE}/sbin/apxs +MOD_DIR?= `${APXS} -q LIBEXECDIR` + +# Pass JAVA_HOME as determined by bsd.java.mk +CONFIGURE_ARGS+= --with-java-home=${JAVA_HOME} + +# Install the Apache plugin if needed +.if defined(WITH_APACHE) && ($(WITH_APACHE) == yes || $(WITH_APACHE) == YES) +# +# Apache 1.3 +# +BUILD_DEPENDS+= ${APXS}:${PORTSDIR}/www/apache13 +CONFIGURE_ARGS+= --with-apxs=${APXS} +PLIST_SUB+= MOD_DIR=libexec/apache +.elif defined(WITH_APACHE2) && ($(WITH_APACHE2) == yes || $(WITH_APACHE2) == YES) +# +# Apache 2 +# +BUILD_DEPENDS+= ${APXS}:${PORTSDIR}/www/apache2 +CONFIGURE_ARGS+= --with-apxs=${APXS} +PLIST_SUB+= MOD_DIR=libexec/apache2 +.else +PLIST_SUB+= MOD_DIR="@comment " +.endif + +.include + +# Resin does not handle installation, so proceed now +pre-install: + $(SED) -i -e "s|%%PREFIX%%|$(PREFIX)|g" $(WRKSRC)/src/c/plugin/apache/install.sh + $(SED) -i -e "s|%%PREFIX%%|$(PREFIX)|g" $(WRKSRC)/src/c/plugin/apache2/install.sh + +# Do not change the PID file location unless you also change it in pkg-deinstall script +PID_FILE= /var/run/resin.pid + +post-install: + ${TOUCH} ${PID_FILE} + ${CHOWN} ${RUNASUID}:${GID} ${PID_FILE} + ${MKDIR} ${APP_HOME} + @PREFIX=${PREFIX} \ + PKGNAMEPREFIX=${PKGNAMEPREFIX} \ + PORTNAME=${PORTNAME} \ + WRKSRC=${WRKSRC} \ + RUNASUSER=${RUNASUSER} \ + RUNASUID=${RUNASUID} \ + GROUP=${GROUP} \ + GID=${GID} \ + PORT=${PORT} \ + APP_HOME=${APP_HOME} \ + JAVA_HOME=${JAVA_HOME} \ + ${SH} pkg-install ${PKGNAME} POST-INSTALL + +.include + +# ex:ts=18 diff --git a/www/resin2/distinfo b/www/resin2/distinfo new file mode 100644 index 000000000000..331c69b26591 --- /dev/null +++ b/www/resin2/distinfo @@ -0,0 +1 @@ +MD5 (resin-2.1.11.tar.gz) = 97cd4be46138bf86ce582e437d747d1e diff --git a/www/resin2/files/patch-Makefile.in b/www/resin2/files/patch-Makefile.in new file mode 100644 index 000000000000..5754ce64ac6d --- /dev/null +++ b/www/resin2/files/patch-Makefile.in @@ -0,0 +1,11 @@ +--- src/c/plugin/resin/Makefile.in.orig Fri Feb 14 21:48:23 2003 ++++ src/c/plugin/resin/Makefile.in Wed Mar 5 19:11:12 2003 +@@ -20,7 +20,7 @@ + all : resin libresin.$(SO) + + resin : resin.o $(OBJ) +- $(CC) $(LDFLAGS) -o $@ resin.o $(OBJ) $(PROXY_LIBS) -ldl ++ $(CC) $(LDFLAGS) -o $@ resin.o $(OBJ) $(PROXY_LIBS) + + resin_so : libresin.$(SO) + diff --git a/www/resin2/files/patch-apache2 b/www/resin2/files/patch-apache2 new file mode 100644 index 000000000000..2130da28e974 --- /dev/null +++ b/www/resin2/files/patch-apache2 @@ -0,0 +1,11 @@ +--- src/c/plugin/apache2/mod_caucho.c.orig Tue Apr 15 23:28:46 2003 ++++ src/c/plugin/apache2/mod_caucho.c Fri Jun 6 01:37:29 2003 +@@ -52,7 +52,7 @@ + #include "cse.h" + #include "version.h" + +-#ifndef APR_HAS_THREADS ++#if !APR_HAS_THREADS + #define apr_thread_mutex_t int + #define apr_thread_mutex_create(a,b,c) + #define apr_thread_mutex_lock(a) diff --git a/www/resin2/files/patch-httpd.sh b/www/resin2/files/patch-httpd.sh new file mode 100644 index 000000000000..0eb3b58dd55b --- /dev/null +++ b/www/resin2/files/patch-httpd.sh @@ -0,0 +1,34 @@ +--- bin/httpd.sh.orig Tue Apr 15 23:28:50 2003 ++++ bin/httpd.sh Thu Jul 24 14:35:36 2003 +@@ -37,11 +37,8 @@ + # + # You can predefine JAVA_HOME and RESIN_HOME + # +-# JAVA_HOME=/usr/java +-# export JAVA_HOME +-# +-# RESIN_HOME=/usr/local/resin +-# export RESIN_HOME ++export JAVA_HOME=%%JAVA_HOME%% ++export RESIN_HOME=%%PREFIX%%/%%PKGNAMEPREFIX%%%%PORTNAME%% + # + # Extra arguments to Java. If you're passing arguments to the JVM, you'll + # need to use -Jxxx. For example, args="-J-ms48m". You can modify +@@ -61,16 +58,4 @@ + # + perl=perl + +-# +-# trace script and simlinks to find thw wrapper +-# +-script=`/bin/ls -l $0 | awk '{ print $NF; }'` +- +-while test -h "$script" +-do +- script=`/bin/ls -l $script | awk '{ print $NF; }'` +-done +- +-bin=`dirname $script` +- +-exec $perl $bin/wrapper.pl -chdir -name "$name" -class "$class" $args $* ++su -f -m www -c "exec $perl %%PREFIX%%/sbin/resinctl -conf %%PREFIX%%/etc/resin.xml -chdir -name "$name" -class "$class" $args $*" > /dev/null && echo -n '%%PKGNAMEPREFIX%%%%PORTNAME%% ' diff --git a/www/resin2/files/patch-install-apache b/www/resin2/files/patch-install-apache new file mode 100644 index 000000000000..42482c94dc9a --- /dev/null +++ b/www/resin2/files/patch-install-apache @@ -0,0 +1,10 @@ +--- src/c/plugin/apache/install.sh.orig Fri Jul 25 15:34:33 2003 ++++ src/c/plugin/apache/install.sh Fri Jul 25 15:35:53 2003 +@@ -51,6 +51,6 @@ + + LoadModule caucho_module $LIBEXECDIR/mod_caucho.so + +-CauchoConfigFile $RESIN_HOME/conf/resin.conf ++CauchoConfigFile %%PREFIX%%/etc/resin.xml + EOF + fi diff --git a/www/resin2/files/patch-install-apache2 b/www/resin2/files/patch-install-apache2 new file mode 100644 index 000000000000..98d826a6c83f --- /dev/null +++ b/www/resin2/files/patch-install-apache2 @@ -0,0 +1,11 @@ +--- src/c/plugin/apache2/install.sh.orig Fri Jul 25 15:34:39 2003 ++++ src/c/plugin/apache2/install.sh Fri Jul 25 15:35:53 2003 +@@ -51,7 +51,7 @@ + + LoadModule caucho_module $LIBEXECDIR/mod_caucho.so + +-CauchoConfigFile $RESIN_HOME/conf/resin.conf ++CauchoConfigFile %%PREFIX%%/etc/resin.xml + EOF + + fi diff --git a/www/resin2/files/patch-resin.conf b/www/resin2/files/patch-resin.conf new file mode 100644 index 000000000000..a90a144e6c7c --- /dev/null +++ b/www/resin2/files/patch-resin.conf @@ -0,0 +1,11 @@ +--- conf/resin.conf.orig Thu Mar 6 10:19:07 2003 ++++ conf/resin.conf Wed Mar 5 21:05:50 2003 +@@ -67,7 +67,7 @@ + doc + + +- ++ + +