From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QpCJA-0004BH-42 for garchives@archives.gentoo.org; Fri, 05 Aug 2011 04:46:52 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1401721C117; Fri, 5 Aug 2011 04:46:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id CB15F21C117 for ; Fri, 5 Aug 2011 04:46:27 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2E2D01B4016 for ; Fri, 5 Aug 2011 04:46:27 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 4ADC880040 for ; Fri, 5 Aug 2011 04:46:26 +0000 (UTC) From: "Alexandre Restovtsev" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexandre Restovtsev" Message-ID: <912c3dffadecbbd5a642ae0d748a4b80cbef3f0e.tetromino@gentoo> Subject: [gentoo-commits] proj/gnome:master commit in: app-admin/packagekit-base/ X-VCS-Repository: proj/gnome X-VCS-Files: app-admin/packagekit-base/packagekit-base-0.6.16.ebuild X-VCS-Directories: app-admin/packagekit-base/ X-VCS-Committer: tetromino X-VCS-Committer-Name: Alexandre Restovtsev X-VCS-Revision: 912c3dffadecbbd5a642ae0d748a4b80cbef3f0e Date: Fri, 5 Aug 2011 04:46:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 66611e74e98e7126d0897a481916815f commit: 912c3dffadecbbd5a642ae0d748a4b80cbef3f0e Author: Alexandre Rostovtsev gmail com> AuthorDate: Fri Aug 5 04:44:40 2011 +0000 Commit: Alexandre Restovtsev gmail com> CommitDate: Fri Aug 5 04:44:40 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/gnome.git;a=3D= commit;h=3D912c3dff app-admin/packagekit-base: no longer needed now that 0.6.17 is in gx86 --- .../packagekit-base/packagekit-base-0.6.16.ebuild | 181 --------------= ------ 1 files changed, 0 insertions(+), 181 deletions(-) diff --git a/app-admin/packagekit-base/packagekit-base-0.6.16.ebuild b/ap= p-admin/packagekit-base/packagekit-base-0.6.16.ebuild deleted file mode 100644 index e9d9ee7..0000000 --- a/app-admin/packagekit-base/packagekit-base-0.6.16.ebuild +++ /dev/null @@ -1,181 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/packagekit-base/packagekit-= base-0.6.16.ebuild,v 1.1 2011/07/19 19:12:59 lxnay Exp $ - -# This ebuild is here purely to provide a collision-free upgrade path fr= om gnome -# overlay's monolithic app-portage/packagekit to the split app-admin/pac= kagekit -# now in gx86. -# Remove this ebuild in 08-2011 or when packagekit-base-0.6.17 is in gx8= 6. - -EAPI=3D"3" - -inherit eutils multilib python nsplugins bash-completion - -MY_PN=3D"PackageKit" -MY_P=3D${MY_PN}-${PV} - -DESCRIPTION=3D"Manage packages in a secure way using a cross-distro and = cross-architecture API" -HOMEPAGE=3D"http://www.packagekit.org/" -SRC_URI=3D"http://www.packagekit.org/releases/${MY_P}.tar.xz" - -LICENSE=3D"GPL-2" -SLOT=3D"0" -KEYWORDS=3D"~amd64 ~x86" -IUSE=3D"connman cron doc +introspection networkmanager nsplugin pm-utils= +policykit entropy static-libs test udev" - -CDEPEND=3D"connman? ( net-misc/connman ) - introspection? ( >=3Ddev-libs/gobject-introspection-0.9.8 ) - networkmanager? ( >=3Dnet-misc/networkmanager-0.6.4 ) - nsplugin? ( - dev-libs/nspr - x11-libs/cairo - >=3Dx11-libs/gtk+-2.14.0:2 - x11-libs/pango - ) - policykit? ( >=3Dsys-auth/polkit-0.94 ) - udev? ( || ( >=3Dsys-fs/udev-171[gudev] >=3Dsys-fs/udev-145[extras] ) ) - dev-db/sqlite:3 - >=3Ddev-libs/dbus-glib-0.74 - >=3Ddev-libs/glib-2.16.1:2 - >=3Dsys-apps/dbus-1.3.0" -DEPEND=3D"${CDEPEND} - doc? ( dev-util/gtk-doc ) - nsplugin? ( >=3Dnet-libs/xulrunner-1.9.1 ) - dev-libs/libxslt - >=3Ddev-util/intltool-0.35.0 - dev-util/pkgconfig - sys-devel/gettext" - -RDEPEND=3D"${CDEPEND} - entropy? ( >=3Dsys-apps/entropy-1.0_rc27 ) - pm-utils? ( sys-power/pm-utils ) - >=3Dapp-portage/layman-1.2.3 - >=3Dsys-apps/portage-2.1.9 - sys-auth/consolekit - !!<=3Dapp-portage/packagekit-0.6.16" -# that last blocker is to ensure people upgrading from the monolithic pa= ckagekit -# formerly in the overlay don't run into file collisions - -APP_LINGUAS=3D"as bg bn ca cs da de el en_GB es fi fr gu he hi hu it ja = kn ko ml mr -ms nb nl or pa pl pt pt_BR ro ru sk sr sr@latin sv ta te th tr uk zh_CN = zh_TW" -for X in ${APP_LINGUAS}; do - IUSE=3D" ${IUSE} linguas_${X}" -done - -S=3D"${WORKDIR}/${MY_P}" -RESTRICT=3D"test" # tests are failing atm - -# NOTES: -# do not use a specific user, useless and not more secure according to u= pstream -# doc is in the tarball and always installed -# mono doesn't install anything (RDEPEND dev-dotnet/gtk-sharp-gapi:2 -# (R)DEPEND dev-dotnet/glib-sharp:2 dev-lang/mono), upstream bug 23247 - -# UPSTREAM: -# documentation/website with --enable-doc-install -# failing tests - -src_configure() { - local myconf=3D"" - - if use policykit; then - myconf+=3D" --with-security-framework=3Dpolkit" - else - myconf+=3D" --with-security-framework=3Ddummy" - fi - - if [[ -z "${LINGUAS}" ]]; then - myconf+=3D" --disable-nls" - else - myconf+=3D" --enable-nls" - fi - - # localstatedir: for gentoo it's /var/lib but for $PN it's /var - # dep-tracking,option-check,libtool-lock,strict,local: obvious reasons - # command,debuginfo,gstreamer,service-packs: not supported by backend - - # NOTE: default backend is autodetected at runtime, also - if use entropy; then - myconf+=3D" --with-default-backend=3Dentropy" - else - myconf+=3D" --with-default-backend=3Dportage" - fi - econf \ - ${myconf} \ - --enable-introspection=3Dno \ - --localstatedir=3D/var \ - --disable-dependency-tracking \ - --enable-option-checking \ - --enable-libtool-lock \ - --disable-strict \ - --disable-local \ - $(use_enable doc gtk-doc) \ - $(use_enable bash-completion command-not-found) \ - --disable-debuginfo-install \ - --disable-gstreamer-plugin \ - --disable-service-packs \ - --enable-man-pages \ - --enable-portage \ - $(use_enable entropy) \ - $(use_enable cron) \ - --disable-gtk-module \ - $(use_enable introspection) \ - $(use_enable networkmanager) \ - $(use_enable nsplugin browser-plugin) \ - $(use_enable pm-utils) \ - --disable-qt \ - $(use_enable static-libs static) \ - $(use_enable test tests) \ - $(use_enable udev device-rebind) -} - -src_install() { - emake DESTDIR=3D"${D}" install || die "emake install failed" - - dodoc AUTHORS MAINTAINERS NEWS README TODO || die "dodoc failed" - dodoc ChangeLog || die "dodoc failed" - - if use nsplugin; then - src_mv_plugins /usr/$(get_libdir)/mozilla/plugins - fi - - if ! use static-libs; then - find "${D}" -name *.la | xargs rm || die "removing .la files failed" - fi - - # Remove precompiled python modules, we handle byte compiling - rm -f "${D}/$(python_get_sitedir)"/${PN}*.py[co] - - dobashcompletion "${S}/contrib/pk-completion.bash" ${PN} - # Remove bashcomp file installed by build-system - rm -f "${D}/bash_completion.d/pk-completion.bash" - - # Remove unwanted PackageKit website stuff - rm -rf "${D}/usr/share/PackageKit/website" - -} - -pkg_postinst() { - python_mod_optimize ${PN/-base} - - if ! use policykit; then - ewarn "You are not using policykit, the daemon can't be considered as = secure." - ewarn "All users will be able to do anything through ${MY_PN}." - ewarn "Please, consider rebuilding ${MY_PN} with policykit USE flag." - ewarn "THIS IS A SECURITY ISSUE." - echo - ebeep - epause 5 - fi - bash-completion_pkg_postinst -} - -pkg_prerm() { - einfo "Removing downloaded files with ${MY_PN}..." - [[ -d "${ROOT}"/var/cache/${MY_PN}/downloads/ ]] && \ - rm -rf /var/cache/PackageKit/downloads/* -} - -pkg_postrm() { - python_mod_cleanup ${PN/-base} -}