head	1.4;
access;
symbols
	JSERV_1_1_2:1.4
	JSERV_1_1_1:1.4
	JSERV_1_1_1b1:1.3
	JSERV_1_1:1.3
	V1_1b3:1.3
	V1_1b2:1.2
	V1_1b1:1.1
	CONFIG:1.1.0.4
	JSERV1_0:1.1
	JSERV1_0FC1:1.1
	JSERV1_0B5:1.1
	JSERV1_0B4:1.1
	JSERV1_0B3:1.1
	JSERV1_1DEV:1.1.0.2
	JSERV1_0B2:1.1
	JSERV1_0B1:1.1;
locks; strict;
comment	@# @;


1.4
date	2000.05.01.07.59.31;	author hzeller;	state Exp;
branches;
next	1.3;

1.3
date	99.10.09.08.50.29;	author hzeller;	state Exp;
branches;
next	1.2;

1.2
date	99.09.30.11.05.50;	author hzeller;	state Exp;
branches;
next	1.1;

1.1
date	98.11.05.23.15.50;	author ross;	state Exp;
branches;
next	;


desc
@@


1.4
log
@o rename enable-secret.patch to jserv-enable-secret.patch
@
text
@Notes on Apache JServ RPMs/SRPMs 
---------------------------------

/etc/rc.d/init.d/jserv - init script and logrotate script is currently disabled
( Ross Golder included them in previous RPM packages)

To make a SRPM from this ApacheJServ.spec file, copy the ApacheJserv*.tar.gz 
distribution and the classpathx jsdk replacement tar (URL in spec file) to your
/usr/src/redhat/SOURCES directory. Copy the jserv-enable-secret.patch
to /usr/src/redhat/SOURCES/jserv-enable-secret.patch.

Copy the ApacheJServ.spec file to /usr/src/redhat/SPECS/ and do 
rpm -ba /usr/src/redhat/SPECS/ApacheJServ.spec

You need to have apache and apache-devel installed in order to build this. 
NOTE: the apache-devel-1.3.9-4 package (provided in RedHat 6.1)
is buggy, since the /usr/sbin/apxs -q LIBEXECDIR returns garbage. It has to 
be patched first to return the right /usr/lib/apache location.

--
Henner Zeller <zeller@@to.com>
@


1.3
log
@o warn about apache-devel-1.3.9-4 which is buggy and included in RH 6.1
@
text
@d9 1
a9 1
/usr/src/redhat/SOURCES directory. Copy the enable-secret.patch
@


1.2
log
@o Make the spec file work together with the JservDistribution tar.
o Release of ApacheJServ-1.1-b1
@
text
@d4 2
a5 2
/etc/rc.d/init.d/jserv - init script and logrotate script is currently disabled ( Ross Golder included
them in previous RPM packages)
d7 3
a9 2
To make a SRPM from this ApacheJServ.spec file, copy the ApacheJserv*.tar.gz distribution and the classpathx
jsdk replacement tar (URL in spec file) to your /usr/src/redhat/SOURCES directory. Copy the enable-secret.patch
d12 2
a13 1
Copy the ApacheJServ.spec file to /usr/src/redhat/SPECS/ and do rpm -ba /usr/src/redhat/SPECS/ApacheJServ.spec
d15 4
a18 3
You need to have apache and apache-devel installed in order to build this. NOTE: the apache-devel-1.3.9-4 package
is buggy, since the /usr/sbin/apxs -q LIBEXECDIR returns garbage. It has to be patched first to return
the right /usr/lib/apache location.
@


1.1
log
@Changed '/home/httpd/classes/apache-jserv.jar' to '/usr/libexec/Apache-JServ.jar'.

Now uses the configure script and make, except that it is unable to produce 'mod_jserv.so', so that is done by hand, as it was in the old 'jserv.spec'.

Added a README, and supplied a small shell script to generate daily snapshots.
@
text
@d1 2
a2 2
Notes on Apache JServ RPMs/SRPMs
--------------------------
d4 2
a5 1
config.patch will need updating whenever the files in /conf are changed.
d7 3
a9 1
jserv.init is installed as '/etc/rc.d/init.d/jserv', which serves as the usual start/stop/restart script for the standalone wrapper. Eventually, I would like to extend this to look after multiple jservs per machine.
d11 1
a11 5
jserv.logrotate is responsible for rotating the '/var/log/httpd/servlet_log' file, as specified in the 'ApJServLogFile' configuration directive.

jserv.sh is placed in '/etc/profile.d' and adds '/usr/libexec/Apache-JServ.jar' to the shell's CLASSPATH, when the shell uses the RedHat /etc/profile file.

I have also supplied 'jserv_daily.sh' which I run here to generate the daily RPMs/SRPMS snapshots from CVS. I may not have time to maintain this service, so I have included it here in case anyone else wishes to extend or take over this service. Ideally, I'd like to see daily snapshot RPMs/SRPMs uploaded to java.apache.org, with older ones (e.g. older than 30 days) being pruned.
d13 3
d18 1
a18 1
Ross Golder <rossigee@@bigfoot.com>@

