networkmanager done
This commit is contained in:
1 parent
17f69270fd
commit
512281d47c
4 files changed
+106
-2
No files matched your search
@@ -0,0 +1,33 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='jansson'
|
||||||
|
release='1'
|
||||||
|
version='2.14'
|
||||||
|
url='https://github.com/akheron/jansson'
|
||||||
|
description='C library for encoding, decoding and manipulating JSON data'
|
||||||
|
email='aliriza.keskin@pardus.org.tr'
|
||||||
|
maintainer='aliriza'
|
||||||
|
license=('GPLv3')
|
||||||
|
source=("https://github.com/akheron/jansson/archive/refs/tags/v$version.tar.gz")
|
||||||
|
depends=()
|
||||||
|
makedepends=()
|
||||||
|
md5sums=('bc78f39c7cd7fab1dd5fc4a2c3be1661')
|
||||||
|
group=(dev.libs)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
setup(){
|
||||||
|
autoreconf -fvi
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--libdir=/usr/lib64/
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
make $jobs
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
make install $jobs
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='ppp'
|
||||||
|
release='1'
|
||||||
|
version='2.4.9'
|
||||||
|
url='https://download.samba.org/pub/ppp'
|
||||||
|
description='A daemon which implements the Point-to-Point Protocol for dial-up networking'
|
||||||
|
email='aliriza.keskin@pardus.org.tr'
|
||||||
|
maintainer='aliriza'
|
||||||
|
license=('GPLv3')
|
||||||
|
source=("https://download.samba.org/pub/ppp/ppp-$version.tar.gz")
|
||||||
|
depends=(libpcap openssl dbus libxcrypt)
|
||||||
|
makedepends=()
|
||||||
|
md5sums=('c88153ae3d16ae114152cd3c15c7301d')
|
||||||
|
group=(net.dialup)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
setup(){
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--libdir=/usr/lib64/
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
make $jobs
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
make install DESTDIR="$DESTDIR" $jobs
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='libpcap'
|
||||||
|
release='1'
|
||||||
|
version='1.10.3'
|
||||||
|
url='https://www.tcpdump.org/release/'
|
||||||
|
description='A system-independent library for user-level network packet capture'
|
||||||
|
email='aliriza.keskin@pardus.org.tr'
|
||||||
|
maintainer='aliriza'
|
||||||
|
license=('GPLv3')
|
||||||
|
source=("https://www.tcpdump.org/release/libpcap-$version.tar.gz")
|
||||||
|
depends=(dbus)
|
||||||
|
makedepends=()
|
||||||
|
md5sums=('c42fde2eb75a5075f19116f8c9768573')
|
||||||
|
group=(net.libs)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
setup(){
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--libdir=/usr/lib64/
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
make $jobs
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
make install $jobs
|
||||||
|
}
|
||||||
|
|
||||||
@@ -15,8 +15,14 @@ group=(net.misc)
|
|||||||
uses=(ppp ovs)
|
uses=(ppp ovs)
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
|
|
||||||
|
ppp_depends=(ppp)
|
||||||
|
ovs_depends=(jansson)
|
||||||
|
|
||||||
cd NetworkManager-$version
|
cd NetworkManager-$version
|
||||||
|
|
||||||
|
unset CFLAGS
|
||||||
|
unset CXXFLAGS
|
||||||
|
|
||||||
setup(){
|
setup(){
|
||||||
meson setup build --prefix=/usr \
|
meson setup build --prefix=/usr \
|
||||||
--libdir=/usr/lib64/ \
|
--libdir=/usr/lib64/ \
|
||||||
@@ -31,14 +37,15 @@ setup(){
|
|||||||
-Dmodem_manager=false \
|
-Dmodem_manager=false \
|
||||||
-Dppp=$(use_opt ppp true false) \
|
-Dppp=$(use_opt ppp true false) \
|
||||||
-Dovs=$(use_opt ovs true false) \
|
-Dovs=$(use_opt ovs true false) \
|
||||||
|
-Dvapi=true \
|
||||||
-Dtests=no
|
-Dtests=no
|
||||||
}
|
}
|
||||||
|
|
||||||
build(){
|
build(){
|
||||||
make $jobs
|
ninja -C build
|
||||||
}
|
}
|
||||||
|
|
||||||
package(){
|
package(){
|
||||||
make install $jobs
|
ninja -C build install
|
||||||
}
|
}
|
||||||
|
|
||||||
Reference in new issue
Block a user