summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Piasek <dagger@gentoo.org>2008-09-16 10:25:38 +0000
committerRobert Piasek <dagger@gentoo.org>2008-09-16 10:25:38 +0000
commit0eed63921984a360d0afd561bc61c097b9139b54 (patch)
tree8e02b3d234150e200372f67b09eb44ea5243c07b
parentFixed compilation problems with dbus-qt3 (diff)
downloadoverlay-0eed63921984a360d0afd561bc61c097b9139b54.tar.gz
overlay-0eed63921984a360d0afd561bc61c097b9139b54.tar.bz2
overlay-0eed63921984a360d0afd561bc61c097b9139b54.zip
__initial__ port on knetworkmanager-0.7
( __it_works_for_me__ version - not for general use ) known issues: 1) _sometimes_ compilation fails with an error message: ClassGenerator: processing interface 'org.freedesktop.NetworkManager.Device.Gsm' dbusxml2qt3 -p cdmaproxy -c CDMADeviceProxy -N DBus ./../../introspection/nm-device-cdma.xml sed: can't read connectionnode.cpp_tmp: No such file or directory ClassGenerator: processing interface 'org.freedesktop.NetworkManager.Device.Cdma' make[4]: *** [introspectableinterface.cpp] Error 2 make[4]: *** Waiting for unfinished jobs.... but this file is created earlier: Generating org.freedesktop.DBus.Introspectable on demand sed s/#include\ \"secrets.h\"// connectionnode.cpp > connectionnode.cpp_tmp More investigation needed. 2) Cannot connect to wireless network because supplied PSK is not stored. Might be because I don't have wallet installed (yet). More testing needed here. svn path=/overlay/; revision=58
-rw-r--r--kde-misc/knetworkmanager/Manifest7
-rw-r--r--kde-misc/knetworkmanager/files/knetworkmanager-0.2-pam_console-fix.patch29
-rw-r--r--kde-misc/knetworkmanager/knetworkmanager-0.7_pre20080915.ebuild55
3 files changed, 91 insertions, 0 deletions
diff --git a/kde-misc/knetworkmanager/Manifest b/kde-misc/knetworkmanager/Manifest
new file mode 100644
index 0000000..5320485
--- /dev/null
+++ b/kde-misc/knetworkmanager/Manifest
@@ -0,0 +1,7 @@
+AUX knetworkmanager-0.2-pam_console-fix.patch 1290 RMD160 cab71463e5e73b0a05eceb7cc6e98f2f3e2ecdf0 SHA1 3962ebf997fc9e63fe001061f25c4b6c024eab1a SHA256 7b1c8f6dadc18c7809f7bdb988b0085ea1ff63cdc61d1d0044f55f0b7ef738cb
+DIST knetworkmanager-0.2.2.tar.bz2 735397 RMD160 c505b064ed4d8a71d59cbb8df12bd0be64e4c64e SHA1 9f48458ac0677b110dfed9da81c637d2112b67e2 SHA256 f2d8947ef30ebc2914183386ddde0a27121c7dcf131cce24c7e52a2f67156328
+DIST knetworkmanager-0.7_pre20080915.tar.bz2 825350 RMD160 1d0918c08bb781a008fef23dd0b1483f06e45f03 SHA1 3fea382f895b8eb01da8e27602213a7e6ad6a2ef SHA256 285fe814a390b04f7782f3b48176b2b114838df9fc55c4ad0a159924e57a7d9d
+EBUILD knetworkmanager-0.2.2.ebuild 2040 RMD160 69eee5fc417ede05375ceb67bef17d582c6c7113 SHA1 7bd415bcb83d416ee8da72815cae30b5cbc7f9f7 SHA256 46b9dd69541dce0f008e66e182a644d7645de5248f6fa7a9c420823caa892cf0
+EBUILD knetworkmanager-0.7_pre20080915.ebuild 1601 RMD160 4b326ea8a9a18dc89aa10db8bf91d735fd79cc8d SHA1 633ca9fada91dd680a39ad061c13bde8200c0b02 SHA256 f6be51ebfc03af80252459b5e99725b961964ad8537331bf355ecaa0f9677692
+MISC knetworkmanager-0.2.2.ebuild~ 2049 RMD160 e26c22abe4e422bb75aae85abad3b982e58e5f67 SHA1 6332b51826ad66778f451259936cec07c3979ccd SHA256 008c924cfe343a53f6e5c4875b8a4929582ef1aca4814fba26e8be33213b8bc1
+MISC knetworkmanager-0.7_pre20080915.ebuild~ 1766 RMD160 221ebbbf0355289774bbedcf6f4677e8805e5aa0 SHA1 4c462072e747d0833c3698426163b9f26c95547b SHA256 7b282595dd7261c00c3be68d91298e21a0df68fee424098d11e23fb2044ca585
diff --git a/kde-misc/knetworkmanager/files/knetworkmanager-0.2-pam_console-fix.patch b/kde-misc/knetworkmanager/files/knetworkmanager-0.2-pam_console-fix.patch
new file mode 100644
index 0000000..87d5ffb
--- /dev/null
+++ b/kde-misc/knetworkmanager/files/knetworkmanager-0.2-pam_console-fix.patch
@@ -0,0 +1,29 @@
+Name: knetworkmanager-pam_console-fix.patch
+URL: svn://svn.gentoo-xeffects.org/xeffects/trunk/kde-misc/knetworkmanager/files/knetworkmanager-pam_console-fix.patch
+Repository Root: svn://svn.gentoo-xeffects.org/xeffects
+Repository UUID: 293eb232-8020-0410-9bbe-a7a9c2f1b3fa
+
+Last Changed Author: roderick
+Last Changed Rev: 540
+Last Changed Date: 2007-03-17 22:17:12 +0100 (Sat, 17 Mar 2007)
+
+------------------------------------------------------------------------
+r540 | roderick | 2007-03-17 22:17:12 +0100 (Sat, 17 Mar 2007) | 1 line
+
+Fix to use group permissions plugdev rather than require pam console.
+------------------------------------------------------------------------
+
+
+Index: knetworkmanager-0.2/knetworkmanager/knetworkmanager.conf
+===================================================================
+--- knetworkmanager-0.2.orig/knetworkmanager/knetworkmanager.conf
++++ knetworkmanager-0.2/knetworkmanager/knetworkmanager.conf
+@@ -8,7 +8,7 @@
+ <allow send_destination="org.freedesktop.NetworkManagerInfo"/>
+ <allow send_interface="org.freedesktop.NetworkManagerInfo"/>
+ </policy>
+- <policy at_console="true">
++ <policy group="plugdev">
+ <allow own="org.freedesktop.NetworkManagerInfo"/>
+
+ <allow send_destination="org.freedesktop.NetworkManagerInfo"/>
diff --git a/kde-misc/knetworkmanager/knetworkmanager-0.7_pre20080915.ebuild b/kde-misc/knetworkmanager/knetworkmanager-0.7_pre20080915.ebuild
new file mode 100644
index 0000000..f4b91d0
--- /dev/null
+++ b/kde-misc/knetworkmanager/knetworkmanager-0.7_pre20080915.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/knetworkmanager/knetworkmanager-0.2.2_p20080528.ebuild,v 1.1 2008/06/24 17:55:41 rbu Exp $
+
+inherit kde eutils
+
+MY_PV="${PV}"
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="A KDE frontend for NetworkManager"
+HOMEPAGE="http://en.opensuse.org/Projects/KNetworkManager"
+LICENSE="GPL-2"
+#SRC_URI="ftp://ftp.kde.org/pub/kde/stable/apps/KDE3.x/network/${P}.tar.bz2"
+SRC_URI="http://dev.gentoo.org/~rbu/distfiles/${MY_P}.tar.bz2"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+IUSE="vpnc openvpn pptp dialup"
+
+
+DEPEND=">=net-misc/networkmanager-0.7.0_pre20080831
+ >=sys-apps/dbus-1.2
+ =kde-base/kdelibs-3.5*
+ >=sys-apps/hal-0.5.10
+ >=net-wireless/wireless-tools-28_pre9
+ >=dev-libs/libnl-1.1
+ >=dev-libs/dbus-qt3-0.9
+ vpnc? ( >=net-misc/networkmanager-vpnc-0.7.0_pre20080822 )
+ openvpn? ( >=net-misc/networkmanager-openvpn-0.7.0_pre20080822 )
+ pptp? ( >=net-misc/networkmanager-pptp-0.7.0_pre20080822 )
+ dialup? ( || ( =kde-base/kppp-3.5* =kde-base/kdenetwork-3.5* ) )"
+
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_compile() {
+ set-kdedir
+ export PREFIX="${KDEDIR}"
+ local myconf="$(use_with vpnc vpnc) \
+ $(use_with openvpn) \
+ $(use_with pptp) \
+ $(use_with dialup) \
+ --with-distro=gentoo --disable-rpath"
+ kde_src_compile
+}
+
+src_install() {
+ kde_src_install
+
+ # kde.eclass sets sysconfdir too weird for us, delete conf from there and reinstall to /etc
+ set-kdedir
+ rm -rf "${D}/${KDEDIR}/etc"
+ insinto /etc/dbus-1/system.d/
+ doins knetworkmanager/knetworkmanager.conf
+}