1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
#! /bin/sh /usr/share/dpatch/dpatch-run
## 10_ssl_libs.dpatch by <Michele Baldessari <michele@pupazzo.org>>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Forces linking to openssl (avoids possible missing symbol error)
@DPATCH@
diff -urNad libapache2-mod-auth-cas-1.0.8~/Makefile.in libapache2-mod-auth-cas-1.0.8/Makefile.in
--- libapache2-mod-auth-cas-1.0.8~/Makefile.in 2009-04-01 22:49:08.000000000 +0200
+++ libapache2-mod-auth-cas-1.0.8/Makefile.in 2009-04-01 22:52:14.000000000 +0200
@@ -1,7 +1,8 @@
APXS_LIBEXECDIR:=$(shell /usr/bin/apxs2 -q LIBEXECDIR)
+LIB_SSL="-lcrypto -lssl"
all:
- @APXS@ -c src/mod_auth_cas.c
+ @APXS@ -c $(LIB_SSL) src/mod_auth_cas.c
install:
if test ! -d ${DESTDIR}${APXS_LIBEXECDIR}; then mkdir -p ${DESTDIR}${APXS_LIBEXECDIR}; fi
diff -urNad libapache2-mod-auth-cas-1.0.8~/configure.ac libapache2-mod-auth-cas-1.0.8/configure.ac
--- libapache2-mod-auth-cas-1.0.8~/configure.ac 2009-04-01 22:49:08.000000000 +0200
+++ libapache2-mod-auth-cas-1.0.8/configure.ac 2009-04-01 22:52:00.000000000 +0200
@@ -7,11 +7,9 @@
AC_CONFIG_SRCDIR([src/mod_auth_cas.c])
AC_CONFIG_AUX_DIR(config)
AC_CONFIG_HEADER(config.h)
-#AM_INIT_AUTOMAKE
AC_PROG_CC
AZ_USE_APXS
AC_OUTPUT(Makefile)
-
|