summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/applications/kvpnc/debian/patches
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2019-04-03 22:56:40 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2019-04-03 22:56:40 +0900
commit11394aecd1f906fee2ebd2b90412aeba4651fbff (patch)
treebcf750380e6d9fc7dbe524e16bbe2afde25dcfa0 /ubuntu/maverick/applications/kvpnc/debian/patches
parentd24bd898174453b586ac90f2ef7a60165fa26fde (diff)
downloadtde-packaging-11394aecd1f906fee2ebd2b90412aeba4651fbff.tar.gz
tde-packaging-11394aecd1f906fee2ebd2b90412aeba4651fbff.zip
DEB: use _base folder for a distro instead of specific distros (squeeze
and maverick). Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'ubuntu/maverick/applications/kvpnc/debian/patches')
-rw-r--r--ubuntu/maverick/applications/kvpnc/debian/patches/10_su-to-root_usage.diff11
-rw-r--r--ubuntu/maverick/applications/kvpnc/debian/patches/13_add_kuser_issuperuser.diff29
-rw-r--r--ubuntu/maverick/applications/kvpnc/debian/patches/series2
3 files changed, 0 insertions, 42 deletions
diff --git a/ubuntu/maverick/applications/kvpnc/debian/patches/10_su-to-root_usage.diff b/ubuntu/maverick/applications/kvpnc/debian/patches/10_su-to-root_usage.diff
deleted file mode 100644
index 711bbff74..000000000
--- a/ubuntu/maverick/applications/kvpnc/debian/patches/10_su-to-root_usage.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/src/kvpnc.desktop
-+++ b/src/kvpnc.desktop
-@@ -18,7 +18,7 @@
- GenericName[xx]=xxVPN Client GUIxx
-
- Categories=Network;RemoteAccess;TDE;Qt
--Exec=kvpnc
-+Exec=su-to-root -X -c /opt/trinity/bin/kvpnc
- X-TDE-SubstituteUID=true
- Icon=kvpnc
- Type=Application
diff --git a/ubuntu/maverick/applications/kvpnc/debian/patches/13_add_kuser_issuperuser.diff b/ubuntu/maverick/applications/kvpnc/debian/patches/13_add_kuser_issuperuser.diff
deleted file mode 100644
index 0729793b7..000000000
--- a/ubuntu/maverick/applications/kvpnc/debian/patches/13_add_kuser_issuperuser.diff
+++ /dev/null
@@ -1,29 +0,0 @@
-diff --git a/src/main.cpp b/src/main.cpp
-index 7c45fcf..b933832 100644
---- a/src/main.cpp
-+++ b/src/main.cpp
-@@ -24,6 +24,7 @@
- #include <tdemessagebox.h>
- #include <tdemainwindow.h>
- #include <kapp.h>
-+#include <kuser.h>
-
- #include <tdelocale.h>
- #include <dcopclient.h>
-@@ -134,11 +135,11 @@ int main ( int argc, char *argv[] )
- }
- else
- {
--// if (getenv("USER") != TQString("root"))
--// {
--// KMessageBox::error( 0, I18N_NOOP( "Kvpnc must be started as root!" ) );
--// exit(0);
--// }
-+ if (getenv("USER") != TQString("root"))
-+ {
-+ KMessageBox::error( 0, I18N_NOOP( "Kvpnc must be started as root!" ) );
-+ exit(0);
-+ }
-
- TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
-
diff --git a/ubuntu/maverick/applications/kvpnc/debian/patches/series b/ubuntu/maverick/applications/kvpnc/debian/patches/series
deleted file mode 100644
index d29c3ca91..000000000
--- a/ubuntu/maverick/applications/kvpnc/debian/patches/series
+++ /dev/null
@@ -1,2 +0,0 @@
-# 10_su-to-root_usage.diff
-13_add_kuser_issuperuser.diff