]> git.pld-linux.org Git - packages/apache1-mod_ssl.git/commitdiff
- fixed undefined symbols (Malloc,Free) in mod_sxnet apache-mod_ssl-2_8_7_1_3_23-2
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 5 Mar 2002 19:58:50 +0000 (19:58 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added post/preun for mod_sxnet
- release 2

Changed files:
    apache1-mod_ssl.spec -> 1.49

apache1-mod_ssl.spec

index d2df1e65bf8869c24e49dd44933fa97c28783371..4734e5fc262d3ddeda0e3a27ed3dfc3156c0aac3 100644 (file)
@@ -20,7 +20,7 @@ Summary(sv):  Kryptografist
 Summary(uk):   íÏÄÕÌؠЦÄÔÒÉÍËÉ SSL × Apache
 Name:          apache-mod_ssl
 Version:       %{SSLVER}_%{APACHEVER}
-Release:       1
+Release:       2
 License:       BSD
 Group:         Networking/Daemons
 Source0:       http://www.modssl.org/source/mod_ssl-%{SSLVER}-%{APACHEVER}.tar.gz
@@ -160,7 +160,7 @@ export SSL_BASE
 cd pkg.contrib
 tar xvf sxnet.tar
 cd sxnet
-%{apxs} -I%{_includedir}/openssl/ -L%{_libdir} -l ssl -l crypto -c mod_sxnet.c
+%{apxs} -DMalloc=malloc -DFree=free -I%{_includedir}/openssl -L%{_libdir} -l ssl -l crypto -c mod_sxnet.c
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -204,6 +204,20 @@ if [ "$1" = "0" ]; then
        fi
 fi
 
+%post -n apache-mod_sxnet
+/usr/sbin/apxs -e -a -n sxnet %{_pkglibdir}/mod_sxnet.so 1>&2
+if [ -f /var/lock/subsys/httpd ]; then
+       /etc/rc.d/init.d/httpd restart 1>&2
+fi
+
+%preun -n apache-mod_sxnet
+if [ "$1" = "0" ]; then
+       /usr/sbin/apxs -e -A -n sxnet %{_pkglibdir}/mod_sxnet.so 1>&2
+       if [ -f /var/lock/subsys/httpd ]; then
+               /etc/rc.d/init.d/httpd restart 1>&2
+       fi
+fi
+                                               
 %files
 %defattr(644,root,root,755)
 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd/mod_ssl.conf
This page took 0.035532 seconds and 4 git commands to generate.