]>
Commit | Line | Data |
---|---|---|
974d3e9b | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
974d3e9b MT |
4 | ############################################################################### |
5 | ||
802ea3af MT |
6 | name = pptp |
7 | version = 1.7.2 | |
8 | release = 2 | |
974d3e9b | 9 | |
802ea3af MT |
10 | groups = Networking/Dialin |
11 | url = http://pptpclient.sourceforge.net/ | |
12 | license = GPLv2+ | |
13 | summary = Point-to-Point Tunneling Protocol (PPTP) Client. | |
974d3e9b | 14 | |
802ea3af MT |
15 | description |
16 | Client for the proprietary Microsoft Point-to-Point Tunneling | |
17 | Protocol, PPTP. Allows connection to a PPTP based VPN as used | |
974d3e9b | 18 | by employers and some cable and ADSL service providers. |
802ea3af MT |
19 | end |
20 | ||
21 | source_dl = | |
22 | sources = %{thisapp}.tar.gz | |
23 | ||
24 | build | |
25 | requires | |
26 | perl | |
27 | ppp-devel | |
28 | end | |
29 | ||
30 | prepare_cmds | |
31 | sed -i Makefile \ | |
32 | -e "s/install -o root -m 555 pptp/install -m 755 pptp/" \ | |
33 | -e "s/^OPTIMIZE=.*/OPTIMIZE=%{CFLAGS}/" \ | |
34 | -e "s/^IP.*/IP=\/sbin\/ip/" | |
35 | end | |
36 | ||
37 | install_cmds | |
38 | rm -rvf %{BUILDROOT}/etc | |
39 | end | |
40 | end | |
41 | ||
42 | packages | |
43 | package %{name} | |
44 | requires | |
45 | iproute2 | |
46 | end | |
47 | end | |
1f9bc2f0 MT |
48 | |
49 | package %{name}-debuginfo | |
50 | template DEBUGINFO | |
51 | end | |
802ea3af | 52 | end |