Selaa lähdekoodia

add OpenPKG release branding

Ralf S. Engelschall 22 vuotta sitten
vanhempi
commit
e1aa2a9610
2 muutettua tiedostoa jossa 4 lisäystä ja 1 poistoa
  1. 1 1
      apache/apache.base
  2. 3 0
      apache/apache.spec

+ 1 - 1
apache/apache.base

@@ -12,7 +12,7 @@ ServerType             standalone
 ServerRoot             @l_prefix@
 ServerAdmin            root@@l_hostname@.@l_domainname@
 ServerName             @l_hostname@.@l_domainname@
-ServerTokens           Prod
+ServerTokens           Full
 User                   @l_nusr@
 Group                  @l_ngrp@
 Port                   80

+ 3 - 0
apache/apache.spec

@@ -367,6 +367,9 @@ AutoReqProv:  no
     #   unpack Apache distribution
     %setup0 -q -c
     %patch0 -p0
+    %{l_shtool} subst \
+        -e 's;"Unix";"%{l_openpkg_release -F "OpenPKG/%%s"}";g' \
+        apache_%{V_apache}/src/os/unix/os.h
 
     #   unpack optional extension modules
 %if "%{with_mod_ssl}" == "yes"