From a5ed416f9a7b826d2afbb1c45a5170b3143bf7e3 Mon Sep 17 00:00:00 2001 From: wiktor w brodlo Date: Mon, 25 Jul 2011 19:12:41 +0000 Subject: New versions of Fedora ebuilds --- app-admin/firstboot/firstboot-1.119.ebuild | 32 +++++++++++++ .../system-config-date-1.9.61.ebuild | 50 +++++++++++++++++++++ .../system-config-users-1.2.105.ebuild | 52 ++++++++++++++++++++++ 3 files changed, 134 insertions(+) create mode 100644 app-admin/firstboot/firstboot-1.119.ebuild create mode 100644 app-admin/system-config-date/system-config-date-1.9.61.ebuild create mode 100644 app-admin/system-config-users/system-config-users-1.2.105.ebuild (limited to 'app-admin') diff --git a/app-admin/firstboot/firstboot-1.119.ebuild b/app-admin/firstboot/firstboot-1.119.ebuild new file mode 100644 index 0000000..825e9da --- /dev/null +++ b/app-admin/firstboot/firstboot-1.119.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/firstboot/firstboot-1.4.19.ebuild,v 1.3 2007/10/15 09:35:28 dberkholz Exp $ + +EAPI=3 +inherit python distutils rpm + +# Revision of the RPM. Shouldn't affect us, as we're just grabbing the source +# tarball out of it +RPMREV="1" + +DESCRIPTION="Initial system configuration utility" +HOMEPAGE="http://fedoraproject.org/wiki/FirstBoot" +SRC_URI="http://download.fedora.redhat.com/pub/fedora/linux/releases/15/Everything/source/SRPMS/${P}-${RPMREV}.fc15.src.rpm" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86 amd64" +IUSE="gtk" +RDEPEND=" + gtk? ( =dev-python/pygtk-2* ) + dev-python/rhpl + app-admin/system-config-users + app-admin/system-config-date + sys-libs/libuser + dev-python/python-ethtool" +DEPEND="${RDEPEND} + sys-devel/gettext" +PDEPEND="app-admin/system-config-keyboard" + +pkg_postrm() { + python_mod_cleanup /usr/share/${PN} +} diff --git a/app-admin/system-config-date/system-config-date-1.9.61.ebuild b/app-admin/system-config-date/system-config-date-1.9.61.ebuild new file mode 100644 index 0000000..45a85ce --- /dev/null +++ b/app-admin/system-config-date/system-config-date-1.9.61.ebuild @@ -0,0 +1,50 @@ +# Copyright 2004-2010 Sabayon +# Distributed under the terms of the GNU General Public License v2 +# $ + +EAPI="2" +inherit python base + +DESCRIPTION="The system-config-date tool lets you set the date and time of your machine." +HOMEPAGE="http://fedoraproject.org/wiki/SystemConfig/date" +SRC_URI="https://fedorahosted.org/released/${PN}/${P}.tar.bz2" + +LICENSE="GPL-1" +KEYWORDS="amd64 x86" +SLOT="0" +IUSE="gtk" + +# FIXME: would also require a dependency against anaconda +DEPEND="app-text/docbook-xml-dtd + app-text/docbook-sgml-dtd + app-text/gnome-doc-utils + app-text/rarian + dev-libs/newt + dev-util/desktop-file-utils + dev-util/intltool + sys-devel/gettext" + +# also net-misc/ntp would be a soft-dependency +# but code is redhat-centric, so we won't really +# let user use this crap +# net-misc/ntp +RDEPEND="dev-libs/newt + dev-python/python-slip + dev-python/rhpl + gtk? ( dev-python/pygtk:2 + dev-python/libgnomecanvas-python + x11-themes/hicolor-icon-theme )" + +src_install() { + base_src_install + + # removing .desktop file, not advertising this, it is + # only needed by app-admin/anaconda + rm -rf "${D}/usr/share/"{man,applications} + rm -rf "${D}/etc/"{pam.d,security} + rm -rf "${D}/usr/bin" +} + +pkg_postrm() { + python_mod_cleanup /usr/share/${PN} +} diff --git a/app-admin/system-config-users/system-config-users-1.2.105.ebuild b/app-admin/system-config-users/system-config-users-1.2.105.ebuild new file mode 100644 index 0000000..7a3be47 --- /dev/null +++ b/app-admin/system-config-users/system-config-users-1.2.105.ebuild @@ -0,0 +1,52 @@ +# Copyright 2004-2010 Sabayon +# Distributed under the terms of the GNU General Public License v2 +# $ + +EAPI="2" +inherit python base + +DESCRIPTION="The system-config-users tool lets you manage the users and groups on your computer." +HOMEPAGE="http://fedoraproject.org/wiki/SystemConfig/users" +SRC_URI="https://fedorahosted.org/released/${PN}/${P}.tar.bz2" + +LICENSE="GPL-1" +KEYWORDS="amd64 x86" +SLOT="0" +IUSE="X" + +DEPEND="dev-util/desktop-file-utils + dev-util/intltool + sys-apps/findutils + sys-devel/gettext" + +# FIXME: would require rpm-python +RDEPEND=" + X? ( >=dev-python/pygtk-2.6 + x11-misc/xdg-utils + ) + >=sys-libs/libuser-0.56 + sys-libs/cracklib + sys-process/procps" + +PATCHES=( "${FILESDIR}/${PN}-kill-rpm.patch" ) + +pkg_postrm() { + python_mod_cleanup /usr/share/${PN} +} + +# FIXME: this package should depend against sys-apps/usermode +# which has been removed from Portage in May, 2009. +# If you intend to provide a full package in future (and not +# just stuff required by app-admin/anaconda, please consider +# to re-add sys-apps/usermode (version bumping, QA checking) +# and remove the hackish code in src_install below +src_install() { + base_src_install + + # See FIXME above + rm -rf "${D}/usr/share/"{man,applications} + rm -rf "${D}/etc/"{pam.d,sysconfig,security} + rm -rf "${D}/etc/sysconfig" + rm -rf "${D}/usr/bin" + find "${D}" -name "*.pyc" | xargs rm -f +} -- cgit v1.2.3-65-gdbad