|
|
@@ -40,8 +40,8 @@ Distribution: OpenPKG
|
|
|
Class: PLUS
|
|
|
Group: KDE
|
|
|
License: GPL
|
|
|
-Version: 20040203
|
|
|
-Release: 20040203
|
|
|
+Version: 20040206
|
|
|
+Release: 20040206
|
|
|
|
|
|
# package options
|
|
|
%option with_cf no
|
|
|
@@ -97,27 +97,19 @@ AutoReqProv: no
|
|
|
%{l_gzip} -c -d kolab-%{V_ei_maj}.tar.gz | %{l_tar} xf -
|
|
|
%if "%{with_cf}" == "yes"
|
|
|
mv cfkolab-%{V_cf}/* .
|
|
|
- grep Version kolab_bootstrap
|
|
|
%{l_shtool} subst \
|
|
|
-e "s;^\(# kolab_bootstrap Version .*\);\1, OpenPKG kolab-%{version}-%{release}, kolab-cf=%{V_cf};" \
|
|
|
kolab_bootstrap
|
|
|
- grep Version kolab_bootstrap
|
|
|
- grep Version admin/kolab/index.php
|
|
|
%{l_shtool} subst \
|
|
|
-e "s;\(>Version \).[^<]*<;\1cf-%{V_cf}<;" \
|
|
|
admin/kolab/index.php
|
|
|
- grep Version admin/kolab/index.php
|
|
|
%else
|
|
|
- grep Version kolab_bootstrap
|
|
|
%{l_shtool} subst \
|
|
|
-e "s;^\(# kolab_bootstrap Version .*\);\1, OpenPKG kolab-%{version}-%{release}, kolab-ei=%{V_ei_maj}.%{V_ei_min}, engine=%{V_ei_eng}, admin=%{V_ei_adm};" \
|
|
|
kolab_bootstrap
|
|
|
- grep Version kolab_bootstrap
|
|
|
- grep Version admin/kolab/index.php
|
|
|
%{l_shtool} subst \
|
|
|
-e "s;\(>Version \).[^<]*<;\1ei-%{V_ei_maj}.%{V_ei_min}<;" \
|
|
|
admin/kolab/index.php
|
|
|
- grep Version admin/kolab/index.php
|
|
|
awk <slapd.conf.template \
|
|
|
'// { if ($1 == "pidfile") { print $0"\nreplica-pidfile @@@kolab_prefix@@@/var/openldap/slurpd.pid" } else print }' \
|
|
|
>slapd.conf.template.NEW && mv slapd.conf.template.NEW slapd.conf.template
|