parent
995403f1d7
commit
1baaba1e94
@ -1,13 +1,13 @@
|
||||
# Copyright 1999-2006 Gentoo Foundation
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/hddtemp/files/hddtemp-conf.d,v 1.3 2006/07/15 01:11:28 spock Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/hddtemp/files/hddtemp-conf.d,v 1.4 2012/03/16 14:25:14 aidecoe Exp $
|
||||
|
||||
# the hddtemp executable
|
||||
HDDTEMP_EXEC=/usr/sbin/hddtemp
|
||||
|
||||
# various options to pass to the daemon
|
||||
HDDTEMP_OPTS="-l 127.0.0.1"
|
||||
HDDTEMP_OPTS="--listen=127.0.0.1"
|
||||
|
||||
# a list of drives to check
|
||||
HDDTEMP_DRIVES="/dev/hda /dev/hdb"
|
||||
HDDTEMP_DRIVES="/dev/sda /dev/sdb"
|
||||
|
||||
|
@ -1 +0,0 @@
|
||||
DIST pcihpview-0.5.tar.gz 58128 RMD160 61c698b99c7794ec6c2b1d4cb6dfc58a6579b2d3 SHA1 910b9ff4f43630c42133f1013a6e56d7d4512d7e SHA256 ac4ba5bae2d199acff2b23f0bbddb8374e60a71f2b1f9629bb5933f85054bb00
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>gregkh@gentoo.org</email>
|
||||
<name>Greg Kroah-Hartman</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/pcihpview/pcihpview-0.5.ebuild,v 1.6 2009/10/11 23:40:59 halcy0n Exp $
|
||||
|
||||
DESCRIPTION="Display all PCI Hotplug devices in the system"
|
||||
HOMEPAGE="http://www.kroah.com/linux/hotplug/"
|
||||
SRC_URI="http://www.kroah.com/linux/hotplug/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="x86 ppc sparc amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="=x11-libs/gtk+-1.2*"
|
||||
|
||||
src_compile() {
|
||||
econf || die "econf failed"
|
||||
make || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${D}" install || die
|
||||
dodoc AUTHORS ChangeLog NEWS README TODO
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST clamav-0.97.3.tar.gz 45793398 RMD160 9fee55f0b115fafa622e1092483e380afd0dc5b9 SHA1 263c7b8b7dc1536652ab64e32263d1c60e138655 SHA256 3a8cece5b7e6b15410f6b8f96ff5591b2c5a72f290ee8a28fefda44cb5ae7aba
|
||||
DIST clamav-0.97.4.tar.gz 48386114 RMD160 a8da7621d6c8bce05adf2521f082b3e5e94dd9e1 SHA1 56f90cf8a73acba8f97beca86b42c65c3923935d SHA256 958dd09c9da9ceb50c9e556b3ced9cbdf40e836d2bdc98286ce96e84fd4a5a53
|
||||
|
@ -0,0 +1,121 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/clamav-0.97.4.ebuild,v 1.1 2012/03/16 21:25:46 radhermit Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils autotools-utils flag-o-matic
|
||||
|
||||
DESCRIPTION="Clam Anti-Virus Scanner"
|
||||
HOMEPAGE="http://www.clamav.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="bzip2 clamdtop iconv ipv6 milter selinux static-libs"
|
||||
|
||||
CDEPEND="bzip2? ( app-arch/bzip2 )
|
||||
clamdtop? ( sys-libs/ncurses )
|
||||
iconv? ( virtual/libiconv )
|
||||
milter? ( || ( mail-filter/libmilter mail-mta/sendmail ) )
|
||||
dev-libs/libtommath
|
||||
>=sys-libs/zlib-1.2.2
|
||||
sys-devel/libtool"
|
||||
DEPEND="${CDEPEND}
|
||||
>=dev-util/pkgconfig-0.20"
|
||||
RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-clamav )"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
DOCS=( AUTHORS BUGS ChangeLog FAQ INSTALL NEWS README UPGRADE )
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-0.97-nls.patch )
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup clamav
|
||||
enewuser clamav -1 -1 /dev/null clamav
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
use ppc64 && append-flags -mminimal-toc
|
||||
autotools-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--disable-experimental
|
||||
--enable-id-check
|
||||
--with-dbdir=/var/lib/clamav
|
||||
--with-system-tommath
|
||||
$(use_enable bzip2)
|
||||
$(use_enable clamdtop)
|
||||
$(use_enable ipv6)
|
||||
$(use_enable milter)
|
||||
$(use_with iconv)
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-utils_src_install
|
||||
|
||||
rm -rf "${ED}"/var/lib/clamav
|
||||
newinitd "${FILESDIR}"/clamd.rc clamd
|
||||
newconfd "${FILESDIR}"/clamd.conf clamd
|
||||
|
||||
keepdir /var/lib/clamav
|
||||
fowners clamav:clamav /var/lib/clamav
|
||||
keepdir /var/run/clamav
|
||||
fowners clamav:clamav /var/run/clamav
|
||||
keepdir /var/log/clamav
|
||||
fowners clamav:clamav /var/log/clamav
|
||||
|
||||
dodir /etc/logrotate.d
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}"/clamav.logrotate clamav
|
||||
|
||||
# Modify /etc/{clamd,freshclam}.conf to be usable out of the box
|
||||
sed -i -e "s:^\(Example\):\# \1:" \
|
||||
-e "s:.*\(PidFile\) .*:\1 /var/run/clamav/clamd.pid:" \
|
||||
-e "s:.*\(LocalSocket\) .*:\1 /var/run/clamav/clamd.sock:" \
|
||||
-e "s:.*\(User\) .*:\1 clamav:" \
|
||||
-e "s:^\#\(LogFile\) .*:\1 /var/log/clamav/clamd.log:" \
|
||||
-e "s:^\#\(LogTime\).*:\1 yes:" \
|
||||
-e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \
|
||||
"${ED}"/etc/clamd.conf
|
||||
sed -i -e "s:^\(Example\):\# \1:" \
|
||||
-e "s:.*\(PidFile\) .*:\1 /var/run/clamav/freshclam.pid:" \
|
||||
-e "s:.*\(DatabaseOwner\) .*:\1 clamav:" \
|
||||
-e "s:^\#\(UpdateLogFile\) .*:\1 /var/log/clamav/freshclam.log:" \
|
||||
-e "s:^\#\(NotifyClamd\).*:\1 /etc/clamd.conf:" \
|
||||
-e "s:^\#\(ScriptedUpdates\).*:\1 yes:" \
|
||||
-e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \
|
||||
"${ED}"/etc/freshclam.conf
|
||||
|
||||
if use milter ; then
|
||||
# MilterSocket one to include ' /' because there is a 2nd line for
|
||||
# inet: which we want to leave
|
||||
dodoc "${FILESDIR}"/clamav-milter.README.gentoo
|
||||
sed -i -e "s:^\(Example\):\# \1:" \
|
||||
-e "s:.*\(PidFile\) .*:\1 /var/run/clamav/clamav-milter.pid:" \
|
||||
-e "s+^\#\(ClamdSocket\) .*+\1 unix:/var/run/clamav/clamd.sock+" \
|
||||
-e "s:.*\(User\) .*:\1 clamav:" \
|
||||
-e "s+^\#\(MilterSocket\) /.*+\1 unix:/var/run/clamav/clamav-milter.sock+" \
|
||||
-e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \
|
||||
-e "s:^\#\(LogFile\) .*:\1 /var/log/clamav/clamav-milter.log:" \
|
||||
"${ED}"/etc/clamav-milter.conf
|
||||
cat > "${ED}"/etc/conf.d/clamd <<-EOF
|
||||
MILTER_NICELEVEL=19
|
||||
START_MILTER=no
|
||||
EOF
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use milter ; then
|
||||
elog "For simple instructions how to setup the clamav-milter read the"
|
||||
elog "clamav-milter.README.gentoo in /usr/share/doc/${PF}"
|
||||
fi
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST lrzip-0.44.tar.bz2 171770 RMD160 f9cac32ff1bb097762965d2023f2a93df01fcdbc SHA1 8efd446cf6a0a846cad99ecd6b311a9631952cc5 SHA256 3b8aca1de2be674b6a5244fad8d7976771a43281693d0dccedde6ca45f3499d9
|
||||
DIST lrzip-0.606.tar.bz2 433671 RMD160 dde0564a48c14caad921bb2b4e0830d108c0473e SHA1 d0d639cd289a7f97e6e312a4f6ae8566e6e24884 SHA256 136d365f67c4a197fd9f90bc247a92640d681bac9d2075dd141c19e48fc61d0f
|
||||
DIST lrzip-0.611.tar.bz2 470847 RMD160 f6e6bc53fd570dd29f1df6bc43e40ba14cdff1d4 SHA1 e7546cbb92d93bddfda40dd90688f4a86fa8e111 SHA256 351081ede4bacd37eb0f3a6013702154765edbd70e0ebcda8c321e7dd7209998
|
||||
|
@ -1,20 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/lrzip/lrzip-0.606.ebuild,v 1.1 2011/05/17 21:38:50 spatz Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Long Range ZIP or Lzma RZIP"
|
||||
HOMEPAGE="http://ck.kolivas.org/apps/lrzip/README"
|
||||
SRC_URI="http://ck.kolivas.org/apps/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-libs/lzo
|
||||
app-arch/bzip2
|
||||
sys-libs/zlib"
|
||||
DEPEND="${RDEPEND}
|
||||
x86? ( dev-lang/nasm )"
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/lrzip/lrzip-0.611.ebuild,v 1.1 2012/03/16 14:27:30 kumba Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Long Range ZIP or Lzma RZIP optimized for compressing large files."
|
||||
HOMEPAGE="http://ck.kolivas.org/apps/lrzip/README"
|
||||
SRC_URI="http://ck.kolivas.org/apps/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-libs/lzo
|
||||
app-arch/bzip2
|
||||
sys-libs/zlib"
|
||||
DEPEND="${RDEPEND}
|
||||
x86? ( dev-lang/nasm )
|
||||
virtual/perl-PodParser"
|
@ -1 +0,0 @@
|
||||
DIST Q7Z-0.8.0.tar.bz2 177144 RMD160 63b4506a832e45cc98c2d041b5f9a26dce4aed18 SHA1 632a68d50b9ec9d1e1b2b796d0c812bd14dec609 SHA256 3dd799028b4eac2d6d2654d52824363b1c1e814c8cbf0a764d29b948cf8a6678
|
@ -1,21 +0,0 @@
|
||||
diff -ur Q7Z-orig/Source/Thread.py Q7Z/Source/Thread.py
|
||||
--- Q7Z-orig/Source/Thread.py 2009-04-23 10:12:24.000000000 +0300
|
||||
+++ Q7Z/Source/Thread.py 2009-05-29 03:46:02.541667405 +0300
|
||||
@@ -220,7 +220,7 @@
|
||||
sExt = ".exe"
|
||||
|
||||
# Recursive
|
||||
- slCmdArgs.append( "-r" )
|
||||
+ #slCmdArgs.append( "-r" )
|
||||
|
||||
# Exclusions
|
||||
slWildcards = QtCore.QStringList( Settings.User.Syntax.sExclusions.split( ' ' ) )
|
||||
@@ -549,7 +549,7 @@
|
||||
slCmdArgs.append( "-y" )
|
||||
|
||||
# Recursive
|
||||
- slCmdArgs.append( "-r" )
|
||||
+ #slCmdArgs.append( "-r" )
|
||||
|
||||
# Exclusions
|
||||
slWildcards = QtCore.QStringList( Settings.User.Syntax.sExclusions.split( ' ' ) )
|
@ -1,24 +0,0 @@
|
||||
diff -ur Q7Z-orig/Bin/Q7Z.pyw Q7Z/Bin/Q7Z.pyw
|
||||
--- Q7Z-orig/Bin/Q7Z.pyw 2008-06-29 03:11:21.000000000 +0300
|
||||
+++ Q7Z/Bin/Q7Z.pyw 2009-05-30 00:29:09.712445008 +0300
|
||||
@@ -11,7 +11,7 @@
|
||||
### Imports
|
||||
|
||||
# Q7Z
|
||||
-import Main
|
||||
+import q7z.Main as Main
|
||||
|
||||
|
||||
### Execution
|
||||
diff -ur Q7Z-orig/Source/Q7Z.pyw Q7Z/Source/Q7Z.pyw
|
||||
--- Q7Z-orig/Source/Q7Z.pyw 2008-06-29 03:11:21.000000000 +0300
|
||||
+++ Q7Z/Source/Q7Z.pyw 2009-05-30 00:29:09.712445008 +0300
|
||||
@@ -11,7 +11,7 @@
|
||||
### Imports
|
||||
|
||||
# Q7Z
|
||||
-import Main
|
||||
+import q7z.Main as Main
|
||||
|
||||
|
||||
### Execution
|
@ -1,61 +0,0 @@
|
||||
diff -ur Q7Z-orig/Source/Settings.py Q7Z/Source/Settings.py
|
||||
--- Q7Z-orig/Source/Settings.py 2009-04-23 01:38:10.000000000 +0300
|
||||
+++ Q7Z/Source/Settings.py 2009-05-30 00:42:50.391474549 +0300
|
||||
@@ -39,7 +39,7 @@
|
||||
|
||||
# Application
|
||||
Application = QtCore.QObject()
|
||||
-Application.sName = "Q7Z"
|
||||
+Application.sName = "q7z"
|
||||
Application.sVersion = QtCore.QString( "0.8.0" )
|
||||
Application.sDomain = "k7z.sourceforge.net"
|
||||
Application.sCurrent = "/7Z/" + Application.sName + "/Current.txt"
|
||||
@@ -98,10 +98,10 @@
|
||||
Path = QtCore.QObject()
|
||||
Path.sSep = QtCore.QString( QtCore.QDir.separator() )
|
||||
Path.App = QtCore.QObject()
|
||||
-Path.App.sPrefix = ""
|
||||
+Path.App.sPrefix = "/usr/share/" + Application.sName
|
||||
Path.App.sSBin = ""
|
||||
-Path.App.sInstall = "/share/" + Application.sName
|
||||
-Path.App.sConfig = Env.sHome + '/.config/' + Author.sName + Path.sSep + Application.sName + Path.sSep
|
||||
+Path.App.sInstall = ""
|
||||
+Path.App.sConfig = Path.App.sPrefix
|
||||
Path.KDE = QtCore.QObject()
|
||||
Path.KDE.sAutoStart = ""
|
||||
Path.KDE.sConfig = ""
|
||||
@@ -270,20 +270,20 @@
|
||||
# Misc
|
||||
Path.KDE.sAutoStart = Path.KDE.sLocalPrefix + "/Autostart/"
|
||||
|
||||
- # Installation
|
||||
- # KDE
|
||||
- if QtCore.QFile.exists( Path.Sys.sPrefix + Path.App.sInstall + "/Source/" ) :
|
||||
- Path.App.sPrefix = Path.Sys.sPrefix
|
||||
- Path.App.sSBin = Path.App.sPrefix + "/sbin"
|
||||
- # User
|
||||
- elif QtCore.QFile.exists( Path.Local.sPrefix + Path.App.sInstall + "/Source/" ) :
|
||||
- Path.App.sPrefix = Path.Local.sPrefix
|
||||
- Path.App.sSBin = Path.App.sPrefix + "/sbin"
|
||||
- # Local
|
||||
- else :
|
||||
- Path.App.sPrefix = os.path.realpath( os.path.dirname( __file__ ) ) + "/../"
|
||||
- Path.App.sSBin = Path.App.sPrefix + "/Bin"
|
||||
- Path.App.sInstall = ""
|
||||
+# # Installation
|
||||
+# # KDE
|
||||
+# if QtCore.QFile.exists( Path.Sys.sPrefix + Path.App.sInstall + "/Source/" ) :
|
||||
+# Path.App.sPrefix = Path.Sys.sPrefix
|
||||
+# Path.App.sSBin = Path.App.sPrefix + "/sbin"
|
||||
+# # User
|
||||
+# elif QtCore.QFile.exists( Path.Local.sPrefix + Path.App.sInstall + "/Source/" ) :
|
||||
+# Path.App.sPrefix = Path.Local.sPrefix
|
||||
+# Path.App.sSBin = Path.App.sPrefix + "/sbin"
|
||||
+# # Local
|
||||
+# else :
|
||||
+# Path.App.sPrefix = os.path.realpath( os.path.dirname( __file__ ) ) + "/../"
|
||||
+# Path.App.sSBin = Path.App.sPrefix + "/Bin"
|
||||
+# Path.App.sInstall = ""
|
||||
|
||||
# Proxy
|
||||
if Env.sProxy != "" :
|
@ -1 +0,0 @@
|
||||
|
@ -1,7 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>maintainer-needed@gentoo.org</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,82 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/q7z/q7z-0.8.0.ebuild,v 1.4 2011/04/16 19:35:02 arfrever Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2"
|
||||
|
||||
inherit eutils python
|
||||
|
||||
MY_PN="Q7Z"
|
||||
|
||||
DESCRIPTION="A GUI frontend for p7zip"
|
||||
HOMEPAGE="http://code.google.com/p/k7z/"
|
||||
SRC_URI="http://k7z.googlecode.com/files/${MY_PN}-${PV}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="app-arch/p7zip
|
||||
dev-python/PyQt4[X]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}/Build"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cd ..
|
||||
|
||||
# fix paths used at runtime
|
||||
epatch "${FILESDIR}/${PV}-fix_paths.patch"
|
||||
# remove '-r' flag from 7z as it's not supposed to be used
|
||||
epatch "${FILESDIR}/${PV}-fix_7z_flags.patch"
|
||||
# fix imports to reference the q7z package
|
||||
epatch "${FILESDIR}/${PV}-fix_imports.patch"
|
||||
|
||||
# patch menu entry to have correct name
|
||||
mv "Desktop/Menu/${MY_PN}.desktop" "Desktop/Menu/${PN}.desktop"
|
||||
sed -i "s/${MY_PN}/${PN}/" "Desktop/Menu/${PN}.desktop" \
|
||||
|| die "sed failed"
|
||||
|
||||
python_convert_shebangs -r 2 .
|
||||
|
||||
cd Source
|
||||
mv "${MY_PN}.pyw" "${PN}.pyw"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd ..
|
||||
|
||||
insinto "$(python_get_sitedir)/${PN}"
|
||||
doins Source/*.py || die
|
||||
newins "${FILESDIR}/${PV}-init.py" __init__.py || die
|
||||
|
||||
insinto "/usr/share/${PN}/Options"
|
||||
doins Options/* || die
|
||||
insinto "/usr/share/${PN}/Profiles"
|
||||
doins Desktop/Profiles/* || die
|
||||
|
||||
dobin "Source/${PN}.pyw" || die
|
||||
dosym "/usr/bin/${PN}.pyw" "/usr/bin/${PN}" || die
|
||||
|
||||
# install menu entry
|
||||
insinto /usr/share/icons/hicolor/32x32/apps
|
||||
newins "Image/apps/${MY_PN}.png" "${PN}.png" || die
|
||||
domenu "Desktop/Menu/${PN}.desktop" || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize ${PN}
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup ${PN}
|
||||
}
|
@ -0,0 +1,347 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/bacula/bacula-5.2.6.ebuild,v 1.1 2012/03/18 12:05:41 tomjbe Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="python? 2"
|
||||
PYTHON_USE_WITH="threads"
|
||||
PYTHON_USE_WITH_OPT="python"
|
||||
|
||||
inherit eutils multilib python
|
||||
|
||||
MY_PV=${PV/_beta/-b}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
|
||||
DESCRIPTION="Featureful client/server network backup suite"
|
||||
HOMEPAGE="http://www.bacula.org/"
|
||||
SRC_URI="mirror://sourceforge/bacula/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86"
|
||||
IUSE="bacula-clientonly bacula-nodir bacula-nosd ipv6 logwatch mysql postgres python qt4 readline +sqlite3 ssl static tcpd vim-syntax X"
|
||||
|
||||
DEPEND="
|
||||
>=sys-libs/zlib-1.1.4
|
||||
dev-libs/gmp
|
||||
!bacula-clientonly? (
|
||||
postgres? ( dev-db/postgresql-base[threads] )
|
||||
mysql? ( virtual/mysql )
|
||||
sqlite3? ( dev-db/sqlite:3 )
|
||||
!bacula-nodir? ( virtual/mta )
|
||||
)
|
||||
qt4? (
|
||||
x11-libs/qt-svg:4
|
||||
x11-libs/qwt:5
|
||||
)
|
||||
ssl? ( dev-libs/openssl )
|
||||
logwatch? ( sys-apps/logwatch )
|
||||
tcpd? ( >=sys-apps/tcp-wrappers-7.6 )
|
||||
readline? ( >=sys-libs/readline-4.1 )
|
||||
dev-libs/lzo
|
||||
sys-libs/ncurses"
|
||||
RDEPEND="${DEPEND}
|
||||
!bacula-clientonly? (
|
||||
!bacula-nosd? (
|
||||
sys-block/mtx
|
||||
app-arch/mt-st
|
||||
)
|
||||
)
|
||||
vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
|
||||
|
||||
REQUIRED_USE="|| ( ^^ ( mysql postgres sqlite3 ) bacula-clientonly )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
# create the daemon group and user
|
||||
if [ -z "$(egetent group bacula 2>/dev/null)" ]; then
|
||||
enewgroup bacula
|
||||
einfo
|
||||
einfo "The group 'bacula' has been created. Any users you add to this"
|
||||
einfo "group have access to files created by the daemons."
|
||||
einfo
|
||||
fi
|
||||
|
||||
if use bacula-clientonly && use static && use qt4; then
|
||||
ewarn
|
||||
ewarn "Building statically linked 'bat' is not supported. Ignorig 'qt4' useflag."
|
||||
ewarn
|
||||
fi
|
||||
|
||||
if ! use bacula-clientonly; then
|
||||
# USE=static only supported for bacula-clientonly
|
||||
if use static; then
|
||||
ewarn
|
||||
ewarn "USE=static only supported together with USE=bacula-clientonly."
|
||||
ewarn "Ignoring 'static' useflag."
|
||||
ewarn
|
||||
fi
|
||||
if [ -z "$(egetent passwd bacula 2>/dev/null)" ]; then
|
||||
enewuser bacula -1 -1 /var/lib/bacula bacula,disk,tape,cdrom,cdrw
|
||||
einfo
|
||||
einfo "The user 'bacula' has been created. Please see the bacula manual"
|
||||
einfo "for information about running bacula as a non-root user."
|
||||
einfo
|
||||
fi
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# adjusts default configuration files for several binaries
|
||||
# to /etc/bacula/<config> instead of ./<config>
|
||||
pushd src >&/dev/null || die
|
||||
for f in console/console.c dird/dird.c filed/filed.c \
|
||||
stored/bcopy.c stored/bextract.c stored/bls.c \
|
||||
stored/bscan.c stored/btape.c stored/stored.c \
|
||||
qt-console/main.cpp; do
|
||||
sed -i -e 's|^\(#define CONFIG_FILE "\)|\1/etc/bacula/|g' "${f}" \
|
||||
|| die "sed on ${f} failed"
|
||||
done
|
||||
popd >&/dev/null || die
|
||||
|
||||
# drop automatic install of unneeded documentation (for bug 356499)
|
||||
epatch "${FILESDIR}"/5.2.3/${PN}-5.2.3-doc.patch
|
||||
|
||||
# bug #310087
|
||||
epatch "${FILESDIR}"/5.2.3/${PN}-5.2.3-as-needed.patch
|
||||
|
||||
# bug #311161
|
||||
epatch "${FILESDIR}"/5.2.3/${PN}-5.2.3-lib-search-path.patch
|
||||
|
||||
# stop build for errors in subdirs
|
||||
epatch "${FILESDIR}"/5.2.3/${PN}-5.2.3-Makefile.patch
|
||||
|
||||
# bat needs to respect LDFLAGS
|
||||
epatch "${FILESDIR}"/5.2.3/${PN}-5.2.3-ldflags.patch
|
||||
|
||||
# bug #328701
|
||||
epatch "${FILESDIR}"/5.2.3/${PN}-5.2.3-openssl-1.patch
|
||||
|
||||
epatch "${FILESDIR}"/5.2.3/${PN}-5.2.3-fix-static.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=''
|
||||
|
||||
if use bacula-clientonly; then
|
||||
myconf="${myconf} \
|
||||
$(use_enable bacula-clientonly client-only) \
|
||||
$(use_enable !static libtool) \
|
||||
$(use_enable static static-cons) \
|
||||
$(use_enable static static-fd)"
|
||||
else
|
||||
myconf="${myconf} \
|
||||
$(use_enable !bacula-nodir build-dird) \
|
||||
$(use_enable !bacula-nosd build-stored)"
|
||||
# bug #311099
|
||||
# database support needed by dir-only *and* sd-only
|
||||
# build as well (for building bscan, btape, etc.)
|
||||
myconf="${myconf} \
|
||||
$(use_with mysql) \
|
||||
$(use_with sqlite3) \
|
||||
$(use_with postgres postgresql) \
|
||||
--enable-batch-insert"
|
||||
fi
|
||||
|
||||
# do not build bat if 'static' clientonly
|
||||
if ! use bacula-clientonly || ! use static; then
|
||||
myconf="${myconf} \
|
||||
$(use_enable qt4 bat)"
|
||||
fi
|
||||
|
||||
myconf="${myconf} \
|
||||
--disable-tray-monitor \
|
||||
$(use_with X x) \
|
||||
$(use_with python) \
|
||||
$(use_enable !readline conio) \
|
||||
$(use_enable readline) \
|
||||
$(use_with readline readline /usr) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_with tcpd tcp-wrappers)"
|
||||
|
||||
econf \
|
||||
--libdir=/usr/$(get_libdir) \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
--htmldir=/usr/share/doc/${PF}/html \
|
||||
--with-pid-dir=/var/run \
|
||||
--sysconfdir=/etc/bacula \
|
||||
--with-subsys-dir=/var/lock/subsys \
|
||||
--with-working-dir=/var/lib/bacula \
|
||||
--with-scriptdir=/usr/libexec/bacula \
|
||||
--with-dir-user=bacula \
|
||||
--with-dir-group=bacula \
|
||||
--with-sd-user=root \
|
||||
--with-sd-group=bacula \
|
||||
--with-fd-user=root \
|
||||
--with-fd-group=bacula \
|
||||
--enable-smartalloc \
|
||||
--host=${CHOST} \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
insinto /usr/share/pixmaps
|
||||
doins scripts/bacula.png
|
||||
|
||||
# install bat icon and desktop file when enabled
|
||||
# (for some reason ./configure doesn't pick this up)
|
||||
if use qt4 && ! use static ; then
|
||||
insinto /usr/share/pixmaps
|
||||
doins src/qt-console/images/bat_icon.png
|
||||
insinto /usr/share/applications
|
||||
doins scripts/bat.desktop
|
||||
fi
|
||||
|
||||
# remove some scripts we don't need at all
|
||||
rm -f "${D}"/usr/libexec/bacula/{bacula,bacula-ctl-dir,bacula-ctl-fd,bacula-ctl-sd,startmysql,stopmysql}
|
||||
|
||||
# rename statically linked apps
|
||||
if use bacula-clientonly && use static ; then
|
||||
pushd "${D}"/usr/sbin || die
|
||||
mv static-bacula-fd bacula-fd || die
|
||||
mv static-bconsole bconsole || die
|
||||
popd || die
|
||||
fi
|
||||
|
||||
# extra files which 'make install' doesn't cover
|
||||
if ! use bacula-clientonly; then
|
||||
# the database update scripts
|
||||
diropts -m0750
|
||||
insinto /usr/libexec/bacula/updatedb
|
||||
insopts -m0754
|
||||
doins "${S}"/updatedb/*
|
||||
fperms 0640 /usr/libexec/bacula/updatedb/README
|
||||
|
||||
# the logrotate configuration
|
||||
# (now unconditional wrt bug #258187)
|
||||
diropts -m0755
|
||||
insinto /etc/logrotate.d
|
||||
insopts -m0644
|
||||
newins "${S}"/scripts/logrotate bacula
|
||||
|
||||
# the logwatch scripts
|
||||
if use logwatch; then
|
||||
diropts -m0750
|
||||
dodir /etc/log.d/scripts/services
|
||||
dodir /etc/log.d/scripts/shared
|
||||
dodir /etc/log.d/conf/logfiles
|
||||
dodir /etc/log.d/conf/services
|
||||
pushd "${S}"/scripts/logwatch >&/dev/null || die
|
||||
emake DESTDIR="${D}" install
|
||||
popd >&/dev/null || die
|
||||
fi
|
||||
fi
|
||||
|
||||
rm -vf "${D}"/usr/share/man/man1/bacula-bwxconsole.1*
|
||||
if ! use qt4; then
|
||||
rm -vf "${D}"/usr/share/man/man1/bat.1*
|
||||
fi
|
||||
rm -vf "${D}"/usr/share/man/man1/bacula-tray-monitor.1*
|
||||
if use bacula-clientonly || use bacula-nodir; then
|
||||
rm -vf "${D}"/usr/share/man/man8/bacula-dir.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/dbcheck.8*
|
||||
rm -vf "${D}"/usr/share/man/man1/bsmtp.1*
|
||||
rm -vf "${D}"/usr/libexec/bacula/create_*_database
|
||||
rm -vf "${D}"/usr/libexec/bacula/drop_*_database
|
||||
rm -vf "${D}"/usr/libexec/bacula/make_*_tables
|
||||
rm -vf "${D}"/usr/libexec/bacula/update_*_tables
|
||||
rm -vf "${D}"/usr/libexec/bacula/drop_*_tables
|
||||
rm -vf "${D}"/usr/libexec/bacula/grant_*_privileges
|
||||
rm -vf "${D}"/usr/libexec/bacula/*_catalog_backup
|
||||
fi
|
||||
if use bacula-clientonly || use bacula-nosd; then
|
||||
rm -vf "${D}"/usr/share/man/man8/bacula-sd.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bcopy.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bextract.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bls.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bscan.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/btape.8*
|
||||
rm -vf "${D}"/usr/libexec/bacula/disk-changer
|
||||
rm -vf "${D}"/usr/libexec/bacula/mtx-changer
|
||||
rm -vf "${D}"/usr/libexec/bacula/dvd-handler
|
||||
fi
|
||||
|
||||
# documentation
|
||||
dodoc ChangeLog LICENSE ReleaseNotes SUPPORT technotes
|
||||
|
||||
# vim-files
|
||||
if use vim-syntax; then
|
||||
insinto /usr/share/vim/vimfiles/syntax
|
||||
doins scripts/bacula.vim
|
||||
insinto /usr/share/vim/vimfiles/ftdetect
|
||||
newins scripts/filetype.vim bacula_ft.vim
|
||||
fi
|
||||
|
||||
# setup init scripts
|
||||
myscripts="bacula-fd"
|
||||
if ! use bacula-clientonly; then
|
||||
if ! use bacula-nodir; then
|
||||
myscripts="${myscripts} bacula-dir"
|
||||
fi
|
||||
if ! use bacula-nosd; then
|
||||
myscripts="${myscripts} bacula-sd"
|
||||
fi
|
||||
fi
|
||||
for script in ${myscripts}; do
|
||||
# copy over init script and config to a temporary location
|
||||
# so we can modify them as needed
|
||||
cp "${FILESDIR}/${script}".confd "${T}/${script}".confd || die "failed to copy ${script}.confd"
|
||||
cp "${FILESDIR}/${script}".initd "${T}/${script}".initd || die "failed to copy ${script}.initd"
|
||||
# set database dependancy for the director init script
|
||||
case "${script}" in
|
||||
bacula-dir)
|
||||
case "${mydbtype}" in
|
||||
sqlite3)
|
||||
# sqlite3 databases don't have a daemon
|
||||
sed -i -e 's/need "%database%"/:/g' "${T}/${script}".initd || die
|
||||
;;
|
||||
*)
|
||||
# all other databases have daemons
|
||||
sed -i -e "s:%database%:${mydbtype}:" "${T}/${script}".initd || die
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
# install init script and config
|
||||
newinitd "${T}/${script}".initd "${script}"
|
||||
newconfd "${T}/${script}".confd "${script}"
|
||||
done
|
||||
|
||||
# make sure the working directory exists
|
||||
diropts -m0750
|
||||
keepdir /var/lib/bacula
|
||||
|
||||
# make sure bacula group can execute bacula libexec scripts
|
||||
fowners -R root:bacula /usr/libexec/bacula
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use bacula-clientonly; then
|
||||
fowners root:bacula /var/lib/bacula
|
||||
else
|
||||
fowners bacula:bacula /var/lib/bacula
|
||||
fi
|
||||
|
||||
if ! use bacula-clientonly && ! use bacula-nodir; then
|
||||
einfo
|
||||
einfo "If this is a new install, you must create the ${mydbtype} databases with:"
|
||||
einfo " /usr/libexec/bacula/create_${mydbtype}_database"
|
||||
einfo " /usr/libexec/bacula/make_${mydbtype}_tables"
|
||||
einfo " /usr/libexec/bacula/grant_${mydbtype}_privileges"
|
||||
einfo
|
||||
fi
|
||||
|
||||
einfo "Please note that 'bconsole' will always be installed. To compile 'bat'"
|
||||
einfo "you have to enable 'USE=qt4'."
|
||||
einfo
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST fsarchiver-0.6.12.tar.gz 245000 RMD160 83fa989584ab0cd58db65c29c119ab67030a266a SHA1 0ca90c4fd3b8905b8cd362cbcb2620ced2c0547a SHA256 20d94f6a4ad741b5576f9cae844ffc251613b039bc8dee99d5ea860bb719131b
|
||||
DIST fsarchiver-0.6.13.tar.gz 239885 RMD160 af053122d5850f06f1ffafdf7bff0da07db30467 SHA1 6cf668b643fae1deac4a1ff75799bd3766e25cb6 SHA256 482550d091570143551c20a032f15e80a7e6a571c32bf7d6c5b1abdd2c1db51c
|
||||
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/fsarchiver/fsarchiver-0.6.13.ebuild,v 1.1 2012/03/18 00:36:49 hwoarang Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="Flexible filesystem archiver for backup and deployment tool"
|
||||
HOMEPAGE="http://www.fsarchiver.org"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug lzma lzo static"
|
||||
|
||||
DEPEND="dev-libs/libgcrypt
|
||||
>=sys-fs/e2fsprogs-1.41.4
|
||||
lzma? ( >=app-arch/xz-utils-4.999.9_beta )
|
||||
lzo? ( >=dev-libs/lzo-2.02 )
|
||||
static? ( lzma? ( app-arch/xz-utils[static-libs] ) )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's/^\([a-z]*_CFLAGS.*\)-ggdb/\1/' src/Makefile.am || die "seding
|
||||
failed"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable lzma) \
|
||||
$(use_enable lzo) \
|
||||
$(use_enable static) \
|
||||
$(use_enable debug devel)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST luckybackup-0.4.6.tar.gz 5395019 RMD160 890ecc7f9204df2a1a075428e86d864dfd8685d9 SHA1 c323bf65bfc52dad2ea6f40da46820f4b140d7f3 SHA256 beda2b69fea7bee5c8854e92305c07e65a64c2114ece247d8f4399e7f80e6428
|
||||
DIST luckybackup-0.4.7.tar.gz 5393530 RMD160 1c102514416ae40a0d3a972951193d3516d8f5eb SHA1 7a436c29a636e359991cd131a5a966e3d4755372 SHA256 492f27f9e846d5f11d9a4466aa821803b17eb7c3047f9cf082bc66be3d093f4d
|
||||
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/luckybackup/luckybackup-0.4.7.ebuild,v 1.1 2012/03/16 13:34:46 johu Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit qt4-r2
|
||||
|
||||
DESCRIPTION="Powerful and flexible backup (and syncing) tool, using RSync and Qt4"
|
||||
HOMEPAGE="http://luckybackup.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="x11-libs/qt-core:4
|
||||
x11-libs/qt-gui:4"
|
||||
RDEPEND="${DEPEND}
|
||||
net-misc/rsync"
|
||||
|
||||
DOCSDIR="${S}/readme"
|
||||
DOCS="AUTHORS changelog README TODO TRANSLATIONS"
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e "s:/usr/share/doc/${PN}:/usr/share/doc/${PF}:g" \
|
||||
-e "s:/usr/share/doc/packages/${PN}:/usr/share/doc/${PF}:g" \
|
||||
luckybackup.pro src/global.h || die "sed failed"
|
||||
|
||||
# causes empty directory to be installed
|
||||
sed -i -e '/^INSTALLS/s/debianmenu //' luckybackup.pro \
|
||||
|| die "sed installs failed"
|
||||
|
||||
# remove text version - cannot remote HTML version
|
||||
# as it's used within the application
|
||||
rm license/gpl.txt || die "rm failed"
|
||||
}
|
@ -0,0 +1,156 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/spideroak-bin/spideroak-bin-4.3.9928.ebuild,v 1.1 2012/03/17 11:29:33 blueness Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils versionator
|
||||
|
||||
REV=$(get_version_component_range 3)
|
||||
SRC_URI_BASE="https://spideroak.com/directdownload?platform=ubuntulucid"
|
||||
|
||||
DESCRIPTION="An easy, secure and consolidated free online backup, storage, access and sharing system."
|
||||
HOMEPAGE="https://spideroak.com"
|
||||
SRC_URI="x86? ( ${SRC_URI_BASE}&arch=i386&revision=${REV} -> ${P}_x86.deb )
|
||||
amd64? ( ${SRC_URI_BASE}&arch=x86_64&revision=${REV} -> ${P}_amd64.deb )"
|
||||
RESTRICT="mirror strip"
|
||||
|
||||
LICENSE="spideroak"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="dbus headless system-libs"
|
||||
|
||||
SSL_SLOT="0.9.8"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="
|
||||
dbus? ( sys-apps/dbus )
|
||||
!headless? (
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype:2
|
||||
dev-libs/glib:2
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXt
|
||||
)
|
||||
system-libs? (
|
||||
dev-libs/openssl:$SSL_SLOT
|
||||
net-misc/curl
|
||||
>=sys-devel/gcc-4
|
||||
dev-libs/glib:2
|
||||
dev-libs/libpcre
|
||||
media-libs/libpng:1.2
|
||||
x11-libs/qt-core
|
||||
x11-libs/qt-gui
|
||||
dev-db/sqlite:3
|
||||
net-libs/libssh2
|
||||
sys-libs/zlib
|
||||
dev-lang/python:2.7
|
||||
dev-python/pycurl
|
||||
)
|
||||
"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
QA_PREBUILT="*"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
unpack ./data.tar.gz
|
||||
rm -f control.tar.gz data.tar.gz debian-binary
|
||||
rm -f usr/share/doc/spideroak/copyright
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/opt-path.patch
|
||||
use headless && epatch "${FILESDIR}"/headless.patch
|
||||
|
||||
# Remove bundled libraries/plugins/python interpreter. Please keep this
|
||||
# mapping in sync with the RDEPEND system-libs? ( atoms ) above, and the
|
||||
# list of deleted files below
|
||||
#
|
||||
# libcrypto.so.0.$SSL_SLOT => dev-libs/openssl:$SSL_SLOT
|
||||
# libssl.so.$SSL_SLOT => dev-libs/openssl:$SSL_SLOT
|
||||
# libcurl.so* => net-misc/curl
|
||||
# libexpat.so* => dev-libs/expat
|
||||
# libgcc_s.so => >=sys-devel/gcc-4
|
||||
# libstdc++.so* => >=sys-devel/gcc-4
|
||||
# libpcre.so* => dev-libs/libpcre
|
||||
# libpng12* => media-libs/libpng:1.2
|
||||
# libQt*.so* => x11-libs/qt-core x11-libs/qt-gui
|
||||
# libsqlite3.so* => dev-db/sqlite:3
|
||||
# libssh2.so* => net-libs/libssh2
|
||||
# libz.so* => sys-libs/zlib
|
||||
#
|
||||
# pycurl.so => dev-python/pycurl
|
||||
#
|
||||
# usr/lib/SpiderOak/py pyexpat.so => dev-lang/python:2.7
|
||||
#
|
||||
if use system-libs; then
|
||||
for lib in \
|
||||
libcrypto.so.$SSL_SLOT \
|
||||
libssl.so.$SSL_SLOT \
|
||||
libcurl.so* \
|
||||
libexpat.so* \
|
||||
libgcc_s.so* \
|
||||
libpcre.so* \
|
||||
libpng12* \
|
||||
libQt*.so* \
|
||||
libsqlite3.so* \
|
||||
libssh2.so* \
|
||||
libstdc++.so* \
|
||||
libz.so* \
|
||||
pycurl.so \
|
||||
pyexpat.so
|
||||
do
|
||||
rm usr/lib/SpiderOak/$lib || die "rm $lib failed"
|
||||
done
|
||||
|
||||
# Remove bundled python interpreter => dev-lang/python:2.7
|
||||
rm usr/lib/SpiderOak/py || die "rm py failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
#install the executable script
|
||||
exeinto /usr/bin
|
||||
doexe usr/bin/SpiderOak
|
||||
|
||||
#install the prebundled libraries
|
||||
dodir /opt
|
||||
cp -pPR usr/lib/SpiderOak "${ED}"/opt/
|
||||
|
||||
#install the config files
|
||||
rm -rf etc/apt
|
||||
use dbus || rm -rf etc/dbus-1
|
||||
insinto /
|
||||
doins -r etc
|
||||
|
||||
#install the changelog
|
||||
insinto /usr/share/doc/${P}
|
||||
doins usr/share/doc/spideroak/changelog.gz
|
||||
|
||||
if ! use headless ; then
|
||||
domenu usr/share/applications/spideroak.desktop
|
||||
doicon usr/share/pixmaps/spideroak.png
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use headless; then
|
||||
einfo "For instructions on running SpiderOak without a GUI, please read the FAQ:"
|
||||
einfo " https://spideroak.com/faq/questions/62/how_do_i_install_spideroak_on_a_headless_linux_server/"
|
||||
einfo " https://spideroak.com/faq/questions/67/how_can_i_use_spideroak_from_the_commandline/"
|
||||
fi
|
||||
if use system-libs; then
|
||||
einfo "You have chosen to use your system libraries rather than the precompiled libraries that"
|
||||
einfo "SpiderOak bundles with their software. While upstream discourages this (see bug #398313),"
|
||||
einfo "there are advantages to using the system libraries, like reducing the size of the package"
|
||||
einfo "on your hard drive. For more reasons why bundled librars are not a good idea, see"
|
||||
einfo " https://fedoraproject.org/wiki/Packaging:No_Bundled_Libraries"
|
||||
fi
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST gummi-0.5.8-2.tar.gz 394256 RMD160 b4ad4daeda6caf5f9600072606305da7ec0c4e2d SHA1 43d5793cb99be7c734f2da9d76989f5a805b6b34 SHA256 df3d2abf64be6c0b2b6debf1fea57ffddd2faa57022bcb557211d717ae681080
|
||||
DIST gummi-0.6.0.tar.gz 495854 RMD160 fda103df3b69044a964a1e9dcb8561fa02d88df3 SHA1 6e6e3e790715efda49859e5a75a8c54f773c5c76 SHA256 7a8b54394fe5f56e9e142672889363ba2e0f6b9f28de3dfcbe53930f83a19485
|
||||
DIST gummi-0.6.1.tar.gz 499416 RMD160 c839517a14b405d61e647db4e968071305fa2348 SHA1 9e03f704fa44e39b0cbd14afd1b73d79375cd3a4 SHA256 d682f880a6566983d949632e3176da7df9e67e2079723511b3065551f1525547
|
||||
DIST gummi-0.6.2.tar.gz 500433 RMD160 b9ae15dff22eafe3080587251830bfa33f654995 SHA1 6f549c72c37a646d94c021563c2cc56d344a6ec0 SHA256 1d886e6036a9a480662f9cf3ae8afa4d1129929c16cb78081755ad1d10be8277
|
||||
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/gummi/gummi-0.6.2.ebuild,v 1.1 2012/03/18 10:06:58 hwoarang Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit base eutils
|
||||
|
||||
DESCRIPTION="Simple LaTeX editor for GTK+"
|
||||
HOMEPAGE="http://gummi.midnightcoding.org"
|
||||
SRC_URI="http://dev.midnightcoding.org/attachments/download/258/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
LANGS="ar ca cs da de el es fr it nl pl pt pt_BR ro ru sv zh_TW"
|
||||
|
||||
for X in ${LANGS} ; do
|
||||
IUSE="${IUSE} linguas_${X}"
|
||||
done
|
||||
|
||||
RDEPEND="app-text/gtkspell:2
|
||||
>=dev-libs/glib-2.28.6
|
||||
dev-texlive/texlive-latex
|
||||
dev-texlive/texlive-latexextra
|
||||
>=x11-libs/gtk+-2.24:2
|
||||
x11-libs/gtksourceview:2.0"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/poppler[cairo]
|
||||
x11-libs/gtksourceview:2.0
|
||||
x11-libs/pango"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog README )
|
||||
|
||||
src_prepare() {
|
||||
strip-linguas ${LANGS}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Gummi >=0.4.8 supports spell-checking through gtkspell. Support for"
|
||||
elog "additional languages can be added by installing myspell-** packages"
|
||||
elog "for your language of choice."
|
||||
}
|
@ -1,5 +1,3 @@
|
||||
DIST QXmlEdit-0.4.9-sources.tgz 1177149 RMD160 2bf0ec2c87c1a7c3bfd2fcc6a7a52ed0e24dc0d4 SHA1 668e099a1f23ef21b2114eaa1da6810668e2bf58 SHA256 3a25d7b4e62d7f41787d41ed7c448fdc4689fff0aac1b90488d3dd7a3d97e7d2
|
||||
DIST qxmledit-0.6.1-src.tgz 8783111 RMD160 50a5ad34777f17271a2ea3825530ade7b6595158 SHA1 f9d3b39181205a73cf166b2e027b959874aad57b SHA256 8d51d45bc165d0491aad18dfa049eb0183ce27eb78636f220c0a78b77868aedc
|
||||
DIST qxmledit-0.7.0-src.tgz 8986963 RMD160 0aa40d5e141679124b574209c4a014d37b766b7d SHA1 df40993d68a6aa29b282d2ba39f7978ca4443023 SHA256 d06ea67a154df0e964aa82fca14127e60d1db4b4759891eb0443c2887aaf8b33
|
||||
DIST qxmledit-0.7.2-src.tgz 8987006 RMD160 03517caf51cd5cdd142993339c7ad9e5f151e1b7 SHA1 875e8efbb9ad3284d5d96600f7280eb14b32287d SHA256 72beac6994fd1fedb57148c05853cdaef8dde9f51a9706de900b00d7ac079b38
|
||||
DIST qxmledit-0.8.0-src.tgz 9781643 RMD160 5a5a1ed2195fcc1804859383c245a3d53fe6df3f SHA1 5b8c7b0d300bcb6c90743059c107b39d011e311a SHA256 a445eb056a7a2e6763fcb8e8df669ca57f893383cb9e77adbc90fb76938e5b88
|
||||
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/qxmledit/qxmledit-0.6.1.ebuild,v 1.3 2012/02/14 17:14:28 tove Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit qt4-r2
|
||||
|
||||
MY_P="qxmledit-${PV}-src"
|
||||
|
||||
DESCRIPTION="Qt4 XML Editor"
|
||||
HOMEPAGE="http://code.google.com/p/qxmledit/"
|
||||
SRC_URI="http://${PN}.googlecode.com/files/${MY_P}.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="x11-libs/qt-gui:4"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${P}/src/"
|
||||
|
||||
DOCS="AUTHORS NEWS README TODO"
|
||||
DOCSDIR="${WORKDIR}/${P}/"
|
||||
|
||||
src_prepare(){
|
||||
# fix installation path
|
||||
sed -i "/^INST_DIR/ s/\/opt\/${PN}/\/usr\/bin/" QXmlEdit.pro || \
|
||||
die "failed to fix installation path"
|
||||
# fix translations
|
||||
sed -i "/^INST_DATA_DIR/ s/\/opt/\/usr\/share/" QXmlEdit.pro || \
|
||||
die "failed to fix translations"
|
||||
qt4-r2_src_prepare
|
||||
}
|
||||
|
||||
src_install(){
|
||||
qt4-r2_src_install
|
||||
newicon "${S}"/images/icon.png ${PN}.png
|
||||
make_desktop_entry QXmlEdit QXmlEdit ${PN} "Qt;Utility;TextEditor"
|
||||
}
|
@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/qxmledit/qxmledit-0.8.0.ebuild,v 1.1 2012/03/12 21:06:35 hwoarang Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit multilib qt4-r2
|
||||
|
||||
MY_P="qxmledit-${PV}-src"
|
||||
|
||||
DESCRIPTION="Qt4 XML Editor"
|
||||
HOMEPAGE="http://code.google.com/p/qxmledit/"
|
||||
SRC_URI="http://${PN}.googlecode.com/files/${MY_P}.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="x11-libs/qt-core:4
|
||||
x11-libs/qt-gui:4
|
||||
x11-libs/qt-svg:4
|
||||
x11-libs/qt-xmlpatterns:4"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS="AUTHORS NEWS README TODO"
|
||||
DOCSDIR="${WORKDIR}/${P}/"
|
||||
|
||||
src_prepare() {
|
||||
# fix doc dir
|
||||
sed -i "/^INST_DOC_DIR/ s|/opt/${PN}|/usr/share/doc/${PF}|" src/QXmlEdit.pro || \
|
||||
die "failed to fix installation path"
|
||||
# fix installation path
|
||||
sed -i "/^INST_DIR/ s|/opt/${PN}|/usr/bin|" src/QXmlEdit.pro || \
|
||||
die "failed to fix installation path"
|
||||
# fix widget library
|
||||
sed -i "/^INST_DIR/ s|/opt/${PN}|/usr/$(get_libdir)|" \
|
||||
src/QXmlEditWidget.pro || die "failed to fix library installation path"
|
||||
# fix translations
|
||||
sed -i "/^INST_DATA_DIR/ s|/opt|/usr/share|" src/QXmlEdit{,Widget}.pro || \
|
||||
die "failed to fix translations"
|
||||
qt4-r2_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
qt4-r2_src_install
|
||||
newicon src/images/icon.png ${PN}.png
|
||||
make_desktop_entry QXmlEdit QXmlEdit ${PN} "Qt;Utility;TextEditor"
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST tea-31.2.0.tar.bz2 262806 RMD160 11514eebed9d789ca56d8289e32e2639821cbee0 SHA1 78986b8447eab21be136dc18a2e1afca39a442bb SHA256 81bb3d02a776a4a02fdb94751562194a32e6f8794ccf981d11db422cc44f836b
|
||||
DIST tea-32.0.0.tar.bz2 308209 RMD160 1a78b08366fe66eee7952984b79be319b9bda820 SHA1 3bcc62337512cce9886cb696cbe49e447ece8af4 SHA256 e72475f830a7df76b629fe57855fd4febf8b13bf25546cabc104f4eaec7d7545
|
||||
DIST teagtk-17.6.6.tar.bz2 479197 RMD160 e8b6aabd7dfb86c43db88bceb7ebaec5f9738594 SHA1 17c3019c9dc6b53d87a9a3bc1cc02784d256f234 SHA256 e2583776fb38331f1e7989f7f8ea23bbae593af26f4c3cdeeae61a793b6bd752
|
||||
DIST tea-32.0.1.tar.bz2 308616 RMD160 fe29f3bf97fdeccab2ddba873837ba285f636a18 SHA1 6152788dfa9f5a772bca484fe3946fafa870fcb4 SHA256 930cc05893b059170adc0b5bcc48d0f80bcb47b43789ba600ec086c853c93027
|
||||
|
@ -1,39 +0,0 @@
|
||||
diff -ur tea-17.5.4.orig/configure.in tea-17.5.4/configure.in
|
||||
--- tea-17.5.4.orig/configure.in 2008-01-12 15:20:33.000000000 +0200
|
||||
+++ tea-17.5.4/configure.in 2008-01-25 12:00:38.000000000 +0200
|
||||
@@ -55,9 +55,9 @@
|
||||
CFLAGS="$CFLAGS -DDARWIN -pipe"
|
||||
else
|
||||
if test -n "$enable_debug"; then
|
||||
- CFLAGS="$CFLAGS -w -pipe"
|
||||
+ CFLAGS="$CFLAGS -g"
|
||||
else
|
||||
- CFLAGS="$CFLAGS -w -s -pipe"
|
||||
+ CFLAGS="$CFLAGS"
|
||||
fi
|
||||
fi
|
||||
|
||||
diff -ur tea-17.5.4.orig/src/tea_options.c tea-17.5.4/src/tea_options.c
|
||||
--- tea-17.5.4.orig/src/tea_options.c 2008-01-11 16:05:42.000000000 +0200
|
||||
+++ tea-17.5.4/src/tea_options.c 2008-01-25 11:32:36.000000000 +0200
|
||||
@@ -16,6 +16,8 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
+#include <string.h>
|
||||
+
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
diff -ur tea-17.5.4.orig/src/tea_spell.c tea-17.5.4/src/tea_spell.c
|
||||
--- tea-17.5.4.orig/src/tea_spell.c 2007-10-12 13:42:57.000000000 +0300
|
||||
+++ tea-17.5.4/src/tea_spell.c 2008-01-25 11:32:17.000000000 +0200
|
||||
@@ -15,6 +15,8 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
+#include <string.h>
|
||||
+
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
@ -1,75 +0,0 @@
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/tea/tea-17.6.6.ebuild,v 1.2 2008/11/14 12:26:43 armin76 Exp $
|
||||
|
||||
EAPI="1"
|
||||
inherit autotools eutils
|
||||
|
||||
MY_P=${P/tea/teagtk}
|
||||
|
||||
DESCRIPTION="Small, lightweight GTK+ text editor"
|
||||
HOMEPAGE="http://tea-editor.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/tea-editor/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ia64 x86 ~x86-fbsd"
|
||||
IUSE="enchant gnome hacking ipv6 spell"
|
||||
|
||||
RDEPEND="x11-libs/gtk+:2
|
||||
x11-libs/libX11
|
||||
gnome? ( x11-libs/gtksourceview:2.0
|
||||
gnome-base/gnome-vfs )"
|
||||
DEPEND="${RDEPEND}
|
||||
net-misc/curl
|
||||
spell? ( app-text/aspell )
|
||||
enchant? ( app-text/enchant )
|
||||
dev-util/pkgconfig"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}"/${PN}-17.5.4-forced-cflags-and-compiler-warnings.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf
|
||||
|
||||
if use hacking; then
|
||||
myconf="${myconf} --enable-hacking"
|
||||
fi
|
||||
if ! use gnome; then
|
||||
myconf="${myconf} --enable-legacy"
|
||||
fi
|
||||
if use enchant; then
|
||||
myconf="${myconf} --enable-enchant"
|
||||
fi
|
||||
|
||||
econf \
|
||||
$(use_enable ipv6) \
|
||||
${myconf} || die "econf failed!"
|
||||
|
||||
emake || die "emake failed!"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed!"
|
||||
|
||||
make_desktop_entry teagtk Tea /usr/share/tea/pixmaps/tea_icon_v2.png Development
|
||||
|
||||
# insinto /usr/share/doc/tea/
|
||||
# doins AUTHORS COPYING NEWS README TODO ChangeLog doc/*
|
||||
|
||||
# insinto /usr/share/pixmaps/
|
||||
# doins pixmaps/*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use spell ; then
|
||||
elog "To get full spellchecking functuality, ensure that you install"
|
||||
elog "the relevant language pack(s)"
|
||||
fi
|
||||
}
|
@ -0,0 +1,68 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/tea/tea-32.0.1.ebuild,v 1.1 2012/03/16 15:17:52 pesa Exp $
|
||||
|
||||
EAPI=4
|
||||
LANGS="de fr ru"
|
||||
|
||||
inherit eutils qt4-r2
|
||||
|
||||
DESCRIPTION="Small, lightweight Qt text editor"
|
||||
HOMEPAGE="http://tea-editor.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/tea-editor/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ia64 ~x86 ~x86-fbsd"
|
||||
IUSE="aspell hunspell"
|
||||
|
||||
RDEPEND="sys-libs/zlib
|
||||
x11-libs/qt-core:4
|
||||
x11-libs/qt-gui:4
|
||||
aspell? ( app-text/aspell )
|
||||
hunspell? ( app-text/hunspell )"
|
||||
DEPEND="${RDEPEND}
|
||||
hunspell? ( dev-util/pkgconfig )"
|
||||
|
||||
DOCS="AUTHORS ChangeLog NEWS TODO"
|
||||
|
||||
src_configure() {
|
||||
local myopts
|
||||
|
||||
if use aspell; then
|
||||
myopts="USE_ASPELL=true"
|
||||
else
|
||||
myopts="USE_ASPELL=false"
|
||||
fi
|
||||
|
||||
if use hunspell; then
|
||||
myopts="${myopts} USE_HUNSPELL=true"
|
||||
else
|
||||
myopts="${myopts} USE_HUNSPELL=false"
|
||||
fi
|
||||
|
||||
eqmake4 src.pro PREFIX="/usr/bin" ${myopts}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
qt4-r2_src_install
|
||||
|
||||
newicon icons/tea_icon_v2.png ${PN}.png
|
||||
make_desktop_entry ${PN} Tea ${PN}
|
||||
|
||||
# translations
|
||||
insinto /usr/share/qt4/translations
|
||||
local lang
|
||||
for lang in ${LANGS}; do
|
||||
if use linguas_${lang}; then
|
||||
doins translations/${PN}_${lang}.qm
|
||||
fi
|
||||
done
|
||||
|
||||
# docs
|
||||
dohtml manuals/en.html
|
||||
if use linguas_ru; then
|
||||
dodoc NEWS-RU
|
||||
dohtml manuals/ru.html
|
||||
fi
|
||||
}
|
@ -1,2 +0,0 @@
|
||||
DIST lib765-0.3.1.1.tar.gz 138249 RMD160 b12a596939eabb8a44f5a8d723069a34db518dd4 SHA1 8f19d1c52d88dcad4559df49fbfdec58cb0ca39a SHA256 ad9ef1fe911da03b8f555f73b2b061937d987cf5ea9d2e511fd5fc45a016bfce
|
||||
DIST lib765-0.4.2.tar.gz 189071 RMD160 f418474059f22c7b649f93fdfa9e9429fb693dc2 SHA1 794ead8a831a5a558298f44ee7ced9a66bb32ec2 SHA256 285a5ff49c093df0d2db4471cc099db9fc0edc1981175c240d30e02dd40a99f0
|
@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2006 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/lib765/lib765-0.3.1.1.ebuild,v 1.9 2006/09/02 16:10:11 blubb Exp $
|
||||
|
||||
DESCRIPTION="Floppy controller emulator"
|
||||
HOMEPAGE="http://www.seasip.demon.co.uk/Unix/LibDsk/"
|
||||
SRC_URI="http://www.seasip.demon.co.uk/Unix/LibDsk/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
|
||||
DEPEND="app-emulation/libdsk"
|
||||
|
||||
src_compile() {
|
||||
econf --with-libdsk || die
|
||||
emake || die "lib765 make failed!"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make install DESTDIR=${D} || die
|
||||
dodoc ChangeLog doc/765.txt
|
||||
}
|
@ -1,32 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/lib765/lib765-0.4.2.ebuild,v 1.4 2011/12/19 16:57:41 ago Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="Floppy controller emulator"
|
||||
HOMEPAGE="http://www.seasip.demon.co.uk/Unix/LibDsk/"
|
||||
SRC_URI="http://www.seasip.demon.co.uk/Unix/LibDsk/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="libdsk static-libs"
|
||||
KEYWORDS="amd64 ~ppc x86"
|
||||
|
||||
DEPEND="libdsk? ( app-emulation/libdsk )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_with libdsk) $(use_enable static-libs static) || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" || die
|
||||
dodoc ChangeLog doc/765.txt
|
||||
}
|
@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>maintainer-needed@gentoo.org</email>
|
||||
<description>This package lacks a primary herd or maintainer.</description>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name='libdsk'>Enable support for the floppy disk emulation library
|
||||
<pkg>app-emulation/libdsk</pkg></flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
@ -1,2 +0,0 @@
|
||||
DIST libdsk-1.1.5.tar.gz 773995 RMD160 09ff2f58b6e982238eeb5449b10ffa6c22ece327 SHA1 2870a600fbc453230671756de036cdae06eff194 SHA256 b08c5a0b2f1f00a9a4eca0ba6c0169d813782b9e140df363333b24290ec74281
|
||||
DIST libdsk-1.2.1.tar.gz 815146 RMD160 8557b31f81515d9e85ac6fb3c277b9e4b330f3d9 SHA1 8d02a8ed0021a34a13c061858ca026c385c11c5b SHA256 73dccf8d2d8a291ca9ea74414bee71e848e7bbf816fe82bfc599d4f54936f832
|
@ -1,50 +0,0 @@
|
||||
diff -Naur libdsk-1.1.10.orig/lib/Makefile.am libdsk-1.1.10/lib/Makefile.am
|
||||
--- libdsk-1.1.10.orig/lib/Makefile.am 2006-04-16 00:48:10.000000000 +1200
|
||||
+++ libdsk-1.1.10/lib/Makefile.am 2007-04-29 12:45:10.000000000 +1200
|
||||
@@ -5,6 +5,7 @@
|
||||
JAVAH=@JAVAH@
|
||||
JAVA=@JAVA@
|
||||
JAVADOC=@JAVADOC@
|
||||
+JAVACFLAGS=@JAVACFLAGS@
|
||||
JAR=@JAR@
|
||||
CLASSCPRE=uk.co.demon.seasip.libdsk
|
||||
CLASSDPRE=uk/co/demon/seasip/libdsk
|
||||
@@ -83,10 +84,10 @@
|
||||
$(JAVADOC) -d $(top_srcdir)/doc/jni $(CLASSCPRE)
|
||||
|
||||
$(CLASSDPRE)/%.class: $(srcdir)/$(CLASSDPRE)/%.java
|
||||
- here=`pwd` && cd $(srcdir) && $(JAVAC) -d $$here $<
|
||||
+ here=`pwd` && cd $(srcdir) && $(JAVAC) $(JAVACFLAGS) -d $$here $<
|
||||
|
||||
%.class: $(srcdir)/%.java
|
||||
- here=`pwd` && cd $(srcdir) && $(JAVAC) -d $$here $<
|
||||
+ here=`pwd` && cd $(srcdir) && $(JAVAC) $(JAVACFLAGS) -d $$here $<
|
||||
|
||||
|
||||
$(HEADERPRE)_%.h: $(CLASSDPRE)/%.class
|
||||
diff -Naur libdsk-1.1.10.orig/lib/Makefile.in libdsk-1.1.10/lib/Makefile.in
|
||||
--- libdsk-1.1.10.orig/lib/Makefile.in 2006-04-20 09:12:10.000000000 +1200
|
||||
+++ libdsk-1.1.10/lib/Makefile.in 2007-04-29 12:50:50.000000000 +1200
|
||||
@@ -488,10 +488,10 @@
|
||||
$(JAVADOC) -d $(top_srcdir)/doc/jni $(CLASSCPRE)
|
||||
|
||||
$(CLASSDPRE)/%.class: $(srcdir)/$(CLASSDPRE)/%.java
|
||||
- here=`pwd` && cd $(srcdir) && $(JAVAC) -d $$here $<
|
||||
+ here=`pwd` && cd $(srcdir) && $(JAVAC) $(JAVACFLAGS) -d $$here $<
|
||||
|
||||
%.class: $(srcdir)/%.java
|
||||
- here=`pwd` && cd $(srcdir) && $(JAVAC) -d $$here $<
|
||||
+ here=`pwd` && cd $(srcdir) && $(JAVAC) $(JAVACFLAGS) -d $$here $<
|
||||
|
||||
$(HEADERPRE)_%.h: $(CLASSDPRE)/%.class
|
||||
$(JAVAH) -jni $(CLASSCPRE).`basename $< .class`
|
||||
diff -Naur libdsk-1.1.10.orig/tools/Makefile.am libdsk-1.1.10/tools/Makefile.am
|
||||
--- libdsk-1.1.10.orig/tools/Makefile.am 2006-04-12 10:05:09.000000000 +1200
|
||||
+++ libdsk-1.1.10/tools/Makefile.am 2007-04-29 12:23:32.000000000 +1200
|
||||
@@ -32,5 +32,5 @@
|
||||
CLEANFILES=*.class
|
||||
|
||||
%.class: $(srcdir)/%.java
|
||||
- here=`pwd` && cd $(srcdir) && $(JAVAC) -classpath $(CLASSPATH):$$here/../lib/libdsk.jar -d $$here $<
|
||||
+ here=`pwd` && cd $(srcdir) && $(JAVAC) $(JAVACFLAGS) -classpath $(CLASSPATH):$$here/../lib/libdsk.jar -d $$here $<
|
||||
|
@ -1,32 +0,0 @@
|
||||
--- libdsk-1.2.1/lib/Makefile.am.orig 2008-04-02 13:27:24.000000000 +1100
|
||||
+++ libdsk-1.2.1/lib/Makefile.am 2008-04-02 13:28:55.000000000 +1100
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
INCLUDES=-I$(top_srcdir)/include
|
||||
JAVAC=@JAVAC@
|
||||
+JAVACFLAGS=@JAVACFLAGS@
|
||||
JAVAH=@JAVAH@
|
||||
JAVA=@JAVA@
|
||||
JAVADOC=@JAVADOC@
|
||||
@@ -85,10 +86,10 @@
|
||||
$(JAVADOC) -d $(top_srcdir)/doc/jni $(CLASSCPRE)
|
||||
|
||||
$(CLASSDPRE)/%.class: $(srcdir)/$(CLASSDPRE)/%.java
|
||||
- here=`pwd` && cd $(srcdir) && $(JAVAC) -d $$here $<
|
||||
+ here=`pwd` && cd $(srcdir) && $(JAVAC) $(JAVACFLAGS) -d $$here $<
|
||||
|
||||
%.class: $(srcdir)/%.java
|
||||
- here=`pwd` && cd $(srcdir) && $(JAVAC) -d $$here $<
|
||||
+ here=`pwd` && cd $(srcdir) && $(JAVAC) $(JAVACFLAGS) -d $$here $<
|
||||
|
||||
|
||||
$(HEADERPRE)_%.h: $(CLASSDPRE)/%.class
|
||||
--- libdsk-1.2.1.orig/tools/Makefile.am 2006-04-12 08:05:09.000000000 +1000
|
||||
+++ libdsk-1.2.1/tools/Makefile.am 2008-04-02 14:06:06.000000000 +1100
|
||||
@@ -32,5 +32,5 @@
|
||||
CLEANFILES=*.class
|
||||
|
||||
%.class: $(srcdir)/%.java
|
||||
- here=`pwd` && cd $(srcdir) && $(JAVAC) -classpath $(CLASSPATH):$$here/../lib/libdsk.jar -d $$here $<
|
||||
+ here=`pwd` && cd $(srcdir) && $(JAVAC) $(JAVACFLAGS) -classpath $(CLASSPATH):$$here/../lib/libdsk.jar -d $$here $<
|
||||
|
@ -1,32 +0,0 @@
|
||||
# Copyright 1999-2006 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libdsk/libdsk-1.1.5.ebuild,v 1.4 2006/09/02 16:10:24 blubb Exp $
|
||||
|
||||
DESCRIPTION="Disk emulation library"
|
||||
HOMEPAGE="http://www.seasip.demon.co.uk/Unix/LibDsk/"
|
||||
SRC_URI="http://www.seasip.demon.co.uk/Unix/LibDsk/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="java"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
|
||||
DEPEND="sys-libs/zlib
|
||||
app-arch/bzip2
|
||||
java? ( >=virtual/jdk-1.4 )"
|
||||
|
||||
src_compile() {
|
||||
econf \
|
||||
--with-zlib \
|
||||
--with-bzlib \
|
||||
--enable-floppy \
|
||||
$(use_with java jni) \
|
||||
--with-java-prefix=${JAVA_HOME} \
|
||||
|| die
|
||||
emake || die "libdsk make failed!"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make install DESTDIR="${D}" || die
|
||||
dodoc ChangeLog README TODO doc/libdsk.*
|
||||
}
|
@ -1,56 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libdsk/libdsk-1.2.1.ebuild,v 1.6 2012/02/09 12:32:40 ago Exp $
|
||||
|
||||
inherit java-pkg-opt-2 flag-o-matic autotools
|
||||
|
||||
DESCRIPTION="Disk emulation library"
|
||||
HOMEPAGE="http://www.seasip.demon.co.uk/Unix/LibDsk/"
|
||||
SRC_URI="http://www.seasip.demon.co.uk/Unix/LibDsk/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="java"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
|
||||
CDEPEND="sys-libs/zlib
|
||||
app-arch/bzip2"
|
||||
DEPEND="${CDEPEND}
|
||||
java? ( >=virtual/jdk-1.5 )"
|
||||
RDEPEND="${CDEPEND}
|
||||
java? ( >=virtual/jdk-1.4 )"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}"/${P}-java-make-fix.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
use java && sed -i -e "s!_JINC=\"\$_JTOPDIR/i!_JINC=\"${JAVA_HOME}/i!" configure
|
||||
|
||||
local java_options=""
|
||||
if use java; then
|
||||
java_options="--with-javac-flags=$(java-pkg_javac-args)"
|
||||
fi
|
||||
|
||||
econf \
|
||||
--with-zlib \
|
||||
--with-bzlib \
|
||||
--enable-floppy \
|
||||
$(use_with java jni) \
|
||||
--with-java-prefix=${JAVA_HOME} \
|
||||
"${java_options}" \
|
||||
|| die
|
||||
emake || die "libdsk make failed!"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install transform="s,^,," DESTDIR="${D}" || die
|
||||
if use java; then
|
||||
java-pkg_dojar "lib/${PN}.jar"
|
||||
fi
|
||||
|
||||
dodoc ChangeLog README TODO doc/libdsk.*
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>maintainer-needed@gentoo.org</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,4 +1,5 @@
|
||||
DIST appliance-1.17.14.tar.xz 46644196 RMD160 3d8ad13c5c4daf202cc563145c480b7a953408e1 SHA1 1d9ee21217f7e1a9f2342fff569c19dd331d6f04 SHA256 7cf81ef8a31d5d9ce6c8b1b601a8bf83cbd5521a397879fb7d1c55814b8b9be3
|
||||
DIST libguestfs-1.17.14.tar.gz 6791404 RMD160 d71af0a6d023af26ae04811c0924a659b990ef46 SHA1 1af36e30d27835d47de18afcb3aef6af3fe76425 SHA256 cd007e9174428ba2fce275ef53230c1ee8264d920610b70ffd55d45bd29be7c1
|
||||
DIST libguestfs-1.17.18.tar.gz 6819091 RMD160 4a62a57224cb4a6a80462812c5e03dd440e8bfce SHA1 df9f20d7242c6cc5cae4edd85e26b2ba1ddfb683 SHA256 005aad7230160c2d349f893b161ebd503a221388ccf354f4503ffd83605cb126
|
||||
DIST libguestfs-1.7.18-x86_64.tar.gz 62332840 RMD160 202ac5883d1453d6225b76029290ccebd44c7e84 SHA1 661786c088fad8d2354e8121a2fafb1d598587fc SHA256 07c4f0b4b50df7407327333d9e9b09c310265d056868531c69659659a9f5218d
|
||||
DIST libguestfs-1.8.16.tar.gz 5164608 RMD160 eec0d8875f02e007f5dcbce629ddf00c0ee609af SHA1 24a9aa8c2a8226438a6613a9a12a4d467404d1e6 SHA256 7d8fb8529f201d81761bd383ea567d752f54471a1b5b5903fe553440cbe7755f
|
||||
|
@ -0,0 +1,152 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libguestfs/libguestfs-1.17.18.ebuild,v 1.1 2012/03/16 19:32:24 maksbotan Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
APLANCE_PV="1.17.14"
|
||||
APPL_P="appliance-${APLANCE_PV}"
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
AUTOTOOLS_IN_SOURCE_BUILD=1
|
||||
|
||||
inherit check-reqs bash-completion-r1 autotools-utils versionator eutils \
|
||||
multilib linux-info perl-module
|
||||
|
||||
MY_PV_1="$(get_version_component_range 1-2)"
|
||||
MY_PV_2="$(get_version_component_range 2)"
|
||||
|
||||
[[ $(( $(get_version_component_range 2) % 2 )) -eq 0 ]] && SD="stable" || SD="development"
|
||||
|
||||
DESCRIPTION="Tools for accessing, inspect and modifying virtual machine (VM) disk images"
|
||||
HOMEPAGE="http://libguestfs.org/"
|
||||
SRC_URI="http://libguestfs.org/download/${MY_PV_1}-${SD}/${P}.tar.gz
|
||||
http://rion-overlay.googlecode.com/files/${APPL_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2"
|
||||
SLOT="0"
|
||||
# Upstream NOT supported 32-bit version, keyword in own risk
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="bash-completion erlang +fuse debug ocaml doc +perl nls ruby static-libs selinux systemtap introspection"
|
||||
|
||||
# Failires - doc
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=app-misc/hivex-1.3.1
|
||||
dev-libs/libpcre
|
||||
app-arch/cpio
|
||||
dev-lang/perl
|
||||
app-cdr/cdrkit
|
||||
>=app-emulation/qemu-kvm-1.0[qemu_user_targets_x86_64,qemu_softmmu_targets_x86_64]
|
||||
sys-apps/fakeroot
|
||||
sys-apps/file
|
||||
app-emulation/libvirt
|
||||
dev-libs/libxml2:2
|
||||
>=sys-apps/fakechroot-2.8
|
||||
>=app-admin/augeas-0.7.1
|
||||
sys-fs/squashfs-tools
|
||||
dev-libs/libconfig
|
||||
dev-libs/libpcre
|
||||
sys-libs/readline
|
||||
>=sys-libs/db-4.6
|
||||
perl? ( virtual/perl-ExtUtils-MakeMaker
|
||||
>=dev-perl/Sys-Virt-0.2.4
|
||||
virtual/perl-Getopt-Long
|
||||
virtual/perl-Data-Dumper
|
||||
dev-perl/libintl-perl
|
||||
>=app-misc/hivex-1.3.1[perl?]
|
||||
dev-perl/String-ShellQuote
|
||||
)
|
||||
fuse? ( sys-fs/fuse )
|
||||
introspection? (
|
||||
>=dev-libs/gobject-introspection-1.30.0
|
||||
dev-libs/gjs
|
||||
)
|
||||
selinux? ( sys-libs/libselinux sys-libs/libsemanage )
|
||||
systemtap? ( dev-util/systemtap )
|
||||
ocaml? ( dev-lang/ocaml[ocamlopt] dev-ml/findlib[ocamlopt] )
|
||||
erlang? ( dev-lang/erlang )
|
||||
"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-util/gperf
|
||||
doc? ( app-text/po4a )
|
||||
ruby? ( dev-lang/ruby virtual/rubygems dev-ruby/rake )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}"
|
||||
|
||||
PATCHES=(${FILESDIR}/1.17/*.patch)
|
||||
|
||||
DOCS=(AUTHORS BUGS HACKING README RELEASE-NOTES ROADMAP TODO)
|
||||
|
||||
pkg_pretend() {
|
||||
CHECKREQS_DISK_BUILD="5G"
|
||||
CHECKREQS_DISK_USR="5G"
|
||||
check-reqs_pkg_pretend
|
||||
}
|
||||
|
||||
pkg_setup () {
|
||||
CONFIG_CHECK="~KVM ~VIRTIO"
|
||||
[ -n "${CONFIG_CHECK}" ] && check_extra_config;
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
autotools-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
|
||||
# Disable feature test for kvm for more reason
|
||||
# i.e: not loaded module in __build__ time,
|
||||
# build server not supported kvm, etc. ...
|
||||
#
|
||||
# In fact, this feature is virtio support and requires
|
||||
# configured kernel.
|
||||
export vmchannel_test=no
|
||||
|
||||
local myeconfargs=(
|
||||
--disable-appliance
|
||||
--disable-daemon
|
||||
--with-drive-if=virtio
|
||||
--with-net-if=virtio-net-pci
|
||||
--with-extra="-gentoo"
|
||||
--with-readline
|
||||
--disable-php
|
||||
--disable-python
|
||||
--disable-java
|
||||
$(use_enable nls)
|
||||
$(use_enable perl)
|
||||
$(use_enable fuse)
|
||||
$(use_enable ocaml)
|
||||
$(use_enable ruby)
|
||||
--disable-haskell
|
||||
$(use_enable doc)
|
||||
$(use_enable introspection gobject)
|
||||
$(use_enable erlang)
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
autotools-utils_src_compile
|
||||
|
||||
}
|
||||
|
||||
src_test() {
|
||||
autotools-utils_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
strip-linguas -i po
|
||||
autotools-utils_src_install "LINGUAS=""${LINGUAS}"""
|
||||
|
||||
use bash-completion && dobashcomp "${D}/etc"/bash_completion.d/guestfish-bash-completion.sh
|
||||
|
||||
rm -fr "${D}/etc"/bash* || die
|
||||
|
||||
insinto /usr/share/guestfs/
|
||||
doins -r "${WORKDIR}"/appliance
|
||||
newenvd "${FILESDIR}"/env.file 99"${PN}"
|
||||
|
||||
use perl && fixlocalpod
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST open-vm-tools-2011.10.26-514583.tar.gz 3488922 RMD160 8cea5aa8a78e1d54f071ecf396c2f5fcbfe64fdb SHA1 825f615ef2369bca2cbeae11f851ef14bf22b1c6 SHA256 9dbe0242a1af4943c7cae1e3482c7dcf56fb8adc40d7a2297a5b558734da94b6
|
||||
DIST open-vm-tools-2011.11.20-535097.tar.gz 3493786 RMD160 849ceae5bc09fd726d847db904742ad2dbdcd89a SHA1 12ab8092a9622c6155f35193a383e2db471703b9 SHA256 0380699e63b12f3769ea46250dd1364a83bde56155d287da0868f7352b5748b1
|
||||
DIST open-vm-tools-8.8.1-528969.tar.gz 3761288 RMD160 48671cd3b86b6d8ab1e764945baa18c8ef021066 SHA1 505aba7961402927f1bbe22329304edb6090c23f SHA256 eba9dfb87b3f1bcea9b956e417e5bbaefe1ff20b41ddcf1f49035f5cfb3c56c1
|
||||
|
@ -1,78 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-0.0.20111026.514583.ebuild,v 1.1 2011/11/11 14:16:51 vadimk Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit linux-mod versionator
|
||||
|
||||
MY_DATE="$(get_version_component_range 3)"
|
||||
MY_BUILD="$(get_version_component_range 4)"
|
||||
MY_PN="${PN/-kmod}"
|
||||
MY_PV="${MY_DATE:0:4}.${MY_DATE:4:2}.${MY_DATE:6:2}-${MY_BUILD}"
|
||||
MY_P="${MY_PN}-${MY_PV}"
|
||||
|
||||
DESCRIPTION="Opensourced tools for VMware guests"
|
||||
HOMEPAGE="http://open-vm-tools.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/linux-sources
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
pkg_setup() {
|
||||
linux-mod_pkg_setup
|
||||
|
||||
VMWARE_MOD_DIR="modules/linux"
|
||||
VMWARE_MODULE_LIST="vmblock vmci vmhgfs vmsync vmxnet vsock"
|
||||
|
||||
MODULE_NAMES=""
|
||||
BUILD_TARGETS="auto-build HEADER_DIR=${KERNEL_DIR}/include BUILD_DIR=${KV_OUT_DIR} OVT_SOURCE_DIR=${S}"
|
||||
|
||||
for mod in ${VMWARE_MODULE_LIST};
|
||||
do
|
||||
if [ "${mod}" == "vmxnet" ];
|
||||
then
|
||||
MODTARGET="net"
|
||||
else
|
||||
MODTARGET="openvmtools"
|
||||
fi
|
||||
MODULE_NAMES="${MODULE_NAMES} ${mod}(${MODTARGET}:${S}/${VMWARE_MOD_DIR}/${mod})"
|
||||
done
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i.bak -e '/\smake\s/s/make/$(MAKE)/g' modules/linux/{vmblock,vmci,vmhgfs,vmsync,vmxnet,vsock}/Makefile\
|
||||
|| die "Sed failed."
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
: # do nothing at all
|
||||
}
|
||||
|
||||
src_install() {
|
||||
linux-mod_src_install
|
||||
|
||||
local udevrules="${T}/60-vmware.rules"
|
||||
cat > "${udevrules}" <<-EOF
|
||||
KERNEL=="vsock", GROUP="vmware", MODE=660
|
||||
EOF
|
||||
insinto /etc/udev/rules.d/
|
||||
doins "${udevrules}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
linux-mod_pkg_postinst
|
||||
elog "vmxnet3 for Linux is now upstream (as of Linux 2.6.32)"
|
||||
elog "pvscsi for Linux is now upstream (vmw_pvscsi) (as of Linux 2.6.33)"
|
||||
elog "vmmemctl for Linux is now upstream (vmw_balloon) (as of Linux 2.6.34)"
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST open-vm-tools-2011.10.26-514583.tar.gz 3488922 RMD160 8cea5aa8a78e1d54f071ecf396c2f5fcbfe64fdb SHA1 825f615ef2369bca2cbeae11f851ef14bf22b1c6 SHA256 9dbe0242a1af4943c7cae1e3482c7dcf56fb8adc40d7a2297a5b558734da94b6
|
||||
DIST open-vm-tools-2011.11.20-535097.tar.gz 3493786 RMD160 849ceae5bc09fd726d847db904742ad2dbdcd89a SHA1 12ab8092a9622c6155f35193a383e2db471703b9 SHA256 0380699e63b12f3769ea46250dd1364a83bde56155d287da0868f7352b5748b1
|
||||
DIST open-vm-tools-8.8.1-528969.tar.gz 3761288 RMD160 48671cd3b86b6d8ab1e764945baa18c8ef021066 SHA1 505aba7961402927f1bbe22329304edb6090c23f SHA256 eba9dfb87b3f1bcea9b956e417e5bbaefe1ff20b41ddcf1f49035f5cfb3c56c1
|
||||
|
@ -1,114 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-0.0.20111026.514583.ebuild,v 1.2 2011/12/03 18:34:42 vadimk Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils pam versionator
|
||||
|
||||
MY_DATE="$(get_version_component_range 3)"
|
||||
MY_BUILD="$(get_version_component_range 4)"
|
||||
MY_PV="${MY_DATE:0:4}.${MY_DATE:4:2}.${MY_DATE:6:2}-${MY_BUILD}"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
|
||||
DESCRIPTION="Opensourced tools for VMware guests"
|
||||
HOMEPAGE="http://open-vm-tools.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="X doc fuse icu +pic xinerama"
|
||||
|
||||
RDEPEND="app-emulation/open-vm-tools-kmod
|
||||
dev-libs/glib:2
|
||||
dev-libs/libdnet
|
||||
sys-apps/ethtool
|
||||
sys-process/procps
|
||||
virtual/pam
|
||||
X? (
|
||||
dev-cpp/gtkmm:2.4
|
||||
x11-base/xorg-server
|
||||
x11-drivers/xf86-input-vmmouse
|
||||
x11-drivers/xf86-video-vmware
|
||||
x11-libs/gtk+:2
|
||||
x11-libs/libnotify
|
||||
x11-libs/libX11
|
||||
x11-libs/libXtst
|
||||
)
|
||||
fuse? ( sys-fs/fuse )
|
||||
icu? ( dev-libs/icu )
|
||||
xinerama? ( x11-libs/libXinerama )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-doc/doxygen )
|
||||
dev-util/pkgconfig
|
||||
virtual/linux-sources
|
||||
sys-apps/findutils
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup vmware
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Do not filter out Werror
|
||||
# Upstream Bug http://sourceforge.net/tracker/?func=detail&aid=2959749&group_id=204462&atid=989708
|
||||
# sed -i -e 's/CFLAGS=.*Werror/#&/g' configure || die "sed comment out Werror failed"
|
||||
sed -i -e 's:\(TEST_PLUGIN_INSTALLDIR=\).*:\1\$libdir/open-vm-tools/plugins/tests:g' configure || die "sed test_plugin_installdir failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--with-procps \
|
||||
--with-dnet \
|
||||
--without-kernel-modules \
|
||||
$(use_enable doc docs) \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
$(use_with X x) \
|
||||
$(use_with X gtk2) \
|
||||
$(use_with X gtkmm) \
|
||||
$(use_with icu) \
|
||||
$(use_with pic) \
|
||||
$(use_enable xinerama multimon)
|
||||
|
||||
# Bugs 260878, 326761
|
||||
find ./ -name Makefile | xargs sed -i -e 's/-Werror//g' || die "sed out Werror failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake || die "failed to compile"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "failed to install"
|
||||
|
||||
rm "${D}"/etc/pam.d/vmtoolsd
|
||||
pamd_mimic_system vmtoolsd auth account
|
||||
|
||||
rm "${D}"/usr/$(get_libdir)/*.la
|
||||
rm "${D}"/usr/$(get_libdir)/open-vm-tools/plugins/common/*.la
|
||||
|
||||
newinitd "${FILESDIR}/open-vm-tools.initd" vmware-tools || die "failed to newinitd"
|
||||
newconfd "${FILESDIR}/open-vm-tools.confd" vmware-tools || die "failed to newconfd"
|
||||
|
||||
exeinto /etc/vmware-tools/scripts/vmware/
|
||||
doexe "${FILESDIR}"/network
|
||||
|
||||
if use X;
|
||||
then
|
||||
fperms 4755 "/usr/bin/vmware-user-suid-wrapper" || die
|
||||
|
||||
dobin "${S}"/scripts/common/vmware-xdg-detect-de
|
||||
|
||||
insinto /etc/xdg/autostart
|
||||
doins "${FILESDIR}/open-vm-tools.desktop" || die "failed to install .desktop"
|
||||
|
||||
elog "To be able to use the drag'n'drop feature of VMware for file"
|
||||
elog "exchange, please add the users to the 'vmware' group."
|
||||
fi
|
||||
elog "Add 'vmware-tools' service to the default runlevel."
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST phpvirtualbox-4.1-7.zip 2760199 RMD160 bbc14f536f4b8c060ff70196a060ca45b0d1feca SHA1 7788d4820148840899c61b32dc30f0c9f65c3e0c SHA256 16c27cd1bcc843b464752c3dd7091247b690218bca06fcecbdd130c5daf70b7c
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/phpvirtualbox/phpvirtualbox-4.1.7.ebuild,v 1.1 2012/03/16 22:44:27 hwoarang Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit versionator eutils webapp depend.php
|
||||
|
||||
MY_PV="$(replace_version_separator 2 '-')"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
|
||||
DESCRIPTION="Web-based administration for VirtualBox in PHP"
|
||||
HOMEPAGE="http://phpvirtualbox.googlecode.com"
|
||||
SRC_URI="http://${PN}.googlecode.com/files/${MY_P}.zip"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/php[session,unicode,soap,gd]
|
||||
"
|
||||
DEPEND="app-arch/unzip"
|
||||
|
||||
need_php_httpd
|
||||
|
||||
src_install() {
|
||||
webapp_src_preinst
|
||||
|
||||
cd ${MY_P}
|
||||
|
||||
dodoc CHANGELOG.txt LICENSE.txt README.txt || die
|
||||
rm -f CHANGELOG.txt LICENSE.txt README.txt
|
||||
|
||||
insinto "${MY_HTDOCSDIR}"
|
||||
doins -r .
|
||||
|
||||
webapp_configfile "${MY_HTDOCSDIR}"/config.php-example
|
||||
webapp_serverowned "${MY_HTDOCSDIR}"/config.php-example
|
||||
|
||||
webapp_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
webapp_pkg_postinst
|
||||
elog "Local or remote virtualbox hosts must be compiled with"
|
||||
elog "'vboxwebsrv' useflag and the respective init script"
|
||||
elog "must be running to use this interface"
|
||||
elog " /etc/init.d/vboxwebsrv start"
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue