Update of /cvsroot/leaf/src/bering-uclibc/apps/wget
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11527
Added Files:
buildtool.cfg buildtool.mk wget-ssl.mk wget.mk
wget_1.8.2-11.diff.gz wget_1.8.2.orig.tar.gz wgetrc
Log Message:
buildtool setup for wget and wgetssl
--- NEW FILE: buildtool.mk ---
# makefile for wget
include $(MASTERMAKEFILE)
WGET_DIR:=wget-1.8.2
WGET_TARGET_DIR:=$(BT_BUILD_DIR)/wget
#CFLAGS="$(BT_COPT_FLAGS) -g -Wall -Wno-implicit -DINET6"
CFLAGS="$(BT_COPT_FLAGS) -g -Wall -Wno-implicit"
$(WGET_DIR)/.source:
zcat $(WGET_SOURCE) | tar -xvf -
zcat $(WGET_PATCH1) | patch -d $(WGET_DIR) -p1
touch $(WGET_DIR)/.source
source: $(WGET_DIR)/.source
$(WGET_DIR)/.build: $(WGET_DIR)/.source
mkdir -p $(WGET_TARGET_DIR)
mkdir -p $(WGET_TARGET_DIR)/etc
mkdir -p $(WGET_TARGET_DIR)/usr/bin
#Build a version without SSL support
(cd $(WGET_DIR) ; CC=$(TARGET_CC) LD=$(TARGET_LD) \
CFLAGS=$(CFLAGS) \
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--disable-nls \
--without-ssl \
)
make CC=$(TARGET_CC) -C $(WGET_DIR)
-$(BT_STRIP) -s --remove-section=.note --remove-section=.comment
$(WGET_DIR)/src/wget
cp -a $(WGET_DIR)/src/wget $(WGET_TARGET_DIR)/usr/bin
make -C $(WGET_DIR) distclean
#Build a version with SSL support
(cd $(WGET_DIR) ; CC=$(TARGET_CC) LD=$(TARGET_LD) \
CFLAGS=$(CFLAGS) \
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--disable-nls \
--with-ssl=$(BT_STAGING_DIR)/usr \
)
make CC=$(TARGET_CC) -C $(WGET_DIR)
-$(BT_STRIP) -s --remove-section=.note --remove-section=.comment
$(WGET_DIR)/src/wget
cp -a $(WGET_DIR)/src/wget $(WGET_TARGET_DIR)/usr/bin/wget-ssl
cp -a wgetrc $(WGET_TARGET_DIR)/etc
cp -a $(WGET_TARGET_DIR)/* $(BT_STAGING_DIR)
touch $(WGET_DIR)/.build
build: $(WGET_DIR)/.build
clean:
make -C $(WGET_DIR) clean
rm -rf $(WGET_TARGET_DIR)
rm -f $(WGET_DIR)/.build
srcclean: clean
rm -rf $(WGET_DIR)
rm -f $(WGET_DIR)/.source
--- NEW FILE: wget-ssl.mk ---
#!/usr/bin/make -f
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.
build: build-stamp
build-stamp: configure-stamp
# Add here commands to compile the package.
$(MAKE)
#/usr/bin/docbook-to-man debian/wget.sgml > wget.1
touch build-stamp
configure: configure-stamp
configure-stamp:
# Add here commands to configure the package.
# CFLAGS="$$CFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -g -Wall"
./configure \
CFLAGS="$$CFLAGS -g -Wall"
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--disable-nls \
--with-ssl
touch configure-stamp
clean:
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
-$(MAKE) distclean
.PHONY: build clean configure
--- NEW FILE: wgetrc ---
###
### Sample Wget initialization file .wgetrc
###
## You can use this file to change the default behaviour of wget or to
## avoid having to type many many command-line options. This file does
## not contain a comprehensive list of commands -- look at the manual
## to find out what you can put into this file.
##
## Wget initialization file can reside in /etc/wgetrc
## (global, for all users) or $HOME/.wgetrc (for a single user).
##
## To use the settings in this file, you will have to uncomment them,
## as well as change them, in most cases, as the values on the
## commented-out lines are the default values (e.g. "off").
##
## Global settings (useful for setting up in /etc/wgetrc).
## Think well before you change them, since they may reduce wget's
## functionality, and make it behave contrary to the documentation:
##
# You can set retrieve quota for beginners by specifying a value
# optionally followed by 'K' (kilobytes) or 'M' (megabytes). The
# default quota is unlimited.
#quota = inf
# You can lower (or raise) the default number of retries when
# downloading a file (default is 20).
#tries = 20
# Lowering the maximum depth of the recursive retrieval is handy to
# prevent newbies from going too "deep" when they unwittingly start
# the recursive retrieval. The default is 5.
#reclevel = 5
# Many sites are behind firewalls that do not allow initiation of
# connections from the outside. On these sites you have to use the
# `passive' feature of FTP. If you are behind such a firewall, you
# can turn this on to make Wget use passive FTP by default.
passive_ftp = on
# The "wait" command below makes Wget wait between every connection.
# If, instead, you want Wget to wait only between retries of failed
# downloads, set waitretry to maximum number of seconds to wait (Wget
# will use "linear backoff", waiting 1 second after the first failure
# on a file, 2 seconds after the second failure, etc. up to this max).
waitretry = 10
##
## Local settings (for a user to set in his $HOME/.wgetrc). It is
## *highly* undesirable to put these settings in the global file, since
## they are potentially dangerous to "normal" users.
##
## Even when setting up your own ~/.wgetrc, you should know what you
## are doing before doing so.
##
# Set this to on to use timestamping by default:
#timestamping = off
# It is a good idea to make Wget send your email address in a `From:'
# header with your request (so that server administrators can contact
# you in case of errors). Wget does *not* send `From:' by default.
#header = From: Your Name <[EMAIL PROTECTED]>
# You can set up other headers, like Accept-Language. Accept-Language
# is *not* sent by default.
#header = Accept-Language: en
# You can set the default proxies for Wget to use for http and ftp.
# They will override the value in the environment.
#http_proxy = http://proxy.yoyodyne.com:18023/
#ftp_proxy = http://proxy.yoyodyne.com:18023/
# If you do not want to use proxy at all, set this to off.
#use_proxy = on
# You can customize the retrieval outlook. Valid options are default,
# binary, mega and micro.
#dot_style = default
# Setting this to off makes Wget not download /robots.txt. Be sure to
# know *exactly* what /robots.txt is and how it is used before changing
# the default!
#robots = on
# It can be useful to make Wget wait between connections. Set this to
# the number of seconds you want Wget to wait.
#wait = 0
# You can force creating directory structure, even if a single is being
# retrieved, by setting this to on.
#dirstruct = off
# You can turn on recursive retrieving by default (don't do this if
# you are not sure you know what it means) by setting this to on.
#recursive = off
# To always back up file X as X.orig before converting its links (due
# to -k / --convert-links / convert_links = on having been specified),
# set this variable to on:
#backup_converted = off
# To have Wget follow FTP links from HTML files by default, set this
# to on:
#follow_ftp = off
--- NEW FILE: buildtool.cfg ---
<File buildtool.mk>
Server = cvs-sourceforge
Revision = HEAD
Directory = wget
</File>
<File wget_1.8.2.orig.tar.gz>
Server = cvs-sourceforge
Revision = HEAD
envname = WGET_SOURCE
Directory = wget
</File>
<File wget_1.8.2-11.diff.gz>
Server = cvs-sourceforge
Revision = HEAD
envname = WGET_PATCH1
Directory = wget
</File>
<File wgetrc>
Server = cvs-sourceforge
Revision = HEAD
Directory = wget
</File>
<Package>
<wget>
Version = 1.8.2-11
Revision = 1
Help <<EOF
Wget is a package for retrieving files using HTTP and FTP
Homepage: http://www.gnu.org/software/wget/wget.html
LEAF package by __PACKAGER__, __BUILDDATE__
EOF
<Permissions>
Files = 644
Directories = 755
</Permissions>
<Owner>
Files = root:root
Directories = root:root
</Owner>
<Contents>
<File>
Filename = usr/bin/wget
Source = usr/bin/wget
Type = binary
Permissions = 755
</File>
<File>
Filename = etc/wgetrc
Source = etc/wgetrc
Description = wget initialization file
Type = conf
Type = binary
Permissions = 644
</File>
</Contents>
</wget>
<wgetssl>
Version = 1.8.2-11
Revision = 1
Help <<EOF
Wget is a package for retrieving files using HTTP, HTTPS and FTP
Homepage: http://www.gnu.org/software/wget/wget.html
Requires: libssl.lrp, libcrpto.lrp
LEAF package by __PACKAGER__, __BUILDDATE__
EOF
<Permissions>
Files = 644
Directories = 755
</Permissions>
<Owner>
Files = root:root
Directories = root:root
</Owner>
<Contents>
<File>
Filename = usr/bin/wget
Source = usr/bin/wget-ssl
Type = binary
Permissions = 755
</File>
<File>
Filename = etc/wgetrc
Source = etc/wgetrc
Description = wget initialization file
Type = conf
Type = binary
Permissions = 644
</File>
</Contents>
</wgetsll>
</Package>
--- NEW FILE: wget_1.8.2.orig.tar.gz ---
(This appears to be a binary file; contents omitted.)
--- NEW FILE: wget.mk ---
#!/usr/bin/make -f
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.
build: build-stamp
build-stamp: configure-stamp
# Add here commands to compile the package.
$(MAKE)
#/usr/bin/docbook-to-man debian/wget.sgml > wget.1
touch build-stamp
configure: configure-stamp
configure-stamp:
# Add here commands to configure the package.
# CFLAGS="$$CFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -g -Wall"
./configure \
CFLAGS="$$CFLAGS -g -Wall"
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--disable-nls \
--without-ssl
#--with-ssl
touch configure-stamp
clean:
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
-$(MAKE) distclean
.PHONY: build clean configure
--- NEW FILE: wget_1.8.2-11.diff.gz ---
(This appears to be a binary file; contents omitted.)
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
leaf-cvs-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-cvs-commits