/[gentoo-x86]/sys-power/nut/nut-2.6.3.ebuild
Gentoo

Diff of /sys-power/nut/nut-2.6.3.ebuild

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

Revision 1.2 Revision 1.9
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2014 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/sys-power/nut/Attic/nut-2.6.3.ebuild,v 1.2 2012/06/02 22:14:18 ago Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-power/nut/Attic/nut-2.6.3.ebuild,v 1.9 2014/06/29 08:28:45 swift Exp $
4 4
5EAPI=2 5EAPI=2
6inherit autotools bash-completion eutils fixheadtails multilib user 6inherit autotools bash-completion eutils fixheadtails multilib user
7 7
8MY_P=${P/_/-} 8MY_P=${P/_/-}
13SRC_URI="http://random.networkupstools.org/source/${PV%.*}/${MY_P}.tar.gz 13SRC_URI="http://random.networkupstools.org/source/${PV%.*}/${MY_P}.tar.gz
14 http://www.networkupstools.org/source/${PV%.*}/${MY_P}.tar.gz" 14 http://www.networkupstools.org/source/${PV%.*}/${MY_P}.tar.gz"
15 15
16LICENSE="GPL-2" 16LICENSE="GPL-2"
17SLOT="0" 17SLOT="0"
18KEYWORDS="~alpha amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" 18KEYWORDS="amd64 ~arm ppc ppc64 x86 ~x86-fbsd"
19IUSE="avahi cgi snmp usb ssl tcpd xml" 19IUSE="avahi cgi snmp usb selinux ssl tcpd xml"
20 20
21RDEPEND="avahi? ( net-dns/avahi ) 21RDEPEND="avahi? ( net-dns/avahi )
22 cgi? ( >=media-libs/gd-2[png] ) 22 cgi? ( >=media-libs/gd-2[png] )
23 snmp? ( net-analyzer/net-snmp ) 23 snmp? ( net-analyzer/net-snmp )
24 usb? ( virtual/libusb:0 ) 24 usb? ( virtual/libusb:0 )
25 selinux? ( sec-policy/selinux-nut )
25 ssl? ( >=dev-libs/openssl-1 ) 26 ssl? ( >=dev-libs/openssl-1 )
26 tcpd? ( sys-apps/tcp-wrappers ) 27 tcpd? ( sys-apps/tcp-wrappers )
27 xml? ( >=net-libs/neon-0.25.0 ) 28 xml? ( >=net-libs/neon-0.25.0 )
28 >=sys-fs/udev-114" 29 virtual/udev"
29DEPEND="$RDEPEND 30DEPEND="$RDEPEND
30 >=sys-apps/sed-4 31 >=sys-apps/sed-4
31 virtual/pkgconfig" 32 virtual/pkgconfig"
32 33
33S=${WORKDIR}/${MY_P} 34S=${WORKDIR}/${MY_P}
160 eval fperms 0644 ${NUT_CGI_FILES} 161 eval fperms 0644 ${NUT_CGI_FILES}
161 eval fowners root:root ${NUT_CGI_FILES} 162 eval fowners root:root ${NUT_CGI_FILES}
162 fi 163 fi
163 164
164 # this is installed for 2.4 and fbsd guys 165 # this is installed for 2.4 and fbsd guys
165 if ! has_version sys-fs/udev; then 166 if ! has_version virtual/udev; then
166 einfo "Installing non-udev hotplug support" 167 einfo "Installing non-udev hotplug support"
167 insinto /etc/hotplug/usb 168 insinto /etc/hotplug/usb
168 insopts -m 755 169 insopts -m 755
169 doins scripts/hotplug/nut-usbups.hotplug 170 doins scripts/hotplug/nut-usbups.hotplug
170 fi 171 fi

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

  ViewVC Help
Powered by ViewVC 1.1.20