]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - openl2tp/openl2tp.nm
perl-XML-SAX-Base: New package.
[people/ms/ipfire-3.x.git] / openl2tp / openl2tp.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = openl2tp
7 version = 1.7
8 release = 2
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
21 by corporations to implement L2TP VPNs.
22 end
23
24 source_dl =
25
26 build
27 requires
28 bison
29 flex
30 flex-devel
31 readline-devel
32 tcl
33 end
34
35 CFLAGS += -fno-strict-aliasing
36
37 prepare_cmds
38 sed -e "s/-lfl/&_pic/g" -i Makefile
39
40 # Remove -Werror from all makefiles.
41 find . -name Makefile | xargs sed -i -e "s/-Werror//g"
42 end
43
44 build
45 make OPT_CFLAGS="%{CFLAGS}" ARCH="%{DISTRO_ARCH}" \
46 KERNEL_SRCDIR="/usr" PPPD_VERSION="2.4.5"
47 end
48
49 # This doesn't really a good testing
50 #define test
51 # cd %{DIR_APP} && make test
52 #endef
53
54 install
55 make install DESTDIR=%{BUILDROOT} ARCH="%{DISTRO_ARCH}" \
56 KERNEL_SRCDIR="/usr" PPPD_VERSION="2.4.5"
57 end
58 end
59
60 packages
61 package %{name}
62
63 package %{name}-debuginfo
64 template DEBUGINFO
65 end
66 end