1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
10 groups = System/Daemons
11 url = https://ppp.samba.org/
12 license = BSD and LGPLv2+ and GPLv2+ and Public Domain
13 summary = The PPP (Point-to-Point Protocol) daemon
16 The ppp package contains the PPP (Point-to-Point Protocol) daemon and
17 documentation for PPP support. The PPP protocol provides a method for
18 transmitting datagrams over serial point-to-point links. PPP is
19 usually used to dial in to an ISP or other organization over a modem
23 source_dl = https://download.samba.org/pub/ppp/
37 configure_options += --with-logfile-dir=/var/log
40 make install INSTROOT=%{BUILDROOT}
42 touch /var/log/connect-errors
43 mkdir -pv %{BUILDROOT}/etc/ppp
46 # code used to be here to copy across IPFire2.x dialler etc scripts
47 # something to replace those for IPFire3.x is likely nedeed somewhere
49 touch %{BUILDROOT}/etc/ppp/secrets
50 chmod -v 600 %{BUILDROOT}/etc/ppp/secrets
51 ln -svf %{BUILDROOT}/etc/ppp/secrets /etc/ppp/pap-secrets
52 ln -svf %{BUILDROOT}/etc/ppp/secrets /etc/ppp/chap-secrets
60 systemctl daemon-reload >/dev/null 2>&1 || :
64 systemctl daemon-reload >/dev/null 2>&1 || :
68 systemctl daemon-reload >/dev/null 2>&1 || :
76 package %{name}-debuginfo