diff options
author | 2006-09-05 21:18:49 +0000 | |
---|---|---|
committer | 2006-09-05 21:18:49 +0000 | |
commit | fe59b928c0f6ecc96d85d718e58b0c9b42dcfe95 (patch) | |
tree | df61e52636b02f6467a4d0f719395e9a78e6935a /app-admin/system-config-date | |
parent | The Red Hat BIND DNS Configuration Tool (diff) | |
download | gentoo-2-fe59b928c0f6ecc96d85d718e58b0c9b42dcfe95.tar.gz gentoo-2-fe59b928c0f6ecc96d85d718e58b0c9b42dcfe95.tar.bz2 gentoo-2-fe59b928c0f6ecc96d85d718e58b0c9b42dcfe95.zip |
A graphical interface for modifying system date and time
(Portage version: 2.1.1_rc1-r1)
Diffstat (limited to 'app-admin/system-config-date')
-rw-r--r-- | app-admin/system-config-date/ChangeLog | 11 | ||||
-rw-r--r-- | app-admin/system-config-date/Manifest | 20 | ||||
-rw-r--r-- | app-admin/system-config-date/files/1.8.5-gentooify.patch | 72 | ||||
-rw-r--r-- | app-admin/system-config-date/files/digest-system-config-date-1.8.5 | 3 | ||||
-rw-r--r-- | app-admin/system-config-date/metadata.xml | 9 | ||||
-rw-r--r-- | app-admin/system-config-date/system-config-date-1.8.5.ebuild | 44 |
6 files changed, 159 insertions, 0 deletions
diff --git a/app-admin/system-config-date/ChangeLog b/app-admin/system-config-date/ChangeLog new file mode 100644 index 000000000000..aecd50a85120 --- /dev/null +++ b/app-admin/system-config-date/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for app-admin/system-config-date +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-date/ChangeLog,v 1.1 2006/09/05 21:18:49 dberkholz Exp $ + +*system-config-date-1.8.5 (05 Sep 2006) + + 05 Sep 2006; Donnie Berkholz <dberkholz@gentoo.org>; + +files/1.8.5-gentooify.patch, +metadata.xml, + +system-config-date-1.8.5.ebuild: + A graphical interface for modifying system date and time + diff --git a/app-admin/system-config-date/Manifest b/app-admin/system-config-date/Manifest new file mode 100644 index 000000000000..f1f99c4c5865 --- /dev/null +++ b/app-admin/system-config-date/Manifest @@ -0,0 +1,20 @@ +AUX 1.8.5-gentooify.patch 2844 RMD160 b8e7c14b1bbabb6a40eb50d30cb280d1dfef389a SHA1 78556ad10962a417f60ab1a6b20e3c8cb3aa19c0 SHA256 207f078f6ff5b9aa2be40682f0089b9756a604e0b6ed8aa7706b9d4599606b1b +MD5 daa68e22c6a8040a94f0a84806254455 files/1.8.5-gentooify.patch 2844 +RMD160 b8e7c14b1bbabb6a40eb50d30cb280d1dfef389a files/1.8.5-gentooify.patch 2844 +SHA256 207f078f6ff5b9aa2be40682f0089b9756a604e0b6ed8aa7706b9d4599606b1b files/1.8.5-gentooify.patch 2844 +DIST system-config-date-1.8.5-1.src.rpm 592767 RMD160 302c14af813cd7a62a1c1027ce29722646ee921d SHA1 6abcd3efc7cc9276cfad03d218f8750e505f2e93 SHA256 4386526d059b8dda05377423a9d81e746a95d203511c7c2a4c257664621e9468 +EBUILD system-config-date-1.8.5.ebuild 1061 RMD160 cd4338aee58a84e7d7b5f53124d1c1da7932bb15 SHA1 3493347d10acfb8856b70736f9441f829503a12f SHA256 5fbba14c4f4f81b1d3a9ab59062c20b09cd61154f123ce44568593a828f08271 +MD5 972c70ce0612d10b57ec8ffbb8902b34 system-config-date-1.8.5.ebuild 1061 +RMD160 cd4338aee58a84e7d7b5f53124d1c1da7932bb15 system-config-date-1.8.5.ebuild 1061 +SHA256 5fbba14c4f4f81b1d3a9ab59062c20b09cd61154f123ce44568593a828f08271 system-config-date-1.8.5.ebuild 1061 +MISC ChangeLog 368 RMD160 1f146d9257886859f4c82d4e34aadd622978c5dc SHA1 f1a18fccbfb721652939c38ca27fe02d4a3ef1e6 SHA256 d21e5c17d4efbad42d5df86d2ed676f7d6af3db3893269eeede7cff2cf7f02da +MD5 039206419c5bfb9376fe08a8568eb727 ChangeLog 368 +RMD160 1f146d9257886859f4c82d4e34aadd622978c5dc ChangeLog 368 +SHA256 d21e5c17d4efbad42d5df86d2ed676f7d6af3db3893269eeede7cff2cf7f02da ChangeLog 368 +MISC metadata.xml 252 RMD160 212f61f15769b523e0fa55ed5d872d85536b4043 SHA1 5f9d6137a829b96482aacd60baf98160b49dc514 SHA256 b3aaf1e941b12ded57dea3530d59b8db42716f5e805efb6338101c135beac506 +MD5 4f7fe0eacb3ba0ef618e04831e4a7517 metadata.xml 252 +RMD160 212f61f15769b523e0fa55ed5d872d85536b4043 metadata.xml 252 +SHA256 b3aaf1e941b12ded57dea3530d59b8db42716f5e805efb6338101c135beac506 metadata.xml 252 +MD5 7f206c6e86e35b81885701ad0cc9fa4c files/digest-system-config-date-1.8.5 283 +RMD160 bec7693e93662ff90e98253cd77e8543f8b8c329 files/digest-system-config-date-1.8.5 283 +SHA256 e82b3b644c6c47d47dc46a49a8138c4bb1e58b3506662ffcf53c3d0d207e0e0c files/digest-system-config-date-1.8.5 283 diff --git a/app-admin/system-config-date/files/1.8.5-gentooify.patch b/app-admin/system-config-date/files/1.8.5-gentooify.patch new file mode 100644 index 000000000000..8dea3c075941 --- /dev/null +++ b/app-admin/system-config-date/files/1.8.5-gentooify.patch @@ -0,0 +1,72 @@ +Index: src/dateBackend.py +=================================================================== +RCS file: /usr/local/CVS/redhat-config-date/src/dateBackend.py,v +retrieving revision 1.38 +diff -u -b -B -r1.38 dateBackend.py +--- src/dateBackend.py 6 Mar 2006 15:35:42 -0000 1.38 ++++ src/dateBackend.py 4 Sep 2006 17:37:27 -0000 +@@ -309,28 +309,28 @@ + + def startNtpService (self, wait): + if self.isNtpRunning() == 1: +- fullPath = '/sbin/service ntpd restart > /dev/null' ++ fullPath = '/etc/init.d/ntpd restart > /dev/null' + else: +- fullPath = '/sbin/service ntpd start > /dev/null' +- path = "/sbin/service" +- args = [path, "ntpd", "restart"] ++ fullPath = '/etc/init.d/ntpd start > /dev/null' ++ path = "/etc/init.d/ntpd" ++ args = [path, "restart"] + + retval = os.system(fullPath) + return retval + + def chkconfigOn(self): +- path = ('/sbin/chkconfig --level 35 ntpd on') ++ path = ('/sbin/rc-update add ntpd default') + os.system (path) + + def chkconfigOff(self): +- path = ('/sbin/chkconfig --level 35 ntpd off') ++ path = ('/sbin/rc-update del ntpd') + os.system (path) + + def stopNtpService (self): + if self.isNtpRunning() == 1: +- path = ('/sbin/service ntpd stop > /dev/null') ++ path = ('/etc/init.d/ntpd stop > /dev/null') + os.system (path) +- path = ('/sbin/chkconfig --level 35 ntpd off') ++ path = ('/sbin/rc-update del ntpd') + os.system (path) + + def isNtpRunning (self): +@@ -338,7 +338,7 @@ + #The file doesn't exist, so return + return 0 + +- command = ('/sbin/service ntpd status > /dev/null') ++ command = ('/etc/init.d/ntpd status > /dev/null') + + result = os.system(command) + +Index: src/date_gui.py +=================================================================== +RCS file: /usr/local/CVS/redhat-config-date/src/date_gui.py,v +retrieving revision 1.39 +diff -u -b -B -r1.39 date_gui.py +--- src/date_gui.py 6 Mar 2006 15:35:42 -0000 1.39 ++++ src/date_gui.py 4 Sep 2006 17:37:28 -0000 +@@ -137,9 +137,8 @@ + self.ntpCheckButton.set_active(True) + elif ntpStatus == None: + text = (_("The NTP initscript (%s) does not seem to be functioning " +- "properly. Try running 'rpm -V ntp' to see if the initscript " +- "has been modified. system-config-date will exit now.") +- % '/etc/rc.d/init.d/ntpd') ++ "properly. system-config-date will exit now.") ++ % '/etc/init.d/ntpd') + dlg = gtk.MessageDialog(None, 0, gtk.MESSAGE_ERROR, gtk.BUTTONS_OK, text) + + dlg.set_title(_("Error")) diff --git a/app-admin/system-config-date/files/digest-system-config-date-1.8.5 b/app-admin/system-config-date/files/digest-system-config-date-1.8.5 new file mode 100644 index 000000000000..3b0750628cd3 --- /dev/null +++ b/app-admin/system-config-date/files/digest-system-config-date-1.8.5 @@ -0,0 +1,3 @@ +MD5 dde216d83e6589c7381ee02161290848 system-config-date-1.8.5-1.src.rpm 592767 +RMD160 302c14af813cd7a62a1c1027ce29722646ee921d system-config-date-1.8.5-1.src.rpm 592767 +SHA256 4386526d059b8dda05377423a9d81e746a95d203511c7c2a4c257664621e9468 system-config-date-1.8.5-1.src.rpm 592767 diff --git a/app-admin/system-config-date/metadata.xml b/app-admin/system-config-date/metadata.xml new file mode 100644 index 000000000000..cd89a979878d --- /dev/null +++ b/app-admin/system-config-date/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> +<email>dberkholz@gentoo.org</email> +<name>Donnie Berkholz</name> +</maintainer> +</pkgmetadata> diff --git a/app-admin/system-config-date/system-config-date-1.8.5.ebuild b/app-admin/system-config-date/system-config-date-1.8.5.ebuild new file mode 100644 index 000000000000..60da3bbb76ac --- /dev/null +++ b/app-admin/system-config-date/system-config-date-1.8.5.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-date/system-config-date-1.8.5.ebuild,v 1.1 2006/09/05 21:18:49 dberkholz Exp $ + +inherit eutils rpm + +# Revision of the RPM. Shouldn't affect us, as we're just grabbing the source +# tarball out of it +RPMREV="1" + +DESCRIPTION="A graphical interface for modifying system date and time" +HOMEPAGE="http://fedora.redhat.com/projects/config-tools/" +SRC_URI="mirror://fedora/development/source/SRPMS/${P}-${RPMREV}.src.rpm" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~ppc ~x86" +IUSE="" +RDEPEND="dev-lang/python + net-misc/ntp + =dev-python/pygtk-2* + =dev-python/gnome-python-2* + sys-apps/usermode + dev-python/rhpl + dev-libs/newt + www-client/htmlview + x11-themes/hicolor-icon-theme" +# app-admin/anaconda +DEPEND="${RDEPEND} + sys-devel/gettext + dev-util/intltool" + +src_unpack() { + rpm_src_unpack + cd "${S}" + epatch "${FILESDIR}"/${PV}-gentooify.patch +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + make_desktop_entry /usr/bin/${PN} + + fperms 644 /etc/pam.d/{system-config-date,system-config-time,dateconfig} +} |