]>
Commit | Line | Data |
---|---|---|
589a3454 | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
589a3454 MT |
4 | ############################################################################### |
5 | ||
802ea3af MT |
6 | name = openl2tp |
7 | version = 1.7 | |
8 | release = 1 | |
9 | ||
10 | groups = Networking/PPP | |
11 | url = http://www.openl2tp.org/ | |
12 | license = GPL | |
13 | summary = A Linux L2TP solution for enterprise VPN and ISPs. | |
14 | ||
15 | description | |
16 | OpenL2TP is an open source L2TP client / server, written specifically | |
17 | for Linux. It has been designed for use as an enterprise L2TP VPN | |
18 | server or in commercial, Linux-based, embedded networking products and | |
19 | is able to support hundreds of sessions, each with different | |
20 | configuration. It is used by several ISPs to provide L2TP services and | |
589a3454 | 21 | by corporations to implement L2TP VPNs. |
802ea3af | 22 | end |
589a3454 | 23 | |
802ea3af | 24 | source_dl = |
589a3454 | 25 | |
802ea3af MT |
26 | build |
27 | requires | |
28 | bison | |
29 | flex | |
30 | flex-devel | |
31 | readline-devel | |
32 | tcl | |
33 | end | |
589a3454 | 34 | |
802ea3af | 35 | CFLAGS += -fno-strict-aliasing |
589a3454 | 36 | |
802ea3af MT |
37 | prepare_cmds |
38 | sed -e "s/-lfl/&_pic/g" -i Makefile | |
39 | end | |
40 | ||
41 | build | |
42 | make OPT_CFLAGS="%{CFLAGS}" \ | |
43 | KERNEL_SRCDIR="/usr" PPPD_VERSION="2.4.5" | |
44 | end | |
589a3454 MT |
45 | |
46 | # This doesn't really a good testing | |
802ea3af MT |
47 | #define test |
48 | # cd %{DIR_APP} && make test | |
589a3454 MT |
49 | #endef |
50 | ||
802ea3af MT |
51 | install |
52 | make install DESTDIR=%{BUILDROOT} \ | |
53 | KERNEL_SRCDIR="/usr" PPPD_VERSION="2.4.5" | |
54 | end | |
55 | end | |
56 | ||
57 | packages | |
58 | package %{name} | |
1f9bc2f0 MT |
59 | |
60 | package %{name}-debuginfo | |
61 | template DEBUGINFO | |
62 | end | |
802ea3af | 63 | end |