summaryrefslogtreecommitdiffstats
path: root/confskel
diff options
context:
space:
mode:
authorgregory guy <g-gregory@gmx.fr>2019-04-03 18:19:30 +0200
committerSlávek Banko <slavek.banko@axis.cz>2019-04-07 20:39:07 +0200
commit961f36bb7b23ba3ff6606743ade216f7f56c33da (patch)
tree2225ef2e46a2878d29d160e51559fc655cd89659 /confskel
parentef47d91dd30f750fffb2d1c08f24f848d0bb26b4 (diff)
downloadkcmldapcontroller-961f36bb7b23ba3ff6606743ade216f7f56c33da.tar.gz
kcmldapcontroller-961f36bb7b23ba3ff6606743ade216f7f56c33da.zip
conversion to the cmake building system
Signed-off-by: gregory guy <g-gregory@gmx.fr> (cherry picked from commit 307a1a53261669dc8d1d2ee031a8927f64ddb27a)
Diffstat (limited to 'confskel')
-rw-r--r--confskel/CMakeLists.txt3
-rw-r--r--confskel/heimdal/CMakeLists.txt9
-rw-r--r--confskel/openldap/CMakeLists.txt7
-rw-r--r--confskel/openldap/ldap/CMakeLists.txt7
-rw-r--r--confskel/openldap/ldif/CMakeLists.txt6
-rw-r--r--confskel/sasl/CMakeLists.txt7
6 files changed, 39 insertions, 0 deletions
diff --git a/confskel/CMakeLists.txt b/confskel/CMakeLists.txt
new file mode 100644
index 0000000..3c244fa
--- /dev/null
+++ b/confskel/CMakeLists.txt
@@ -0,0 +1,3 @@
+add_subdirectory( heimdal )
+add_subdirectory( openldap )
+add_subdirectory( sasl )
diff --git a/confskel/heimdal/CMakeLists.txt b/confskel/heimdal/CMakeLists.txt
new file mode 100644
index 0000000..3704863
--- /dev/null
+++ b/confskel/heimdal/CMakeLists.txt
@@ -0,0 +1,9 @@
+install(
+ FILES
+ heimdal.defaults
+ kadmind.acl
+ kdc.conf
+ krb5.conf
+
+ DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}/skel/heimdal
+)
diff --git a/confskel/openldap/CMakeLists.txt b/confskel/openldap/CMakeLists.txt
new file mode 100644
index 0000000..a6077a8
--- /dev/null
+++ b/confskel/openldap/CMakeLists.txt
@@ -0,0 +1,7 @@
+add_subdirectory( ldap )
+add_subdirectory( ldif )
+
+install(
+ FILES skel.ldif
+ DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}/skel/openldap
+)
diff --git a/confskel/openldap/ldap/CMakeLists.txt b/confskel/openldap/ldap/CMakeLists.txt
new file mode 100644
index 0000000..c3a5422
--- /dev/null
+++ b/confskel/openldap/ldap/CMakeLists.txt
@@ -0,0 +1,7 @@
+install(
+ FILES
+ slapd.conf
+ slapd.defaults
+
+ DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}/skel/openldap/ldap
+)
diff --git a/confskel/openldap/ldif/CMakeLists.txt b/confskel/openldap/ldif/CMakeLists.txt
new file mode 100644
index 0000000..c7d84fa
--- /dev/null
+++ b/confskel/openldap/ldif/CMakeLists.txt
@@ -0,0 +1,6 @@
+file( GLOB _ldifs RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.ldif )
+
+install(
+ FILES ${_ldifs}
+ DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}/skel/openldap/ldif
+)
diff --git a/confskel/sasl/CMakeLists.txt b/confskel/sasl/CMakeLists.txt
new file mode 100644
index 0000000..c22e8a1
--- /dev/null
+++ b/confskel/sasl/CMakeLists.txt
@@ -0,0 +1,7 @@
+install(
+ FILES
+ slapd.conf
+ saslauthd.defaults
+
+ DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}/skel/sasl
+)