Browse Source

[mod_compress] remove mod_compress

master
Glenn Strauss 2 months ago
parent
commit
bc5d4b3492
6 changed files with 4 additions and 1025 deletions
  1. +2
    -3
      configure.ac
  2. +2
    -4
      src/CMakeLists.txt
  3. +0
    -6
      src/Makefile.am
  4. +0
    -1
      src/SConscript
  5. +0
    -1
      src/meson.build
  6. +0
    -1010
      src/mod_compress.c

+ 2
- 3
configure.ac View File

@@ -921,7 +921,7 @@ AC_MSG_NOTICE([----------------------------------------])
AC_MSG_CHECKING([for zlib support])
AC_ARG_WITH([zlib],
[AC_HELP_STRING([--with-zlib],
[Enable zlib support for mod_compress]
[Enable zlib support for mod_deflate]
)],
[WITH_ZLIB=$withval],
[WITH_ZLIB=yes]
@@ -952,7 +952,7 @@ AC_MSG_NOTICE([----------------------------------------])
AC_MSG_CHECKING([for bzip2 support])
AC_ARG_WITH([bzip2],
[AC_HELP_STRING([--with-bzip2],
[Enable bzip2 support for mod_compress]
[Enable bzip2 support for mod_deflate]
)],
[WITH_BZIP2=$withval],
[WITH_BZIP2=no]
@@ -1620,7 +1620,6 @@ do_build="\
mod_auth \
mod_authn_file \
mod_cgi \
mod_compress \
mod_deflate \
mod_dirlisting \
mod_evhost \


+ 2
- 4
src/CMakeLists.txt View File

@@ -30,8 +30,8 @@ option(WITH_PCRE "with regex support [default: on]" ON)
option(WITH_WEBDAV_PROPS "with property-support for mod_webdav [default: off]")
option(WITH_WEBDAV_LOCKS "locks in webdav [default: off]")
option(WITH_BROTLI "with brotli-support for mod_deflate [default: off]")
option(WITH_BZIP "with bzip2-support for mod_compress [default: off]")
option(WITH_ZLIB "with deflate-support for mod_compress [default: on]" ON)
option(WITH_BZIP "with bzip2-support for mod_deflate [default: off]")
option(WITH_ZLIB "with deflate-support for mod_deflate [default: on]" ON)
option(WITH_KRB5 "with Kerberos5-support for mod_auth [default: off]")
option(WITH_LDAP "with LDAP-support for mod_auth mod_vhostdb_ldap [default: off]")
option(WITH_PAM "with PAM-support for mod_auth [default: off]")
@@ -781,7 +781,6 @@ add_and_install_library(mod_authn_file "mod_authn_file.c")
if(NOT WIN32)
add_and_install_library(mod_cgi mod_cgi.c)
endif()
add_and_install_library(mod_compress mod_compress.c)
add_and_install_library(mod_deflate mod_deflate.c)
add_and_install_library(mod_dirlisting mod_dirlisting.c)
add_and_install_library(mod_evasive mod_evasive.c)
@@ -1055,7 +1054,6 @@ if(HAVE_ZLIB_H OR HAVE_BZLIB_H OR HAVE_BROTLI)
if(HAVE_BZLIB_H)
set(L_MOD_DEFLATE ${L_MOD_DEFLATE} bz2)
endif()
target_link_libraries(mod_compress ${L_MOD_DEFLATE})
if(HAVE_BROTLI)
set(L_MOD_DEFLATE ${L_MOD_DEFLATE} brotlienc)
endif()


+ 0
- 6
src/Makefile.am View File

@@ -327,11 +327,6 @@ mod_access_la_SOURCES = mod_access.c
mod_access_la_LDFLAGS = $(common_module_ldflags)
mod_access_la_LIBADD = $(common_libadd)

lib_LTLIBRARIES += mod_compress.la
mod_compress_la_SOURCES = mod_compress.c
mod_compress_la_LDFLAGS = $(common_module_ldflags)
mod_compress_la_LIBADD = $(Z_LIB) $(BZ_LIB) $(common_libadd)

lib_LTLIBRARIES += mod_deflate.la
mod_deflate_la_SOURCES = mod_deflate.c
mod_deflate_la_LDFLAGS = $(BROTLI_CFLAGS) $(common_module_ldflags)
@@ -487,7 +482,6 @@ lighttpd_SOURCES = \
mod_auth.c \
mod_authn_file.c \
mod_cgi.c \
mod_compress.c \
mod_deflate.c \
mod_dirlisting.c \
mod_evasive.c \


+ 0
- 1
src/SConscript View File

@@ -103,7 +103,6 @@ modules = {
'mod_auth' : { 'src' : [ 'mod_auth.c' ], 'lib' : [ env['LIBCRYPTO'] ] },
'mod_authn_file' : { 'src' : [ 'mod_authn_file.c' ], 'lib' : [ env['LIBCRYPT'], env['LIBCRYPTO'] ] },
'mod_cgi' : { 'src' : [ 'mod_cgi.c' ] },
'mod_compress' : { 'src' : [ 'mod_compress.c' ], 'lib' : [ env['LIBZ'], env['LIBBZ2'] ] },
'mod_deflate' : { 'src' : [ 'mod_deflate.c' ], 'lib' : [ env['LIBZ'], env['LIBBZ2'], env['LIBBROTLI'] ] },
'mod_dirlisting' : { 'src' : [ 'mod_dirlisting.c' ], 'lib' : [ env['LIBPCRE'] ] },
'mod_evasive' : { 'src' : [ 'mod_evasive.c' ] },


+ 0
- 1
src/meson.build View File

@@ -922,7 +922,6 @@ modules = [
[ 'mod_alias', [ 'mod_alias.c' ] ],
[ 'mod_auth', [ 'mod_auth.c' ], [ libcrypto ] ],
[ 'mod_authn_file', [ 'mod_authn_file.c' ], [ libcrypt, libcrypto ] ],
[ 'mod_compress', [ 'mod_compress.c' ], libbz2 + libz ],
[ 'mod_deflate', [ 'mod_deflate.c' ], libbz2 + libz ],
[ 'mod_dirlisting', [ 'mod_dirlisting.c' ], libpcre ],
[ 'mod_evasive', [ 'mod_evasive.c' ] ],


+ 0
- 1010
src/mod_compress.c
File diff suppressed because it is too large
View File


Loading…
Cancel
Save