Commit graph

82 commits

Author SHA1 Message Date
jlam
d7f69e47ce Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES".  This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile.  Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
2003-01-28 22:03:00 +00:00
grant
dac711e214 allow 'mkcert' to work on Solaris by using ${SH} rather than /bin/sh. 2002-12-03 14:31:32 +00:00
jlam
05234b75b2 Bump PKGREVISION of ap-ssl: no longer install apache_start.conf; Apache/SSL
users should just add:

	apache_start="startssl"

to /etc/rc.conf.
2002-11-19 23:03:53 +00:00
martti
8e58914d62 Fix BUILDLINK_DEPENDS.apache 2002-11-18 08:15:19 +00:00
tron
2abca9a311 Update "apache" package to version 1.3.27nb1 which is now based version
2.8.12-1.3.27 of "mod_ssl" module so that one doesn't need two version
of the "mod_ssl" sources to build "apache".
2002-10-25 09:00:29 +00:00
taca
108c6a0eff Update ap-ssl package to 2.8.12.
Changes with mod_ssl 2.8.12 (04-Oct-2002 to 23-Oct-2002)

   *) Fixed potential Cross-Site-Scripting bug.

   *) Allow also 8192 bytes of shared memory data size.
2002-10-25 02:29:10 +00:00
tron
56dbfe2693 Update "ap-ssl" package to version 2.8.11. Changes since 2.8.10:
- Upgraded to Apache 1.3.27.
- Fixed internal error handling for CRL verification.
- Initialize OpenSSL ENGINE before initializing OpenSSL
  to workaround problems with the PRNG.
- Also find "openssl" executable in "sbin" directories.
- Honor specified number of maximum bytes on SSLRandomSeed
  if reading from EGD.
- Fixed generation of SSL_CLIENT_CERT_CHAIN_[0-9] variables.
2002-10-04 19:16:46 +00:00
taca
98befe5f99 Update BUILDLINK_DEPENDS.apache to apache-1.3.26nb5.
Should I bump ap-ssl's PKG_REVISION, too?
2002-09-27 03:43:43 +00:00
wiz
e8817c9088 Complete standardization of messages according to latest pkglint. 2002-09-24 12:29:55 +00:00
grant
b9e3298441 format and word Apache module MESSAGEs consistently. 2002-08-26 00:12:46 +00:00
jlam
a020ed9056 Merge packages from the buildlink2 branch back into the main trunk that
have been converted to USE_BUILDLINK2.
2002-08-25 21:50:52 +00:00
mycroft
4230bb8777 Crank PKGREVISION here, too. 2002-08-01 01:03:17 +00:00
mycroft
85ce6a4a7c Grrrr, stupid static version number for apache. 2002-08-01 01:02:25 +00:00
wiz
d9d20415b9 Want apache-1.3.26nb3 now. 2002-07-31 00:57:18 +00:00
tron
c2c4e4daee Fix version number in dependence on "apache" package. 2002-06-24 16:36:27 +00:00
taca
c21a213279 Update ap-ssl to 2.8.10 (mod_ssl 2.8.10).
Changes with mod_ssl 2.8.10 (19-Jun-2002 to 24-Jun-2002)

   *) Fixed off-by-one buffer overflow bug in the compatibility
      functionality (mapping of old directives to new ones).

   *) Fixed memory leak in processing of CA certificates.

   *) In case there is actually a certificate chain in the session cache,
      we now use the value of SSL_get_peer_certificate(ssl) to verify as
      it will have been removed from the chain before it was put in the
      cache.

   *) Seed the PRNG with a maximum of 1K from the internal scoreboard.
2002-06-24 16:26:49 +00:00
tron
f7e64164e2 Add missing "source/" to master site entries for "ftp.funet.fi". 2002-06-19 15:22:36 +00:00
tron
dbbbec1cd7 Fix dependence on "apachage" package. 2002-06-19 13:54:39 +00:00
jdolecek
d94ae5e191 update for now-available mod_ssl-2.8.9-1.3.26 2002-06-19 11:03:58 +00:00
jdolecek
38271d52e6 add hack to compile with Apache 1.3.26; this should be removed once
newer version of mod_ssl would be available.
2002-06-19 10:20:06 +00:00
tron
e524caa7e4 Add a two mirror sites because the main site isn't that fast. 2002-06-19 07:10:59 +00:00
tron
6d9acca950 Update version number in dependence on "apache". 2002-06-18 11:36:35 +00:00
jlam
7e8dea6c91 Update www/ap-ssl to 2.8.8. Changes from version 2.8.7 include:
*) Upgraded to Apache 1.3.24
   *) Support leading whitespaces in commands of SSLLog "|..." directives.
   *) Fixed timeout handling on connection establishment by correctly
      resetting the timeout on errors.
   *) Fixed two memory leaks related to CA certificate configuration.
   *) Fixed memory leak related to temporary DH key handling.
   *) Fixed memory leak on shutdown if CRLs are used.
   *) Fixed remaining SIGBUS problems on SPARC inside SHMCB session
      cache implementation.
