From c5916c9b9fff387eb33fea76f2304ff4f2301c5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 16 Jan 2016 15:27:59 +0100 Subject: Install kppp-options into /etc instead of /opt/trinity/etc on Debian and Ubuntu Default kppp-options moved from tde-packaging into tdenetwork This resolves Bug 2529 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit 48ab8a653e890c49969f154821569c125aaf5c9b) --- debian/squeeze/tdenetwork/debian/kppp-options | 1 - debian/squeeze/tdenetwork/debian/kppp-trinity.install | 2 +- debian/squeeze/tdenetwork/debian/rules | 8 ++++---- 3 files changed, 5 insertions(+), 6 deletions(-) delete mode 100644 debian/squeeze/tdenetwork/debian/kppp-options (limited to 'debian/squeeze/tdenetwork') diff --git a/debian/squeeze/tdenetwork/debian/kppp-options b/debian/squeeze/tdenetwork/debian/kppp-options deleted file mode 100644 index 32ec05f0e..000000000 --- a/debian/squeeze/tdenetwork/debian/kppp-options +++ /dev/null @@ -1 +0,0 @@ -noauth diff --git a/debian/squeeze/tdenetwork/debian/kppp-trinity.install b/debian/squeeze/tdenetwork/debian/kppp-trinity.install index bfebdd004..7c2f9d141 100644 --- a/debian/squeeze/tdenetwork/debian/kppp-trinity.install +++ b/debian/squeeze/tdenetwork/debian/kppp-trinity.install @@ -1,3 +1,4 @@ +debian/tmp/etc/ppp/peers/kppp-options debian/tmp/opt/trinity/bin/kppp debian/tmp/opt/trinity/bin/kppplogview debian/tmp/opt/trinity/share/applications/tde/Kppp.desktop @@ -530,4 +531,3 @@ debian/tmp/opt/trinity/share/icons/hicolor/64x64/apps/kppp.png debian/icons/kppp-16.xpm /opt/trinity/share/pixmaps debian/icons/kppp.xpm /opt/trinity/share/pixmaps -debian/kppp-options opt/trinity/etc/ppp/peers/ diff --git a/debian/squeeze/tdenetwork/debian/rules b/debian/squeeze/tdenetwork/debian/rules index ec0abfcde..a0a8e11bb 100755 --- a/debian/squeeze/tdenetwork/debian/rules +++ b/debian/squeeze/tdenetwork/debian/rules @@ -30,7 +30,7 @@ DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinit DEB_CMAKE_EXTRA_FLAGS := \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ - -DSYSCONF_INSTALL_DIR="/etc/trinity" \ + -DSYSCONF_INSTALL_DIR="/etc" \ -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_VERBOSE_MAKEFILE="ON" \ @@ -52,11 +52,11 @@ PACKAGES_WITH_LIBS := librss1-trinity kopete-trinity ksirc-trinity kwifimanager- #$(foreach p,$(PACKAGES_WITH_LIBS),$(eval DEB_DH_MAKESHLIBS_ARGS_$(p) := -V'$(p) (>= $(shlibs_ver))')) DEB_FIXPERMS_EXCLUDE := opt/trinity/bin/kppp opt/trinity/bin/kppplogview \ - opt/trinity/etc/ppp/peers/kppp-options + etc/ppp/peers/kppp-options binary-install/kppp-trinity:: chown root:dip debian/kppp-trinity/opt/trinity/bin/kppp* - chown root:dip debian/kppp-trinity/opt/trinity/etc/ppp/peers/kppp-options + chown root:dip debian/kppp-trinity/etc/ppp/peers/kppp-options chmod 4754 debian/kppp-trinity/opt/trinity/bin/kppp chmod 0754 debian/kppp-trinity/opt/trinity/bin/kppplogview - chmod 0640 debian/kppp-trinity/opt/trinity/etc/ppp/peers/kppp-options + chmod 0640 debian/kppp-trinity/etc/ppp/peers/kppp-options -- cgit v1.2.1