Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
When I emerge f-prot on my amd64 and my x86 machines, it states that I can add the following to my crontab: " 0 4 * * * /opt/f-prot/tools/check-updates.pl >/dev/null " this should be changed to: " 0 4 * * * /opt/f-prot/check-updates.pl >/dev/null " Since there is no /opt/f-prot/tools directory, and this reflects the accurate location of the check-updates.pl script. Reproducible: Always Steps to Reproduce: 1. emerge f-prot-4.5.3 2. read the message at the end of the emerge process 3. note that the /opt/f-prot/tools directory does not exist. Actual Results: There was no /opt/f-prot/tools directory. Expected Results: Output this: 0 4 * * * /opt/f-prot/check-updates.pl >/dev/null Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r6 i686) ================================================================= System uname: 2.6.10-gentoo-r6 i686 AMD Athlon(tm) Processor Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Oct 19 2004, 01:32:30)] distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.4.21-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict users usersandbox" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.mirrored.ca/ ftp://gentoo.llarian.net/pub/gentoo http://gentoo.mirrors.pair.com/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage" USE="x86 3dnow X aac alsa apm arts avi bash-completion berkdb bitmap-fonts bonobo cdparanoia cdr cjk crypt cups doc dvd dvdread encode esd f77 fam flac font-server foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imlib ipv6 jack java jpeg junit kde ldap libg++ libwww mad matroska mikmod mmx motif mozilla mpeg mysql ncurses nls oav oggvorbis opengl oss pam pdflib perl pic png postgres ppds python qt quicktime readline samba scanner sdl slang spell sse sse2 ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts usb vim-with-x xine xml xml2 xmms xprint xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS I can provide the amd64 emerge info if you want.
This should be really easy to fix. It would certainly help prepare the package for losing its ~. Neil
Fixed, sorry for that and thanks for reporting.
mmh - the einfo is still missing ... <snap> * Remember to run /opt/f-prot/check-updates.pl regularly to keep virus * database up to date. Recommended method is to use cron. See manpages for * cron(8) and crontab(5) for more info. * An example crontab entry, causing check-updates.pl to run every night at 4AM: 0 4 * * * /opt/f-prot/tools/check-updates.pl >/dev/null * As of 4.5.4, the update script is installed correctly into directory designed * by upstream again. Check your crontab, so the path matches the one above. </snap> and maybe the cron/quiet-option could be added again also ... <snip> Here's an example of a crontab # entry which runs check-updates twice a day: 04:27 and # 16:27. # (with this configuration, you will get e-mails whenever # virus signature files are updated or when an error occurs) # # 27 4,16 * * * /opt/f-prot/tools/check-updates.pl -cron # # # (If you only want to receive an e-mail only when an error # occurs, then you want to include the -quiet parameter) # # 27 4,16 * * * /opt/f-prot/tools/check-updates.pl -cron -quiet # </snip>
I think that's unnecessary amount of info for post-emerge message. How about referring users to /usr/share/doc/${P}/html/auto_updt.html ?
> How about referring users to /usr/share/doc/${P}/html/auto_updt.html ? Sounds much better Cheers, Ferdy
InCVS, thanks everyone.