]> git.ipfire.org Git - ipfire-3.x.git/blame - pptp/pptp.nm
kernel: Update to 5.3.7
[ipfire-3.x.git] / pptp / pptp.nm
CommitLineData
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
6name = pptp
7version = 1.7.2
e0d5e2d8 8release = 3
974d3e9b 9
802ea3af
MT
10groups = Networking/Dialin
11url = http://pptpclient.sourceforge.net/
12license = GPLv2+
13summary = Point-to-Point Tunneling Protocol (PPTP) Client.
974d3e9b 14
802ea3af
MT
15description
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
19end
20
21source_dl =
22sources = %{thisapp}.tar.gz
23
24build
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}/" \
e0d5e2d8 34 -e "s/^LDFLAGS =/LDFLAGS=%{LDFLAGS}/" \
802ea3af
MT
35 -e "s/^IP.*/IP=\/sbin\/ip/"
36 end
37
38 install_cmds
39 rm -rvf %{BUILDROOT}/etc
40 end
41end
42
43packages
44 package %{name}
45 requires
46 iproute2
47 end
48 end
1f9bc2f0
MT
49
50 package %{name}-debuginfo
51 template DEBUGINFO
52 end
802ea3af 53end