diff options
author | Robert Piasek <dagger@gentoo.org> | 2009-11-05 14:33:16 +0000 |
---|---|---|
committer | Robert Piasek <dagger@gentoo.org> | 2009-11-05 14:33:16 +0000 |
commit | 2b5c70f533e7ddbe12f2ab293fd544ecc1071db8 (patch) | |
tree | 9d7439abbb5198f134d5cf6732baacbbf154b212 /net-misc/networkmanager | |
parent | Initial commit wrt #253194, thanks to Alexander Bodnarashik for reporting. (diff) | |
download | historical-2b5c70f533e7ddbe12f2ab293fd544ecc1071db8.tar.gz historical-2b5c70f533e7ddbe12f2ab293fd544ecc1071db8.tar.bz2 historical-2b5c70f533e7ddbe12f2ab293fd544ecc1071db8.zip |
New development version of NetworkManager-0.8
Package-Manager: portage-2.1.7.3/cvs/Linux x86_64
RepoMan-Options: --force
Diffstat (limited to 'net-misc/networkmanager')
-rw-r--r-- | net-misc/networkmanager/ChangeLog | 8 | ||||
-rw-r--r-- | net-misc/networkmanager/Manifest | 4 | ||||
-rw-r--r-- | net-misc/networkmanager/networkmanager-0.8.0_pre20091105.ebuild | 124 |
3 files changed, 134 insertions, 2 deletions
diff --git a/net-misc/networkmanager/ChangeLog b/net-misc/networkmanager/ChangeLog index 349c24d98561..ea7ed91758f5 100644 --- a/net-misc/networkmanager/ChangeLog +++ b/net-misc/networkmanager/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-misc/networkmanager # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/networkmanager/ChangeLog,v 1.55 2009/10/24 12:12:28 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/networkmanager/ChangeLog,v 1.56 2009/11/05 14:33:16 dagger Exp $ + +*networkmanager-0.8.0_pre20091105 (05 Nov 2009) + + 05 Nov 2009; Robert Piasek <dagger@gentoo.org> + +networkmanager-0.8.0_pre20091105.ebuild: + new snapshot of development version of NetworkManager 24 Oct 2009; nixnut <nixnut@gentoo.org> networkmanager-0.7.1-r6.ebuild: ppc stable #288416 diff --git a/net-misc/networkmanager/Manifest b/net-misc/networkmanager/Manifest index 41a1dd544a77..8c2c4e7a34ee 100644 --- a/net-misc/networkmanager/Manifest +++ b/net-misc/networkmanager/Manifest @@ -14,6 +14,7 @@ DIST NetworkManager-0.7.1-gentoo-patches-1b.tar.bz2 36726 RMD160 201e68e6760d615 DIST NetworkManager-0.7.1.tar.bz2 1226975 RMD160 117677b5da4e66df0287e5a974c80709e988dcb3 SHA1 3f734b8c606bcc71a43c63ba3993524d8db807ca SHA256 7526a31de615a662cb09e915f26e5b151eda364240d983df6232aac8b9333f3a DIST NetworkManager-0.7.1_p20090824.tar.bz2 1188200 RMD160 5a532d310c206907a23b285919eb2eda2d46ea0c SHA1 133a32dff26906cc728bfd6c9daf3ad5b7aa34d9 SHA256 80de2cb86a85a3644495688df58385d4caa8d5bb8abb5f9480b08ca12a5b21d4 DIST NetworkManager-0.8.0_pre20090824.tar.bz2 1182851 RMD160 7ad9631bedb60218b1f3c59318fa9aa699b2fbfd SHA1 30761bf0d97f8495cbe565bcb913aebb3a13a6e1 SHA256 466864918d95fc56754743850a3c880da413b36c9a8c97faad2c07ab5231a4a3 +DIST NetworkManager-0.8.0_pre20091105.tar.bz2 1332837 RMD160 26ff456e841d7c6ac7e1e42424834290541ee9f0 SHA1 d2694da7656c0e0172d771929cad5be4afb08672 SHA256 fcb611d9ebf1df947837c5cced99c180056b0b047abd2d09f3605a1d7d192134 DIST networkmanager-0.6.5_p20070823-updatedbackend.patch.bz2 5006 RMD160 f35c35a3db8dbd3178c8325a4eb8a641653a85f0 SHA1 5f9a3b1d85e4a08fa242ab1ff73c6d08ec2791d8 SHA256 0ee0ee38a3e5ac1f501d83dd424dd95e69871dd9e7d67cf2e09e9a378ae10fa8 EBUILD networkmanager-0.6.5_p20070823.ebuild 2703 RMD160 f26ac7b1b243c9be2e087042984453230d1b65f4 SHA1 d8d21f867a132d1368429b5f57d93be594a8a919 SHA256 bf05ebe5e345e0016b0391708813f1ae78ea10446dbbfd8c2f9d82a456b158e9 EBUILD networkmanager-0.6.6.ebuild 2621 RMD160 7516ea6287cfe7c9b98e4f8e5203bf4b1642c8e6 SHA1 6dfc5a1e518e5b4b335a28ceeb248f8e1c639175 SHA256 8dce1c81ef039889d0bdd0ec9c18a3f3da14b42f20ba6ced5639808d6708bbe5 @@ -21,5 +22,6 @@ EBUILD networkmanager-0.7.1-r3.ebuild 4258 RMD160 c6b0326c2080c2b9ce2b38d3fbfa9a EBUILD networkmanager-0.7.1-r6.ebuild 4026 RMD160 616df13f99f397cf2d3e328ec8d19ababbd02ab5 SHA1 752759a2f4d4bd7dd1118e99cfd974813fe8830f SHA256 8023de7caf820e3b588a41df85630f986b85243881e6a5c07678c4478341520d EBUILD networkmanager-0.7.1_p20090824.ebuild 3867 RMD160 1d39ff7fdd486ffa1a5914e5afdbc2b17abaa546 SHA1 5dbe17ece7800176fa7c2fd77e2c631eb696d17e SHA256 f9f4ef9115d43d94f080d426229b0cca840cb8606605915052636d50137b3925 EBUILD networkmanager-0.8.0_pre20090824.ebuild 3592 RMD160 b29ac882a60371db56da46fd5663ca1e36a55fa9 SHA1 17fb43ec7c3227c34ec1231dcf3838d16fee9f00 SHA256 b53649f4ff13a661a6cb301c21eaedf47a9a04563336035f54549f63d3e066ea -MISC ChangeLog 12155 RMD160 88a82cadd0b2bb68e002fb22d952d1fb6d6a1484 SHA1 f3c056e0d6ca7d56c1e368c42871be08bb963c6e SHA256 70d56345f8d390297f40b7cffc50b6d2381375856cb45785337fd79155169767 +EBUILD networkmanager-0.8.0_pre20091105.ebuild 3590 RMD160 65790b64d41df9aa6b26287733b30f1f16520271 SHA1 f73f14f599a0fb0e3f39705d0a983865ef65b43e SHA256 d250535942be12e2e274b5181892b67a0752e5ecf8ede1caaa73db6b4c69b87d +MISC ChangeLog 12354 RMD160 026947591149d74db20e433a365e1831b85d3471 SHA1 bfa8ea3fa09fadba7f009336b58179cdd0f75458 SHA256 932be0cc0e5b25f2e4150027b2811df4972c72b3e5c9b80af5b574d615259e84 MISC metadata.xml 969 RMD160 c16683ef7fed4b5603029ae39f5872032ec37554 SHA1 813e0b48a78ce50d5257030507d22fd0e9452161 SHA256 e4375eae4ff0d47386780e4d29575e6581f7c9b89168372bb1bb7713a452c02f diff --git a/net-misc/networkmanager/networkmanager-0.8.0_pre20091105.ebuild b/net-misc/networkmanager/networkmanager-0.8.0_pre20091105.ebuild new file mode 100644 index 000000000000..803666fe9ff6 --- /dev/null +++ b/net-misc/networkmanager/networkmanager-0.8.0_pre20091105.ebuild @@ -0,0 +1,124 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/networkmanager/networkmanager-0.8.0_pre20091105.ebuild,v 1.1 2009/11/05 14:33:16 dagger Exp $ + +EAPI="2" +inherit eutils + +# NetworkManager likes itself with capital letters +MY_PN=${PN/networkmanager/NetworkManager} +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Network configuration and management in an easy way. Desktop environment independent." +HOMEPAGE="http://www.gnome.org/projects/NetworkManager/" +SRC_URI="http://dev.gentoo.org/~dagger/files/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" +IUSE="avahi bluetooth doc nss gnutls dhclient dhcpcd resolvconf connection-sharing" + +RDEPEND=">=sys-apps/dbus-1.2 + >=dev-libs/dbus-glib-0.75 + >=net-wireless/wireless-tools-28_pre9 + >=sys-fs/udev-145[extras] + >=dev-libs/glib-2.16 + >=sys-auth/polkit-0.92 + >=dev-libs/libnl-1.1 + >=net-misc/modemmanager-0.2 + >=net-wireless/wpa_supplicant-0.5.10[dbus] + bluetooth? ( net-wireless/bluez ) + || ( sys-libs/e2fsprogs-libs <sys-fs/e2fsprogs-1.41.0 ) + avahi? ( net-dns/avahi[autoipd] ) + gnutls? ( + nss? ( >=dev-libs/nss-3.11 ) + !nss? ( dev-libs/libgcrypt + net-libs/gnutls ) ) + !gnutls? ( >=dev-libs/nss-3.11 ) + dhclient? ( + dhcpcd? ( >=net-misc/dhcpcd-4.0.0_rc3 ) + !dhcpcd? ( >=net-misc/dhcp-3.0.0 ) ) + !dhclient? ( >=net-misc/dhcpcd-4.0.0_rc3 ) + resolvconf? ( net-dns/openresolv ) + connection-sharing? ( + net-dns/dnsmasq + net-firewall/iptables )" + +DEPEND="${RDEPEND} + dev-util/pkgconfig + dev-util/intltool + net-dialup/ppp + doc? ( >=dev-util/gtk-doc-1.8 )" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + + # Fix up the dbus conf file to use plugdev group + epatch "${FILESDIR}/${PN}-0.7.1-confchanges.patch" + +} + +src_configure() { + ECONF="--disable-more-warnings + --localstatedir=/var + --with-distro=gentoo + --with-dbus-sys-dir=/etc/dbus-1/system.d + $(use_enable doc gtk-doc) + $(use_with doc docs) + $(use_with resolvconf)" + + # default is dhcpcd (if none or both are specified), ISC dchclient otherwise + if use dhclient ; then + if use dhcpcd ; then + ECONF="${ECONF} --with-dhcp-client=dhcpcd" + else + ECONF="${ECONF} --with-dhcp-client=dhclient" + fi + else + ECONF="${ECONF} --with-dhcp-client=dhcpcd" + fi + + # default is NSS (if none or both are specified), GnuTLS otherwise + if use gnutls ; then + if use nss ; then + ECONF="${ECONF} --with-crypto=nss" + else + ECONF="${ECONF} --with-crypto=gnutls" + fi + else + ECONF="${ECONF} --with-crypto=nss" + fi + + econf ${ECONF} +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + # Need to keep the /var/run/NetworkManager directory + keepdir /var/run/NetworkManager + + # Need to keep the /etc/NetworkManager/dispatched.d for dispatcher scripts + keepdir /etc/NetworkManager/dispatcher.d + + dodoc AUTHORS ChangeLog NEWS README TODO || die "dodoc failed" + + # Add keyfile plugin support + keepdir /etc/NetworkManager/system-connections + insinto /etc/NetworkManager + newins "${FILESDIR}/nm-system-settings.conf" nm-system-settings.conf \ + || die "newins failed" + insinto /etc/udev/rules.d + newins callouts/77-nm-probe-modem-capabilities.rules 77-nm-probe-modem-capabilities.rules + rm -rf "${D}"/lib/udev/rules.d +} + +pkg_postinst() { + elog "You will need to restart DBUS if this is your first time" + elog "installing NetworkManager." + elog "" + elog "To save system-wide settings as a user, that user needs to have the" + elog "right policykit privileges. You can add them by running:" + elog 'polkit-auth --grant org.freedesktop.network-manager-settings.system.modify --user "USERNAME"' +} |