From: <ges...@us...> - 2012-05-17 16:29:28
|
Revision: 6613 http://ipcop.svn.sourceforge.net/ipcop/?rev=6613&view=rev Author: gespinasse Date: 2012-05-17 16:29:21 +0000 (Thu, 17 May 2012) Log Message: ----------- Drop kmod for now, that confuse tools/comp_md5.pl when a same file is present twice Removed Paths: ------------- ipcop/trunk/config/rootfiles/common/kmod_SKIP ipcop/trunk/lfs/kmod Deleted: ipcop/trunk/config/rootfiles/common/kmod_SKIP =================================================================== --- ipcop/trunk/config/rootfiles/common/kmod_SKIP 2012-05-13 18:16:25 UTC (rev 6612) +++ ipcop/trunk/config/rootfiles/common/kmod_SKIP 2012-05-17 16:29:21 UTC (rev 6613) @@ -1,21 +0,0 @@ -bin/lsmod -sbin/depmod -sbin/modinfo -sbin/modprobe -usr/bin/kmod -#usr/include/libkmod.h -#usr/lib/libkmod.la -#usr/lib/libkmod.so -usr/lib/libkmod.so.2 -usr/lib/libkmod.so.2.1.0 -#usr/lib/pkgconfig/libkmod.pc -#usr/share/man/man5/depmod.d.5 -#usr/share/man/man5/modprobe.d.5 -#usr/share/man/man5/modules.dep.5 -#usr/share/man/man5/modules.dep.bin.5 -#usr/share/man/man8/depmod.8 -#usr/share/man/man8/insmod.8 -#usr/share/man/man8/lsmod.8 -#usr/share/man/man8/modinfo.8 -#usr/share/man/man8/modprobe.8 -#usr/share/man/man8/rmmod.8 Deleted: ipcop/trunk/lfs/kmod =================================================================== --- ipcop/trunk/lfs/kmod 2012-05-13 18:16:25 UTC (rev 6612) +++ ipcop/trunk/lfs/kmod 2012-05-17 16:29:21 UTC (rev 6613) @@ -1,107 +0,0 @@ -############################################################################### -# 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 <ro...@su...> # -# # -# Modifications by: # -# ??-12-2003 Mark Wormgoor < ma...@wo...> # -# - Modified Makefile for IPCop build # -# # -# $Id: module-init-tools 6311 2012-02-04 14:43:33Z owes $ -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = kmod -VER = 6 -HOST_ARCH = all -OTHER_SRC = yes - -THISAPP = $(PKG_NAME)-$(VER) -DL_FILE = $(THISAPP).tar.xz -DL_FROM = $(URL_KERNEL)/linux/utils/kernel/kmod -DIR_APP = $(DIR_SRC)/$(THISAPP) -TARGET = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) - - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) - -$(DL_FILE) = $(DL_FROM)/$(DL_FILE) - -$(DL_FILE)_MD5 = bad08102fad212cd34405136d9a7eb94 - -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) && ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --with-zlib - - cd $(DIR_APP) && make - -ifeq "$(RUNNING_TEST)" "yes" - # 7 tests pass - cd $(DIR_APP) && make -j 1 check &> $(DIR_TEST)/$(THISAPP)-$(STAGE_ORDER).log -endif - - cd $(DIR_APP) && make install - - # Symlinks for 'module-init-tools' compatibility - for target in depmod modinfo modprobe; do \ - ln -sf /usr/bin/kmod /sbin/$$target; \ - done - ln -sf /usr/bin/kmod /bin/lsmod - - # Currently testing - #@rm -rf $(DIR_APP) - @$(POSTBUILD) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |