Prefix all recipes with a number
authorReto Buerki <reet@codelabs.ch>
Thu, 6 Dec 2012 18:43:20 +0000 (19:43 +0100)
committerTobias Brunner <tobias@strongswan.org>
Thu, 17 Jan 2013 14:22:11 +0000 (15:22 +0100)
testing/scripts/recipes/003_freeradius.mk [new file with mode: 0644]
testing/scripts/recipes/004_iptables.mk [new file with mode: 0644]
testing/scripts/recipes/005_strongswan.mk [new file with mode: 0644]
testing/scripts/recipes/freeradius.mk [deleted file]
testing/scripts/recipes/iptables.mk [deleted file]
testing/scripts/recipes/strongswan.mk [deleted file]

diff --git a/testing/scripts/recipes/003_freeradius.mk b/testing/scripts/recipes/003_freeradius.mk
new file mode 100644 (file)
index 0000000..7b7a5fe
--- /dev/null
@@ -0,0 +1,44 @@
+#!/usr/bin/make
+
+PV  = 2.2.0
+PKG = freeradius-server-$(PV)
+TAR = $(PKG).tar.bz2
+SRC = ftp://ftp.freeradius.org/pub/freeradius/$(TAR)
+
+NUM_CPUS := $(shell getconf _NPROCESSORS_ONLN)
+
+CONFIG_OPTS = \
+       --with-raddbdir=/etc/freeradius \
+       --sysconfdir=/etc \
+       --with-logdir=/var/log/freeradius \
+       --enable-developer \
+       --with-experimental-modules
+
+PATCHES = \
+       freeradius-eap-sim-identity \
+       freeradius-avp-size \
+       freeradius-tnc-fhh
+
+all: install
+
+$(TAR):
+       wget $(SRC)
+
+.$(PKG)-unpacked: $(TAR)
+       tar xfj $(TAR)
+       @touch $@
+
+.$(PKG)-patches-applied: .$(PKG)-unpacked
+       cd $(PKG) && cat $(addprefix ../patches/, $(PATCHES)) | patch -p1
+       @touch $@
+
+.$(PKG)-configured: .$(PKG)-patches-applied
+       cd $(PKG) && ./configure $(CONFIG_OPTS)
+       @touch $@
+
+.$(PKG)-built: .$(PKG)-configured
+       cd $(PKG) && make -j $(NUM_CPUS)
+       @touch $@
+
+install: .$(PKG)-built
+       cd $(PKG) && make install
diff --git a/testing/scripts/recipes/004_iptables.mk b/testing/scripts/recipes/004_iptables.mk
new file mode 100644 (file)
index 0000000..8076544
--- /dev/null
@@ -0,0 +1,27 @@
+#!/usr/bin/make
+
+PV  = 1.4.16.3
+PKG = iptables-$(PV)
+TAR = $(PKG).tar.bz2
+SRC = http://www.netfilter.org/projects/iptables/files/$(TAR)
+
+NUM_CPUS := $(shell getconf _NPROCESSORS_ONLN)
+
+CONFIG_OPTS =
+
+all: install
+
+$(TAR):
+       wget $(SRC)
+
+$(PKG): $(TAR)
+       tar xfj $(TAR)
+
+configure: $(PKG)
+       cd $(PKG) && ./configure $(CONFIG_OPTS)
+
+build: configure
+       cd $(PKG) && make -j $(NUM_CPUS)
+
+install: build
+       cd $(PKG) && make install
diff --git a/testing/scripts/recipes/005_strongswan.mk b/testing/scripts/recipes/005_strongswan.mk
new file mode 100644 (file)
index 0000000..76d2d08
--- /dev/null
@@ -0,0 +1,87 @@
+#!/usr/bin/make
+
+PV  = $(SWANVERSION)
+PKG = strongswan-$(PV)
+TAR = $(PKG).tar.bz2
+SRC = http://download.strongswan.org/$(TAR)
+
+NUM_CPUS := $(shell getconf _NPROCESSORS_ONLN)
+
+CONFIG_OPTS = \
+       --sysconfdir=/etc \
+       --with-random-device=/dev/urandom \
+       --disable-load-warning \
+       --enable-curl \
+       --enable-ldap \
+       --enable-eap-aka \
+       --enable-eap-aka-3gpp2 \
+       --enable-eap-sim \
+       --enable-eap-sim-file \
+       --enable-eap-md5 \
+       --enable-md4 \
+       --enable-eap-mschapv2 \
+       --enable-eap-identity \
+       --enable-eap-radius \
+       --enable-eap-dynamic \
+       --enable-eap-tls \
+       --enable-eap-ttls \
+       --enable-eap-peap \
+       --enable-eap-tnc \
+       --enable-tnc-pdp \
+       --enable-tnc-imc \
+       --enable-tnc-imv \
+       --enable-tnccs-11 \
+       --enable-tnccs-20 \
+       --enable-tnccs-dynamic \
+       --enable-imc-test \
+       --enable-imv-test \
+       --enable-imc-scanner \
+       --enable-imv-scanner \
+       --enable-imc-os \
+       --enable-imv-os \
+       --enable-imc-attestation \
+       --enable-imv-attestation \
+       --enable-sql \
+       --enable-sqlite \
+       --enable-mediation \
+       --enable-openssl \
+       --enable-blowfish \
+       --enable-kernel-pfkey \
+       --enable-integrity-test \
+       --enable-leak-detective \
+       --enable-load-tester \
+       --enable-test-vectors \
+       --enable-gcrypt \
+       --enable-socket-default \
+       --enable-socket-dynamic \
+       --enable-dhcp \
+       --enable-farp \
+       --enable-addrblock \
+       --enable-ctr \
+       --enable-ccm \
+       --enable-gcm \
+       --enable-cmac \
+       --enable-ha \
+       --enable-af-alg \
+       --enable-whitelist \
+       --enable-xauth-generic \
+       --enable-xauth-eap \
+       --enable-pkcs8 \
+       --enable-unity
+
+all: install
+
+$(TAR):
+       wget $(SRC)
+
+$(PKG): $(TAR)
+       tar xfj $(TAR)
+
+configure: $(PKG)
+       cd $(PKG) && ./configure $(CONFIG_OPTS)
+
+build: configure
+       cd $(PKG) && make -j $(NUM_CPUS)
+
+install: build
+       cd $(PKG) && make install
diff --git a/testing/scripts/recipes/freeradius.mk b/testing/scripts/recipes/freeradius.mk
deleted file mode 100644 (file)
index 7b7a5fe..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/usr/bin/make
-
-PV  = 2.2.0
-PKG = freeradius-server-$(PV)
-TAR = $(PKG).tar.bz2
-SRC = ftp://ftp.freeradius.org/pub/freeradius/$(TAR)
-
-NUM_CPUS := $(shell getconf _NPROCESSORS_ONLN)
-
-CONFIG_OPTS = \
-       --with-raddbdir=/etc/freeradius \
-       --sysconfdir=/etc \
-       --with-logdir=/var/log/freeradius \
-       --enable-developer \
-       --with-experimental-modules
-
-PATCHES = \
-       freeradius-eap-sim-identity \
-       freeradius-avp-size \
-       freeradius-tnc-fhh
-
-all: install
-
-$(TAR):
-       wget $(SRC)
-
-.$(PKG)-unpacked: $(TAR)
-       tar xfj $(TAR)
-       @touch $@
-
-.$(PKG)-patches-applied: .$(PKG)-unpacked
-       cd $(PKG) && cat $(addprefix ../patches/, $(PATCHES)) | patch -p1
-       @touch $@
-
-.$(PKG)-configured: .$(PKG)-patches-applied
-       cd $(PKG) && ./configure $(CONFIG_OPTS)
-       @touch $@
-
-.$(PKG)-built: .$(PKG)-configured
-       cd $(PKG) && make -j $(NUM_CPUS)
-       @touch $@
-
-install: .$(PKG)-built
-       cd $(PKG) && make install
diff --git a/testing/scripts/recipes/iptables.mk b/testing/scripts/recipes/iptables.mk
deleted file mode 100644 (file)
index 8076544..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/usr/bin/make
-
-PV  = 1.4.16.3
-PKG = iptables-$(PV)
-TAR = $(PKG).tar.bz2
-SRC = http://www.netfilter.org/projects/iptables/files/$(TAR)
-
-NUM_CPUS := $(shell getconf _NPROCESSORS_ONLN)
-
-CONFIG_OPTS =
-
-all: install
-
-$(TAR):
-       wget $(SRC)
-
-$(PKG): $(TAR)
-       tar xfj $(TAR)
-
-configure: $(PKG)
-       cd $(PKG) && ./configure $(CONFIG_OPTS)
-
-build: configure
-       cd $(PKG) && make -j $(NUM_CPUS)
-
-install: build
-       cd $(PKG) && make install
diff --git a/testing/scripts/recipes/strongswan.mk b/testing/scripts/recipes/strongswan.mk
deleted file mode 100644 (file)
index 76d2d08..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
-#!/usr/bin/make
-
-PV  = $(SWANVERSION)
-PKG = strongswan-$(PV)
-TAR = $(PKG).tar.bz2
-SRC = http://download.strongswan.org/$(TAR)
-
-NUM_CPUS := $(shell getconf _NPROCESSORS_ONLN)
-
-CONFIG_OPTS = \
-       --sysconfdir=/etc \
-       --with-random-device=/dev/urandom \
-       --disable-load-warning \
-       --enable-curl \
-       --enable-ldap \
-       --enable-eap-aka \
-       --enable-eap-aka-3gpp2 \
-       --enable-eap-sim \
-       --enable-eap-sim-file \
-       --enable-eap-md5 \
-       --enable-md4 \
-       --enable-eap-mschapv2 \
-       --enable-eap-identity \
-       --enable-eap-radius \
-       --enable-eap-dynamic \
-       --enable-eap-tls \
-       --enable-eap-ttls \
-       --enable-eap-peap \
-       --enable-eap-tnc \
-       --enable-tnc-pdp \
-       --enable-tnc-imc \
-       --enable-tnc-imv \
-       --enable-tnccs-11 \
-       --enable-tnccs-20 \
-       --enable-tnccs-dynamic \
-       --enable-imc-test \
-       --enable-imv-test \
-       --enable-imc-scanner \
-       --enable-imv-scanner \
-       --enable-imc-os \
-       --enable-imv-os \
-       --enable-imc-attestation \
-       --enable-imv-attestation \
-       --enable-sql \
-       --enable-sqlite \
-       --enable-mediation \
-       --enable-openssl \
-       --enable-blowfish \
-       --enable-kernel-pfkey \
-       --enable-integrity-test \
-       --enable-leak-detective \
-       --enable-load-tester \
-       --enable-test-vectors \
-       --enable-gcrypt \
-       --enable-socket-default \
-       --enable-socket-dynamic \
-       --enable-dhcp \
-       --enable-farp \
-       --enable-addrblock \
-       --enable-ctr \
-       --enable-ccm \
-       --enable-gcm \
-       --enable-cmac \
-       --enable-ha \
-       --enable-af-alg \
-       --enable-whitelist \
-       --enable-xauth-generic \
-       --enable-xauth-eap \
-       --enable-pkcs8 \
-       --enable-unity
-
-all: install
-
-$(TAR):
-       wget $(SRC)
-
-$(PKG): $(TAR)
-       tar xfj $(TAR)
-
-configure: $(PKG)
-       cd $(PKG) && ./configure $(CONFIG_OPTS)
-
-build: configure
-       cd $(PKG) && make -j $(NUM_CPUS)
-
-install: build
-       cd $(PKG) && make install