This commit is contained in:
milisbir 2018-03-23 03:16:28 +02:00
parent ff655f42a9
commit bebe3b3746
5 changed files with 35 additions and 21 deletions

View File

@ -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

View File

@ -1,2 +0,0 @@
Pour plus d'explications:
Veuillez éditer le fichier /etc/sysconfig/network et ajuster la variable MANAGER à "networkmanager"

View File

@ -2,6 +2,7 @@
# URL: http://projects.gnome.org/NetworkManager/ # URL: http://projects.gnome.org/NetworkManager/
# Paketçi: milisarge # Paketçi: milisarge
# Gerekler: libndp libsoup libgudev modemmanager dbus-glib iptables libnl nss wireless-tools polkit upower vala wpa-supplicant gobject-introspection newt # Gerekler: libndp libsoup libgudev modemmanager dbus-glib iptables libnl nss wireless-tools polkit upower vala wpa-supplicant gobject-introspection newt
# Grup: ağ
_isim=NetworkManager _isim=NetworkManager
@ -13,22 +14,27 @@ kaynak=(http://ftp.gnome.org/pub/gnome/sources/$_name/${surum%.*}/$_name-$surum.
derle() { derle() {
cd ${_name}-$surum cd ${_name}-$surum
./configure --prefix=/usr \ ./configure --prefix=/usr \
--sysconfdir=/etc \ --sysconfdir=/etc \
--localstatedir=/var \ --localstatedir=/var \
--with-nmtui \ --with-nmtui \
--with-modem-manager-1 \ --with-modem-manager-1 \
--with-session-tracking=consolekit \ --with-session-tracking=consolekit \
--with-suspend-resume=upower \ --with-suspend-resume=upower \
--with-dbus-sys-dir=/etc/dbus-1/system.d \ --with-dbus-sys-dir=/etc/dbus-1/system.d \
--docdir=/usr/share/doc/networkmanager-$surum \ --docdir=/usr/share/doc/networkmanager-$surum \
--with-systemdsystemunitdir=no \ --with-systemdsystemunitdir=no \
--disable-ppp --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 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/ \
make if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/ \
make DESTDIR=$PKG install 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 cat > $PKG/etc/NetworkManager/NetworkManager.conf << EOF
[main] [main]

View File

@ -2,13 +2,14 @@
# URL: http://samba.org/ppp # URL: http://samba.org/ppp
# Paketçi: milisarge # Paketçi: milisarge
# Gerekler: libpcap # Gerekler: libpcap
# Grup: ağ
isim=ppp isim=ppp
surum=2.4.5 surum=2.4.7
devir=1 devir=1
kaynak=(http://samba.org/ftp/$isim/$isim-$surum.tar.gz kaynak=(http://samba.org/ftp/$isim/$isim-$surum.tar.gz
pppd) pppd.servis)
derle() { derle() {
unset MAKEFLAGS unset MAKEFLAGS
@ -19,6 +20,5 @@ derle() {
make INSTROOT=$PKG install-etcppp make INSTROOT=$PKG install-etcppp
make INSTROOT=$PKG install make INSTROOT=$PKG install
mkdir -p $PKG/etc/rc.d/init.d/ 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
} }