mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
sed under Linux needs no param for -i (unlike Mac)
This commit is contained in:
parent
87afbcd6fa
commit
8dd579df55
@ -43,7 +43,7 @@ install: build
|
|||||||
mkdir -p $(CURDIR)/debian/egroupware-epl-core/etc/egroupware
|
mkdir -p $(CURDIR)/debian/egroupware-epl-core/etc/egroupware
|
||||||
cp $(CURDIR)/doc/rpm-build/apache.conf $(CURDIR)/debian/egroupware-epl-core/etc/egroupware/apache.conf
|
cp $(CURDIR)/doc/rpm-build/apache.conf $(CURDIR)/debian/egroupware-epl-core/etc/egroupware/apache.conf
|
||||||
# Debian/Ubuntu uses /usr/lib/ssl/certs with files symlinked from /usr/share/ca-certificates instead for trusted OpenSSL CA
|
# Debian/Ubuntu uses /usr/lib/ssl/certs with files symlinked from /usr/share/ca-certificates instead for trusted OpenSSL CA
|
||||||
sed -i '' 's|/etc/pki/tls/certs:/etc/pki/ca-trust|/usr/lib/ssl/certs:/usr/share/ca-certificates|g' $(CURDIR)/debian/egroupware-epl-core/etc/egroupware/apache.conf
|
sed -i 's|/etc/pki/tls/certs:/etc/pki/ca-trust|/usr/lib/ssl/certs:/usr/share/ca-certificates|g' $(CURDIR)/debian/egroupware-epl-core/etc/egroupware/apache.conf
|
||||||
# Univention needs access to /usr/sbin/univention-directory-manager symlinked to /usr/share/univention-directory-manager-tools/directory-manager-cli
|
# Univention needs access to /usr/sbin/univention-directory-manager symlinked to /usr/share/univention-directory-manager-tools/directory-manager-cli
|
||||||
sed 's|\(open_basedir .*\)|\1:/usr/sbin/univention-directory-manager:/usr/share/univention-directory-manager-tools/directory-manager-cli|' \
|
sed 's|\(open_basedir .*\)|\1:/usr/sbin/univention-directory-manager:/usr/share/univention-directory-manager-tools/directory-manager-cli|' \
|
||||||
$(CURDIR)/doc/rpm-build/apache.conf > $(CURDIR)/debian/egroupware-epl-core/etc/egroupware/apache-univention.conf
|
$(CURDIR)/doc/rpm-build/apache.conf > $(CURDIR)/debian/egroupware-epl-core/etc/egroupware/apache-univention.conf
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Name: egroupware-epl
|
Name: egroupware-epl
|
||||||
Version: 17.1.20171115
|
Version: 17.1.20180118
|
||||||
Release:
|
Release:
|
||||||
Summary: EGroupware is a web-based groupware suite written in php
|
Summary: EGroupware is a web-based groupware suite written in php
|
||||||
Group: Web/Database
|
Group: Web/Database
|
||||||
@ -577,7 +577,7 @@ cp egroupware/doc/rpm-build/apache.conf $RPM_BUILD_ROOT%{httpdconfd}/egroupware.
|
|||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
# RHEL/CentOS needs open_basedir to include /etc/pki/tls/certs:/etc/pki/ca-trust
|
# RHEL/CentOS needs open_basedir to include /etc/pki/tls/certs:/etc/pki/ca-trust
|
||||||
# SUSE uses /var/lib/ca-certificates/openssl instead for trusted OpenSSL CA
|
# SUSE uses /var/lib/ca-certificates/openssl instead for trusted OpenSSL CA
|
||||||
sed -i '' 's|/etc/pki/tls/certs:/etc/pki/ca-trust|/var/lib/ca-certificates/openssl|g' $RPM_BUILD_ROOT%{httpdconfd}/egroupware.conf
|
sed -i 's|/etc/pki/tls/certs:/etc/pki/ca-trust|/var/lib/ca-certificates/openssl|g' $RPM_BUILD_ROOT%{httpdconfd}/egroupware.conf
|
||||||
%endif
|
%endif
|
||||||
mkdir -p $RPM_BUILD_ROOT/etc/cron.d
|
mkdir -p $RPM_BUILD_ROOT/etc/cron.d
|
||||||
sed 's/apache/%{apache_user}/' egroupware/doc/rpm-build/egroupware.cron > $RPM_BUILD_ROOT/etc/cron.d/egroupware
|
sed 's/apache/%{apache_user}/' egroupware/doc/rpm-build/egroupware.cron > $RPM_BUILD_ROOT/etc/cron.d/egroupware
|
||||||
|
Loading…
Reference in New Issue
Block a user