Drop mga support patch, we don't use it

This commit is contained in:
Andrey Bondrov 2017-01-26 23:59:03 +10:00
parent 8228a8fa18
commit 04b8e71f4f

View file

@ -1,286 +0,0 @@
diff -up ./base/password.py.tv ./base/password.py
--- ./base/password.py.tv 2016-02-26 19:07:20.146540331 +0100
+++ ./base/password.py 2016-02-26 19:07:26.254585805 +0100
@@ -35,6 +35,7 @@ PASSWORD_RETRY_COUNT = 3
AUTH_TYPES ={'mepis':'su',
'debian':'su',
'suse':'su',
+ 'mageia':'su',
'mandriva':'su',
'fedora':'su',
'redhat':'su',
diff -up ./installer/distros.dat.tv ./installer/distros.dat
--- ./installer/distros.dat.tv 2016-02-26 18:39:22.607131997 +0100
+++ ./installer/distros.dat 2016-02-26 21:54:31.609804377 +0100
@@ -92,7 +92,7 @@
# ****************************************
[distros]
-distros=unknown,mepis,debian,suse,mandriva,fedora,redhat,rhel,slackware,gentoo,redflag,ubuntu,xandros,freebsd,linspire,ark,pclinuxos,centos,igos,linuxmint,linpus,gos,boss,lfs
+distros=unknown,mepis,debian,suse,mageia,mandriva,fedora,redhat,rhel,slackware,gentoo,redflag,ubuntu,xandros,freebsd,linspire,ark,pclinuxos,centos,igos,linuxmint,linpus,gos,boss,lfs
# ****************************************
@@ -4810,6 +4810,262 @@ packages=wget
packages=avahi-utils
# ********************
# ****************************************
+[mageia]
+index=4
+versions=5,6
+display_name=Mageia
+alt_names=Mageia
+display=1
+notes=
+package_mgrs=urpmi
+package_mgr_cmd=su - -c "urpmi --allow-force --force --auto $packages_to_install"
+pre_install_cmd=su - -c "/etc/init.d/cups restart",su - -c "touch /etc/security/console.perms.d/60-hplip.perms && echo '<usb>=/dev/usb/dabusb* /dev/usb/mdc800* /dev/usb/rio500 /dev/ttyUSB*' | tee /etc/security/console.perms.d/60-hplip.perms"
+pre_depend_cmd=su - -c "rm /etc/hp/hplip.conf"
+post_depend_cmd=su - -c "/etc/init.d/cups restart", su - -c "chmod 700 /usr/lib/cups/backend/hp"
+hplip_remove_cmd=su - -c "urpme hplip task-printing-hp"
+su_sudo=su
+ppd_install=drv
+udev_mode_fix=1
+ppd_dir=/usr/share/cups/model/HP
+fix_ppd_symlink=0
+drv_dir=/usr/share/cups/drv/HP
+[mageia:5]
+code_name=
+supported=0
+scan_supported=1
+fax_supported=1
+pcard_supported=1
+network_supported=1
+parallel_supported=1
+usb_supported=1
+packaged_version=3.9.12
+release_date=2009-11-03
+notes=Before proceeding, please add the "contrib", "main", and "updates" installation sources to your URPMI configuration./n Open your browser and go to http://easyurpmi.zarb.org/ and follow the instructions provided and then proceed with the HPLIP install. Also you may wish to turn off the cdrom1-12 media sources to speed up the process.
+ppd_install=drv
+udev_mode_fix=1
+ppd_dir=/usr/share/ppd/HP
+fix_ppd_symlink=0
+drv_dir=/usr/share/cups/drv/HP
+ui_toolkit=qt4
+policykit=1
+
+[mageia:5:cups]
+packages=cups,cups-common
+
+[mageia:5:cups-devel]
+packages=libcups2-devel
+
+[mageia:5:gcc]
+packages=gcc-c++
+
+[mageia:5:gs]
+packages=ghostscript
+
+[mageia:5:libcrypto]
+packages=libopenssl0.9.8-devel
+
+[mageia:5:libjpeg]
+packages=libjpeg-devel
+
+[mageia:5:libnetsnmp-devel]
+packages=libnet-snmp-devel
+
+[mageia:5:libpthread]
+packages=glibc-i18ndata,glibc_lsb
+
+[mageia:5:libtool]
+packages=libtool,libgphoto-devel
+
+[mageia:5:libusb]
+packages=libusb1.0-devel
+
+[mageia:5:make]
+packages=make
+
+[mageia:5:pil]
+packages=python-imaging
+
+[mageia:5:ppdev]
+packages=
+commands=su -c "modprobe ppdev"
+
+[mageia:5:pyqt]
+packages=python-qt4
+
+[mageia:5:python-devel]
+packages=libpython2.6-devel
+
+[mageia:5:pyqt4]
+packages=python-qt4
+
+[mageia:5:pyqt4-dbus]
+packages=qt4-qtdbus
+
+[mageia:5:python23]
+packages=python
+
+[mageia:5:python2X]
+packages=python
+
+[mageia:5:reportlab]
+packages=python-reportlab
+
+[mageia:5:sane]
+packages=saned
+
+[mageia:5:sane-devel]
+packages=libsane1-devel,sane-backends
+
+[mageia:5:scanimage]
+packages=libsane1
+
+[mageia:5:xsane]
+packages=xsane,sane-frontends
+
+[mageia:5:cups-ddk]
+packages=cups
+
+[mageia:5:python-dbus]
+packages=python-dbus,python-gobject
+
+[mageia:5:dbus]
+packages=libdbus-1-devel,python-gobject
+
+[mageia:5:python-ctypes]
+packages=python
+
+[mageia:5:cups-image]
+packages=libcups2
+
+[mageia:5:policykit]
+packages=policykit,policykit-gnome
+
+[mageia:5:network]
+packages=wget
+
+[mageia:5:avahi-utils]
+packages=avahi
+
+[mageia:6]
+code_name=
+supported=0
+scan_supported=1
+fax_supported=1
+pcard_supported=1
+network_supported=1
+parallel_supported=1
+usb_supported=1
+packaged_version=3.9.12
+release_date=2009-11-03
+notes=Before proceeding, please add the "contrib", "main", and "updates" installation sources to your URPMI configuration./n Open your browser and go to http://easyurpmi.zarb.org/ and follow the instructions provided and then proceed with the HPLIP install. Also you may wish to turn off the cdrom1-12 media sources to speed up the process.
+ppd_install=drv
+udev_mode_fix=1
+ppd_dir=/usr/share/ppd/HP
+fix_ppd_symlink=0
+drv_dir=/usr/share/cups/drv/HP
+ui_toolkit=qt4
+policykit=1
+
+[mageia:6:cups]
+packages=cups,cups-common
+
+[mageia:6:cups-devel]
+packages=libcups2-devel
+
+[mageia:6:gcc]
+packages=gcc-c++
+
+[mageia:6:gs]
+packages=ghostscript
+
+[mageia:6:libcrypto]
+packages=libopenssl0.9.8-devel
+
+[mageia:6:libjpeg]
+packages=libjpeg-devel
+
+[mageia:6:libnetsnmp-devel]
+packages=libnet-snmp-devel
+
+[mageia:6:libpthread]
+packages=glibc-i18ndata,glibc_lsb
+
+[mageia:6:libtool]
+packages=libtool,libgphoto-devel
+
+[mageia:6:libusb]
+packages=libusb1.0-devel
+
+[mageia:6:make]
+packages=make
+
+[mageia:6:pil]
+packages=python-imaging
+
+[mageia:6:ppdev]
+packages=
+commands=su -c "modprobe ppdev"
+
+[mageia:6:pyqt]
+packages=python-qt4
+
+[mageia:6:python-devel]
+packages=libpython2.6-devel
+
+[mageia:6:pyqt4]
+packages=python-qt4
+
+[mageia:6:pyqt4-dbus]
+packages=qt4-qtdbus
+
+[mageia:6:python23]
+packages=python
+
+[mageia:6:python2X]
+packages=python
+
+[mageia:6:reportlab]
+packages=python-reportlab
+
+[mageia:6:sane]
+packages=saned
+
+[mageia:6:sane-devel]
+packages=libsane1-devel,sane-backends
+
+[mageia:6:scanimage]
+packages=libsane1
+
+[mageia:6:xsane]
+packages=xsane,sane-frontends
+
+[mageia:6:cups-ddk]
+packages=cups
+
+[mageia:6:python-dbus]
+packages=python-dbus,python-gobject
+
+[mageia:6:dbus]
+packages=libdbus-1-devel,python-gobject
+
+[mageia:6:python-ctypes]
+packages=python
+
+[mageia:6:cups-image]
+packages=libcups2
+
+[mageia:6:policykit]
+packages=policykit,policykit-gnome
+
+[mageia:6:network]
+packages=wget
+
+[mageia:6:avahi-utils]
+packages=avahi
+
+
+# ********************
+# ****************************************
[mandriva]
index=4
versions=2010.0,2011.0