Revision: 7006 http://ipcop.svn.sourceforge.net/ipcop/?rev=7006&view=rev Author: gespinasse Date: 2013-04-20 10:45:09 +0000 (Sat, 20 Apr 2013) Log Message: ----------- Upgrade newt lib to 0.52.15
Directly use newt lib from fedorahosted This is simplier and compile fine without warnings. In fact, removing debian patching remove 2 warnings and a bogus -I/usr/include/tcl8.5 This is bogus as tcl8.5 is actually not installed there (only under /tools_*). Workaround fedorahosted cert warning using --no-check-certificate Modified Paths: -------------- ipcop/trunk/lfs/Config ipcop/trunk/lfs/newt Modified: ipcop/trunk/lfs/Config =================================================================== --- ipcop/trunk/lfs/Config 2013-04-20 09:01:54 UTC (rev 7005) +++ ipcop/trunk/lfs/Config 2013-04-20 10:45:09 UTC (rev 7006) @@ -19,6 +19,7 @@ URL_CPAN = http://www.cpan.org/authors/id URL_AGNU = ftp://alpha.gnu.org/gnu URL_DEBIAN = http://http.us.debian.org/debian/pool/main +URL_FEDORAH = --no-check-certificate http://fedorahosted.org/releases URL_GNU = http://ftpmirror.gnu.org URL_KERNEL = http://www.kernel.org/pub URL_LFS = http://www.linuxfromscratch.org/patches/downloads Modified: ipcop/trunk/lfs/newt =================================================================== --- ipcop/trunk/lfs/newt 2013-04-20 09:01:54 UTC (rev 7005) +++ ipcop/trunk/lfs/newt 2013-04-20 10:45:09 UTC (rev 7006) @@ -33,30 +33,27 @@ include Config PKG_NAME = newt -VER = 0.52.11 +VER = 0.52.15 HOST_ARCH = all OTHER_SRC = yes -THISAPP = $(PKG_NAME)_$(VER) -DL_FILE = $(THISAPP).orig.tar.gz -DL_FROM = $(URL_DEBIAN)/n/newt +THISAPP = $(PKG_NAME)-$(VER) +DL_FILE = $(THISAPP).tar.gz +DL_FROM = $(URL_FEDORAH)/n/e/newt DIR_APP = $(DIR_SRC)/$(PKG_NAME)-$(VER) TARGET = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) -PATCH1 = $(THISAPP)-1.diff.gz +CFLAGS += -Wall ############################################################################### # Top-level Rules ############################################################################### -objects = $(DL_FILE) \ - $(PATCH1) +objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(PATCH1) = $(DL_FROM)/$(PATCH1) -$(DL_FILE)_MD5 = 51bcd8c6c7d8b23ecf34dedc6d88cd5f -$(PATCH1)_MD5 = c528dff054bcea69a61460e451b5c049 +$(DL_FILE)_MD5 = 343ee3a0fd0eacdb7c508a1e1cfabf65 install : $(TARGET) @@ -86,17 +83,7 @@ $(TARGET) : $(firstword $(MAKEFILE_LIST)) $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) - @cd $(DIR_APP) && tar zxf $(PKG_NAME)-$(VER).tar.gz - @cd $(DIR_APP) && mv $(PKG_NAME)-$(VER)/* . - cd $(DIR_APP) && zcat $(DIR_DL)/$(PATCH1) | patch -Np1 - cd $(DIR_APP) && for patch in debian/patches/*.patch; do \ - patch -Np1 -i $$patch; \ - done - - cd $(DIR_APP) && autoupdate - cd $(DIR_APP) && autoreconf --force --install --verbose - cd $(DIR_APP) && ./configure --prefix=/usr --without-gpm-support # static lib is required by mklibs to reduce the shared lib This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ Ipcop-svn mailing list Ipcop-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipcop-svn