parent
9927aed8a8
commit
ac254fca57
@ -0,0 +1,145 @@
|
|||||||
|
diff --git a/Programs/options.c b/Programs/options.c
|
||||||
|
--- a/Programs/options.c (revision 7568)
|
||||||
|
+++ b/Programs/options.c (revision 7570)
|
||||||
|
@@ -219,10 +219,10 @@
|
||||||
|
|
||||||
|
while (option->strings[index]) {
|
||||||
|
strings[index] = option->strings[index];
|
||||||
|
- ++index;
|
||||||
|
+ index += 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
- while (index < count) strings[index++] = NULL;
|
||||||
|
+ while (index < count) strings[index++] = "";
|
||||||
|
snprintf(buffer, sizeof(buffer),
|
||||||
|
description, strings[0], strings[1], strings[2], strings[3]);
|
||||||
|
description = buffer;
|
||||||
|
@@ -233,19 +233,36 @@
|
||||||
|
|
||||||
|
while (1) {
|
||||||
|
unsigned int charCount = charsLeft;
|
||||||
|
+
|
||||||
|
if (charCount > descriptionWidth) {
|
||||||
|
charCount = descriptionWidth;
|
||||||
|
- while (description[charCount] != ' ') --charCount;
|
||||||
|
- while (description[charCount] == ' ') --charCount;
|
||||||
|
- ++charCount;
|
||||||
|
+
|
||||||
|
+ while (charCount > 0) {
|
||||||
|
+ if (description[charCount] == ' ') break;
|
||||||
|
+ charCount -= 1;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ while (charCount > 0) {
|
||||||
|
+ if (description[--charCount] != ' ') {
|
||||||
|
+ charCount += 1;
|
||||||
|
+ break;
|
||||||
|
+ }
|
||||||
|
+ }
|
||||||
|
}
|
||||||
|
- memcpy(line+lineLength, description, charCount);
|
||||||
|
- lineLength += charCount;
|
||||||
|
|
||||||
|
- line[lineLength] = 0;
|
||||||
|
- fprintf(outputStream, "%s\n", line);
|
||||||
|
+ if (charCount > 0) {
|
||||||
|
+ memcpy(line+lineLength, description, charCount);
|
||||||
|
+ lineLength += charCount;
|
||||||
|
|
||||||
|
- while (description[charCount] == ' ') ++charCount;
|
||||||
|
+ line[lineLength] = 0;
|
||||||
|
+ fprintf(outputStream, "%s\n", line);
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ while (charCount < charsLeft) {
|
||||||
|
+ if (description[charCount] != ' ') break;
|
||||||
|
+ charCount += 1;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
if (!(charsLeft -= charCount)) break;
|
||||||
|
description += charCount;
|
||||||
|
|
||||||
|
diff --git a/Drivers/Speech/Alva/speech.c b/Drivers/Speech/Alva/speech.c
|
||||||
|
--- a/Drivers/Speech/Alva/speech.c (revision 7568)
|
||||||
|
+++ b/Drivers/Speech/Alva/speech.c (revision 7570)
|
||||||
|
@@ -33,7 +33,7 @@
|
||||||
|
/* charset conversion table from iso latin-1 == iso 8859-1 to cp437==ibmpc
|
||||||
|
* for chars >=128.
|
||||||
|
*/
|
||||||
|
-static unsigned char latin2cp437[128] =
|
||||||
|
+static unsigned char latin2cp437[0X80] =
|
||||||
|
{199, 252, 233, 226, 228, 224, 229, 231,
|
||||||
|
234, 235, 232, 239, 238, 236, 196, 197,
|
||||||
|
201, 181, 198, 244, 247, 242, 251, 249,
|
||||||
|
@@ -75,7 +75,7 @@
|
||||||
|
for (i = 0; i < len; i++)
|
||||||
|
{
|
||||||
|
c = buffer[i];
|
||||||
|
- if (c >= 128) c = latin2cp437[c];
|
||||||
|
+ if (c >= 0X80) c = latin2cp437[c-0X80];
|
||||||
|
if (c < 33) /* space or control character */
|
||||||
|
{
|
||||||
|
buf[0] = ' ';
|
||||||
|
diff --git a/Drivers/Speech/CombiBraille/speech.c b/Drivers/Speech/CombiBraille/speech.c
|
||||||
|
--- a/Drivers/Speech/CombiBraille/speech.c (revision 7568)
|
||||||
|
+++ b/Drivers/Speech/CombiBraille/speech.c (revision 7570)
|
||||||
|
@@ -43,7 +43,7 @@
|
||||||
|
/* charset conversion table from iso latin-1 == iso 8859-1 to cp437==ibmpc
|
||||||
|
* for chars >=128.
|
||||||
|
*/
|
||||||
|
-static unsigned char latin2cp437[128] =
|
||||||
|
+static unsigned char latin2cp437[0X80] =
|
||||||
|
{199, 252, 233, 226, 228, 224, 229, 231,
|
||||||
|
234, 235, 232, 239, 238, 236, 196, 197,
|
||||||
|
201, 181, 198, 244, 247, 242, 251, 249,
|
||||||
|
@@ -99,7 +99,7 @@
|
||||||
|
unsigned char byte = buffer[i];
|
||||||
|
unsigned char *byte_address = &byte;
|
||||||
|
unsigned int byte_count = 1;
|
||||||
|
- if (byte >= 0X80) byte = latin2cp437[byte];
|
||||||
|
+ if (byte >= 0X80) byte = latin2cp437[byte-0X80];
|
||||||
|
if (byte < 33) { /* space or control character */
|
||||||
|
byte = ' ';
|
||||||
|
} else if (byte <= MAX_TRANS) {
|
||||||
|
diff --git a/Drivers/Speech/MultiBraille/speech.c b/Drivers/Speech/MultiBraille/speech.c
|
||||||
|
--- a/Drivers/Speech/MultiBraille/speech.c (revision 7568)
|
||||||
|
+++ b/Drivers/Speech/MultiBraille/speech.c (revision 7570)
|
||||||
|
@@ -35,7 +35,7 @@
|
||||||
|
/* charset conversion table from iso latin-1 == iso 8859-1 to cp437==ibmpc
|
||||||
|
* for chars >=128.
|
||||||
|
*/
|
||||||
|
-static unsigned char latin2cp437[128] =
|
||||||
|
+static unsigned char latin2cp437[0X80] =
|
||||||
|
{199, 252, 233, 226, 228, 224, 229, 231,
|
||||||
|
234, 235, 232, 239, 238, 236, 196, 197,
|
||||||
|
201, 181, 198, 244, 247, 242, 251, 249,
|
||||||
|
@@ -75,7 +75,7 @@
|
||||||
|
for (i = 0; i < len; i++)
|
||||||
|
{
|
||||||
|
c = buffer[i];
|
||||||
|
- if (c >= 128) c = latin2cp437[c];
|
||||||
|
+ if (c >= 0X80) c = latin2cp437[c-0X80];
|
||||||
|
if (c < 33) /* space or control character */
|
||||||
|
{
|
||||||
|
static const char blank = ' ';
|
||||||
|
diff --git a/Drivers/Speech/BrailleLite/speech.c b/Drivers/Speech/BrailleLite/speech.c
|
||||||
|
--- a/Drivers/Speech/BrailleLite/speech.c (revision 7568)
|
||||||
|
+++ b/Drivers/Speech/BrailleLite/speech.c (revision 7570)
|
||||||
|
@@ -36,7 +36,7 @@
|
||||||
|
/* charset conversion table from iso latin-1 == iso 8859-1 to cp437==ibmpc
|
||||||
|
* for chars >=128.
|
||||||
|
*/
|
||||||
|
-static unsigned char latin2cp437[128] =
|
||||||
|
+static unsigned char latin2cp437[0X80] =
|
||||||
|
{199, 252, 233, 226, 228, 224, 229, 231,
|
||||||
|
234, 235, 232, 239, 238, 236, 196, 197,
|
||||||
|
201, 181, 198, 244, 247, 242, 251, 249,
|
||||||
|
@@ -87,7 +87,7 @@
|
||||||
|
for (i = 0; i < len; i++)
|
||||||
|
{
|
||||||
|
c = buffer[i];
|
||||||
|
- if (c >= 128) c = latin2cp437[c];
|
||||||
|
+ if (c >= 0X80) c = latin2cp437[c-0X80];
|
||||||
|
if (c < 33) /* space or control character */
|
||||||
|
{
|
||||||
|
rawdata[0] = ' ';
|
@ -1,2 +1,3 @@
|
|||||||
DIST caribou-0.4.10.tar.xz 395384 SHA256 6480ce3a87cf4f01dd1fb52edbb31a2aa9f5573a0860b67115c86bbcd7b17865 SHA512 49c6965d001a055ccaec0438740da94a04cab1e4da358206d72628addc6f3139f0db6b483f832bc3f7e19f39efa6b5ae767cc9323b42e29aa099847f58b43fe7 WHIRLPOOL da680914be218d2292b8b5f437ea19f35d00a2196d9f2bde8707c200f7a5b12e38f036b4488351bb17406b2394d4be5b8430af7d2457053731e31b7e94133aef
|
DIST caribou-0.4.10.tar.xz 395384 SHA256 6480ce3a87cf4f01dd1fb52edbb31a2aa9f5573a0860b67115c86bbcd7b17865 SHA512 49c6965d001a055ccaec0438740da94a04cab1e4da358206d72628addc6f3139f0db6b483f832bc3f7e19f39efa6b5ae767cc9323b42e29aa099847f58b43fe7 WHIRLPOOL da680914be218d2292b8b5f437ea19f35d00a2196d9f2bde8707c200f7a5b12e38f036b4488351bb17406b2394d4be5b8430af7d2457053731e31b7e94133aef
|
||||||
DIST caribou-0.4.11.tar.xz 395924 SHA256 e4e81387a1a6875652b8ec9dede8573844fac274c8de9ad0416cf586a318f4f9 SHA512 a756a0e63c78cf11d1c54d81f5f2f8b7d33eb203421b169bd797804b88c7b818ae11ab85c04e8da528b84f5b6d9620ba5677ab6d9ea2fc3a6077d5f305e2b4fb WHIRLPOOL 8a6cc595af713a6898489e63ba3f1bf811cac9cdf57f7a031f7f7e28d82c1703c0fe6236e496afa48c7605e97acf8dfbdf824dc38890c74473ba8899a88632b8
|
DIST caribou-0.4.11.tar.xz 395924 SHA256 e4e81387a1a6875652b8ec9dede8573844fac274c8de9ad0416cf586a318f4f9 SHA512 a756a0e63c78cf11d1c54d81f5f2f8b7d33eb203421b169bd797804b88c7b818ae11ab85c04e8da528b84f5b6d9620ba5677ab6d9ea2fc3a6077d5f305e2b4fb WHIRLPOOL 8a6cc595af713a6898489e63ba3f1bf811cac9cdf57f7a031f7f7e28d82c1703c0fe6236e496afa48c7605e97acf8dfbdf824dc38890c74473ba8899a88632b8
|
||||||
|
DIST caribou-0.4.12.tar.xz 400932 SHA256 316e8dd1b9c8f9bc284e16845c4983f59ba360c156dcd59b9ae0655434d76508 SHA512 d4f57e3d8a3e3c9daedd78b2950b98a83327765c61545698a0111f5e4a2495aec08342ddaaa9455e90bfef90466248b2bbe9886a9463e1ac854fe5bc6b94a5a9 WHIRLPOOL a91e06b5eb07285fa5b4a3af1e4f6683608bbb26ac944ebd637cb836bc7cfe6dcc955fbb0f7b43fcd410cd339f4692a18e82d1a31b23ff37f4aade1198c4625e
|
||||||
|
@ -0,0 +1,90 @@
|
|||||||
|
# Copyright 1999-2013 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/caribou/caribou-0.4.12.ebuild,v 1.1 2013/08/25 22:11:14 eva Exp $
|
||||||
|
|
||||||
|
EAPI="5"
|
||||||
|
GCONF_DEBUG="no"
|
||||||
|
#GNOME2_LA_PUNT="yes"
|
||||||
|
PYTHON_COMPAT=( python2_{6,7} )
|
||||||
|
PYTHON_REQ_USE="xml"
|
||||||
|
|
||||||
|
inherit gnome2 python-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Input assistive technology intended for switch and pointer users"
|
||||||
|
HOMEPAGE="https://live.gnome.org/Caribou"
|
||||||
|
|
||||||
|
LICENSE="LGPL-2.1"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||||
|
|
||||||
|
COMMON_DEPEND="
|
||||||
|
app-accessibility/at-spi2-core
|
||||||
|
>=dev-python/pygobject-2.90.3:3[${PYTHON_USEDEP}]
|
||||||
|
>=x11-libs/gtk+-3:3[introspection]
|
||||||
|
x11-libs/gtk+:2
|
||||||
|
>=dev-libs/gobject-introspection-0.10.7
|
||||||
|
dev-libs/libgee:0.8
|
||||||
|
dev-libs/libxml2
|
||||||
|
>=media-libs/clutter-1.5.11:1.0[introspection]
|
||||||
|
x11-libs/libX11
|
||||||
|
x11-libs/libxklavier
|
||||||
|
x11-libs/libXtst
|
||||||
|
"
|
||||||
|
# gsettings-desktop-schemas is needed for the 'toolkit-accessibility' key
|
||||||
|
# pyatspi-2.1.90 needed to run caribou if pygobject:3 is installed
|
||||||
|
# librsvg needed to load svg images in css styles
|
||||||
|
RDEPEND="${COMMON_DEPEND}
|
||||||
|
>=dev-python/pyatspi-2.1.90[${PYTHON_USEDEP}]
|
||||||
|
>=gnome-base/gsettings-desktop-schemas-3
|
||||||
|
gnome-base/librsvg:2
|
||||||
|
sys-apps/dbus
|
||||||
|
virtual/python-argparse[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
DEPEND="${COMMON_DEPEND}
|
||||||
|
dev-libs/libxslt
|
||||||
|
>=dev-util/intltool-0.35.5
|
||||||
|
virtual/pkgconfig
|
||||||
|
"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# delete custom PYTHONPATH, useless on Gentoo and potential bug source
|
||||||
|
# + caribou is python2 only so fix the shell scripts
|
||||||
|
sed -e '/export PYTHONPATH=.*python/ d' \
|
||||||
|
-e "s:@PYTHON@:${EPREFIX}/usr/bin/python2:" \
|
||||||
|
-i bin/{antler-keyboard,caribou-preferences}.in ||
|
||||||
|
die "sed failed"
|
||||||
|
|
||||||
|
gnome2_src_prepare
|
||||||
|
|
||||||
|
prepare_caribou() {
|
||||||
|
mkdir -p "${BUILD_DIR}" || die
|
||||||
|
}
|
||||||
|
python_foreach_impl prepare_caribou
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
ECONF_SOURCE="${S}" python_foreach_impl run_in_build_dir \
|
||||||
|
gnome2_src_configure \
|
||||||
|
--disable-docs \
|
||||||
|
--disable-static \
|
||||||
|
--enable-gtk3-module \
|
||||||
|
--enable-gtk2-module \
|
||||||
|
VALAC=$(type -P true)
|
||||||
|
# vala is not needed for tarball builds, but configure checks for it...
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
python_foreach_impl run_in_build_dir gnome2_src_compile
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
python_foreach_impl run_in_build_dir default
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
python_foreach_impl run_in_build_dir gnome2_src_install
|
||||||
|
dodoc AUTHORS NEWS README # ChangeLog simply points to git log
|
||||||
|
}
|
@ -1,3 +1 @@
|
|||||||
DIST ansible-1.0.tar.gz 629525 SHA256 6e9bba5eef2575284bfc533c0cc751468d7a07dd608845437c2f96fc57653a54 SHA512 d5f84184cb7c0bc086ee726188d5e13533172cb219b6dde0a570b165540f08f64ca708b515e52fb95b1675755f1f90550a962c3b51fd085763389daa12ec971a WHIRLPOOL bb0cdbe096e4dcf6cf1d473b4678e9a3deec59d34da5fdebe1d80b20b781392a841bc5641fefc7f0f581be79c4829f9436792545cc2dfd0f70097d9d16213935
|
|
||||||
DIST ansible-1.1.tar.gz 718567 SHA256 85331eda53171fc5faba9835f978e721c091b2f9792bd3e29dccdde5a16a1125 SHA512 cbe816b109077cee01a0fb92d11e0a1caad3a8ea7bea3a7fd77f1ad82bfe69824736c222072f8d98e8ebaf1e24f1b4a98c87eba5d950f7dc36259cfe6774d067 WHIRLPOOL 88597c5c37bc9653c5c9df5b9e846f13f939ee84b961c041c5b3f9f9e2592a24a7e6ac5a1581ac52b89328aa906d67c74af363500f72510263951625c3c9db67
|
|
||||||
DIST ansible-1.2.1.tar.gz 777619 SHA256 5b46639fea3576233c8f235468a8b19f0b180fc0ddd6ede3014bc570362c5e66 SHA512 4efe9583f91e36bb07787d272b6a5e79d1cd37e17d1d1bdbcf99c54736838642cba051601e95b38b957deb9d7ec92c11b84da6fa4984bdeeee3b951b6df94ac3 WHIRLPOOL ad63ac251b0ed3f2ba48feb742271498f698b956cfc6be129080d0e33b086180a41d5c99f45423eebeab1a3a191048d6ee8d71311e81871368e2235a25a73705
|
DIST ansible-1.2.1.tar.gz 777619 SHA256 5b46639fea3576233c8f235468a8b19f0b180fc0ddd6ede3014bc570362c5e66 SHA512 4efe9583f91e36bb07787d272b6a5e79d1cd37e17d1d1bdbcf99c54736838642cba051601e95b38b957deb9d7ec92c11b84da6fa4984bdeeee3b951b6df94ac3 WHIRLPOOL ad63ac251b0ed3f2ba48feb742271498f698b956cfc6be129080d0e33b086180a41d5c99f45423eebeab1a3a191048d6ee8d71311e81871368e2235a25a73705
|
||||||
|
@ -1,66 +0,0 @@
|
|||||||
# Copyright 1999-2013 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/ansible/ansible-1.0.ebuild,v 1.3 2013/05/25 11:11:52 ago Exp $
|
|
||||||
|
|
||||||
EAPI="5"
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Radically simple deployment, model-driven configuration management, and command execution framework"
|
|
||||||
HOMEPAGE="http://ansible.cc/"
|
|
||||||
SRC_URI="https://github.com/ansible/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
KEYWORDS="amd64 x86"
|
|
||||||
LICENSE="GPL-3"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="examples test"
|
|
||||||
|
|
||||||
DEPEND="test? (
|
|
||||||
dev-python/nose
|
|
||||||
dev-vcs/git
|
|
||||||
)"
|
|
||||||
RDEPEND="
|
|
||||||
dev-python/jinja
|
|
||||||
dev-python/pyyaml
|
|
||||||
dev-python/paramiko
|
|
||||||
net-misc/sshpass
|
|
||||||
virtual/ssh
|
|
||||||
"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
distutils-r1_src_prepare
|
|
||||||
# Skip tests which need ssh access
|
|
||||||
sed -i 's:PYTHONPATH=./lib nosetests.*:\0 -e \\(TestPlayBook.py\\|TestRunner.py\\):' Makefile || die "sed failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
make tests
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
distutils-r1_src_install
|
|
||||||
|
|
||||||
insinto /usr/share/ansible
|
|
||||||
doins library/*
|
|
||||||
|
|
||||||
doman docs/man/man1/*.1
|
|
||||||
if use examples; then
|
|
||||||
dodoc -r examples
|
|
||||||
docompress -x /usr/share/doc/${PF}/examples
|
|
||||||
fi
|
|
||||||
# Hint: do not install example config files into /etc
|
|
||||||
# let this choice to user
|
|
||||||
|
|
||||||
newenvd "${FILESDIR}"/${PN}.env 95ansible
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
if [[ -z ${REPLACING_VERSIONS} ]] ; then
|
|
||||||
elog "You can define parameters through shell variables OR use config files"
|
|
||||||
elog "Examples of config files installed in /usr/share/doc/${P}/examples"
|
|
||||||
elog "You have to create ansible hosts file!"
|
|
||||||
elog "More info on http://ansible.cc/docs/gettingstarted.html"
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,60 +0,0 @@
|
|||||||
# Copyright 1999-2013 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/ansible/ansible-1.1.ebuild,v 1.1 2013/05/25 08:03:41 pinkbyte Exp $
|
|
||||||
|
|
||||||
EAPI="5"
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
|
||||||
|
|
||||||
inherit distutils-r1 readme.gentoo
|
|
||||||
|
|
||||||
DESCRIPTION="Radically simple deployment, model-driven configuration management, and command execution framework"
|
|
||||||
HOMEPAGE="http://ansible.cc/"
|
|
||||||
SRC_URI="https://github.com/ansible/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
LICENSE="GPL-3"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="examples test"
|
|
||||||
|
|
||||||
DEPEND="test? (
|
|
||||||
dev-python/nose
|
|
||||||
dev-vcs/git
|
|
||||||
)"
|
|
||||||
RDEPEND="
|
|
||||||
dev-python/jinja
|
|
||||||
dev-python/pyyaml
|
|
||||||
dev-python/paramiko
|
|
||||||
net-misc/sshpass
|
|
||||||
virtual/ssh
|
|
||||||
"
|
|
||||||
|
|
||||||
DOC_CONTENTS="You can define parameters through shell variables OR use config files
|
|
||||||
Examples of config files installed in /usr/share/doc/${P}/examples\n\n
|
|
||||||
You have to create ansible hosts file!\n
|
|
||||||
More info on http://ansible.cc/docs/gettingstarted.html"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
distutils-r1_src_prepare
|
|
||||||
# Skip tests which need ssh access
|
|
||||||
sed -i 's:PYTHONPATH=./lib nosetests.*:\0 -e \\(TestPlayBook.py\\|TestRunner.py\\):' Makefile || die "sed failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
make tests || die "tests failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
distutils-r1_src_install
|
|
||||||
readme.gentoo_create_doc
|
|
||||||
|
|
||||||
doman docs/man/man1/*.1
|
|
||||||
if use examples; then
|
|
||||||
dodoc -r examples
|
|
||||||
docompress -x /usr/share/doc/${PF}/examples
|
|
||||||
fi
|
|
||||||
# Hint: do not install example config files into /etc
|
|
||||||
# let this choice to user
|
|
||||||
|
|
||||||
newenvd "${FILESDIR}"/${PN}.env 95ansible
|
|
||||||
}
|
|
@ -0,0 +1,371 @@
|
|||||||
|
# Copyright 1999-2013 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/app-admin/collectd/collectd-5.4.0.ebuild,v 1.1 2013/08/22 09:42:58 tomwij Exp $
|
||||||
|
|
||||||
|
EAPI="5"
|
||||||
|
|
||||||
|
inherit autotools base eutils linux-info multilib perl-app systemd user
|
||||||
|
|
||||||
|
DESCRIPTION="A a daemon which collects system statistic and provides mechanisms to store the values"
|
||||||
|
|
||||||
|
HOMEPAGE="http://collectd.org"
|
||||||
|
SRC_URI="${HOMEPAGE}/files/${P}.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="contrib debug kernel_linux kernel_FreeBSD kernel_Darwin perl static-libs"
|
||||||
|
|
||||||
|
# The plugin lists have to follow here since they extend IUSE
|
||||||
|
|
||||||
|
# Plugins that to my knowledge cannot be supported (eg. dependencies not in gentoo)
|
||||||
|
COLLECTD_IMPOSSIBLE_PLUGINS="aquaero mic netapp pinba sigrok xmms"
|
||||||
|
|
||||||
|
# Plugins that still need some work
|
||||||
|
COLLECTD_UNTESTED_PLUGINS="amqp apple_sensors genericjmx ipvs lpar modbus redis
|
||||||
|
tape write_redis zfs_arc"
|
||||||
|
|
||||||
|
# Plugins that have been (compile) tested and can be enabled via COLLECTD_PLUGINS
|
||||||
|
COLLECTD_TESTED_PLUGINS="aggregation apache apcups ascent battery bind cgroups
|
||||||
|
conntrack contextswitch cpu cpufreq csv curl curl_json curl_xml dbi df disk dns
|
||||||
|
email entropy ethstat exec filecount fscache gmond hddtemp interface ipmi
|
||||||
|
iptables irq java libvirt load logfile lvm madwifi match_empty_counter
|
||||||
|
match_hashed match_regex match_timediff match_value mbmon md memcachec memcached
|
||||||
|
memory multimeter mysql netlink network network nfs nginx notify_desktop
|
||||||
|
notify_email ntpd numa nut olsrd onewire openvpn oracle perl perl ping postgresql
|
||||||
|
powerdns processes protocols python python routeros rrdcached rrdcached rrdtool
|
||||||
|
sensors serial snmp statsd swap syslog table tail target_notification
|
||||||
|
target_replace target_scale target_set tcpconns teamspeak2 ted thermal threshold
|
||||||
|
tokyotyrant unixsock uptime users uuid varnish vmem vserver wireless
|
||||||
|
write_graphite write_http write_mongodb"
|
||||||
|
|
||||||
|
COLLECTD_DISABLED_PLUGINS="${COLLECTD_IMPOSSIBLE_PLUGINS} ${COLLECTD_UNTESTED_PLUGINS}"
|
||||||
|
|
||||||
|
COLLECTD_ALL_PLUGINS=${COLLECTD_TESTED_PLUGINS}
|
||||||
|
|
||||||
|
for plugin in ${COLLECTD_ALL_PLUGINS}; do
|
||||||
|
IUSE="${IUSE} collectd_plugins_${plugin}"
|
||||||
|
done
|
||||||
|
unset plugin
|
||||||
|
|
||||||
|
# Now come the dependencies.
|
||||||
|
|
||||||
|
COMMON_DEPEND="
|
||||||
|
dev-libs/libgcrypt
|
||||||
|
sys-devel/libtool
|
||||||
|
perl? ( dev-lang/perl[ithreads] ( || ( sys-devel/libperl[ithreads] >=sys-devel/libperl-5.10 ) ) )
|
||||||
|
collectd_plugins_apache? ( net-misc/curl )
|
||||||
|
collectd_plugins_ascent? ( net-misc/curl dev-libs/libxml2 )
|
||||||
|
collectd_plugins_bind? ( dev-libs/libxml2 )
|
||||||
|
collectd_plugins_curl? ( net-misc/curl )
|
||||||
|
collectd_plugins_curl_json? ( net-misc/curl dev-libs/yajl )
|
||||||
|
collectd_plugins_curl_xml? ( net-misc/curl dev-libs/libxml2 )
|
||||||
|
collectd_plugins_dbi? ( dev-db/libdbi )
|
||||||
|
collectd_plugins_dns? ( net-libs/libpcap )
|
||||||
|
collectd_plugins_gmond? ( sys-cluster/ganglia )
|
||||||
|
collectd_plugins_ipmi? ( >=sys-libs/openipmi-2.0.16-r1 )
|
||||||
|
collectd_plugins_iptables? ( >=net-firewall/iptables-1.4.13 )
|
||||||
|
collectd_plugins_java? ( virtual/jre dev-java/java-config-wrapper )
|
||||||
|
collectd_plugins_libvirt? ( app-emulation/libvirt dev-libs/libxml2 )
|
||||||
|
collectd_plugins_lvm? ( sys-fs/lvm2 )
|
||||||
|
collectd_plugins_memcachec? ( dev-libs/libmemcached )
|
||||||
|
collectd_plugins_mysql? ( >=virtual/mysql-5.0 )
|
||||||
|
collectd_plugins_netlink? ( net-libs/libmnl )
|
||||||
|
collectd_plugins_nginx? ( net-misc/curl )
|
||||||
|
collectd_plugins_notify_desktop? ( x11-libs/libnotify )
|
||||||
|
collectd_plugins_notify_email? ( net-libs/libesmtp dev-libs/openssl )
|
||||||
|
collectd_plugins_nut? ( sys-power/nut )
|
||||||
|
collectd_plugins_onewire? ( sys-fs/owfs )
|
||||||
|
collectd_plugins_oracle? ( dev-db/oracle-instantclient-basic )
|
||||||
|
collectd_plugins_perl? ( dev-lang/perl[ithreads] ( || ( sys-devel/libperl[ithreads] >=sys-devel/libperl-5.10 ) ) )
|
||||||
|
collectd_plugins_ping? ( net-libs/liboping )
|
||||||
|
collectd_plugins_postgresql? ( dev-db/postgresql-base )
|
||||||
|
collectd_plugins_python? ( =dev-lang/python-2* )
|
||||||
|
collectd_plugins_routeros? ( net-libs/librouteros )
|
||||||
|
collectd_plugins_rrdcached? ( net-analyzer/rrdtool )
|
||||||
|
collectd_plugins_rrdtool? ( net-analyzer/rrdtool )
|
||||||
|
collectd_plugins_sensors? ( sys-apps/lm_sensors )
|
||||||
|
collectd_plugins_snmp? ( net-analyzer/net-snmp )
|
||||||
|
collectd_plugins_tokyotyrant? ( net-misc/tokyotyrant )
|
||||||
|
collectd_plugins_varnish? ( www-servers/varnish )
|
||||||
|
collectd_plugins_write_http? ( net-misc/curl )
|
||||||
|
collectd_plugins_write_mongodb? ( dev-libs/mongo-c-driver )
|
||||||
|
|
||||||
|
kernel_FreeBSD? (
|
||||||
|
collectd_plugins_disk? ( sys-libs/libstatgrab )
|
||||||
|
collectd_plugins_interface? ( sys-libs/libstatgrab )
|
||||||
|
collectd_plugins_load? ( sys-libs/libstatgrab )
|
||||||
|
collectd_plugins_memory? ( sys-libs/libstatgrab )
|
||||||
|
collectd_plugins_swap? ( sys-libs/libstatgrab )
|
||||||
|
collectd_plugins_users? ( sys-libs/libstatgrab )
|
||||||
|
)"
|
||||||
|
|
||||||
|
DEPEND="${COMMON_DEPEND}
|
||||||
|
virtual/pkgconfig
|
||||||
|
kernel_linux? (
|
||||||
|
collectd_plugins_vserver? ( sys-kernel/vserver-sources )
|
||||||
|
)"
|
||||||
|
|
||||||
|
RDEPEND="${COMMON_DEPEND}
|
||||||
|
collectd_plugins_syslog? ( virtual/logger )"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}/${PN}-4.10.2"-{libocci,nohal}.patch
|
||||||
|
"${FILESDIR}/${PN}-4.10.3"-werror.patch
|
||||||
|
"${FILESDIR}/${PN}-5.1.0"-libperl.patch
|
||||||
|
"${FILESDIR}/${PN}-5.1.1"-lt.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
# @FUNCTION: collectd_plugin_kernel_linux
|
||||||
|
# @DESCRIPTION:
|
||||||
|
# USAGE: <plug-in name> <kernel_options> <severity>
|
||||||
|
# kernel_options is a list of kernel configurations options; the check tests whether at least
|
||||||
|
# one of them is enabled. If no, depending on the third argument an elog, ewarn, or eerror message
|
||||||
|
# is emitted.
|
||||||
|
collectd_plugin_kernel_linux() {
|
||||||
|
local multi_opt opt
|
||||||
|
if has ${1} ${COLLECTD_ALL_PLUGINS}; then
|
||||||
|
if use collectd_plugins_${1}; then
|
||||||
|
for opt in ${2}; do
|
||||||
|
if linux_chkconfig_present ${opt}; then return 0; fi
|
||||||
|
done
|
||||||
|
multi_opt=${2//\ /\ or\ }
|
||||||
|
case ${3} in
|
||||||
|
(info)
|
||||||
|
elog "The ${1} plug-in can use kernel features that are disabled now; enable ${multi_opt} in your kernel"
|
||||||
|
;;
|
||||||
|
(warn)
|
||||||
|
ewarn "The ${1} plug-in uses kernel features that are disabled now; enable ${multi_opt} in your kernel"
|
||||||
|
;;
|
||||||
|
(error)
|
||||||
|
eerror "The ${1} plug-in needs kernel features that are disabled now; enable ${multi_opt} in your kernel"
|
||||||
|
;;
|
||||||
|
(*)
|
||||||
|
die "function collectd_plugin_kernel_linux called with invalid third argument"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
collectd_linux_kernel_checks() {
|
||||||
|
linux-info_pkg_setup
|
||||||
|
|
||||||
|
# battery.c:/proc/pmu/battery_%i
|
||||||
|
# battery.c:/proc/acpi/battery
|
||||||
|
collectd_plugin_kernel_linux battery ACPI_BATTERY warn
|
||||||
|
|
||||||
|
# cgroups.c:/sys/fs/cgroup/
|
||||||
|
collectd_plugin_kernel_linux cgroups CONFIG_CGROUPS warn
|
||||||
|
|
||||||
|
# cpufreq.c:/sys/devices/system/cpu/cpu%d/cpufreq/
|
||||||
|
collectd_plugin_kernel_linux cpufreq SYSFS warn
|
||||||
|
collectd_plugin_kernel_linux cpufreq CPU_FREQ_STAT warn
|
||||||
|
|
||||||
|
# nfs.c:/proc/net/rpc/nfs
|
||||||
|
# nfs.c:/proc/net/rpc/nfsd
|
||||||
|
collectd_plugin_kernel_linux nfs NFS_COMMON warn
|
||||||
|
|
||||||
|
# serial.c:/proc/tty/driver/serial
|
||||||
|
# serial.c:/proc/tty/driver/ttyS
|
||||||
|
collectd_plugin_kernel_linux serial SERIAL_CORE warn
|
||||||
|
|
||||||
|
# swap.c:/proc/meminfo
|
||||||
|
collectd_plugin_kernel_linux swap SWAP warn
|
||||||
|
|
||||||
|
# thermal.c:/proc/acpi/thermal_zone
|
||||||
|
# thermal.c:/sys/class/thermal
|
||||||
|
collectd_plugin_kernel_linux thermal "PROC_FS SYSFS" warn
|
||||||
|
collectd_plugin_kernel_linux thermal ACPI_THERMAL warn
|
||||||
|
|
||||||
|
# vmem.c:/proc/vmstat
|
||||||
|
collectd_plugin_kernel_linux vmem VM_EVENT_COUNTERS warn
|
||||||
|
|
||||||
|
# uuid.c:/sys/hypervisor/uuid
|
||||||
|
collectd_plugin_kernel_linux uuid SYSFS info
|
||||||
|
|
||||||
|
# wireless.c:/proc/net/wireless
|
||||||
|
collectd_plugin_kernel_linux wireless "MAC80211 IEEE80211" warn
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
if use kernel_linux; then
|
||||||
|
if linux_config_exists; then
|
||||||
|
einfo "Checking your linux kernel configuration:"
|
||||||
|
collectd_linux_kernel_checks
|
||||||
|
else
|
||||||
|
elog "Cannot find a linux kernel configuration. Continuing anyway."
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
enewgroup collectd
|
||||||
|
enewuser collectd -1 -1 /var/lib/collectd collectd
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
base_src_prepare
|
||||||
|
|
||||||
|
# There's some strange prefix handling in the default config file, resulting in
|
||||||
|
# paths like "/usr/var/..."
|
||||||
|
sed -i -e "s:@prefix@/var:/var:g" src/collectd.conf.in || die
|
||||||
|
|
||||||
|
sed -i -e "s:/etc/collectd/collectd.conf:/etc/collectd.conf:g" contrib/collectd.service || die
|
||||||
|
|
||||||
|
# fix installdirs for perl, bug 444360
|
||||||
|
sed -i -e 's/INSTALL_BASE=$(DESTDIR)$(prefix) //' bindings/Makefile.am || die
|
||||||
|
|
||||||
|
rm -r libltdl || die
|
||||||
|
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
# Now come the lists of os-dependent plugins. Any plugin that is not listed anywhere here
|
||||||
|
# should work independent of the operating system.
|
||||||
|
|
||||||
|
local linux_plugins="battery cpu cpufreq disk entropy ethstat interface iptables ipvs irq load
|
||||||
|
memory md netlink nfs numa processes serial swap tcpconns thermal users vmem vserver
|
||||||
|
wireless"
|
||||||
|
|
||||||
|
local libstatgrab_plugins="cpu disk interface load memory swap users"
|
||||||
|
local bsd_plugins="cpu tcpconns ${libstatgrab_plugins}"
|
||||||
|
|
||||||
|
local darwin_plugins="apple_sensors battery cpu disk interface memory processes tcpconns"
|
||||||
|
|
||||||
|
local osdependent_plugins="${linux_plugins} ${bsd_plugins} ${darwin_plugins}"
|
||||||
|
local myos_plugins=""
|
||||||
|
if use kernel_linux; then
|
||||||
|
einfo "Enabling Linux plugins."
|
||||||
|
myos_plugins=${linux_plugins}
|
||||||
|
elif use kernel_FreeBSD; then
|
||||||
|
einfo "Enabling FreeBSD plugins."
|
||||||
|
myos_plugins=${bsd_plugins}
|
||||||
|
elif use kernel_Darwin; then
|
||||||
|
einfo "Enabling Darwin plugins."
|
||||||
|
myos_plugins=${darwin_plugins}
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Do we debug?
|
||||||
|
local myconf="$(use_enable debug)"
|
||||||
|
|
||||||
|
local plugin
|
||||||
|
|
||||||
|
# Disable what needs to be disabled.
|
||||||
|
for plugin in ${COLLECTD_DISABLED_PLUGINS}; do
|
||||||
|
myconf+=" --disable-${plugin}"
|
||||||
|
done
|
||||||
|
|
||||||
|
# Set enable/disable for each single plugin.
|
||||||
|
for plugin in ${COLLECTD_ALL_PLUGINS}; do
|
||||||
|
if has ${plugin} ${osdependent_plugins}; then
|
||||||
|
# plugin is os-dependent ...
|
||||||
|
if has ${plugin} ${myos_plugins}; then
|
||||||
|
# ... and available in this os
|
||||||
|
myconf+=" $(use_enable collectd_plugins_${plugin} ${plugin})"
|
||||||
|
else
|
||||||
|
# ... and NOT available in this os
|
||||||
|
if use collectd_plugins_${plugin}; then
|
||||||
|
ewarn "You try to enable the ${plugin} plugin, but it is not available for this"
|
||||||
|
ewarn "kernel. Disabling it automatically."
|
||||||
|
fi
|
||||||
|
myconf+=" --disable-${plugin}"
|
||||||
|
fi
|
||||||
|
elif [[ "${plugin}" = "collectd_plugins_perl" ]]; then
|
||||||
|
if use collectd_plugins_perl && ! use perl; then
|
||||||
|
ewarn "Perl plugin disabled as perl bindings disabled by -perl use flag"
|
||||||
|
myconf+= --disable-perl
|
||||||
|
else
|
||||||
|
myconf+=" $(use_enable collectd_plugins_${plugin} ${plugin})"
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
myconf+=" $(use_enable collectd_plugins_${plugin} ${plugin})"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
# Need JAVA_HOME for java.
|
||||||
|
if use collectd_plugins_java; then
|
||||||
|
myconf+=" --with-java=$(java-config -g JAVA_HOME)"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Need libiptc ONLY for iptables. If we try to use it otherwise bug 340109 happens.
|
||||||
|
if ! use collectd_plugins_iptables; then
|
||||||
|
myconf+=" --with-libiptc=no"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use perl; then
|
||||||
|
myconf+=" --with-perl-bindings=INSTALLDIRS=vendor"
|
||||||
|
else
|
||||||
|
myconf+=" --without-perl-bindings"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# No need for v5upgrade
|
||||||
|
myconf+=" --disable-target_v5upgrade"
|
||||||
|
|
||||||
|
# Finally, run econf.
|
||||||
|
KERNEL_DIR="${KERNEL_DIR}" econf --config-cache --without-included-ltdl $(use_enable static-libs static) --localstatedir=/var ${myconf}
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake DESTDIR="${D}" install
|
||||||
|
|
||||||
|
fixlocalpod
|
||||||
|
|
||||||
|
find "${D}/usr/" -name "*.la" -exec rm -f {} +
|
||||||
|
|
||||||
|
# use collectd_plugins_ping && setcap cap_net_raw+ep ${D}/usr/sbin/collectd
|
||||||
|
# we cannot do this yet
|
||||||
|
|
||||||
|
fowners root:collectd /etc/collectd.conf
|
||||||
|
fperms u=rw,g=r,o= /etc/collectd.conf
|
||||||
|
|
||||||
|
dodoc AUTHORS ChangeLog NEWS README TODO
|
||||||
|
|
||||||
|
if use contrib ; then
|
||||||
|
insinto /usr/share/doc/${PF}
|
||||||
|
doins -r contrib
|
||||||
|
fi
|
||||||
|
|
||||||
|
keepdir /var/lib/${PN}
|
||||||
|
fowners collectd:collectd /var/lib/${PN}
|
||||||
|
|
||||||
|
newinitd "${FILESDIR}/${PN}.initd" ${PN}
|
||||||
|
newconfd "${FILESDIR}/${PN}.confd" ${PN}
|
||||||
|
systemd_dounit "contrib/${PN}.service"
|
||||||
|
|
||||||
|
insinto /etc/logrotate.d
|
||||||
|
newins "${FILESDIR}/logrotate" collectd
|
||||||
|
|
||||||
|
sed -i -e 's:^.*PIDFile "/var/run/collectd.pid":PIDFile "/var/run/collectd/collectd.pid":' "${D}"/etc/collectd.conf || die
|
||||||
|
sed -i -e 's:^# SocketFile "/var/run/collectd-unixsock":# SocketFile "/var/run/collectd/collectd-unixsock":' "${D}"/etc/collectd.conf || die
|
||||||
|
sed -i -e 's:^.*LoadPlugin perl$:# The new, correct way to load the perl plugin -- \n# <LoadPlugin perl>\n# Globals true\n# </LoadPlugin>:' "${D}"/etc/collectd.conf || die
|
||||||
|
sed -i -e 's:^.*LoadPlugin python$:# The new, correct way to load the python plugin -- \n# <LoadPlugin python>\n# Globals true\n# </LoadPlugin>:' "${D}"/etc/collectd.conf || die
|
||||||
|
}
|
||||||
|
|
||||||
|
collectd_rdeps() {
|
||||||
|
if (use collectd_plugins_${1} && ! has_version "${2}"); then
|
||||||
|
elog "The ${1} plug-in needs ${2} to be installed locally or remotely to work."
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
collectd_rdeps apcups sys-power/apcupsd
|
||||||
|
collectd_rdeps hddtemp app-admin/hddtemp
|
||||||
|
collectd_rdeps mbmon sys-apps/xmbmon
|
||||||
|
collectd_rdeps memcached ">=net-misc/memcached-1.2.2-r2"
|
||||||
|
collectd_rdeps ntpd net-misc/ntp
|
||||||
|
collectd_rdeps openvpn ">=net-misc/openvpn-2.0.9"
|
||||||
|
collectd_rdeps write_mongodb "dev-db/mongodb"
|
||||||
|
|
||||||
|
echo
|
||||||
|
elog "collectd is now started as unprivileged user by default."
|
||||||
|
elog "You may want to recheck the configuration."
|
||||||
|
elog
|
||||||
|
|
||||||
|
if use collectd_plugins_email; then
|
||||||
|
ewarn "The email plug-in is deprecated. To submit statistics please use the unixsock plugin."
|
||||||
|
fi
|
||||||
|
if use contrib; then
|
||||||
|
elog "The scripts in /usr/share/doc/${PF}/collection3 for generating graphs need dev-perl/HTML-Parser,"
|
||||||
|
elog "dev-perl/config-general, dev-perl/regexp-common, and net-analyzer/rrdtool[perl] to be installed."
|
||||||
|
fi
|
||||||
|
}
|
@ -1,4 +1 @@
|
|||||||
DIST entropy-136.tar.bz2 1612759 SHA256 4384b251f259c868f8ee3480701beecb466ca8c5727915e6b437291d03f4c63b SHA512 3b2725de557efa76ee65f368f486ab952f49a63474b5226e7b9ce137bee1c9c1ef73074c4d255e3d8695666556923d827c9cb1e232b307c4893d76e6cc6fb948 WHIRLPOOL 222d2c292c4a7c0d465be31898c4b2bf1469b7c769b4099106ded24334f4d16dde1f95ea532cbb2a167e2b7fcc30e6f59974839c3a8019c02c962fc634556e1b
|
DIST entropy-216.tar.bz2 18429942 SHA256 c2569d7233b80b9373cde11645e6e9c4142038387ad4aa8943ed1ddfeb86f501 SHA512 8b6a19f311520ca48a998aadb10717f5ad81eb8c26b71c1f8a8b67f84fd9876117adf650eb4fa59893130fd3db669ba370804a33311fe7eff45546a5a92e6b7d WHIRLPOOL b220b870f099cfe014ad355760855dc91bbc11c76f39b34e03ec251e1f8f9bdf04bb4f1dd0ad9e0c5e63a4328f6c9691abd4f9e759b8546fac7026386b4c174b
|
||||||
DIST entropy-144.tar.bz2 1616075 SHA256 173825d13f4b5c5aecf4d82b4e593921baf2209496be56190babbb142ad9b75d SHA512 30ca32fdf0747530c656ec9c96aed5dad00e8fb4181bd4c2e4a4aed3c5b06427e5b07baa41db13ff03d6730f13607e86f557aad84cb6e85af5d9c49029a911c7 WHIRLPOOL a14b76a2c247e2d4db12e2c78735c64ca183a474758f8b8ab9748cd93378300cd737377888beb03cc64e0ddeff0cb201fd790489ddfee48b8cf82032429509ac
|
|
||||||
DIST entropy-183.tar.bz2 1685003 SHA256 5b2d99ef61a68497c228c392d607faa7fef9b5debe7628f381e4facbef290f38 SHA512 95b83797fc519c5cfd12a985ee3221ffe83fe19289681ca1b0f022a7b9491bdf9b74a06fe4f010536a22db78bac4f3325fc5eab0c11243240fdee5789690e2aa WHIRLPOOL bbd6c44e5bce24e602f89075e126b5e914900aad8bd3b1ff301c733d8838f4cd1aac279a707f81c0873c24259078e5fdc9dacbf1f30d0fd5eef3aa9f9376f7c5
|
|
||||||
DIST entropy-189.tar.bz2 18411813 SHA256 5043ae83953c9d497c6bbeb58111bde36f51b895a8c3bed051ded9f00cbe1b96 SHA512 03b9ee7a7453ff78aae00b0441ae765406f05a8b2060b239bea10703d78e68a770bd526c5f72e3534d80733c44475a90b61289c1315d3ba9c17d2f7f713348cd WHIRLPOOL 9ce23fcb4480b7cb315b54be8e908b5e364aa222ba95f399679f9d8584d355c2638eb248e4ed80bbf13ceaad89ce07cf18b24912bb7bfd6647d7db186db77f02
|
|
||||||
|
@ -1,43 +0,0 @@
|
|||||||
# Copyright 1999-2012 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/equo/equo-136.ebuild,v 1.1 2012/08/24 14:23:02 lxnay Exp $
|
|
||||||
|
|
||||||
EAPI=3
|
|
||||||
PYTHON_DEPEND="2"
|
|
||||||
inherit eutils python bash-completion-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Entropy Package Manager text-based client"
|
|
||||||
HOMEPAGE="http://www.sabayon.org"
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm ~x86"
|
|
||||||
IUSE=""
|
|
||||||
SRC_URI="mirror://sabayon/sys-apps/entropy-${PV}.tar.bz2"
|
|
||||||
|
|
||||||
S="${WORKDIR}/entropy-${PV}"
|
|
||||||
|
|
||||||
DEPEND="~sys-apps/entropy-${PV}"
|
|
||||||
RDEPEND="${DEPEND} sys-apps/file[python]"
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake || die "make failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${D}" LIBDIR="usr/lib" equo-install || die "make install failed"
|
|
||||||
newbashcomp "${S}/misc/equo-completion.bash" equo
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
python_mod_optimize "/usr/lib/entropy/client"
|
|
||||||
echo
|
|
||||||
elog "If you would like to allow users in the 'entropy' group"
|
|
||||||
elog "to update available package repositories, please consider"
|
|
||||||
elog "to install sys-apps/rigo-daemon"
|
|
||||||
echo
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
python_mod_cleanup "/usr/lib/entropy/client"
|
|
||||||
}
|
|
@ -1,43 +0,0 @@
|
|||||||
# Copyright 1999-2012 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/equo/equo-144.ebuild,v 1.1 2012/09/27 10:59:44 lxnay Exp $
|
|
||||||
|
|
||||||
EAPI=3
|
|
||||||
PYTHON_DEPEND="2"
|
|
||||||
inherit eutils python bash-completion-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Entropy Package Manager text-based client"
|
|
||||||
HOMEPAGE="http://www.sabayon.org"
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm ~x86"
|
|
||||||
IUSE=""
|
|
||||||
SRC_URI="mirror://sabayon/sys-apps/entropy-${PV}.tar.bz2"
|
|
||||||
|
|
||||||
S="${WORKDIR}/entropy-${PV}"
|
|
||||||
|
|
||||||
DEPEND="~sys-apps/entropy-${PV}"
|
|
||||||
RDEPEND="${DEPEND} sys-apps/file[python]"
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake || die "make failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${D}" LIBDIR="usr/lib" equo-install || die "make install failed"
|
|
||||||
newbashcomp "${S}/misc/equo-completion.bash" equo
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
python_mod_optimize "/usr/lib/entropy/client"
|
|
||||||
echo
|
|
||||||
elog "If you would like to allow users in the 'entropy' group"
|
|
||||||
elog "to update available package repositories, please consider"
|
|
||||||
elog "to install sys-apps/rigo-daemon"
|
|
||||||
echo
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
python_mod_cleanup "/usr/lib/entropy/client"
|
|
||||||
}
|
|
@ -1,45 +0,0 @@
|
|||||||
# Copyright 1999-2013 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/equo/equo-183.ebuild,v 1.1 2013/03/14 18:09:19 lxnay Exp $
|
|
||||||
|
|
||||||
EAPI=3
|
|
||||||
PYTHON_DEPEND="2"
|
|
||||||
inherit eutils python bash-completion-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Entropy Package Manager text-based client"
|
|
||||||
HOMEPAGE="http://www.sabayon.org"
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm ~x86"
|
|
||||||
IUSE=""
|
|
||||||
SRC_URI="mirror://sabayon/sys-apps/entropy-${PV}.tar.bz2"
|
|
||||||
|
|
||||||
S="${WORKDIR}/entropy-${PV}"
|
|
||||||
|
|
||||||
DEPEND="~sys-apps/entropy-${PV}"
|
|
||||||
RDEPEND="${DEPEND} sys-apps/file[python]"
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
cd "${S}"/client || die
|
|
||||||
emake || die "make failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
cd "${S}"/client || die
|
|
||||||
emake DESTDIR="${D}" LIBDIR="usr/lib" install || die "make install failed"
|
|
||||||
newbashcomp "${S}/misc/equo-completion.bash" equo
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
python_mod_optimize "/usr/lib/entropy/client"
|
|
||||||
echo
|
|
||||||
elog "If you would like to allow users in the 'entropy' group"
|
|
||||||
elog "to update available package repositories, please consider"
|
|
||||||
elog "to install sys-apps/rigo-daemon"
|
|
||||||
echo
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
python_mod_cleanup "/usr/lib/entropy/client"
|
|
||||||
}
|
|
@ -1,6 +1,6 @@
|
|||||||
# Copyright 1999-2013 Gentoo Foundation
|
# Copyright 1999-2013 Gentoo Foundation
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/equo/equo-189.ebuild,v 1.1 2013/04/02 09:33:56 lxnay Exp $
|
# $Header: /var/cvsroot/gentoo-x86/app-admin/equo/equo-216.ebuild,v 1.1 2013/08/22 11:12:11 lxnay Exp $
|
||||||
|
|
||||||
EAPI=3
|
EAPI=3
|
||||||
PYTHON_DEPEND="2"
|
PYTHON_DEPEND="2"
|
@ -1,2 +1,3 @@
|
|||||||
DIST hardinfo-0.5.1.tar.bz2 246924 SHA256 a0df6c0d7c92a7d20710b8eb551197398a965aaae053782b89a32a160b731b7a SHA512 5a4322ff3bddd31710c5aa6e68feadf755ed8f36c1b36bb914c212d431b341fad5cc16afdfe9b8feeb6c219dd1616015d59b142798fc06498e728d1039ddf04d WHIRLPOOL 024bc3aa3570947684a1b28b606f5bb881d6e55190f733b19f51f7d329af286ba34dfcb9fdc328f154c207558913297de3f3e83617a6eed51086045c59bbef07
|
DIST hardinfo-0.5.1.tar.bz2 246924 SHA256 a0df6c0d7c92a7d20710b8eb551197398a965aaae053782b89a32a160b731b7a SHA512 5a4322ff3bddd31710c5aa6e68feadf755ed8f36c1b36bb914c212d431b341fad5cc16afdfe9b8feeb6c219dd1616015d59b142798fc06498e728d1039ddf04d WHIRLPOOL 024bc3aa3570947684a1b28b606f5bb881d6e55190f733b19f51f7d329af286ba34dfcb9fdc328f154c207558913297de3f3e83617a6eed51086045c59bbef07
|
||||||
DIST hardinfo-0.5.2_pre20120527.tar.xz 278524 SHA256 d01f1a59b2911f54e0aaea178c0c600f2505abafd0a46c54e80e9aa0fec2db56 SHA512 477082b0f6ae6293b40e672b95bbad6629e67462557e142847115619a0f667ef667da98ab01dfafe17bac27d20c1f9c5ff711e1f8642a4898730c2e2daba8afe WHIRLPOOL 0d39f17279dd93a282dc0f61dd01a13eca345e8aabf52d403dda1c70ae9f0de445c71c4fcc46dbf614a867ea75826288ec50595826b52e131d72daaf1b9f78ba
|
DIST hardinfo-0.5.2_pre20120527.tar.xz 278524 SHA256 d01f1a59b2911f54e0aaea178c0c600f2505abafd0a46c54e80e9aa0fec2db56 SHA512 477082b0f6ae6293b40e672b95bbad6629e67462557e142847115619a0f667ef667da98ab01dfafe17bac27d20c1f9c5ff711e1f8642a4898730c2e2daba8afe WHIRLPOOL 0d39f17279dd93a282dc0f61dd01a13eca345e8aabf52d403dda1c70ae9f0de445c71c4fcc46dbf614a867ea75826288ec50595826b52e131d72daaf1b9f78ba
|
||||||
|
DIST hardinfo-0.5.2_pre20130823.tar.xz 280472 SHA256 afebba2f2ff666577f5871bb34f43f8613163b264d3805b42d38bca59905b542 SHA512 e36bd4eec0090461de5fdb6c17dccf76937ee8fa9cb3411068fc568847f519023037999278bbb8b9a24608ed5b1d7fd2bebfe7115c631ccca1c35fa259cb20b1 WHIRLPOOL 416ef939f3747983f0736efb8cf317f19b4eee7489dea7caeff77782922b09b53442a6b08ec44357dfbe39cc552c7757b99365924b7b48ee92d780feffd3242f
|
||||||
|
@ -0,0 +1,24 @@
|
|||||||
|
# Copyright 1999-2013 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/app-admin/hardinfo/hardinfo-0.5.2_pre20130823.ebuild,v 1.1 2013/08/23 13:13:04 hasufell Exp $
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
|
||||||
|
inherit cmake-utils
|
||||||
|
|
||||||
|
DESCRIPTION="A system information and benchmark tool for Linux systems"
|
||||||
|
HOMEPAGE="http://hardinfo.berlios.de/"
|
||||||
|
SRC_URI="http://dev.gentoo.org/~hasufell/distfiles/${P}.tar.xz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
RDEPEND="dev-libs/glib:2
|
||||||
|
net-libs/libsoup
|
||||||
|
x11-libs/gdk-pixbuf
|
||||||
|
x11-libs/gtk+:2
|
||||||
|
x11-libs/pango"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
virtual/pkgconfig"
|
@ -1,2 +1 @@
|
|||||||
DIST entropy-183.tar.bz2 1685003 SHA256 5b2d99ef61a68497c228c392d607faa7fef9b5debe7628f381e4facbef290f38 SHA512 95b83797fc519c5cfd12a985ee3221ffe83fe19289681ca1b0f022a7b9491bdf9b74a06fe4f010536a22db78bac4f3325fc5eab0c11243240fdee5789690e2aa WHIRLPOOL bbd6c44e5bce24e602f89075e126b5e914900aad8bd3b1ff301c733d8838f4cd1aac279a707f81c0873c24259078e5fdc9dacbf1f30d0fd5eef3aa9f9376f7c5
|
DIST entropy-216.tar.bz2 18429942 SHA256 c2569d7233b80b9373cde11645e6e9c4142038387ad4aa8943ed1ddfeb86f501 SHA512 8b6a19f311520ca48a998aadb10717f5ad81eb8c26b71c1f8a8b67f84fd9876117adf650eb4fa59893130fd3db669ba370804a33311fe7eff45546a5a92e6b7d WHIRLPOOL b220b870f099cfe014ad355760855dc91bbc11c76f39b34e03ec251e1f8f9bdf04bb4f1dd0ad9e0c5e63a4328f6c9691abd4f9e759b8546fac7026386b4c174b
|
||||||
DIST entropy-189.tar.bz2 18411813 SHA256 5043ae83953c9d497c6bbeb58111bde36f51b895a8c3bed051ded9f00cbe1b96 SHA512 03b9ee7a7453ff78aae00b0441ae765406f05a8b2060b239bea10703d78e68a770bd526c5f72e3534d80733c44475a90b61289c1315d3ba9c17d2f7f713348cd WHIRLPOOL 9ce23fcb4480b7cb315b54be8e908b5e364aa222ba95f399679f9d8584d355c2638eb248e4ed80bbf13ceaad89ce07cf18b24912bb7bfd6647d7db186db77f02
|
|
||||||
|
@ -1,38 +0,0 @@
|
|||||||
# Copyright 1999-2013 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/matter/matter-189.ebuild,v 1.1 2013/04/02 09:34:33 lxnay Exp $
|
|
||||||
|
|
||||||
EAPI=3
|
|
||||||
PYTHON_DEPEND="2"
|
|
||||||
inherit eutils python bash-completion-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Automated Packages Builder for Portage and Entropy"
|
|
||||||
HOMEPAGE="http://www.sabayon.org"
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm ~x86"
|
|
||||||
IUSE="+entropy"
|
|
||||||
SRC_URI="mirror://sabayon/sys-apps/entropy-${PV}.tar.bz2"
|
|
||||||
|
|
||||||
S="${WORKDIR}/entropy-${PV}/${PN}"
|
|
||||||
|
|
||||||
DEPEND=""
|
|
||||||
RDEPEND="entropy? ( ~sys-apps/entropy-${PV} )
|
|
||||||
sys-apps/file[python]"
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${D}" install || die "make install failed"
|
|
||||||
emake DESTDIR="${D}" base-install || die "make base-install failed"
|
|
||||||
if use entropy; then
|
|
||||||
emake DESTDIR="${D}" entropysrv-install || die "make base-install failed"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
python_mod_optimize "/usr/lib/matter"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
python_mod_cleanup "/usr/lib/matter"
|
|
||||||
}
|
|
@ -1,6 +1,6 @@
|
|||||||
# Copyright 1999-2013 Gentoo Foundation
|
# Copyright 1999-2013 Gentoo Foundation
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/matter/matter-183.ebuild,v 1.1 2013/03/14 18:21:19 lxnay Exp $
|
# $Header: /var/cvsroot/gentoo-x86/app-admin/matter/matter-216.ebuild,v 1.1 2013/08/22 11:12:47 lxnay Exp $
|
||||||
|
|
||||||
EAPI=3
|
EAPI=3
|
||||||
PYTHON_DEPEND="2"
|
PYTHON_DEPEND="2"
|
@ -1,4 +1 @@
|
|||||||
DIST entropy-136.tar.bz2 1612759 SHA256 4384b251f259c868f8ee3480701beecb466ca8c5727915e6b437291d03f4c63b SHA512 3b2725de557efa76ee65f368f486ab952f49a63474b5226e7b9ce137bee1c9c1ef73074c4d255e3d8695666556923d827c9cb1e232b307c4893d76e6cc6fb948 WHIRLPOOL 222d2c292c4a7c0d465be31898c4b2bf1469b7c769b4099106ded24334f4d16dde1f95ea532cbb2a167e2b7fcc30e6f59974839c3a8019c02c962fc634556e1b
|
DIST entropy-216.tar.bz2 18429942 SHA256 c2569d7233b80b9373cde11645e6e9c4142038387ad4aa8943ed1ddfeb86f501 SHA512 8b6a19f311520ca48a998aadb10717f5ad81eb8c26b71c1f8a8b67f84fd9876117adf650eb4fa59893130fd3db669ba370804a33311fe7eff45546a5a92e6b7d WHIRLPOOL b220b870f099cfe014ad355760855dc91bbc11c76f39b34e03ec251e1f8f9bdf04bb4f1dd0ad9e0c5e63a4328f6c9691abd4f9e759b8546fac7026386b4c174b
|
||||||
DIST entropy-144.tar.bz2 1616075 SHA256 173825d13f4b5c5aecf4d82b4e593921baf2209496be56190babbb142ad9b75d SHA512 30ca32fdf0747530c656ec9c96aed5dad00e8fb4181bd4c2e4a4aed3c5b06427e5b07baa41db13ff03d6730f13607e86f557aad84cb6e85af5d9c49029a911c7 WHIRLPOOL a14b76a2c247e2d4db12e2c78735c64ca183a474758f8b8ab9748cd93378300cd737377888beb03cc64e0ddeff0cb201fd790489ddfee48b8cf82032429509ac
|
|
||||||
DIST entropy-183.tar.bz2 1685003 SHA256 5b2d99ef61a68497c228c392d607faa7fef9b5debe7628f381e4facbef290f38 SHA512 95b83797fc519c5cfd12a985ee3221ffe83fe19289681ca1b0f022a7b9491bdf9b74a06fe4f010536a22db78bac4f3325fc5eab0c11243240fdee5789690e2aa WHIRLPOOL bbd6c44e5bce24e602f89075e126b5e914900aad8bd3b1ff301c733d8838f4cd1aac279a707f81c0873c24259078e5fdc9dacbf1f30d0fd5eef3aa9f9376f7c5
|
|
||||||
DIST entropy-189.tar.bz2 18411813 SHA256 5043ae83953c9d497c6bbeb58111bde36f51b895a8c3bed051ded9f00cbe1b96 SHA512 03b9ee7a7453ff78aae00b0441ae765406f05a8b2060b239bea10703d78e68a770bd526c5f72e3534d80733c44475a90b61289c1315d3ba9c17d2f7f713348cd WHIRLPOOL 9ce23fcb4480b7cb315b54be8e908b5e364aa222ba95f399679f9d8584d355c2638eb248e4ed80bbf13ceaad89ce07cf18b24912bb7bfd6647d7db186db77f02
|
|
||||||
|
@ -1,48 +0,0 @@
|
|||||||
# Copyright 1999-2012 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/rigo/rigo-136.ebuild,v 1.1 2012/08/24 14:45:19 lxnay Exp $
|
|
||||||
|
|
||||||
EAPI="3"
|
|
||||||
PYTHON_DEPEND="2"
|
|
||||||
inherit eutils gnome2-utils fdo-mime python
|
|
||||||
|
|
||||||
DESCRIPTION="Rigo, the Sabayon Application Browser"
|
|
||||||
HOMEPAGE="http://www.sabayon.org"
|
|
||||||
LICENSE="GPL-3"
|
|
||||||
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm ~x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
SRC_URI="mirror://sabayon/sys-apps/entropy-${PV}.tar.bz2"
|
|
||||||
S="${WORKDIR}/entropy-${PV}/rigo"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
|| ( dev-python/pygobject-cairo:3 dev-python/pygobject:3[cairo] )
|
|
||||||
~sys-apps/entropy-${PV}
|
|
||||||
~sys-apps/rigo-daemon-${PV}
|
|
||||||
sys-devel/gettext
|
|
||||||
x11-libs/gtk+:3
|
|
||||||
x11-libs/vte:2.90
|
|
||||||
>=x11-misc/xdg-utils-1.1.0_rc1_p20120319"
|
|
||||||
DEPEND=""
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake || die "make failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${D}" install || die "make install failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
fdo-mime_mime_database_update
|
|
||||||
fdo-mime_desktop_database_update
|
|
||||||
python_mod_optimize "/usr/lib/rigo/${PN}"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
fdo-mime_mime_database_update
|
|
||||||
fdo-mime_desktop_database_update
|
|
||||||
python_mod_cleanup "/usr/lib/rigo/${PN}"
|
|
||||||
}
|
|
@ -1,48 +0,0 @@
|
|||||||
# Copyright 1999-2012 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/rigo/rigo-144.ebuild,v 1.1 2012/09/27 11:02:15 lxnay Exp $
|
|
||||||
|
|
||||||
EAPI="3"
|
|
||||||
PYTHON_DEPEND="2"
|
|
||||||
inherit eutils gnome2-utils fdo-mime python
|
|
||||||
|
|
||||||
DESCRIPTION="Rigo, the Sabayon Application Browser"
|
|
||||||
HOMEPAGE="http://www.sabayon.org"
|
|
||||||
LICENSE="GPL-3"
|
|
||||||
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm ~x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
SRC_URI="mirror://sabayon/sys-apps/entropy-${PV}.tar.bz2"
|
|
||||||
S="${WORKDIR}/entropy-${PV}/rigo"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
|| ( dev-python/pygobject-cairo:3 dev-python/pygobject:3[cairo] )
|
|
||||||
~sys-apps/entropy-${PV}
|
|
||||||
~sys-apps/rigo-daemon-${PV}
|
|
||||||
sys-devel/gettext
|
|
||||||
x11-libs/gtk+:3
|
|
||||||
x11-libs/vte:2.90
|
|
||||||
>=x11-misc/xdg-utils-1.1.0_rc1_p20120319"
|
|
||||||
DEPEND=""
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake || die "make failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${D}" install || die "make install failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
fdo-mime_mime_database_update
|
|
||||||
fdo-mime_desktop_database_update
|
|
||||||
python_mod_optimize "/usr/lib/rigo/${PN}"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
fdo-mime_mime_database_update
|
|
||||||
fdo-mime_desktop_database_update
|
|
||||||
python_mod_cleanup "/usr/lib/rigo/${PN}"
|
|
||||||
}
|
|
@ -1,48 +0,0 @@
|
|||||||
# Copyright 1999-2013 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/rigo/rigo-189.ebuild,v 1.1 2013/04/02 09:36:34 lxnay Exp $
|
|
||||||
|
|
||||||
EAPI="3"
|
|
||||||
PYTHON_DEPEND="2"
|
|
||||||
inherit eutils gnome2-utils fdo-mime python
|
|
||||||
|
|
||||||
DESCRIPTION="Rigo, the Sabayon Application Browser"
|
|
||||||
HOMEPAGE="http://www.sabayon.org"
|
|
||||||
LICENSE="GPL-3"
|
|
||||||
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm ~x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
SRC_URI="mirror://sabayon/sys-apps/entropy-${PV}.tar.bz2"
|
|
||||||
S="${WORKDIR}/entropy-${PV}/rigo"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
|| ( dev-python/pygobject-cairo:3 dev-python/pygobject:3[cairo] )
|
|
||||||
~sys-apps/entropy-${PV}
|
|
||||||
~sys-apps/rigo-daemon-${PV}
|
|
||||||
sys-devel/gettext
|
|
||||||
x11-libs/gtk+:3
|
|
||||||
x11-libs/vte:2.90
|
|
||||||
>=x11-misc/xdg-utils-1.1.0_rc1_p20120319"
|
|
||||||
DEPEND=""
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake || die "make failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${D}" install || die "make install failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
fdo-mime_mime_database_update
|
|
||||||
fdo-mime_desktop_database_update
|
|
||||||
python_mod_optimize "/usr/lib/rigo/${PN}"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
fdo-mime_mime_database_update
|
|
||||||
fdo-mime_desktop_database_update
|
|
||||||
python_mod_cleanup "/usr/lib/rigo/${PN}"
|
|
||||||
}
|
|
@ -1,6 +1,6 @@
|
|||||||
# Copyright 1999-2013 Gentoo Foundation
|
# Copyright 1999-2013 Gentoo Foundation
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/rigo/rigo-183.ebuild,v 1.1 2013/03/14 18:25:14 lxnay Exp $
|
# $Header: /var/cvsroot/gentoo-x86/app-admin/rigo/rigo-216.ebuild,v 1.1 2013/08/22 11:14:37 lxnay Exp $
|
||||||
|
|
||||||
EAPI="3"
|
EAPI="3"
|
||||||
PYTHON_DEPEND="2"
|
PYTHON_DEPEND="2"
|
@ -0,0 +1,99 @@
|
|||||||
|
# Copyright 1999-2013 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/app-arch/file-roller/file-roller-3.8.4.ebuild,v 1.1 2013/08/25 18:43:45 eva Exp $
|
||||||
|
|
||||||
|
EAPI="5"
|
||||||
|
GCONF_DEBUG="no"
|
||||||
|
GNOME2_LA_PUNT="yes"
|
||||||
|
|
||||||
|
inherit eutils gnome2 readme.gentoo
|
||||||
|
|
||||||
|
DESCRIPTION="Archive manager for GNOME"
|
||||||
|
HOMEPAGE="http://fileroller.sourceforge.net/"
|
||||||
|
|
||||||
|
LICENSE="GPL-2+ CC-BY-SA-3.0"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="nautilus packagekit"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux"
|
||||||
|
|
||||||
|
# gdk-pixbuf used extensively in the source
|
||||||
|
# cairo used in eggtreemultidnd.c
|
||||||
|
# pango used in fr-window
|
||||||
|
RDEPEND="
|
||||||
|
>=app-arch/libarchive-3:=
|
||||||
|
>=dev-libs/glib-2.29.14:2
|
||||||
|
>=dev-libs/json-glib-0.14
|
||||||
|
>=x11-libs/gtk+-3.6:3
|
||||||
|
>=x11-libs/libnotify-0.4.3:=
|
||||||
|
sys-apps/file
|
||||||
|
x11-libs/cairo
|
||||||
|
x11-libs/gdk-pixbuf:2
|
||||||
|
x11-libs/libICE
|
||||||
|
x11-libs/libSM
|
||||||
|
x11-libs/pango
|
||||||
|
nautilus? ( >=gnome-base/nautilus-3 )
|
||||||
|
packagekit? ( app-admin/packagekit-base )
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
dev-util/desktop-file-utils
|
||||||
|
>=dev-util/intltool-0.40.0
|
||||||
|
sys-devel/gettext
|
||||||
|
virtual/pkgconfig
|
||||||
|
"
|
||||||
|
# eautoreconf needs:
|
||||||
|
# gnome-base/gnome-common
|
||||||
|
|
||||||
|
DISABLE_AUTOFORMATTING="yes"
|
||||||
|
DOC_CONTENTS="
|
||||||
|
${PN} is a frontend for several archiving utilities. If you want a
|
||||||
|
particular achive format support, see ${HOMEPAGE}
|
||||||
|
and install the relevant package. For example:
|
||||||
|
7-zip - app-arch/p7zip
|
||||||
|
ace - app-arch/unace
|
||||||
|
arj - app-arch/arj
|
||||||
|
cpio - app-arch/cpio
|
||||||
|
deb - app-arch/dpkg
|
||||||
|
iso - app-cdr/cdrtools
|
||||||
|
jar,zip - app-arch/zip and app-arch/unzip
|
||||||
|
lha - app-arch/lha
|
||||||
|
lzop - app-arch/lzop
|
||||||
|
rar - app-arch/unrar or app-arch/unar
|
||||||
|
rpm - app-arch/rpm
|
||||||
|
unstuff - app-arch/stuffit
|
||||||
|
zoo - app-arch/zoo"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# Use absolute path to GNU tar since star doesn't have the same
|
||||||
|
# options. On Gentoo, star is /usr/bin/tar, GNU tar is /bin/tar
|
||||||
|
epatch "${FILESDIR}"/${PN}-2.10.3-use_bin_tar.patch
|
||||||
|
|
||||||
|
# File providing Gentoo package names for various archivers
|
||||||
|
cp -f "${FILESDIR}/3.6.0-packages.match" data/packages.match || die
|
||||||
|
|
||||||
|
gnome2_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
DOCS="AUTHORS ChangeLog HACKING MAINTAINERS NEWS README* TODO"
|
||||||
|
# --disable-debug because enabling it adds -O0 to CFLAGS
|
||||||
|
gnome2_src_configure \
|
||||||
|
--disable-run-in-place \
|
||||||
|
--disable-static \
|
||||||
|
--disable-debug \
|
||||||
|
--enable-magic \
|
||||||
|
--enable-libarchive \
|
||||||
|
--with-smclient=xsmp \
|
||||||
|
$(use_enable nautilus nautilus-actions) \
|
||||||
|
$(use_enable packagekit) \
|
||||||
|
ITSTOOL=$(type -P true)
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
gnome2_src_install
|
||||||
|
readme.gentoo_create_doc
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
gnome2_pkg_postinst
|
||||||
|
readme.gentoo_print_elog
|
||||||
|
}
|
@ -1,2 +1,3 @@
|
|||||||
DIST oclHashcat-plus-0.13.7z 22397251 SHA256 374e612979a9e10ecf01d2f2a892f8f0af00ca8cfcfbcba5e6e36eb2aae27228 SHA512 3e259ad7abb1a42b1bed30de2ccc1d3f81d0ce420b27e4969332abbbe460287e3b3420c253cc7a82e060daa7411464927edb4f084e8e671ae60553c234f097de WHIRLPOOL 075f6eab5b03e24964ce4793435189bd950678f12276cd45f49e12f57b6d638c1d6acdb91d2d8397963de5a83b44383103c41438ac21a67d6e51d4c68149d399
|
DIST oclHashcat-plus-0.13.7z 22397251 SHA256 374e612979a9e10ecf01d2f2a892f8f0af00ca8cfcfbcba5e6e36eb2aae27228 SHA512 3e259ad7abb1a42b1bed30de2ccc1d3f81d0ce420b27e4969332abbbe460287e3b3420c253cc7a82e060daa7411464927edb4f084e8e671ae60553c234f097de WHIRLPOOL 075f6eab5b03e24964ce4793435189bd950678f12276cd45f49e12f57b6d638c1d6acdb91d2d8397963de5a83b44383103c41438ac21a67d6e51d4c68149d399
|
||||||
DIST oclHashcat-plus-0.14.7z 43411331 SHA256 4e5ee82bdb72ecd0ebc7795414a89d2755ed35dfc26fcbf92648e46dd223056e SHA512 8f6f548eb7de0dc9285f214757a9400976a696085a5ae61c583c0a3d73fcdb8326345054dda132414c2d44cdaa3207abebb47968defbb290e77fd496fd62861d WHIRLPOOL 9cf03c51a5b65326f08acf78987397035641cd6c38b86bb00620d3880958ccfc48fde24eff8f41b40a2c022ef3478e22c203d8eb8037c545b797956473c80a94
|
DIST oclHashcat-plus-0.14.7z 43411331 SHA256 4e5ee82bdb72ecd0ebc7795414a89d2755ed35dfc26fcbf92648e46dd223056e SHA512 8f6f548eb7de0dc9285f214757a9400976a696085a5ae61c583c0a3d73fcdb8326345054dda132414c2d44cdaa3207abebb47968defbb290e77fd496fd62861d WHIRLPOOL 9cf03c51a5b65326f08acf78987397035641cd6c38b86bb00620d3880958ccfc48fde24eff8f41b40a2c022ef3478e22c203d8eb8037c545b797956473c80a94
|
||||||
|
DIST oclHashcat-plus-0.15.7z 71543716 SHA256 545bbaa4ea4fb45a4c4af365e880c56dce8d8bd9c8d73ad2f9cdc16b5df47f14 SHA512 0b11aa805b186a432ee8a9f6ff5823235986d2552fc99b5365150c165bd10232a76408b375887483375cf1e29d8e78de2dadf2e046863061c7ce8722c7591da4 WHIRLPOOL 1a8e52990831ed113c06d702f0de4e5a82f0d3250c630fde8b3b11e5c4d48a0361a1fd8513ce0f183513c3329aa4aa7dd276789f2b04bde44226a16d7e86829a
|
||||||
|
@ -0,0 +1,147 @@
|
|||||||
|
# Copyright 1999-2013 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/app-crypt/oclhashcat-plus-bin/oclhashcat-plus-bin-0.15.ebuild,v 1.1 2013/08/25 05:08:17 zerochaos Exp $
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
|
||||||
|
inherit eutils pax-utils
|
||||||
|
|
||||||
|
DESCRIPTION="An opencl multihash cracker"
|
||||||
|
HOMEPAGE="http://hashcat.net/oclhashcat-plus/"
|
||||||
|
|
||||||
|
MY_P="oclHashcat-plus-${PV}"
|
||||||
|
SRC_URI="http://hashcat.net/files/${MY_P}.7z"
|
||||||
|
|
||||||
|
LICENSE="hashcat"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="-* ~amd64 ~x86"
|
||||||
|
|
||||||
|
IUSE_VIDEO_CARDS="video_cards_fglrx
|
||||||
|
video_cards_nvidia"
|
||||||
|
|
||||||
|
IUSE="virtualcl ${IUSE_VIDEO_CARDS}"
|
||||||
|
|
||||||
|
RDEPEND="sys-libs/zlib
|
||||||
|
video_cards_nvidia? ( >=x11-drivers/nvidia-drivers-319.37 )
|
||||||
|
video_cards_fglrx? ( >=x11-drivers/ati-drivers-13.4 )"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
app-arch/p7zip"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
|
||||||
|
RESTRICT="strip"
|
||||||
|
QA_PREBUILT="*Hashcat-plus*.bin
|
||||||
|
opt/${PN}/kernels/4098/*.llvmir"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
use x86 && rm *Hashcat-plus64*
|
||||||
|
use amd64 && rm *Hashcat-plus32*
|
||||||
|
use virtualcl || rm vclHashcat-plus*
|
||||||
|
|
||||||
|
if ! use video_cards_fglrx; then
|
||||||
|
rm -r kernels/4098 || die
|
||||||
|
rm oclHashcat-plus*.bin || die
|
||||||
|
fi
|
||||||
|
if ! use video_cards_nvidia; then
|
||||||
|
rm -r kernels/4318 || die
|
||||||
|
rm cudaHashcat-plus*.bin || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
#paxmark goes here so test and install works
|
||||||
|
pax-mark r *Hashcat-plus*.bin
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
printf "%02x" ${PV#0.} > "${S}"/eula.accepted
|
||||||
|
if use video_cards_nvidia; then
|
||||||
|
addwrite /dev/nvidia0
|
||||||
|
addwrite /dev/nvidiactl
|
||||||
|
if [ ! -w /dev/nvidia0 ]; then
|
||||||
|
einfo "To run these tests, portage likely must be in the video group."
|
||||||
|
einfo "Please run \"gpasswd -a portage video\" if the tests will fail"
|
||||||
|
fi
|
||||||
|
if use amd64; then
|
||||||
|
./cudaHashcat-plus64.bin -a 3 -m 1500 nQCk49SiErOgk || die
|
||||||
|
elif use x86; then
|
||||||
|
./cudaHashcat-plus32.bin -a 3 -m 1500 nQCk49SiErOgk || die
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
if use video_cards_fglrx; then
|
||||||
|
addwrite /dev/ati
|
||||||
|
if use amd64; then
|
||||||
|
./oclHashcat-plus64.bin -a 3 -m 1500 nQCk49SiErOgk || die
|
||||||
|
elif use x86; then
|
||||||
|
./oclHashcat-plus32.bin -a 3 -m 1500 nQCk49SiErOgk || die
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
rm eula.accepted hashcat.pot hashcat.dictstat
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dodoc docs/*
|
||||||
|
rm -r "${S}"/*.exe "${S}"/*.cmd "${S}"/docs || die
|
||||||
|
|
||||||
|
insinto /opt/${PN}
|
||||||
|
doins -r "${S}"/* || die "Copy files failed"
|
||||||
|
|
||||||
|
dodir /opt/bin
|
||||||
|
|
||||||
|
cat <<-EOF > "${ED}"/opt/bin/oclhashcat-plus
|
||||||
|
#! /bin/sh
|
||||||
|
echo "oclHashcat-plus and all related files have been installed in /opt/${PN}"
|
||||||
|
echo "Please run one of the following binaries to use gpu accelerated hashcat:"
|
||||||
|
EOF
|
||||||
|
|
||||||
|
for x in oclHashcat-plus64.bin oclHashcat-plus32.bin cudaHashcat-plus64.bin cudaHashcat-plus32.bin vclHashcat-plus64.bin vclHashcat-plus32.bin
|
||||||
|
do
|
||||||
|
if [ -f "${ED}"/opt/${PN}/${x} ]
|
||||||
|
then
|
||||||
|
case "${x}" in
|
||||||
|
oclHashcat-plus64.bin)
|
||||||
|
echo "echo '64 bit ATI accelerated \"oclHashcat-plus64.bin\"'" >> "${ED}"/opt/bin/oclhashcat-plus
|
||||||
|
;;
|
||||||
|
oclHashcat-plus32.bin)
|
||||||
|
echo "echo '32 bit ATI accelerated \"oclHashcat-plus32.bin\"'" >> "${ED}"/opt/bin/oclhashcat-plus
|
||||||
|
;;
|
||||||
|
cudaHashcat-plus64.bin)
|
||||||
|
echo "echo '64 bit NVIDIA accelerated \"cudaHashcat-plus64.bin\"'" >> "${ED}"/opt/bin/oclhashcat-plus
|
||||||
|
;;
|
||||||
|
cudaHashcat-plus32.bin)
|
||||||
|
echo "echo '32 bit NVIDIA accelerated \"cudaHashcat-plus32.bin\"'" >> "${ED}"/opt/bin/oclhashcat-plus
|
||||||
|
;;
|
||||||
|
vclHashcat-plus64.bin)
|
||||||
|
echo "echo '64 bit VirtualCL Cluster support \"vclHashcat-plus64.bin\"'" >> "${ED}"/opt/bin/oclhashcat-plus
|
||||||
|
;;
|
||||||
|
vclHashcat-plus32.bin)
|
||||||
|
echo "echo '32 bit VirtualCL Cluster support \"vclHashcat-plus32.bin\"'" >> "${ED}"/opt/bin/oclhashcat-plus
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
fperms +x /opt/${PN}/${x}
|
||||||
|
|
||||||
|
cat <<-EOF > "${ED}"/opt/bin/${x}
|
||||||
|
#! /bin/sh
|
||||||
|
cd /opt/${PN}
|
||||||
|
echo "Warning: ${x} is running from /opt/${PN} so be careful of relative paths."
|
||||||
|
exec ./${x} "\$@"
|
||||||
|
EOF
|
||||||
|
|
||||||
|
fperms +x /opt/bin/${x}
|
||||||
|
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
fperms +x /opt/bin/oclhashcat-plus
|
||||||
|
fowners -R root:video /opt/${PN}
|
||||||
|
fperms g+w /opt/${PN}
|
||||||
|
einfo "oclhashcat-plus can be run as user if you are in the video group"
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_preinst() {
|
||||||
|
#I feel so dirty doing this
|
||||||
|
#first we remove the eula.accepted because it cannot properly handle and empty or old one (crash or doesn't run at all)
|
||||||
|
rm -f "${EROOT}"/opt/${PN}/eula.accepted
|
||||||
|
#next we remove any compiled kernel files as these get built on first run only if they aren't there because there are no timestamp checks
|
||||||
|
rm -f "${EROOT}"/opt/${PN}/kernels/{4318,4098}/"*.kernel"
|
||||||
|
#have mercy on my soul
|
||||||
|
}
|
@ -1,3 +1,2 @@
|
|||||||
DIST dynamips-0.2.8-RC2.tar.gz 578935 SHA256 a8b377ce631119e285c401fdb7cb4d0bcc600a15508bdffcf337546957e252de SHA512 288a87f988f08009fcccb6cfff4af84db8f90160021340add5e8491becefcbd74fe52ebe77d9a6c1262493f0d9341e3a34c5a80e8cfa713b9e6fb885dff7c5ff WHIRLPOOL 2abaa108e5258ad5726b20f7be27ccc7f316e91c2108e8cc1c521d1d22bcc7fe0c9321ed391f2574a48dd95caac1d7c6f882409ae61cc3974bff7548e60c8df9
|
|
||||||
DIST dynamips-0.2.8-RC3-community.tar.gz 818199 SHA256 e808a50b6b9d24a90604885f90699f46b26a49e6ce9cf542aa288f135b2508ac SHA512 8c6eee6b69fef204a3ac4d54c40e915a37fd67edc3be9bd4070f4953abfe683fe6e0c2d65aad6946fb893345c08a7569c27fd183d3a8762e1128be3daf769762 WHIRLPOOL b2441b01a8151bf8f4cbf297e57ea44ec59c66066689e37e416f7a7734fa648ee7e829b7622c5aa658648cd7fddc83c0cca635e64b31fa6efbffa8549ff3781d
|
DIST dynamips-0.2.8-RC3-community.tar.gz 818199 SHA256 e808a50b6b9d24a90604885f90699f46b26a49e6ce9cf542aa288f135b2508ac SHA512 8c6eee6b69fef204a3ac4d54c40e915a37fd67edc3be9bd4070f4953abfe683fe6e0c2d65aad6946fb893345c08a7569c27fd183d3a8762e1128be3daf769762 WHIRLPOOL b2441b01a8151bf8f4cbf297e57ea44ec59c66066689e37e416f7a7734fa648ee7e829b7622c5aa658648cd7fddc83c0cca635e64b31fa6efbffa8549ff3781d
|
||||||
DIST dynamips-0.2.8-community.source.zip 959832 SHA256 e0735995cb2d634bb5b010e216c003e19975e819d3ebc1b6749470d0bde8240d SHA512 a7757d9c0eac76772cd6df39fd862e9cf5017fce55b3885b9877ce67580277c51b8d51dda458275a64197bea0c4db3a5ce32c68a229eb39b25bb42f0284b3efa WHIRLPOOL 8740b0c4fc1df24bf7b35f3909a3883ff398bab39584baf89364c50bdf9263739d45f77ab7df6349b2f1f582f833f5edc22c0e0e0a949bc34071830d988e7cd6
|
DIST dynamips-0.2.8-community.source.zip 959832 SHA256 e0735995cb2d634bb5b010e216c003e19975e819d3ebc1b6749470d0bde8240d SHA512 a7757d9c0eac76772cd6df39fd862e9cf5017fce55b3885b9877ce67580277c51b8d51dda458275a64197bea0c4db3a5ce32c68a229eb39b25bb42f0284b3efa WHIRLPOOL 8740b0c4fc1df24bf7b35f3909a3883ff398bab39584baf89364c50bdf9263739d45f77ab7df6349b2f1f582f833f5edc22c0e0e0a949bc34071830d988e7cd6
|
||||||
|
@ -0,0 +1,56 @@
|
|||||||
|
# Copyright 1999-2013 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/app-emulation/dynamips/dynamips-0.2.8-r1.ebuild,v 1.1 2013/08/25 14:51:00 pinkbyte Exp $
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
|
||||||
|
inherit eutils toolchain-funcs
|
||||||
|
|
||||||
|
MY_PV="${PV/_rc/-RC}-community"
|
||||||
|
MY_P="${PN}-${MY_PV}"
|
||||||
|
|
||||||
|
DESCRIPTION="Cisco 7200/3600 Simulator"
|
||||||
|
HOMEPAGE="http://www.gns3.net/dynamips/"
|
||||||
|
SRC_URI="mirror://sourceforge/project/gns-3/Dynamips/${MY_PV}/${MY_P}.source.zip"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
DEPEND="app-arch/unzip
|
||||||
|
dev-libs/elfutils
|
||||||
|
net-libs/libpcap"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
epatch "${FILESDIR}/${P}-makefile.patch"
|
||||||
|
|
||||||
|
# enable verbose build
|
||||||
|
# do not link to libelf statically
|
||||||
|
sed -i \
|
||||||
|
-e 's/@$(CC)/$(CC)/g' \
|
||||||
|
-e 's:/usr/$(DYNAMIPS_LIB)/libelf.a:-lelf:' \
|
||||||
|
stable/Makefile || die 'sed on Makefile failed'
|
||||||
|
sed -i -e
|
||||||
|
# respect compiler
|
||||||
|
tc-export CC
|
||||||
|
|
||||||
|
epatch_user
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
if use amd64 || use x86; then
|
||||||
|
emake DYNAMIPS_ARCH="${ARCH}"
|
||||||
|
else
|
||||||
|
emake
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install () {
|
||||||
|
newbin dynamips.stable dynamips
|
||||||
|
dobin stable/nvram_export
|
||||||
|
doman man/*
|
||||||
|
dodoc TODO README README.hypervisor
|
||||||
|
}
|
@ -1,46 +0,0 @@
|
|||||||
# Copyright 1999-2010 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/dynamips/dynamips-0.2.8_rc2-r1.ebuild,v 1.1 2010/10/17 12:58:02 chainsaw Exp $
|
|
||||||
|
|
||||||
inherit eutils
|
|
||||||
|
|
||||||
MY_P="${P/_rc/-RC}"
|
|
||||||
|
|
||||||
DESCRIPTION="Cisco 7200/3600 Simulator"
|
|
||||||
HOMEPAGE="http://www.ipflow.utc.fr/index.php/Cisco_7200_Simulator"
|
|
||||||
SRC_URI="http://www.ipflow.utc.fr/${PN}/${MY_P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT=0
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE=""
|
|
||||||
DEPEND="dev-libs/elfutils
|
|
||||||
net-libs/libpcap"
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${MY_P}"
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
unpack ${A}
|
|
||||||
cd "${S}"
|
|
||||||
epatch "${FILESDIR}/${P}-makefile.patch"
|
|
||||||
|
|
||||||
if use amd64; then
|
|
||||||
sed -i \
|
|
||||||
-e 's:DYNAMIPS_ARCH?=nojit:DYNAMIPS_ARCH?=amd64:g' \
|
|
||||||
Makefile || die "Failed to optimise for AMD64"
|
|
||||||
elif use amd64; then
|
|
||||||
sed -i \
|
|
||||||
-e 's:DYNAMIPS_ARCH?=nojit:DYNAMIPS_ARCH?=x86:g' \
|
|
||||||
Makefile || die "Failed to optimise for X86"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install () {
|
|
||||||
dobin dynamips nvram_export \
|
|
||||||
|| die "Installing binaries failed"
|
|
||||||
doman dynamips.1 hypervisor_mode.7 nvram_export.1 \
|
|
||||||
|| die "Installing man pages failed"
|
|
||||||
dodoc ChangeLog TODO README README.hypervisor \
|
|
||||||
|| die "Installing docs failed"
|
|
||||||
}
|
|
@ -1,56 +0,0 @@
|
|||||||
diff -uNr dynamips-0.2.8-RC2.ORIG//Makefile dynamips-0.2.8-RC2/Makefile
|
|
||||||
--- dynamips-0.2.8-RC2.ORIG//Makefile 2010-10-17 13:50:01.000000000 +0100
|
|
||||||
+++ dynamips-0.2.8-RC2/Makefile 2010-10-17 13:50:57.000000000 +0100
|
|
||||||
@@ -3,7 +3,7 @@
|
|
||||||
|
|
||||||
# Replace x86 by amd64 for a build on x86_64.
|
|
||||||
# Use "nojit" for architectures that are not x86 or x86_64.
|
|
||||||
-DYNAMIPS_ARCH?=x86
|
|
||||||
+DYNAMIPS_ARCH?=nojit
|
|
||||||
|
|
||||||
# Change this to 0 if your system doesn't support RFC 2553 extensions
|
|
||||||
HAS_RFC2553?=1
|
|
||||||
@@ -13,7 +13,7 @@
|
|
||||||
HAS_PCAP?=1
|
|
||||||
|
|
||||||
# Change this to 1 if your system has posix_memalign
|
|
||||||
-HAS_POSIX_MEMALIGN?=0
|
|
||||||
+HAS_POSIX_MEMALIGN?=1
|
|
||||||
|
|
||||||
# Current dynamips release
|
|
||||||
VERSION_TRAIN=0.2.8
|
|
||||||
@@ -35,7 +35,7 @@
|
|
||||||
MIPS64_ARCH_INC_FILE=\"mips64_$(DYNAMIPS_ARCH)_trans.h\"
|
|
||||||
PPC32_ARCH_INC_FILE=\"ppc32_$(DYNAMIPS_ARCH)_trans.h\"
|
|
||||||
|
|
||||||
-CFLAGS+=-g -Wall -O3 -fomit-frame-pointer \
|
|
||||||
+CFLAGS+=-g -Wall \
|
|
||||||
-DJIT_ARCH=\"$(DYNAMIPS_ARCH)\" -DJIT_CPU=CPU_$(DYNAMIPS_ARCH) \
|
|
||||||
-DMIPS64_ARCH_INC_FILE=$(MIPS64_ARCH_INC_FILE) \
|
|
||||||
-DPPC32_ARCH_INC_FILE=$(PPC32_ARCH_INC_FILE) \
|
|
||||||
@@ -215,10 +215,9 @@
|
|
||||||
.PHONY: all
|
|
||||||
all: $(PROG) nvram_export
|
|
||||||
|
|
||||||
-$(PROG): mips64_microcode_dump.inc ppc32_microcode_dump.inc \
|
|
||||||
- $(LEX_C) $(C_OBJS) $(A_OBJS)
|
|
||||||
+$(PROG): $(LEX_C) $(C_OBJS) $(A_OBJS)
|
|
||||||
@echo "Linking $@"
|
|
||||||
- @$(CC) -o $@ $(C_OBJS) $(A_OBJS) $(LIBS)
|
|
||||||
+ @$(CC) $(LDFLAGS) -o $@ $(C_OBJS) $(A_OBJS) $(LIBS)
|
|
||||||
|
|
||||||
udp_send$(BIN_EXT): udp_send.c net.c crc.c
|
|
||||||
@echo "Linking $@"
|
|
||||||
@@ -246,9 +245,11 @@
|
|
||||||
@echo "Building assembly definitions header file"
|
|
||||||
@./asmdefs
|
|
||||||
|
|
||||||
+dev_rom.o: mips64_microcode_dump.inc ppc32_microcode_dump.inc
|
|
||||||
+
|
|
||||||
nvram_export$(BIN_EXT): nvram_export.c
|
|
||||||
@echo "Linking $@"
|
|
||||||
- @$(CC) -Wall $(CFLAGS) -o $@ nvram_export.c
|
|
||||||
+ @$(CC) $(LDFLAGS) -Wall $(CFLAGS) -o $@ nvram_export.c
|
|
||||||
|
|
||||||
install: $(PROG) nvram_export
|
|
||||||
@echo "Installing"
|
|
@ -1,6 +1,9 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<herd>amd64</herd>
|
<maintainer>
|
||||||
|
<email>multilib@gentoo.org</email>
|
||||||
|
<name>Gentoo multilib project</name>
|
||||||
|
</maintainer>
|
||||||
<use><flag name="development">Install pkgconfig files</flag></use>
|
<use><flag name="development">Install pkgconfig files</flag></use>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<herd>amd64</herd>
|
<maintainer>
|
||||||
|
<email>multilib@gentoo.org</email>
|
||||||
|
<name>Gentoo multilib project</name>
|
||||||
|
</maintainer>
|
||||||
<use><flag name="development">Install pkgconfig files</flag></use>
|
<use><flag name="development">Install pkgconfig files</flag></use>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<herd>amd64</herd>
|
<maintainer>
|
||||||
|
<email>multilib@gentoo.org</email>
|
||||||
|
<name>Gentoo multilib project</name>
|
||||||
|
</maintainer>
|
||||||
<use><flag name="development">Install pkgconfig files</flag></use>
|
<use><flag name="development">Install pkgconfig files</flag></use>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<herd>amd64</herd>
|
<maintainer>
|
||||||
|
<email>multilib@gentoo.org</email>
|
||||||
|
<name>Gentoo multilib project</name>
|
||||||
|
</maintainer>
|
||||||
<use><flag name="development">Install pkgconfig files</flag></use>
|
<use><flag name="development">Install pkgconfig files</flag></use>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<herd>amd64</herd>
|
<maintainer>
|
||||||
|
<email>multilib@gentoo.org</email>
|
||||||
|
<name>Gentoo multilib project</name>
|
||||||
|
</maintainer>
|
||||||
<use><flag name="development">Install pkgconfig files</flag></use>
|
<use><flag name="development">Install pkgconfig files</flag></use>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<herd>amd64</herd>
|
<maintainer>
|
||||||
|
<email>multilib@gentoo.org</email>
|
||||||
|
<name>Gentoo multilib project</name>
|
||||||
|
</maintainer>
|
||||||
<use><flag name="development">Install pkgconfig files</flag></use>
|
<use><flag name="development">Install pkgconfig files</flag></use>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<herd>amd64</herd>
|
<maintainer>
|
||||||
|
<email>multilib@gentoo.org</email>
|
||||||
|
<name>Gentoo multilib project</name>
|
||||||
|
</maintainer>
|
||||||
<use><flag name="development">Install pkgconfig files</flag></use>
|
<use><flag name="development">Install pkgconfig files</flag></use>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<herd>amd64</herd>
|
<maintainer>
|
||||||
|
<email>multilib@gentoo.org</email>
|
||||||
|
<name>Gentoo multilib project</name>
|
||||||
|
</maintainer>
|
||||||
<use><flag name="development">Install pkgconfig files</flag></use>
|
<use><flag name="development">Install pkgconfig files</flag></use>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<herd>amd64</herd>
|
<maintainer>
|
||||||
|
<email>multilib@gentoo.org</email>
|
||||||
|
<name>Gentoo multilib project</name>
|
||||||
|
</maintainer>
|
||||||
<use><flag name="development">Install pkgconfig files</flag></use>
|
<use><flag name="development">Install pkgconfig files</flag></use>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<herd>amd64</herd>
|
<maintainer>
|
||||||
|
<email>multilib@gentoo.org</email>
|
||||||
|
<name>Gentoo multilib project</name>
|
||||||
|
</maintainer>
|
||||||
<use><flag name="development">Install pkgconfig files</flag></use>
|
<use><flag name="development">Install pkgconfig files</flag></use>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<herd>amd64</herd>
|
<maintainer>
|
||||||
|
<email>multilib@gentoo.org</email>
|
||||||
|
<name>Gentoo multilib project</name>
|
||||||
|
</maintainer>
|
||||||
<use><flag name="development">Install pkgconfig files</flag></use>
|
<use><flag name="development">Install pkgconfig files</flag></use>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
@ -1,10 +1,13 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<herd>amd64</herd>
|
<maintainer>
|
||||||
|
<email>multilib@gentoo.org</email>
|
||||||
|
<name>Gentoo multilib project</name>
|
||||||
|
</maintainer>
|
||||||
<use>
|
<use>
|
||||||
<flag name="development">Install pkgconfig files</flag>
|
<flag name="development">Install pkgconfig files</flag>
|
||||||
<flag name="gtkstyle">Build a Qt style called GTK+ that mimics the
|
<flag name="gtkstyle">Build a Qt style called GTK+ that mimics
|
||||||
activeGTK+ theme</flag>
|
the active GTK+ theme</flag>
|
||||||
</use>
|
</use>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<herd>amd64</herd>
|
<maintainer>
|
||||||
|
<email>multilib@gentoo.org</email>
|
||||||
|
<name>Gentoo multilib project</name>
|
||||||
|
</maintainer>
|
||||||
<use><flag name="development">Install pkgconfig files</flag></use>
|
<use><flag name="development">Install pkgconfig files</flag></use>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<herd>amd64</herd>
|
<maintainer>
|
||||||
|
<email>multilib@gentoo.org</email>
|
||||||
|
<name>Gentoo multilib project</name>
|
||||||
|
</maintainer>
|
||||||
<use><flag name="development">Install pkgconfig files</flag></use>
|
<use><flag name="development">Install pkgconfig files</flag></use>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<herd>amd64</herd>
|
<maintainer>
|
||||||
|
<email>multilib@gentoo.org</email>
|
||||||
|
<name>Gentoo multilib project</name>
|
||||||
|
</maintainer>
|
||||||
<use><flag name="development">Install pkgconfig files</flag></use>
|
<use><flag name="development">Install pkgconfig files</flag></use>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
DIST libvirt-1.0.5.4.tar.gz 23972364 SHA256 fe51da9d5c3d5e8521d0c89a3379ec3b19083a31e30bc4eb54a860aa6ccf2771 SHA512 f44006f5cf00e4682266a306c819075471abb52cd9816bd75e0b83962bcb4a085fc0ffc94b688bedbc4042489a2997b77ebd1aad6f1560abe808140a24682865 WHIRLPOOL 0d6609f9d437e344f6c5b74f1c34c24004e256efd784b61f35fa68483086213a47fe27e2ec5f5f4e2ce7bbb7a02c2dabe75511e8686221b6b9be6d2719dccd0e
|
DIST libvirt-1.0.5.4.tar.gz 23972364 SHA256 fe51da9d5c3d5e8521d0c89a3379ec3b19083a31e30bc4eb54a860aa6ccf2771 SHA512 f44006f5cf00e4682266a306c819075471abb52cd9816bd75e0b83962bcb4a085fc0ffc94b688bedbc4042489a2997b77ebd1aad6f1560abe808140a24682865 WHIRLPOOL 0d6609f9d437e344f6c5b74f1c34c24004e256efd784b61f35fa68483086213a47fe27e2ec5f5f4e2ce7bbb7a02c2dabe75511e8686221b6b9be6d2719dccd0e
|
||||||
|
DIST libvirt-1.1.1-02340c7f.tar.xz 7884 SHA256 1bd6f273cbbea21dd4afdac92b100e0434b5e4e84577f68c4b913fd1f7a370f8 SHA512 fadb053679e0915b604e80442b846bb8e225537aea32025538787b0cb8a27dd76d075b44d5cec5731b4f9ea5b87fcea717fc144fe3c5bce25d844915f09a001a WHIRLPOOL e48e07e46ebaab52cf131e567e157d151422585fa933c21b54d1bf1b52750b8febe2a0cbcf29c930d7b4559ec1d51ef3600bb61d2f11b9b4d3cf09a75775ec0e
|
||||||
DIST libvirt-1.1.1-864bcb0e.tar.xz 2108 SHA256 71bc272a7726a1a46926aca1abb8b4a8ee7f973671781e6ea4c9b29432ec9f63 SHA512 c04ec503161b03454895079cd9bbf2345ee6b489e08a7bef92c4a54237ca75a08048fed522baa759a5689735d9608f4ad3ad69ce47a630a72d5995ef955e81ab WHIRLPOOL 25ef1c2f212ab619afc0490cd613ed14a3ac80c7dafd824edc2264fc51ac092b0042d7399f9d49ab1f9411c85e10cde02ae150fb88fe81d17989b7708e3a0a6e
|
DIST libvirt-1.1.1-864bcb0e.tar.xz 2108 SHA256 71bc272a7726a1a46926aca1abb8b4a8ee7f973671781e6ea4c9b29432ec9f63 SHA512 c04ec503161b03454895079cd9bbf2345ee6b489e08a7bef92c4a54237ca75a08048fed522baa759a5689735d9608f4ad3ad69ce47a630a72d5995ef955e81ab WHIRLPOOL 25ef1c2f212ab619afc0490cd613ed14a3ac80c7dafd824edc2264fc51ac092b0042d7399f9d49ab1f9411c85e10cde02ae150fb88fe81d17989b7708e3a0a6e
|
||||||
DIST libvirt-1.1.1-a5cfeac2.tar.xz 4860 SHA256 e506597fe1ffe0eec341904358a46568bcdc2893a9c19b5c9182ca2996460225 SHA512 5ed21cc207b6e49b2200657091ea9e6e1f221482f8f633833fdee4cefeade1beac48b9a42ea2e24bf358f75f8302b8b1067d776a493d64c9676da5523a3c2b9e WHIRLPOOL 9f2a9081efb82a40e7a44c7567094a30ff9005b6e569070cd1419e7873ab3cadcae36af24654164818f3051b1770eaa08684969d9e1cd7930e10e150c60affba
|
DIST libvirt-1.1.1-a5cfeac2.tar.xz 4860 SHA256 e506597fe1ffe0eec341904358a46568bcdc2893a9c19b5c9182ca2996460225 SHA512 5ed21cc207b6e49b2200657091ea9e6e1f221482f8f633833fdee4cefeade1beac48b9a42ea2e24bf358f75f8302b8b1067d776a493d64c9676da5523a3c2b9e WHIRLPOOL 9f2a9081efb82a40e7a44c7567094a30ff9005b6e569070cd1419e7873ab3cadcae36af24654164818f3051b1770eaa08684969d9e1cd7930e10e150c60affba
|
||||||
DIST libvirt-1.1.1.tar.gz 25420278 SHA256 dc6f1e1e15b9b190eaa706e76edabcfc94b239c012f5afc22b22357a4b3b22c2 SHA512 9f121827913cd99ba14ebf5755e679da5010e8784a16bc9ef9f49cfd8bf4d4335e6c200401b0592fe77a431d3de9a1b360695a515e5eb789cf675f087194cc4a WHIRLPOOL dca3fd4daebf1ba7c1d428d7a8ce7fb08b281751718fb8d7016537cbad3e08355953f1682d1239c312602b424b682d96d715085ed2e8e4ea6985140f08367093
|
DIST libvirt-1.1.1.tar.gz 25420278 SHA256 dc6f1e1e15b9b190eaa706e76edabcfc94b239c012f5afc22b22357a4b3b22c2 SHA512 9f121827913cd99ba14ebf5755e679da5010e8784a16bc9ef9f49cfd8bf4d4335e6c200401b0592fe77a431d3de9a1b360695a515e5eb789cf675f087194cc4a WHIRLPOOL dca3fd4daebf1ba7c1d428d7a8ce7fb08b281751718fb8d7016537cbad3e08355953f1682d1239c312602b424b682d96d715085ed2e8e4ea6985140f08367093
|
||||||
|
@ -0,0 +1,430 @@
|
|||||||
|
# Copyright 1999-2013 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/libvirt-1.1.1-r4.ebuild,v 1.1 2013/08/23 15:33:51 cardoe Exp $
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
|
||||||
|
BACKPORTS=02340c7f
|
||||||
|
AUTOTOOLIZE=yes
|
||||||
|
|
||||||
|
MY_P="${P/_rc/-rc}"
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python{2_5,2_6,2_7} )
|
||||||
|
|
||||||
|
inherit eutils python-single-r1 user autotools linux-info systemd readme.gentoo
|
||||||
|
|
||||||
|
if [[ ${PV} = *9999* ]]; then
|
||||||
|
inherit git-2
|
||||||
|
EGIT_REPO_URI="git://libvirt.org/libvirt.git"
|
||||||
|
AUTOTOOLIZE=yes
|
||||||
|
SRC_URI=""
|
||||||
|
KEYWORDS=""
|
||||||
|
else
|
||||||
|
SRC_URI="http://libvirt.org/sources/${MY_P}.tar.gz
|
||||||
|
ftp://libvirt.org/libvirt/${MY_P}.tar.gz
|
||||||
|
${BACKPORTS:+
|
||||||
|
http://dev.gentoo.org/~cardoe/distfiles/${MY_P}-${BACKPORTS}.tar.xz}"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
fi
|
||||||
|
S="${WORKDIR}/${P%_rc*}"
|
||||||
|
|
||||||
|
DESCRIPTION="C toolkit to manipulate virtual machines"
|
||||||
|
HOMEPAGE="http://www.libvirt.org/"
|
||||||
|
LICENSE="LGPL-2.1"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="audit avahi +caps firewalld fuse iscsi +libvirtd lvm lxc +macvtap nfs \
|
||||||
|
nls numa openvz parted pcap phyp policykit python +qemu rbd sasl \
|
||||||
|
selinux +udev uml +vepa virtualbox virt-network xen elibc_glibc \
|
||||||
|
systemd"
|
||||||
|
REQUIRED_USE="libvirtd? ( || ( lxc openvz qemu uml virtualbox xen ) )
|
||||||
|
lxc? ( caps libvirtd )
|
||||||
|
openvz? ( libvirtd )
|
||||||
|
qemu? ( libvirtd )
|
||||||
|
uml? ( libvirtd )
|
||||||
|
vepa? ( macvtap )
|
||||||
|
virtualbox? ( libvirtd )
|
||||||
|
xen? ( libvirtd )
|
||||||
|
virt-network? ( libvirtd )
|
||||||
|
firewalld? ( virt-network )
|
||||||
|
python? ( ${PYTHON_REQUIRED_USE} )"
|
||||||
|
|
||||||
|
# gettext.sh command is used by the libvirt command wrappers, and it's
|
||||||
|
# non-optional, so put it into RDEPEND.
|
||||||
|
# We can use both libnl:1.1 and libnl:3, but if you have both installed, the
|
||||||
|
# package will use 3 by default. Since we don't have slot pinning in an API,
|
||||||
|
# we must go with the most recent
|
||||||
|
RDEPEND="sys-libs/readline
|
||||||
|
sys-libs/ncurses
|
||||||
|
>=net-misc/curl-7.18.0
|
||||||
|
dev-libs/libgcrypt
|
||||||
|
>=dev-libs/libxml2-2.7.6
|
||||||
|
dev-libs/libnl:3
|
||||||
|
>=net-libs/gnutls-1.0.25
|
||||||
|
net-libs/libssh2
|
||||||
|
sys-apps/dmidecode
|
||||||
|
>=sys-apps/util-linux-2.17
|
||||||
|
sys-devel/gettext
|
||||||
|
>=net-analyzer/netcat6-1.0-r2
|
||||||
|
app-misc/scrub
|
||||||
|
audit? ( sys-process/audit )
|
||||||
|
avahi? ( >=net-dns/avahi-0.6[dbus] )
|
||||||
|
caps? ( sys-libs/libcap-ng )
|
||||||
|
fuse? ( >=sys-fs/fuse-2.8.6 )
|
||||||
|
iscsi? ( sys-block/open-iscsi )
|
||||||
|
lxc? ( sys-power/pm-utils )
|
||||||
|
lvm? ( >=sys-fs/lvm2-2.02.48-r2 )
|
||||||
|
nfs? ( net-fs/nfs-utils )
|
||||||
|
numa? (
|
||||||
|
>sys-process/numactl-2.0.2
|
||||||
|
sys-process/numad
|
||||||
|
)
|
||||||
|
openvz? ( sys-kernel/openvz-sources )
|
||||||
|
parted? (
|
||||||
|
>=sys-block/parted-1.8[device-mapper]
|
||||||
|
sys-fs/lvm2
|
||||||
|
)
|
||||||
|
pcap? ( >=net-libs/libpcap-1.0.0 )
|
||||||
|
policykit? ( >=sys-auth/polkit-0.9 )
|
||||||
|
python? ( ${PYTHON_DEPS} )
|
||||||
|
qemu? (
|
||||||
|
>=app-emulation/qemu-0.13.0
|
||||||
|
dev-libs/yajl
|
||||||
|
sys-power/pm-utils
|
||||||
|
)
|
||||||
|
rbd? ( sys-cluster/ceph )
|
||||||
|
sasl? ( dev-libs/cyrus-sasl )
|
||||||
|
selinux? ( >=sys-libs/libselinux-2.0.85 )
|
||||||
|
virtualbox? ( || ( app-emulation/virtualbox >=app-emulation/virtualbox-bin-2.2.0 ) )
|
||||||
|
xen? ( app-emulation/xen-tools app-emulation/xen )
|
||||||
|
udev? ( virtual/udev >=x11-libs/libpciaccess-0.10.9 )
|
||||||
|
virt-network? ( net-dns/dnsmasq
|
||||||
|
>=net-firewall/iptables-1.4.10
|
||||||
|
net-misc/radvd
|
||||||
|
net-firewall/ebtables
|
||||||
|
sys-apps/iproute2[-minimal]
|
||||||
|
firewalld? ( net-firewall/firewalld )
|
||||||
|
)
|
||||||
|
elibc_glibc? ( || ( >=net-libs/libtirpc-0.2.2-r1 <sys-libs/glibc-2.14 ) )"
|
||||||
|
# one? ( dev-libs/xmlrpc-c )
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
virtual/pkgconfig
|
||||||
|
app-text/xhtml1
|
||||||
|
dev-lang/perl
|
||||||
|
dev-libs/libxslt"
|
||||||
|
|
||||||
|
DOC_CONTENTS="For the basic networking support (bridged and routed networks)
|
||||||
|
you don't need any extra software. For more complex network modes
|
||||||
|
including but not limited to NATed network, you can enable the
|
||||||
|
'virt-network' USE flag.\n\n
|
||||||
|
If you are using dnsmasq on your system, you will have
|
||||||
|
to configure /etc/dnsmasq.conf to enable the following settings:\n\n
|
||||||
|
bind-interfaces\n
|
||||||
|
interface or except-interface\n\n
|
||||||
|
Otherwise you might have issues with your existing DNS server."
|
||||||
|
|
||||||
|
LXC_CONFIG_CHECK="
|
||||||
|
~CGROUPS
|
||||||
|
~CGROUP_FREEZER
|
||||||
|
~CGROUP_DEVICE
|
||||||
|
~CGROUP_CPUACCT
|
||||||
|
~CGROUP_SCHED
|
||||||
|
~CGROUP_PERF
|
||||||
|
~BLK_CGROUP
|
||||||
|
~NET_CLS_CGROUP
|
||||||
|
~NETPRIO_CGROUP
|
||||||
|
~CPUSETS
|
||||||
|
~RESOURCE_COUNTERS
|
||||||
|
~NAMESPACES
|
||||||
|
~UTS_NS
|
||||||
|
~IPC_NS
|
||||||
|
~PID_NS
|
||||||
|
~NET_NS
|
||||||
|
~DEVPTS_MULTIPLE_INSTANCES
|
||||||
|
~VETH
|
||||||
|
~MACVLAN
|
||||||
|
~POSIX_MQUEUE
|
||||||
|
~!GRKERNSEC_CHROOT_MOUNT
|
||||||
|
~!GRKERNSEC_CHROOT_DOUBLE
|
||||||
|
~!GRKERNSEC_CHROOT_PIVOT
|
||||||
|
~!GRKERNSEC_CHROOT_CHMOD
|
||||||
|
~!GRKERNSEC_CHROOT_CAPS
|
||||||
|
"
|
||||||
|
|
||||||
|
VIRTNET_CONFIG_CHECK="
|
||||||
|
~BRIDGE_NF_EBTABLES
|
||||||
|
~BRIDGE_EBT_MARK_T
|
||||||
|
~NETFILTER_ADVANCED
|
||||||
|
~NETFILTER_XT_TARGET_CHECKSUM
|
||||||
|
~NETFILTER_XT_CONNMARK
|
||||||
|
~NETFILTER_XT_MARK
|
||||||
|
"
|
||||||
|
|
||||||
|
MACVTAP_CONFIG_CHECK=" ~MACVTAP"
|
||||||
|
|
||||||
|
LVM_CONFIG_CHECK=" ~BLK_DEV_DM ~DM_SNAPSHOT ~DM_MULTIPATH"
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
enewgroup qemu 77
|
||||||
|
enewuser qemu 77 -1 -1 qemu kvm
|
||||||
|
|
||||||
|
# Some people used the masked ebuild which was not adding the qemu
|
||||||
|
# user to the kvm group originally. This results in VMs failing to
|
||||||
|
# start for some users. bug #430808
|
||||||
|
egetent group kvm | grep -q qemu
|
||||||
|
if [[ $? -ne 0 ]]; then
|
||||||
|
gpasswd -a qemu kvm
|
||||||
|
fi
|
||||||
|
|
||||||
|
python-single-r1_pkg_setup
|
||||||
|
|
||||||
|
# Handle specific kernel versions for different features
|
||||||
|
kernel_is lt 3 6 && LXC_CONFIG_CHECK+=" ~CGROUP_MEM_RES_CTLR"
|
||||||
|
kernel_is ge 3 6 && LXC_CONFIG_CHECK+=" ~MEMCG ~MEMCG_SWAP ~MEMCG_KMEM"
|
||||||
|
|
||||||
|
CONFIG_CHECK=""
|
||||||
|
use fuse && CONFIG_CHECK+=" ~FUSE_FS"
|
||||||
|
use lvm && CONFIG_CHECK+="${LVM_CONFIG_CHECK}"
|
||||||
|
use lxc && CONFIG_CHECK+="${LXC_CONFIG_CHECK}"
|
||||||
|
use macvtap && CONFIG_CHECK+="${MACVTAP_CONFIG_CHECK}"
|
||||||
|
use virt-network && CONFIG_CHECK+="${VIRTNET_CONFIG_CHECK}"
|
||||||
|
if [[ -n ${CONFIG_CHECK} ]]; then
|
||||||
|
linux-info_pkg_setup
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
touch "${S}/.mailmap"
|
||||||
|
[[ -n ${BACKPORTS} ]] && \
|
||||||
|
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
|
||||||
|
epatch
|
||||||
|
|
||||||
|
if [[ ${PV} = *9999* ]]; then
|
||||||
|
|
||||||
|
# git checkouts require bootstrapping to create the configure script.
|
||||||
|
# Additionally the submodules must be cloned to the right locations
|
||||||
|
# bug #377279
|
||||||
|
./bootstrap || die "bootstrap failed"
|
||||||
|
(
|
||||||
|
git submodule status | sed 's/^[ +-]//;s/ .*//'
|
||||||
|
git hash-object bootstrap.conf
|
||||||
|
) >.git-module-status
|
||||||
|
fi
|
||||||
|
|
||||||
|
epatch_user
|
||||||
|
|
||||||
|
[[ -n ${AUTOTOOLIZE} ]] && eautoreconf
|
||||||
|
|
||||||
|
# Tweak the init script
|
||||||
|
local avahi_init=
|
||||||
|
local iscsi_init=
|
||||||
|
local rbd_init=
|
||||||
|
local firewalld_init=
|
||||||
|
cp "${FILESDIR}/libvirtd.init-r12" "${S}/libvirtd.init"
|
||||||
|
use avahi && avahi_init='avahi-daemon'
|
||||||
|
use iscsi && iscsi_init='iscsid'
|
||||||
|
use rbd && rbd_init='ceph'
|
||||||
|
use firewalld && firewalld_init='need firewalld'
|
||||||
|
|
||||||
|
sed -e "s/USE_FLAG_FIREWALLD/${firewalld_init}/" -i "${S}/libvirtd.init"
|
||||||
|
sed -e "s/USE_FLAG_AVAHI/${avahi_init}/" -i "${S}/libvirtd.init"
|
||||||
|
sed -e "s/USE_FLAG_ISCSI/${iscsi_init}/" -i "${S}/libvirtd.init"
|
||||||
|
sed -e "s/USE_FLAG_RBD/${rbd_init}/" -i "${S}/libvirtd.init"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local myconf=""
|
||||||
|
|
||||||
|
## enable/disable daemon, otherwise client only utils
|
||||||
|
myconf="${myconf} $(use_with libvirtd)"
|
||||||
|
|
||||||
|
## enable/disable the daemon using avahi to find VMs
|
||||||
|
myconf="${myconf} $(use_with avahi)"
|
||||||
|
|
||||||
|
## hypervisors on the local host
|
||||||
|
myconf="${myconf} $(use_with xen) $(use_with xen xen-inotify)"
|
||||||
|
myconf+=" --without-xenapi"
|
||||||
|
if use xen && has_version ">=app-emulation/xen-tools-4.2.0"; then
|
||||||
|
myconf+=" --with-libxl"
|
||||||
|
else
|
||||||
|
myconf+=" --without-libxl"
|
||||||
|
fi
|
||||||
|
myconf="${myconf} $(use_with openvz)"
|
||||||
|
myconf="${myconf} $(use_with lxc)"
|
||||||
|
if use virtualbox && has_version app-emulation/virtualbox-ose; then
|
||||||
|
myconf="${myconf} --with-vbox=/usr/lib/virtualbox-ose/"
|
||||||
|
else
|
||||||
|
myconf="${myconf} $(use_with virtualbox vbox)"
|
||||||
|
fi
|
||||||
|
myconf="${myconf} $(use_with uml)"
|
||||||
|
myconf="${myconf} $(use_with qemu)"
|
||||||
|
myconf="${myconf} $(use_with qemu yajl)" # Use QMP over HMP
|
||||||
|
myconf="${myconf} $(use_with phyp)"
|
||||||
|
myconf="${myconf} --with-esx"
|
||||||
|
myconf="${myconf} --with-vmware"
|
||||||
|
|
||||||
|
## additional host drivers
|
||||||
|
myconf="${myconf} $(use_with virt-network network)"
|
||||||
|
myconf="${myconf} --with-storage-fs"
|
||||||
|
myconf="${myconf} $(use_with lvm storage-lvm)"
|
||||||
|
myconf="${myconf} $(use_with iscsi storage-iscsi)"
|
||||||
|
myconf="${myconf} $(use_with parted storage-disk)"
|
||||||
|
myconf="${myconf} $(use_with lvm storage-mpath)"
|
||||||
|
myconf="${myconf} $(use_with rbd storage-rbd)"
|
||||||
|
myconf="${myconf} $(use_with numa numactl)"
|
||||||
|
myconf="${myconf} $(use_with numa numad)"
|
||||||
|
myconf="${myconf} $(use_with selinux)"
|
||||||
|
myconf="${myconf} $(use_with fuse)"
|
||||||
|
|
||||||
|
# udev for device support details
|
||||||
|
myconf="${myconf} $(use_with udev)"
|
||||||
|
|
||||||
|
# linux capability support so we don't need privileged accounts
|
||||||
|
myconf="${myconf} $(use_with caps capng)"
|
||||||
|
|
||||||
|
## auth stuff
|
||||||
|
myconf="${myconf} $(use_with policykit polkit)"
|
||||||
|
myconf="${myconf} $(use_with sasl)"
|
||||||
|
|
||||||
|
# network bits
|
||||||
|
myconf="${myconf} $(use_with macvtap)"
|
||||||
|
myconf="${myconf} $(use_with pcap libpcap)"
|
||||||
|
myconf="${myconf} $(use_with vepa virtualport)"
|
||||||
|
myconf="${myconf} $(use_with firewalld)"
|
||||||
|
|
||||||
|
## other
|
||||||
|
myconf="${myconf} $(use_enable nls)"
|
||||||
|
myconf="${myconf} $(use_with python)"
|
||||||
|
|
||||||
|
# user privilege bits fir qemu/kvm
|
||||||
|
if use caps; then
|
||||||
|
myconf="${myconf} --with-qemu-user=qemu"
|
||||||
|
myconf="${myconf} --with-qemu-group=qemu"
|
||||||
|
else
|
||||||
|
myconf="${myconf} --with-qemu-user=root"
|
||||||
|
myconf="${myconf} --with-qemu-group=root"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# audit support
|
||||||
|
myconf="${myconf} $(use_with audit)"
|
||||||
|
|
||||||
|
## stuff we don't yet support
|
||||||
|
myconf="${myconf} --without-netcf"
|
||||||
|
|
||||||
|
# we use udev over hal
|
||||||
|
myconf="${myconf} --without-hal"
|
||||||
|
|
||||||
|
# locking support
|
||||||
|
myconf="${myconf} --without-sanlock"
|
||||||
|
|
||||||
|
# systemd unit files
|
||||||
|
use systemd && myconf="${myconf} --with-init-script=systemd"
|
||||||
|
|
||||||
|
# this is a nasty trick to work around the problem in bug
|
||||||
|
# #275073. The reason why we don't solve this properly is that
|
||||||
|
# it'll require us to rebuild autotools (and we don't really want
|
||||||
|
# to do that right now). The proper solution has been sent
|
||||||
|
# upstream and should hopefully land in 0.7.7, in the mean time,
|
||||||
|
# mime the same functionality with this.
|
||||||
|
case ${CHOST} in
|
||||||
|
*cygwin* | *mingw* )
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
ac_cv_prog_WINDRES=no
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
econf \
|
||||||
|
${myconf} \
|
||||||
|
--disable-static \
|
||||||
|
--docdir=/usr/share/doc/${PF} \
|
||||||
|
--with-remote \
|
||||||
|
--localstatedir=/var
|
||||||
|
|
||||||
|
if [[ ${PV} = *9999* ]]; then
|
||||||
|
# Restore gnulib's config.sub and config.guess
|
||||||
|
# bug #377279
|
||||||
|
(cd .gnulib && git reset --hard > /dev/null)
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
# Explicitly allow parallel build of tests
|
||||||
|
export VIR_TEST_DEBUG=1
|
||||||
|
HOME="${T}" emake check || die "tests failed"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake install \
|
||||||
|
DESTDIR="${D}" \
|
||||||
|
HTML_DIR=/usr/share/doc/${PF}/html \
|
||||||
|
DOCS_DIR=/usr/share/doc/${PF} \
|
||||||
|
EXAMPLE_DIR=/usr/share/doc/${PF}/examples \
|
||||||
|
SYSTEMD_UNIT_DIR="$(systemd_get_unitdir)" \
|
||||||
|
|| die "emake install failed"
|
||||||
|
|
||||||
|
find "${D}" -name '*.la' -delete || die
|
||||||
|
|
||||||
|
use libvirtd || return 0
|
||||||
|
# From here, only libvirtd-related instructions, be warned!
|
||||||
|
|
||||||
|
newinitd "${S}/libvirtd.init" libvirtd || die
|
||||||
|
newconfd "${FILESDIR}/libvirtd.confd-r4" libvirtd || die
|
||||||
|
|
||||||
|
keepdir /var/lib/libvirt/images
|
||||||
|
|
||||||
|
use python && python_optimize
|
||||||
|
|
||||||
|
readme.gentoo_create_doc
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_preinst() {
|
||||||
|
# we only ever want to generate this once
|
||||||
|
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
|
||||||
|
rm -rf "${D}"/etc/libvirt/qemu/networks/default.xml
|
||||||
|
fi
|
||||||
|
|
||||||
|
# We really don't want to use or support old PolicyKit cause it
|
||||||
|
# screws with the new polkit integration
|
||||||
|
if has_version sys-auth/policykit; then
|
||||||
|
rm -rf "${D}"/usr/share/PolicyKit/policy/org.libvirt.unix.policy
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Only sysctl files ending in .conf work
|
||||||
|
dodir /etc/sysctl.d
|
||||||
|
mv "${D}"/usr/lib/sysctl.d/libvirtd.conf "${D}"/etc/sysctl.d/libvirtd.conf
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
|
||||||
|
touch "${ROOT}"/etc/libvirt/qemu/networks/default.xml
|
||||||
|
fi
|
||||||
|
|
||||||
|
# support for dropped privileges
|
||||||
|
if use qemu; then
|
||||||
|
fperms 0750 "${EROOT}/var/lib/libvirt/qemu"
|
||||||
|
fperms 0750 "${EROOT}/var/cache/libvirt/qemu"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use caps && use qemu; then
|
||||||
|
fowners -R qemu:qemu "${EROOT}/var/lib/libvirt/qemu"
|
||||||
|
fowners -R qemu:qemu "${EROOT}/var/cache/libvirt/qemu"
|
||||||
|
elif use qemu; then
|
||||||
|
fowners -R root:root "${EROOT}/var/lib/libvirt/qemu"
|
||||||
|
fowners -R root:root "${EROOT}/var/cache/libvirt/qemu"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! use policykit; then
|
||||||
|
elog "To allow normal users to connect to libvirtd you must change the"
|
||||||
|
elog "unix sock group and/or perms in /etc/libvirt/libvirtd.conf"
|
||||||
|
fi
|
||||||
|
|
||||||
|
use libvirtd || return 0
|
||||||
|
# From here, only libvirtd-related instructions, be warned!
|
||||||
|
|
||||||
|
readme.gentoo_print_elog
|
||||||
|
|
||||||
|
if use caps && use qemu; then
|
||||||
|
elog "libvirt will now start qemu/kvm VMs with non-root privileges."
|
||||||
|
elog "Ensure any resources your VMs use are accessible by qemu:qemu"
|
||||||
|
fi
|
||||||
|
}
|
@ -0,0 +1,24 @@
|
|||||||
|
--- a/modules/linux/vmblock/linux/control.c
|
||||||
|
+++ b/modules/linux/vmblock/linux/control.c
|
||||||
|
@@ -208,9 +208,10 @@
|
||||||
|
VMBlockSetProcEntryOwner(controlProcMountpoint);
|
||||||
|
|
||||||
|
/* Create /proc/fs/vmblock/dev */
|
||||||
|
- controlProcEntry = create_proc_entry(VMBLOCK_CONTROL_DEVNAME,
|
||||||
|
- VMBLOCK_CONTROL_MODE,
|
||||||
|
- controlProcDirEntry);
|
||||||
|
+ controlProcEntry = proc_create(VMBLOCK_CONTROL_DEVNAME,
|
||||||
|
+ VMBLOCK_CONTROL_MODE,
|
||||||
|
+ controlProcDirEntry,
|
||||||
|
+ &ControlFileOps);
|
||||||
|
if (!controlProcEntry) {
|
||||||
|
Warning("SetupProcDevice: could not create " VMBLOCK_DEVICE "\n");
|
||||||
|
remove_proc_entry(VMBLOCK_CONTROL_MOUNTPOINT, controlProcDirEntry);
|
||||||
|
@@ -218,7 +219,6 @@
|
||||||
|
return -EINVAL;
|
||||||
|
}
|
||||||
|
|
||||||
|
- controlProcEntry->proc_fops = &ControlFileOps;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
@ -1,73 +0,0 @@
|
|||||||
# Copyright 1999-2013 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/anki/anki-2.0.10.ebuild,v 1.1 2013/06/12 14:45:08 tomka Exp $
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
PYTHON_DEPEND="2:2.6"
|
|
||||||
PYTHON_USE_WITH="sqlite"
|
|
||||||
|
|
||||||
inherit eutils python
|
|
||||||
|
|
||||||
DESCRIPTION="A spaced-repetition memory training program (flash cards)"
|
|
||||||
HOMEPAGE="http://ichi2.net/anki/"
|
|
||||||
SRC_URI="http://ankisrs.net/download/mirror/${P}.tgz"
|
|
||||||
|
|
||||||
LICENSE="GPL-3"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE="latex +recording +sound"
|
|
||||||
|
|
||||||
RDEPEND="dev-python/PyQt4[X,svg,webkit]
|
|
||||||
>=dev-python/httplib2-0.7.4
|
|
||||||
dev-python/beautifulsoup:python-2
|
|
||||||
recording? ( media-sound/lame
|
|
||||||
>=dev-python/pyaudio-0.2.4 )
|
|
||||||
sound? ( media-video/mplayer )
|
|
||||||
latex? ( app-text/texlive
|
|
||||||
app-text/dvipng )"
|
|
||||||
DEPEND=""
|
|
||||||
|
|
||||||
pkg_setup(){
|
|
||||||
python_set_active_version 2
|
|
||||||
python_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
# Need send2trash since its not yet available in Gentoo
|
|
||||||
cp -r thirdparty/send2trash .
|
|
||||||
rm -r thirdparty || die
|
|
||||||
python_convert_shebangs -r 2 .
|
|
||||||
}
|
|
||||||
|
|
||||||
# Nothing to configure or compile
|
|
||||||
src_configure() {
|
|
||||||
true;
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
true;
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
exeinto /usr/bin/
|
|
||||||
doexe anki/anki
|
|
||||||
|
|
||||||
doicon ${PN}.png
|
|
||||||
domenu ${PN}.desktop
|
|
||||||
doman ${PN}.1
|
|
||||||
|
|
||||||
dodoc README README.development
|
|
||||||
insinto "$(python_get_sitedir)"
|
|
||||||
doins -r aqt anki send2trash
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_preinst() {
|
|
||||||
if has_version "<app-misc/anki-2" ; then
|
|
||||||
elog "Anki 2 is a rewrite of Anki with many new features and"
|
|
||||||
elog "a new database format. On the first run your decks are"
|
|
||||||
elog "converted to the new format and a backup of your Anki-1"
|
|
||||||
elog "decks is created. Please read the following:"
|
|
||||||
elog "http://ankisrs.net/anki2.html"
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,68 +0,0 @@
|
|||||||
# Copyright 1999-2013 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/anki/anki-2.0.11-r1.ebuild,v 1.1 2013/06/24 19:27:31 tomka Exp $
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python2_6 python2_7 )
|
|
||||||
PYTHON_REQ_USE="sqlite"
|
|
||||||
|
|
||||||
inherit eutils python-single-r1
|
|
||||||
|
|
||||||
DESCRIPTION="A spaced-repetition memory training program (flash cards)"
|
|
||||||
HOMEPAGE="http://ichi2.net/anki/"
|
|
||||||
SRC_URI="http://ankisrs.net/download/mirror/${P}.tgz"
|
|
||||||
|
|
||||||
LICENSE="GPL-3"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE="latex +recording +sound"
|
|
||||||
|
|
||||||
RDEPEND="${PYTHON_DEPS}
|
|
||||||
dev-python/PyQt4[X,svg,webkit]
|
|
||||||
>=dev-python/httplib2-0.7.4
|
|
||||||
dev-python/beautifulsoup:python-2
|
|
||||||
dev-python/send2trash
|
|
||||||
recording? ( media-sound/lame
|
|
||||||
>=dev-python/pyaudio-0.2.4 )
|
|
||||||
sound? ( media-video/mplayer )
|
|
||||||
latex? ( app-text/texlive
|
|
||||||
app-text/dvipng )"
|
|
||||||
DEPEND=""
|
|
||||||
|
|
||||||
pkg_setup(){
|
|
||||||
python-single-r1_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
rm -r thirdparty || die
|
|
||||||
}
|
|
||||||
|
|
||||||
# Nothing to configure or compile
|
|
||||||
src_configure() {
|
|
||||||
true;
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
true;
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
doicon ${PN}.png
|
|
||||||
domenu ${PN}.desktop
|
|
||||||
doman ${PN}.1
|
|
||||||
|
|
||||||
dodoc README README.development
|
|
||||||
python_domodule aqt anki
|
|
||||||
python_doscript anki/anki
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_preinst() {
|
|
||||||
if has_version "<app-misc/anki-2" ; then
|
|
||||||
elog "Anki 2 is a rewrite of Anki with many new features and"
|
|
||||||
elog "a new database format. On the first run your decks are"
|
|
||||||
elog "converted to the new format and a backup of your Anki-1"
|
|
||||||
elog "decks is created. Please read the following:"
|
|
||||||
elog "http://ankisrs.net/anki2.html"
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,73 +0,0 @@
|
|||||||
# Copyright 1999-2013 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/anki/anki-2.0.11.ebuild,v 1.1 2013/06/14 06:42:08 tomka Exp $
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
PYTHON_DEPEND="2:2.6"
|
|
||||||
PYTHON_USE_WITH="sqlite"
|
|
||||||
|
|
||||||
inherit eutils python
|
|
||||||
|
|
||||||
DESCRIPTION="A spaced-repetition memory training program (flash cards)"
|
|
||||||
HOMEPAGE="http://ichi2.net/anki/"
|
|
||||||
SRC_URI="http://ankisrs.net/download/mirror/${P}.tgz"
|
|
||||||
|
|
||||||
LICENSE="GPL-3"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE="latex +recording +sound"
|
|
||||||
|
|
||||||
RDEPEND="dev-python/PyQt4[X,svg,webkit]
|
|
||||||
>=dev-python/httplib2-0.7.4
|
|
||||||
dev-python/beautifulsoup:python-2
|
|
||||||
recording? ( media-sound/lame
|
|
||||||
>=dev-python/pyaudio-0.2.4 )
|
|
||||||
sound? ( media-video/mplayer )
|
|
||||||
latex? ( app-text/texlive
|
|
||||||
app-text/dvipng )"
|
|
||||||
DEPEND=""
|
|
||||||
|
|
||||||
pkg_setup(){
|
|
||||||
python_set_active_version 2
|
|
||||||
python_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
# Need send2trash since its not yet available in Gentoo
|
|
||||||
cp -r thirdparty/send2trash .
|
|
||||||
rm -r thirdparty || die
|
|
||||||
python_convert_shebangs -r 2 .
|
|
||||||
}
|
|
||||||
|
|
||||||
# Nothing to configure or compile
|
|
||||||
src_configure() {
|
|
||||||
true;
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
true;
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
exeinto /usr/bin/
|
|
||||||
doexe anki/anki
|
|
||||||
|
|
||||||
doicon ${PN}.png
|
|
||||||
domenu ${PN}.desktop
|
|
||||||
doman ${PN}.1
|
|
||||||
|
|
||||||
dodoc README README.development
|
|
||||||
insinto "$(python_get_sitedir)"
|
|
||||||
doins -r aqt anki send2trash
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_preinst() {
|
|
||||||
if has_version "<app-misc/anki-2" ; then
|
|
||||||
elog "Anki 2 is a rewrite of Anki with many new features and"
|
|
||||||
elog "a new database format. On the first run your decks are"
|
|
||||||
elog "converted to the new format and a backup of your Anki-1"
|
|
||||||
elog "decks is created. Please read the following:"
|
|
||||||
elog "http://ankisrs.net/anki2.html"
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,71 +0,0 @@
|
|||||||
# Copyright 1999-2013 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/anki/anki-2.0.8.ebuild,v 1.4 2013/03/26 11:42:38 ago Exp $
|
|
||||||
|
|
||||||
EAPI=4
|
|
||||||
|
|
||||||
PYTHON_DEPEND="2:2.6"
|
|
||||||
PYTHON_USE_WITH="sqlite"
|
|
||||||
|
|
||||||
inherit eutils python
|
|
||||||
|
|
||||||
DESCRIPTION="A spaced-repetition memory training program (flash cards)"
|
|
||||||
HOMEPAGE="http://ichi2.net/anki/"
|
|
||||||
SRC_URI="http://ankisrs.net/download/mirror/${P}.tgz"
|
|
||||||
|
|
||||||
LICENSE="GPL-3"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 x86"
|
|
||||||
IUSE="latex +recording +sound"
|
|
||||||
|
|
||||||
RDEPEND="dev-python/PyQt4[X,svg,webkit]
|
|
||||||
>=dev-python/httplib2-0.7.4
|
|
||||||
dev-python/beautifulsoup:python-2
|
|
||||||
recording? ( media-sound/lame
|
|
||||||
>=dev-python/pyaudio-0.2.4 )
|
|
||||||
sound? ( media-video/mplayer )
|
|
||||||
latex? ( app-text/texlive
|
|
||||||
app-text/dvipng )"
|
|
||||||
DEPEND=""
|
|
||||||
|
|
||||||
pkg_setup(){
|
|
||||||
python_set_active_version 2
|
|
||||||
python_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
rm -r thirdparty || die
|
|
||||||
python_convert_shebangs -r 2 .
|
|
||||||
}
|
|
||||||
|
|
||||||
# Nothing to configure or compile
|
|
||||||
src_configure() {
|
|
||||||
true;
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
true;
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
exeinto /usr/bin/
|
|
||||||
doexe anki/anki
|
|
||||||
|
|
||||||
doicon ${PN}.png
|
|
||||||
domenu ${PN}.desktop
|
|
||||||
doman ${PN}.1
|
|
||||||
|
|
||||||
dodoc README README.development
|
|
||||||
insinto "$(python_get_sitedir)"
|
|
||||||
doins -r aqt anki
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_preinst() {
|
|
||||||
if has_version "<app-misc/anki-2" ; then
|
|
||||||
elog "Anki 2 is a rewrite of Anki with many new features and"
|
|
||||||
elog "a new database format. On the first run your decks are"
|
|
||||||
elog "converted to the new format and a backup of your Anki-1"
|
|
||||||
elog "decks is created. Please read the following:"
|
|
||||||
elog "http://ankisrs.net/anki2.html"
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,2 +1,3 @@
|
|||||||
DIST bijiben-3.8.2.tar.xz 402704 SHA256 c8c02c3701594d0b7f212c25613c097e2343d104157518c7c8cfb6a1bc111cf8 SHA512 d7dc36e72ed99bef10a9898a4150acc1408a8772a673bce7dce4b7f8f9cc35261cb220bd2cf8ed9b646a3d1750c52662120890fe0476ffe5a4a9f63aa0aa0708 WHIRLPOOL df64a32cad93ddcba72c92daa634c474e7ced3bfb76262c76b552edef37b1bd1fe35c0b31a75a74f32b422f5fb7c004070183c6ad487103f7df6ff7adaf6b014
|
DIST bijiben-3.8.2.tar.xz 402704 SHA256 c8c02c3701594d0b7f212c25613c097e2343d104157518c7c8cfb6a1bc111cf8 SHA512 d7dc36e72ed99bef10a9898a4150acc1408a8772a673bce7dce4b7f8f9cc35261cb220bd2cf8ed9b646a3d1750c52662120890fe0476ffe5a4a9f63aa0aa0708 WHIRLPOOL df64a32cad93ddcba72c92daa634c474e7ced3bfb76262c76b552edef37b1bd1fe35c0b31a75a74f32b422f5fb7c004070183c6ad487103f7df6ff7adaf6b014
|
||||||
DIST bijiben-3.8.3.tar.xz 434004 SHA256 287742267c7484a92ead8c896091ceb0b2603ba8b5dccf304ea534456735beec SHA512 8d49a112901ceb856a88c981c9dc0df2a95955c317042a868540ab4f4393a8e36df0f3b04c0c490d4975cc3c7edf16abe982213e4ccc643a1c6d8928847b836b WHIRLPOOL a47dcb4b5d0984f114d56d2fbec1ff9695f07c3f53225e2777d0dcd083172f37c11466987efa9ca1c3e9b7ad417cc9b0ad50cd5f92e96fb94e80386506e94748
|
DIST bijiben-3.8.3.tar.xz 434004 SHA256 287742267c7484a92ead8c896091ceb0b2603ba8b5dccf304ea534456735beec SHA512 8d49a112901ceb856a88c981c9dc0df2a95955c317042a868540ab4f4393a8e36df0f3b04c0c490d4975cc3c7edf16abe982213e4ccc643a1c6d8928847b836b WHIRLPOOL a47dcb4b5d0984f114d56d2fbec1ff9695f07c3f53225e2777d0dcd083172f37c11466987efa9ca1c3e9b7ad417cc9b0ad50cd5f92e96fb94e80386506e94748
|
||||||
|
DIST bijiben-3.8.4.tar.xz 443320 SHA256 5b8f6580fa726139dd707bea8ee581531c21b8470c04723b9b1046033cb999db SHA512 344c8ffad878c5150e25ac7b720980cf60f46d14c281a497428dd144b357f1d15f8c2a51af959b7e11088a4c43e71813ee134727e613ddc8de9189b2abaad9e0 WHIRLPOOL fb3811362b8a52749af17bf0410af59ac47feff53e839f4f303e60589ee43d30b1aabe7d416671e78d59e0c2dacae1810321b090b670b3a8a6619765d0ab1317
|
||||||
|
@ -0,0 +1,33 @@
|
|||||||
|
# Copyright 1999-2013 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/app-misc/bijiben/bijiben-3.8.4.ebuild,v 1.1 2013/08/25 18:33:51 eva Exp $
|
||||||
|
|
||||||
|
EAPI="5"
|
||||||
|
GCONF_DEBUG="no"
|
||||||
|
|
||||||
|
inherit gnome2
|
||||||
|
|
||||||
|
DESCRIPTION="Note editor designed to remain simple to use"
|
||||||
|
HOMEPAGE="http://live.gnome.org/Bijiben"
|
||||||
|
|
||||||
|
LICENSE="GPL-3+"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=app-misc/tracker-0.16:=
|
||||||
|
>=dev-libs/glib-2.28:2
|
||||||
|
dev-libs/libxml2
|
||||||
|
dev-libs/libzeitgeist
|
||||||
|
media-libs/clutter-gtk:1.0
|
||||||
|
net-libs/webkit-gtk:3
|
||||||
|
sys-apps/util-linux
|
||||||
|
>=x11-libs/gtk+-3.7.10:3
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
app-text/yelp-tools
|
||||||
|
>=dev-util/intltool-0.35.0
|
||||||
|
sys-devel/gettext
|
||||||
|
virtual/pkgconfig
|
||||||
|
"
|
@ -1,2 +1,3 @@
|
|||||||
DIST gentoo-0.19.13.tar.gz 1541738 SHA256 6afafeacd54a18d97e217ad10df1b555274ac856f050e10888109d405ebdc092 SHA512 51bffcc73a1c81697bed975169286afefc46f02b956da17985a5a4082188ffe155f0943d4cf0718c1097823e4f7d41399efda8309a5ecc6e2c02bd80adee4bac WHIRLPOOL be4d1fa32c814ecbfc2dc149931104c9c9d93b3e9491c4de5630ae737cc5f01f6b389e9a7a435b4423e9fc714aaa526782624b2739d8f80304618f05d1de1936
|
DIST gentoo-0.19.13.tar.gz 1541738 SHA256 6afafeacd54a18d97e217ad10df1b555274ac856f050e10888109d405ebdc092 SHA512 51bffcc73a1c81697bed975169286afefc46f02b956da17985a5a4082188ffe155f0943d4cf0718c1097823e4f7d41399efda8309a5ecc6e2c02bd80adee4bac WHIRLPOOL be4d1fa32c814ecbfc2dc149931104c9c9d93b3e9491c4de5630ae737cc5f01f6b389e9a7a435b4423e9fc714aaa526782624b2739d8f80304618f05d1de1936
|
||||||
DIST gentoo-0.20.1.tar.gz 1552672 SHA256 3f7a57681a2bade54a0096bdcaad1ff776bca51486fd42cb7518d33e29b3835f SHA512 30a7adf6c8987cb9b158545cc11f8b87691f4b85056d1b2653143055b53232a9a6bc2995b7f0d9c1f2b79350a03d57470c6b0656ab07ed72bcda29a7a86ca507 WHIRLPOOL a531a7b2c2d005be4157c3a7c0756b1dbb09e9a7416752a7156d35ffb03d5bb6a6e282daa5a456d078a6d4b9430945090288c9b4d4d4f06677f89a9df085131e
|
DIST gentoo-0.20.1.tar.gz 1552672 SHA256 3f7a57681a2bade54a0096bdcaad1ff776bca51486fd42cb7518d33e29b3835f SHA512 30a7adf6c8987cb9b158545cc11f8b87691f4b85056d1b2653143055b53232a9a6bc2995b7f0d9c1f2b79350a03d57470c6b0656ab07ed72bcda29a7a86ca507 WHIRLPOOL a531a7b2c2d005be4157c3a7c0756b1dbb09e9a7416752a7156d35ffb03d5bb6a6e282daa5a456d078a6d4b9430945090288c9b4d4d4f06677f89a9df085131e
|
||||||
|
DIST gentoo-0.20.3.tar.gz 1554789 SHA256 0d3f8cb103916ae3e86e5f01379634ab21568a312f77ba3f90cd3ce876170fb0 SHA512 d237a0ecb9d4efd8506518c3fa6b388509dcf890d742d539978f1e724e34efa71e77b2e0e117494832fe2c98052401540abf98311a7d30e2f573f07d5f41c1ba WHIRLPOOL 62daadb711b2506a0c200389a1ddc6ebc6e1e93b7880d1ef00f5c3995a00bb5e9509ccacc02c1ef0e232a2fb293566bedf45688123adb690bcd406eb539ca854
|
||||||
|
@ -0,0 +1,62 @@
|
|||||||
|
# Copyright 1999-2013 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/app-misc/gentoo/gentoo-0.20.3.ebuild,v 1.1 2013/08/24 16:48:13 jer Exp $
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
inherit autotools eutils
|
||||||
|
|
||||||
|
DESCRIPTION="A modern GTK+ based filemanager for any WM"
|
||||||
|
HOMEPAGE="http://www.obsession.se/gentoo/"
|
||||||
|
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||||
|
IUSE="nls"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-libs/glib:2
|
||||||
|
x11-libs/cairo
|
||||||
|
x11-libs/gdk-pixbuf
|
||||||
|
x11-libs/gtk+:3
|
||||||
|
x11-libs/pango
|
||||||
|
"
|
||||||
|
DEPEND="
|
||||||
|
${RDEPEND}
|
||||||
|
nls? ( sys-devel/gettext )
|
||||||
|
"
|
||||||
|
|
||||||
|
DOCS=(
|
||||||
|
AUTHORS BUGS CONFIG-CHANGES CREDITS NEWS README TODO docs/{FAQ,menus.txt}
|
||||||
|
)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
sed -i \
|
||||||
|
-e 's^icons/gnome/16x16/mimetypes^gentoo/icons^' \
|
||||||
|
gentoorc.in || die
|
||||||
|
sed -i \
|
||||||
|
-e '/GTK_DISABLE_DEPRECATED/ d' \
|
||||||
|
-e '/^GENTOO_CFLAGS=/s|".*"|"${CFLAGS}"|g' \
|
||||||
|
-e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' \
|
||||||
|
configure.in || die #357343
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
econf \
|
||||||
|
--sysconfdir=/etc/gentoo \
|
||||||
|
$(use_enable nls)
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
|
||||||
|
dohtml -r docs/{images,config,*.{html,css}}
|
||||||
|
newman docs/gentoo.1x gentoo.1
|
||||||
|
docinto scratch
|
||||||
|
dodoc docs/scratch/*
|
||||||
|
|
||||||
|
make_desktop_entry ${PN} Gentoo \
|
||||||
|
/usr/share/${PN}/icons/${PN}.png \
|
||||||
|
"System;FileTools;FileManager"
|
||||||
|
}
|
@ -1,4 +1 @@
|
|||||||
DIST entropy-136.tar.bz2 1612759 SHA256 4384b251f259c868f8ee3480701beecb466ca8c5727915e6b437291d03f4c63b SHA512 3b2725de557efa76ee65f368f486ab952f49a63474b5226e7b9ce137bee1c9c1ef73074c4d255e3d8695666556923d827c9cb1e232b307c4893d76e6cc6fb948 WHIRLPOOL 222d2c292c4a7c0d465be31898c4b2bf1469b7c769b4099106ded24334f4d16dde1f95ea532cbb2a167e2b7fcc30e6f59974839c3a8019c02c962fc634556e1b
|
DIST entropy-216.tar.bz2 18429942 SHA256 c2569d7233b80b9373cde11645e6e9c4142038387ad4aa8943ed1ddfeb86f501 SHA512 8b6a19f311520ca48a998aadb10717f5ad81eb8c26b71c1f8a8b67f84fd9876117adf650eb4fa59893130fd3db669ba370804a33311fe7eff45546a5a92e6b7d WHIRLPOOL b220b870f099cfe014ad355760855dc91bbc11c76f39b34e03ec251e1f8f9bdf04bb4f1dd0ad9e0c5e63a4328f6c9691abd4f9e759b8546fac7026386b4c174b
|
||||||
DIST entropy-144.tar.bz2 1616075 SHA256 173825d13f4b5c5aecf4d82b4e593921baf2209496be56190babbb142ad9b75d SHA512 30ca32fdf0747530c656ec9c96aed5dad00e8fb4181bd4c2e4a4aed3c5b06427e5b07baa41db13ff03d6730f13607e86f557aad84cb6e85af5d9c49029a911c7 WHIRLPOOL a14b76a2c247e2d4db12e2c78735c64ca183a474758f8b8ab9748cd93378300cd737377888beb03cc64e0ddeff0cb201fd790489ddfee48b8cf82032429509ac
|
|
||||||
DIST entropy-183.tar.bz2 1685003 SHA256 5b2d99ef61a68497c228c392d607faa7fef9b5debe7628f381e4facbef290f38 SHA512 95b83797fc519c5cfd12a985ee3221ffe83fe19289681ca1b0f022a7b9491bdf9b74a06fe4f010536a22db78bac4f3325fc5eab0c11243240fdee5789690e2aa WHIRLPOOL bbd6c44e5bce24e602f89075e126b5e914900aad8bd3b1ff301c733d8838f4cd1aac279a707f81c0873c24259078e5fdc9dacbf1f30d0fd5eef3aa9f9376f7c5
|
|
||||||
DIST entropy-189.tar.bz2 18411813 SHA256 5043ae83953c9d497c6bbeb58111bde36f51b895a8c3bed051ded9f00cbe1b96 SHA512 03b9ee7a7453ff78aae00b0441ae765406f05a8b2060b239bea10703d78e68a770bd526c5f72e3534d80733c44475a90b61289c1315d3ba9c17d2f7f713348cd WHIRLPOOL 9ce23fcb4480b7cb315b54be8e908b5e364aa222ba95f399679f9d8584d355c2638eb248e4ed80bbf13ceaad89ce07cf18b24912bb7bfd6647d7db186db77f02
|
|
||||||
|
@ -1,29 +0,0 @@
|
|||||||
# Copyright 1999-2012 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/magneto-loader/magneto-loader-136.ebuild,v 1.1 2012/08/24 14:46:19 lxnay Exp $
|
|
||||||
|
|
||||||
EAPI="2"
|
|
||||||
inherit eutils
|
|
||||||
|
|
||||||
DESCRIPTION="Official Sabayon Linux Entropy Notification Applet Loader"
|
|
||||||
HOMEPAGE="http://www.sabayon.org"
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm ~x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
SRC_URI="mirror://sabayon/sys-apps/entropy-${PV}.tar.bz2"
|
|
||||||
S="${WORKDIR}/entropy-${PV}/magneto"
|
|
||||||
|
|
||||||
DEPEND="~sys-apps/magneto-core-${PV}
|
|
||||||
~app-admin/rigo-${PV}"
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
einfo "nothing to compile"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${D}" LIBDIR="usr/lib" magneto-loader-install || die "make install failed"
|
|
||||||
}
|
|
@ -1,29 +0,0 @@
|
|||||||
# Copyright 1999-2012 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/magneto-loader/magneto-loader-144.ebuild,v 1.1 2012/09/27 11:03:48 lxnay Exp $
|
|
||||||
|
|
||||||
EAPI="2"
|
|
||||||
inherit eutils
|
|
||||||
|
|
||||||
DESCRIPTION="Official Sabayon Linux Entropy Notification Applet Loader"
|
|
||||||
HOMEPAGE="http://www.sabayon.org"
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm ~x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
SRC_URI="mirror://sabayon/sys-apps/entropy-${PV}.tar.bz2"
|
|
||||||
S="${WORKDIR}/entropy-${PV}/magneto"
|
|
||||||
|
|
||||||
DEPEND="~sys-apps/magneto-core-${PV}
|
|
||||||
~app-admin/rigo-${PV}"
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
einfo "nothing to compile"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${D}" LIBDIR="usr/lib" magneto-loader-install || die "make install failed"
|
|
||||||
}
|
|
@ -1,29 +0,0 @@
|
|||||||
# Copyright 1999-2013 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/magneto-loader/magneto-loader-189.ebuild,v 1.1 2013/04/02 09:37:54 lxnay Exp $
|
|
||||||
|
|
||||||
EAPI="2"
|
|
||||||
inherit eutils
|
|
||||||
|
|
||||||
DESCRIPTION="Official Sabayon Linux Entropy Notification Applet Loader"
|
|
||||||
HOMEPAGE="http://www.sabayon.org"
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm ~x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
SRC_URI="mirror://sabayon/sys-apps/entropy-${PV}.tar.bz2"
|
|
||||||
S="${WORKDIR}/entropy-${PV}/magneto"
|
|
||||||
|
|
||||||
DEPEND="~sys-apps/magneto-core-${PV}
|
|
||||||
~app-admin/rigo-${PV}"
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
einfo "nothing to compile"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${D}" LIBDIR="usr/lib" magneto-loader-install || die "make install failed"
|
|
||||||
}
|
|
@ -1,6 +1,6 @@
|
|||||||
# Copyright 1999-2013 Gentoo Foundation
|
# Copyright 1999-2013 Gentoo Foundation
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/magneto-loader/magneto-loader-183.ebuild,v 1.1 2013/03/14 18:26:18 lxnay Exp $
|
# $Header: /var/cvsroot/gentoo-x86/app-misc/magneto-loader/magneto-loader-216.ebuild,v 1.1 2013/08/22 11:15:48 lxnay Exp $
|
||||||
|
|
||||||
EAPI="2"
|
EAPI="2"
|
||||||
inherit eutils
|
inherit eutils
|
@ -1 +1,2 @@
|
|||||||
DIST gateway-1.4.3.tar.gz 2654925 SHA256 9e247f4168290973d799d580472494a89a2cf22db035550f6423868b5bf78a07 SHA512 2e727cd3f57ba5af815f1c029dd9125db17b4f980bb555c20cde693e03226f52e1d2969a3d262e0dda1198cbddd3cc1d2f708aaa623f656d91aef686f4925dae WHIRLPOOL 2830599a7184b52b653d77fec03614e3e09e518e4bf0cb7fe87c5a7640341f01a7dfb0904c406fc0628b60a7b63be291c39ec8b0cfd16d56def171761f81d7bb
|
DIST gateway-1.4.3.tar.gz 2654925 SHA256 9e247f4168290973d799d580472494a89a2cf22db035550f6423868b5bf78a07 SHA512 2e727cd3f57ba5af815f1c029dd9125db17b4f980bb555c20cde693e03226f52e1d2969a3d262e0dda1198cbddd3cc1d2f708aaa623f656d91aef686f4925dae WHIRLPOOL 2830599a7184b52b653d77fec03614e3e09e518e4bf0cb7fe87c5a7640341f01a7dfb0904c406fc0628b60a7b63be291c39ec8b0cfd16d56def171761f81d7bb
|
||||||
|
DIST gateway-1.5.0.tar.gz 3469476 SHA256 9613fbf46ffaca322f3983a9b8a7579b135c54b8dd24cf715777da5ff50c5e53 SHA512 5bd35ff40e0f5882367f717e67104a0dc8703b5d6d95654e1268ded15cf6fac6366968b10adbe2eec22b3ac17fe3ae33b4142cd38f51fd3d75a56c8fe7653652 WHIRLPOOL d813da05f572e69c1619483c68a06f0587f8e191b1d71973fd9b63c22b8749169ae02963b48cfeae980aff1628f0b2c72a0ce9a82f4f7eecb5dc93cec0f2d2d7
|
||||||
|
@ -0,0 +1,346 @@
|
|||||||
|
diff -Nru gateway-1.4.3.orig/gw/bb_udp.c gateway-1.4.3/gw/bb_udp.c
|
||||||
|
--- gateway-1.4.3.orig/gw/bb_udp.c 2009-01-12 16:46:56.000000000 +0000
|
||||||
|
+++ gateway-1.4.3/gw/bb_udp.c 2009-03-01 14:20:38.000000000 +0000
|
||||||
|
@@ -78,7 +78,7 @@
|
||||||
|
#include "gwlib/gwlib.h"
|
||||||
|
#include "msg.h"
|
||||||
|
#include "bearerbox.h"
|
||||||
|
-
|
||||||
|
+#include "custports.h"
|
||||||
|
/* passed from bearerbox core */
|
||||||
|
|
||||||
|
extern volatile sig_atomic_t bb_status;
|
||||||
|
@@ -352,13 +352,13 @@
|
||||||
|
while (gwlist_len(ifs) > 0) {
|
||||||
|
iface = gwlist_extract_first(ifs);
|
||||||
|
info(0, "Adding interface %s", octstr_get_cstr(iface));
|
||||||
|
- add_service(9200, octstr_get_cstr(iface)); /* wsp */
|
||||||
|
- add_service(9201, octstr_get_cstr(iface)); /* wsp/wtp */
|
||||||
|
+ add_service(port_wsp, octstr_get_cstr(iface)); /* wsp */
|
||||||
|
+ add_service(port_wtp, octstr_get_cstr(iface)); /* wsp/wtp */
|
||||||
|
|
||||||
|
#ifdef HAVE_WTLS_OPENSSL
|
||||||
|
if (allow_wtls) {
|
||||||
|
- add_service(9202, octstr_get_cstr(iface)); /* wsp/wtls */
|
||||||
|
- add_service(9203, octstr_get_cstr(iface)); /* wsp/wtp/wtls */
|
||||||
|
+ add_service(port_wsps, octstr_get_cstr(iface)); /* wsp/wtls */
|
||||||
|
+ add_service(port_wtps, octstr_get_cstr(iface)); /* wsp/wtp/wtls */
|
||||||
|
}
|
||||||
|
#else
|
||||||
|
if (allow_wtls)
|
||||||
|
diff -Nru gateway-1.4.3.orig/gw/bearerbox.c gateway-1.4.3/gw/bearerbox.c
|
||||||
|
--- gateway-1.4.3.orig/gw/bearerbox.c 2009-01-12 16:46:56.000000000 +0000
|
||||||
|
+++ gateway-1.4.3/gw/bearerbox.c 2009-03-01 14:23:05.000000000 +0000
|
||||||
|
@@ -78,6 +78,7 @@
|
||||||
|
#include "shared.h"
|
||||||
|
#include "dlr.h"
|
||||||
|
#include "load.h"
|
||||||
|
+#include "custports.h"
|
||||||
|
|
||||||
|
/* global variables; included to other modules as needed */
|
||||||
|
|
||||||
|
@@ -365,6 +366,7 @@
|
||||||
|
int ssl_enabled = 0;
|
||||||
|
#endif /* HAVE_LIBSSL */
|
||||||
|
|
||||||
|
+ ReadCustomPorts(cfg);
|
||||||
|
/* defaults: use localtime and markers for access-log */
|
||||||
|
lf = m = 1;
|
||||||
|
|
||||||
|
diff -Nru gateway-1.4.3.orig/gw/custports.c gateway-1.4.3/gw/custports.c
|
||||||
|
--- gateway-1.4.3.orig/gw/custports.c 1970-01-01 00:00:00.000000000 +0000
|
||||||
|
+++ gateway-1.4.3/gw/custports.c 2009-03-01 14:20:38.000000000 +0000
|
||||||
|
@@ -0,0 +1,88 @@
|
||||||
|
+/* ====================================================================
|
||||||
|
+ * The Kannel Software License, Version 1.0
|
||||||
|
+ *
|
||||||
|
+ * Copyright (c) 2001-2004 Kannel Group
|
||||||
|
+ * Copyright (c) 1998-2001 WapIT Ltd.
|
||||||
|
+ * All rights reserved.
|
||||||
|
+ *
|
||||||
|
+ * Redistribution and use in source and binary forms, with or without
|
||||||
|
+ * modification, are permitted provided that the following conditions
|
||||||
|
+ * are met:
|
||||||
|
+ *
|
||||||
|
+ * 1. Redistributions of source code must retain the above copyright
|
||||||
|
+ * notice, this list of conditions and the following disclaimer.
|
||||||
|
+ *
|
||||||
|
+ * 2. Redistributions in binary form must reproduce the above copyright
|
||||||
|
+ * notice, this list of conditions and the following disclaimer in
|
||||||
|
+ * the documentation and/or other materials provided with the
|
||||||
|
+ * distribution.
|
||||||
|
+ *
|
||||||
|
+ * 3. The end-user documentation included with the redistribution,
|
||||||
|
+ * if any, must include the following acknowledgment:
|
||||||
|
+ * "This product includes software developed by the
|
||||||
|
+ * Kannel Group (http://www.kannel.org/)."
|
||||||
|
+ * Alternately, this acknowledgment may appear in the software itself,
|
||||||
|
+ * if and wherever such third-party acknowledgments normally appear.
|
||||||
|
+ *
|
||||||
|
+ * 4. The names "Kannel" and "Kannel Group" must not be used to
|
||||||
|
+ * endorse or promote products derived from this software without
|
||||||
|
+ * prior written permission. For written permission, please
|
||||||
|
+ * contact org@kannel.org.
|
||||||
|
+ *
|
||||||
|
+ * 5. Products derived from this software may not be called "Kannel",
|
||||||
|
+ * nor may "Kannel" appear in their name, without prior written
|
||||||
|
+ * permission of the Kannel Group.
|
||||||
|
+ *
|
||||||
|
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
|
||||||
|
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||||
|
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||||
|
+ * DISCLAIMED. IN NO EVENT SHALL THE KANNEL GROUP OR ITS CONTRIBUTORS
|
||||||
|
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
|
||||||
|
+ * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
||||||
|
+ * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
|
||||||
|
+ * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||||
|
+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
||||||
|
+ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
||||||
|
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
+ * ====================================================================
|
||||||
|
+ *
|
||||||
|
+ * This software consists of voluntary contributions made by many
|
||||||
|
+ * individuals on behalf of the Kannel Group. For more information on
|
||||||
|
+ * the Kannel Group, please see <http://www.kannel.org/>.
|
||||||
|
+ *
|
||||||
|
+ * Portions of this software are based upon software originally written at
|
||||||
|
+ * WapIT Ltd., Helsinki, Finland for the Kannel project.
|
||||||
|
+ */
|
||||||
|
+
|
||||||
|
+/*
|
||||||
|
+ * gw/custports.c
|
||||||
|
+ *
|
||||||
|
+ * Implementation of reading custom UDP ports used by wapbox
|
||||||
|
+ *
|
||||||
|
+ * Lubor Kolar <kolar@porcus.cz>, 14.03.2006
|
||||||
|
+ */
|
||||||
|
+
|
||||||
|
+#include <custports.h>
|
||||||
|
+
|
||||||
|
+long port_wsp = 9200; // connectionless default
|
||||||
|
+long port_wtp = 9201; // connection-oriented default
|
||||||
|
+long port_wsps = 9202; // connectionless secure default
|
||||||
|
+long port_wtps = 9203; // connection-oriented secure
|
||||||
|
+
|
||||||
|
+
|
||||||
|
+void ReadCustomPorts(Cfg *config)
|
||||||
|
+{
|
||||||
|
+ CfgGroup *grp;
|
||||||
|
+ grp = cfg_get_single_group(config, octstr_imm("wapbox"));
|
||||||
|
+ if(grp == NULL)
|
||||||
|
+ return;
|
||||||
|
+
|
||||||
|
+ if(cfg_get_integer(&port_wsp, grp, octstr_imm("wsp-port")) != -1)
|
||||||
|
+ info(0, "Using custom WSP port %ld", port_wsp);
|
||||||
|
+ if(cfg_get_integer(&port_wtp, grp, octstr_imm("wtp-port")) != -1)
|
||||||
|
+ info(0, "Using custom WSP/WTP port %ld", port_wtp);
|
||||||
|
+ if(cfg_get_integer(&port_wsps, grp, octstr_imm("wsps-port")) != -1)
|
||||||
|
+ info(0, "Using custom WSP/WTLS port %ld", port_wsps);
|
||||||
|
+ if(cfg_get_integer(&port_wtps, grp, octstr_imm("wtps-port")) != -1)
|
||||||
|
+ info(0, "Using custom WSP/WTP/WTLS port %ld", port_wtps);
|
||||||
|
+}
|
||||||
|
diff -Nru gateway-1.4.3.orig/gw/custports.h gateway-1.4.3/gw/custports.h
|
||||||
|
--- gateway-1.4.3.orig/gw/custports.h 1970-01-01 00:00:00.000000000 +0000
|
||||||
|
+++ gateway-1.4.3/gw/custports.h 2009-03-01 14:20:38.000000000 +0000
|
||||||
|
@@ -0,0 +1,77 @@
|
||||||
|
+/* ====================================================================
|
||||||
|
+ * The Kannel Software License, Version 1.0
|
||||||
|
+ *
|
||||||
|
+ * Copyright (c) 2001-2004 Kannel Group
|
||||||
|
+ * Copyright (c) 1998-2001 WapIT Ltd.
|
||||||
|
+ * All rights reserved.
|
||||||
|
+ *
|
||||||
|
+ * Redistribution and use in source and binary forms, with or without
|
||||||
|
+ * modification, are permitted provided that the following conditions
|
||||||
|
+ * are met:
|
||||||
|
+ *
|
||||||
|
+ * 1. Redistributions of source code must retain the above copyright
|
||||||
|
+ * notice, this list of conditions and the following disclaimer.
|
||||||
|
+ *
|
||||||
|
+ * 2. Redistributions in binary form must reproduce the above copyright
|
||||||
|
+ * notice, this list of conditions and the following disclaimer in
|
||||||
|
+ * the documentation and/or other materials provided with the
|
||||||
|
+ * distribution.
|
||||||
|
+ *
|
||||||
|
+ * 3. The end-user documentation included with the redistribution,
|
||||||
|
+ * if any, must include the following acknowledgment:
|
||||||
|
+ * "This product includes software developed by the
|
||||||
|
+ * Kannel Group (http://www.kannel.org/)."
|
||||||
|
+ * Alternately, this acknowledgment may appear in the software itself,
|
||||||
|
+ * if and wherever such third-party acknowledgments normally appear.
|
||||||
|
+ *
|
||||||
|
+ * 4. The names "Kannel" and "Kannel Group" must not be used to
|
||||||
|
+ * endorse or promote products derived from this software without
|
||||||
|
+ * prior written permission. For written permission, please
|
||||||
|
+ * contact org@kannel.org.
|
||||||
|
+ *
|
||||||
|
+ * 5. Products derived from this software may not be called "Kannel",
|
||||||
|
+ * nor may "Kannel" appear in their name, without prior written
|
||||||
|
+ * permission of the Kannel Group.
|
||||||
|
+ *
|
||||||
|
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
|
||||||
|
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||||
|
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||||
|
+ * DISCLAIMED. IN NO EVENT SHALL THE KANNEL GROUP OR ITS CONTRIBUTORS
|
||||||
|
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
|
||||||
|
+ * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
||||||
|
+ * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
|
||||||
|
+ * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||||
|
+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
||||||
|
+ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
||||||
|
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
+ * ====================================================================
|
||||||
|
+ *
|
||||||
|
+ * This software consists of voluntary contributions made by many
|
||||||
|
+ * individuals on behalf of the Kannel Group. For more information on
|
||||||
|
+ * the Kannel Group, please see <http://www.kannel.org/>.
|
||||||
|
+ *
|
||||||
|
+ * Portions of this software are based upon software originally written at
|
||||||
|
+ * WapIT Ltd., Helsinki, Finland for the Kannel project.
|
||||||
|
+ */
|
||||||
|
+
|
||||||
|
+/*
|
||||||
|
+ * gw/custports.h
|
||||||
|
+ *
|
||||||
|
+ * Implementation of wapbox custom UDP ports)
|
||||||
|
+ *
|
||||||
|
+ * Lubor Kolar <kolar@porcus.cz>, 14.03.2006
|
||||||
|
+ */
|
||||||
|
+
|
||||||
|
+#ifndef CUSTPORTS_H
|
||||||
|
+#define CUSTPORTS_H
|
||||||
|
+
|
||||||
|
+#include "gwlib/gwlib.h"
|
||||||
|
+
|
||||||
|
+extern long port_wsp; // connectionless
|
||||||
|
+extern long port_wtp; // connection-oriented
|
||||||
|
+extern long port_wsps; // connectionless secure
|
||||||
|
+extern long port_wtps; // connection-oriented secure
|
||||||
|
+
|
||||||
|
+void ReadCustomPorts(Cfg *config);
|
||||||
|
+#endif /* CUSTPORTS_H */
|
||||||
|
+
|
||||||
|
diff -Nru gateway-1.4.3.orig/gw/wapbox.c gateway-1.4.3/gw/wapbox.c
|
||||||
|
--- gateway-1.4.3.orig/gw/wapbox.c 2009-01-12 16:46:57.000000000 +0000
|
||||||
|
+++ gateway-1.4.3/gw/wapbox.c 2009-03-01 14:20:38.000000000 +0000
|
||||||
|
@@ -84,17 +84,11 @@
|
||||||
|
#include "gwlib/pki.h"
|
||||||
|
#endif
|
||||||
|
#include "radius/radius_acct.h"
|
||||||
|
+#include "custports.h"
|
||||||
|
|
||||||
|
static void config_reload(int reload);
|
||||||
|
static long logfilelevel=-1;
|
||||||
|
|
||||||
|
-enum {
|
||||||
|
- CONNECTIONLESS_PORT = 9200,
|
||||||
|
- CONNECTION_ORIENTED_PORT = 9201,
|
||||||
|
- WTLS_CONNECTIONLESS_PORT = 9202,
|
||||||
|
- WTLS_CONNECTION_ORIENTED_PORT = 9203
|
||||||
|
-};
|
||||||
|
-
|
||||||
|
enum { DEFAULT_TIMER_FREQ = 1};
|
||||||
|
|
||||||
|
static Octstr *bearerbox_host;
|
||||||
|
@@ -131,6 +125,8 @@
|
||||||
|
|
||||||
|
cfg_dump(cfg);
|
||||||
|
|
||||||
|
+ ReadCustomPorts(cfg);
|
||||||
|
+
|
||||||
|
/*
|
||||||
|
* Extract info from the core group.
|
||||||
|
*/
|
||||||
|
@@ -776,9 +772,9 @@
|
||||||
|
* XXXX here should be suspend/resume, add RSN
|
||||||
|
*/
|
||||||
|
} else if (msg_type(msg) == wdp_datagram) {
|
||||||
|
- switch (msg->wdp_datagram.destination_port) {
|
||||||
|
- case CONNECTIONLESS_PORT:
|
||||||
|
- case CONNECTION_ORIENTED_PORT:
|
||||||
|
+ if(msg->wdp_datagram.destination_port == port_wsp
|
||||||
|
+ || msg->wdp_datagram.destination_port == port_wtp)
|
||||||
|
+ {
|
||||||
|
dgram = wap_event_create(T_DUnitdata_Ind);
|
||||||
|
dgram->u.T_DUnitdata_Ind.addr_tuple = wap_addr_tuple_create(
|
||||||
|
msg->wdp_datagram.source_address,
|
||||||
|
@@ -789,19 +785,22 @@
|
||||||
|
msg->wdp_datagram.user_data = NULL;
|
||||||
|
|
||||||
|
wap_dispatch_datagram(dgram);
|
||||||
|
- break;
|
||||||
|
- case WTLS_CONNECTIONLESS_PORT:
|
||||||
|
- case WTLS_CONNECTION_ORIENTED_PORT:
|
||||||
|
+ }
|
||||||
|
+ else
|
||||||
|
+ if(msg->wdp_datagram.destination_port == port_wsps
|
||||||
|
+ || msg->wdp_datagram.destination_port == port_wtps)
|
||||||
|
+ {
|
||||||
|
#if (HAVE_WTLS_OPENSSL)
|
||||||
|
dgram = wtls_unpack_wdp_datagram(msg);
|
||||||
|
if (dgram != NULL)
|
||||||
|
wtls_dispatch_event(dgram);
|
||||||
|
#endif
|
||||||
|
- break;
|
||||||
|
- default:
|
||||||
|
+ }
|
||||||
|
+ else
|
||||||
|
+ {
|
||||||
|
panic(0,"Bad packet received! This shouldn't happen!");
|
||||||
|
break;
|
||||||
|
- }
|
||||||
|
+ }
|
||||||
|
} else {
|
||||||
|
warning(0, "Received other message than wdp/admin, ignoring!");
|
||||||
|
}
|
||||||
|
diff -Nru gateway-1.4.3.orig/gw/wap_push_ppg.c gateway-1.4.3/gw/wap_push_ppg.c
|
||||||
|
--- gateway-1.4.3.orig/gw/wap_push_ppg.c 2009-01-12 16:46:56.000000000 +0000
|
||||||
|
+++ gateway-1.4.3/gw/wap_push_ppg.c 2009-03-01 14:20:38.000000000 +0000
|
||||||
|
@@ -88,6 +88,7 @@
|
||||||
|
#include "wap_push_pap_compiler.h"
|
||||||
|
#include "wap_push_pap_mime.h"
|
||||||
|
#include "wap_push_ppg_pushuser.h"
|
||||||
|
+#include "custports.h"
|
||||||
|
|
||||||
|
enum {
|
||||||
|
TIME_EXPIRED = 0,
|
||||||
|
@@ -1779,10 +1780,10 @@
|
||||||
|
|
||||||
|
if (!cless_accepted) {
|
||||||
|
cliport = CONNECTED_CLIPORT;
|
||||||
|
- servport = CONNECTED_SERVPORT;
|
||||||
|
+ servport = port_wtp;
|
||||||
|
} else {
|
||||||
|
cliport = CONNECTIONLESS_PUSH_CLIPORT;
|
||||||
|
- servport = CONNECTIONLESS_SERVPORT;
|
||||||
|
+ servport = port_wsp;
|
||||||
|
}
|
||||||
|
|
||||||
|
address_type = (**e).u.Push_Message.address_type;
|
||||||
|
diff -Nru gateway-1.4.3.orig/gw/wap_push_ppg.h gateway-1.4.3/gw/wap_push_ppg.h
|
||||||
|
--- gateway-1.4.3.orig/gw/wap_push_ppg.h 2009-01-12 16:46:57.000000000 +0000
|
||||||
|
+++ gateway-1.4.3/gw/wap_push_ppg.h 2009-03-01 14:20:38.000000000 +0000
|
||||||
|
@@ -167,9 +167,7 @@
|
||||||
|
*/
|
||||||
|
enum {
|
||||||
|
CONNECTIONLESS_PUSH_CLIPORT = 2948,
|
||||||
|
- CONNECTIONLESS_SERVPORT = 9200,
|
||||||
|
CONNECTED_CLIPORT = 9209,
|
||||||
|
- CONNECTED_SERVPORT = 9201
|
||||||
|
};
|
||||||
|
|
||||||
|
struct PPGSessionMachine {
|
||||||
|
diff -ruN gateway-1.5.0/gwlib/cfg.def gateway-1.5.0-patched/gwlib/cfg.def
|
||||||
|
--- gateway-1.5.0.orig/gwlib/cfg.def 2010-10-07 10:03:35.000000000 -0400
|
||||||
|
+++ gateway-1.5.0/gwlib/cfg.def 2013-08-25 15:07:47.544662379 -0400
|
||||||
|
@@ -160,6 +160,10 @@
|
||||||
|
OCTSTR(concatenation)
|
||||||
|
OCTSTR(max-messages)
|
||||||
|
OCTSTR(wml-strict)
|
||||||
|
+ OCTSTR(wsp-port)
|
||||||
|
+ OCTSTR(wtp-port)
|
||||||
|
+ OCTSTR(wsps-port)
|
||||||
|
+ OCTSTR(wtps-port)
|
||||||
|
OCTSTR(http-timeout)
|
||||||
|
)
|
||||||
|
|
@ -0,0 +1,122 @@
|
|||||||
|
# Copyright 1999-2013 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/kannel/kannel-1.5.0.ebuild,v 1.1 2013/08/25 19:54:39 creffett Exp $
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
WANT_AUTOMAKE=none
|
||||||
|
|
||||||
|
inherit eutils autotools flag-o-matic ssl-cert user
|
||||||
|
|
||||||
|
DESCRIPTION="Powerful SMS and WAP gateway"
|
||||||
|
HOMEPAGE="http://www.kannel.org/"
|
||||||
|
SRC_URI="http://www.kannel.org/download/${PV}/gateway-${PV}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="Apache-1.1"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="debug doc mysql pam pcre postgres sqlite ssl"
|
||||||
|
|
||||||
|
RESTRICT="test" # some tests fail with "address already in use"
|
||||||
|
|
||||||
|
RDEPEND="sys-libs/e2fsprogs-libs
|
||||||
|
dev-libs/libxml2
|
||||||
|
dev-lang/perl
|
||||||
|
sys-libs/zlib
|
||||||
|
ssl? ( dev-libs/openssl )
|
||||||
|
mysql? ( virtual/mysql )
|
||||||
|
sqlite? ( dev-db/sqlite:3 )
|
||||||
|
postgres? ( dev-db/postgresql-server )
|
||||||
|
pcre? ( dev-libs/libpcre )
|
||||||
|
pam? ( virtual/pam )
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
>=sys-devel/bison-2.2
|
||||||
|
doc? ( media-gfx/transfig
|
||||||
|
app-text/jadetex
|
||||||
|
app-text/docbook-dsssl-stylesheets
|
||||||
|
app-text/docbook-sgml-dtd:3.1 )
|
||||||
|
"
|
||||||
|
|
||||||
|
S="${WORKDIR}/gateway-${PV}"
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
enewgroup kannel
|
||||||
|
enewuser kannel -1 -1 /var/log/kannel kannel
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
epatch "${FILESDIR}/${PN}-1.5.0-custom-wap-ports.patch"
|
||||||
|
epatch "${FILESDIR}/${PN}-1.4.3-autotools.patch"
|
||||||
|
epatch "${FILESDIR}/${PN}-1.4.3-external-libuuid.patch"
|
||||||
|
|
||||||
|
#by default, use current directory for logging
|
||||||
|
sed -i -e 's:/tmp/::' doc/examples/kannel.conf
|
||||||
|
|
||||||
|
eautoconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
append-flags -fno-strict-aliasing # some code breaks strict aliasing
|
||||||
|
econf --docdir=/usr/share/doc/${PF} \
|
||||||
|
--enable-localtime \
|
||||||
|
--disable-start-stop-daemon \
|
||||||
|
--without-sqlite2 \
|
||||||
|
$(use_enable pam) \
|
||||||
|
$(use_enable debug debug) \
|
||||||
|
$(use_enable pcre) \
|
||||||
|
$(use_enable doc docs) \
|
||||||
|
$(use_enable ssl) \
|
||||||
|
$(use_with mysql) \
|
||||||
|
$(use_with sqlite sqlite3) \
|
||||||
|
$(use_with postgres pgsql) \
|
||||||
|
|| die "econf failed"
|
||||||
|
}
|
||||||
|
|
||||||
|
# phase disabled by RESTRICT
|
||||||
|
# src_test() {
|
||||||
|
# emake check || die "emake check failed"
|
||||||
|
# }
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake DESTDIR="${D}" install || die "emake install failed"
|
||||||
|
|
||||||
|
if use doc; then
|
||||||
|
emake -j1 DESTDIR="${D}" install-docs || die "emake install-docs failed"
|
||||||
|
fi
|
||||||
|
dodoc README
|
||||||
|
|
||||||
|
diropts -g kannel -m0750
|
||||||
|
dodir /etc/kannel
|
||||||
|
insinto /etc/kannel
|
||||||
|
newins doc/examples/kannel.conf kannel.conf.sample
|
||||||
|
|
||||||
|
local f
|
||||||
|
for f in bearerbox smsbox wapbox; do
|
||||||
|
newinitd "${FILESDIR}/kannel-$f.initd" kannel-$f
|
||||||
|
done
|
||||||
|
|
||||||
|
diropts -g kannel -m0770
|
||||||
|
keepdir /var/log/kannel /var/run/kannel
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
if use ssl; then
|
||||||
|
elog "SSL certificate can be created by running"
|
||||||
|
elog " emerge --config =${CATEGORY}/${PF}"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_config() {
|
||||||
|
if use ssl; then
|
||||||
|
if install_cert /etc/ssl/kannel; then
|
||||||
|
chown kannel "${ROOT}"etc/ssl/kannel.{pem,key}
|
||||||
|
einfo "For using this certificate, you have to add following line to your kannel.conf:"
|
||||||
|
einfo ' ssl-client-certkey-file = "/etc/ssl/kannel.pem"'
|
||||||
|
einfo ' ssl-server-cert-file = "/etc/ssl/kannel.crt"'
|
||||||
|
einfo ' ssl-server-key-file = "/etc/ssl/kannel.key"'
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
eerror "This phase exists only for creating kannel SSL certificate"
|
||||||
|
eerror "and ssl USE flag is disabled for this package!"
|
||||||
|
fi
|
||||||
|
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue