Bug 152789 - net/freeswitch build fails to unpack mod_cult w/wget
Summary: net/freeswitch build fails to unpack mod_cult w/wget
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: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-02 19:30 UTC by Marcin Cieślak
Modified: 2010-12-23 15:40 UTC (History)
1 user (show)

See Also:


Attachments
freeswitch-core.diff (2.24 KB, patch)
2010-12-22 23:19 UTC, RIchard Neese
no flags Details | Diff
freeswitch-core-12-23-10.diff (3.12 KB, patch)
2010-12-23 14:35 UTC, RIchard Neese
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Cieślak 2010-12-02 19:30:15 UTC
When using wget, getlib.sh fails to unpack
downloaded mod_cult source.

Fix: 

Workaround: move /usr/local/bin/wget out of the way and let freeswitch
use curl. 

I don't fully understand getlib.sh logic to fix it, probably
it could just be simplified (a shortcut case when the distfile
is already on the loca filesystem).
How-To-Repeat: 
Build freeswitch-core, /usr/local/bin/wget installed.

Running getlib.sh c

+ TAR=/usr/bin/tar
+ ZCAT=/usr/bin/gunzip
+ WGET=/usr/local/bin/wget
+ CURL=/usr/local/bin/curl
+ [ -f /usr/local/bin/wget ]
+ DOWNLOAD_CMD=/usr/local/bin/wget
+ base=file:///usr/ports/distfiles/freeswitch/
+ tarfile=celt-0.7.1.tar.gz
+ echo celt-0.7.1.tar.gz
+ grep ://
+ url=''
+ [ ! -z ]
+ [ ! -d celt-0.7.1.tar.gz ]
+ echo celt-0.7.1.tar.gz
+ sed 's/\.tar\.gz//g'
+ uncompressed=celt-0.7.1
+ echo celt-0.7.1
+ sed 's/\.tgz//g'
+ uncompressed=celt-0.7.1
+ [ ! -f celt-0.7.1.tar.gz ]
+ rm -fr celt-0.7.1
+ /usr/local/bin/wget file:///usr/ports/distfiles/freeswitch/celt-0.7.1.tar.gz
file:///usr/ports/distfiles/freeswitch/celt-0.7.1.tar.gz: Unsupported scheme.
+ [ ! -f celt-0.7.1.tar.gz ]
+ echo cannot find celt-0.7.1.tar.gz
cannot find celt-0.7.1.tar.gz
+ exit 1
Comment 1 Philip M. Gollucci freebsd_committer freebsd_triage 2010-12-20 19:51:01 UTC
State Changed
From-To: open->feedback

Request Feedback:
Comment 2 RIchard Neese 2010-12-22 23:19:13 UTC
fix for wget issue & added zrtp support

-- 
Richard E. Neese <r.neese@gmail.com>
Comment 3 RIchard Neese 2010-12-23 14:35:48 UTC
fixed python 
-- 
Richard E. Neese <r.neese@gmail.com>
Comment 4 dfilter service freebsd_committer freebsd_triage 2010-12-23 15:36:28 UTC
jpaetzel    2010-12-23 15:36:23 UTC

  FreeBSD ports repository

  Modified files:
    net/freeswitch-core  Makefile 
  Added files:
    net/freeswitch-core/files patch-build-getlib.sh.in 
  Log:
  Add support for new module. (libzrtp)
  Fix fetch issue when host system has wget installed.
  Fix missing depend when python module is selected.
  
  PR:     ports/152789
  Submitted by:   Marcin Cieslak <saper@saper.info>
  Approved by:    "Richard E. Neese" <r.neese@gmail.com> (maintainer)
  
  Revision  Changes    Path
  1.17      +21 -4     ports/net/freeswitch-core/Makefile
  1.1       +18 -0     ports/net/freeswitch-core/files/patch-build-getlib.sh.in (new)
_______________________________________________
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 5 Josh Paetzel freebsd_committer freebsd_triage 2010-12-23 15:36:41 UTC
State Changed
From-To: feedback->closed

Fix committed that fixes this issue, and also adds support for a new module, 
as well as fixes a missing dependancy when the modpython module is enabled.