Summary: | sys-process/tcron: new package | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Fyodor Kupchik <ferimy> |
Component: | New packages | Assignee: | Default Assignee for New Packages <maintainer-wanted> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | cron-bugs+disabled, gpopac |
Priority: | Normal | Keywords: | EBUILD |
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
URL: | http://tcron.sourceforge.net/ | ||
Whiteboard: | sunrise-suggested | ||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 102488 | ||
Attachments: |
Ebuild for tcron-0.5.0
Ebuild for tcron-0.5.0 some workaround, fixing typos patch for Makefile init script finally, working ebuild without garbage ebuild with ~amd64 keyword, document creation, changed init.d to tcrond |
Description
Fyodor Kupchik
2005-08-14 06:40:29 UTC
Please use "New -> Gentoo Linux -> Component: Ebuilds" in future. Infrastructure is not the correct addressee. Created attachment 66705 [details]
Ebuild for tcron-0.5.0
Working ebuild. Not sure about deps needed.
Also in install, seems to be code that might touch outside ${D} ... mkdir
/var/spool/tcron, though it will never run since prefix=${D}/usr, which is
never /usr/local. However, should be patched out?
if [ /var/tmp/portage/tcron-0.5.0/image//usr = /usr/local ]; then \
chkconfig --add tcrond; \
if [ ! -d /var/spool/tcron ]; then mkdir /var/spool/tcron; fi; \
ldconfig; \
service tcrond restart; \
fi
Created attachment 66706 [details]
Ebuild for tcron-0.5.0
Forgot LICENCE.
Created attachment 66946 [details]
some workaround, fixing typos
added KEYWORDS, patch for Makefile, fully rewrited init script (deps from
vixie-cron)
Created attachment 66947 [details, diff]
patch for Makefile
removed unsupported actions in install section
Created attachment 66948 [details]
init script
as example taken vixie-cron init script
Comment on attachment 66946 [details] some workaround, fixing typos ># Copyright 1999-2005 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils > >DESCRIPTION="Tcron integrates 'cron' with ATX power-up capability" >HOMEPAGE="http://tcron.sourceforge.net" >SRC_URI="mirror://sourceforge/tcron/${P}.tar.bz2" >LICENSE="GPL-2" >SLOT="0" >IUSE="" >DEPEND="" >KEYWORDS="~x86" > >src_unpack() { > unpack ${A} > cd ${S} > epatch ${FILESDIR}/gentoo-makefile.patch >} > >src_install() { > > make \ > prefix=${D}/usr \ > mandir=${D}/usr/share/man \ > infodir=${D}/usr/share/info \ > libdir=${D}/usr/$(get_libdir) \ > sysconfdir=${D}/etc \ > install || die > > doinitd ${FILESDIR}/tcron > dodir /var/spool/tcron >} > >pkg_postinst() { > einfo 'Run "rc-update add tcrond default" to run tcron at startup.' > einfo 'Run "/etc/init.d tcrond start" to start service.' >} Comment on attachment 66946 [details] some workaround, fixing typos ># Copyright 1999-2005 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils > >DESCRIPTION="Tcron integrates 'cron' with ATX power-up capability" >HOMEPAGE="http://tcron.sourceforge.net" >SRC_URI="mirror://sourceforge/tcron/${P}.tar.bz2" >LICENSE="GPL-2" >SLOT="0" >IUSE="" >DEPEND="" >KEYWORDS="~x86" > >src_unpack() { > unpack ${A} > cd ${S} > epatch ${FILESDIR}/gentoo-makefile.patch >} > >src_install() { > > make \ > prefix=${D}/usr \ > mandir=${D}/usr/share/man \ > infodir=${D}/usr/share/info \ > libdir=${D}/usr/$(get_libdir) \ > sysconfdir=${D}/etc \ > install || die > > doinitd ${FILESDIR}/tcron > dodir /var/spool/tcron >} > >pkg_postinst() { > einfo 'Run "rc-update add tcrond default" to run tcron at startup.' > einfo 'Run "/etc/init.d tcrond start" to start service.' >} Please, don't edit this inline. Atttach a *new* fixed ebuild and mark the previous ones as obsolete and reopen then. Created attachment 66986 [details]
finally, working ebuild without garbage
hmmm... should tcron replace vixie-cron, e.g. provide virtual/cron?
You forgot to reopen. Created attachment 79346 [details]
ebuild with ~amd64 keyword, document creation, changed init.d to tcrond
I added to the ebuild ~amd64 keyword (works perfectly well so far), dodoc statement as well as changed the init.d script name from tcron to tcrond because it was referred as such within the attached script.
*** Bug 122267 has been marked as a duplicate of this bug. *** by way of fellow gentoo dev Jeremy Olexa (darkside): Hello, The Gentoo Team would like to firstly thank you for your ebuild submission. We also apologize for not being able to accommodate you in a timely manor. There are simply too many new packages. Allow me to use this opportunity to introduce you to Gentoo Sunrise. The sunrise overlay[1] is a overlay for Gentoo which we allow trusted users to commit to and all users can have ebuilds reviewed by Gentoo devs for entry into the overlay. So, the sunrise team is suggesting that you look into this and submit your ebuild to the overlay where even *you* can commit to. =) Because this is a mass message, we are also asking you to be patient with us. We anticipate a large number of requests in a short time. Thanks, On behalf of the Gentoo Sunrise Team, Jeremy. [1]: http://www.gentoo.org/proj/en/sunrise/ [2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq |