diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2011-07-06 16:12:49 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2011-07-06 16:12:49 +0000 |
commit | 66f61c76742846f9a091adbc2fd8e32c6f696fa7 (patch) | |
tree | c188d2b692b69ea9f0bc918591ef929ef59a26d3 /net-misc/modemmanager | |
parent | Respect CFLAGS (again, bug #369607). (diff) | |
download | historical-66f61c76742846f9a091adbc2fd8e32c6f696fa7.tar.gz historical-66f61c76742846f9a091adbc2fd8e32c6f696fa7.tar.bz2 historical-66f61c76742846f9a091adbc2fd8e32c6f696fa7.zip |
Fix udev rules.d directory from /etc/udev to /lib/udev.
Package-Manager: portage-2.2.0_alpha41/cvs/Linux x86_64
Diffstat (limited to 'net-misc/modemmanager')
-rw-r--r-- | net-misc/modemmanager/ChangeLog | 8 | ||||
-rw-r--r-- | net-misc/modemmanager/Manifest | 13 | ||||
-rw-r--r-- | net-misc/modemmanager/modemmanager-0.4_p20110205-r1.ebuild | 64 |
3 files changed, 83 insertions, 2 deletions
diff --git a/net-misc/modemmanager/ChangeLog b/net-misc/modemmanager/ChangeLog index 9b79550e5417..03dfa517410a 100644 --- a/net-misc/modemmanager/ChangeLog +++ b/net-misc/modemmanager/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-misc/modemmanager # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/modemmanager/ChangeLog,v 1.19 2011/06/09 02:02:42 sping Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/modemmanager/ChangeLog,v 1.20 2011/07/06 16:12:49 ssuominen Exp $ + +*modemmanager-0.4_p20110205-r1 (06 Jul 2011) + + 06 Jul 2011; Samuli Suominen <ssuominen@gentoo.org> + +modemmanager-0.4_p20110205-r1.ebuild: + Fix udev rules.d directory from /etc/udev to /lib/udev. 09 Jun 2011; Sebastian Pipping <sping@gentoo.org> modemmanager-0.3.ebuild, modemmanager-0.4.ebuild, modemmanager-0.4_p20101211.ebuild, diff --git a/net-misc/modemmanager/Manifest b/net-misc/modemmanager/Manifest index 6f406c1362ac..3de5cd2265cf 100644 --- a/net-misc/modemmanager/Manifest +++ b/net-misc/modemmanager/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + DIST ModemManager-0.3.tar.bz2 363848 RMD160 e23ef4492df4f292531b588f99853c6ede078433 SHA1 d4adf26da3ef015d7cc4e25d2ebbc692b6c566f8 SHA256 6bcfce70a26ed9c3162ba23fd0591029441c57e146d7ff4b2fd8036eb50945da DIST ModemManager-0.4.tar.bz2 444746 RMD160 c2d82f746bc3611e11b7f0c4504fa4cc14fa0788 SHA1 786231841cfa3824ff69ad2c9a6a40b881689012 SHA256 8b5415ae8597726f82e9fd09237c02b5c8af7e9f4fc4cba00f9fe183cc2c6c5f DIST ModemManager-0.4_p20101211.tar.bz2 486733 RMD160 f9880d3316ba412178fd9c057eb317bf062fddd1 SHA1 59b75af0632b633fc6fb5b51633122401e726925 SHA256 fa62056609bd8aa23f7e66b46a05b5518bd509d7eb77d1b45ec3f073f235dbd4 @@ -5,6 +8,14 @@ DIST ModemManager-0.4_p20110205.tar.bz2 482484 RMD160 7ef84838751685c2d731285b9e EBUILD modemmanager-0.3.ebuild 1076 RMD160 0703353e7b53564ab133690fd43d6bb72e7a5822 SHA1 9062bcb55b32440ea8d8cd58ea8947888e2e4f25 SHA256 4651e7b2b93dedecab3a7e2b7df27c55957c77af213bbbeb2c047a0d91ab13b3 EBUILD modemmanager-0.4.ebuild 1899 RMD160 1f0197e22816ab58b3d3747c2edc07e7a09b762a SHA1 2438445cbe2a15a896529f710ca5ea96bcad7d47 SHA256 0a15d6aa26ee6a3be3448cbf6fe07a1dc11abf5ab184da8ac6c62fedf053617a EBUILD modemmanager-0.4_p20101211.ebuild 1983 RMD160 b94066b74fed8faa8bee77c2f100fbc9e7920a49 SHA1 2405dc7f2799ce71f488c0c43e03f0f679c6690d SHA256 abd24c7bac98f010316957c25c8ff63318c67256133c09ca1e32f431f20e801b +EBUILD modemmanager-0.4_p20110205-r1.ebuild 1990 RMD160 bdb70825ca579e841ef5b713313a8479c14f687f SHA1 8a649530845a9c4c9714ff5535ab01c69fb2e195 SHA256 7baabbe2fce61015816058c9275809510b54a5d6f4870472170ded34a4ba29da EBUILD modemmanager-0.4_p20110205.ebuild 1983 RMD160 7d0ba25b99b6c6ab543af3c9c7570a5cdb38e772 SHA1 ef76449f7dcd15ae75a18685315b87a131c77af5 SHA256 69c708a9b923d82a8039697ebdee994bca424cb69668d452331950b0bd150d09 -MISC ChangeLog 3471 RMD160 ef3bea2969e865c7cbc213de8c67225697729ae8 SHA1 a532c2f0da935139442ff4c5eed652fb91a2eb43 SHA256 2777ea800a806cc7e9b01563b6839f7bd3d2035b440f48d3462580800c6210f4 +MISC ChangeLog 3675 RMD160 d9e870da7cd5a990238bfa3af9162ad5e7897c50 SHA1 1be246952aa5be1559e8bb173e7f8c8c1c2660f3 SHA256 86577337e5ad51cbc637e50b60d96d1c88b76c16e2365f8b4f9c7fbfcdd8eaf2 MISC metadata.xml 352 RMD160 9f952eb61b72059009703562b751c2523db8d769 SHA1 3e56456d5906a68f5f14fd0d97c22ef43f4f6a2e SHA256 1a8953fc88dcb46dd2a6a566027f69e792f03d7f86581546d8069cbe1768e53a +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.17 (GNU/Linux) + +iF4EAREIAAYFAk4UiTYACgkQXkR9YqOcLPFeRwEAnRONlHfyWe7JUn1i5c/9Adji +/7MNKLHUCv2o8Ame0IYA/0rGz2GYTqiMMefxBGMBsRpr44H5QxZP3KI2E+gTlUmT +=b2Km +-----END PGP SIGNATURE----- diff --git a/net-misc/modemmanager/modemmanager-0.4_p20110205-r1.ebuild b/net-misc/modemmanager/modemmanager-0.4_p20110205-r1.ebuild new file mode 100644 index 000000000000..66fed09002cc --- /dev/null +++ b/net-misc/modemmanager/modemmanager-0.4_p20110205-r1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/modemmanager/modemmanager-0.4_p20110205-r1.ebuild,v 1.1 2011/07/06 16:12:49 ssuominen Exp $ + +EAPI="2" + +inherit gnome.org eutils + +# ModemManager likes itself with capital letters +MY_PN="${PN/modemmanager/ModemManager}" + +DESCRIPTION="Modem and mobile broadband management libraries" +HOMEPAGE="http://mail.gnome.org/archives/networkmanager-list/2008-July/msg00274.html" +#SRC_URI="${SRC_URI//${PN}/${MY_PN}}" +SRC_URI="http://dev.gentoo.org/~dagger/files/${MY_PN}-${PV}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +IUSE="doc policykit test" + +RDEPEND=">=dev-libs/glib-2.18 + || ( >=sys-fs/udev-171[gudev] >=sys-fs/udev-145[extras] ) + >=dev-libs/dbus-glib-0.86 + net-dialup/ppp + policykit? ( >=sys-auth/polkit-0.95 )" +DEPEND="${RDEPEND} + >=dev-util/intltool-0.35.0 + sys-devel/gettext + dev-util/pkgconfig" + +S="${WORKDIR}/${MY_PN}-${PV}" + +src_configure() { + # ppp-2.4.5 will change the plugin directory (not added to portage yet) + if has_version '=net-dialup/ppp-2.4.4*'; then + pppd_plugin_dir="pppd/2.4.4" + elif has_version '=net-dialup/ppp-2.4.5*'; then + pppd_plugin_dir="pppd/2.4.5" + fi + + econf \ + --disable-more-warnings \ + --with-udev-base-dir=/lib/udev/ \ + --disable-static \ + --with-dist-version=${PVR} \ + --with-pppd-plugin-dir="/usr/$(get_libdir)/${pppd_plugin_dir}" \ + $(use_with doc docs) \ + $(use_with policykit polkit) \ + $(use_with test tests) +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS ChangeLog NEWS README + # Remove useless .la files + rm -vf "${D}"/usr/$(get_libdir)/{${MY_PN},${pppd_plugin_dir}}/*.la +} + +pkg_postinst() { + elog "If your USB modem shows up as a Flash drive when you plug it in," + elog "You should install sys-apps/usb_modeswitch which will automatically" + elog "switch it over to USB modem mode whenever you plug it in." +} |