/[gentoo-x86]/app-emulation/libvirt/libvirt-1.0.0.ebuild
Gentoo

Diff of /app-emulation/libvirt/libvirt-1.0.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/Attic/libvirt-1.0.0.ebuild,v 1.1 2012/11/04 01:29:38 cardoe Exp $ 3# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/Attic/libvirt-1.0.0.ebuild,v 1.2 2012/11/04 21:57:34 cardoe Exp $
4 4
5EAPI=4 5EAPI=4
6 6
7#BACKPORTS=85e8c146 7#BACKPORTS=85e8c146
8AUTOTOOLIZE=yes 8AUTOTOOLIZE=yes
196 196
197 # Tweak the init script 197 # Tweak the init script
198 local avahi_init= 198 local avahi_init=
199 local iscsi_init= 199 local iscsi_init=
200 local rbd_init= 200 local rbd_init=
201 local firewalld_init=
201 cp "${FILESDIR}/libvirtd.init-r11" "${S}/libvirtd.init" 202 cp "${FILESDIR}/libvirtd.init-r11" "${S}/libvirtd.init"
202 use avahi && avahi_init='avahi-daemon' 203 use avahi && avahi_init='avahi-daemon'
203 use iscsi && iscsi_init='iscsid' 204 use iscsi && iscsi_init='iscsid'
204 use rbd && rbd_init='ceph' 205 use rbd && rbd_init='ceph'
206 use firewalld && firewalld_init='need firewalld'
205 207
206 sed -e "s/USE_FLAG_FIREWALLD/need firewalld/" -i "${S}/libvirtd.init" 208 sed -e "s/USE_FLAG_FIREWALLD/${firewalld_init}/" -i "${S}/libvirtd.init"
207 sed -e "s/USE_FLAG_AVAHI/${avahi_init}/" -i "${S}/libvirtd.init" 209 sed -e "s/USE_FLAG_AVAHI/${avahi_init}/" -i "${S}/libvirtd.init"
208 sed -e "s/USE_FLAG_ISCSI/${iscsi_init}/" -i "${S}/libvirtd.init" 210 sed -e "s/USE_FLAG_ISCSI/${iscsi_init}/" -i "${S}/libvirtd.init"
209 sed -e "s/USE_FLAG_RBD/${rbd_init}/" -i "${S}/libvirtd.init" 211 sed -e "s/USE_FLAG_RBD/${rbd_init}/" -i "${S}/libvirtd.init"
210} 212}
211 213

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20