summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-01-16 15:24:40 +0100
committerSlávek Banko <slavek.banko@axis.cz>2016-01-16 15:25:00 +0100
commit1a396e9b94018ba4c0b3fa187cf1c75c225b2c34 (patch)
tree7e0a8703183059f55964e74df8cab5735e6ae60d
parent38e2fae744670b7b4cfa8fc271b797396b8f2c09 (diff)
downloadtdenetwork-1a396e9b94018ba4c0b3fa187cf1c75c225b2c34.tar.gz
tdenetwork-1a396e9b94018ba4c0b3fa187cf1c75c225b2c34.zip
Add default ppp-options for kppp
This resolves Bug 2529 Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit affe0744622bc39fef37896c1a488bf0d53b1c8b)
-rw-r--r--kppp/CMakeLists.txt3
-rw-r--r--kppp/Makefile.am4
-rw-r--r--kppp/ppp-options1
3 files changed, 7 insertions, 1 deletions
diff --git a/kppp/CMakeLists.txt b/kppp/CMakeLists.txt
index c2ea4e64..efbaa021 100644
--- a/kppp/CMakeLists.txt
+++ b/kppp/CMakeLists.txt
@@ -34,6 +34,9 @@ link_directories(
install( FILES Kppp.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+install( FILES ppp-options
+ DESTINATION ${SYSCONF_INSTALL_DIR}/ppp/peers
+ RENAME kppp-options )
##### kppp (executable) #########################
diff --git a/kppp/Makefile.am b/kppp/Makefile.am
index d0de8ad1..8519572c 100644
--- a/kppp/Makefile.am
+++ b/kppp/Makefile.am
@@ -4,7 +4,7 @@
# make install
xdg_apps_DATA = Kppp.desktop
-EXTRA_DIST = $(xdg_apps_DATA)
+EXTRA_DIST = $(xdg_apps_DATA) ppp-options
# set the include path for X, qt and KDE
INCLUDES= $(all_includes)
@@ -127,6 +127,8 @@ messages:
# don't install a list of file. Just one file per install.
# if you have more of them, create a subdirectory with an extra Makefile
install-data-local:
+ $(mkinstalldirs) $(sysconfdir)/ppp/peers/
+ $(INSTALL_DATA) $(srcdir)/ppp-options $(sysconfdir)/ppp/peers/kppp-options
@echo ""
@echo "Don't forget to send me a phone tarif rules file for your"
@echo "telecom company/country/region. Thanks."
diff --git a/kppp/ppp-options b/kppp/ppp-options
new file mode 100644
index 00000000..32ec05f0
--- /dev/null
+++ b/kppp/ppp-options
@@ -0,0 +1 @@
+noauth