From 7f6d59550b390eb6e9644f21e3d6c812d4fe2633 Mon Sep 17 00:00:00 2001 From: milisbir Date: Fri, 18 Mar 2016 02:14:06 +0000 Subject: [PATCH] malfs mekanizma guncelleme --- bin/pkvt_olustur | 7 +++-- talimatname/genel/qemu-all/talimat | 43 ++++++++++++++++++++++++++++ talimatname/genel/qemu/65-kvm.rules | 1 - talimatname/genel/qemu/messages.mo | Bin 1333 -> 0 bytes talimatname/genel/qemu/qemu.kur-kos | 24 ---------------- talimatname/genel/qemu/qemu.mo | Bin 1325 -> 0 bytes talimatname/genel/qemu/talimat | 43 ---------------------------- 7 files changed, 47 insertions(+), 71 deletions(-) create mode 100644 talimatname/genel/qemu-all/talimat delete mode 100644 talimatname/genel/qemu/65-kvm.rules delete mode 100644 talimatname/genel/qemu/messages.mo delete mode 100644 talimatname/genel/qemu/qemu.kur-kos delete mode 100644 talimatname/genel/qemu/qemu.mo delete mode 100644 talimatname/genel/qemu/talimat diff --git a/bin/pkvt_olustur b/bin/pkvt_olustur index 5c6f507f9..0a10a7598 100755 --- a/bin/pkvt_olustur +++ b/bin/pkvt_olustur @@ -3,13 +3,14 @@ pvt_olustur(){ if [ ! -f paket.vt ];then touch paket.vt fi + if [ -f "paket.vt" ];then + mv "paket.vt" "paket.vt.eski" + fi for paket in `ls` do paketad="`echo $paket|cut -d "#" -f1`" shaek=`sha1sum $paket` - if [ -f "paket.vt" ];then - mv "paket.vt" "paket.vt.eski" - fi + echo $paketad $shaek >> paket.vt done } diff --git a/talimatname/genel/qemu-all/talimat b/talimatname/genel/qemu-all/talimat new file mode 100644 index 000000000..64356d95f --- /dev/null +++ b/talimatname/genel/qemu-all/talimat @@ -0,0 +1,43 @@ +#Description: QEMU is a processor emulator using dynamic translation to achieve good emulation speed (PC, PowerPC, PowerMac, sun, Mips, ARM etc...) +#URL: http://www.qemu.org +#Packager: milisarge@gmail.com +#Depends on: gtk2 gtk3 sdl glib python vte vte3 xorg-mesa nss lzo cyrus-sasl alsa-lib alsa-plugins alsa-utils curl check bluez ncurses nfs-utils libgcrypt libcap-ng gnutls libusb bzip2 usbutils bridge-utils + +description="Processor emulator using dynamic translation to achieve good emulation speed" +name=qemu-all +version=2.5.0 +release=1 +source=(http://wiki.qemu.org/download/qemu-$version.tar.bz2) + +build() { + + cd qemu-$version + + ./configure --prefix=/usr \ + --cc="${CC:=gcc}" \ + --host-cc="${CC:=gcc}" \ + --sysconfdir=/etc \ + --disable-docs \ + --libexecdir=/usr/lib/qemu \ + --disable-gtk \ + --localstatedir=/var + + # fix include issues with libcap + sed -i -e '/#include "qemu\/xattr.h"/d' \ + -e 's|#include |#include \r\n#include "qemu\/xattr.h"|g' \ + fsdev/virtfs-proxy-helper.c + + make ${MAKEFLAGS:=} + make DESTDIR=$PKG install + + make qemu.1 qemu-img.1 qemu-nbd.8 + install -D -m 644 qemu.1 $PKG/usr/share/man1/qemu.1 + install -D -m 644 qemu-img.1 $PKG/usr/share/man1/qemu-img.1 + install -D -m 644 qemu-nbd.8 $PKG/usr/share/man8/qemu-nbd.8 + + install -d $PKG/etc/udev/rules.d/ + echo 'KERNEL=="kvm", NAME="kvm", OWNER="root", GROUP="kvm", MODE="0660"' > \ + $PKG/etc/udev/rules.d/60-kvm.rules + + rm -rf $PKG/usr/share/locale +} diff --git a/talimatname/genel/qemu/65-kvm.rules b/talimatname/genel/qemu/65-kvm.rules deleted file mode 100644 index c2f7317aa..000000000 --- a/talimatname/genel/qemu/65-kvm.rules +++ /dev/null @@ -1 +0,0 @@ -KERNEL=="kvm", GROUP="kvm", MODE="0660" diff --git a/talimatname/genel/qemu/messages.mo b/talimatname/genel/qemu/messages.mo deleted file mode 100644 index 53780f4beae4f16981bd14c21184977da87b3638..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1333 zcmZva&2Ah;5XT1+2rM570R;(xRER?kRxh(_Td~GAvSWK4Bd@$!))vBwM(y3odcwGS z=^1QNVL_RftXaOTE=2jE{bBMcHH)&8cs>#J+)x0_eLjvzOoZ$rO_ zz5`u*20xG=!S}$Qz!$+^8vYKpVE+NW3jPJY1YUWzKEDpW4Ertc1@JZ~@i8cVNyA=q zKLnr0`7!t$c+%LXjcvgvs8NC)+~2xd=fBtR5PV(Yz+2!9l>WW~-vGa9_yZ{QpMui& z&!D{hS5V^q1f}0=XhQnA0gC-5cpW4VE>R4kol4|gB517=$t!XV`dal>*N`|7$s;0p zUxCV;u0U@7J=i z(}OZZX|K$4KX%L}N~@H6rjYYK>STtav}z(s@0Tc_4%stsl<|2qaP|?8gW8*@BX&Ns zCZYQ~{X^=sm)gs5YsiIlLG}GKo2a|x)T@zA=rcYm)r4o9Zy0N)rfgd`Z4C}aYRj<> z$fCA&;DowyXIaH})M8BWon&!oA@0U89MzC#nN+*r;X2b zur8s^62r~d(1+R?OKZBZH>!`tZrgD9ptY~fwA52pBi3gL^&A_Fd#yLz$TMm5(j%dV zuGQb`?_55<(~etP)&w>v{kXsz0)HOfFLIrkRT`gahvBUsj(Te4(ob4^$WHB;v7KaQ zn$XHg7FvV6bUIf(>&|>arl?H6-d&~obKTIp>(p6oeXMrbu&W=rZ$H&}_65sd(25jo z7Df3OYvD`x?@cQ#Z0+3qyMW7F(^wY)^N5~4Io>f;$l5(a5%`e#h|I$kKbU44rOcpXs$BTVba`ZQH$Vs#S diff --git a/talimatname/genel/qemu/qemu.kur-kos b/talimatname/genel/qemu/qemu.kur-kos deleted file mode 100644 index 95711b3ee..000000000 --- a/talimatname/genel/qemu/qemu.kur-kos +++ /dev/null @@ -1,24 +0,0 @@ -groupadd -g 61 kvm - -qemuser=$(whoami) - -echo "L'ajout de votre nom d'utilisateur $qemuser au groupe kvm est nécessaire pour la virtualisation par le noyau linux. Etes vous d'accord ? (oui/non)" -read rep - -if [ "$rep" != "oui" ]; then - - if [ "$rep" != "non" ]; then - echo "Réponse incorrecte L'administrateur du système peut vous ajouter au groupe si vous le désirez" - fi -fi - - -if [ "$rep" = "oui" ]; then - usermod -a -G kvm $qemuser - echo "votre nom d'utilisateur $qemuser a été ajouté au groupe kvm" -fi - -ln -sv qemu-system-x86_64 /usr/bin/qemu - -echo "Qemu est configuré pour lancer une machine virtuelle x86_64. Pour utiliser un autre système (PowerMac, PowerPC, Sparc, mips etc..) il faut lancer les machines correstondantes directement depuis le repertoire /usr/bin." - diff --git a/talimatname/genel/qemu/qemu.mo b/talimatname/genel/qemu/qemu.mo deleted file mode 100644 index ebd249bcf6343928f06e042337aad9a83b71b411..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1325 zcmZvaOK%)S5XT1+9$6j<5kvxkRER^6tX{@zTd~GAvSaTWBd@$!HWtE)hW2h{-C^84 zboZA3}-$7|C$+LkSMA4x7A&*uBqQ{Ui~J4+=RXf{SNvT zbn_|vK)wgx0e=9mfxoo;9qhpV1AH0$3w!~*@^o{49efe?8{qTcZBXJmSU z4>G4K&>K+cO+;$Td{O4VLW)M7L!jO0i=~|+F6~ov?wlsBiLQqFp2QzidJ{V^+ zy4N4xr{(TycP;IVxpY3NVVIklx?9bInz)QU=krRGLzB>$(b