ppp düzeltme
This commit is contained in:
1 parent
5775f3fe0b
commit
d8e195af69
2 files changed
+19
-5
No files matched your search
@@ -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,10 +7,11 @@ description='A daemon which implements the Point-to-Point Protocol for dial-up n
|
|||||||
email='aliriza.keskin@pardus.org.tr'
|
email='aliriza.keskin@pardus.org.tr'
|
||||||
maintainer='aliriza'
|
maintainer='aliriza'
|
||||||
license=('GPLv3')
|
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)
|
depends=(libpcap openssl dbus libxcrypt)
|
||||||
makedepends=()
|
makedepends=()
|
||||||
md5sums=('ce5fd7b9f6e1095ae6c0c11365c444eb')
|
md5sums=('ce5fd7b9f6e1095ae6c0c11365c444eb' 'SKIP')
|
||||||
group=(net.dialup)
|
group=(net.dialup)
|
||||||
uses=()
|
uses=()
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
@@ -19,7 +20,8 @@ cd $name-$version
|
|||||||
|
|
||||||
setup(){
|
setup(){
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
--libdir=/usr/lib64/
|
--libdir=/usr/lib64/ \
|
||||||
|
--disable-systemd
|
||||||
}
|
}
|
||||||
|
|
||||||
build(){
|
build(){
|
||||||
@@ -27,6 +29,6 @@ build(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
package(){
|
package(){
|
||||||
make install INSTROOT="$DESTDIR" DESTDIR="$DESTDIR/usr" $jobs
|
make DESTDIR="$DESTDIR" install $jobs
|
||||||
|
install -D -m755 "../pppd.initd" $DESTDIR"/etc/init.d/pppd"
|
||||||
}
|
}
|
||||||
|
|
||||||
Reference in new issue
Block a user