parent
eddeb38557
commit
399cfab63d
@ -0,0 +1,11 @@
|
||||
# ChangeLog for app-admin/cdist
|
||||
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/cdist/ChangeLog,v 1.1 2014/01/09 21:16:10 hwoarang Exp $
|
||||
|
||||
*cdist-3.0.0 (09 Jan 2014)
|
||||
|
||||
09 Jan 2014; Markos Chandras <hwoarang@gentoo.org> +cdist-3.0.0.ebuild,
|
||||
+metadata.xml:
|
||||
Initial commit. Ebuild by Daniel Heule <nerve@ipwar.ch> who will maintain it.
|
||||
Bug #493108
|
||||
|
@ -0,0 +1,26 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST cdist-3.0.0.tar.gz 160317 SHA256 eeffbd1cd0893c2c1c948330efef427f1558acb23cc5f1f75eb87b137a36687f SHA512 0e38b779ccc1f5b4f4fccf1519861613428e05eb6e0e611fe4c96cc6ca34880246e8e81ab2b09777a6a2161b9b4a84de9ff9221ab939dff474889310f9960f5b WHIRLPOOL 202a75d2e43bc66e0010f50247f0c5f76f885ef513c68381ea499c8c99026d4b78821885f3b43683e5f656224a544cfc0e335c5d8c40e349703bf2c15995651b
|
||||
EBUILD cdist-3.0.0.ebuild 849 SHA256 da677100c6b6b39e128e6ef60a187db3c84c225acf3edc0d68972204ae8d7a63 SHA512 3930e1a998e8618fea9f2c3374f24a2ce5b64d8b36efc01e4e49e85389ee00b1c2a7d883cbb74fad9d582a3a41cd50a414d2dc9b9fb2b59da59669efebc1cd2a WHIRLPOOL ff3c2f7aad19c5bfe4a6ec9377a5cfec8a7e4b6820df1759b0bfeb276940e1a147af565778251b2ceb339c70af7197fb4b080fc8f2febdb8119bf4201bf19ccb
|
||||
MISC ChangeLog 419 SHA256 1e9c6bee6ff44a28e69757c0d1c53dd2e5f76bb6fff2655270a85c25968cc890 SHA512 c0898b82b7f33d33dc3af33b626bcfb0ef05d3b00bfe427957f81706ebab868a401a72892feb5dffd156eef202764248915e9b1977d20f342e26ba39da30549d WHIRLPOOL 915a3e01c67f6cc07adab350f50946b04797dd576cf11c215a3f68e14b17067d4f5195fbd867d2b066a7146c3fc519e7053c460dcb9c1797c3564dfed52c7ef5
|
||||
MISC metadata.xml 311 SHA256 03aeca317e7512861b251f871645e74dd01a453a6832aca27d6b811317ffeb26 SHA512 177e25c442505c634edd4d7bc83ddc810d248e2c899b0a7a459875492178514e048c748ecc4da87f512d2adedbd367dc2ecf7f197feb73fede4edd2837f0b541 WHIRLPOOL bc66a9c3a8cba8b97e8c7d1dd3c99de9b73d1caa50c0916ee6403e21f57947a9455a3d2d0dc4a56ca98f7ba91265d997ab2884b3b72bfdf5923a68e27bfd21e2
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.22 (GNU/Linux)
|
||||
|
||||
iQJ8BAEBCABmBQJSzxF5XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
|
||||
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzNTVDNDczOUYzRjJEMTRGNDRGMzU2RkMw
|
||||
OUJGNEY1NEMyQkE3RjNDAAoJEAm/T1TCun883ccQALhpHXd1UQbcPtKdjxYedF55
|
||||
ayFWVXU0Ce/iNy/cpP94FJWICFo5+vAAzFMSM3xgWK1cfApXZUZ1T8vieYK92+Bd
|
||||
f1CK+keSIxSSXdeSoOhAwPFNZpjUpZ834zWIXqQXHoOTN7BhumauNAAAWXxHG+PR
|
||||
GwNCmJITHHT8WCCvwWMghKsN8SEvbgHXAwpqmLzYKv2Tv9Xfo0xWJtLqm2sgSHBq
|
||||
dTNeUrw3OgKoR0ZFifO8Fyf4Hg7maEvAtQ2FBfx1KwEEWIwnNWP/EV9SYyFd2Unz
|
||||
JhYSfGhY/k06Tg+UcHtHiNiwR43X3vIJOp1CUIvM29N9yD+uP+C+/05KhjFSvlt8
|
||||
C2MXLhJgtqNedpWaSVNmHEVslZIJntX9x6ASqDZ0/y/9BoyEDMnu1CAj/bo+wNAM
|
||||
AAt82DY6sD8/VJfHPkcPAlm8yRFyvRdSa3e9oX4wPETgGwS2ex2S+DI06kKszYHP
|
||||
yv3Z3UVHlC4rGixSYRiGiE1R9ayoDRK5rUIaGg7SrPOz88aw0/zHM6csoiyafQ+M
|
||||
j2Pvu0jaS2oUoEdK71GT8YNWCCTLB3LbdpZveMjOCqbJw6jpRLWQh5Ad3ZORauQB
|
||||
jQdVKBNdJdxqQ1j/e/NwzvQjIVX42e863aQd9WDA6zNWCj82OhsUsY/qXiFLjc+7
|
||||
UW3Hw0JSk4lUaRZiz5ZJ
|
||||
=7ryr
|
||||
-----END PGP SIGNATURE-----
|
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/cdist/cdist-3.0.0.ebuild,v 1.1 2014/01/09 21:16:10 hwoarang Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{3_2,3_3} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A usable configuration management system"
|
||||
HOMEPAGE="http://www.nico.schottelius.org/software/cdist/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="app-text/asciidoc dev-libs/libxslt"
|
||||
RDEPEND="${PYTHON_DEPS}"
|
||||
|
||||
DOCS="README"
|
||||
|
||||
src_prepare() {
|
||||
rm cdist/conf/.gitignore || die "rm failed"
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use doc; then
|
||||
HTML_DOCS="docs/man/man1/*.html docs/man/man7/*.html"
|
||||
fi
|
||||
distutils-r1_src_install
|
||||
doman docs/man/man1/*.1 docs/man/man7/*.7
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>proxy-maintainers</herd>
|
||||
<maintainer>
|
||||
<email>nerve@ipwar.ch</email>
|
||||
<name>Daniel Heule</name>
|
||||
<description>Maintainer. Assign bugs to him</description>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,21 @@
|
||||
From 27b6803432fcbf3593f96d85645485766c1f1d0f Mon Sep 17 00:00:00 2001
|
||||
From: Tim Waugh <twaugh@redhat.com>
|
||||
Date: Fri, 25 Oct 2013 15:27:30 +0000
|
||||
Subject: Fixed typo in D-Bus signature decorator (bug #1023449).
|
||||
|
||||
---
|
||||
diff --git a/scp-dbus-service.py b/scp-dbus-service.py
|
||||
index 28b3c15..00a084e 100644
|
||||
--- a/scp-dbus-service.py
|
||||
+++ b/scp-dbus-service.py
|
||||
@@ -367,7 +367,7 @@ class ConfigPrintingNewPrinterDialog(dbus.service.Object):
|
||||
pass
|
||||
|
||||
@dbus.service.signal(dbus_interface=CONFIG_NEWPRINTERDIALOG_IFACE,
|
||||
- signature='a{s}')
|
||||
+ signature='a(s)')
|
||||
def DriverDownloadChecked(self, installed_files):
|
||||
pass
|
||||
|
||||
--
|
||||
cgit v0.9.2
|
@ -0,0 +1,97 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-gnome/system-config-printer-gnome-1.4.3-r1.ebuild,v 1.1 2014/01/10 20:40:26 pacho Exp $
|
||||
|
||||
EAPI="5"
|
||||
GCONF_DEBUG="no"
|
||||
PYTHON_COMPAT=( python2_{6,7} )
|
||||
PYTHON_REQ_USE="xml"
|
||||
|
||||
inherit autotools gnome2 eutils python-single-r1 versionator
|
||||
|
||||
MY_P="${PN%-gnome}-${PV}"
|
||||
MY_V="$(get_version_component_range 1-2)"
|
||||
|
||||
DESCRIPTION="GNOME frontend for a Red Hat's printer administration tool"
|
||||
HOMEPAGE="http://cyberelk.net/tim/software/system-config-printer/"
|
||||
SRC_URI="http://cyberelk.net/tim/data/system-config-printer/${MY_V}/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
|
||||
SLOT="0"
|
||||
IUSE="gnome-keyring"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
# Needs cups running, bug 284005
|
||||
RESTRICT="test"
|
||||
|
||||
# Additional unhandled dependencies
|
||||
# gnome-extra/gnome-packagekit[${PYTHON_USEDEP}] with pygobject:2 ?
|
||||
# python samba client: smbc
|
||||
# selinux: needed for troubleshooting
|
||||
RDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
~app-admin/system-config-printer-common-${PV}
|
||||
dev-python/pycairo[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycups-1.9.60[${PYTHON_USEDEP}]
|
||||
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
||||
x11-libs/gtk+:3[introspection]
|
||||
x11-libs/libnotify[introspection]
|
||||
x11-libs/pango[introspection]
|
||||
gnome-keyring? ( gnome-base/libgnome-keyring[introspection] )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/docbook-xml-dtd:4.1.2
|
||||
>=app-text/xmlto-0.0.22
|
||||
dev-util/desktop-file-utils
|
||||
dev-util/intltool
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
APP_LINGUAS="ar as bg bn_IN bn br bs ca cs cy da de el en_GB es et fa fi fr gu
|
||||
he hi hr hu hy id is it ja ka kn ko lo lv mai mk ml mr ms nb nl nn or pa pl
|
||||
pt_BR pt ro ru si sk sl sr@latin sr sv ta te th tr uk vi zh_CN zh_TW"
|
||||
for X in ${APP_LINGUAS}; do
|
||||
IUSE="${IUSE} linguas_${X}"
|
||||
done
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
# Bug 471472
|
||||
MAKEOPTS+=" -j1"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-1.4.1-split.patch
|
||||
|
||||
# Fixed typo in D-Bus signature decorator, bug #496792
|
||||
epatch "${FILESDIR}/${P}-typo-dbus.patch"
|
||||
|
||||
eautoreconf
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
# Disable installation of translations when LINGUAS not chosen
|
||||
if [[ -z "${LINGUAS}" ]]; then
|
||||
myconf="${myconf} --disable-nls"
|
||||
else
|
||||
myconf="${myconf} --enable-nls"
|
||||
fi
|
||||
|
||||
gnome2_src_configure \
|
||||
--with-desktop-vendor=Gentoo \
|
||||
--without-udev-rules \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
python_fix_shebang "${ED}"
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
From 2bd9c15391b0bd6ef0bff76aebf09cfb53003199 Mon Sep 17 00:00:00 2001
|
||||
From: Sergey Poznyakoff <gray@gnu.org>
|
||||
Date: Thu, 09 Jan 2014 22:13:15 +0000
|
||||
Subject: Fix the use of --no-recursion and --recursion options.
|
||||
|
||||
Each option remains in effect until cancelled by the next ocurrence
|
||||
of its counterpart, as stated in the documentation.
|
||||
|
||||
* src/names.c (name_next_elt): Restore recursion_option from the
|
||||
value of matching_flags.
|
||||
---
|
||||
diff --git a/src/names.c b/src/names.c
|
||||
index fc9841e..7777dc1 100644
|
||||
--- a/src/names.c
|
||||
+++ b/src/names.c
|
||||
@@ -570,6 +570,7 @@ name_next_elt (int change_dirs)
|
||||
|
||||
case NELT_FMASK:
|
||||
matching_flags = ep->v.matching_flags;
|
||||
+ recursion_option = matching_flags & FNM_LEADING_DIR;
|
||||
name_list_advance ();
|
||||
continue;
|
||||
|
||||
--
|
||||
cgit v0.9.0.2
|
@ -0,0 +1,239 @@
|
||||
http://lists.gnu.org/archive/html/bug-tar/2013-12/msg00023.html
|
||||
https://bugs.gentoo.org/489170
|
||||
|
||||
--- tar-1.27.1/acinclude.m4 2013-03-14 21:18:09.000000000 +0100
|
||||
+++ tar-1.27.1/acinclude.m4 2013-03-14 21:18:09.000000000 +0100
|
||||
@@ -37,18 +37,27 @@
|
||||
[], [with_xattrs=maybe]
|
||||
)
|
||||
|
||||
- AC_CHECK_HEADERS([attr/xattr.h])
|
||||
- AM_CONDITIONAL([TAR_COND_XATTR_H],[test "$ac_cv_header_attr_xattr_h" = yes])
|
||||
- if test "$ac_cv_header_attr_xattr_h" = yes; then
|
||||
- AC_CHECK_FUNCS(getxattr fgetxattr lgetxattr \
|
||||
- setxattr fsetxattr lsetxattr \
|
||||
- listxattr flistxattr llistxattr,
|
||||
- # only when functions are present
|
||||
- AC_DEFINE([HAVE_ATTR_XATTR_H], [1],
|
||||
- [define to 1 if we have <attr/xattr.h> header])
|
||||
- if test "$with_xattrs" != no; then
|
||||
- AC_DEFINE([HAVE_XATTRS],,[Define when we have working linux xattrs.])
|
||||
- fi
|
||||
- )
|
||||
+ AC_CHECK_HEADERS([sys/xattr.h attr/xattr.h])
|
||||
+ AM_CONDITIONAL([TAR_COND_XATTR_H],
|
||||
+ [test "$ac_cv_header_sys_xattr_h" = yes -o "$ac_cv_header_attr_xattr_h" = yes])
|
||||
+
|
||||
+ if test "$with_xattrs" != no; then
|
||||
+ # If <sys/xattr.h> doesn't exist and <attr/xattr.h> does,
|
||||
+ # then link against libattr.so and not libc
|
||||
+ if test "$ac_cv_header_sys_xattr_h" = no -a "$ac_cv_header_attr_xattr_h" = yes; then
|
||||
+ AC_CHECK_LIB([attr],[fgetxattr])
|
||||
+ fi
|
||||
+ have_functions=yes
|
||||
+ for xattr_func in getxattr fgetxattr lgetxattr \
|
||||
+ setxattr fsetxattr lsetxattr \
|
||||
+ listxattr flistxattr llistxattr; do \
|
||||
+ AC_SEARCH_LIBS([$xattr_func], [attr],, [have_functions=no])
|
||||
+ test $have_functions = no && break
|
||||
+ done
|
||||
+ if test $have_functions = yes; then
|
||||
+ AC_DEFINE([HAVE_XATTRS],[1],[Define when we have working linux xattrs.])
|
||||
+ else
|
||||
+ test "$with_xattrs" = yes && AC_MSG_ERROR([xattr support requested but not found.])
|
||||
+ fi
|
||||
fi
|
||||
])
|
||||
--- tar-1.27.1/configure 2013-11-17 17:18:39.000000000 +0100
|
||||
+++ tar-1.27.1/configure 2013-11-17 17:18:39.000000000 +0100
|
||||
@@ -33619,19 +33619,20 @@
|
||||
fi
|
||||
|
||||
|
||||
- for ac_header in attr/xattr.h
|
||||
+ for ac_header in sys/xattr.h attr/xattr.h
|
||||
do :
|
||||
- ac_fn_c_check_header_mongrel "$LINENO" "attr/xattr.h" "ac_cv_header_attr_xattr_h" "$ac_includes_default"
|
||||
-if test "x$ac_cv_header_attr_xattr_h" = xyes; then :
|
||||
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
||||
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
|
||||
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
-#define HAVE_ATTR_XATTR_H 1
|
||||
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
||||
_ACEOF
|
||||
|
||||
fi
|
||||
|
||||
done
|
||||
|
||||
- if test "$ac_cv_header_attr_xattr_h" = yes; then
|
||||
+ if test "$ac_cv_header_sys_xattr_h" = yes -o "$ac_cv_header_attr_xattr_h" = yes; then
|
||||
TAR_COND_XATTR_H_TRUE=
|
||||
TAR_COND_XATTR_H_FALSE='#'
|
||||
else
|
||||
@@ -33639,30 +33640,130 @@
|
||||
TAR_COND_XATTR_H_FALSE=
|
||||
fi
|
||||
|
||||
- if test "$ac_cv_header_attr_xattr_h" = yes; then
|
||||
- for ac_func in getxattr fgetxattr lgetxattr \
|
||||
- setxattr fsetxattr lsetxattr \
|
||||
- listxattr flistxattr llistxattr
|
||||
-do :
|
||||
- as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
||||
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
||||
-if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
|
||||
+
|
||||
+ if test "$with_xattrs" != no; then
|
||||
+ # If <sys/xattr.h> doesn't exist and <attr/xattr.h> does,
|
||||
+ # then link against libattr.so and not libc
|
||||
+ if test "$ac_cv_header_sys_xattr_h" = no -a "$ac_cv_header_attr_xattr_h" = yes; then
|
||||
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgetxattr in -lattr" >&5
|
||||
+$as_echo_n "checking for fgetxattr in -lattr... " >&6; }
|
||||
+if ${ac_cv_lib_attr_fgetxattr+:} false; then :
|
||||
+ $as_echo_n "(cached) " >&6
|
||||
+else
|
||||
+ ac_check_lib_save_LIBS=$LIBS
|
||||
+LIBS="-lattr $LIBS"
|
||||
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
+/* end confdefs.h. */
|
||||
+
|
||||
+/* Override any GCC internal prototype to avoid an error.
|
||||
+ Use char because int might match the return type of a GCC
|
||||
+ builtin and then its argument prototype would still apply. */
|
||||
+#ifdef __cplusplus
|
||||
+extern "C"
|
||||
+#endif
|
||||
+char fgetxattr ();
|
||||
+int
|
||||
+main ()
|
||||
+{
|
||||
+return fgetxattr ();
|
||||
+ ;
|
||||
+ return 0;
|
||||
+}
|
||||
+_ACEOF
|
||||
+if ac_fn_c_try_link "$LINENO"; then :
|
||||
+ ac_cv_lib_attr_fgetxattr=yes
|
||||
+else
|
||||
+ ac_cv_lib_attr_fgetxattr=no
|
||||
+fi
|
||||
+rm -f core conftest.err conftest.$ac_objext \
|
||||
+ conftest$ac_exeext conftest.$ac_ext
|
||||
+LIBS=$ac_check_lib_save_LIBS
|
||||
+fi
|
||||
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_attr_fgetxattr" >&5
|
||||
+$as_echo "$ac_cv_lib_attr_fgetxattr" >&6; }
|
||||
+if test "x$ac_cv_lib_attr_fgetxattr" = xyes; then :
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
||||
+#define HAVE_LIBATTR 1
|
||||
_ACEOF
|
||||
- # only when functions are present
|
||||
|
||||
-$as_echo "#define HAVE_ATTR_XATTR_H 1" >>confdefs.h
|
||||
+ LIBS="-lattr $LIBS"
|
||||
|
||||
- if test "$with_xattrs" != no; then
|
||||
+fi
|
||||
|
||||
-$as_echo "#define HAVE_XATTRS /**/" >>confdefs.h
|
||||
+ fi
|
||||
+ have_functions=yes
|
||||
+ for xattr_func in getxattr fgetxattr lgetxattr \
|
||||
+ setxattr fsetxattr lsetxattr \
|
||||
+ listxattr flistxattr llistxattr; do \
|
||||
+ as_ac_Search=`$as_echo "ac_cv_search_$xattr_func" | $as_tr_sh`
|
||||
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing $xattr_func" >&5
|
||||
+$as_echo_n "checking for library containing $xattr_func... " >&6; }
|
||||
+if eval \${$as_ac_Search+:} false; then :
|
||||
+ $as_echo_n "(cached) " >&6
|
||||
+else
|
||||
+ ac_func_search_save_LIBS=$LIBS
|
||||
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
+/* end confdefs.h. */
|
||||
+
|
||||
+/* Override any GCC internal prototype to avoid an error.
|
||||
+ Use char because int might match the return type of a GCC
|
||||
+ builtin and then its argument prototype would still apply. */
|
||||
+#ifdef __cplusplus
|
||||
+extern "C"
|
||||
+#endif
|
||||
+char $xattr_func ();
|
||||
+int
|
||||
+main ()
|
||||
+{
|
||||
+return $xattr_func ();
|
||||
+ ;
|
||||
+ return 0;
|
||||
+}
|
||||
+_ACEOF
|
||||
+for ac_lib in '' attr; do
|
||||
+ if test -z "$ac_lib"; then
|
||||
+ ac_res="none required"
|
||||
+ else
|
||||
+ ac_res=-l$ac_lib
|
||||
+ LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
||||
+ fi
|
||||
+ if ac_fn_c_try_link "$LINENO"; then :
|
||||
+ eval "$as_ac_Search=\$ac_res"
|
||||
+fi
|
||||
+rm -f core conftest.err conftest.$ac_objext \
|
||||
+ conftest$ac_exeext
|
||||
+ if eval \${$as_ac_Search+:} false; then :
|
||||
+ break
|
||||
+fi
|
||||
+done
|
||||
+if eval \${$as_ac_Search+:} false; then :
|
||||
|
||||
- fi
|
||||
+else
|
||||
+ eval "$as_ac_Search=no"
|
||||
+fi
|
||||
+rm conftest.$ac_ext
|
||||
+LIBS=$ac_func_search_save_LIBS
|
||||
+fi
|
||||
+eval ac_res=\$$as_ac_Search
|
||||
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
||||
+$as_echo "$ac_res" >&6; }
|
||||
+eval ac_res=\$$as_ac_Search
|
||||
+if test "$ac_res" != no; then :
|
||||
+ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
||||
|
||||
+else
|
||||
+ have_functions=no
|
||||
fi
|
||||
-done
|
||||
|
||||
+ test $have_functions = no && break
|
||||
+ done
|
||||
+ if test $have_functions = yes; then
|
||||
+
|
||||
+$as_echo "#define HAVE_XATTRS 1" >>confdefs.h
|
||||
+
|
||||
+ else
|
||||
+ test "$with_xattrs" = yes && as_fn_error $? "xattr support requested but not found." "$LINENO" 5
|
||||
+ fi
|
||||
fi
|
||||
|
||||
|
||||
--- tar-1.27.1/lib/xattr-at.h 2013-03-14 21:18:10.000000000 +0100
|
||||
+++ tar-1.27.1/lib/xattr-at.h 2013-03-14 21:18:10.000000000 +0100
|
||||
@@ -20,7 +20,15 @@
|
||||
#define XATTRS_AT_H
|
||||
|
||||
#include <sys/types.h>
|
||||
-#include <attr/xattr.h>
|
||||
+#if defined(HAVE_SYS_XATTR_H)
|
||||
+# include <sys/xattr.h>
|
||||
+#elif defined(HAVE_ATTR_XATTR_H)
|
||||
+# include <attr/xattr.h>
|
||||
+#endif
|
||||
+
|
||||
+#ifndef ENOATTR
|
||||
+# define ENOATTR ENODATA /* No such attribute */
|
||||
+#endif
|
||||
|
||||
/* These are the dir-fd-relative variants of the functions without the
|
||||
"at" suffix. For example, setxattrat (AT_FDCWD, path, name, value, size,
|
@ -0,0 +1,79 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/tar/tar-1.27.1-r1.ebuild,v 1.1 2014/01/10 08:05:48 polynomial-c Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit flag-o-matic eutils
|
||||
|
||||
DESCRIPTION="Use this to make tarballs :)"
|
||||
HOMEPAGE="http://www.gnu.org/software/tar/"
|
||||
SRC_URI="mirror://gnu/tar/${P}.tar.bz2
|
||||
mirror://gnu-alpha/tar/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="acl minimal nls selinux static userland_GNU xattr"
|
||||
|
||||
RDEPEND="acl? ( virtual/acl )
|
||||
selinux? ( sys-libs/libselinux )"
|
||||
DEPEND="${RDEPEND}
|
||||
nls? ( >=sys-devel/gettext-0.10.35 )
|
||||
xattr? ( sys-apps/attr )"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_OPTS="-Z" \
|
||||
epatch "${FILESDIR}/${P}-xattr_build_fix.patch"
|
||||
epatch "${FILESDIR}/${P}-recursion_norecursion.patch"
|
||||
if ! use userland_GNU ; then
|
||||
sed -i \
|
||||
-e 's:/backup\.sh:/gbackup.sh:' \
|
||||
scripts/{backup,dump-remind,restore}.in \
|
||||
|| die "sed non-GNU"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use static && append-ldflags -static
|
||||
FORCE_UNSAFE_CONFIGURE=1 \
|
||||
econf \
|
||||
--enable-backup-scripts \
|
||||
--bindir="${EPREFIX}"/bin \
|
||||
--libexecdir="${EPREFIX}"/usr/sbin \
|
||||
$(usex userland_GNU "" "--program-prefix=g") \
|
||||
$(use_with acl posix-acls) \
|
||||
$(use_enable nls) \
|
||||
$(use_with selinux) \
|
||||
$(use_with xattr xattrs)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
|
||||
local p=$(usex userland_GNU "" "g")
|
||||
if [[ -z ${p} ]] ; then
|
||||
# a nasty yet required piece of baggage
|
||||
exeinto /etc
|
||||
doexe "${FILESDIR}"/rmt || die
|
||||
fi
|
||||
|
||||
# autoconf looks for gtar before tar (in configure scripts), hence
|
||||
# in Prefix it is important that it is there, otherwise, a gtar from
|
||||
# the host system (FreeBSD, Solaris, Darwin) will be found instead
|
||||
# of the Prefix provided (GNU) tar
|
||||
if use prefix ; then
|
||||
dosym tar /bin/gtar
|
||||
fi
|
||||
|
||||
dodoc AUTHORS ChangeLog* NEWS README* THANKS
|
||||
newman "${FILESDIR}"/tar.1-1.27 ${p}tar.1
|
||||
mv "${ED}"/usr/sbin/${p}backup{,-tar}
|
||||
mv "${ED}"/usr/sbin/${p}restore{,-tar}
|
||||
|
||||
if use minimal ; then
|
||||
find "${ED}"/etc "${ED}"/*bin/ "${ED}"/usr/*bin/ \
|
||||
-type f -a '!' '(' -name tar -o -name ${p}tar ')' \
|
||||
-delete
|
||||
fi
|
||||
}
|
@ -0,0 +1,397 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/bacula/bacula-5.2.13-r1.ebuild,v 1.1 2014/01/11 12:14:39 pacho Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="python? 2"
|
||||
PYTHON_USE_WITH="threads"
|
||||
PYTHON_USE_WITH_OPT="python"
|
||||
|
||||
inherit eutils multilib python qt4-r2 systemd user
|
||||
|
||||
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 ~ppc ~sparc ~x86"
|
||||
IUSE="acl bacula-clientonly bacula-nodir bacula-nosd examples ipv6 logwatch mysql postgres python qt4 readline +sqlite3 ssl static tcpd vim-syntax X"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/gmp
|
||||
!bacula-clientonly? (
|
||||
postgres? ( dev-db/postgresql-base[threads] )
|
||||
mysql? ( virtual/mysql )
|
||||
sqlite3? ( dev-db/sqlite:3 )
|
||||
!bacula-nodir? ( virtual/mta )
|
||||
)
|
||||
qt4? (
|
||||
dev-qt/qtsvg:4
|
||||
x11-libs/qwt:5
|
||||
)
|
||||
logwatch? ( sys-apps/logwatch )
|
||||
tcpd? ( >=sys-apps/tcp-wrappers-7.6 )
|
||||
readline? ( >=sys-libs/readline-4.1 )
|
||||
static? (
|
||||
acl? ( virtual/acl[static-libs] )
|
||||
sys-libs/zlib[static-libs]
|
||||
dev-libs/lzo[static-libs]
|
||||
sys-libs/ncurses[static-libs]
|
||||
ssl? ( dev-libs/openssl[static-libs] )
|
||||
)
|
||||
!static? (
|
||||
acl? ( virtual/acl )
|
||||
sys-libs/zlib
|
||||
dev-libs/lzo
|
||||
sys-libs/ncurses
|
||||
ssl? ( dev-libs/openssl )
|
||||
)"
|
||||
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 )
|
||||
static? ( bacula-clientonly )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
#XOR and !bacula-clientonly controlled by REQUIRED_USE
|
||||
use mysql && export mydbtype="mysql"
|
||||
use postgres && export mydbtype="postgresql"
|
||||
use sqlite3 && export mydbtype="sqlite3"
|
||||
|
||||
# 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
|
||||
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
|
||||
|
||||
# bug 466688 drop deprecated categories from Desktop file
|
||||
sed -i -e 's/Application;//' scripts/bat.desktop.in || die
|
||||
|
||||
# bug 466690 Use CXXFLAGS instead of CFLAGS
|
||||
sed -i -e 's/@CFLAGS@/@CXXFLAGS@/' autoconf/Make.common.in || 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.10/${PN}-5.2.10-fix-static.patch
|
||||
|
||||
# do not strip binaries
|
||||
sed -i -e "s/strip /# strip /" src/filed/Makefile.in || die
|
||||
sed -i -e "s/strip /# strip /" src/console/Makefile.in || die
|
||||
|
||||
# fix file not found error during make depend
|
||||
epatch "${FILESDIR}"/5.2.12/${PN}-5.2.12-depend.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} \
|
||||
--with-${mydbtype} \
|
||||
--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_enable acl) \
|
||||
$(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-logdir=/var/lib/bacula \
|
||||
--with-scriptdir=/usr/libexec/bacula \
|
||||
--with-systemd=$(systemd_get_unitdir) \
|
||||
--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 \
|
||||
--disable-afs \
|
||||
--host=${CHOST} \
|
||||
${myconf}
|
||||
# correct configuration for QT based bat
|
||||
if use qt4 ; then
|
||||
pushd src/qt-console
|
||||
eqmake4
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Make build log verbose (bug #447806)
|
||||
emake NO_ECHO=""
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
doicon 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
|
||||
doicon src/qt-console/images/bat_icon.png
|
||||
domenu 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 ReleaseNotes SUPPORT technotes
|
||||
|
||||
# install examples (bug #457504)
|
||||
if use examples; then
|
||||
docinto examples/
|
||||
dodoc -r examples/*
|
||||
fi
|
||||
|
||||
# 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"
|
||||
|
||||
# now set the 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
|
||||
|
||||
systemd_dounit "${S}"/platforms/systemd/bacula-{dir,fd,sd}.service
|
||||
systemd_dotmpfilesd "${S}"/platforms/systemd/bacula.conf
|
||||
|
||||
# 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
|
||||
|
||||
if use sqlite3; then
|
||||
einfo
|
||||
einfo "Be aware that Bacula does not officially support SQLite database anymore."
|
||||
einfo "Best use it only for a client-only installation. See Bug #445540."
|
||||
einfo
|
||||
fi
|
||||
|
||||
einfo "Please note that 'bconsole' will always be installed. To compile 'bat'"
|
||||
einfo "you have to enable 'USE=qt4'."
|
||||
einfo
|
||||
}
|
@ -0,0 +1,150 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/cdrtools-3.01_alpha21.ebuild,v 1.1 2014/01/11 12:20:06 billie Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit fcaps multilib eutils toolchain-funcs flag-o-matic
|
||||
|
||||
MY_P="${P/_alpha/a}"
|
||||
|
||||
DESCRIPTION="A set of tools for CD/DVD reading and recording, including cdrecord"
|
||||
HOMEPAGE="http://cdrecord.berlios.de/private/cdrecord.html"
|
||||
SRC_URI="ftp://ftp.berlios.de/pub/cdrecord/$([[ -z ${PV/*_alpha*} ]] && echo 'alpha/')/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1 CDDL-Schily"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="acl nls unicode"
|
||||
|
||||
RDEPEND="acl? ( virtual/acl )
|
||||
nls? ( virtual/libintl )
|
||||
!app-cdr/cdrkit"
|
||||
DEPEND="${RDEPEND}
|
||||
nls? ( >=sys-devel/gettext-0.18.1.1 )"
|
||||
|
||||
S=${WORKDIR}/${P/_alpha[0-9][0-9]}
|
||||
|
||||
FILECAPS=(
|
||||
cap_sys_resource,cap_dac_override,cap_sys_admin,cap_sys_nice,cap_net_bind_service,cap_ipc_lock,cap_sys_rawio+ep usr/bin/cdrecord --
|
||||
cap_dac_override,cap_sys_admin,cap_sys_nice,cap_net_bind_service,cap_sys_rawio+ep usr/bin/cdda2wav --
|
||||
cap_dac_override,cap_sys_admin,cap_net_bind_service,cap_sys_rawio+ep usr/bin/readcd
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# Remove profiled make files.
|
||||
rm -f $(find ./ -name '*_p.mk') || die "rm profiled"
|
||||
|
||||
# Adjusting hardcoded paths.
|
||||
sed -i -e "s|opt/schily|usr|" \
|
||||
$(find ./ -type f -name \*.[0-9ch] -exec grep -l 'opt/schily' '{}' '+') \
|
||||
|| die "sed opt/schily"
|
||||
|
||||
sed -i -e "s|\(^INSDIR=\t\tshare/doc/\)|\1${PF}/|" \
|
||||
$(find ./ -type f -exec grep -l '^INSDIR.\+doc' '{}' '+') \
|
||||
|| die "sed doc"
|
||||
|
||||
# Respect libdir.
|
||||
sed -i -e "s|\(^INSDIR=\t\t\)lib|\1$(get_libdir)|" \
|
||||
$(find ./ -type f -exec grep -l '^INSDIR.\+lib\(/siconv\)\?$' '{}' '+') \
|
||||
|| die "sed multilib"
|
||||
|
||||
# Do not install static libraries.
|
||||
sed -i -e "s|include\t\t.*rules.lib||" \
|
||||
$(find ./ -type f -exec grep -l '^include.\+rules\.lib' '{}' '+') \
|
||||
|| die "sed rules"
|
||||
|
||||
# Respect CC/CXX variables.
|
||||
cd "${S}"/RULES
|
||||
local tcCC=$(tc-getCC)
|
||||
local tcCXX=$(tc-getCXX)
|
||||
sed -i -e "/cc-config.sh/s|\$(C_ARCH:%64=%) \$(CCOM_DEF)|${tcCC} ${tcCC}|" \
|
||||
rules1.top || die "sed rules1.top"
|
||||
sed -i -e "/^CC_COM_DEF=/s|gcc|${tcCC}|" \
|
||||
-e "/^CC++_COM_DEF=/s|g++|${tcCXX}|" \
|
||||
-e "/COPTOPT=/s|-O||" \
|
||||
-e 's|$(GCCOPTOPT)||' \
|
||||
cc-gcc.rul || die "sed cc-gcc.rul"
|
||||
sed -i -e "s|^#\(CONFFLAGS +=\).*|\1\t-cc=${tcCC}|" \
|
||||
rules.cnf || die "sed rules.cnf"
|
||||
|
||||
# Schily make setup.
|
||||
cd "${S}"/DEFAULTS
|
||||
local os="linux"
|
||||
[[ ${CHOST} == *-darwin* ]] && os="mac-os10"
|
||||
[[ ${CHOST} == *-freebsd* ]] && os="freebsd"
|
||||
|
||||
sed -i \
|
||||
-e "s|^\(DEFLINKMODE=\).*|\1\tdynamic|" \
|
||||
-e "s|^\(LINUX_INCL_PATH=\).*|\1|" \
|
||||
-e "s|^\(LDPATH=\).*|\1\t\t-L/usr/lib|" \
|
||||
-e "s|^\(RUNPATH=\).*|\1|" \
|
||||
-e "s|^\(INS_BASE=\).*|\1\t${ED}/usr|" \
|
||||
-e "s|^\(INS_RBASE=\).*|\1\t${ED}|" \
|
||||
-e "s|^\(DEFINSGRP=\).*|\1\troot|" \
|
||||
Defaults.${os} || die "sed Schily make setup"
|
||||
}
|
||||
|
||||
# skip obsolete configure script
|
||||
src_configure() { : ; }
|
||||
|
||||
src_compile() {
|
||||
if use unicode; then
|
||||
local flags="$(test-flags -finput-charset=ISO-8859-1 -fexec-charset=UTF-8)"
|
||||
if [[ -n ${flags} ]]; then
|
||||
append-flags ${flags}
|
||||
else
|
||||
ewarn "Your compiler does not support the options required to build"
|
||||
ewarn "cdrtools with unicode in USE. unicode flag will be ignored."
|
||||
fi
|
||||
fi
|
||||
|
||||
if ! use filecaps; then
|
||||
CFLAGS="${CFLAGS} -DNO_LINUX_CAPS"
|
||||
fi
|
||||
|
||||
if ! use acl; then
|
||||
CFLAGS="${CFLAGS} -DNO_ACL"
|
||||
fi
|
||||
|
||||
# If not built with -j1, "sometimes" cdda2wav will not be built.
|
||||
emake -j1 CPPOPTX="${CPPFLAGS}" COPTX="${CFLAGS}" C++OPTX="${CXXFLAGS}" \
|
||||
LDOPTX="${LDFLAGS}" GMAKE_NOWARN="true"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# If not built with -j1, "sometimes" manpages are not installed.
|
||||
emake -j1 CPPOPTX="${CPPFLAGS}" COPTX="${CFLAGS}" C++OPTX="${CXXFLAGS}" \
|
||||
LDOPTX="${LDFLAGS}" GMAKE_NOWARN="true" install
|
||||
|
||||
# These symlinks are for compat with cdrkit.
|
||||
dosym schily /usr/include/scsilib
|
||||
dosym ../scg /usr/include/schily/scg
|
||||
|
||||
dodoc ABOUT Changelog* CONTRIBUTING PORTING README.linux-shm READMEs/README.linux
|
||||
|
||||
cd "${S}"/cdda2wav
|
||||
docinto cdda2wav
|
||||
dodoc Changelog FAQ Frontends HOWTOUSE NEEDED README THANKS TODO
|
||||
|
||||
cd "${S}"/mkisofs
|
||||
docinto mkisofs
|
||||
dodoc ChangeLog* TODO
|
||||
|
||||
# Remove man pages related to the build system
|
||||
rm -rvf "${ED}"/usr/share/man/man5
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fcaps_pkg_postinst
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
einfo
|
||||
einfo "Darwin/OS X use the following device names:"
|
||||
einfo
|
||||
einfo "CD burners: (probably) ./cdrecord dev=IOCompactDiscServices"
|
||||
einfo
|
||||
einfo "DVD burners: (probably) ./cdrecord dev=IODVDServices"
|
||||
einfo
|
||||
fi
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/adie/adie-1.7.43.ebuild,v 1.1 2013/11/13 21:51:23 mabi Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit fox
|
||||
|
||||
DESCRIPTION="Text editor based on the FOX Toolkit"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="~x11-libs/fox-${PV}"
|
||||
RDEPEND="${DEPEND}"
|
@ -1,8 +1,8 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/adie/adie-1.7.42.ebuild,v 1.1 2013/10/05 17:23:21 mabi Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/adie/adie-1.7.45.ebuild,v 1.1 2014/01/10 18:24:23 mabi Exp $
|
||||
|
||||
EAPI="4"
|
||||
EAPI=5
|
||||
|
||||
inherit fox
|
||||
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/xmlcopyeditor/xmlcopyeditor-1.2.0.12.ebuild,v 1.1 2014/01/12 10:53:42 hwoarang Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
WX_GTK_VER="2.8"
|
||||
|
||||
inherit autotools wxwidgets
|
||||
|
||||
DESCRIPTION="XML Copy Editor is a fast, free, validating XML editor"
|
||||
HOMEPAGE="http://xml-copy-editor.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/xml-copy-editor/${P}.tar.gz
|
||||
guidexml? ( mirror://gentoo/GuideXML-templates.tar.gz )"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~x86-macos"
|
||||
IUSE="aqua guidexml"
|
||||
|
||||
RDEPEND=">=dev-libs/libxml2-2.7.3-r1
|
||||
dev-libs/libxslt
|
||||
dev-libs/xerces-c[icu]
|
||||
dev-libs/libpcre
|
||||
app-text/aspell
|
||||
!aqua? ( x11-libs/wxGTK:2.8[X] )
|
||||
aqua? ( x11-libs/wxGTK:2.8[aqua] )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-libs/boost"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog README NEWS )
|
||||
|
||||
src_prepare() {
|
||||
# fix desktop file
|
||||
sed -i -e '/Categories/s/Application;//' \
|
||||
-e '/Icon/s/.png//' \
|
||||
-e 's/\r//g' \
|
||||
"src/${PN}.desktop" || die "sed on src/${PN}.desktop failed"
|
||||
# bug #440744
|
||||
sed -i -e 's/ -Wall -g -fexceptions//g' \
|
||||
-e '/CXXFLAGS/s/CPPFLAGS/CXXFLAGS/' \
|
||||
configure.ac || die 'sed on configure.ac failed'
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
if use guidexml; then
|
||||
insinto /usr/share/xmlcopyeditor/templates/
|
||||
for TEMPLATE in "${WORKDIR}"/GuideXML-templates/*.xml; do
|
||||
newins "${TEMPLATE}" "${TEMPLATE##*/}"
|
||||
done
|
||||
fi
|
||||
|
||||
}
|
@ -1,164 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/docker/docker-0.6.3-r1.ebuild,v 1.1 2013/10/05 17:41:13 gregkh Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="Docker complements LXC with a high-level API which operates at the process level."
|
||||
HOMEPAGE="http://www.docker.io/"
|
||||
SRC_URI=""
|
||||
|
||||
EGIT_REPO_URI="git://github.com/dotcloud/docker.git"
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
KEYWORDS=""
|
||||
else
|
||||
EGIT_COMMIT="v${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
inherit bash-completion-r1 git-2 linux-info systemd user
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="doc vim-syntax"
|
||||
|
||||
DEPEND="
|
||||
>=dev-lang/go-1.1.2
|
||||
dev-vcs/git
|
||||
dev-vcs/mercurial
|
||||
doc? (
|
||||
dev-python/sphinx
|
||||
dev-python/sphinxcontrib-httpdomain
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
!app-emulation/lxc-docker-bin
|
||||
>=app-arch/tar-1.26
|
||||
>=sys-apps/iproute2-3.5
|
||||
>=net-firewall/iptables-1.4
|
||||
>=app-emulation/lxc-0.8
|
||||
>=dev-vcs/git-1.7
|
||||
>=app-arch/xz-utils-4.9
|
||||
|| (
|
||||
sys-fs/aufs3
|
||||
sys-kernel/aufs-sources
|
||||
)
|
||||
"
|
||||
|
||||
RESTRICT="strip"
|
||||
|
||||
DOCKERFILE_VIM_S="${WORKDIR}/dockerfile.vim"
|
||||
|
||||
# TODO AUFS will be replaced with device-mapper (sys-fs/lvm2[static-libs]) in 0.7
|
||||
ERROR_AUFS_FS="AUFS_FS is required to be set if and only if aufs-sources are used"
|
||||
|
||||
ERROR_MEMCG_SWAP="MEMCG_SWAP is required if you wish to limit swap usage of containers"
|
||||
|
||||
pkg_setup() {
|
||||
CONFIG_CHECK+=" ~AUFS_FS ~BRIDGE ~MEMCG_SWAP ~NETFILTER_XT_MATCH_ADDRTYPE ~NF_NAT ~NF_NAT_NEEDED"
|
||||
check_extra_config
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
git-2_src_unpack
|
||||
|
||||
if use vim-syntax; then
|
||||
( # subshell to prevent environment leakage (and confusion of smart-live-rebuild)
|
||||
EGIT_SOURCEDIR="${DOCKERFILE_VIM_S}"
|
||||
EGIT_PROJECT="honza-dockerfile.vim.git"
|
||||
EGIT_REPO_URI="https://github.com/honza/dockerfile.vim.git"
|
||||
EGIT_MASTER="master"
|
||||
EGIT_BRANCH="${EGIT_MASTER}"
|
||||
EGIT_COMMIT="${EGIT_BRANCH}"
|
||||
EGIT_NOUNPACK="true"
|
||||
git-2_src_unpack
|
||||
)
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export CGO_ENABLED=0 # we need static linking!
|
||||
|
||||
export GOPATH="${WORKDIR}/gopath"
|
||||
mkdir -p "$GOPATH" || die
|
||||
|
||||
# copy GOROOT so we can build it without cgo and not modify anything in the REAL_GOROOT
|
||||
REAL_GOROOT="$(go env GOROOT)"
|
||||
export GOROOT="${WORKDIR}/goroot"
|
||||
rm -rf "$GOROOT" || die
|
||||
cp -R "$REAL_GOROOT" "$GOROOT" || die
|
||||
|
||||
# recompile GOROOT to be cgo-less and thus static-able (especially net package)
|
||||
go install -a -v std || die
|
||||
|
||||
# make sure docker itself is in our shiny new GOPATH
|
||||
mkdir -p "${GOPATH}/src/github.com/dotcloud" || die
|
||||
ln -sf "$(pwd -P)" "${GOPATH}/src/github.com/dotcloud/docker" || die
|
||||
|
||||
# we need our vendored deps, too
|
||||
export GOPATH="$GOPATH:$(pwd -P)/vendor"
|
||||
|
||||
# time to build!
|
||||
./hack/make.sh binary || die
|
||||
|
||||
# now copy the binary to a consistent location that doesn't involve the current version number
|
||||
mkdir -p bin || die
|
||||
VERSION=$(cat ./VERSION)
|
||||
cp -v bundles/$VERSION/binary/docker-$VERSION bin/docker || die
|
||||
|
||||
if use doc; then
|
||||
emake -C docs docs man || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/docker
|
||||
dodoc AUTHORS CONTRIBUTING.md CHANGELOG.md MAINTAINERS NOTICE README.md
|
||||
|
||||
newinitd "${FILESDIR}/docker-r2.initd" docker
|
||||
newconfd "${FILESDIR}/docker-r2.confd" docker
|
||||
|
||||
systemd_dounit "${FILESDIR}/docker.service"
|
||||
|
||||
insinto /usr/share/${P}/contrib
|
||||
doins contrib/README
|
||||
cp -R "${S}/contrib"/* "${D}/usr/share/${P}/contrib/"
|
||||
|
||||
newbashcomp contrib/docker.bash docker
|
||||
|
||||
if use doc; then
|
||||
dohtml -r docs/_build/html/*
|
||||
doman docs/_build/man/*
|
||||
fi
|
||||
|
||||
if use vim-syntax; then
|
||||
insinto /usr/share/vim/vimfiles
|
||||
doins -r "${DOCKERFILE_VIM_S}/ftdetect"
|
||||
doins -r "${DOCKERFILE_VIM_S}/syntax"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog ""
|
||||
elog "To use docker, the docker daemon must be running as root. To automatically"
|
||||
elog "start the docker daemon at boot, add docker to the default runlevel:"
|
||||
elog " rc-update add docker default"
|
||||
elog "Similarly for systemd:"
|
||||
elog " systemctl enable docker.service"
|
||||
elog ""
|
||||
|
||||
# create docker group if the code checking for it in /etc/group exists
|
||||
enewgroup docker
|
||||
|
||||
elog "To use docker as a non-root user, add yourself to the docker group."
|
||||
elog ""
|
||||
|
||||
ewarn ""
|
||||
ewarn "If you want your containers to have access to the public internet or even"
|
||||
ewarn "the existing private network, IP Forwarding must be enabled:"
|
||||
ewarn " sysctl -w net.ipv4.ip_forward=1"
|
||||
ewarn "or more permanently:"
|
||||
ewarn " echo net.ipv4.ip_forward = 1 > /etc/sysctl.d/${PN}.conf"
|
||||
ewarn "Please be mindful of the security implications of enabling IP Forwarding."
|
||||
ewarn ""
|
||||
}
|
@ -1,163 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/docker/docker-0.6.3.ebuild,v 1.1 2013/09/25 03:22:15 gregkh Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="Docker complements LXC with a high-level API which operates at the process level."
|
||||
HOMEPAGE="http://www.docker.io/"
|
||||
SRC_URI=""
|
||||
|
||||
EGIT_REPO_URI="git://github.com/dotcloud/docker.git"
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
KEYWORDS=""
|
||||
else
|
||||
EGIT_COMMIT="v${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
inherit bash-completion-r1 git-2 linux-info systemd user
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="doc vim-syntax"
|
||||
|
||||
DEPEND="
|
||||
>=dev-lang/go-1.1.2
|
||||
dev-vcs/git
|
||||
dev-vcs/mercurial
|
||||
doc? (
|
||||
dev-python/sphinx
|
||||
dev-python/sphinxcontrib-httpdomain
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
!app-emulation/lxc-docker-bin
|
||||
>=app-arch/tar-1.26
|
||||
>=sys-apps/iproute2-3.5
|
||||
>=net-firewall/iptables-1.4
|
||||
>=app-emulation/lxc-0.8
|
||||
>=dev-vcs/git-1.7
|
||||
|| (
|
||||
sys-fs/aufs3
|
||||
sys-kernel/aufs-sources
|
||||
)
|
||||
"
|
||||
|
||||
RESTRICT="strip"
|
||||
|
||||
DOCKERFILE_VIM_S="${WORKDIR}/dockerfile.vim"
|
||||
|
||||
# TODO AUFS will be replaced with device-mapper (sys-fs/lvm2[static-libs]) in 0.7
|
||||
ERROR_AUFS_FS="AUFS_FS is required to be set if and only if aufs-sources are used"
|
||||
|
||||
ERROR_MEMCG_SWAP="MEMCG_SWAP is required if you wish to limit swap usage of containers"
|
||||
|
||||
pkg_setup() {
|
||||
CONFIG_CHECK+=" ~AUFS_FS ~BRIDGE ~MEMCG_SWAP ~NETFILTER_XT_MATCH_ADDRTYPE ~NF_NAT ~NF_NAT_NEEDED"
|
||||
check_extra_config
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
git-2_src_unpack
|
||||
|
||||
if use vim-syntax; then
|
||||
( # subshell to prevent environment leakage (and confusion of smart-live-rebuild)
|
||||
EGIT_SOURCEDIR="${DOCKERFILE_VIM_S}"
|
||||
EGIT_PROJECT="honza-dockerfile.vim.git"
|
||||
EGIT_REPO_URI="https://github.com/honza/dockerfile.vim.git"
|
||||
EGIT_MASTER="master"
|
||||
EGIT_BRANCH="${EGIT_MASTER}"
|
||||
EGIT_COMMIT="${EGIT_BRANCH}"
|
||||
EGIT_NOUNPACK="true"
|
||||
git-2_src_unpack
|
||||
)
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export CGO_ENABLED=0 # we need static linking!
|
||||
|
||||
export GOPATH="${WORKDIR}/gopath"
|
||||
mkdir -p "$GOPATH" || die
|
||||
|
||||
# copy GOROOT so we can build it without cgo and not modify anything in the REAL_GOROOT
|
||||
REAL_GOROOT="$(go env GOROOT)"
|
||||
export GOROOT="${WORKDIR}/goroot"
|
||||
rm -rf "$GOROOT" || die
|
||||
cp -R "$REAL_GOROOT" "$GOROOT" || die
|
||||
|
||||
# recompile GOROOT to be cgo-less and thus static-able (especially net package)
|
||||
go install -a -v std || die
|
||||
|
||||
# make sure docker itself is in our shiny new GOPATH
|
||||
mkdir -p "${GOPATH}/src/github.com/dotcloud" || die
|
||||
ln -sf "$(pwd -P)" "${GOPATH}/src/github.com/dotcloud/docker" || die
|
||||
|
||||
# we need our vendored deps, too
|
||||
export GOPATH="$GOPATH:$(pwd -P)/vendor"
|
||||
|
||||
# time to build!
|
||||
./hack/make.sh binary || die
|
||||
|
||||
# now copy the binary to a consistent location that doesn't involve the current version number
|
||||
mkdir -p bin || die
|
||||
VERSION=$(cat ./VERSION)
|
||||
cp -v bundles/$VERSION/binary/docker-$VERSION bin/docker || die
|
||||
|
||||
if use doc; then
|
||||
emake -C docs docs man || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/docker
|
||||
dodoc AUTHORS CONTRIBUTING.md CHANGELOG.md MAINTAINERS NOTICE README.md
|
||||
|
||||
newinitd "${FILESDIR}/docker-r2.initd" docker
|
||||
newconfd "${FILESDIR}/docker-r2.confd" docker
|
||||
|
||||
systemd_dounit "${FILESDIR}/docker.service"
|
||||
|
||||
insinto /usr/share/${P}/contrib
|
||||
doins contrib/README
|
||||
cp -R "${S}/contrib"/* "${D}/usr/share/${P}/contrib/"
|
||||
|
||||
newbashcomp contrib/docker.bash docker
|
||||
|
||||
if use doc; then
|
||||
dohtml -r docs/_build/html/*
|
||||
doman docs/_build/man/*
|
||||
fi
|
||||
|
||||
if use vim-syntax; then
|
||||
insinto /usr/share/vim/vimfiles
|
||||
doins -r "${DOCKERFILE_VIM_S}/ftdetect"
|
||||
doins -r "${DOCKERFILE_VIM_S}/syntax"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog ""
|
||||
elog "To use docker, the docker daemon must be running as root. To automatically"
|
||||
elog "start the docker daemon at boot, add docker to the default runlevel:"
|
||||
elog " rc-update add docker default"
|
||||
elog "Similarly for systemd:"
|
||||
elog " systemctl enable docker.service"
|
||||
elog ""
|
||||
|
||||
# create docker group if the code checking for it in /etc/group exists
|
||||
enewgroup docker
|
||||
|
||||
elog "To use docker as a non-root user, add yourself to the docker group."
|
||||
elog ""
|
||||
|
||||
ewarn ""
|
||||
ewarn "If you want your containers to have access to the public internet or even"
|
||||
ewarn "the existing private network, IP Forwarding must be enabled:"
|
||||
ewarn " sysctl -w net.ipv4.ip_forward=1"
|
||||
ewarn "or more permanently:"
|
||||
ewarn " echo net.ipv4.ip_forward = 1 > /etc/sysctl.d/${PN}.conf"
|
||||
ewarn "Please be mindful of the security implications of enabling IP Forwarding."
|
||||
ewarn ""
|
||||
}
|
@ -1,151 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/docker/docker-0.6.6.ebuild,v 1.1 2013/11/11 06:19:00 gregkh Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="Docker complements LXC with a high-level API which operates at the process level."
|
||||
HOMEPAGE="http://www.docker.io/"
|
||||
SRC_URI=""
|
||||
|
||||
EGIT_REPO_URI="git://github.com/dotcloud/docker.git"
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
KEYWORDS=""
|
||||
else
|
||||
EGIT_COMMIT="v${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
inherit bash-completion-r1 git-2 linux-info systemd user
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="doc vim-syntax"
|
||||
|
||||
CDEPEND="
|
||||
>=dev-db/sqlite-3.7.9:3
|
||||
"
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
>=dev-lang/go-1.1.2
|
||||
dev-vcs/git
|
||||
dev-vcs/mercurial
|
||||
doc? (
|
||||
dev-python/sphinx
|
||||
dev-python/sphinxcontrib-httpdomain
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
!app-emulation/lxc-docker-bin
|
||||
>=app-arch/tar-1.26
|
||||
>=sys-apps/iproute2-3.5
|
||||
>=net-firewall/iptables-1.4
|
||||
>=app-emulation/lxc-0.8
|
||||
>=dev-vcs/git-1.7
|
||||
>=app-arch/xz-utils-4.9
|
||||
|| (
|
||||
sys-fs/aufs3
|
||||
sys-kernel/aufs-sources
|
||||
)
|
||||
"
|
||||
|
||||
RESTRICT="strip"
|
||||
|
||||
CONFIG_CHECK="
|
||||
~AUFS_FS
|
||||
~BRIDGE
|
||||
~MEMCG_SWAP
|
||||
~NETFILTER_XT_MATCH_ADDRTYPE
|
||||
~NF_NAT
|
||||
~NF_NAT_NEEDED
|
||||
"
|
||||
|
||||
# TODO AUFS will be replaced with device-mapper (requires sys-fs/lvm2[thin]) in 0.7
|
||||
ERROR_AUFS_FS="AUFS_FS is required to be set if and only if aufs-sources are used"
|
||||
|
||||
ERROR_MEMCG_SWAP="MEMCG_SWAP is required if you wish to limit swap usage of containers"
|
||||
|
||||
pkg_setup() {
|
||||
check_extra_config
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
git-2_src_unpack
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export GOPATH="${WORKDIR}/gopath"
|
||||
mkdir -p "$GOPATH" || die
|
||||
|
||||
# make sure docker itself is in our shiny new GOPATH
|
||||
mkdir -p "${GOPATH}/src/github.com/dotcloud" || die
|
||||
ln -sf "$(pwd -P)" "${GOPATH}/src/github.com/dotcloud/docker" || die
|
||||
|
||||
# we need our vendored deps, too
|
||||
export GOPATH="$GOPATH:$(pwd -P)/vendor"
|
||||
|
||||
# time to build!
|
||||
./hack/make.sh dynbinary || die
|
||||
|
||||
if use doc; then
|
||||
emake -C docs docs || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
VERSION=$(cat VERSION)
|
||||
newbin bundles/$VERSION/dynbinary/docker-$VERSION docker
|
||||
exeinto /usr/libexec/docker
|
||||
newexe bundles/$VERSION/dynbinary/dockerinit-$VERSION dockerinit
|
||||
|
||||
newinitd contrib/init/openrc/docker.initd docker
|
||||
newconfd contrib/init/openrc/docker.confd docker
|
||||
|
||||
systemd_dounit contrib/init/systemd/docker.service
|
||||
|
||||
dodoc AUTHORS CONTRIBUTING.md CHANGELOG.md NOTICE README.md
|
||||
if use doc; then
|
||||
dohtml -r docs/_build/html/*
|
||||
fi
|
||||
|
||||
dobashcomp contrib/completion/bash/*
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins contrib/completion/zsh/*
|
||||
|
||||
if use vim-syntax; then
|
||||
insinto /usr/share/vim/vimfiles
|
||||
doins -r contrib/vim-syntax/ftdetect
|
||||
doins -r contrib/vim-syntax/syntax
|
||||
fi
|
||||
|
||||
insinto /usr/share/${P}/contrib
|
||||
doins contrib/README
|
||||
cp -R "${S}/contrib"/* "${D}/usr/share/${P}/contrib/"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog ""
|
||||
elog "To use docker, the docker daemon must be running as root. To automatically"
|
||||
elog "start the docker daemon at boot, add docker to the default runlevel:"
|
||||
elog " rc-update add docker default"
|
||||
elog "Similarly for systemd:"
|
||||
elog " systemctl enable docker.service"
|
||||
elog ""
|
||||
|
||||
# create docker group if the code checking for it in /etc/group exists
|
||||
enewgroup docker
|
||||
|
||||
elog "To use docker as a non-root user, add yourself to the docker group."
|
||||
elog ""
|
||||
|
||||
ewarn ""
|
||||
ewarn "If you want your containers to have access to the public internet or even"
|
||||
ewarn "the existing private network, IP Forwarding must be enabled:"
|
||||
ewarn " sysctl -w net.ipv4.ip_forward=1"
|
||||
ewarn "or more permanently:"
|
||||
ewarn " echo net.ipv4.ip_forward = 1 > /etc/sysctl.d/${PN}.conf"
|
||||
ewarn "Please be mindful of the security implications of enabling IP Forwarding."
|
||||
ewarn ""
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-additions/virtualbox-additions-4.2.22.ebuild,v 1.1 2014/01/11 21:19:10 polynomial-c Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils
|
||||
|
||||
MY_PN=VBoxGuestAdditions
|
||||
MY_PV="${PV/beta/BETA}"
|
||||
MY_PV="${MY_PV/rc/RC}"
|
||||
MY_P=${MY_PN}_${MY_PV}
|
||||
|
||||
DESCRIPTION="CD image containing guest additions for VirtualBox"
|
||||
HOMEPAGE="http://www.virtualbox.org/"
|
||||
SRC_URI="http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.iso"
|
||||
|
||||
LICENSE="GPL-2+ LGPL-2.1+ MIT SGI-B-2.0 CDDL"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
RESTRICT="mirror"
|
||||
|
||||
RDEPEND="!app-emulation/virtualbox-bin
|
||||
!=app-emulation/virtualbox-9999"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_unpack() {
|
||||
return 0
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/${PN/-additions}
|
||||
newins "${DISTDIR}"/${MY_P}.iso ${MY_PN}.iso
|
||||
}
|
@ -0,0 +1,345 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-bin/virtualbox-bin-4.2.22.ebuild,v 1.1 2014/01/11 21:18:04 polynomial-c Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils unpacker fdo-mime gnome2 pax-utils udev
|
||||
|
||||
MY_PV=${PV/beta/BETA}
|
||||
MY_PV=${MY_PV/rc/RC}
|
||||
VBOX_PV=${MY_PV}-91556
|
||||
SDK_PV=${VBOX_PV}
|
||||
EXTP_PV=${SDK_PV}
|
||||
MY_P=VirtualBox-${VBOX_PV}-Linux
|
||||
EXTP_PN=Oracle_VM_VirtualBox_Extension_Pack
|
||||
|
||||
DESCRIPTION="Family of powerful x86 virtualization products for enterprise as well as home use"
|
||||
HOMEPAGE="http://www.virtualbox.org/"
|
||||
SRC_URI="amd64? ( http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}_amd64.run )
|
||||
x86? ( http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}_x86.run )
|
||||
sdk? ( http://download.virtualbox.org/virtualbox/${MY_PV}/VirtualBoxSDK-${SDK_PV}.zip )
|
||||
http://download.virtualbox.org/virtualbox/${MY_PV}/${EXTP_PN}-${EXTP_PV}.vbox-extpack -> ${EXTP_PN}-${EXTP_PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 PUEL"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+additions +chm headless python sdk vboxwebsrv rdesktop-vrdp"
|
||||
RESTRICT="mirror"
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
|
||||
RDEPEND="!!app-emulation/virtualbox
|
||||
!app-emulation/virtualbox-additions
|
||||
~app-emulation/virtualbox-modules-${PV}
|
||||
!headless? (
|
||||
x11-libs/libXcursor
|
||||
media-libs/libsdl[X]
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXfixes
|
||||
media-libs/libpng
|
||||
x11-libs/libXi
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXinerama
|
||||
x11-libs/libXft
|
||||
media-libs/freetype
|
||||
media-libs/fontconfig
|
||||
x11-libs/libXext
|
||||
dev-libs/glib
|
||||
chm? ( dev-libs/expat )
|
||||
)
|
||||
x11-libs/libXt
|
||||
dev-libs/libxml2
|
||||
x11-libs/libXau
|
||||
x11-libs/libX11
|
||||
x11-libs/libXmu
|
||||
x11-libs/libSM
|
||||
x11-libs/libICE
|
||||
x11-libs/libXdmcp
|
||||
python? ( || (
|
||||
dev-lang/python:2.7
|
||||
dev-lang/python:2.6
|
||||
) )"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
QA_TEXTRELS_amd64="opt/VirtualBox/VBoxVMM.so"
|
||||
QA_TEXTRELS_x86="opt/VirtualBox/VBoxGuestPropSvc.so
|
||||
opt/VirtualBox/VBoxSDL.so
|
||||
opt/VirtualBox/VBoxDbg.so
|
||||
opt/VirtualBox/VBoxSharedFolders.so
|
||||
opt/VirtualBox/VBoxDD2.so
|
||||
opt/VirtualBox/VBoxOGLrenderspu.so
|
||||
opt/VirtualBox/VBoxPython.so
|
||||
opt/VirtualBox/VBoxPython2_6.so
|
||||
opt/VirtualBox/VBoxPython2_7.so
|
||||
opt/VirtualBox/VBoxDD.so
|
||||
opt/VirtualBox/VBoxVRDP.so
|
||||
opt/VirtualBox/VBoxDDU.so
|
||||
opt/VirtualBox/VBoxREM64.so
|
||||
opt/VirtualBox/VBoxSharedClipboard.so
|
||||
opt/VirtualBox/VBoxHeadless.so
|
||||
opt/VirtualBox/VBoxRT.so
|
||||
opt/VirtualBox/VRDPAuth.so
|
||||
opt/VirtualBox/VBoxREM.so
|
||||
opt/VirtualBox/VBoxSettings.so
|
||||
opt/VirtualBox/VBoxKeyboard.so
|
||||
opt/VirtualBox/VBoxSharedCrOpenGL.so
|
||||
opt/VirtualBox/VBoxVMM.so
|
||||
opt/VirtualBox/VirtualBox.so
|
||||
opt/VirtualBox/VBoxOGLhosterrorspu.so
|
||||
opt/VirtualBox/components/VBoxC.so
|
||||
opt/VirtualBox/components/VBoxSVCM.so
|
||||
opt/VirtualBox/VBoxREM32.so
|
||||
opt/VirtualBox/VBoxXPCOMC.so
|
||||
opt/VirtualBox/VBoxOGLhostcrutil.so
|
||||
opt/VirtualBox/VBoxNetDHCP.so
|
||||
opt/VirtualBox/VBoxGuestControlSvc.so"
|
||||
QA_PRESTRIPPED="opt/VirtualBox/VBoxDD.so
|
||||
opt/VirtualBox/VBoxDD2.so
|
||||
opt/VirtualBox/VBoxDDU.so
|
||||
opt/VirtualBox/VBoxDbg.so
|
||||
opt/VirtualBox/VBoxGuestControlSvc.so
|
||||
opt/VirtualBox/VBoxGuestPropSvc.so
|
||||
opt/VirtualBox/VBoxHeadless
|
||||
opt/VirtualBox/VBoxHeadless.so
|
||||
opt/VirtualBox/VBoxKeyboard.so
|
||||
opt/VirtualBox/VBoxManage
|
||||
opt/VirtualBox/VBoxNetAdpCtl
|
||||
opt/VirtualBox/VBoxNetDHCP
|
||||
opt/VirtualBox/VBoxNetDHCP.so
|
||||
opt/VirtualBox/VBoxOGLhostcrutil.so
|
||||
opt/VirtualBox/VBoxOGLhosterrorspu.so
|
||||
opt/VirtualBox/VBoxOGLrenderspu.so
|
||||
opt/VirtualBox/VBoxPython.so
|
||||
opt/VirtualBox/VBoxPython2_6.so
|
||||
opt/VirtualBox/VBoxPython2_7.so
|
||||
opt/VirtualBox/VBoxREM.so
|
||||
opt/VirtualBox/VBoxREM32.so
|
||||
opt/VirtualBox/VBoxREM64.so
|
||||
opt/VirtualBox/VBoxRT.so
|
||||
opt/VirtualBox/VBoxSDL
|
||||
opt/VirtualBox/VBoxSDL.so
|
||||
opt/VirtualBox/VBoxSVC
|
||||
opt/VirtualBox/VBoxSettings.so
|
||||
opt/VirtualBox/VBoxSharedClipboard.so
|
||||
opt/VirtualBox/VBoxSharedCrOpenGL.so
|
||||
opt/VirtualBox/VBoxSharedFolders.so
|
||||
opt/VirtualBox/VBoxTestOGL
|
||||
opt/VirtualBox/VBoxTunctl
|
||||
opt/VirtualBox/VBoxVMM.so
|
||||
opt/VirtualBox/VBoxVRDP.so
|
||||
opt/VirtualBox/VBoxXPCOM.so
|
||||
opt/VirtualBox/VBoxXPCOMC.so
|
||||
opt/VirtualBox/VBoxXPCOMIPCD
|
||||
opt/VirtualBox/VRDPAuth.so
|
||||
opt/VirtualBox/VirtualBox
|
||||
opt/VirtualBox/VirtualBox.so
|
||||
opt/VirtualBox/accessible/libqtaccessiblewidgets.so
|
||||
opt/VirtualBox/components/VBoxC.so
|
||||
opt/VirtualBox/components/VBoxSVCM.so
|
||||
opt/VirtualBox/components/VBoxXPCOMIPCC.so
|
||||
opt/VirtualBox/kchmviewer
|
||||
opt/VirtualBox/libQtCoreVBox.so.4
|
||||
opt/VirtualBox/libQtGuiVBox.so.4
|
||||
opt/VirtualBox/libQtNetworkVBox.so.4
|
||||
opt/VirtualBox/libQtOpenGLVBox.so.4
|
||||
opt/VirtualBox/vboxwebsrv"
|
||||
|
||||
PYTHON_UPDATER_IGNORE="1"
|
||||
|
||||
src_unpack() {
|
||||
unpack_makeself ${MY_P}_${ARCH}.run
|
||||
unpack ./VirtualBox.tar.bz2
|
||||
|
||||
mkdir "${S}"/${EXTP_PN} || die
|
||||
pushd "${S}"/${EXTP_PN} &>/dev/null || die
|
||||
unpack ${EXTP_PN}-${EXTP_PV}.tar.gz
|
||||
popd &>/dev/null || die
|
||||
|
||||
if use sdk; then
|
||||
unpack VirtualBoxSDK-${SDK_PV}.zip
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
:;
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
:;
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# create virtualbox configurations files
|
||||
insinto /etc/vbox
|
||||
newins "${FILESDIR}/${PN}-config" vbox.cfg
|
||||
|
||||
if ! use headless ; then
|
||||
pushd "${S}"/icons &>/dev/null || die
|
||||
for size in * ; do
|
||||
if [ -f "${size}/virtualbox.png" ] ; then
|
||||
insinto "/usr/share/icons/hicolor/${size}/apps"
|
||||
newins "${size}/virtualbox.png" ${PN}.png
|
||||
fi
|
||||
done
|
||||
dodir /usr/share/pixmaps
|
||||
cp "48x48/virtualbox.png" "${D}/usr/share/pixmaps/${PN}.png" \
|
||||
|| die
|
||||
popd &>/dev/null || die
|
||||
|
||||
newmenu "${FILESDIR}"/${PN}.desktop-2 ${PN}.desktop
|
||||
fi
|
||||
|
||||
pushd "${S}"/${EXTP_PN} &>/dev/null || die
|
||||
insinto /opt/VirtualBox/ExtensionPacks/${EXTP_PN}
|
||||
doins -r linux.${ARCH}
|
||||
doins ExtPack* PXE-Intel.rom
|
||||
popd &>/dev/null || die
|
||||
rm -rf "${S}"/${EXTP_PN}
|
||||
|
||||
insinto /opt/VirtualBox
|
||||
dodir /opt/bin
|
||||
|
||||
doins UserManual.pdf
|
||||
|
||||
if use sdk ; then
|
||||
doins -r sdk
|
||||
fi
|
||||
|
||||
if use additions; then
|
||||
doins -r additions
|
||||
fi
|
||||
|
||||
if use vboxwebsrv; then
|
||||
doins vboxwebsrv
|
||||
fowners root:vboxusers /opt/VirtualBox/vboxwebsrv
|
||||
fperms 0750 /opt/VirtualBox/vboxwebsrv
|
||||
dosym /opt/VirtualBox/VBox.sh /opt/bin/vboxwebsrv
|
||||
newinitd "${FILESDIR}"/vboxwebsrv-initd vboxwebsrv
|
||||
newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv
|
||||
fi
|
||||
|
||||
if use rdesktop-vrdp; then
|
||||
doins rdesktop-vrdp
|
||||
doins -r rdesktop-vrdp-keymaps
|
||||
fperms 0750 /opt/VirtualBox/rdesktop-vrdp
|
||||
dosym /opt/VirtualBox/rdesktop-vrdp /opt/bin/rdesktop-vrdp
|
||||
fi
|
||||
|
||||
if ! use headless && use chm; then
|
||||
doins kchmviewer VirtualBox.chm
|
||||
fowners root:vboxusers /opt/VirtualBox/kchmviewer
|
||||
fperms 0750 /opt/VirtualBox/kchmviewer
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
local pyslot
|
||||
for pyslot in 2.6 2.7; do
|
||||
if has_version "dev-lang/python:${pyslot}" && [ -f "${S}/VBoxPython${pyslot/./_}.so" ] ; then
|
||||
doins VBoxPython${pyslot/./_}.so
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
rm -rf src rdesktop* deffiles install* routines.sh runlevel.sh \
|
||||
vboxdrv.sh VBox.sh VBox.png vboxnet.sh additions VirtualBox.desktop \
|
||||
VirtualBox.tar.bz2 LICENSE VBoxSysInfo.sh rdesktop* vboxwebsrv \
|
||||
webtest kchmviewer VirtualBox.chm vbox-create-usb-node.sh \
|
||||
90-vbox-usb.fdi uninstall.sh vboxshell.py vboxdrv-pardus.py \
|
||||
VBoxPython?_*.so
|
||||
|
||||
if use headless ; then
|
||||
rm -rf VBoxSDL VirtualBox VBoxKeyboard.so
|
||||
fi
|
||||
|
||||
doins -r * || die
|
||||
|
||||
# create symlinks for working around unsupported $ORIGIN/.. in VBoxC.so (setuid)
|
||||
dosym /opt/VirtualBox/VBoxVMM.so /opt/VirtualBox/components/VBoxVMM.so
|
||||
dosym /opt/VirtualBox/VBoxREM.so /opt/VirtualBox/components/VBoxREM.so
|
||||
dosym /opt/VirtualBox/VBoxRT.so /opt/VirtualBox/components/VBoxRT.so
|
||||
dosym /opt/VirtualBox/VBoxDDU.so /opt/VirtualBox/components/VBoxDDU.so
|
||||
dosym /opt/VirtualBox/VBoxXPCOM.so /opt/VirtualBox/components/VBoxXPCOM.so
|
||||
|
||||
local each
|
||||
for each in VBox{Manage,SVC,XPCOMIPCD,Tunctl,NetAdpCtl,NetDHCP,TestOGL,ExtPackHelperApp}; do
|
||||
fowners root:vboxusers /opt/VirtualBox/${each}
|
||||
fperms 0750 /opt/VirtualBox/${each}
|
||||
pax-mark -m "${D}"/opt/VirtualBox/${each}
|
||||
done
|
||||
# VBoxNetAdpCtl and VBoxNetDHCP binaries need to be suid root in any case..
|
||||
fperms 4750 /opt/VirtualBox/VBoxNetAdpCtl
|
||||
fperms 4750 /opt/VirtualBox/VBoxNetDHCP
|
||||
|
||||
if ! use headless ; then
|
||||
# Hardened build: Mark selected binaries set-user-ID-on-execution
|
||||
for each in VBox{SDL,Headless} VirtualBox; do
|
||||
fowners root:vboxusers /opt/VirtualBox/${each}
|
||||
fperms 4510 /opt/VirtualBox/${each}
|
||||
pax-mark -m "${D}"/opt/VirtualBox/${each}
|
||||
done
|
||||
|
||||
dosym /opt/VirtualBox/VBox.sh /opt/bin/VirtualBox
|
||||
dosym /opt/VirtualBox/VBox.sh /opt/bin/VBoxSDL
|
||||
else
|
||||
# Hardened build: Mark selected binaries set-user-ID-on-execution
|
||||
fowners root:vboxusers /opt/VirtualBox/VBoxHeadless
|
||||
fperms 4510 /opt/VirtualBox/VBoxHeadless
|
||||
pax-mark -m "${D}"/opt/VirtualBox/VBoxHeadless
|
||||
fi
|
||||
|
||||
exeinto /opt/VirtualBox
|
||||
newexe "${FILESDIR}/${PN}-3-wrapper" "VBox.sh"
|
||||
fowners root:vboxusers /opt/VirtualBox/VBox.sh
|
||||
fperms 0750 /opt/VirtualBox/VBox.sh
|
||||
|
||||
dosym /opt/VirtualBox/VBox.sh /opt/bin/VBoxManage
|
||||
dosym /opt/VirtualBox/VBox.sh /opt/bin/VBoxVRDP
|
||||
dosym /opt/VirtualBox/VBox.sh /opt/bin/VBoxHeadless
|
||||
dosym /opt/VirtualBox/VBoxTunctl /opt/bin/VBoxTunctl
|
||||
|
||||
# set an env-variable for 3rd party tools
|
||||
echo -n "VBOX_APP_HOME=/opt/VirtualBox" > "${T}/90virtualbox"
|
||||
doenvd "${T}/90virtualbox"
|
||||
|
||||
local udevdir="$(udev_get_udevdir)"
|
||||
insinto ${udevdir}/rules.d
|
||||
doins "${FILESDIR}"/10-virtualbox.rules
|
||||
sed "s@%UDEVDIR%@${udevdir}@" \
|
||||
-i "${D}"${udevdir}/rules.d/10-virtualbox.rules || die
|
||||
# move udev scripts into ${udevdir} (bug #372491)
|
||||
mv "${D}"/opt/VirtualBox/VBoxCreateUSBNode.sh "${D}"${udevdir} || die
|
||||
fperms 0750 ${udevdir}/VBoxCreateUSBNode.sh
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
|
||||
gnome2_icon_cache_update
|
||||
|
||||
udevadm control --reload-rules && udevadm trigger --subsystem-match=usb
|
||||
|
||||
elog ""
|
||||
if ! use headless ; then
|
||||
elog "To launch VirtualBox just type: \"VirtualBox\""
|
||||
elog ""
|
||||
fi
|
||||
elog "You must be in the vboxusers group to use VirtualBox."
|
||||
elog ""
|
||||
elog "For advanced networking setups you should emerge:"
|
||||
elog "net-misc/bridge-utils and sys-apps/usermode-utilities"
|
||||
elog ""
|
||||
elog "Please visit http://www.virtualbox.org/wiki/Editions for"
|
||||
elog "an overview about the different features of ${PN}"
|
||||
elog "and virtualbox-ose"
|
||||
if [ -e "${ROOT}/etc/udev/rules.d/10-virtualbox.rules" ] ; then
|
||||
elog ""
|
||||
elog "Please remove \"${ROOT}/etc/udev/rules.d/10-virtualbox.rules\""
|
||||
elog "or else USB in ${PN} won't work."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-4.2.22.ebuild,v 1.1 2014/01/11 21:19:34 polynomial-c Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils multilib
|
||||
|
||||
MY_BUILD="91556"
|
||||
MY_PN="Oracle_VM_VirtualBox_Extension_Pack"
|
||||
MY_PV="${PV/beta/BETA}"
|
||||
MY_PV="${MY_PV/rc/RC}"
|
||||
MY_P="${MY_PN}-${MY_PV}-${MY_BUILD}"
|
||||
|
||||
DESCRIPTION="PUEL extensions for VirtualBox"
|
||||
HOMEPAGE="http://www.virtualbox.org/"
|
||||
SRC_URI="http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.vbox-extpack -> ${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="PUEL"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
RESTRICT="mirror strip"
|
||||
|
||||
RDEPEND="~app-emulation/virtualbox-${PV}"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
QA_PREBUILT="/usr/$(get_libdir)/virtualbox/ExtensionPacks/${MY_PN}/.*"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/$(get_libdir)/virtualbox/ExtensionPacks/${MY_PN}
|
||||
doins -r linux.${ARCH}
|
||||
doins ExtPack* PXE-Intel.rom
|
||||
}
|
@ -0,0 +1,208 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-4.2.22.ebuild,v 1.1 2014/01/11 21:26:05 polynomial-c Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils linux-mod systemd user
|
||||
|
||||
MY_PV="${PV/beta/BETA}"
|
||||
MY_PV="${PV/rc/RC}"
|
||||
MY_P=VirtualBox-${MY_PV}
|
||||
DESCRIPTION="VirtualBox kernel modules and user-space tools for Gentoo guests"
|
||||
HOMEPAGE="http://www.virtualbox.org/"
|
||||
SRC_URI="http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="X"
|
||||
|
||||
RDEPEND="X? ( ~x11-drivers/xf86-video-virtualbox-${PV}
|
||||
x11-apps/xrandr
|
||||
x11-apps/xrefresh
|
||||
x11-libs/libXmu
|
||||
x11-libs/libX11
|
||||
x11-libs/libXt
|
||||
x11-libs/libXext
|
||||
x11-libs/libXau
|
||||
x11-libs/libXdmcp
|
||||
x11-libs/libSM
|
||||
x11-libs/libICE
|
||||
x11-proto/glproto )
|
||||
sys-apps/dbus
|
||||
!!x11-drivers/xf86-input-virtualbox"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/kbuild-0.1.9998_pre20120806
|
||||
>=dev-lang/yasm-0.6.2
|
||||
sys-devel/bin86
|
||||
sys-libs/pam
|
||||
sys-power/iasl
|
||||
X? ( x11-proto/renderproto )
|
||||
!X? ( x11-proto/xproto )"
|
||||
|
||||
BUILD_TARGETS="all"
|
||||
BUILD_TARGET_ARCH="${ARCH}"
|
||||
MODULE_NAMES="vboxguest(misc:${WORKDIR}/vboxguest:${WORKDIR}/vboxguest)
|
||||
vboxsf(misc:${WORKDIR}/vboxsf:${WORKDIR}/vboxsf)"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
pkg_setup() {
|
||||
linux-mod_pkg_setup
|
||||
BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}"
|
||||
enewgroup vboxguest
|
||||
enewuser vboxguest -1 /bin/sh /dev/null vboxguest
|
||||
# automount Error: VBoxServiceAutoMountWorker: Group "vboxsf" does not exist
|
||||
enewgroup vboxsf
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
|
||||
# Create and unpack a tarball with the sources of the Linux guest
|
||||
# kernel modules, to include all the needed files
|
||||
"${S}"/src/VBox/Additions/linux/export_modules "${WORKDIR}/vbox-kmod.tar.gz"
|
||||
unpack ./vbox-kmod.tar.gz
|
||||
|
||||
# Remove shipped binaries (kBuild,yasm), see bug #232775
|
||||
cd "${S}"
|
||||
rm -rf kBuild/bin tools
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# PaX fixes (see bug #298988)
|
||||
pushd "${WORKDIR}" &>/dev/null || die
|
||||
epatch "${FILESDIR}"/vboxguest-4.1.0-log-use-c99.patch
|
||||
popd &>/dev/null || die
|
||||
|
||||
# Disable things unused or splitted into separate ebuilds
|
||||
cp "${FILESDIR}/${PN}-3-localconfig" LocalConfig.kmk
|
||||
|
||||
# stupid new header references...
|
||||
for vboxheader in {product,revision}-generated.h ; do
|
||||
for mdir in vbox{guest,sf} ; do
|
||||
ln -sf "${S}"/out/linux.${ARCH}/release/${vboxheader} \
|
||||
"${WORKDIR}/${mdir}/${vboxheader}"
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# build the user-space tools, warnings are harmless
|
||||
./configure --nofatal \
|
||||
--disable-xpcom \
|
||||
--disable-sdl-ttf \
|
||||
--disable-pulse \
|
||||
--disable-alsa \
|
||||
--build-headless || die "configure failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
source ./env.sh
|
||||
|
||||
for each in /src/VBox/{Runtime,Additions/common} \
|
||||
/src/VBox/Additions/linux/{sharedfolders,daemon} ; do
|
||||
cd "${S}"${each}
|
||||
MAKE="kmk" emake TOOL_YASM_AS=yasm \
|
||||
KBUILD_PATH="${S}/kBuild" \
|
||||
KBUILD_VERBOSE=2
|
||||
done
|
||||
|
||||
if use X; then
|
||||
cd "${S}"/src/VBox/Additions/x11/VBoxClient
|
||||
MAKE="kmk" emake TOOL_YASM_AS=yasm \
|
||||
KBUILD_PATH="${S}/kBuild"
|
||||
fi
|
||||
|
||||
# Now creating the kernel modules. We must do this _after_
|
||||
# we compiled the user-space tools as we need two of the
|
||||
# automatically generated header files. (>=3.2.0)
|
||||
linux-mod_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
linux-mod_src_install
|
||||
|
||||
cd "${S}"/out/linux.${ARCH}/release/bin/additions
|
||||
|
||||
insinto /sbin
|
||||
newins mount.vboxsf mount.vboxsf
|
||||
fperms 4755 /sbin/mount.vboxsf
|
||||
|
||||
newinitd "${FILESDIR}"/${PN}-8.initd ${PN}
|
||||
|
||||
insinto /usr/sbin/
|
||||
newins VBoxService vboxguest-service
|
||||
fperms 0755 /usr/sbin/vboxguest-service
|
||||
|
||||
insinto /usr/bin
|
||||
doins VBoxControl
|
||||
fperms 0755 /usr/bin/VBoxControl
|
||||
|
||||
# VBoxClient user service and xrandr wrapper
|
||||
if use X; then
|
||||
doins VBoxClient
|
||||
fperms 0755 /usr/bin/VBoxClient
|
||||
|
||||
cd "${S}"/src/VBox/Additions/x11/Installer
|
||||
newins 98vboxadd-xclient VBoxClient-all
|
||||
fperms 0755 /usr/bin/VBoxClient-all
|
||||
fi
|
||||
|
||||
# udev rule for vboxdrv
|
||||
dodir /lib/udev/rules.d
|
||||
echo 'KERNEL=="vboxguest", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
|
||||
>> "${D}/lib/udev/rules.d/60-virtualbox-guest-additions.rules" \
|
||||
|| die
|
||||
echo 'KERNEL=="vboxuser", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
|
||||
>> "${D}/lib/udev/rules.d/60-virtualbox-guest-additions.rules" \
|
||||
|| die
|
||||
|
||||
# VBoxClient autostart file
|
||||
insinto /etc/xdg/autostart
|
||||
doins "${FILESDIR}"/vboxclient.desktop
|
||||
|
||||
# sample xorg.conf
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins "${FILESDIR}"/xorg.conf.vbox
|
||||
|
||||
systemd_dounit "${FILESDIR}/${PN}.service"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
linux-mod_pkg_postinst
|
||||
if ! use X ; then
|
||||
elog "use flag X is off, enable it to install the"
|
||||
elog "X Window System video driver."
|
||||
fi
|
||||
elog ""
|
||||
elog "Please add users to the \"vboxguest\" group so they can"
|
||||
elog "benefit from seamless mode, auto-resize and clipboard."
|
||||
elog ""
|
||||
elog "The vboxsf group has been added to make automount services work."
|
||||
elog "These services are part of the shared folders support."
|
||||
elog ""
|
||||
elog "Please add:"
|
||||
elog "/etc/init.d/${PN}"
|
||||
elog "to the default runlevel in order to start"
|
||||
elog "needed services."
|
||||
elog "To use the VirtualBox X driver, use the following"
|
||||
elog "file as your /etc/X11/xorg.conf:"
|
||||
elog " /usr/share/doc/${PF}/xorg.conf.vbox"
|
||||
elog ""
|
||||
elog "Also make sure you use the Mesa library for OpenGL:"
|
||||
elog " eselect opengl set xorg-x11"
|
||||
elog ""
|
||||
elog "An autostart .desktop file has been installed to start"
|
||||
elog "VBoxClient in desktop sessions."
|
||||
elog ""
|
||||
elog "You can mount shared folders with:"
|
||||
elog " mount -t vboxsf <shared_folder_name> <mount_point>"
|
||||
elog ""
|
||||
elog "Warning:"
|
||||
elog "this ebuild is only needed if you are running gentoo"
|
||||
elog "inside a VirtualBox Virtual Machine, you don't need"
|
||||
elog "it to run VirtualBox itself."
|
||||
elog ""
|
||||
}
|
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/virtualbox-modules-4.2.22.ebuild,v 1.1 2014/01/11 21:17:05 polynomial-c Exp $
|
||||
|
||||
# XXX: the tarball here is just the kernel modules split out of the binary
|
||||
# package that comes from virtualbox-bin
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils linux-mod user
|
||||
|
||||
MY_P=vbox-kernel-module-src-${PV}
|
||||
DESCRIPTION="Kernel Modules for Virtualbox"
|
||||
HOMEPAGE="http://www.virtualbox.org/"
|
||||
SRC_URI="http://dev.gentoo.org/~polynomial-c/virtualbox/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="pax_kernel"
|
||||
|
||||
RDEPEND="!=app-emulation/virtualbox-9999"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
BUILD_TARGETS="all"
|
||||
BUILD_TARGET_ARCH="${ARCH}"
|
||||
MODULE_NAMES="vboxdrv(misc:${S}) vboxnetflt(misc:${S}) vboxnetadp(misc:${S}) vboxpci(misc:${S})"
|
||||
|
||||
pkg_setup() {
|
||||
linux-mod_pkg_setup
|
||||
|
||||
BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}"
|
||||
enewgroup vboxusers
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if kernel_is -ge 2 6 33 ; then
|
||||
# evil patch for new kernels - header moved
|
||||
grep -lR linux/autoconf.h * | xargs sed -i -e 's:<linux/autoconf.h>:<generated/autoconf.h>:'
|
||||
fi
|
||||
|
||||
if use pax_kernel && kernel_is -ge 3 0 0 ; then
|
||||
epatch "${FILESDIR}"/${PN}-4.1.4-pax-const.patch
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
linux-mod_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
linux-mod_pkg_postinst
|
||||
elog "Starting with the 3.x release new kernel modules were added,"
|
||||
elog "be sure to load all the needed modules."
|
||||
elog ""
|
||||
elog "Please add \"vboxdrv\", \"vboxnetflt\" and \"vboxnetadp\" to:"
|
||||
elog "/etc/conf.d/modules"
|
||||
}
|
@ -0,0 +1,396 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/virtualbox-4.2.22.ebuild,v 1.1 2014/01/11 21:24:51 polynomial-c Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit eutils fdo-mime flag-o-matic linux-info multilib pax-utils python-single-r1 qt4-r2 toolchain-funcs java-pkg-opt-2 udev
|
||||
|
||||
MY_PV="${PV/beta/BETA}"
|
||||
MY_PV="${MY_PV/rc/RC}"
|
||||
MY_P=VirtualBox-${MY_PV}
|
||||
SRC_URI="http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2
|
||||
http://dev.gentoo.org/~polynomial-c/${PN}/patchsets/${PN}-4.2.18-patches-01.tar.xz"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
DESCRIPTION="Family of powerful x86 virtualization products for enterprise as well as home use"
|
||||
HOMEPAGE="http://www.virtualbox.org/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+additions alsa doc extensions headless java pam pulseaudio +opengl python +qt4 +sdk vboxwebsrv vnc"
|
||||
|
||||
RDEPEND="!app-emulation/virtualbox-bin
|
||||
~app-emulation/virtualbox-modules-${PV}
|
||||
dev-libs/libIDL
|
||||
>=dev-libs/libxslt-1.1.19
|
||||
net-misc/curl
|
||||
dev-libs/openssl
|
||||
dev-libs/libxml2
|
||||
media-libs/libpng
|
||||
sys-libs/zlib
|
||||
>=virtual/udev-171
|
||||
!headless? (
|
||||
qt4? (
|
||||
dev-qt/qtgui:4
|
||||
dev-qt/qtcore:4
|
||||
opengl? ( dev-qt/qtopengl:4 )
|
||||
x11-libs/libXinerama
|
||||
)
|
||||
opengl? ( virtual/opengl media-libs/freeglut )
|
||||
x11-libs/libX11
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXext
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXt
|
||||
media-libs/libsdl:0[X,video]
|
||||
)
|
||||
vnc? ( >=net-libs/libvncserver-0.9.9 )
|
||||
java? ( || ( virtual/jre:1.7 virtual/jre:1.6 ) )"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/kbuild-0.1.9998_pre20120806
|
||||
>=dev-lang/yasm-0.6.2
|
||||
sys-devel/bin86
|
||||
sys-power/iasl
|
||||
pam? ( sys-libs/pam )
|
||||
sys-libs/libcap
|
||||
doc? (
|
||||
dev-texlive/texlive-basic
|
||||
dev-texlive/texlive-latex
|
||||
dev-texlive/texlive-latexrecommended
|
||||
dev-texlive/texlive-latexextra
|
||||
dev-texlive/texlive-fontsrecommended
|
||||
dev-texlive/texlive-fontsextra
|
||||
)
|
||||
java? ( || ( virtual/jdk:1.7 virtual/jdk:1.6 ) )
|
||||
virtual/pkgconfig
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.13 )
|
||||
!headless? ( x11-libs/libXinerama )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
vboxwebsrv? ( <net-libs/gsoap-2.8.13 )
|
||||
${PYTHON_DEPS}"
|
||||
PDEPEND="additions? ( ~app-emulation/virtualbox-additions-${PV} )
|
||||
extensions? ( ~app-emulation/virtualbox-extpack-oracle-${PV} )"
|
||||
|
||||
QA_TEXTRELS_x86="usr/lib/virtualbox-ose/VBoxGuestPropSvc.so
|
||||
usr/lib/virtualbox/VBoxSDL.so
|
||||
usr/lib/virtualbox/VBoxSharedFolders.so
|
||||
usr/lib/virtualbox/VBoxDD2.so
|
||||
usr/lib/virtualbox/VBoxOGLrenderspu.so
|
||||
usr/lib/virtualbox/VBoxPython.so
|
||||
usr/lib/virtualbox/VBoxDD.so
|
||||
usr/lib/virtualbox/VBoxDDU.so
|
||||
usr/lib/virtualbox/VBoxREM64.so
|
||||
usr/lib/virtualbox/VBoxSharedClipboard.so
|
||||
usr/lib/virtualbox/VBoxHeadless.so
|
||||
usr/lib/virtualbox/VBoxRT.so
|
||||
usr/lib/virtualbox/VBoxREM.so
|
||||
usr/lib/virtualbox/VBoxSettings.so
|
||||
usr/lib/virtualbox/VBoxKeyboard.so
|
||||
usr/lib/virtualbox/VBoxSharedCrOpenGL.so
|
||||
usr/lib/virtualbox/VBoxVMM.so
|
||||
usr/lib/virtualbox/VirtualBox.so
|
||||
usr/lib/virtualbox/VBoxOGLhosterrorspu.so
|
||||
usr/lib/virtualbox/components/VBoxC.so
|
||||
usr/lib/virtualbox/components/VBoxSVCM.so
|
||||
usr/lib/virtualbox/components/VBoxDDU.so
|
||||
usr/lib/virtualbox/components/VBoxRT.so
|
||||
usr/lib/virtualbox/components/VBoxREM.so
|
||||
usr/lib/virtualbox/components/VBoxVMM.so
|
||||
usr/lib/virtualbox/VBoxREM32.so
|
||||
usr/lib/virtualbox/VBoxPython2_4.so
|
||||
usr/lib/virtualbox/VBoxPython2_5.so
|
||||
usr/lib/virtualbox/VBoxPython2_6.so
|
||||
usr/lib/virtualbox/VBoxPython2_7.so
|
||||
usr/lib/virtualbox/VBoxXPCOMC.so
|
||||
usr/lib/virtualbox/VBoxOGLhostcrutil.so
|
||||
usr/lib/virtualbox/VBoxNetDHCP.so"
|
||||
|
||||
REQUIRED_USE="
|
||||
java? ( sdk )
|
||||
python? (
|
||||
( sdk )
|
||||
)
|
||||
vboxwebsrv? ( java )
|
||||
${PYTHON_REQUIRED_USE}
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
if ! use headless && ! use qt4 ; then
|
||||
einfo "No USE=\"qt4\" selected, this build will not include"
|
||||
einfo "any Qt frontend."
|
||||
elif use headless && use qt4 ; then
|
||||
einfo "You selected USE=\"headless qt4\", defaulting to"
|
||||
einfo "USE=\"headless\", this build will not include any X11/Qt frontend."
|
||||
fi
|
||||
|
||||
if ! use opengl ; then
|
||||
einfo "No USE=\"opengl\" selected, this build will lack"
|
||||
einfo "the OpenGL feature."
|
||||
fi
|
||||
if ! use python ; then
|
||||
einfo "You have disabled the \"python\" USE flag. This will only"
|
||||
einfo "disable the python bindings being installed."
|
||||
fi
|
||||
java-pkg-opt-2_pkg_setup
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Remove shipped binaries (kBuild,yasm), see bug #232775
|
||||
rm -rf kBuild/bin tools
|
||||
|
||||
# Disable things unused or split into separate ebuilds
|
||||
sed -e "s@MY_LIBDIR@$(get_libdir)@" \
|
||||
"${FILESDIR}"/${PN}-4-localconfig > LocalConfig.kmk || die
|
||||
|
||||
# Respect LDFLAGS
|
||||
sed -e "s@_LDFLAGS\.${ARCH}*.*=@& ${LDFLAGS}@g" \
|
||||
-i Config.kmk src/libs/xpcom18a4/Config.kmk || die
|
||||
|
||||
# Use PAM only when pam USE flag is enbaled (bug #376531)
|
||||
if ! use pam ; then
|
||||
elog "Disabling PAM removes the possibility to use the VRDP features."
|
||||
sed -i 's@^.*VBOX_WITH_PAM@#VBOX_WITH_PAM@' Config.kmk || die
|
||||
sed -i 's@\(.*/auth/Makefile.kmk.*\)@#\1@' \
|
||||
src/VBox/HostServices/Makefile.kmk || die
|
||||
fi
|
||||
|
||||
# add correct java path
|
||||
if use java ; then
|
||||
sed "s@/usr/lib/jvm/java-6-sun@$(java-config -O)@" \
|
||||
-i "${S}"/Config.kmk || die
|
||||
java-pkg-opt-2_src_prepare
|
||||
fi
|
||||
|
||||
if ! gcc-specs-pie ; then
|
||||
EPATCH_EXCLUDE="050_${PN}-4.2.0-nopie.patch"
|
||||
fi
|
||||
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}/patches"
|
||||
|
||||
epatch_user
|
||||
|
||||
# fix location of ifconfig binary (bug #455902)
|
||||
local ifcfg="$(type -p ifconfig)"
|
||||
if [ "${ifcfg}" != "/sbin/ifconfig" ] ; then
|
||||
sed "/VBOXADPCTL_IFCONFIG_PATH/s@/sbin/ifconfig@${ifcfg}@" \
|
||||
-i "${S}"/src/apps/adpctl/VBoxNetAdpCtl.cpp \
|
||||
|| die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
use alsa || myconf+=" --disable-alsa"
|
||||
use opengl || myconf+=" --disable-opengl"
|
||||
use pulseaudio || myconf+=" --disable-pulse"
|
||||
use python || myconf+=" --disable-python"
|
||||
use java || myconf+=" --disable-java"
|
||||
use vboxwebsrv && myconf+=" --enable-webservice"
|
||||
use vnc && myconf+=" --enable-vnc"
|
||||
use doc || myconf+=" --disable-docs"
|
||||
if ! use headless ; then
|
||||
use qt4 || myconf+=" --disable-qt4"
|
||||
else
|
||||
myconf+=" --build-headless --disable-opengl"
|
||||
fi
|
||||
# not an autoconf script
|
||||
./configure \
|
||||
--with-gcc="$(tc-getCC)" \
|
||||
--with-g++="$(tc-getCXX)" \
|
||||
--disable-kmods \
|
||||
--disable-dbus \
|
||||
--disable-devmapper \
|
||||
${myconf} \
|
||||
|| die "configure failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
source ./env.sh
|
||||
|
||||
# Force kBuild to respect C[XX]FLAGS and MAKEOPTS (bug #178529)
|
||||
# and strip all flags
|
||||
# strip-flags
|
||||
|
||||
MAKE="kmk" emake \
|
||||
VBOX_BUILD_PUBLISHER=_Gentoo \
|
||||
TOOL_GCC3_CC="$(tc-getCC)" TOOL_GCC3_CXX="$(tc-getCXX)" \
|
||||
TOOL_GCC3_AS="$(tc-getCC)" TOOL_GCC3_AR="$(tc-getAR)" \
|
||||
TOOL_GCC3_LD="$(tc-getCXX)" TOOL_GCC3_LD_SYSMOD="$(tc-getLD)" \
|
||||
TOOL_GCC3_CFLAGS="${CFLAGS}" TOOL_GCC3_CXXFLAGS="${CXXFLAGS}" \
|
||||
VBOX_GCC_OPT="${CXXFLAGS}" \
|
||||
TOOL_YASM_AS=yasm KBUILD_PATH="${S}/kBuild" \
|
||||
KBUILD_VERBOSE=2 \
|
||||
all
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${S}"/out/linux.${ARCH}/release/bin || die
|
||||
|
||||
# Create configuration files
|
||||
insinto /etc/vbox
|
||||
newins "${FILESDIR}/${PN}-4-config" vbox.cfg
|
||||
|
||||
# Set the right libdir
|
||||
sed -i \
|
||||
-e "s@MY_LIBDIR@$(get_libdir)@" \
|
||||
"${D}"/etc/vbox/vbox.cfg || die "vbox.cfg sed failed"
|
||||
|
||||
# Symlink binaries to the shipped wrapper
|
||||
exeinto /usr/$(get_libdir)/${PN}
|
||||
newexe "${FILESDIR}/${PN}-ose-3-wrapper" "VBox"
|
||||
fowners root:vboxusers /usr/$(get_libdir)/${PN}/VBox
|
||||
fperms 0750 /usr/$(get_libdir)/${PN}/VBox
|
||||
|
||||
dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VBoxManage
|
||||
dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VBoxVRDP
|
||||
dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VBoxHeadless
|
||||
dosym /usr/$(get_libdir)/${PN}/VBoxTunctl /usr/bin/VBoxTunctl
|
||||
|
||||
# Install binaries and libraries
|
||||
insinto /usr/$(get_libdir)/${PN}
|
||||
doins -r components
|
||||
|
||||
if use sdk ; then
|
||||
doins -r sdk
|
||||
fi
|
||||
|
||||
if use vboxwebsrv ; then
|
||||
doins vboxwebsrv
|
||||
fowners root:vboxusers /usr/$(get_libdir)/${PN}/vboxwebsrv
|
||||
fperms 0750 /usr/$(get_libdir)/${PN}/vboxwebsrv
|
||||
dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/vboxwebsrv
|
||||
newinitd "${FILESDIR}"/vboxwebsrv-initd vboxwebsrv
|
||||
newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv
|
||||
fi
|
||||
|
||||
for each in VBox{Manage,SVC,XPCOMIPCD,Tunctl,NetAdpCtl,NetDHCP,ExtPackHelperApp} *so *r0 *gc ; do
|
||||
doins $each
|
||||
fowners root:vboxusers /usr/$(get_libdir)/${PN}/${each}
|
||||
fperms 0750 /usr/$(get_libdir)/${PN}/${each}
|
||||
done
|
||||
# VBoxNetAdpCtl and VBoxNetDHCP binaries need to be suid root in any case..
|
||||
fperms 4750 /usr/$(get_libdir)/${PN}/VBoxNetAdpCtl
|
||||
fperms 4750 /usr/$(get_libdir)/${PN}/VBoxNetDHCP
|
||||
|
||||
# VBoxSVC needs to be pax-marked (bug #403453)
|
||||
pax-mark -m "${D}"/usr/$(get_libdir)/${PN}/VBoxSVC || die
|
||||
|
||||
if ! use headless ; then
|
||||
for each in VBox{SDL,Headless} ; do
|
||||
doins $each
|
||||
fowners root:vboxusers /usr/$(get_libdir)/${PN}/${each}
|
||||
fperms 4750 /usr/$(get_libdir)/${PN}/${each}
|
||||
pax-mark -m "${D}"/usr/$(get_libdir)/${PN}/${each}
|
||||
done
|
||||
|
||||
if use opengl && use qt4 ; then
|
||||
doins VBoxTestOGL
|
||||
fowners root:vboxusers /usr/$(get_libdir)/${PN}/VBoxTestOGL
|
||||
fperms 0750 /usr/$(get_libdir)/${PN}/VBoxTestOGL
|
||||
fi
|
||||
|
||||
dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VBoxSDL
|
||||
|
||||
if use qt4 ; then
|
||||
doins VirtualBox
|
||||
fowners root:vboxusers /usr/$(get_libdir)/${PN}/VirtualBox
|
||||
fperms 4750 /usr/$(get_libdir)/${PN}/VirtualBox
|
||||
pax-mark -m "${D}"/usr/$(get_libdir)/${PN}/VirtualBox
|
||||
|
||||
dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VirtualBox
|
||||
|
||||
newmenu "${FILESDIR}"/${PN}-ose.desktop-2 ${PN}.desktop
|
||||
fi
|
||||
|
||||
pushd "${S}"/src/VBox/Resources/OSE &>/dev/null || die
|
||||
for size in 16 32 48 64 128 ; do
|
||||
newicon -s ${size} ${PN}-${size}px.png ${PN}.png
|
||||
done
|
||||
newicon ${PN}-48px.png ${PN}.png
|
||||
popd &>/dev/null || die
|
||||
else
|
||||
doins VBoxHeadless
|
||||
fowners root:vboxusers /usr/$(get_libdir)/${PN}/VBoxHeadless
|
||||
fperms 4750 /usr/$(get_libdir)/${PN}/VBoxHeadless
|
||||
pax-mark -m "${D}"/usr/$(get_libdir)/${PN}/VBoxHeadless
|
||||
fi
|
||||
|
||||
insinto /usr/$(get_libdir)/${PN}
|
||||
# Install EFI Firmware files (bug #320757)
|
||||
pushd "${S}"/src/VBox/Devices/EFI/FirmwareBin &>/dev/null || die
|
||||
for fwfile in VBoxEFI{32,64}.fd ; do
|
||||
doins ${fwfile}
|
||||
fowners root:vboxusers /usr/$(get_libdir)/${PN}/${fwfile}
|
||||
done
|
||||
popd &>/dev/null || die
|
||||
|
||||
# New way of handling USB device nodes for VBox (bug #356215)
|
||||
local udevdir="$(udev_get_udevdir)"
|
||||
insinto ${udevdir}
|
||||
doins VBoxCreateUSBNode.sh
|
||||
fowners root:vboxusers ${udevdir}/VBoxCreateUSBNode.sh
|
||||
fperms 0750 ${udevdir}/VBoxCreateUSBNode.sh
|
||||
insinto ${udevdir}/rules.d
|
||||
doins "${FILESDIR}"/10-virtualbox.rules
|
||||
sed "s@%UDEVDIR%@${udevdir}@" \
|
||||
-i "${D}"${udevdir}/rules.d/10-virtualbox.rules || die
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
if ! use headless && use qt4 ; then
|
||||
doins -r nls
|
||||
fi
|
||||
|
||||
# VRDPAuth only works with this (bug #351949)
|
||||
dosym VBoxAuth.so /usr/$(get_libdir)/${PN}/VRDPAuth.so
|
||||
|
||||
# set an env-variable for 3rd party tools
|
||||
echo -n "VBOX_APP_HOME=/usr/$(get_libdir)/${PN}" > "${T}/90virtualbox"
|
||||
doenvd "${T}/90virtualbox"
|
||||
|
||||
if use java ; then
|
||||
java-pkg_regjar "${D}/usr/$(get_libdir)/${PN}/sdk/bindings/xpcom/java/vboxjxpcom.jar"
|
||||
java-pkg_regso "${D}/usr/$(get_libdir)/${PN}/libvboxjxpcom.so"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
|
||||
udevadm control --reload-rules && udevadm trigger --subsystem-match=usb
|
||||
|
||||
if ! use headless && use qt4 ; then
|
||||
elog "To launch VirtualBox just type: \"VirtualBox\"."
|
||||
fi
|
||||
elog "You must be in the vboxusers group to use VirtualBox."
|
||||
elog ""
|
||||
elog "The latest user manual is available for download at:"
|
||||
elog "http://download.virtualbox.org/virtualbox/${PV}/UserManual.pdf"
|
||||
elog ""
|
||||
elog "For advanced networking setups you should emerge:"
|
||||
elog "net-misc/bridge-utils and sys-apps/usermode-utilities"
|
||||
elog ""
|
||||
elog "IMPORTANT!"
|
||||
elog "If you upgrade from app-emulation/virtualbox-ose make sure to run"
|
||||
elog "\"env-update\" as root and logout and relogin as the user you wish"
|
||||
elog "to run ${PN} as."
|
||||
elog ""
|
||||
elog "Starting with version 4.0.0, ${PN} has USB-1 support."
|
||||
elog "For USB-2 support, PXE-boot ability and VRDP support please emerge"
|
||||
elog " app-emulation/virtualbox-extpack-oracle"
|
||||
elog "package."
|
||||
if [ -e "${ROOT}/etc/udev/rules.d/10-virtualbox.rules" ] ; then
|
||||
elog ""
|
||||
elog "Please remove \"${ROOT}/etc/udev/rules.d/10-virtualbox.rules\""
|
||||
elog "or else USB in ${PN} won't work."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-forensics/lynis/lynis-1.3.8.ebuild,v 1.1 2013/12/26 18:09:51 idl0r Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-forensics/lynis/lynis-1.3.9.ebuild,v 1.1 2014/01/09 22:57:08 idl0r Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
@ -1,26 +1,8 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST ibus-rime-0.9.8.tar.gz 23558 SHA256 490aaf60d5a6bbd307f48ab145e19ee9507d1ff2636de8bc96d5c935e43f2e14 SHA512 550f3f014ebf10548b3f1cb71bfa40cd69e874eb6f878ecb5a50bc78c1aaa5449ce529f750257d86a30a0125fe8b9528e24f612903a65afec2ee5b6376112165 WHIRLPOOL 60dd8b9e9442dfd6b927102d59cdd2663c1e296a4991c3a5d54901af53775609010fa45e4efcbf97f60c145a47634d4cc72b3fc1ad91097f4fd785a88698a213
|
||||
DIST ibus-rime-0.9.9.tar.gz 23912 SHA256 5bbb76abc763bdd3c83a5fe594f1488b34377b34b3f6e3c8c7b5cf86ab550cad SHA512 b18e6f3ba6c97e3b55900d9c4cb70d58f24b202bf2ae894ca861af10ddb028c193d9ac97e609f3b4f0f183b212b74180a02e5d823f235b4c799733933a48afb7 WHIRLPOOL 65d50aafe79014536da3fbbd274fcdf45b93223b1162dae52a2a6c99b2bf2f15192051011ae7aad13f2044fe24b6cdce018f0527cd9ff61164134893447e0431
|
||||
DIST ibus-rime-1.1.tar.gz 23418 SHA256 5aff3bbf5ce1eddd1243436ce2bbbb55a6c745b7cba8b6df4e5049f116a8b2be SHA512 2510f9019045013f85af5b8401286b338b739fa0e908a3e30e1d59971a43c32212f388d367b51942292e236859feb1a70d7e7b8deb17eafd8b4f878cc7ba018f WHIRLPOOL 1df8da49b1d3e420ea78cae9ee65b5bf646928480a7d13ed9d05358b274cb932f2026a232876a3c72402ced5957a03c82d3839f84b2a272f5e650aac17ed7360
|
||||
EBUILD ibus-rime-0.9.8.ebuild 766 SHA256 232ec94457c18491540f617fa761f053e6350b57f157db1cdf6718c8047754f4 SHA512 0f97696caad49c2bcacc0aac87bc9bf23ba2f51ded5c7e8046d6f95c3ad4def9f3141bb6fd1c46c0b016ddf6f524faadcc76ccafd55a6c4febe001c77ad2f229 WHIRLPOOL c70fb84079cf1c87877e483548bc39a4d2778ec43a27bc6a6cf4e9284217a012783cfd2e75fa9bd4af5da2ec44492c520cbc71b878eb2e01c8e98a83d0f47d85
|
||||
EBUILD ibus-rime-0.9.9.ebuild 765 SHA256 923882aca6338ba4eae2e764b6e48ea35b91e671899f21805309939ec9c80873 SHA512 2af0637a082e831f55695764d32fd1a49a492230b9c52a3a1b54a14b967514ba30273010e0fb0dc2a0e0745a16cc4f9b48757c2f08c3bbefa5997d4369173325 WHIRLPOOL c8c839548166b7c816ead0129ca762fe542dae781272eb8a56f47aa84a9cdbd5053279e458e9291721c9e70c74dfeaa62f57beb8b93c8e9fae143a0f053a3155
|
||||
MISC ChangeLog 921 SHA256 be4afdbc55ba7ef9e0c100c87013a4644b61133a14bc9eb044e91154b267ccb4 SHA512 fdaa0cd18e5957fa1345193e0d0b0c99e179a67be815a8fdc9781d001959e396ad56a703c29538ea456525013eff1c2e69d4606fa695c8b4b5d852bd6d1f530f WHIRLPOOL 3b903794e789cdb03f090916dc03adde040746726e3b57e55a3d84a165346e7801a1ee79f09ff86139c5163f196e393ca3a99ec008b1c68a91ad52fcdaa6eed3
|
||||
MISC metadata.xml 550 SHA256 920e86b29ced653a5668fe43874ecb7b5488a7250794946c50a8807c7e1d04d4 SHA512 e051bdb788af3b12bb7ce24c748c5feb062fe8e4ef758e8145c3796ba102448ae0f4b066e8e41f80edec2f7a7e6104acf403d517d32de7affde108e18855f81a WHIRLPOOL 6900820e584c25ec8235ccd25056714a42c7740ffb5f75080713e305bfb3ca38fcc7bd915c228ace8a860ff585c7372d28ba66a60ed46463ead35330d6b1b5b3
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iQIcBAEBCAAGBQJRropvAAoJEDYO1FT4VRUUdP0P/iwa66LaBggZ1bf12M8BzG9v
|
||||
m3x3NZdbx9AXigy7P2fFONrBdMrdk2eweo61SxoPVNBQ2uEpNiN6fad1j4JGVlqm
|
||||
35UR1hFRSohaunX+G8XBt+zvk4bweq8M6FTUA1qCcZqGnznns2NTnps1u0KIxm+K
|
||||
kV51C855q80v/jFl+gj5HNdGox9eP/A0rRmFNiNKaKF3AWf+qm1N1pVXPk4kQHCq
|
||||
yo5H26JuBcjkMLviHlv3Orb8/GiB1z7veGE5L98I66LXbGUSe/Q2ASDfW29TSt77
|
||||
+d5MnOppHmQcVVzFdJqBhHA3zm7R/N3CNGZpnKi71J2TmvHxKg1iko7WUZhkr85A
|
||||
DERZSb5/+y3HFpHtgZIXXg950mikrr9FAeDfq5s80yD1OMFC5VV7jtaxvODksQNe
|
||||
uungL/oBheROvnj9/pbzuaRTnGqszje1z7GnRwva/CBXk+ww5+qg/Ab0RZyXviQi
|
||||
S/nsoo7ckOrwGd0Z3h9ad0+/IfUa8ECGjDL5Ohv7zhtGKCTWWo2cFWWfwKWtLlt6
|
||||
rwBdjP5IELimezQvazWcMFhIKxvCvoilYdci5h7h99nGLHcZuoBMjl05WSqk34Cp
|
||||
S7fp/sppE9cDfKswom+DBm2Jl4QlVSV+JIyfkcLT12mNlDeNrJpiVo4DLZQS/ScB
|
||||
RLeKL+jydxKP887YwT7i
|
||||
=Fzsw
|
||||
-----END PGP SIGNATURE-----
|
||||
EBUILD ibus-rime-1.1.ebuild 762 SHA256 a6896b45494050d72d821b0d99c4e44095134adaffac720b52f78de16dc149cf SHA512 d34d2c793a32eb26e8fc92106e63a0e36a6cb1ca22bade582e0aa2c6b7e729437010339fa93ffa40a60d7ab1dd3804d18ebe3b40ed785b6078b50753ba3f8666 WHIRLPOOL 2d0268f0f25752bde07299c7d1f29cc70e2d9a2d0502e95a78d67e39bfd6775b369167321725046a2cbd52e03794a4d4b62db64792e0baff1932f6169afeabc1
|
||||
MISC ChangeLog 1081 SHA256 bed567c475d889ad370b27ac6e20a0b53e8870d12de3faa8ef599fad6d8bb73c SHA512 5213882514d1b4ed0e7a4cd3b4cf6d89c2f583e8b977cef9c3c9be27bb82e9d0ead28b75cfc8728896b157f613f9058615318b53b2b85a6280291b6201937b09 WHIRLPOOL bc502801212eb3c783a6fa76d1a923f06584c04345c6ccac7684b62a47be8f731667e3a7554c0e23fae6123cd70a002e2ca7ce67355f6d9a3ae48de84b805580
|
||||
MISC metadata.xml 504 SHA256 6739836ad17462f6c792d322a0c5f63b1e2808127c3b647464e7088ed78302fc SHA512 9c1459de074b84b6a645cf3716477c51b7cd7a6063b7fe6fcd2e0b87bac9890b3b4a62c86fca57277e2fa5f440feb07aa34b99b802a6a30b2d3a16a915c48cdf WHIRLPOOL 6e080ed0ffa04b47fd97cbba3348336c936d90906db59a8554a8671f24d581eb7523b359faf342de27f203439a4d4e693646fad7ab6de87781d1991e912748da
|
||||
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-rime/ibus-rime-1.1.ebuild,v 1.1 2014/01/10 23:36:46 dlan Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="Rime Input Method Engine for IBus Framework"
|
||||
HOMEPAGE="http://code.google.com/p/rimeime/"
|
||||
SRC_URI="http://rimeime.googlecode.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEPEND="app-i18n/ibus
|
||||
app-i18n/librime
|
||||
x11-libs/libnotify"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-util/cmake"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
app-i18n/rime-data"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e "/^libexecdir/s:/lib:/libexec:" Makefile || die
|
||||
sed -i -e "/exec/s:/usr/lib:/usr/libexec:" rime.xml || die
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
From 75e1ec9cea4bb9f108c0637a4b62cabfa500ed61 Mon Sep 17 00:00:00 2001
|
||||
From: Akira TAGOH <akira@tagoh.org>
|
||||
Date: Wed, 3 Apr 2013 19:37:15 +0900
|
||||
Subject: [PATCH] Fix a build issue with the latest gobject-introspection
|
||||
|
||||
---
|
||||
imsettings/Makefile.am | 4 +++-
|
||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/imsettings/Makefile.am b/imsettings/Makefile.am
|
||||
index 574480a..8e5999a 100644
|
||||
--- a/imsettings/Makefile.am
|
||||
+++ b/imsettings/Makefile.am
|
||||
@@ -117,9 +117,11 @@ IMSettings_1_3_gir_INCLUDES = \
|
||||
GObject-2.0 \
|
||||
Gio-2.0 \
|
||||
$(NULL)
|
||||
+IMSettings_1_3_gir_SCANNERFLAGS = \
|
||||
+ --symbol-prefix=imsettings \
|
||||
+ $(NULL)
|
||||
IMSettings_1_3_gir_CFLAGS = \
|
||||
$(INCLUDES) \
|
||||
- --symbol-prefix=imsettings \
|
||||
$(NULL)
|
||||
IMSettings_1_3_gir_LIBS = libimsettings.la
|
||||
IMSettings_1_3_gir_FILES = $(introspection_sources)
|
||||
--
|
||||
1.8.5.2
|
||||
|
@ -1,24 +1,26 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
Hash: SHA256
|
||||
|
||||
DIST brise-0.22.tar.gz 6061141 SHA256 a048b741a7651dbb47d1b6e6e25d266d670680112b70ca3c27f2bc17dcafde59 SHA512 8bf0585ba6e01a1bc1c708d7017987041dc5a9ce74ba5022514b0f6bf2016c2b23212d7396126f30748387ced7d83aa73001164793881ea18553b5e923eab1b9 WHIRLPOOL b2a2ea6a24130e595bb5e0039106f28f293785fe8f1016e13edc4f83655abbc94f60522c4df864da5a136f037588a7613b588f68858baee6874000b552cccded
|
||||
DIST brise-0.32.tar.gz 6697747 SHA256 4462d1f1e8f9cf62bfabc490d2ed1ead4747a92d05018fa78ff6db6c69932f62 SHA512 c41d4a7399a963b9e023015e1268f0f63693091d0ae2edff9db68397d223bb25ea6c392d2649f7817edd40998b1ed144d63478a01241cdaa5f2e84fd846e24d7 WHIRLPOOL 518442446506bc9e3743069667e596764e2561c5093f1e3d1b8f50518af98e4506cf7205f867ad0ff9614043c3d45008b00501840439730d39baf18d752667fa
|
||||
EBUILD rime-data-0.22.ebuild 555 SHA256 03b10835160d824503c3118ffb7a313d0a2f410566943747eeee7b6e631c63c2 SHA512 a5d969429c6274f51c4fa223da831c9ca895a6d4c3e1d4d94c69d391a058ed5d7657088d0d5b86c965554b9b45bfc8255bf72cb5b862bb64a805b7edf4687d16 WHIRLPOOL ed9935cc06d9c751248746d58ad7d7859b337ccd4d9cee05c13928e2c6194bab75e1408ae5eed0d7d6de9297af7e3ab9852fd4967aa0c27be253610fd9befda2
|
||||
MISC ChangeLog 1575 SHA256 3e99bbf63bbc4d6a63973418df9ee4eecaf7bebf2bd74fa26d40b6ad416b5fcf SHA512 09e12682ac02a68be82e0a80b6152f1584ad6b79075a3c0a66b7ec40855013689038e56ed689405099a6af8ea70b67f8d445ebe019cb257ef929760e62004d80 WHIRLPOOL 353bc3bda49a8eb8c902f98942760a5b09d2c05e225057459786177891142b85acfee52b2694b10de7a094fc534315078e7b2aa9ba5bf73c5a05c73687eec198
|
||||
MISC metadata.xml 550 SHA256 920e86b29ced653a5668fe43874ecb7b5488a7250794946c50a8807c7e1d04d4 SHA512 e051bdb788af3b12bb7ce24c748c5feb062fe8e4ef758e8145c3796ba102448ae0f4b066e8e41f80edec2f7a7e6104acf403d517d32de7affde108e18855f81a WHIRLPOOL 6900820e584c25ec8235ccd25056714a42c7740ffb5f75080713e305bfb3ca38fcc7bd915c228ace8a860ff585c7372d28ba66a60ed46463ead35330d6b1b5b3
|
||||
EBUILD rime-data-0.32.ebuild 558 SHA256 7447a97a668272b99bff733ef46ebede786aff7108b62d88990ac52de2a3d70a SHA512 45e40f441481d0baf68ca76e7442c309aee7af771cb1e0b947a487c20fea9a5fbef3c2f97e76757a0b1f0ce6de39bae3152364647e414a16ec9bdeb1e4623f18 WHIRLPOOL 3cd6d17e58461c17714ae1eb7cb622c53a049fa30ce90569dda273e6495a854887db0911d02e3b2230ee4b2671e228ade7ecc0fd5cd4a1434bce24e443328cc3
|
||||
MISC ChangeLog 1784 SHA256 e5f24387962439b1fa6f34beb92c164c3489c7071e9532448f82d6efe398f059 SHA512 f8feca7968a9970720cb2674141ed62718159d568606da5fd5e861a8e17e794c0df40fda834a44ffb100f693a86d2298cbd620bbf7114e7f6de79ecabd088e10 WHIRLPOOL 13bbe0e9d5e1e4f7f3a63ee787cf3e0af44ed0d97511ea5fa7c2da5507a1b3e1e0a9b7472391df44a32e0bfe16e015a65a369495ed1ee72969974ee641c1ce59
|
||||
MISC metadata.xml 504 SHA256 6739836ad17462f6c792d322a0c5f63b1e2808127c3b647464e7088ed78302fc SHA512 9c1459de074b84b6a645cf3716477c51b7cd7a6063b7fe6fcd2e0b87bac9890b3b4a62c86fca57277e2fa5f440feb07aa34b99b802a6a30b2d3a16a915c48cdf WHIRLPOOL 6e080ed0ffa04b47fd97cbba3348336c936d90906db59a8554a8671f24d581eb7523b359faf342de27f203439a4d4e693646fad7ab6de87781d1991e912748da
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.20 (GNU/Linux)
|
||||
|
||||
iQIcBAEBCgAGBQJSJEb5AAoJELp701BxlEWffMQQAJEY2g0wBrEbqb+CiDlpJTwy
|
||||
wD/W6Yg25golA7B0f4HFjzVcHEF4XWrMr9XCkvTScyd6vsOgjO7T6dA00uXSGs0v
|
||||
zksDobReVgfdIv7aRigDVpeNLXBDqZxBFWGSpwsn7RLX3315NBjJrnEy5ITKuDKg
|
||||
jZLBIzja4+VbF9U/iQUy09Y3rYhyVlhv4gU+JwuyidzBfZK2HTewMVD4/Kjo6W1g
|
||||
C1Ts3+sAJVLf0Z7dk10+2FkZAq5pTV1vQEiC5qeO66+8hVarxqRqYBP61PUS/GaD
|
||||
vxt+bdWO8vXRLX5du4JXSKDMKn6/OMFkxYWUbgNPRRJ4ZQ7b1TMCN+QymzYJpJwZ
|
||||
b34pfGf7fWl0HIo5CS1WoXZ3P07IbMsturhawkYmJq9s+k3phuP1DQNqG5VGeSq7
|
||||
I4cJxUgFL40nTB5A6hnj2s9kWdOh7FHrd48o/3aaenes0VPsmd5totOkoZb29L9u
|
||||
Ip1RDyfJGr6qk0OjZZO4fNzb5nKjYUTqs6GR4i2l6QzzFJd1AnpJFPgexgToy9Oz
|
||||
/DRtn0+v7aR+6ZnDHSAjR/JOi9EniuJq5xDLcM37c8ptHahTR41Ix3sX9av6Yavr
|
||||
Z3Mjs0jUXT4RZrXZuwMPC/SZ/uf1cc5QOTypaS6N7aQzWFf3AsVt3066V0RCarZD
|
||||
L0CS62HfnUhdJpJHb++E
|
||||
=twBS
|
||||
iQIcBAEBCAAGBQJS0o+XAAoJEJIMDbyqvv1VOOMP/iZ67QQvqxu1NtDgADgNrQJz
|
||||
jaRshVZTHH5O3rJPWjjrgytkI+lRy49+ZRNYRdWZJrkhbw1Gc7rxRY3Mo61c/Qvh
|
||||
raMVi9DcMRkA/MXdryaYG2LI41IvmwuEdiQTvuuZx7nt+ZvRQMNxYfzP2c1BU9kN
|
||||
sXKpTujZfZnK54LA3bosILcisI3i6DQR00JmBjjAz/YEt+NsheGHecbq2vvZks8Y
|
||||
FdnNewDMZy38rppmpMa1Jq75sx5Sb55cYsJxrq5uWvB4Az4QslW5uE94GvUs12PV
|
||||
+Gbql1Lp1V1EqdrH18Vs5EA5CuTSyrI7t93eYJFk4Mp9HMrrt8cnsjAaJ0Aia7X2
|
||||
/W0G2ZU29+B1d7areYugFjJfAgsQlY7ko36pJtB3bmUdCrx9Qo0KUbnKB9t1zcp7
|
||||
IuGd64lIWd9RkwjGSNPpCBxOrpFvKm9tWbngWSUCWp0w6lwQSFUhEOc13BxwlXfl
|
||||
YCNIuFNGGYUR5gKCV5d/F5g7SIbdoMV75rDmJTY8J6NPdo/XakhGk0MzAp92Pa+/
|
||||
QcA7JVQlsyGu4LBXkAd9hRylF9hIek5oDE5PXjQP4AKpjpive6q0sG3I7hWCecy7
|
||||
BWaOnxbewJNrQxGk/DhITqawgLClX7VEl1MACn2xnDVGH4dGPYTKnN3HiajdyUoO
|
||||
WgQNNxftdydUf16YxPjA
|
||||
=km0U
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue