milis/talimatname/genel/n/networkmanager/talimat

45 lines
1.4 KiB
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Ağın daha doğrudan yönetilebilir olmasını sağlayan basitleştiren ve geliştiren araçlar
2016-02-24 01:27:23 +01:00
# URL: http://projects.gnome.org/NetworkManager/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: libndp libsoup libgudev modemmanager dbus-glib iptables libnl nss wireless-tools polkit upower vala wpa-supplicant gobject-introspection newt
2016-02-24 01:27:23 +01:00
_name=NetworkManager
name=networkmanager
2016-11-03 18:11:50 +01:00
version=1.4.2
2016-02-24 01:27:23 +01:00
release=1
source=(http://ftp.gnome.org/pub/gnome/sources/$_name/${version%.*}/$_name-$version.tar.xz)
build() {
cd ${_name}-$version
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--with-nmtui \
2016-11-03 18:11:50 +01:00
--with-modem-manager-1 \
--with-session-tracking=consolekit \
--with-suspend-resume=upower \
--with-dbus-sys-dir=/etc/dbus-1/system.d \
2016-02-24 01:27:23 +01:00
--docdir=/usr/share/doc/networkmanager-$version \
2016-11-03 18:11:50 +01:00
--with-systemdsystemunitdir=no \
2016-02-24 01:27:23 +01:00
--disable-ppp
2016-11-03 18:11:50 +01:00
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/ if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/ func_append compile_command " -Wl,-O1,--as-needed"\n func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool
2016-02-24 01:27:23 +01:00
make
make DESTDIR=$PKG install
cat > $PKG/etc/NetworkManager/NetworkManager.conf << EOF
[main]
plugins=keyfile
EOF
# create a VPN directory
install -d $PKG/etc/$_name/VPN
install -m755 clients/.libs/nm-online -D $PKG/usr/bin/nm-online
# create keyfile plugin system-settings directory
install -d $PKG/etc/$_name/system-connections
}