summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorErnst de Haan <znerd@FreeBSD.org>2002-10-09 23:10:32 +0000
committerErnst de Haan <znerd@FreeBSD.org>2002-10-09 23:10:32 +0000
commitaa1f22138cb6068593c56d50ae677d09fe3c17b0 (patch)
tree172f4f5d2427fd46904e9ebcbad0cd98e94378b5 /www
parentFixed checksum mismatch. Provided alternative download location (diff)
Fixed daemonctl control program to work with the FreeBSD JDK 1.3.1.
The fix consists of 2 lines at the beginning of the program: setuid(geteuid()); setgid(getegid()); Bumped PORTREVISION of Orion, Tomcat and JBoss ports. PR: 40470, 43679 Submitted by: Ari Suutari <ari.suutari@syncrontech.com> Reviewed by: audit Approved by: Silence on -audit (since Sept 13, 2002)
Notes
Notes: svn path=/head/; revision=67721
Diffstat (limited to 'www')
-rw-r--r--www/jakarta-tomcat3/Makefile2
-rw-r--r--www/jakarta-tomcat4/Makefile2
-rw-r--r--www/jakarta-tomcat4/files/daemonctl.c6
-rw-r--r--www/jakarta-tomcat41/Makefile2
-rw-r--r--www/orion-devel/Makefile2
-rw-r--r--www/orion/Makefile2
-rw-r--r--www/tomcat41/Makefile2
7 files changed, 11 insertions, 7 deletions
diff --git a/www/jakarta-tomcat3/Makefile b/www/jakarta-tomcat3/Makefile
index c7f5cbfb489d..84c93b765bd2 100644
--- a/www/jakarta-tomcat3/Makefile
+++ b/www/jakarta-tomcat3/Makefile
@@ -7,7 +7,7 @@
PORTNAME= jakarta-tomcat
PORTVERSION= 3.3.1
-PORTREVISION= 15
+PORTREVISION= 16
CATEGORIES= www java
MASTER_SITES= http://jakarta.apache.org/builds/jakarta-tomcat/release/v${PORTVERSION}/bin/ \
http://www.metaverse.nl/~ernst/ \
diff --git a/www/jakarta-tomcat4/Makefile b/www/jakarta-tomcat4/Makefile
index 51cdbc05f1fb..a243dad33889 100644
--- a/www/jakarta-tomcat4/Makefile
+++ b/www/jakarta-tomcat4/Makefile
@@ -7,7 +7,7 @@
PORTNAME= jakarta-tomcat
PORTVERSION= 4.0.5
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www java
MASTER_SITES= http://jakarta.apache.org/builds/jakarta-tomcat-${PORTVERSION:R}/release/v${PORTVERSION}/bin/ \
http://www.metaverse.nl/~ernst/ \
diff --git a/www/jakarta-tomcat4/files/daemonctl.c b/www/jakarta-tomcat4/files/daemonctl.c
index 765a870fd4e8..ac0fbd744d99 100644
--- a/www/jakarta-tomcat4/files/daemonctl.c
+++ b/www/jakarta-tomcat4/files/daemonctl.c
@@ -4,7 +4,7 @@
*
* Daemon control program.
*
- * $FreeBSD: /tmp/pcvs/ports/www/jakarta-tomcat4/files/Attic/daemonctl.c,v 1.9 2002-08-28 22:54:21 znerd Exp $
+ * $FreeBSD: /tmp/pcvs/ports/www/jakarta-tomcat4/files/Attic/daemonctl.c,v 1.10 2002-10-09 23:10:32 znerd Exp $
*/
#include <assert.h>
@@ -78,6 +78,10 @@ int main(int argc, char *argv[]) {
return 0;
}
+ /* XXX: Fix for setting up the environment for the java wrapper script */
+ setuid(geteuid());
+ setgid(getegid());
+
argument = argv[1];
if (strcmp("start", argument) == 0) {
start();
diff --git a/www/jakarta-tomcat41/Makefile b/www/jakarta-tomcat41/Makefile
index ba785b128eaa..2b869d4cc65c 100644
--- a/www/jakarta-tomcat41/Makefile
+++ b/www/jakarta-tomcat41/Makefile
@@ -7,7 +7,7 @@
PORTNAME= jakarta-tomcat
PORTVERSION= 4.1.12
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www java
MASTER_SITES= http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v${PORTVERSION}/bin/ \
http://www.metaverse.nl/~ernst/ \
diff --git a/www/orion-devel/Makefile b/www/orion-devel/Makefile
index 083692cd7bf2..d79f8ba6dec0 100644
--- a/www/orion-devel/Makefile
+++ b/www/orion-devel/Makefile
@@ -7,7 +7,7 @@
PORTNAME= orion
PORTVERSION= 1.6.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www java
MASTER_SITES= http://www.orionserver.com/distributions/ \
http://www.atlassian.com/software/orion/downloads/ \
diff --git a/www/orion/Makefile b/www/orion/Makefile
index 87452878276d..dcc3e7621528 100644
--- a/www/orion/Makefile
+++ b/www/orion/Makefile
@@ -7,7 +7,7 @@
PORTNAME= orion
PORTVERSION= 1.5.4
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= www java
MASTER_SITES= http://www.orionserver.com/distributions/ \
http://www.atlassian.com/software/orion/downloads/ \
diff --git a/www/tomcat41/Makefile b/www/tomcat41/Makefile
index ba785b128eaa..2b869d4cc65c 100644
--- a/www/tomcat41/Makefile
+++ b/www/tomcat41/Makefile
@@ -7,7 +7,7 @@
PORTNAME= jakarta-tomcat
PORTVERSION= 4.1.12
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www java
MASTER_SITES= http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v${PORTVERSION}/bin/ \
http://www.metaverse.nl/~ernst/ \