Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 92484 Details for
Bug 141377
sys-process/anacron doesn't compile on g/fbsd
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
anacron-2.3-r2.ebuild
anacron-2.3-r2.ebuild (text/plain), 1.62 KB, created by
Timothy Redaelli (RETIRED)
on 2006-07-22 06:22:10 UTC
(
hide
)
Description:
anacron-2.3-r2.ebuild
Filename:
MIME Type:
Creator:
Timothy Redaelli (RETIRED)
Created:
2006-07-22 06:22:10 UTC
Size:
1.62 KB
patch
obsolete
># Copyright 1999-2005 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/sys-process/anacron/anacron-2.3-r2.ebuild,v 1.2 2005/10/01 17:56:22 ka0ttic Exp $ > >inherit eutils > >DESCRIPTION="a periodic command scheduler" >HOMEPAGE="http://anacron.sourceforge.net/" >SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="x86 ppc amd64 ~x86-fbsd" >IUSE="" > >DEPEND="virtual/libc > >=sys-apps/sed-4" >RDEPEND="virtual/mta > virtual/cron" > >src_unpack() { > unpack ${A} > cd ${S} > epatch "${FILESDIR}"/${P}-compile-fix-from-debian.patch > epatch "${FILESDIR}"/${P}-tempnam.patch > if use elibc_FreeBSD; then > epatch "${FILESDIR}"/${P}-obstack.patch > fi > sed -i "s:^CFLAGS =:CFLAGS = $CFLAGS:" Makefile >} > >src_compile() { > emake || die >} > >src_install() { > #this does not work if the directory exists already > diropts -m0750 -o root -g cron > keepdir /var/spool/anacron > > doman anacrontab.5 anacron.8 > > newinitd ${FILESDIR}/anacron.rc6 anacron > > dodoc ChangeLog COPYING README TODO > > insinto /usr/sbin > insopts -o root -g root -m 0750 ; doins anacron > > insinto /etc > doins ${FILESDIR}/anacrontab >} > >pkg_postinst() { > einfo "Schedule the command \"anacron -s\" as a daily cron-job (preferably" > einfo "at some early morning hour). This will make sure that jobs are run" > einfo "when the systems is left running for a night." > einfo "" > einfo "Update /etc/anacrontab to include what you want anacron to run." > > echo > einfo "You may wish to read the Gentoo Linux Cron Guide, which can be" > einfo "found online at:" > einfo " http://www.gentoo.org/doc/en/cron-guide.xml" > echo >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 141377
:
92482
|
92484
|
92485
|
92486
|
92487
|
92488
|
99157