summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Buchholz <rbu@gentoo.org>2007-08-23 12:35:14 +0000
committerRobert Buchholz <rbu@gentoo.org>2007-08-23 12:35:14 +0000
commitfe9b4f655f132dbacd8efad8db9b296e559d10d8 (patch)
treed530d1c8dffb5cacd4e3ac3371c41f6080c4eeb3 /kde-misc
parentMinor fix (diff)
downloadhistorical-fe9b4f655f132dbacd8efad8db9b296e559d10d8.tar.gz
historical-fe9b4f655f132dbacd8efad8db9b296e559d10d8.tar.bz2
historical-fe9b4f655f132dbacd8efad8db9b296e559d10d8.zip
Initial ebuild based on Gentopia's. (Bugs #153727 and #135331)
Package-Manager: portage-2.1.3.6
Diffstat (limited to 'kde-misc')
-rw-r--r--kde-misc/knetworkmanager/ChangeLog14
-rw-r--r--kde-misc/knetworkmanager/Manifest43
-rw-r--r--kde-misc/knetworkmanager/files/digest-knetworkmanager-0.26
-rw-r--r--kde-misc/knetworkmanager/files/knetworkmanager-0.2-fix-desktop-icon.patch13
-rw-r--r--kde-misc/knetworkmanager/files/knetworkmanager-0.2-fixbuild_u64-hschaa-01.patch15
-rw-r--r--kde-misc/knetworkmanager/files/knetworkmanager-0.2-kppp.patch30
-rw-r--r--kde-misc/knetworkmanager/files/knetworkmanager-0.2-pam_console-fix.patch29
-rw-r--r--kde-misc/knetworkmanager/knetworkmanager-0.2.ebuild64
-rw-r--r--kde-misc/knetworkmanager/metadata.xml18
9 files changed, 232 insertions, 0 deletions
diff --git a/kde-misc/knetworkmanager/ChangeLog b/kde-misc/knetworkmanager/ChangeLog
new file mode 100644
index 000000000000..f1e918b470eb
--- /dev/null
+++ b/kde-misc/knetworkmanager/ChangeLog
@@ -0,0 +1,14 @@
+# ChangeLog for kde-misc/knetworkmanager
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/knetworkmanager/ChangeLog,v 1.1 2007/08/23 12:35:13 rbu Exp $
+
+*knetworkmanager-0.2 (23 Aug 2007)
+
+ 23 Aug 2007; Robert Buchholz <rbu@gentoo.org>
+ +files/knetworkmanager-0.2-fix-desktop-icon.patch,
+ +files/knetworkmanager-0.2-fixbuild_u64-hschaa-01.patch,
+ +files/knetworkmanager-0.2-kppp.patch,
+ +files/knetworkmanager-0.2-pam_console-fix.patch, +metadata.xml,
+ +knetworkmanager-0.2.ebuild:
+ Initial ebuild based on Gentopia's. (Bugs #153727 and #135331)
+
diff --git a/kde-misc/knetworkmanager/Manifest b/kde-misc/knetworkmanager/Manifest
new file mode 100644
index 000000000000..f7fe3088059e
--- /dev/null
+++ b/kde-misc/knetworkmanager/Manifest
@@ -0,0 +1,43 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX knetworkmanager-0.2-fix-desktop-icon.patch 426 RMD160 912bf45eef402b3cdc1e81a158b977bfb43e5382 SHA1 8a0674e9585ff848ad66b6129f9452a2e0d2ecd2 SHA256 aabaae9a1721af57a81eb1c9dafbba1590825e41e2b748188fe5f788f44946e0
+MD5 521d200981e8b16db49760b6bf0b6013 files/knetworkmanager-0.2-fix-desktop-icon.patch 426
+RMD160 912bf45eef402b3cdc1e81a158b977bfb43e5382 files/knetworkmanager-0.2-fix-desktop-icon.patch 426
+SHA256 aabaae9a1721af57a81eb1c9dafbba1590825e41e2b748188fe5f788f44946e0 files/knetworkmanager-0.2-fix-desktop-icon.patch 426
+AUX knetworkmanager-0.2-fixbuild_u64-hschaa-01.patch 566 RMD160 27cd973efbb3a7755c21596da73b661d1c5deea7 SHA1 bd811d5a0e8a16b35d02fdd41ea76564c65a70c7 SHA256 44e6e0043a132daf43744c4853c1a436254bcdc30a52fd0434ae1919d9f112bd
+MD5 4944d32d86f22f4064fcc74feb635131 files/knetworkmanager-0.2-fixbuild_u64-hschaa-01.patch 566
+RMD160 27cd973efbb3a7755c21596da73b661d1c5deea7 files/knetworkmanager-0.2-fixbuild_u64-hschaa-01.patch 566
+SHA256 44e6e0043a132daf43744c4853c1a436254bcdc30a52fd0434ae1919d9f112bd files/knetworkmanager-0.2-fixbuild_u64-hschaa-01.patch 566
+AUX knetworkmanager-0.2-kppp.patch 1361 RMD160 a31b400698ee6b4b8f1b1b84da4168a88ffe88d8 SHA1 9ace96bc81639070e8198c1963fa1385837fbb92 SHA256 80279e19090287e98a4e4604a099018bb0dc068655d0ad3afcdae8415d13f95f
+MD5 c4ccedf6d7db94160341e9740806c487 files/knetworkmanager-0.2-kppp.patch 1361
+RMD160 a31b400698ee6b4b8f1b1b84da4168a88ffe88d8 files/knetworkmanager-0.2-kppp.patch 1361
+SHA256 80279e19090287e98a4e4604a099018bb0dc068655d0ad3afcdae8415d13f95f files/knetworkmanager-0.2-kppp.patch 1361
+AUX knetworkmanager-0.2-pam_console-fix.patch 1290 RMD160 cab71463e5e73b0a05eceb7cc6e98f2f3e2ecdf0 SHA1 3962ebf997fc9e63fe001061f25c4b6c024eab1a SHA256 7b1c8f6dadc18c7809f7bdb988b0085ea1ff63cdc61d1d0044f55f0b7ef738cb
+MD5 eee5d95e3ab443968379a29cdbbf5f4a files/knetworkmanager-0.2-pam_console-fix.patch 1290
+RMD160 cab71463e5e73b0a05eceb7cc6e98f2f3e2ecdf0 files/knetworkmanager-0.2-pam_console-fix.patch 1290
+SHA256 7b1c8f6dadc18c7809f7bdb988b0085ea1ff63cdc61d1d0044f55f0b7ef738cb files/knetworkmanager-0.2-pam_console-fix.patch 1290
+DIST kde-admindir-3.5.5.tar.bz2 187274 RMD160 24528f3bf94e7d1a1036b6e5af180719785839ed SHA1 b640d2606305201b0ec030555c324d326440efff SHA256 1aa56856e432839ec74a67ab33fc21b56ed4f1b4b5c60bfd5b953cb2d3423153
+DIST knetworkmanager-0.2.tar.bz2 225228 RMD160 35d465d152254608d8777435f4b934197cab30f8 SHA1 ce36cab2306cd5a06ca7cd536196628f052e0c4a SHA256 d2fa5215913081301abf5f32603d19d4d66a4c8977c54184dfbdd011cbd5fe08
+EBUILD knetworkmanager-0.2.ebuild 1918 RMD160 1792634333383c26ced5a93fc9303d3a0c72cf45 SHA1 5dfd5c1ee5812d5062097314b0fea5e6f3b7c390 SHA256 861f2e6aff98e29ce349e182b26a67773b4d84fb791858596c4b35824b369c74
+MD5 fabc3c40e5bf12e3a6362f88180752a6 knetworkmanager-0.2.ebuild 1918
+RMD160 1792634333383c26ced5a93fc9303d3a0c72cf45 knetworkmanager-0.2.ebuild 1918
+SHA256 861f2e6aff98e29ce349e182b26a67773b4d84fb791858596c4b35824b369c74 knetworkmanager-0.2.ebuild 1918
+MISC ChangeLog 619 RMD160 08c8cceba54dc38d45fa33787ac0e0024b4883ef SHA1 9916dd4f1a94a8d8ab021fe8efabfc3c08b544c3 SHA256 21082dae4fb949042740c52a2bc76fc66cc846f2c4cf53cc94f920a44b45ff42
+MD5 f6b94c6569302e561537a3add0b601cb ChangeLog 619
+RMD160 08c8cceba54dc38d45fa33787ac0e0024b4883ef ChangeLog 619
+SHA256 21082dae4fb949042740c52a2bc76fc66cc846f2c4cf53cc94f920a44b45ff42 ChangeLog 619
+MISC metadata.xml 721 RMD160 c82db275287f8f19fba2aec79eddae4141cb0206 SHA1 3814452f446a42a691161a57f65f9c0fb7b736ab SHA256 e19b3ac6b63abff01173041bbe1fc7a958c756abe9d5ed966e1820f436a076b0
+MD5 49e2113c891d920546dcd5b454bab99e metadata.xml 721
+RMD160 c82db275287f8f19fba2aec79eddae4141cb0206 metadata.xml 721
+SHA256 e19b3ac6b63abff01173041bbe1fc7a958c756abe9d5ed966e1820f436a076b0 metadata.xml 721
+MD5 7bbfcafb10df9da1026d62b5a7c2466a files/digest-knetworkmanager-0.2 521
+RMD160 018c27a469daf5326cb202ea5004d411aab48f04 files/digest-knetworkmanager-0.2 521
+SHA256 d7c3939e839a7ba1b2a027e1481cae269dbcdac4b26df55e6a5741a0957be766 files/digest-knetworkmanager-0.2 521
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.7 (GNU/Linux)
+
+iD8DBQFGzX8GyZx3L/ph1soRAhCEAKCK5y8P0FpMGSGp+RYpXeFj3muNCwCfUGq1
+bLcFNHRr5AQF0gjo7lovwIw=
+=61Il
+-----END PGP SIGNATURE-----
diff --git a/kde-misc/knetworkmanager/files/digest-knetworkmanager-0.2 b/kde-misc/knetworkmanager/files/digest-knetworkmanager-0.2
new file mode 100644
index 000000000000..2735854ba5df
--- /dev/null
+++ b/kde-misc/knetworkmanager/files/digest-knetworkmanager-0.2
@@ -0,0 +1,6 @@
+MD5 0631502f50688142ae50da2cb136a422 kde-admindir-3.5.5.tar.bz2 187274
+RMD160 24528f3bf94e7d1a1036b6e5af180719785839ed kde-admindir-3.5.5.tar.bz2 187274
+SHA256 1aa56856e432839ec74a67ab33fc21b56ed4f1b4b5c60bfd5b953cb2d3423153 kde-admindir-3.5.5.tar.bz2 187274
+MD5 9e1962bbc060e3dec806ff2463d2aec4 knetworkmanager-0.2.tar.bz2 225228
+RMD160 35d465d152254608d8777435f4b934197cab30f8 knetworkmanager-0.2.tar.bz2 225228
+SHA256 d2fa5215913081301abf5f32603d19d4d66a4c8977c54184dfbdd011cbd5fe08 knetworkmanager-0.2.tar.bz2 225228
diff --git a/kde-misc/knetworkmanager/files/knetworkmanager-0.2-fix-desktop-icon.patch b/kde-misc/knetworkmanager/files/knetworkmanager-0.2-fix-desktop-icon.patch
new file mode 100644
index 000000000000..3810f4473718
--- /dev/null
+++ b/kde-misc/knetworkmanager/files/knetworkmanager-0.2-fix-desktop-icon.patch
@@ -0,0 +1,13 @@
+From suse
+
+--- ./knetworkmanager/src/knetworkmanager.desktop 2007/03/09 10:14:59 1.1
++++ ./knetworkmanager/src/knetworkmanager.desktop 2007/03/09 10:15:08
+@@ -6,7 +6,7 @@
+ GenericName[ja]=ネットワークマネージャ
+ GenericName[pt]=Gestor de Redes
+ Exec=knetworkmanager
+-Icon=network
++Icon=knetworkmanager
+ Type=Application
+ Comment=A KDE frontend for NetworkManager
+ Comment[da]=En KDE-grænseflade for Networkmanager
diff --git a/kde-misc/knetworkmanager/files/knetworkmanager-0.2-fixbuild_u64-hschaa-01.patch b/kde-misc/knetworkmanager/files/knetworkmanager-0.2-fixbuild_u64-hschaa-01.patch
new file mode 100644
index 000000000000..b047c9b238ff
--- /dev/null
+++ b/kde-misc/knetworkmanager/files/knetworkmanager-0.2-fixbuild_u64-hschaa-01.patch
@@ -0,0 +1,15 @@
+From Suse.
+
+"This patch won't be submitted to the svn version as it is only an ugly workaround for issues caused by libnl's handling of kernel types (fixed in libnl trunk)."
+
+--- knetworkmanager/src/Makefile.am
++++ knetworkmanager/src/Makefile.am
+@@ -31,7 +31,7 @@
+ lib_LTLIBRARIES =
+ kdeinit_LTLIBRARIES = knetworkmanager.la
+
+-KDE_CXXFLAGS = -UQT_NO_ASCII_CAST
++KDE_CXXFLAGS = -UQT_NO_ASCII_CAST -std=gnu++98
+
+ # the application source, library search path, and link libraries
+ knetworkmanager_la_SOURCES = main.cpp knetworkmanager.cpp knetworkmanager-dbus.cpp \
diff --git a/kde-misc/knetworkmanager/files/knetworkmanager-0.2-kppp.patch b/kde-misc/knetworkmanager/files/knetworkmanager-0.2-kppp.patch
new file mode 100644
index 000000000000..789f0142f6ab
--- /dev/null
+++ b/kde-misc/knetworkmanager/files/knetworkmanager-0.2-kppp.patch
@@ -0,0 +1,30 @@
+Add Gentoo support for dial-up Dialog.
+
+Sent upstream: http://bugs.kde.org/148951
+
+Index: knetworkmanager-0.2/knetworkmanager/configure.in.in
+===================================================================
+--- knetworkmanager-0.2.orig/knetworkmanager/configure.in.in
++++ knetworkmanager-0.2/knetworkmanager/configure.in.in
+@@ -85,9 +85,10 @@ CPPFLAGS=$safe_CPPFLAGS
+ LIBS=$safe_LIBS
+ AC_LANG_RESTORE
+
+-AC_ARG_WITH(distro, AC_HELP_STRING([--with-distro=DISTRO], [Specify the Linux distribution to target: suse]))
++AC_ARG_WITH(distro, AC_HELP_STRING([--with-distro=DISTRO], [Specify the Linux distribution to target: suse,gentoo]))
+ if test "x$with_distro" = "x"; then
+ AC_CHECK_FILE(/etc/SuSE-release,with_distro="suse")
++ AC_CHECK_FILE(/etc/gentoo-release,with_distro="gentoo")
+ if test "x$with_distro" = "x"; then
+ with_distro=`lsb_release -is`
+ fi
+@@ -102,6 +103,9 @@ else
+ suse)
+ AC_DEFINE_UNQUOTED(KNETWORKMANAGER_DIALUP_CONFIG, "kdesu --nonewdcop /sbin/yast2 modem", [Command to launch dial up configuration tool])
+ ;;
++ gentoo)
++ AC_DEFINE_UNQUOTED(KNETWORKMANAGER_DIALUP_CONFIG, "kdesu --nonewdcop ${KDEDIR}/bin/kppp", [Command to launch dial up configuration tool])
++ ;;
+ *)
+ echo "Your distribution (${with_distro}) is not yet supported (e.g. you will not be able to launch a tool to configure dial-up connections.)"
+ ;;
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 000000000000..87d5ffb37a3f
--- /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.2.ebuild b/kde-misc/knetworkmanager/knetworkmanager-0.2.ebuild
new file mode 100644
index 000000000000..70c4750e4ccd
--- /dev/null
+++ b/kde-misc/knetworkmanager/knetworkmanager-0.2.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/knetworkmanager/knetworkmanager-0.2.ebuild,v 1.1 2007/08/23 12:35:13 rbu Exp $
+
+inherit kde eutils
+
+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
+ mirror://gentoo/kde-admindir-3.5.5.tar.bz2"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="cisco openvpn pptp"
+
+DEPEND="net-misc/networkmanager
+ kde-base/kppp
+ >=kde-base/kdelibs-3.2
+ || ( >=dev-libs/dbus-qt3-old-0.70 =sys-apps/dbus-0.62-r1 )
+ sys-apps/hal
+ net-wireless/wireless-tools
+ dev-libs/libnl
+ cisco? ( <net-misc/networkmanager-vpnc-0.7.0 )
+ openvpn? ( <net-misc/networkmanager-openvpn-0.3.3 )
+ pptp? ( <net-misc/networkmanager-pptp-0.7.0 )"
+
+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
+ ln -s "${WORKDIR}/admin" "${S}/admin"
+ cd "${S}"
+
+ epatch "${FILESDIR}/${P}-kppp.patch"
+ epatch "${FILESDIR}/${P}-pam_console-fix.patch"
+ epatch "${FILESDIR}/${P}-fix-desktop-icon.patch"
+ epatch "${FILESDIR}/${P}-fixbuild_u64-hschaa-01.patch"
+}
+
+src_compile() {
+ set-kdedir
+ export PREFIX="${KDEDIR}"
+ local myconf="$(use_with cisco vpnc) $(use_with openvpn) $(use_with pptp) --with-distro=gentoo --disable-rpath"
+ kde_src_compile
+}
+
+src_install() {
+ kde_src_install make
+ dodoc knetworkmanager/{AUTHORS,NEWS,README}
+
+ # 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
+}
diff --git a/kde-misc/knetworkmanager/metadata.xml b/kde-misc/knetworkmanager/metadata.xml
new file mode 100644
index 000000000000..56816f702a47
--- /dev/null
+++ b/kde-misc/knetworkmanager/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>kde</herd>
+ <maintainer>
+ <email>rbu@gentoo.org</email>
+ <name>Robert Buchholz</name>
+ </maintainer>
+ <longdescription lang="en">
+ KNetworkManager is the KDE front end for NetworkManager. It
+ provides a sophisticated and intuitive user interface which
+ enables users easily to switch their network environment.
+ The range of functions encompasses the features implemented by
+ NetworkManager daemon. It supports Wired Ethernet, Wireless
+ Ethernet Devices (Unencrypted, WEP, WPA), Virtual Private
+ Networks (OpenVPN, VPNC, PPTP) and Dial-Up (PPP).
+ </longdescription>
+</pkgmetadata>