Revision: 6169
http://ipcop.svn.sourceforge.net/ipcop/?rev=6169&view=rev
Author: owes
Date: 2011-12-20 22:27:40 +0000 (Tue, 20 Dec 2011)
Log Message:
-----------
Add wget.
The to be included URL filter needs something to be able to download
blacklist(s).
Modified Paths:
--------------
ipcop/trunk/make.sh
ipcop/trunk/updates/2.0.3/ROOTFILES.i486-2.0.3
ipcop/trunk/updates/2.0.3/information.xml
Added Paths:
-----------
ipcop/trunk/config/rootfiles/common/wget
ipcop/trunk/lfs/wget
Added: ipcop/trunk/config/rootfiles/common/wget
===================================================================
--- ipcop/trunk/config/rootfiles/common/wget (rev 0)
+++ ipcop/trunk/config/rootfiles/common/wget 2011-12-20 22:27:40 UTC (rev
6169)
@@ -0,0 +1,4 @@
+#etc/wgetrc
+usr/bin/wget
+#usr/share/info/wget.info
+#usr/share/man/man1/wget.1
Added: ipcop/trunk/lfs/wget
===================================================================
--- ipcop/trunk/lfs/wget (rev 0)
+++ ipcop/trunk/lfs/wget 2011-12-20 22:27:40 UTC (rev 6169)
@@ -0,0 +1,106 @@
+###############################################################################
+# This file is part of the IPCop Firewall. #
+# #
+# IPCop is free software; you can redistribute it and/or modify #
+# it under the terms of the GNU General Public License as published by #
+# the Free Software Foundation; either version 2 of the License, or #
+# (at your option) any later version. #
+# #
+# IPCop is distributed in the hope that it will be useful, #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
+# GNU General Public License for more details. #
+# #
+# You should have received a copy of the GNU General Public License #
+# along with IPCop; if not, write to the Free Software #
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #
+# #
+# Makefiles are based on LFSMake, which is #
+# Copyright (C) 2002 Rod Roard <[email protected]>
#
+# #
+# Modifications by: #
+# ??-12-2003 Mark Wormgoor < [email protected]> #
+# - Modified Makefile for IPCop build #
+# #
+# $Id$
+# #
+###############################################################################
+
+###############################################################################
+# Definitions
+###############################################################################
+
+include Config
+
+PKG_NAME = wget
+VER = 1.13.4
+HOST_ARCH = all
+OTHER_SRC = yes
+
+THISAPP = $(PKG_NAME)-$(VER)
+DL_FILE = $(THISAPP).tar.xz
+DL_FROM = $(URL_GNU)/$(PKG_NAME)
+DIR_APP = $(DIR_SRC)/$(THISAPP)
+TARGET = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
+
+# Use release date instead of compilation date so everyone that compile has
same md5
+DATESTAMP = "30 May 2011 13:52"
+
+###############################################################################
+# Top-level Rules
+###############################################################################
+
+objects = $(DL_FILE)
+
+$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
+
+$(DL_FILE)_MD5 = 7f518b3a71e9efd330e9a0c3714f8463
+
+install : $(TARGET)
+
+check : $(patsubst %,$(DIR_CHK)/%,$(objects))
+
+download :$(patsubst %,$(DIR_DL)/%,$(objects))
+
+md5 : $(subst %,%_MD5,$(objects))
+
+###############################################################################
+# Downloading, checking, md5sum
+###############################################################################
+
+$(patsubst %,$(DIR_CHK)/%,$(objects)) :
+ @$(CHECK)
+
+$(patsubst %,$(DIR_DL)/%,$(objects)) :
+ @$(LOAD)
+
+$(subst %,%_MD5,$(objects)) :
+ @$(MD5)
+
+###############################################################################
+# Installation Details
+###############################################################################
+
+$(TARGET) : $(firstword $(MAKEFILE_LIST)) $(patsubst %,$(DIR_DL)/%,$(objects))
+ @$(PREBUILD)
+ @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar xf $(DIR_DL)/$(DL_FILE)
+ cd $(DIR_APP) && sed -i -e 's/^DATE.*/DATE=$(DATESTAMP)/' -e
's/^HOST.*/HOST=$(SNAME)/' configure
+
+ cd $(DIR_APP) && ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --build=$(MACHINE_REAL)-linux \
+ --host=$(MACHINE)-linux \
+ --with-ssl=openssl \
+ --disable-debug \
+ --disable-ipv6 \
+ --disable-nls \
+ --disable-rpath
+
+ cd $(DIR_APP) && make -j $(PARALLELISM)
+ifeq "$(RUNNING_TEST)" "yes"
+ -cd $(DIR_APP) && make check -C tests &>
$(DIR_TEST)/$(THISAPP)-$(STAGE_ORDER).log
+endif
+ cd $(DIR_APP) && make install
+
+ @rm -rf $(DIR_APP)
+ @$(POSTBUILD)
Property changes on: ipcop/trunk/lfs/wget
___________________________________________________________________
Added: svn:keywords
+ Id
Modified: ipcop/trunk/make.sh
===================================================================
--- ipcop/trunk/make.sh 2011-12-19 07:37:11 UTC (rev 6168)
+++ ipcop/trunk/make.sh 2011-12-20 22:27:40 UTC (rev 6169)
@@ -1878,6 +1878,7 @@
chroot_make usb-modeswitch-data
chroot_make vlan
chroot_make vnstat
+ chroot_make wget
chroot_make wireless_tools
chroot_make libnl
chroot_make iw
Modified: ipcop/trunk/updates/2.0.3/ROOTFILES.i486-2.0.3
===================================================================
--- ipcop/trunk/updates/2.0.3/ROOTFILES.i486-2.0.3 2011-12-19 07:37:11 UTC
(rev 6168)
+++ ipcop/trunk/updates/2.0.3/ROOTFILES.i486-2.0.3 2011-12-20 22:27:40 UTC
(rev 6169)
@@ -83,3 +83,6 @@
##
## tcpdump-4.2.0
/usr/sbin/tcpdump
+##
+## wget-1.13.4
+/usr/bin/wget
Modified: ipcop/trunk/updates/2.0.3/information.xml
===================================================================
--- ipcop/trunk/updates/2.0.3/information.xml 2011-12-19 07:37:11 UTC (rev
6168)
+++ ipcop/trunk/updates/2.0.3/information.xml 2011-12-20 22:27:40 UTC (rev
6169)
@@ -3,7 +3,7 @@
<version>2.0.3</version>
<releasedate>2011-mm-dd</releasedate>
<size>0</size>
- <description>Add again capi4k-utils plugins.<br />
+ <description>Add again capi4k-utils plugins. Add wget.<br />
Disable traffic accounting with detail level High, always use
Low.<br />
Fix _builtin___strncat_chk might overflow in
usb-modemswitch-1.2.0.<br />
Language updates.<br />
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Ipcop-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ipcop-svn