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 1SViHL-0001fm-0N for garchives@archives.gentoo.org; Sat, 19 May 2012 11:56:59 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 20BD7E0B17; Sat, 19 May 2012 11:56:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id D31E6E0B17 for ; Sat, 19 May 2012 11:56:26 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 160851B4042 for ; Sat, 19 May 2012 11:56:26 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 2257) id F035C2004B; Sat, 19 May 2012 11:56:23 +0000 (UTC) From: "Fabio Erculiani (lxnay)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, lxnay@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in app-admin/packagekit-base: packagekit-base-0.7.4.ebuild ChangeLog X-VCS-Repository: gentoo-x86 X-VCS-Files: packagekit-base-0.7.4.ebuild ChangeLog X-VCS-Directories: app-admin/packagekit-base X-VCS-Committer: lxnay X-VCS-Committer-Name: Fabio Erculiani Content-Type: text/plain; charset=utf8 Message-Id: <20120519115623.F035C2004B@flycatcher.gentoo.org> Date: Sat, 19 May 2012 11:56:23 +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: 7d20b634-fc47-4eba-bde5-8c2895311ae9 X-Archives-Hash: 5377315880e35e6951034ea2af154cb7 lxnay 12/05/19 11:56:23 Modified: ChangeLog Added: packagekit-base-0.7.4.ebuild Log: version bump, see bug 416593 =20 (Portage version: 2.2.0_alpha104_p26/cvs/Linux x86_64) Revision Changes Path 1.21 app-admin/packagekit-base/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/packagek= it-base/ChangeLog?rev=3D1.21&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/packagek= it-base/ChangeLog?rev=3D1.21&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/packagek= it-base/ChangeLog?r1=3D1.20&r2=3D1.21 Index: ChangeLog =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/app-admin/packagekit-base/ChangeLog,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- ChangeLog 19 May 2012 11:21:34 -0000 1.20 +++ ChangeLog 19 May 2012 11:56:23 -0000 1.21 @@ -1,6 +1,12 @@ # ChangeLog for app-admin/packagekit-base # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/packagekit-base/ChangeLog,v= 1.20 2012/05/19 11:21:34 lxnay Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/packagekit-base/ChangeLog,v= 1.21 2012/05/19 11:56:23 lxnay Exp $ + +*packagekit-base-0.7.4 (19 May 2012) + + 19 May 2012; Fabio Erculiani + +packagekit-base-0.7.4.ebuild, +files/packagekit-base-0.7.x-npapi-sdk.= patch: + version bump, see bug 416593 =20 *packagekit-base-0.6.22 (19 May 2012) =20 1.1 app-admin/packagekit-base/packagekit-base-0.7.4.ebui= ld file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/packagek= it-base/packagekit-base-0.7.4.ebuild?rev=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/packagek= it-base/packagekit-base-0.7.4.ebuild?rev=3D1.1&content-type=3Dtext/plain Index: packagekit-base-0.7.4.ebuild =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-admin/packagekit-base/packagekit-b= ase-0.7.4.ebuild,v 1.1 2012/05/19 11:56:23 lxnay Exp $ EAPI=3D"3" # 0.7.x is untested with Python 3.x PYTHON_DEPEND=3D"2" inherit eutils multilib python nsplugins bash-completion-r1 MY_PN=3D"PackageKit" MY_P=3D${MY_PN}-${PV} DESCRIPTION=3D"Manage packages in a secure way using a cross-distro and c= ross-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 ~arm ~hppa ~mips ~ppc ~ppc64 ~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.9 ) networkmanager? ( >=3Dnet-misc/networkmanager-0.6.4 ) nsplugin? ( >=3Ddev-libs/nspr-4.8 x11-libs/cairo >=3Dx11-libs/gtk+-2.14.0:2 x11-libs/pango ) policykit? ( >=3Dsys-auth/polkit-0.98 ) 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.26.1:2 >=3Dsys-apps/dbus-1.3.0" DEPEND=3D"${CDEPEND} doc? ( dev-util/gtk-doc ) nsplugin? ( >=3Dnet-misc/npapi-sdk-0.27 ) dev-libs/libxslt >=3Ddev-util/intltool-0.35.0 virtual/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" APP_LINGUAS=3D"as bg bn ca cs da de el en_GB es fi fr gu he hi hu it ja k= n 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 z= h_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 up= stream # 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_prepare() { epatch "${FILESDIR}"/${PN}-0.7.x-npapi-sdk.patch #383141 } 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=3D$(use introspection && echo -n "yes" || echo -= n "no") \ --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 dodir "/usr/$(get_libdir)/${PLUGINS_DIR}" mv "${D}"/usr/$(get_libdir)/mozilla/plugins/* \ "${D}/usr/$(get_libdir)/${PLUGINS_DIR}/" 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] newbashcomp "${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 s= ecure." 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} }