Branch: master

f077119a 2014-03-03 22:44:36 Darrell Anderson
Add pcf protocol handbook.
A doc/tdeioslave/Makefile.am
A doc/tdeioslave/en/Makefile.am
A doc/tdeioslave/en/pcf/Makefile.am
A doc/tdeioslave/en/pcf/index.docbook
M doc/Makefile.am
M src/Makefile.am
M src/ovpn.protocol
M src/pcf.protocol
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 274e2cb..1c42fbf 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -3,4 +3,4 @@
 
 KDE_LANG = "en de fr sv"
 KDE_DOCS = kvpnc
-SUBDIRS = $(AUTODIRS)  
+SUBDIRS = $(AUTODIRS)
diff --git a/doc/tdeioslave/Makefile.am b/doc/tdeioslave/Makefile.am
new file mode 100644
index 0000000..81fee21
--- /dev/null
+++ b/doc/tdeioslave/Makefile.am
@@ -0,0 +1 @@
+SUBDIRS = en
diff --git a/doc/tdeioslave/en/Makefile.am b/doc/tdeioslave/en/Makefile.am
new file mode 100644
index 0000000..6797d6c
--- /dev/null
+++ b/doc/tdeioslave/en/Makefile.am
@@ -0,0 +1 @@
+SUBDIRS = pcf
diff --git a/doc/tdeioslave/en/pcf/Makefile.am b/doc/tdeioslave/en/pcf/Makefile.am
new file mode 100644
index 0000000..23bef40
--- /dev/null
+++ b/doc/tdeioslave/en/pcf/Makefile.am
@@ -0,0 +1,2 @@
+KDE_LANG = en
+KDE_DOCS = tdeioslave/pcf
diff --git a/doc/tdeioslave/en/pcf/index.docbook b/doc/tdeioslave/en/pcf/index.docbook
new file mode 100644
index 0000000..037df31
--- /dev/null
+++ b/doc/tdeioslave/en/pcf/index.docbook
@@ -0,0 +1,45 @@
+<?xml version="1.0" ?>
+<!DOCTYPE article PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [
+  <!ENTITY % addindex "IGNORE">
+  <!ENTITY % English "INCLUDE" > <!-- change language only here -->
+]>
+
+<article lang="&language;" id="pcf">
+<title>pcf</title>
+
+<articleinfo>
+
+<authorgroup>
+<author>&tde-authors;</author>
+<!-- TRANS:ROLES_OF_TRANSLATORS -->
+</authorgroup>
+
+<releaseinfo>&tde-release-version;</releaseinfo>
+<date>Reviewed: &tde-release-date;</date>
+
+<copyright>
+<year>&tde-copyright-date;</year>
+<holder>&tde-team;</holder>
+</copyright>
+
+<abstract>
+<para>
+This handbook describes the pcf protocol.
+</para>
+</abstract>
+
+<keywordset>
+<keyword>TDE</keyword>
+<keyword>pcf</keyword>
+<keyword>protocol</keyword>
+</keywordset>
+
+</articleinfo>
+
+<para>The pcf protocol provides support for reading profile configuration files (pcf),
+which store information about client connections in virtual private networks (VPN). The
+ovpn protocol provides support for OpenVPN, a free/libre implemetation of virtual private
+networks (VPN).VPNs are used to connect private networks using public network
+infrastructures and encryption.</para>
+
+</article>
diff --git a/src/Makefile.am b/src/Makefile.am
index 19cacf5..2ef92ed 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -69,9 +69,11 @@
 #	$(INSTALL_DATA) $(srcdir)/x-cisco.desktop $(kde_mimedir)/application/x-cisco.desktop
 #	$(INSTALL_DATA) $(srcdir)/x-openvpn.desktop $(kde_mimedir)/application/x-openvpn.desktop
 	$(mkinstalldirs) $(DESTDIR)$(kde_datadir)/kvpnc/
-	$(INSTALL_DATA) $(srcdir)/pcf.protocol $(DESTDIR)$(kde_datadir)/kvpnc/pcf.protocol
 	$(INSTALL_DATA) $(srcdir)/ovpn.protocol $(DESTDIR)$(kde_datadir)/kvpnc/ovpn.protocol
 
+protocol_DATA = pcf.protocol
+protocoldir = $(kde_servicesdir)
+
 # this 10 paths are KDE specific. Use them:
 # kde_htmldir       Where your docs should go to. (contains lang subdirs)
 # kde_appsdir       Where your application file (.kdelnk) should go to.
diff --git a/src/ovpn.protocol b/src/ovpn.protocol
index 51c2ad1..0c59d1a 100644
--- a/src/ovpn.protocol
+++ b/src/ovpn.protocol
@@ -9,3 +9,4 @@
 writing=false
 makedir=false
 deleting=false
+Icon=kvpnc
diff --git a/src/pcf.protocol b/src/pcf.protocol
index 46a58d3..a2588c0 100644
--- a/src/pcf.protocol
+++ b/src/pcf.protocol
@@ -9,3 +9,5 @@
 writing=false
 makedir=false
 deleting=false
+Icon=kvpnc
+DocPath=tdeioslave/pcf/index.html