mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 03:33:25 +02:00
Merge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into asterisk-update
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
###############################################################################
|
||||
# #
|
||||
# IPFire.org - A linux based firewall #
|
||||
# Copyright (C) 2007-2012 IPFire Team <info@ipfire.org> #
|
||||
# Copyright (C) 2007-2014 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 #
|
||||
@@ -25,7 +25,7 @@
|
||||
include Config
|
||||
|
||||
VER = 1.17
|
||||
DATVER = 01102013
|
||||
DATVER = 06052014
|
||||
|
||||
THISAPP = Geo-IP-PurePerl-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.gz
|
||||
@@ -43,7 +43,7 @@ $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
GeoIP.dat-$(DATVER).gz = $(DL_FROM)/GeoIP.dat-$(DATVER).gz
|
||||
|
||||
$(DL_FILE)_MD5 = 42a6b9d4dd2563a20c8998556216e1de
|
||||
GeoIP.dat-$(DATVER).gz_MD5 = 4aecef560aa6dacfe7e59dad8a12914b
|
||||
GeoIP.dat-$(DATVER).gz_MD5 = aba5fc86202337c53a33bbc47d2083d0
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
include Config
|
||||
|
||||
VER = 0.98.1
|
||||
VER = 0.98.3
|
||||
|
||||
THISAPP = clamav-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.gz
|
||||
@@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE)
|
||||
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
PROG = clamav
|
||||
PAK_VER = 24
|
||||
PAK_VER = 25
|
||||
|
||||
DEPS = ""
|
||||
|
||||
@@ -48,7 +48,7 @@ objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = b1ec7b19dea8385954515ef1d63576d8
|
||||
$(DL_FILE)_MD5 = b649d35ee85d4d6075a98173dd255c17
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
@@ -96,6 +96,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
|
||||
# Disable PaX mprotect for clamd and freshclam
|
||||
paxctl -cm /usr/sbin/clamd
|
||||
paxctl -cm /usr/bin/clamscan
|
||||
paxctl -cm /usr/bin/freshclam
|
||||
|
||||
@rm -rf $(DIR_APP)
|
||||
|
||||
4
lfs/daq
4
lfs/daq
@@ -24,7 +24,7 @@
|
||||
|
||||
include Config
|
||||
|
||||
VER = 2.0.1
|
||||
VER = 2.0.2
|
||||
|
||||
THISAPP = daq-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.gz
|
||||
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = 044aa3663d44580d005293eeb8ccf175
|
||||
$(DL_FILE)_MD5 = 865bf9b750a2a2ca632591a3c70b0ea0
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
include Config
|
||||
|
||||
VER = 2.1.9
|
||||
VER = 2.1.10
|
||||
|
||||
THISAPP = fireinfo-v$(VER)
|
||||
DL_FILE = $(THISAPP).tar.gz
|
||||
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = a4dbb3a4111f263b5059b2f76b14b32c
|
||||
$(DL_FILE)_MD5 = cc7838cda22d7d4e9bb177aa1dc6f25a
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
@@ -71,8 +71,6 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
@$(PREBUILD)
|
||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
|
||||
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/fireinfo-0001-Exclude-some-more-invalid-patterns.patch
|
||||
|
||||
cd $(DIR_APP) && [ -x "configure" ] || sh ./autogen.sh
|
||||
cd $(DIR_APP) && ./configure --prefix=/usr
|
||||
cd $(DIR_APP) && make $(MAKETUNING)
|
||||
|
||||
@@ -65,9 +65,9 @@ else
|
||||
endif
|
||||
|
||||
# /boot: 64MB - OFFSET
|
||||
# / : 600MB
|
||||
# / : 700MB
|
||||
S_BOOT := $(shell echo $$(( 131072 - $(S_OFFSET) )))
|
||||
S_ROOT := 1228800
|
||||
S_ROOT := 1433600
|
||||
|
||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
rm -rf $(MNThdd) $(IMGinst) $(IMGpart) $(IMGboot) $(IMGroot) && mkdir -p $(MNThdd)
|
||||
|
||||
24
lfs/initrd
24
lfs/initrd
@@ -64,11 +64,25 @@ $(TARGET) :
|
||||
|
||||
-cd / && cpio -d -p /install/initrd < /tmp/ROOTFILES
|
||||
|
||||
# Copy hid and network modules
|
||||
# Copy hid and network modules (and deps)
|
||||
cp -aRf /lib/modules/$(KVER)-ipfire/kernel/drivers/hid \
|
||||
/install/initrd/lib/modules/$(KVER)-ipfire/kernel/drivers/
|
||||
cp -aRf /lib/modules/$(KVER)-ipfire/kernel/drivers/net \
|
||||
/install/initrd/lib/modules/$(KVER)-ipfire/kernel/drivers/
|
||||
cp -aRf /lib/modules/$(KVER)-ipfire/kernel/drivers/pcmcia \
|
||||
/install/initrd/lib/modules/$(KVER)-ipfire/kernel/drivers/
|
||||
cp -aRf /lib/modules/$(KVER)-ipfire/kernel/drivers/ssb \
|
||||
/install/initrd/lib/modules/$(KVER)-ipfire/kernel/drivers/
|
||||
cp -aRf /lib/modules/$(KVER)-ipfire/kernel/drivers/uio \
|
||||
/install/initrd/lib/modules/$(KVER)-ipfire/kernel/drivers/
|
||||
cp -aRf /lib/modules/$(KVER)-ipfire/kernel/drivers/ptp \
|
||||
/install/initrd/lib/modules/$(KVER)-ipfire/kernel/drivers/
|
||||
cp -aRf /lib/modules/$(KVER)-ipfire/kernel/drivers/dca \
|
||||
/install/initrd/lib/modules/$(KVER)-ipfire/kernel/drivers/
|
||||
cp -aRf /lib/modules/$(KVER)-ipfire/kernel/drivers/pps \
|
||||
/install/initrd/lib/modules/$(KVER)-ipfire/kernel/drivers/
|
||||
# Remove wireless modules
|
||||
rm -rf /install/initrd/lib/modules/$(KVER)-ipfire/kernel/drivers/net/wireless
|
||||
|
||||
cd /install/initrd/etc && rm -f fstab
|
||||
cp -aRf $(DIR_SRC)/config/install/* /install/initrd/etc/
|
||||
@@ -93,6 +107,14 @@ $(TARGET) :
|
||||
cp -f /etc/nsswitch.conf /install/initrd/etc/
|
||||
cp -f $(DIR_SRC)/config/initrd/dhcpc/* /install/initrd/var/ipfire/dhcpc/dhcpcd-hooks/
|
||||
|
||||
# Install needed locales.
|
||||
-mkdir -pv /install/initrd/usr/lib/locale
|
||||
for lang in $(DIR_SRC)/langs/*; do \
|
||||
for path in /usr/lib/locale/$${lang##*/}*; do \
|
||||
[ -d "$${path}" ] && cp -lrvf "$${path}" /install/initrd/usr/lib/locale/; \
|
||||
done; \
|
||||
done
|
||||
|
||||
cd /install/initrd && find . | cpio -o -H newc | lzma > /install/images/initrd
|
||||
cd /install/initrd && find ./ -ls > $(DIR_INFO)/_build.initrd.log
|
||||
|
||||
|
||||
@@ -1,78 +0,0 @@
|
||||
###############################################################################
|
||||
# #
|
||||
# IPFire.org - A linux based firewall #
|
||||
# Copyright (C) 2007 Michael Tremer & Christian Schmidt #
|
||||
# #
|
||||
# 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
|
||||
|
||||
VER = 2.0.18
|
||||
|
||||
THISAPP = libsigc++-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.bz2
|
||||
DL_FROM = $(URL_IPFIRE)
|
||||
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
|
||||
###############################################################################
|
||||
# Top-level Rules
|
||||
###############################################################################
|
||||
|
||||
objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = ddebf5aafc8525d10366a8724abc9f28
|
||||
|
||||
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) : $(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/libsigc++-gcc43.patch
|
||||
cd $(DIR_APP) && ./configure --prefix=/usr
|
||||
cd $(DIR_APP) && make $(MAKETUNING)
|
||||
cd $(DIR_APP) && make install
|
||||
@rm -rf $(DIR_APP)
|
||||
@$(POSTBUILD)
|
||||
16
lfs/linux
16
lfs/linux
@@ -24,10 +24,10 @@
|
||||
|
||||
include Config
|
||||
|
||||
VER = 3.10.37
|
||||
VER = 3.10.39
|
||||
|
||||
RPI_PATCHES = linux-3.10.34-grsec-dea8280
|
||||
GRS_PATCHES = grsecurity-2.9.1-3.10.37-ipfire1.patch.xz
|
||||
RPI_PATCHES = linux-3.10.38-grsec-1b49b45
|
||||
GRS_PATCHES = grsecurity-2.9.1-3.10.39-ipfire1.patch.xz
|
||||
|
||||
THISAPP = linux-$(VER)
|
||||
DL_FILE = linux-$(VER).tar.xz
|
||||
@@ -36,7 +36,7 @@ DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||
CFLAGS =
|
||||
CXXFLAGS =
|
||||
|
||||
PAK_VER = 42
|
||||
PAK_VER = 44
|
||||
DEPS = ""
|
||||
|
||||
VERSUFIX=ipfire$(KCFG)
|
||||
@@ -74,9 +74,9 @@ $(DL_FILE) = $(URL_IPFIRE)/$(DL_FILE)
|
||||
rpi-patches-$(RPI_PATCHES).patch.xz = $(URL_IPFIRE)/rpi-patches-$(RPI_PATCHES).patch.xz
|
||||
$(GRS_PATCHES) = $(URL_IPFIRE)/$(GRS_PATCHES)
|
||||
|
||||
$(DL_FILE)_MD5 = a08a10ffc31b07d9422af1cd2baa3274
|
||||
rpi-patches-$(RPI_PATCHES).patch.xz_MD5 = 522683db031f7033b1b5dfe1b1f30e67
|
||||
$(GRS_PATCHES)_MD5 = 7b0f44571974217d79dbcdf5d7e33976
|
||||
$(DL_FILE)_MD5 = 74db7cc558a1a72ebf5044d286e2bc47
|
||||
rpi-patches-$(RPI_PATCHES).patch.xz_MD5 = a7408e8bad57b4b2cb677dd5a0bfb7ff
|
||||
$(GRS_PATCHES)_MD5 = 6296b7ec4146544249075249e338ceb3
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
@@ -137,6 +137,8 @@ endif
|
||||
# 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.10.34-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.39-add_libertas_uap.patch
|
||||
|
||||
# mISDN Patches
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/mISDN_hfc-s_add_id.patch
|
||||
|
||||
8
lfs/mc
8
lfs/mc
@@ -1,7 +1,7 @@
|
||||
###############################################################################
|
||||
# #
|
||||
# IPFire.org - A linux based firewall #
|
||||
# Copyright (C) 2007-2013 IPFire Team <info@ipfire.org> #
|
||||
# Copyright (C) 2007-2014 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 = 4.8.9
|
||||
VER = 4.8.12
|
||||
|
||||
THISAPP = mc-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.xz
|
||||
@@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE)
|
||||
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
PROG = mc
|
||||
PAK_VER = 8
|
||||
PAK_VER = 9
|
||||
|
||||
DEPS = ""
|
||||
|
||||
@@ -44,7 +44,7 @@ objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = 0f8a05f9a9708241541ae177c8e2f209
|
||||
$(DL_FILE)_MD5 = 7ecccc03df060cd0ca1414a5a14e6649
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
|
||||
6
lfs/nut
6
lfs/nut
@@ -24,7 +24,7 @@
|
||||
|
||||
include Config
|
||||
|
||||
VER = 2.6.3
|
||||
VER = 2.7.2
|
||||
|
||||
THISAPP = nut-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.gz
|
||||
@@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE)
|
||||
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
PROG = nut
|
||||
PAK_VER = 4
|
||||
PAK_VER = 5
|
||||
|
||||
DEPS = ""
|
||||
|
||||
@@ -44,7 +44,7 @@ objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = 8db00c21f8bc03add6e14d15f634ec6a
|
||||
$(DL_FILE)_MD5 = c3568b42e058cfc385b46d25140dced4
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
|
||||
10
lfs/openvpn
10
lfs/openvpn
@@ -1,7 +1,7 @@
|
||||
###############################################################################
|
||||
# #
|
||||
# IPFire.org - A linux based firewall #
|
||||
# Copyright (C) 2007-2013 IPFire Team <info@ipfire.org> #
|
||||
# Copyright (C) 2007-2014 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 = 2.3.2
|
||||
VER = 2.3.4
|
||||
|
||||
THISAPP = openvpn-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.gz
|
||||
DL_FILE = $(THISAPP).tar.xz
|
||||
DL_FROM = $(URL_IPFIRE)
|
||||
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = 06e5f93dbf13f2c19647ca15ffc23ac1
|
||||
$(DL_FILE)_MD5 = 9b70be9fb45e407117c3c9b118e4ba22
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
@@ -69,7 +69,7 @@ $(subst %,%_MD5,$(objects)) :
|
||||
|
||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
@$(PREBUILD)
|
||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
|
||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar Jxf $(DIR_DL)/$(DL_FILE)
|
||||
cd $(DIR_APP) && ./configure \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/var/ipfire/ovpn \
|
||||
|
||||
13
lfs/pound
13
lfs/pound
@@ -24,7 +24,7 @@
|
||||
|
||||
include Config
|
||||
|
||||
VER = 2.6
|
||||
VER = 2.7c
|
||||
|
||||
THISAPP = Pound-$(VER)
|
||||
DL_FILE = $(THISAPP).tgz
|
||||
@@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE)
|
||||
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
PROG = pound
|
||||
PAK_VER = 5
|
||||
PAK_VER = 6
|
||||
|
||||
DEPS = ""
|
||||
|
||||
@@ -44,7 +44,7 @@ objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = 8c913b527332694943c4c67c8f152071
|
||||
$(DL_FILE)_MD5 = 56dace6b79c6be1d25b31355269c380a
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
@@ -77,16 +77,11 @@ $(subst %,%_MD5,$(objects)) :
|
||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
@$(PREBUILD)
|
||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
|
||||
cd $(DIR_APP) && patch -p4 < $(DIR_SRC)/src/patches/pound-2.6.patch
|
||||
cd $(DIR_APP) && patch -p1 < $(DIR_SRC)/src/patches/Pound-2.6-reneg-ciphers-altnames-nosslv2.patch
|
||||
cd $(DIR_APP) && ./configure --prefix=/usr --sysconfdir=/etc --enable-cert1l
|
||||
cd $(DIR_APP) && ./configure --prefix=/usr --sysconfdir=/etc
|
||||
cd $(DIR_APP) && make $(MAKETUNING)
|
||||
cd $(DIR_APP) && make install
|
||||
install -v -m 644 $(DIR_SRC)/config/backup/includes/pound \
|
||||
/var/ipfire/backup/addons/includes/pound
|
||||
ln -sf ../init.d/pound /etc/rc.d/rc3.d/S60pound
|
||||
ln -sf ../init.d/pound /etc/rc.d/rc0.d/K40pound
|
||||
ln -sf ../init.d/pound /etc/rc.d/rc6.d/K40pound
|
||||
|
||||
# Remove temporary file.
|
||||
rm -vf /root/.rnd
|
||||
|
||||
7
lfs/ppp
7
lfs/ppp
@@ -73,9 +73,14 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
@$(PREBUILD)
|
||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
|
||||
cd $(DIR_APP) && rm -f include/pcap-int.h include/linux/if_pppol2tp.h
|
||||
cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/ppp/0003-build-sys-utilize-compiler-flags-handed-to-us-by-rpm.patch
|
||||
cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/ppp/0012-pppd-we-don-t-want-to-accidentally-leak-fds.patch
|
||||
cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/ppp/0013-everywhere-O_CLOEXEC-harder.patch
|
||||
cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/ppp/0014-everywhere-use-SOCK_CLOEXEC-when-creating-socket.patch
|
||||
cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/ppp/ppp-2.4.6-increase-max-padi-attempts.patch
|
||||
cd $(DIR_APP) && sed -i -e "s+/etc/ppp/connect-errors+/var/log/connect-errors+" pppd/pathnames.h
|
||||
cd $(DIR_APP) && ./configure --prefix=/usr --disable-nls
|
||||
cd $(DIR_APP) && make $(MAKETUNING) CC="gcc $(CFLAGS)"
|
||||
cd $(DIR_APP) && make $(MAKETUNING) CC="gcc" RPM_OPT_FLAGS="$(CFLAGS)"
|
||||
cd $(DIR_APP) && make install
|
||||
cd $(DIR_APP) && make install-etcppp
|
||||
touch /var/log/connect-errors
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
include Config
|
||||
|
||||
VER = 18a7921
|
||||
VER = cd50136
|
||||
THISAPP = rpi-firmware-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.xz
|
||||
DL_FROM = $(URL_IPFIRE)
|
||||
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = 07a83d2700fb73aad67154c9e74901f3
|
||||
$(DL_FILE)_MD5 = fced022c0e646affae0d5d5543f59054
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
|
||||
30
lfs/snort
30
lfs/snort
@@ -24,7 +24,7 @@
|
||||
|
||||
include Config
|
||||
|
||||
VER = 2.9.5.3
|
||||
VER = 2.9.6.1
|
||||
|
||||
THISAPP = snort-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.gz
|
||||
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = f99465c0734a6173bfca899dcb72266b
|
||||
$(DL_FILE)_MD5 = d7c0f1ddb2e70b70acdaa4664abb5fb0
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
@@ -70,14 +70,26 @@ $(subst %,%_MD5,$(objects)) :
|
||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
@$(PREBUILD)
|
||||
@rm -rf $(DIR_APP) $(DIR_SRC)/snort* && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
|
||||
cd $(DIR_APP) && ./configure --prefix=/usr --disable-nls \
|
||||
--sysconfdir=/etc/snort --target=i586 \
|
||||
--enable-linux-smp-stats --enable-smb-alerts \
|
||||
--enable-gre --enable-mpls --enable-targetbased \
|
||||
--enable-decoder-preprocessor-rules --enable-ppm \
|
||||
cd $(DIR_APP) && ./configure \
|
||||
--prefix=/usr \
|
||||
--disable-nls \
|
||||
--sysconfdir=/etc/snort \
|
||||
--target=i586 \
|
||||
--enable-linux-smp-stats \
|
||||
--enable-smb-alerts \
|
||||
--enable-gre --enable-mpls \
|
||||
--enable-targetbased \
|
||||
--enable-decoder-preprocessor-rules \
|
||||
--enable-ppm \
|
||||
--enable-non-ether-decoders \
|
||||
--enable-perfprofiling --enable-zlib --enable-active-response \
|
||||
--enable-normalizer --enable-reload --enable-react --enable-flexresp3
|
||||
--enable-perfprofiling \
|
||||
--enable-zlib \
|
||||
--enable-active-response \
|
||||
--enable-normalizer \
|
||||
--enable-reload \
|
||||
--enable-react \
|
||||
--enable-flexresp3
|
||||
|
||||
cd $(DIR_APP) && make
|
||||
cd $(DIR_APP) && make install
|
||||
mv /usr/bin/snort /usr/sbin/
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
include Config
|
||||
|
||||
VER = 3.4.4
|
||||
VER = 3.4.5
|
||||
|
||||
THISAPP = squid-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.xz
|
||||
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = dc2bcb967fc6b15bbbc6b961010c0c00
|
||||
$(DL_FILE)_MD5 = a831efb36cfbaa419f8dc7a43cba72c9
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
###############################################################################
|
||||
# #
|
||||
# IPFire.org - A linux based firewall #
|
||||
# Copyright (C) 2009 Michael Tremer & Christian Schmidt #
|
||||
# Copyright (C) 2014 Michael Tremer & Christian Schmidt #
|
||||
# #
|
||||
# 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,15 +24,17 @@
|
||||
|
||||
include Config
|
||||
|
||||
VER = 0.12.6
|
||||
VER = 1.10.2
|
||||
|
||||
THISAPP = libtorrent-$(VER)
|
||||
THISAPP = sslscan-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.gz
|
||||
DL_FROM = $(URL_IPFIRE)
|
||||
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
CFLAGS =
|
||||
CXXFLAGS =
|
||||
PROG = sslscan
|
||||
PAK_VER = 1
|
||||
|
||||
DEPS = ""
|
||||
|
||||
###############################################################################
|
||||
# Top-level Rules
|
||||
@@ -42,7 +44,7 @@ objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = 037499ed708aaf72988cee60e5a8d96b
|
||||
$(DL_FILE)_MD5 = 41ecff92303cecfd00bf3c7de509af14
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
@@ -52,6 +54,9 @@ download :$(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
|
||||
md5 : $(subst %,%_MD5,$(objects))
|
||||
|
||||
dist:
|
||||
@$(PAK)
|
||||
|
||||
###############################################################################
|
||||
# Downloading, checking, md5sum
|
||||
###############################################################################
|
||||
@@ -71,9 +76,8 @@ $(subst %,%_MD5,$(objects)) :
|
||||
|
||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
@$(PREBUILD)
|
||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
|
||||
cd $(DIR_APP) && ./configure --prefix=/usr --disable-ipv6
|
||||
cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE)
|
||||
cd $(DIR_APP) && make install
|
||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
|
||||
cd $(DIR_APP) && make $(MAKETUNING) CFLAGS="$(CFLAGS)"
|
||||
cd $(DIR_APP) && make install PREFIX=/usr
|
||||
@rm -rf $(DIR_APP)
|
||||
@$(POSTBUILD)
|
||||
@@ -89,6 +89,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
--enable-farp \
|
||||
--enable-openssl \
|
||||
--enable-xauth-eap \
|
||||
--enable-xauth-noauth \
|
||||
--enable-eap-radius \
|
||||
--enable-eap-tls \
|
||||
--enable-eap-ttls \
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
###############################################################################
|
||||
# #
|
||||
# IPFire.org - A linux based firewall #
|
||||
# Copyright (C) 2009 Michael Tremer & Christian Schmidt #
|
||||
# Copyright (C) 2007 Michael Tremer & Christian Schmidt #
|
||||
# #
|
||||
# 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,17 +24,15 @@
|
||||
|
||||
include Config
|
||||
|
||||
VER = 0.8.6
|
||||
VER = 5.01
|
||||
|
||||
THISAPP = rtorrent-$(VER)
|
||||
THISAPP = stunnel-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.gz
|
||||
DL_FROM = $(URL_IPFIRE)
|
||||
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
PROG = rtorrent
|
||||
PAK_VER = 5
|
||||
CFLAGS =
|
||||
CXXFLAGS =
|
||||
PROG = stunnel
|
||||
PAK_VER = 1
|
||||
|
||||
DEPS = ""
|
||||
|
||||
@@ -46,7 +44,7 @@ objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = b804c45c01c40312926bcea6b55bb084
|
||||
$(DL_FILE)_MD5 = 7b63266b6fa05da696729e245100da65
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
@@ -79,8 +77,25 @@ $(subst %,%_MD5,$(objects)) :
|
||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
@$(PREBUILD)
|
||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
|
||||
cd $(DIR_APP) && ./configure --prefix=/usr
|
||||
cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE)
|
||||
cd $(DIR_APP) && ./configure \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var
|
||||
cd $(DIR_APP) && make $(MAKETUNING)
|
||||
cd $(DIR_APP) && make install
|
||||
|
||||
# Create secure directory
|
||||
install -v -m750 -o stunnel -g stunnel -d /var/lib/stunnel/run
|
||||
chown -v stunnel:stunnel /var/lib/stunnel
|
||||
|
||||
# Install default configuration
|
||||
-mkdir -pv /etc/stunnel
|
||||
install -v -m 644 $(DIR_SRC)/config/stunnel/stunnel.conf \
|
||||
/etc/stunnel
|
||||
|
||||
# Install backup include
|
||||
install -v -m 644 $(DIR_SRC)/config/backup/includes/stunnel \
|
||||
/var/ipfire/backup/addons/includes
|
||||
|
||||
@rm -rf $(DIR_APP)
|
||||
@$(POSTBUILD)
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
include Config
|
||||
|
||||
VER = 2.0.1
|
||||
VER = 2.1.1
|
||||
|
||||
THISAPP = usb-modeswitch-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.bz2
|
||||
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = e48d4419d0574d342bb183f7465556d0
|
||||
$(DL_FILE)_MD5 = 1f0dc900df88254bd1102444cb73efbc
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
include Config
|
||||
|
||||
VER = 20131113
|
||||
VER = 20140327
|
||||
|
||||
THISAPP = usb-modeswitch-data-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.bz2
|
||||
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = 7b5ac1226b360ddc366c286e62b3c3a4
|
||||
$(DL_FILE)_MD5 = bbbc0a8e6a98bde2c6e119b3826658fb
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
include Config
|
||||
|
||||
VER = 5.9
|
||||
VER = 5.13
|
||||
|
||||
THISAPP = watchdog-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.gz
|
||||
@@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE)
|
||||
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
PROG = watchdog
|
||||
PAK_VER = 3
|
||||
PAK_VER = 4
|
||||
|
||||
DEPS = ""
|
||||
|
||||
@@ -44,7 +44,7 @@ objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = d7cae3c9829f5d9a680764f314234867
|
||||
$(DL_FILE)_MD5 = 153455f008f1cf8f65f6ad9586a21ff1
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
@@ -77,7 +77,7 @@ $(subst %,%_MD5,$(objects)) :
|
||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
@$(PREBUILD)
|
||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
|
||||
cd $(DIR_APP) && ./configure
|
||||
cd $(DIR_APP) && ./configure --prefix=/usr
|
||||
cd $(DIR_APP) && make $(MAKETUNING)
|
||||
cd $(DIR_APP) && make install
|
||||
install -v -m 644 $(DIR_SRC)/config/backup/includes/watchdog \
|
||||
|
||||
Reference in New Issue
Block a user