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
|
2018-03-23 02:51:08 +01:00
|
|
|
|
# Gerekler: libndp libsoup libgudev modemmanager dbus-glib iptables libnl nss wireless-tools polkit upower vala wpa-supplicant gobject-introspection newt jansson
|
2018-03-23 02:16:28 +01:00
|
|
|
|
# Grup: ağ
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
_isim=NetworkManager
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
isim=networkmanager
|
2018-03-23 02:51:08 +01:00
|
|
|
|
surum=1.10.6
|
2017-10-28 14:10:23 +02:00
|
|
|
|
devir=1
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
2018-03-23 02:51:08 +01:00
|
|
|
|
kaynak=(http://ftp.gnome.org/pub/gnome/sources/$_isim/${surum%.*}/$_isim-$surum.tar.xz)
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2018-03-23 02:51:08 +01:00
|
|
|
|
_pppver=2.4.7
|
|
|
|
|
cd ${_isim}-$surum
|
2018-03-23 02:16:28 +01:00
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
|
--localstatedir=/var \
|
|
|
|
|
--with-nmtui \
|
|
|
|
|
--with-modem-manager-1 \
|
|
|
|
|
--with-session-tracking=consolekit \
|
|
|
|
|
--with-suspend-resume=upower \
|
|
|
|
|
--with-dbus-sys-dir=/etc/dbus-1/system.d \
|
2018-03-23 02:51:08 +01:00
|
|
|
|
--disable-introspection \
|
|
|
|
|
--with-crypto=nss \
|
|
|
|
|
--enable-wifi \
|
|
|
|
|
--with-iptables=/usr/sbin/iptables \
|
|
|
|
|
--with-kernel-firmware-dir=/lib/firmware \
|
|
|
|
|
--with-dist-version="$surum-$devir, Milis Linux" \
|
2018-03-23 02:16:28 +01:00
|
|
|
|
--with-systemdsystemunitdir=no \
|
2018-03-23 02:51:08 +01:00
|
|
|
|
--with-pppd-plugin-dir=/usr/lib/pppd/$_pppver \
|
|
|
|
|
--with-pppd=/usr/sbin/pppd \
|
|
|
|
|
--with-wext \
|
|
|
|
|
--without-consolekit \
|
|
|
|
|
--without-libaudit \
|
|
|
|
|
--without-more-asserts \
|
|
|
|
|
--without-netconfig \
|
|
|
|
|
--without-ofono \
|
|
|
|
|
--without-selinux
|
2018-03-23 02:16:28 +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
|
|
|
|
|
make
|
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
|
|
|
|
|
rm -rf $PKG/usr/share/gtk-doc
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
}
|