RE: tomcat 4.0.4b2 rpm available

2002-05-07 Thread Jason Corley


Henri,
I have a couple of quick questions for you about the tomcat4 RPMs.  You left 
%{confdir} defined as %{homedir}/conf which leaves server.xml, web.xml, etc. installed 
in /var/tomcat4/conf.  Is this intentional?  Also, what distro and version are you 
building these on (just for curiosity sake)?  I was going to try to build from the 
SRPM and see if I couldn't help out, but I don't have junit and xalan-j RPMs (and 
can't seem to find them on their respective home pages).  Do you have pre-built 
versions of these RPMs, and if so where can I get them?  If not, should they be built 
(I can try my hand at it) and included in the same directory for people who want to 
download and build via SRPM?
Thanks,
Jason

-Original Message-
From: GOMEZ Henri [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 07, 2002 8:25 AM
To: Tomcat Developers List
Subject: tomcat 4.0.4b2 rpm available


With some delay they are available at :

http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.4-b2/rpms/

BTW : connector stuff is not updated since I'll wait for a mod_webapp 1.2.0
  and mod_jk 1.2.1 release and make rpms for them.


-
Henri Gomez ___[_]
EMAIL : [EMAIL PROTECTED](. .) 
PGP KEY : 697ECEDD...oOOo..(_)..oOOo...
PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6 


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: tomcat 4.0.4b2 rpm available

2002-05-07 Thread GOMEZ Henri

I have a couple of quick questions for you about the tomcat4 
RPMs.  You left %{confdir} defined as %{homedir}/conf which 
leaves server.xml, web.xml, etc. installed in 
/var/tomcat4/conf.  Is this intentional?  

Yes, but the spec make provision to locate confdir in /etc/tomcat4/conf.
And to keep compat with tc we'll use symlink between real location,
/etc/tomcat4/conf and /var/tomcat4/conf

Also, what distro 
and version are you building these on (just for curiosity 
sake)?  

Redhat 6.2 or 7.2, with jikes 1.15

I was going to try to build from the SRPM and see if I 
couldn't help out, but I don't have junit and xalan-j RPMs 
(and can't seem to find them on their respective home pages).  

You could find them at www.jpackage.org, a Java RPM packaging
project which cover many many java tools (I'm also involved there)

Do you have pre-built versions of these RPMs, and if so where 
can I get them?  If not, should they be built (I can try my 
hand at it) and included in the same directory for people who 
want to download and build via SRPM?

You could get them at jpackage ;)

BTW, the FHS location and tomcat 4 listening on standard port
8080, 8081, 8009 (ajp) is planned for tomcat 4.0.4 rpm (or may
be tomcat 4.0.4b2 rpm release 2.

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: tomcat 4.0.4b2 rpm available

2002-05-07 Thread Jason Corley


Ok, I understand now -- from your announcement of the RPM I thought the FHS work had 
been done, but you are saying that it has not been done but will be done prior to the 
final RPM of 4.0.4.  I guess that makes more sense. :-) I haven't looked at these new 
RPMs too closely but I noticed a couple of errors on install/removal.  Right now, 
/var/tomcat4 and /etc/tomcat4 are not owned by the RPM, so they don't get removed when 
rpm -e executes.  Also, the %preun removes a nonexistant file (wrong path).  Here is a 
patch to the specfile to fix those errors (not sure if the /etc/tomcat4 solution is 
the right way to do this or if it should be defined as a macro).  I'll send more if I 
find anything.
Thanks,
Jason
P.S.  http://www.jpackage.org/ is pretty cool.  Should there be a link in the RPM 
directory to the site (for those who want to build the tomcat4 RPM but don't know 
where to get those packages)?


--- tomcat4-4.0.4-b2.spec   Tue May  7 11:39:15 2002
+++ tomcat4-4.0.4-b2.spec.new   Tue May  7 11:54:10 2002
@@ -256,7 +256,7 @@

 # remove linked jars
 rm -f %{homedir}/common/lib/servlet.jar
-rm -f %{homedir}/servlet/lib/jakarta-regexp-1.2.jar
+rm -f %{homedir}/server/lib/jakarta-regexp-1.2.jar
 rm -f %{homedir}/common/lib/xerces.jar

 %{_sbindir}/userdel %{name}
@@ -271,10 +271,12 @@

 %files
 %defattr(644 root root 755)
+%attr(755,root,root)  %dir  %{homedir}
 %attr(755,root,root)  %dir  %{appdir}
 %attr(755,root,root)  %dir  %{bindir}
 %attr(755,root,root)  %dir  %{commondir}
 %attr(755,root,root)  %dir  %{confdir}
+%attr(755,root,root)  %dir  %{_sysconfdir}/%{name}
 %attr(755,root,root)  %dir  %{sconfdir}
 %attr(755,root,root)  %dir  %{libdir}
 %attr(755,root,root)  %dir  %{logdir}

-Original Message-
From: GOMEZ Henri [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 07, 2002 10:48 AM
To: Tomcat Developers List
Subject: RE: tomcat 4.0.4b2 rpm available


I have a couple of quick questions for you about the tomcat4 
RPMs.  You left %{confdir} defined as %{homedir}/conf which 
leaves server.xml, web.xml, etc. installed in 
/var/tomcat4/conf.  Is this intentional?  

Yes, but the spec make provision to locate confdir in /etc/tomcat4/conf.
And to keep compat with tc we'll use symlink between real location,
/etc/tomcat4/conf and /var/tomcat4/conf

Also, what distro 
and version are you building these on (just for curiosity 
sake)?  

Redhat 6.2 or 7.2, with jikes 1.15

I was going to try to build from the SRPM and see if I 
couldn't help out, but I don't have junit and xalan-j RPMs 
(and can't seem to find them on their respective home pages).  

You could find them at www.jpackage.org, a Java RPM packaging
project which cover many many java tools (I'm also involved there)

Do you have pre-built versions of these RPMs, and if so where 
can I get them?  If not, should they be built (I can try my 
hand at it) and included in the same directory for people who 
want to download and build via SRPM?

You could get them at jpackage ;)

BTW, the FHS location and tomcat 4 listening on standard port
8080, 8081, 8009 (ajp) is planned for tomcat 4.0.4 rpm (or may
be tomcat 4.0.4b2 rpm release 2.

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: tomcat 4.0.4b2 rpm available

2002-05-07 Thread GOMEZ Henri

Ok, I understand now -- from your announcement of the RPM I 
thought the FHS work had been done, but you are saying that it 
has not been done but will be done prior to the final RPM of 
4.0.4.  I guess that makes more sense. :-) I haven't looked at 
these new RPMs too closely but I noticed a couple of errors on 
install/removal.  Right now, /var/tomcat4 and /etc/tomcat4 are 
not owned by the RPM, so they don't get removed when rpm -e 
executes.  Also, the %preun removes a nonexistant file (wrong 
path).  Here is a patch to the specfile to fix those errors 
(not sure if the /etc/tomcat4 solution is the right way to do 
this or if it should be defined as a macro).  I'll send more 
if I find anything.
Thanks,
Jason

P.S.  http://www.jpackage.org/ is pretty cool.  

Thanks fully loaded in java rpms
Why not subscribe ?

Should there 
be a link in the RPM directory to the site (for those who want 
to build the tomcat4 RPM but don't know where to get those packages)?

At least in README.html.

--- tomcat4-4.0.4-b2.spec   Tue May  7 11:39:15 2002
+++ tomcat4-4.0.4-b2.spec.new   Tue May  7 11:54:10 2002
@@ -256,7 +256,7 @@

 # remove linked jars
 rm -f %{homedir}/common/lib/servlet.jar
-rm -f %{homedir}/servlet/lib/jakarta-regexp-1.2.jar
+rm -f %{homedir}/server/lib/jakarta-regexp-1.2.jar
 rm -f %{homedir}/common/lib/xerces.jar

 %{_sbindir}/userdel %{name}
@@ -271,10 +271,12 @@

 %files
 %defattr(644 root root 755)
+%attr(755,root,root)  %dir  %{homedir}
 %attr(755,root,root)  %dir  %{appdir}
 %attr(755,root,root)  %dir  %{bindir}
 %attr(755,root,root)  %dir  %{commondir}
 %attr(755,root,root)  %dir  %{confdir}
+%attr(755,root,root)  %dir  %{_sysconfdir}/%{name}
 %attr(755,root,root)  %dir  %{sconfdir}
 %attr(755,root,root)  %dir  %{libdir}
 %attr(755,root,root)  %dir  %{logdir}

Thanks

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]