mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-05 00:00:45 -04:00
Add recipes for libtnc and TNC@FHH
This commit is contained in:
parent
669fc9f9ec
commit
d47b751850
@ -27,7 +27,7 @@ execute()
|
||||
}
|
||||
|
||||
# additional packages
|
||||
EXTRAS=build-essential,gperf,libgmp-dev,libldap2-dev,libcurl4-openssl-dev,libxml2-dev,libtspi-dev,libsqlite3-dev,openssh-server,tcpdump,psmisc,openssl,vim,sqlite3,conntrack,gdb
|
||||
EXTRAS=build-essential,gperf,libgmp-dev,libldap2-dev,libcurl4-openssl-dev,libxml2-dev,libtspi-dev,libsqlite3-dev,openssh-server,tcpdump,psmisc,openssl,vim,sqlite3,conntrack,gdb,cmake,libxerces-c2-dev,libltdl-dev,liblog4cxx10-dev,libboost-thread-dev,libboost-system-dev,git-core
|
||||
SERVICES="isc-dhcp-server apache2 slapd"
|
||||
PACKAGES=$EXTRAS,${SERVICES// /,}
|
||||
CACHEDIR=$BUILDDIR/cache
|
||||
|
31
testing/scripts/recipes/001_libtnc.mk
Normal file
31
testing/scripts/recipes/001_libtnc.mk
Normal file
@ -0,0 +1,31 @@
|
||||
#!/usr/bin/make
|
||||
|
||||
PV = 1.25
|
||||
PKG = libtnc-$(PV)
|
||||
TAR = $(PKG).tar.gz
|
||||
SRC = http://downloads.sourceforge.net/project/libtnc/libtnc/$(PV)/$(TAR)
|
||||
|
||||
NUM_CPUS := $(shell getconf _NPROCESSORS_ONLN)
|
||||
|
||||
CONFIG_OPTS = \
|
||||
--sysconfdir=/etc
|
||||
|
||||
all: install
|
||||
|
||||
$(TAR):
|
||||
wget $(SRC)
|
||||
|
||||
.$(PKG)-unpacked: $(TAR)
|
||||
tar xfz $(TAR)
|
||||
@touch $@
|
||||
|
||||
.$(PKG)-configured: .$(PKG)-unpacked
|
||||
cd $(PKG) && ./configure $(CONFIG_OPTS)
|
||||
@touch $@
|
||||
|
||||
.$(PKG)-built: .$(PKG)-configured
|
||||
cd $(PKG) && make -j $(NUM_CPUS)
|
||||
@touch $@
|
||||
|
||||
install: .$(PKG)-built
|
||||
cd $(PKG) && make install
|
28
testing/scripts/recipes/002_tnc-fhh.mk
Normal file
28
testing/scripts/recipes/002_tnc-fhh.mk
Normal file
@ -0,0 +1,28 @@
|
||||
#!/usr/bin/make
|
||||
|
||||
PKG = fhhtnc
|
||||
SRC = git://github.com/trustatfhh/tnc-fhh.git
|
||||
|
||||
NUM_CPUS := $(shell getconf _NPROCESSORS_ONLN)
|
||||
|
||||
CONFIG_OPTS = \
|
||||
-DCOMPONENT=all \
|
||||
-DNAL=8021x
|
||||
|
||||
all: install
|
||||
|
||||
.$(PKG)-cloned:
|
||||
git clone $(SRC) $(PKG)
|
||||
mkdir $(PKG)/build
|
||||
@touch $@
|
||||
|
||||
.$(PKG)-configured: .$(PKG)-cloned
|
||||
cd $(PKG)/build && cmake $(CONFIG_OPTS) ../
|
||||
@touch $@
|
||||
|
||||
.$(PKG)-built: .$(PKG)-configured
|
||||
cd $(PKG)/build && make -j $(NUM_CPUS)
|
||||
@touch $@
|
||||
|
||||
install: .$(PKG)-built
|
||||
cd $(PKG)/build && make install
|
@ -15,7 +15,8 @@ CONFIG_OPTS = \
|
||||
--with-experimental-modules
|
||||
|
||||
PATCHES = \
|
||||
freeradius-eap-sim-identity
|
||||
freeradius-eap-sim-identity \
|
||||
freeradius-tnc-fhh
|
||||
|
||||
all: install
|
||||
|
||||
|
6687
testing/scripts/recipes/patches/freeradius-tnc-fhh
Normal file
6687
testing/scripts/recipes/patches/freeradius-tnc-fhh
Normal file
File diff suppressed because it is too large
Load Diff
@ -45,7 +45,7 @@ LOGFILE=$BUILDDIR/testing.log
|
||||
LOOPDIR=$BUILDDIR/loop
|
||||
|
||||
# Base image settings
|
||||
ROOTFSSIZE=950
|
||||
ROOTFSSIZE=1024
|
||||
ROOTFSSUITE=wheezy
|
||||
ROOTFSARCH=amd64
|
||||
ROOTFS=$BUILDDIR/debian-$ROOTFSSUITE-$ROOTFSARCH.img
|
||||
|
Loading…
x
Reference in New Issue
Block a user