← Back to team overview

zorba-coders team mailing list archive

[Merge] lp:~juan457/zorba/email-module-bugfixes into lp:zorba/email-module

 

Juan Zacarias has proposed merging lp:~juan457/zorba/email-module-bugfixes into lp:zorba/email-module.

Requested reviews:
  Chris Hillery (ceejatec)

For more details, see:
https://code.launchpad.net/~juan457/zorba/email-module-bugfixes/+merge/79984

Added missing dependency files.
-- 
https://code.launchpad.net/~juan457/zorba/email-module-bugfixes/+merge/79984
Your team Zorba Coders is subscribed to branch lp:zorba/email-module.
=== added file 'cmake_modules/FindKerberos.cmake'
--- cmake_modules/FindKerberos.cmake	1970-01-01 00:00:00 +0000
+++ cmake_modules/FindKerberos.cmake	2011-10-20 17:32:26 +0000
@@ -0,0 +1,47 @@
+# Copyright 2006-2008 The FLWOR Foundation.
+# 
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# 
+# http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# Finds the KERBEROS library
+#
+#  KERBEROS_FOUND        - True if SASL library found.
+#  KERBEROS_LIBRARY      - Libraries to link against for the SASL library
+#
+
+if (KERBEROS_LIBRARIES)
+  # Already in cache, be silent
+ set(KERBEROS_FIND_QUIETLY TRUE)
+endif (KERBEROS_LIBRARIES)
+
+# Look for the library.
+find_library(
+  KERBEROS_LIBRARY
+  NAMES gssapi_krb5
+  PATHS ${KERBEROS_LIBRARY_DIRS} /opt/local/lib /usr/lib /usr/local/lib
+  DOC "Library to link against for kerberos support (gssapi_krb5)")
+mark_as_advanced(KERBEROS_LIBRARY)
+
+if (KERBEROS_LIBRARY)
+  MESSAGE(STATUS "Found Kerberos library -- " ${KERBEROS_LIBRARY})
+else (KERBEROS_LIBRARY)
+  MESSAGE(STATUS "Could not find Kerberos library")
+endif (KERBEROS_LIBRARY)
+
+# Copy the results to the output variables.
+if(KERBEROS_LIBRARY)
+  set(KERBEROS_FOUND 1)
+else(KERBEROS_LIBRARY)
+  set(KERBEROS_FOUND 0)
+  set(KERBEROS_LIBRARY)
+  set(KERBEROS_INCLUDE)
+endif(KERBEROS_LIBRARY)

=== added file 'cmake_modules/FindPAM.cmake'
--- cmake_modules/FindPAM.cmake	1970-01-01 00:00:00 +0000
+++ cmake_modules/FindPAM.cmake	2011-10-20 17:32:26 +0000
@@ -0,0 +1,37 @@
+# Copyright 2006-2008 The FLWOR Foundation.
+# 
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# 
+# http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# Try to find the PAM libraries
+#
+# PAM_FOUND       - True if PAM library found
+# PAM_INCLUDE_DIR - Directory to include to get PAM headers
+# PAM_LIBRARIES   - Libraries to link against for the PAM library
+
+if (PAM_INCLUDE_DIR AND PAM_LIBRARY)
+ # Already in cache, be silent
+ set(PAM_FIND_QUIETLY TRUE)
+endif (PAM_INCLUDE_DIR AND PAM_LIBRARY)
+
+find_path(PAM_INCLUDE_DIR NAMES security/pam_appl.h pam/pam_appl.h)
+find_library(PAM_LIBRARY pam)
+find_library(DL_LIBRARY dl)
+
+if (PAM_INCLUDE_DIR AND PAM_LIBRARY)
+ set(PAM_FOUND TRUE)
+  if (DL_LIBRARY)
+    set(PAM_LIBRARIES ${PAM_LIBRARY} ${DL_LIBRARY})
+  else (DL_LIBRARY)
+    set(PAM_LIBRARIES ${PAM_LIBRARY})
+  endif (DL_LIBRARY)
+endif (PAM_INCLUDE_DIR AND PAM_LIBRARY)


Follow ups