X-Git-Url: https://git.rapsys.eu/ihttpd/blobdiff_plain/b3308fed6e266d448faa6299a4afd85654a5f5e6..b5b5672cb19d6a406a661d728565852ba9116860:/SPECS/ihttpd.spec?ds=sidebyside diff --git a/SPECS/ihttpd.spec b/SPECS/ihttpd.spec index 856fef3..693e93a 100644 --- a/SPECS/ihttpd.spec +++ b/SPECS/ihttpd.spec @@ -6,7 +6,7 @@ Name: ihttpd Version: 2.4.38 -Release: %mkrel 1 +Release: %mkrel 6 Summary: The most widely used Web server on the Internet License: Apache License Group: System/Servers @@ -14,7 +14,6 @@ URL: http://httpd.apache.org/ Source0: http://www.apache.org/dist/httpd/httpd-%version.tar.bz2 Source1: index.bin.c Source2: reboot.sh -Source14: ihttpd.tmpfiles Source15: ihttpd.service Source16: debug-sshd.service Source18: ihttpd.dracut @@ -53,6 +52,8 @@ Requires(post): rpm-helper >= 0.24.8-1 Requires(post): openssl makedev Requires(preun): rpm-helper >= 0.24.8-1 +BuildRequires: apr-devel apr-util-devel + %description This package contains the main binary of apache, a powerful, full-featured, efficient and freely-available Web server. Apache is also the most popular Web @@ -135,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' \ @@ -166,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 @@ -176,9 +177,6 @@ gcc index.bin.c -o index.bin #IHttpd sbin install -D -p -m 755 ihttpd %{buildroot}%{_sbindir}/ihttpd -#Tmpfiles.d config -install -D -p -m 644 %{SOURCE14} %{buildroot}%{_tmpfilesdir}/ihttpd.conf - #IHttpd dracut config install -D -p -m 644 %{SOURCE18} %{buildroot}%{_sysconfdir}/dracut.conf.d/99-%{name}.conf @@ -198,14 +196,12 @@ install -D -p -m 644 %{SOURCE16} %{buildroot}%{_prefix}/lib/%{name}/ #%find_lang %name %post -%_tmpfilescreate %{name} %_create_ssl_certificate %{name} %files -n %name %config(noreplace) %{_prefix}/lib/%{name}/%{name}.conf %config(noreplace) %{_sysconfdir}/dracut.conf.d/99-%{name}.conf %{_sbindir}/%{name} -%{_tmpfilesdir}/%{name}.conf %dir %{_prefix}/lib/dracut/modules.d/99ihttpd %{_prefix}/lib/dracut/modules.d/99ihttpd/module-setup.sh %dir %{_prefix}/lib/%{name}