Bug 112770 - mail/gotmail - Running gotmail-0.8.9 from cron fails
Summary: mail/gotmail - Running gotmail-0.8.9 from cron fails
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Marcelo Araujo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-18 22:30 UTC by Stacey Roberts
Modified: 2007-06-22 03:24 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stacey Roberts 2007-05-18 22:30:04 UTC
Installed and configured gotmail-0.8.9. Works fine from cmdline, but
attempts at automating via cron fails as follows:

Can't exec "curl": No such file or directory at /usr/local/bin/gotmail line 677.
Use of uninitialized value in concatenation (.) or string at /usr/local/bin/gotmail line 677.
curl: not found
Could not open /var/tmp/tmp.3.yUWlHvgotmail_curlstderr44085 : No such file or directory at
+/usr/local/bin/gotmail line 774.

For reference, curl *is* installed and in my path:

$ pkg_info curl\*
Information for curl-7.16.1:

Comment:
Non-interactive tool to get files from FTP, GOPHER, HTTP(S) servers


Required by:
evolution-2.10.1
evolution-exchange-2.10.1
gnome2-2.18.1
gnupg-1.4.7
gnupg-2.0.3
p5-Mail-SpamAssassin-3.1.8_1
seahorse-1.0.1
gotmail-0.8.9


Description:
curl is a client to get documents/files from servers, using any of the
supported protocols. The command is designed to work without user
interaction or any kind of interactivity.

curl offers a busload of useful tricks like proxy support, user
authentication, ftp upload, HTTP post, SSL (https:) connections, file
transfer resume and more.

WWW: http://curl.haxx.se/



$ which curl
/usr/local/bin/curl
$ curl -h
Usage: curl [options...] <url>
Options: (H) means HTTP/HTTPS only, (F) means FTP only
 -a/--append        Append to target file when uploading (F)
 -A/--user-agent <string> User-Agent to send to server (H)
    --anyauth       Pick "any" authentication method (H)
 -b/--cookie <name=string/file> Cookie string or file to read cookies from (H)
    --basic         Use HTTP Basic Authentication (H)
 -B/--use-ascii     Use ASCII/text transfer
...

Fix: 

Don't know.
How-To-Repeat: Install latest gotmail from ports
Attempt to automate via cron
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-05-18 22:55:19 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback
Comment 2 Marcelo Araujo 2007-05-18 23:54:28 UTC
Hey Edwin,

 You attributed to me this PR.(araujo@FreeBSD.org).
 I will take it on this weekend.

Thanks.

-- Marcelo Araujo
araujo@bsdmail.org
http://araujo.corebsd.org
http://www.fug.com.br
Comment 3 Marcelo Araujo freebsd_committer freebsd_triage 2007-05-19 16:42:02 UTC
Responsible Changed
From-To: freebsd-ports-bugs->araujo

I'll take it.
Comment 4 Marcelo Araujo freebsd_committer freebsd_triage 2007-06-17 03:27:26 UTC
State Changed
From-To: feedback->analyzed

I work in this problem.
Comment 5 dfilter service freebsd_committer freebsd_triage 2007-06-22 03:18:48 UTC
araujo      2007-06-22 02:18:43 UTC

  FreeBSD ports repository

  Modified files:
    mail/gotmail         Makefile distinfo 
  Log:
  - Update to 0.9.0.
  
  PR:             ports/112770
  Submitted by:   Stacey Roberts <stacey@vickiandstacey.com>
  Approved by:    stas (mentor)
  
  Revision  Changes    Path
  1.29      +1 -2      ports/mail/gotmail/Makefile
  1.19      +3 -3      ports/mail/gotmail/distinfo
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 6 Marcelo Araujo freebsd_committer freebsd_triage 2007-06-22 03:24:16 UTC
State Changed
From-To: analyzed->closed

Committed, with minor changes. Thanks!