apacheHttpd_2_2: remove

+17 -108
+1 -2
nixos/release-small.nix
··· 53 53 54 54 nixpkgs = { 55 55 inherit (nixpkgs') 56 - apacheHttpd_2_2 57 - apacheHttpd_2_4 56 + apacheHttpd 58 57 cmake 59 58 cryptsetup 60 59 emacs
+8 -13
pkgs/desktops/gnome-3/3.22/core/gnome-user-share/default.nix
··· 1 - { stdenv, intltool, fetchurl, apacheHttpd_2_2, nautilus 1 + { stdenv, intltool, fetchurl, apacheHttpd, nautilus 2 2 , pkgconfig, gtk3, glib, libxml2, gnused, systemd 3 - , bash, makeWrapper, itstool, libnotify, libtool, mod_dnssd 3 + , bash, wrapGAppsHook, itstool, libnotify, libtool, mod_dnssd 4 4 , gnome3, librsvg, gdk_pixbuf, file, libcanberra_gtk3 }: 5 5 6 6 stdenv.mkDerivation rec { ··· 11 11 NIX_CFLAGS_COMPILE = "-I${gnome3.glib.dev}/include/gio-unix-2.0"; 12 12 13 13 preConfigure = '' 14 - sed -e 's,^LoadModule dnssd_module.\+,LoadModule dnssd_module ${mod_dnssd}/modules/mod_dnssd.so,' -i data/dav_user_2.2.conf 14 + sed -e 's,^LoadModule dnssd_module.\+,LoadModule dnssd_module ${mod_dnssd}/modules/mod_dnssd.so,' \ 15 + -e 's,''${HTTP_MODULES_PATH},${apacheHttpd}/modules,' \ 16 + -i data/dav_user_2.4.conf 15 17 ''; 16 18 17 - configureFlags = [ "--with-httpd=${apacheHttpd_2_2.out}/bin/httpd" 18 - "--with-modules-path=${apacheHttpd_2_2.dev}/modules" 19 + configureFlags = [ "--with-httpd=${apacheHttpd.out}/bin/httpd" 20 + "--with-modules-path=${apacheHttpd.dev}/modules" 19 21 "--with-systemduserunitdir=$(out)/etc/systemd/user" 20 - "--disable-bluetooth" 21 22 "--with-nautilusdir=$(out)/lib/nautilus/extensions-3.0" ]; 22 23 23 24 buildInputs = [ pkgconfig gtk3 glib intltool itstool libxml2 libtool 24 - makeWrapper file gdk_pixbuf gnome3.defaultIconTheme librsvg 25 + wrapGAppsHook file gdk_pixbuf gnome3.defaultIconTheme librsvg 25 26 nautilus libnotify libcanberra_gtk3 systemd ]; 26 27 27 28 postInstall = '' 28 29 mkdir -p $out/share/gsettings-schemas/$name 29 30 mv $out/share/glib-2.0 $out/share/gsettings-schemas/$name 30 31 ${glib.dev}/bin/glib-compile-schemas $out/share/gsettings-schemas/$name/glib-2.0/schemas 31 - ''; 32 - 33 - preFixup = '' 34 - wrapProgram "$out/libexec/gnome-user-share-webdav" \ 35 - --set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \ 36 - --prefix XDG_DATA_DIRS : "$out/share:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH" 37 32 ''; 38 33 39 34 meta = with stdenv.lib; {
-80
pkgs/servers/http/apache-httpd/2.2.nix
··· 1 - { stdenv, fetchurl, pkgconfig, openssl, perl, zlib 2 - , sslSupport, proxySupport ? true 3 - , apr, aprutil, pcre 4 - , ldapSupport ? true, openldap 5 - , # Multi-processing module to use. This is built into the server and 6 - # cannot be selected at runtime. 7 - mpm ? "prefork" 8 - }: 9 - 10 - assert sslSupport -> openssl != null; 11 - assert ldapSupport -> aprutil.ldapSupport && openldap != null; 12 - assert mpm == "prefork" || mpm == "worker" || mpm == "event"; 13 - 14 - stdenv.mkDerivation rec { 15 - version = "2.2.31"; 16 - name = "apache-httpd-${version}"; 17 - 18 - src = fetchurl { 19 - url = "mirror://apache/httpd/httpd-${version}.tar.bz2"; 20 - sha256 = "1b165zi7jrrlz5wmyy3b34lcs3dl4g0dymfb0qxwdnimylcrsbzk"; 21 - }; 22 - 23 - # FIXME: -dev depends on -doc 24 - outputs = [ "out" "dev" "doc" ]; 25 - setOutputFlags = false; # it would move $out/modules, etc. 26 - 27 - propagatedBuildInputs = [ apr ]; # otherwise mod_* fail to find includes often 28 - buildInputs = [ pkgconfig perl aprutil pcre zlib ] ++ 29 - stdenv.lib.optional sslSupport openssl; 30 - 31 - # Required for ‘pthread_cancel’. 32 - NIX_LDFLAGS = (if stdenv.isDarwin then "" else "-lgcc_s"); 33 - 34 - patchPhase = '' 35 - sed -i config.layout -e "s|installbuilddir:.*|installbuilddir: $dev/share/build|" 36 - ''; 37 - 38 - preConfigure = '' 39 - configureFlags="$configureFlags --includedir=$dev/include" 40 - ''; 41 - configureFlags = '' 42 - --with-z=${zlib.dev} 43 - --with-pcre=${pcre.dev} 44 - --enable-mods-shared=all 45 - --enable-authn-alias 46 - ${if proxySupport then "--enable-proxy" else ""} 47 - ${if sslSupport then "--enable-ssl --with-ssl=${openssl.dev}" else ""} 48 - ${if ldapSupport then "--enable-ldap --enable-authnz-ldap" else ""} 49 - --with-mpm=${mpm} 50 - --enable-cache 51 - --enable-disk-cache 52 - --enable-file-cache 53 - --enable-mem-cache 54 - --docdir=$(doc)/share/doc 55 - ''; 56 - 57 - enableParallelBuilding = true; 58 - 59 - stripDebugList = "lib modules bin"; 60 - 61 - postInstall = '' 62 - mkdir -p $doc/share/doc/httpd 63 - mv $out/manual $doc/share/doc/httpd 64 - mkdir -p $dev/bin 65 - mv $out/bin/apxs $dev/bin/apxs 66 - ''; 67 - 68 - passthru = { 69 - inherit apr aprutil sslSupport proxySupport; 70 - }; 71 - 72 - meta = { 73 - description = "Apache HTTPD, the world's most popular web server"; 74 - branch = "2.2"; 75 - homepage = http://httpd.apache.org/; 76 - license = stdenv.lib.licenses.asl20; 77 - platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin; 78 - maintainers = with stdenv.lib.maintainers; [ eelco lovek323 ]; 79 - }; 80 - }
+7 -3
pkgs/servers/http/apache-modules/mod_dnssd/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, apacheHttpd_2_2, apr, avahi }: 1 + { stdenv, fetchurl, fetchpatch, pkgconfig, apacheHttpd, apr, avahi }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "mod_dnssd-0.6"; ··· 10 10 11 11 configureFlags = [ "--disable-lynx" ]; 12 12 13 - buildInputs = [ pkgconfig apacheHttpd_2_2 avahi apr ]; 13 + buildInputs = [ pkgconfig apacheHttpd avahi apr ]; 14 + 15 + patches = [ (fetchpatch { 16 + url = "http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/vivid/mod-dnssd/vivid/download/package-import%40ubuntu.com-20130530193334-kqebiy78q534or5k/portforapache2.4.pat-20130530222510-7tlw5btqchd04edb-3/port-for-apache2.4.patch"; 17 + sha256 = "1hgcxwy1q8fsxfqyg95w8m45zbvxzskf1jxd87ljj57l7x1wwp4r"; 18 + }) ]; 14 19 15 20 installPhase = '' 16 21 mkdir -p $out/modules ··· 25 30 maintainers = with maintainers; [ lethalman ]; 26 31 }; 27 32 } 28 -
+1 -10
pkgs/top-level/all-packages.nix
··· 10164 10164 rdf4store = callPackage ../servers/http/4store { }; 10165 10165 10166 10166 apacheHttpd = pkgs.apacheHttpd_2_4; 10167 - 10168 - apacheHttpd_2_2 = callPackage ../servers/http/apache-httpd/2.2.nix { 10169 - sslSupport = true; 10170 - }; 10171 - 10172 - apacheHttpd_2_4 = lowPrio (callPackage ../servers/http/apache-httpd/2.4.nix { 10173 - # 1.0.2+ for ALPN support 10174 - openssl = openssl_1_0_2; 10175 - }); 10167 + apacheHttpd_2_4 = callPackage ../servers/http/apache-httpd/2.4.nix { }; 10176 10168 10177 10169 apacheHttpdPackagesFor = apacheHttpd: self: let callPackage = newScope self; in { 10178 10170 inherit apacheHttpd; ··· 10197 10189 }; 10198 10190 10199 10191 apacheHttpdPackages = apacheHttpdPackagesFor pkgs.apacheHttpd pkgs.apacheHttpdPackages; 10200 - apacheHttpdPackages_2_2 = apacheHttpdPackagesFor pkgs.apacheHttpd_2_2 pkgs.apacheHttpdPackages_2_2; 10201 10192 apacheHttpdPackages_2_4 = apacheHttpdPackagesFor pkgs.apacheHttpd_2_4 pkgs.apacheHttpdPackages_2_4; 10202 10193 10203 10194 archiveopteryx = callPackage ../servers/mail/archiveopteryx/default.nix { };