summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Buchholz <rbu@gentoo.org>2008-06-24 17:55:41 +0000
committerRobert Buchholz <rbu@gentoo.org>2008-06-24 17:55:41 +0000
commitcdafe11fdc90413975edfa853353423de0b2723f (patch)
tree8830d704e4c471c7072c5d6332487189817129ea /kde-misc/knetworkmanager
parentVersion bumped. (diff)
downloadgentoo-2-cdafe11fdc90413975edfa853353423de0b2723f.tar.gz
gentoo-2-cdafe11fdc90413975edfa853353423de0b2723f.tar.bz2
gentoo-2-cdafe11fdc90413975edfa853353423de0b2723f.zip
Version bump (bug #217973), a bugfix release.
(Portage version: 2.1.4.4)
Diffstat (limited to 'kde-misc/knetworkmanager')
-rw-r--r--kde-misc/knetworkmanager/ChangeLog8
-rw-r--r--kde-misc/knetworkmanager/knetworkmanager-0.2.2_p20080528.ebuild73
2 files changed, 80 insertions, 1 deletions
diff --git a/kde-misc/knetworkmanager/ChangeLog b/kde-misc/knetworkmanager/ChangeLog
index bc5446512acc..fcde1165c162 100644
--- a/kde-misc/knetworkmanager/ChangeLog
+++ b/kde-misc/knetworkmanager/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for kde-misc/knetworkmanager
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-misc/knetworkmanager/ChangeLog,v 1.7 2008/02/17 15:58:33 rbu Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/knetworkmanager/ChangeLog,v 1.8 2008/06/24 17:55:41 rbu Exp $
+
+*knetworkmanager-0.2.2_p20080528 (24 Jun 2008)
+
+ 24 Jun 2008; Robert Buchholz <rbu@gentoo.org>
+ +knetworkmanager-0.2.2_p20080528.ebuild:
+ Version bump (bug #217973), a bugfix release.
*knetworkmanager-0.2.1_p20071228 (17 Feb 2008)
diff --git a/kde-misc/knetworkmanager/knetworkmanager-0.2.2_p20080528.ebuild b/kde-misc/knetworkmanager/knetworkmanager-0.2.2_p20080528.ebuild
new file mode 100644
index 000000000000..008a303f3264
--- /dev/null
+++ b/kde-misc/knetworkmanager/knetworkmanager-0.2.2_p20080528.ebuild
@@ -0,0 +1,73 @@
+# 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="mirror://gentoo/${MY_P}.tar.bz2"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+IUSE="cisco openvpn pptp dialup"
+
+DEPEND="net-misc/networkmanager
+ =kde-base/kdelibs-3.5*
+ >=dev-libs/dbus-qt3-old-0.70
+ sys-apps/hal
+ net-wireless/wireless-tools
+ >=dev-libs/libnl-1.1
+ cisco? ( <net-misc/networkmanager-vpnc-0.7.0 )
+ openvpn? ( <net-misc/networkmanager-openvpn-0.3.3 )
+ pptp? ( <net-misc/networkmanager-pptp-0.7.0 )
+ dialup? ( || ( =kde-base/kppp-3.5* =kde-base/kdenetwork-3.5* ) )"
+
+RDEPEND="${DEPEND}"
+DEPEND="${DEPEND}
+ >=sys-kernel/linux-headers-2.6.19"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+ kde_pkg_setup
+
+ if has_version "<sys-apps/dbus-0.9" && ! built_with_use sys-apps/dbus qt3 ; then
+ echo
+ eerror "You must rebuild sys-apps/dbus with USE=\"qt3\" or use a newer version of dbus"
+ die "sys-apps/dbus not built with qt3 bindings"
+ fi
+}
+
+src_unpack() {
+ kde_src_unpack
+ cd "${S}"
+
+ epatch "${FILESDIR}/${PN}-0.2-pam_console-fix.patch"
+ epatch "${FILESDIR}/${PN}-0.2.1-fixbuild_u64-hschaa-01.patch"
+}
+
+src_compile() {
+ set-kdedir
+ export PREFIX="${KDEDIR}"
+ local myconf="$(use_with cisco 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
+}