ppp düzeltme

This commit is contained in:
cakarsu committed 2023-10-25 20:25:13 +03:00
1 parent 5775f3fe0b
commit d8e195af69
2 files changed
+19 -5

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
#!/sbin/openrc-run
name="pppd"
command="/usr/sbin/${SVCNAME}"
command_args="nodetach ${PPPD_OPTS}"
pidfile="/run/$RC_SVCNAME.pid"
command_background=true
start_pre() {
checkpath --directory /run/ppp/lock
modprobe pptp
}
+7 -5
View File
@@ -7,10 +7,11 @@ description='A daemon which implements the Point-to-Point Protocol for dial-up n
email='aliriza.keskin@pardus.org.tr'
maintainer='aliriza'
license=('GPLv3')
source=("https://download.samba.org/pub/ppp/ppp-$version.tar.gz")
source=("https://download.samba.org/pub/ppp/ppp-$version.tar.gz"
"pppd.initd")
depends=(libpcap openssl dbus libxcrypt)
makedepends=()
md5sums=('ce5fd7b9f6e1095ae6c0c11365c444eb')
md5sums=('ce5fd7b9f6e1095ae6c0c11365c444eb' 'SKIP')
group=(net.dialup)
uses=()
arch=('x86_64')
@@ -19,7 +20,8 @@ cd $name-$version
setup(){
./configure --prefix=/usr \
--libdir=/usr/lib64/
--libdir=/usr/lib64/ \
--disable-systemd
}
build(){
@@ -27,6 +29,6 @@ build(){
}
package(){
make install INSTROOT="$DESTDIR" DESTDIR="$DESTDIR/usr" $jobs
make DESTDIR="$DESTDIR" install $jobs
install -D -m755 "../pppd.initd" $DESTDIR"/etc/init.d/pppd"
}