Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102484 - sys-process/tcron: new package
Summary: sys-process/tcron: new package
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Default Assignee for New Packages
URL: http://tcron.sourceforge.net/
Whiteboard: sunrise-suggested
Keywords: EBUILD
: 122267 (view as bug list)
Depends on:
Blocks: 102488
  Show dependency tree
 
Reported: 2005-08-14 06:40 UTC by Fyodor Kupchik
Modified: 2018-06-07 18:26 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild for tcron-0.5.0 (tcron-0.5.0.ebuild,705 bytes, text/plain)
2005-08-23 18:18 UTC, Chris Fairles
Details
Ebuild for tcron-0.5.0 (tcron-0.5.0.ebuild,710 bytes, text/plain)
2005-08-23 18:20 UTC, Chris Fairles
Details
some workaround, fixing typos (tcron-0.5.0.ebuild,912 bytes, text/plain)
2005-08-26 17:16 UTC, Fyodor Kupchik
Details
patch for Makefile (gentoo-makefile.patch,880 bytes, patch)
2005-08-26 17:18 UTC, Fyodor Kupchik
Details | Diff
init script (tcron,702 bytes, text/plain)
2005-08-26 17:19 UTC, Fyodor Kupchik
Details
finally, working ebuild without garbage (tcron-0.5.0.ebuild,821 bytes, text/plain)
2005-08-27 09:23 UTC, Fyodor Kupchik
Details
ebuild with ~amd64 keyword, document creation, changed init.d to tcrond (tcron-0.5.0.ebuild,872 bytes, text/plain)
2006-02-09 11:06 UTC, playmiac
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fyodor Kupchik 2005-08-14 06:40:29 UTC
Tcron integrates 'cron' with ATX power-up capability. It can do multiple cron
jobs with power-up/shutdown a day.


Reproducible: Always
Steps to Reproduce:
1.emerge tcron
2.
3.




Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1,
2.6.12-nitro5 i686)
=================================================================
System uname: 2.6.12-nitro5 i686 AMD Athlon(tm) 
Gentoo Base System version 1.12.0_pre5
ccache version 2.4 [enabled]
dev-lang/python:     2.3.4-r1, 2.4.1-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -mmmx -msse -m3dnow -mfpmath=sse -mno-push-args
-pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c
/etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -mmmx -msse -m3dnow -mfpmath=sse -mno-push-args
-pipe -fomit-frame-pointer -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror
http://ftp.uni-erlangen.de/pub/mirrors/gentoo
http://www.ibiblio.org/pub/Linux/distributions/gentoo
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo"
LANG="ru_RU.UTF-8"
LC_ALL="ru_RU.UTF-8"
LINGUAS="ru"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/zugaina-portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X aac acpi acpi4linux alsa apm arts athena avi beepmp
bidi bitmap-fonts bluetooth bmp bzip2 bzlib cairo ccache cdda cdrom codecs crypt
curl curlwrappers dhcp divx4linux djbfft dnd dpms dv dvd dvdread ecc edl eds elf
emboss encode esd exif faad fam fftw flood foomaticdb fortran ftp gdbm gif glut
gpm gstreamer gtk gtk2 icq imagemagick imlib java jpeg kde kdeenablefinal lcms
libg++ libwww lirc lzo lzw mad maildir md5sum mikmod mime mmx mmxext mng motif
mp3 mpeg mplayer ncurses nls nptl nptlonly nvidia ogg oggvorbis opengl oss pam
pdflib perl png python qt quicktime readline rss sdl slang spell sqlite sse ssl
svg tcltk tcpd tetex theora tiff truetype truetype-fonts type1 type1-fonts
unicode usb utf8 v4l v4l2 vorbis wmf xine xml2 xosd xpm xscreensaver xv xvid
xvmc zlib linguas_ru userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-08-14 09:21:17 UTC
Please use "New -> Gentoo Linux -> Component: Ebuilds" in future. Infrastructure
is not the correct addressee.
Comment 2 Chris Fairles 2005-08-23 18:18:52 UTC
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
Comment 3 Chris Fairles 2005-08-23 18:20:41 UTC
Created attachment 66706 [details]
Ebuild for tcron-0.5.0

Forgot LICENCE.
Comment 4 Fyodor Kupchik 2005-08-26 17:16:24 UTC
Created attachment 66946 [details]
some workaround, fixing typos

added KEYWORDS, patch for Makefile, fully rewrited init script (deps from
vixie-cron)
Comment 5 Fyodor Kupchik 2005-08-26 17:18:14 UTC
Created attachment 66947 [details, diff]
patch for Makefile

removed unsupported actions in install section
Comment 6 Fyodor Kupchik 2005-08-26 17:19:48 UTC
Created attachment 66948 [details]
init script

as example taken vixie-cron init script
Comment 7 Fyodor Kupchik 2005-08-27 05:06:57 UTC
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 8 Fyodor Kupchik 2005-08-27 05:08:55 UTC
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 9 Jakub Moc (RETIRED) gentoo-dev 2005-08-27 05:20:38 UTC
Please, don't edit this inline. Atttach a *new* fixed ebuild and mark the
previous ones as obsolete and reopen then.
Comment 10 Fyodor Kupchik 2005-08-27 09:23:22 UTC
Created attachment 66986 [details]
finally, working ebuild without garbage

hmmm... should tcron replace vixie-cron, e.g. provide virtual/cron?
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2005-08-27 10:04:47 UTC
You forgot to reopen.
Comment 12 playmiac 2006-02-09 11:06:50 UTC
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.
Comment 13 Jakub Moc (RETIRED) gentoo-dev 2006-02-09 11:28:47 UTC
*** Bug 122267 has been marked as a duplicate of this bug. ***
Comment 14 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2009-02-03 19:59:55 UTC
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