2002-04-02 14:22:23 +00:00
jlam
60f5701ef0 Update www/ap-ssl to 2.8.7 from the mod_ssl-2.8.7-1.3.23 distribution.
Relevant changes from version 2.8.6 include:

   *) Fixed potential buffer overflow in DBM and SHMHT session
      cache if very very large certificate chains are used.

   *) Compliance with POSIX 1003.1-2001 (SUSv3) by replacing obsolete
      "head -1" and "tail -1" constructs with sed variants in scripts.
2002-02-28 05:45:44 +00:00
jlam
401c787b36 Update www/ap-ssl to 2.8.6:
*) Upgraded to Apache 1.3.23

   *) Fixed a subtle indexing bug in SHMCB. Each sub-cache used an
      indexing structure that (correctly) used index values (and ranges)
      as "unsigned int", but the meta-structure in the header had these
      ranged as "unsigned char".

   *) Perform the SHMCB remove operation under mutual exclusion
      to prevent a inter-process synchronization problem.

   *) Made sure that mod_ssl does not segfault in case of
      SCOREBOARD_SIZE < 1024.

   *) Merged in the SDBM patch from Uwe Ohse which fixes a problem with
      sdbms .dir file, which arrises when a second .dir block is needed
      for the first time. read() returns 0 in that case, and the library
      forgot to initialize that new block. A related problem is that the
      calculation of db->maxbno is wrong. It just appends 4096*BYTESIZ
      bits, which is not enough except for small databases (.dir
      basically doubles everytime it's too small).
2002-02-01 16:05:15 +00:00
jlam
3d83091f3b Move ownership of SSL-related config directories from www/apache to this
package.
2002-01-01 06:12:38 +00:00
jlam
55ffb37406 bsd.pkg.install.mk calls the INSTALL script at the right times
automatically, so no need to do it ourselves.
2001-12-02 06:56:38 +00:00
jlam
6e896e42e0 Forgot a CONFDIR -> PKG_SYSCONFDIR replacement. 2001-11-26 07:30:44 +00:00
jlam
ffceca11a9 PKG_SYSCONFDIR is where the configuration files for a package may be found.
This value may be customized in various ways:

PKG_SYSCONFBASE is the main config directory under which all package
	configuration files are to be found.

PKG_SYSCONFSUBDIR is the subdirectory of PKG_SYSCONFBASE under which the
	configuration files for a particular package may be found.

PKG_SYSCONFDIR.${PKGBASE} overrides the value of ${PKG_SYSCONFDIR} for a
	particular package.

Users will typically want to set PKG_SYSCONFBASE to /etc, or accept the
default location of ${PREFIX}/etc.

This obsoletes the use of CONFDIR, which was active for only 6 days, so no
need to have a workaround to still accept old CONFDIR settings.
2001-11-25 18:59:45 +00:00
jlam
b23d2e8626 Adapt to use shared INSTALL/DEINSTALL scripts by using the logic in
bsd.pkg.install.mk:

	* Remove old DEINSTALL/INSTALL scripts.
	* Move some text printed at POST-INSTALL time into the MESSAGE file.
	* Adjust rc.d scripts to respect rc.conf settings, so that the
	  script may be directly copied into /etc/rc.d.
2001-11-19 16:23:08 +00:00
zuntum
431e7a7dda Move pkg/ files into package's toplevel directory 2001-11-01 02:15:23 +00:00
jlam
b6d299c11f Update ap-ssl to 2.8.5 from the mod_ssl-2.8.5-1.3.22 distribution.
Changes from version 2.8.4 include:

   *) Upgraded to Apache 1.3.22
   *) Fixed check whether server certificate wildcard CommonName (CN)
      matches the configured server name.
   *) Fixed buffer overflow.
2001-10-17 19:17:11 +00:00
jlam
f79573370a Mechanical changes to 375 files to change dependency patterns of the form
foo-* to foo-[0-9]*.  This is to cause the dependencies to match only the
packages whose base package name is "foo", and not those named "foo-bar".
A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net.  Also
change dependency examples in Packages.txt to reflect this.
2001-09-27 23:17:41 +00:00
jlam
9820a22a90 In package Makefiles, create FILES_SUBST instead of duplicating sed
expression for substituting in DEINSTALL/INSTALL scripts.  Use "${CMP} -s"
instead of "diff -q" since the former is more portable across OSes.
2001-07-13 07:09:17 +00:00
jlam
0fd480400b Update ap-ssl to 2.8.4 using mod_ssl-2.8.4-1.3.20. Relevant changes from
version 2.8.3 include:

   *) Upgraded to Apache 1.3.20
2001-06-09 06:50:24 +00:00
jlam
00f02e20eb Update ap-ssl to 2.8.4 using mod_ssl-2.8.4-1.3.20. The only relevant change
from version 2.8.3 is upgrading the mod_ssl sources to patch against Apache
1.3.20.  The pkgsrc changes include unifying repeated SED replacement info
for various files into one location, FILES_SUBST.
2001-06-09 06:50:23 +00:00
jlam
e870d60151 Update ap-ssl to 2.8.3. Changes from version 2.8.2 include:
*) Allow loadcacert.cgi script to work inside mod_perl.

   *) Fixed typo in the directive descriptions in mod_ssl.c

   *) Fixed ENGINE support: the engine support is are now already
      loaded at configure time. Else mod_ssl fails to find them.
2001-05-14 14:02:47 +00:00
jlam
973a745d6d Add APACHE_SYSCONFDIR to BUILD_DEFS. 2001-04-30 04:27:34 +00:00
jlam
d2115787d1 Need apache>=1.3.19nb1, the apache package version with the mod_ssl-2.8.2
patches.
2001-04-29 20:40:32 +00:00
jlam
c9b1cd81cf Update ap-ssl to 2.8.2. Relevant changes from version 2.8.1:
*) Moved the Shared Memory Cyclic Buffer (SHMCB) session cache
      variant from "experimental" state to "production" by removing the
      `#ifdef SSL_EXPERIMENTAL_SHMCB ...#endif' wrappers. This means
      that now `SSLSessionCache shmcb:...' is unconditionally available.

   *) Made the mutex handling more robust by retrying the
      semaphore-based operations in interrupt situations
      (errno == EINTR).

   *) Also log the OpenSSL error message if the RSA temporary
      key(s) cannot be generated.

   *) Fixed mod_ssl Auth handler: it now returns DECLINED instead of
      OK if authentication is passed successfully to allow other modules
      (usually mod_auth) to still deny the request.

   *) Fixed certificate DN handling under EBCDIC platforms.
2001-04-29 20:36:47 +00:00
skrll
aa3c03b75a Move to sha1 digests, and add distfile sizes. 2001-04-20 12:02:30 +00:00
agc
8f972b049a + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 12:12:16 +00:00
hubertf
e32afb6fea Change BUILD_DEPENDS semantics:
first component is now a package name+version/pattern, no more
executable/patchname/whatnot.

While there, introduce BUILD_USES_MSGFMT as shorthand to pull in
devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current).

Patch by Alistair Crooks <agc@netbsd.org>
2001-03-27 03:19:43 +00:00
jlam
527504db74 Update ap-ssl to 2.8.1. No functional changes from ap-ssl-2.8.0 -- just
update work with apache-1.3.19.
2001-03-13 20:54:47 +00:00
wiz
a0745845b3 Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:21:28 +00:00
tron
30e6f552db Fix incorrect version number in dependence on "apache" package. 2001-02-07 15:23:29 +00:00
jlam
cf3433738e Update ap-ssl to 2.8.0. Relevant changes from version 2.7.1:
-) Rename mod_ssl.conf to apache_start.conf.
   *) Upgraded to Apache 1.3.17 as base version.
   *) Allow %{ENV:variable} in SSLRequire expressions, too.
   *) Make sure the user is not able to fake the client certificate
      based authentication by just entering an X.509 Subject DN
      ("/XX=YYY/XX=YYY/..") as the username and "password" as the
      password if "SSLVerifyClient optional" is used in combination
      with "SSLOptions +FakeBasicAuth".
2001-02-02 16:41:22 +00:00
wiz
b979f7222a Add automatic ${VARIABLE} handling for MESSAGE files.
Convert most MESSAGE files to new syntax (${VARIABLE} gets replaced,
not @VARIABLE@, nor @@VARIABLE@@).
By default, substitutions are done for LOCALBASE, PKGNAME, PREFIX,
X11BASE, X11PREFIX; additional patterns can be added via MESSAGE_SUBST.
Clean up some packages while I'm there; add RCS tags to most MESSAGEs.
Remove some uninteresting MESSAGEs.
2001-01-29 11:34:21 +00:00
tv
a1936cfdb4 Change DEPENDS to 1.3.14nb1. 2001-01-13 15:30:49 +00:00
jlam
fed7aee3f4 Update ap-ssl to 2.7.1 using mod_ssl-2.7.1-1.3.14. Also update apache to
1.3.14.1, adding a superminor version number to indicate possible EAPI
update.

   *) Fixed the parsing of SSLSessionCache directives. The prefixes were
      incorrectly skipped and leaded to "unable to open semaphore file"
      errors.
2000-10-17 18:14:15 +00:00