X-Git-Url: https://git.rapsys.eu/ihttpd/blobdiff_plain/84c85f28e85d96930c9f9a3ab52cfadcb80a7d7e..b5b5672cb19d6a406a661d728565852ba9116860:/SPECS/ihttpd.spec?ds=sidebyside diff --git a/SPECS/ihttpd.spec b/SPECS/ihttpd.spec index 0e1d74e..693e93a 100644 --- a/SPECS/ihttpd.spec +++ b/SPECS/ihttpd.spec @@ -6,7 +6,7 @@ Name: ihttpd Version: 2.4.38 -Release: %mkrel 5 +Release: %mkrel 6 Summary: The most widely used Web server on the Internet License: Apache License Group: System/Servers @@ -19,7 +19,6 @@ Source16: debug-sshd.service Source18: ihttpd.dracut Source19: ihttpd.module-setup Source20: ihttpd.conf -#Source21: ihttpd.modprobe # build/scripts patches Patch1: httpd-2.4.1-apctl.patch Patch2: httpd-2.4.9-apxs.patch @@ -137,7 +136,7 @@ export LDFLAGS="-Wl,-z,relro,-z,now" # Hard-code path to links to avoid unnecessary builddep export LYNX_PATH=/usr/bin/links -%configure2_5x \ +%configure \ --enable-layout=IHttpd \ --sysconfdir='/etc' \ --includedir='/usr/include/ihttpd' \ @@ -168,7 +167,7 @@ export LYNX_PATH=/usr/bin/links --enable-modules=none \ --enable-mods-static='unixd auth_basic authn_core authn_file authz_core authz_host authz_user rewrite socache_shmcb dir mime log_config cgi ssl' -%make +%make_build export CFLAGS="$RPM_OPT_FLAGS" gcc index.bin.c -o index.bin @@ -185,9 +184,6 @@ install -D -p -m 644 %{SOURCE18} %{buildroot}%{_sysconfdir}/dracut.conf.d/99-%{n install -d -m 755 %{buildroot}%{_prefix}/lib/dracut/modules.d/99ihttpd install -D -p -m 755 %{SOURCE19} %{buildroot}%{_prefix}/lib/dracut/modules.d/99ihttpd/module-setup.sh -#IHttpd modprobe config -#install -D -p -m 644 %{SOURCE21} %{buildroot}%{_sysconfdir}/modprobe.d/%{name}.conf - #Ihttpd files install -d -m 755 %{buildroot}%{_prefix}/lib/%{name} install -D -p -m 755 index.bin %{buildroot}%{_prefix}/lib/%{name}/ @@ -205,7 +201,6 @@ install -D -p -m 644 %{SOURCE16} %{buildroot}%{_prefix}/lib/%{name}/ %files -n %name %config(noreplace) %{_prefix}/lib/%{name}/%{name}.conf %config(noreplace) %{_sysconfdir}/dracut.conf.d/99-%{name}.conf -#%config(noreplace) %{_sysconfdir}/modprobe.d/%{name}.conf %{_sbindir}/%{name} %dir %{_prefix}/lib/dracut/modules.d/99ihttpd %{_prefix}/lib/dracut/modules.d/99ihttpd/module-setup.sh