From bebe3b3746cc11b30e4da31b165d5ab3101e8a76 Mon Sep 17 00:00:00 2001 From: milisbir Date: Fri, 23 Mar 2018 03:16:28 +0200 Subject: [PATCH] ppp --- .../n/networkmanager/networkmanager.kos-sil | 10 ++++++ .../n/networkmanager/networkmanager.okubeni | 2 -- talimatname/genel/n/networkmanager/talimat | 36 +++++++++++-------- talimatname/genel/p/ppp/{pppd => pppd.servis} | 0 talimatname/genel/p/ppp/talimat | 8 ++--- 5 files changed, 35 insertions(+), 21 deletions(-) create mode 100644 talimatname/genel/n/networkmanager/networkmanager.kos-sil delete mode 100644 talimatname/genel/n/networkmanager/networkmanager.okubeni rename talimatname/genel/p/ppp/{pppd => pppd.servis} (100%) diff --git a/talimatname/genel/n/networkmanager/networkmanager.kos-sil b/talimatname/genel/n/networkmanager/networkmanager.kos-sil new file mode 100644 index 000000000..f09f24dc5 --- /dev/null +++ b/talimatname/genel/n/networkmanager/networkmanager.kos-sil @@ -0,0 +1,10 @@ +#!/bin/sh +for _kurtar in \ +'/etc/NetworkManager/system-connections' ; \ +do + +#sed -i '\|'\'$_kurtar\''|d' /var/lib/pkg/DB/cups/kurulan +# -sz ve -g den sonra /tmp/$paket.sil dikkate alınır +sed -i '\|'\'$_kurtar\''|d' /tmp/networkmanager.sil + +done diff --git a/talimatname/genel/n/networkmanager/networkmanager.okubeni b/talimatname/genel/n/networkmanager/networkmanager.okubeni deleted file mode 100644 index 6aeadb777..000000000 --- a/talimatname/genel/n/networkmanager/networkmanager.okubeni +++ /dev/null @@ -1,2 +0,0 @@ -Pour plus d'explications: -Veuillez éditer le fichier /etc/sysconfig/network et ajuster la variable MANAGER à "networkmanager" diff --git a/talimatname/genel/n/networkmanager/talimat b/talimatname/genel/n/networkmanager/talimat index 0b377eeb9..99a169167 100644 --- a/talimatname/genel/n/networkmanager/talimat +++ b/talimatname/genel/n/networkmanager/talimat @@ -2,6 +2,7 @@ # URL: http://projects.gnome.org/NetworkManager/ # Paketçi: milisarge # Gerekler: libndp libsoup libgudev modemmanager dbus-glib iptables libnl nss wireless-tools polkit upower vala wpa-supplicant gobject-introspection newt +# Grup: ağ _isim=NetworkManager @@ -13,22 +14,27 @@ kaynak=(http://ftp.gnome.org/pub/gnome/sources/$_name/${surum%.*}/$_name-$surum. derle() { -cd ${_name}-$surum -./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 \ ---docdir=/usr/share/doc/networkmanager-$surum \ ---with-systemdsystemunitdir=no \ ---disable-ppp + cd ${_name}-$surum + ./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 \ + --docdir=/usr/share/doc/networkmanager-$surum \ + --with-systemdsystemunitdir=no \ + --disable-ppp -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 + 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 cat > $PKG/etc/NetworkManager/NetworkManager.conf << EOF [main] diff --git a/talimatname/genel/p/ppp/pppd b/talimatname/genel/p/ppp/pppd.servis similarity index 100% rename from talimatname/genel/p/ppp/pppd rename to talimatname/genel/p/ppp/pppd.servis diff --git a/talimatname/genel/p/ppp/talimat b/talimatname/genel/p/ppp/talimat index bf5ec6da8..8f317b9f1 100644 --- a/talimatname/genel/p/ppp/talimat +++ b/talimatname/genel/p/ppp/talimat @@ -2,13 +2,14 @@ # URL: http://samba.org/ppp # Paketçi: milisarge # Gerekler: libpcap +# Grup: ağ isim=ppp -surum=2.4.5 +surum=2.4.7 devir=1 kaynak=(http://samba.org/ftp/$isim/$isim-$surum.tar.gz - pppd) + pppd.servis) derle() { unset MAKEFLAGS @@ -19,6 +20,5 @@ derle() { make INSTROOT=$PKG install-etcppp make INSTROOT=$PKG install mkdir -p $PKG/etc/rc.d/init.d/ - install -m755 ../pppd $PKG/etc/rc.d/init.d/ - + install -m755 ../pppd.servis $PKG/etc/rc.d/init.d/pppd }