mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 03:07:43 +02:00
Merge remote-tracking branch 'ummeegge/lynis' into next
Conflicts: make.sh
This commit is contained in:
124
lfs/backports
Normal file
124
lfs/backports
Normal file
@@ -0,0 +1,124 @@
|
||||
###############################################################################
|
||||
# #
|
||||
# IPFire.org - A linux based firewall #
|
||||
# Copyright (C) 2007-2015 IPFire Team <info@ipfire.org> #
|
||||
# #
|
||||
# This program 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 3 of the License, or #
|
||||
# (at your option) any later version. #
|
||||
# #
|
||||
# This program 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 this program. If not, see <http://www.gnu.org/licenses/>. #
|
||||
# #
|
||||
###############################################################################
|
||||
|
||||
###############################################################################
|
||||
# Definitions
|
||||
###############################################################################
|
||||
|
||||
include Config
|
||||
|
||||
VERSUFIX = ipfire$(KCFG)
|
||||
|
||||
VER = 3.18.1-1
|
||||
|
||||
THISAPP = backports-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.xz
|
||||
DL_FROM = $(URL_IPFIRE)
|
||||
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)-kmod-$(KVER)-$(VERSUFIX)
|
||||
|
||||
#ifeq "$(MACHINE_TYPE)" "arm"
|
||||
CFLAGS += -fno-PIC
|
||||
#endif
|
||||
|
||||
###############################################################################
|
||||
# Top-level Rules
|
||||
###############################################################################
|
||||
|
||||
objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = 6cef5f2c800e12441d2cba9fa42b6a5b
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
|
||||
|
||||
download :$(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
|
||||
md5 : $(subst %,%_MD5,$(objects))
|
||||
|
||||
dist:
|
||||
$(PAK)
|
||||
|
||||
###############################################################################
|
||||
# Downloading, checking, md5sum
|
||||
###############################################################################
|
||||
|
||||
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
|
||||
@$(CHECK)
|
||||
|
||||
$(patsubst %,$(DIR_DL)/%,$(objects)) :
|
||||
@$(LOAD)
|
||||
|
||||
$(subst %,%_MD5,$(objects)) :
|
||||
@$(MD5)
|
||||
|
||||
###############################################################################
|
||||
# Installation Details
|
||||
###############################################################################
|
||||
|
||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
@$(PREBUILD)
|
||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar Jxf $(DIR_DL)/$(DL_FILE)
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/backports-3.18.1-1-ipfire-build.patch
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/backports-3.18.1-1-grsecurity.patch
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/backports-3.18.1-1-add_usbnet_modules.patch
|
||||
|
||||
# DVB patches
|
||||
cd $(DIR_APP) && patch -Np2 < $(DIR_SRC)/src/patches/v4l-dvb_fix_tua6034_pll.patch
|
||||
|
||||
# Wlan patches
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/compat-drivers-3.8.3-ath_ignore_eeprom_regdomain.patch
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/linux-3.14.22-iwlwifi-noibss_only_on_radar_chan.patch
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/linux-3.10.37-rt2800usb_add_dlink_dwa137_usbid.patch
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/backports-3.18.1-1_add_libertas_uap.patch
|
||||
|
||||
# generate config
|
||||
cd $(DIR_APP) && make KLIB=/lib/modules/$(KVER)-$(VERSUFIX)/ allmodconfig
|
||||
|
||||
# Disable some settings
|
||||
cd $(DIR_APP) && sed -i -e "s/CPTCFG_CFG80211_DEVELOPER_WARNINGS=y/# CPTCFG_CFG80211_DEVELOPER_WARNINGS is not set/g" .config
|
||||
cd $(DIR_APP) && sed -i -e "s/CPTCFG_CFG80211_CERTIFICATION_ONUS=y/# CPTCFG_CFG80211_CERTIFICATION_ONUS is not set/g" .config
|
||||
cd $(DIR_APP) && sed -i -e "s/CPTCFG_CFG80211_REG_CELLULAR_HINTS=y/# CPTCFG_CFG80211_REG_CELLULAR_HINTS is not set/g" .config
|
||||
cd $(DIR_APP) && sed -i -e "s/CPTCFG_CFG80211_REG_RELAX_NO_IR=y/# CPTCFG_CFG80211_REG_RELAX_NO_IR is not set/g" .config
|
||||
cd $(DIR_APP) && sed -i -e "s/CPTCFG_CFG80211_INTERNAL_REGDB=y/# CPTCFG_CFG80211_INTERNAL_REGDB is not set/g" .config
|
||||
cd $(DIR_APP) && sed -i -e "s/CPTCFG_CFG80211_DEFAULT_PS=y/# CPTCFG_CFG80211_DEFAULT_PS is not set/g" .config
|
||||
cd $(DIR_APP) && sed -i -e "s/CPTCFG_NFC=m/# CPTCFG_NFC is not set/g" .config
|
||||
|
||||
# Disable some modules (build fail)
|
||||
cd $(DIR_APP) && sed -i -e "s/CPTCFG_VIDEO_VIA_CAMERA=m/# CPTCFG_VIDEO_VIA_CAMERA is not set/g" .config
|
||||
|
||||
# Disable DEBUG
|
||||
cd $(DIR_APP) && sed -i -e "s/.*DEBUG=y/# & is not set/g" .config
|
||||
cd $(DIR_APP) && sed -i -e "s/.*DEBUGFS=y/# & is not set/g" .config
|
||||
cd $(DIR_APP) && sed -i -e "s/=y is not set/ is not set/g" .config
|
||||
|
||||
# Disable OF_GRAPH (not supported by kernel 3.14)
|
||||
cd $(DIR_APP) && sed -i -e "s/CONFIG_OF/CONFIG_OF_IGNORE/g" include/linux/of_graph.h
|
||||
|
||||
cd $(DIR_APP) && make $(MAKETUNING) KLIB=/lib/modules/$(KVER)-$(VERSUFIX)/ install
|
||||
|
||||
# Remove vsp1 module (not mach to our platforms)
|
||||
rm -rf /lib/modules/$(KVER)-$(VERSUFIX)/kernel/drivers/media/platform/vsp1
|
||||
|
||||
@rm -rf $(DIR_APP)
|
||||
@$(POSTBUILD)
|
||||
13
lfs/crda
13
lfs/crda
@@ -24,10 +24,10 @@
|
||||
|
||||
include Config
|
||||
|
||||
VER = 1.1.3
|
||||
VER = 3.13
|
||||
|
||||
THISAPP = crda-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.bz2
|
||||
DL_FILE = $(THISAPP).tar.xz
|
||||
DL_FROM = $(URL_IPFIRE)
|
||||
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||
|
||||
@@ -41,7 +41,7 @@ objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = 29579185e06a75675507527243d28e5c
|
||||
$(DL_FILE)_MD5 = 66b1b0417c1ad19f0009a5c0c0c1aebc
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
@@ -70,8 +70,9 @@ $(subst %,%_MD5,$(objects)) :
|
||||
|
||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
@$(PREBUILD)
|
||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
|
||||
cd $(DIR_APP) && USE_OPENSSL=1 make $(MAKETUNING)
|
||||
cd $(DIR_APP) && USE_OPENSSL=1 make install
|
||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/crda-3.13-crypto_use_optional.patch
|
||||
cd $(DIR_APP) && make $(MAKETUNING)
|
||||
cd $(DIR_APP) && make install
|
||||
@rm -rf $(DIR_APP)
|
||||
@$(POSTBUILD)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
###############################################################################
|
||||
# #
|
||||
# IPFire.org - A linux based firewall #
|
||||
# Copyright (C) 2007-2012 IPFire Team <info@ipfire.org> #
|
||||
# Copyright (C) 2007-2015 IPFire Team <info@ipfire.org> #
|
||||
# #
|
||||
# This program is free software: you can redistribute it and/or modify #
|
||||
# it under the terms of the GNU General Public License as published by #
|
||||
@@ -24,10 +24,10 @@
|
||||
|
||||
include Config
|
||||
|
||||
VER = 20110802
|
||||
VER = 20141125
|
||||
|
||||
THISAPP = dvb-firmwares-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.bz2
|
||||
DL_FILE = $(THISAPP).tar.xz
|
||||
DL_FROM = $(URL_IPFIRE)
|
||||
DIR_APP = $(DIR_SRC)/dvb-firmwares
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = 330e19f9444a03f5338bab590ab9d728
|
||||
$(DL_FILE)_MD5 = 3c7182522dc091b506d2120d71a6a360
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
|
||||
@@ -75,9 +75,9 @@ else
|
||||
endif
|
||||
|
||||
# /boot: 64MB - OFFSET
|
||||
# / : 700MB
|
||||
# / : 750MB
|
||||
S_BOOT := $(shell echo $$(( 131072 - $(S_OFFSET) )))
|
||||
S_ROOT := 1433600
|
||||
S_ROOT := 1536000
|
||||
|
||||
PADDING = 100 # MB
|
||||
|
||||
@@ -116,11 +116,14 @@ endif
|
||||
mkdir -pv $(MNThdd)/boot
|
||||
mount $(PART_BOOT) $(MNThdd)/boot
|
||||
|
||||
# Install MLO and uboot first
|
||||
# Install Pandaboard MLO and uboot first
|
||||
ifeq "$(MACHINE_TYPE)" "arm"
|
||||
cp -v /boot/MLO $(MNThdd)/boot/
|
||||
cp -v /boot/u-boot.img $(MNThdd)/boot/
|
||||
cp -v /boot/zImage-ipfire-multi $(MNThdd)/boot/
|
||||
# work around a u-boot bug not find the folders sometimes
|
||||
mkdir -pv $(MNThdd)/boot/dtb-$(KVER)-ipfire-multi
|
||||
mkdir -pv $(MNThdd)/boot/dtb-$(KVER)-ipfire-kirkwood
|
||||
sync
|
||||
umount $(MNThdd)/boot
|
||||
mount $(PART_BOOT) $(MNThdd)/boot
|
||||
@@ -148,8 +151,7 @@ ifeq "$(SCON)" "1"
|
||||
|
||||
ifeq "$(MACHINE_TYPE)" "arm"
|
||||
sed -i -e "s| console=tty1 | console=ttyAMA0,115200n8 |g" $(MNThdd)/boot/cmdline.txt
|
||||
sed -i -e "s| console=tty1 | console=ttyO2,115200n8 |g" $(MNThdd)/boot/boot.script
|
||||
cd $(MNThdd)/boot && ./convert_bootscript
|
||||
sed -i -e "s| console=tty1 | console=ttyO2,115200n8 |g" $(MNThdd)/boot/uEnv.txt
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -216,6 +218,11 @@ endif
|
||||
# not copied to a block device)
|
||||
dd if=/dev/zero bs=1M count=$(PADDING) >> $(IMG)
|
||||
|
||||
ifeq "$(MACHINE_TYPE)" "arm"
|
||||
# Install u-boot for LeMaker Banana Pi into image 8KB
|
||||
dd if=/usr/share/u-boot/banana_pi/u-boot-sunxi-with-spl.bin of=$(IMG) bs=1K seek=8 conv=notrunc
|
||||
endif
|
||||
|
||||
# Compress Image
|
||||
pigz -f9 < $(IMG) > $(IMAGE_FILE)
|
||||
rm -rf $(IMG) $(MNThdd)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
###############################################################################
|
||||
# #
|
||||
# IPFire.org - A linux based firewall #
|
||||
# Copyright (C) 2007-2014 IPFire Team <info@ipfire.org> #
|
||||
# Copyright (C) 2007-2015 IPFire Team <info@ipfire.org> #
|
||||
# #
|
||||
# This program is free software: you can redistribute it and/or modify #
|
||||
# it under the terms of the GNU General Public License as published by #
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
include Config
|
||||
|
||||
VER = 2.2
|
||||
VER = 2.3
|
||||
|
||||
THISAPP = hostapd-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.gz
|
||||
@@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE)
|
||||
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
PROG = hostapd
|
||||
PAK_VER = 30
|
||||
PAK_VER = 31
|
||||
|
||||
DEPS = ""
|
||||
|
||||
@@ -44,7 +44,7 @@ objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = 23c1f78a693c3288802d516adb7fd289
|
||||
$(DL_FILE)_MD5 = 40b89c61036add0c2dd1fc10767d3b5f
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
|
||||
4
lfs/iw
4
lfs/iw
@@ -24,7 +24,7 @@
|
||||
|
||||
include Config
|
||||
|
||||
VER = 3.10
|
||||
VER = 3.14
|
||||
|
||||
THISAPP = iw-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.xz
|
||||
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = 07219ad06535bc270f7a8873aba6d5fa
|
||||
$(DL_FILE)_MD5 = 66e41053f6fc0781b683b5b688442de6
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
|
||||
12
lfs/kbd
12
lfs/kbd
@@ -35,13 +35,18 @@ TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
###############################################################################
|
||||
# Top-level Rules
|
||||
###############################################################################
|
||||
objects = $(DL_FILE) $(THISAPP)-more-programs-1.patch
|
||||
objects = $(DL_FILE) $(THISAPP)-more-programs-1.patch \
|
||||
kbd-latarcyrheb-16-fixed.tar.bz2 kbd-latsun-fonts.tar.bz2
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
$(THISAPP)-more-programs-1.patch = $(DL_FROM)/kbd-$(VER)-more-programs-1.patch
|
||||
kbd-latarcyrheb-16-fixed.tar.bz2 = $(DL_FROM)/kbd-latarcyrheb-16-fixed.tar.bz2
|
||||
kbd-latsun-fonts.tar.bz2 = $(DL_FROM)/kbd-latsun-fonts.tar.bz2
|
||||
|
||||
$(DL_FILE)_MD5 = 069d1175b4891343b107a8ac2b4a39f6
|
||||
$(THISAPP)-more-programs-1.patch_MD5 = dc70180a6bc0afa2b741cd38e3cc2e18
|
||||
kbd-latarcyrheb-16-fixed.tar.bz2_MD5 = 884fdbb0b952b2e3e8389a0c40a3e301
|
||||
kbd-latsun-fonts.tar.bz2_MD5 = e22ee88353968df8d4a4b1bf1fa8fc31
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
@@ -74,6 +79,11 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/$(THISAPP)-more-programs-1.patch
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/$(THISAPP)-backspace-1.patch
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/$(THISAPP)-gcc4_fixes-1.patch
|
||||
|
||||
# Extract our own fonts
|
||||
cd $(DIR_APP) && tar xvfa $(DIR_DL)/kbd-latarcyrheb-16-fixed.tar.bz2
|
||||
cd $(DIR_APP) && tar xvfa $(DIR_DL)/kbd-latsun-fonts.tar.bz2
|
||||
|
||||
cd $(DIR_APP) && ./configure --datadir=/lib/kbd --disable-nls
|
||||
cd $(DIR_APP) && make $(MAKETUNING)
|
||||
cd $(DIR_APP) && make install
|
||||
|
||||
20
lfs/linux
20
lfs/linux
@@ -24,11 +24,11 @@
|
||||
|
||||
include Config
|
||||
|
||||
VER = 3.14.25
|
||||
VER = 3.14.27
|
||||
|
||||
RPI_PATCHES = 3.14.25-grsec-ipfire1
|
||||
A7M_PATCHES = 3.14.25-grsec-ipfire1
|
||||
GRS_PATCHES = grsecurity-3.0-3.14.25-201411220954.patch.xz
|
||||
RPI_PATCHES = 3.14.27-grsec-ipfire1
|
||||
A7M_PATCHES = 3.14.27-grsec-ipfire1
|
||||
GRS_PATCHES = grsecurity-3.0-3.14.27-201412170659.patch.xz
|
||||
|
||||
THISAPP = linux-$(VER)
|
||||
DL_FILE = linux-$(VER).tar.xz
|
||||
@@ -37,7 +37,7 @@ DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||
CFLAGS =
|
||||
CXXFLAGS =
|
||||
|
||||
PAK_VER = 53
|
||||
PAK_VER = 55
|
||||
DEPS = ""
|
||||
|
||||
VERSUFIX=ipfire$(KCFG)
|
||||
@@ -77,10 +77,10 @@ rpi-patches-$(RPI_PATCHES).patch.xz = $(URL_IPFIRE)/rpi-patches-$(RPI_PATCHES).
|
||||
arm7-multi-patches-$(A7M_PATCHES).patch.xz = $(URL_IPFIRE)/arm7-multi-patches-$(A7M_PATCHES).patch.xz
|
||||
$(GRS_PATCHES) = $(URL_IPFIRE)/$(GRS_PATCHES)
|
||||
|
||||
$(DL_FILE)_MD5 = 3ae910d35292706d85870c3939547123
|
||||
rpi-patches-$(RPI_PATCHES).patch.xz_MD5 = b573af847c28ebed8c15a74542360db1
|
||||
arm7-multi-patches-$(A7M_PATCHES).patch.xz_MD5 = 8b47b81a530db68cb2c2f6bb6418ca28
|
||||
$(GRS_PATCHES)_MD5 = 6b2c8669e39304cfe647f9de16260929
|
||||
$(DL_FILE)_MD5 = 0af2d0702df6ee6d7181e697e0af3481
|
||||
rpi-patches-$(RPI_PATCHES).patch.xz_MD5 = 543a77d5602829f78b18788e5cb82188
|
||||
arm7-multi-patches-$(A7M_PATCHES).patch.xz_MD5 = 7014ce20d9ede588ea2c244d901cbeeb
|
||||
$(GRS_PATCHES)_MD5 = 66af1d48af9dce2d0eb363bbc6bfb668
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
@@ -140,6 +140,8 @@ endif
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/linux-3.14.22-iwlwifi-noibss_only_on_radar_chan.patch
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/linux-3.10.37-rt2800usb_add_dlink_dwa137_usbid.patch
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/linux-3.10.55-rt2800usb-change_queue_warn_to_debug.patch
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/linux-3.14.25_rt2x00_fix_bss_bcn_num.patch
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/linux-3.14.25-rt5592_no_special_txop_init.patch
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/linux-3.10.39-add_libertas_uap.patch
|
||||
|
||||
# mISDN Patches
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
###############################################################################
|
||||
# #
|
||||
# IPFire.org - A linux based firewall #
|
||||
# Copyright (C) 2007-2014 IPFire Team <info@ipfire.org> #
|
||||
# Copyright (C) 2007-2015 IPFire Team <info@ipfire.org> #
|
||||
# #
|
||||
# This program is free software: you can redistribute it and/or modify #
|
||||
# it under the terms of the GNU General Public License as published by #
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
include Config
|
||||
|
||||
VER = 52d77db
|
||||
VER = 78535e8
|
||||
|
||||
THISAPP = linux-firmware-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.xz
|
||||
@@ -40,7 +40,8 @@ objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = 3f6f1e78af3ee67a5540355f2ed8ba14
|
||||
$(DL_FILE)_MD5 = a4cafb924fbcaeb34d1b464be0e4d089
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
|
||||
|
||||
10
lfs/lynis
10
lfs/lynis
@@ -1,7 +1,7 @@
|
||||
###############################################################################
|
||||
# #
|
||||
# IPFire.org - A linux based firewall #
|
||||
# Copyright (C) 2007 Michael Tremer & Christian Schmidt #
|
||||
# Copyright (C) 2015 IPfire Team <info@ipfire.org> #
|
||||
# #
|
||||
# This program is free software: you can redistribute it and/or modify #
|
||||
# it under the terms of the GNU General Public License as published by #
|
||||
@@ -24,16 +24,16 @@
|
||||
|
||||
include Config
|
||||
|
||||
VER = 1.2.9
|
||||
VER = 1.6.4
|
||||
|
||||
THISAPP = lynis-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.gz
|
||||
DL_FROM = $(URL_IPFIRE)
|
||||
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||
DIR_APP = $(DIR_SRC)/lynis
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
|
||||
PROG = lynis
|
||||
PAK_VER = 4
|
||||
PAK_VER = 5
|
||||
DEPS = ""
|
||||
|
||||
###############################################################################
|
||||
@@ -44,7 +44,7 @@ objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = 69b369173ffc0f10f021035f73857e1f
|
||||
$(DL_FILE)_MD5 = dfa946388af8926bd24f772d4fa4830a
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
|
||||
4
lfs/ntp
4
lfs/ntp
@@ -24,7 +24,7 @@
|
||||
|
||||
include Config
|
||||
|
||||
VER = 4.2.6p5
|
||||
VER = 4.2.8
|
||||
|
||||
THISAPP = ntp-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.gz
|
||||
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = 00df80a84ec9528fcfb09498075525bc
|
||||
$(DL_FILE)_MD5 = 6972a626be6150db8cfbd0b63d8719e7
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
include Config
|
||||
|
||||
VER = 1.0.1j
|
||||
VER = 1.0.1k
|
||||
|
||||
THISAPP = openssl-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.gz
|
||||
@@ -51,7 +51,7 @@ objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = f7175c9cd3c39bb1907ac8bba9df8ed3
|
||||
$(DL_FILE)_MD5 = d4f002bd22a56881340105028842ae1f
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
@@ -105,6 +105,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
no-mdc2 \
|
||||
no-rc5 \
|
||||
no-srp \
|
||||
no-ssl2 \
|
||||
no-ssl3 \
|
||||
$(CONFIGURE_ARGS) \
|
||||
-DSSL_FORBID_ENULL \
|
||||
-DHAVE_CRYPTODEV \
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
include Config
|
||||
|
||||
VER = 0.9.8zc
|
||||
VER = 0.9.8zd
|
||||
|
||||
THISAPP = openssl-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.gz
|
||||
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = 1b239eea3a60d67863e7b66700e47a16
|
||||
$(DL_FILE)_MD5 = e9b9ee12f2911e1a378e2458d9bfff77
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ THISAPP = squid-accounting-$(VER)
|
||||
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
PROG = squid-accounting
|
||||
PAK_VER = 3
|
||||
PAK_VER = 4
|
||||
|
||||
DEPS = "perl-DBI perl-DBD-SQLite perl-File-ReadBackwards perl-PDF-API2 sendEmail"
|
||||
|
||||
|
||||
20
lfs/u-boot
20
lfs/u-boot
@@ -24,7 +24,7 @@
|
||||
|
||||
include Config
|
||||
|
||||
VER = 2013.10
|
||||
VER = 2014.04
|
||||
|
||||
THISAPP = u-boot-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.bz2
|
||||
@@ -41,7 +41,7 @@ objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = a076a044b64371edc52f7e562b13f6b2
|
||||
$(DL_FILE)_MD5 = 6d2116d1385a66e9a59742caa9d62a54
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
@@ -84,7 +84,6 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
# Install pandaboard uboot as default
|
||||
cd $(DIR_APP) && install MLO /boot/
|
||||
cd $(DIR_APP) && install u-boot.img /boot/
|
||||
cp -vf $(DIR_SRC)/config/u-boot/* /boot/
|
||||
cd $(DIR_APP) && make distclean
|
||||
|
||||
# Wandboard Quad
|
||||
@@ -111,9 +110,24 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
/usr/share/u-boot/wandboard_solo
|
||||
cd $(DIR_APP) && make distclean
|
||||
|
||||
# LeMaker Banana Pi
|
||||
-mkdir -pv /usr/share/u-boot/banana_pi
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/u-boot/sunxi/001-uboot-sunxi-509d96d4f1f602d62d36db660973249e16f9d088.patch
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/u-boot/sunxi/002-uboot-jwrdegoede-psci-support.patch
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/u-boot/sunxi/003-uboot-fix-gmac-not-working-reliable-on-bananapi.patch
|
||||
cd $(DIR_APP) && make CROSS_COMPILE="" Bananapi_config
|
||||
cd $(DIR_APP) && make CROSS_COMPILE="" HOSTCC="gcc $(CFLAGS)"
|
||||
cd $(DIR_APP) && install -v -m 644 u-boot-sunxi-with-spl.bin \
|
||||
/usr/share/u-boot/banana_pi
|
||||
|
||||
# mkimage
|
||||
cd $(DIR_APP) && make CROSS_COMPILE="" HOSTCC="gcc $(CFLAGS)" tools
|
||||
cd $(DIR_APP) && install -v -m 755 tools/mkimage /usr/bin
|
||||
|
||||
# config (uEnv.txt)
|
||||
cp -vf $(DIR_SRC)/config/u-boot/* /boot/
|
||||
# patch real Kernel version to uEnv.txt
|
||||
sed -e "s/xxxKVERxxx/$(KVER)/g" -i /boot/uEnv.txt
|
||||
|
||||
@rm -rf $(DIR_APP)
|
||||
@$(POSTBUILD)
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
include Config
|
||||
|
||||
VER = 2013.02.13
|
||||
VER = 2014.11.18
|
||||
|
||||
THISAPP = wireless-regdb-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.xz
|
||||
@@ -41,7 +41,7 @@ objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = 46a4aa49282ea6713c3cf28cc2fc600f
|
||||
$(DL_FILE)_MD5 = d750c402c5510add7380edcb1d9b75b2
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
###############################################################################
|
||||
# #
|
||||
# IPFire.org - A linux based firewall #
|
||||
# Copyright (C) 2007-2014 IPFire Team <info@ipfire.org> #
|
||||
# Copyright (C) 2007-2015 IPFire Team <info@ipfire.org> #
|
||||
# #
|
||||
# This program is free software: you can redistribute it and/or modify #
|
||||
# it under the terms of the GNU General Public License as published by #
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
include Config
|
||||
|
||||
VER = 2.2
|
||||
VER = 2.3
|
||||
|
||||
THISAPP = wpa_supplicant-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.gz
|
||||
@@ -41,7 +41,7 @@ objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = 238e8e888bbd558e1a57e3eb28d1dd07
|
||||
$(DL_FILE)_MD5 = f2ed8fef72cf63d8d446a2d0a6da630a
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user