Commit be5ed1fe authored by dcoutadeur dcoutadeur's avatar dcoutadeur dcoutadeur
Browse files

update sles packaging scripts for auto-enabling Apache modules

git-svn-id: svn:// 1dbb9719-a921-0410-b57f-c3a383c2c641
parent edb2180a
......@@ -385,6 +385,10 @@ build_lemonldap_package()
sed -i 's/\(^Requires: .*perl-ldap.*$\)/\1 perl-Env perl-Digest-SHA perl-Crypt-DES_EDE3 perl-Class-ErrorHandler perl-Convert-PEM perl-String-CRC32 perl-Mouse perl-Net-CIDR-Lite perl-XML-LibXSLT perl-Clone perl-Crypt-OpenSSL-RSA perl-Crypt-OpenSSL-X509 perl-Email-Date-Format perl-SOAP-Lite perl-String-Random perl-JSON/' SPECS/lemonldap-ng.spec
# Automatically enable apache modules
sed -i '/^\%post .*lemonldap-ng-conf/a a2enmod perl\na2enmod ssl\na2enmod rewrite\na2enmod proxy\na2enmod proxy_http\na2enmod headers' \
rpmbuild -ba SPECS/lemonldap-ng.spec
# gather packages
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment