parent
51315ebfb2
commit
d918ed3580
@ -1,4 +1,4 @@
|
||||
DIST filebeat-1.2.2-i686.tar.gz 3429793 SHA256 89989be7ef77f9bbf1057c5bc4d4e3da766aaa10be56217e34a5e3b7f3332d45 SHA512 169c14e15b76a9c45c4aec4fa00f57ed19080151681d276525f78b52930197a3a23f1662484ed62187e678bbef945878f8e35158348533e195b46d10ca8be5d0 WHIRLPOOL 6258839d383a939d437a76d7d63b4ada96ae8c8050d426f050011921f585ffded15cdcf1165cf3f1fecbda24dafb943f7b96fc53f9b4f8ca131772c355ad5d6e
|
||||
DIST filebeat-1.2.2-x86_64.tar.gz 3641397 SHA256 05939291e52f8a1e7abb2a56afc371fc15e3486de0a53ae764087e551c799aa4 SHA512 9561bc4524434bb60223f5533b89064be1cca2778e2c550966e6ff33134c3378eb35a02af3c0158cd423b53719c319563ee172c3ac7c6ec472055c98aa1e87d0 WHIRLPOOL fecd288e1a9b5f1a8330f2750cd62db5b4b7145b0487d2c280effd515435392d8fa65723ef82bef1e89bcb87c6febb1e28a4710eb4e31e4d26b2e93f9a0a168c
|
||||
DIST filebeat-1.2.3-i686.tar.gz 3431197 SHA256 fbb694fefd18bdf355e680330fa1c098d9f8467581de3383c2d0d3db81047a10 SHA512 64371aa03a040daae7ca53acb71632743e3a8ea43dd5e463a30ef6db0bd896e2374ebbd56127683932922abe301c1b2e507d20ee9e646072f536efd9747b7f57 WHIRLPOOL 8a52fe73647d1fb21c72b3c8d47687834f665e5c1b6082957b4058448f376b3c127b7fef5540ca700d35c1e8569b8ffd00a68f0d6f361a4911a7d8534f8d9f17
|
||||
DIST filebeat-1.2.3-x86_64.tar.gz 3644490 SHA256 b855b4930844a314cd3c8e965406ec7bd6388dbd8963535af5a8a1873945f8af SHA512 71202a4d1d8bd0c184f2e824f11033ba2f5f0799ad011a029e7dca61a3ab1da9e3bc6a3d91d7aaa47508e37b08a6026b131145c55c9c9522b4d8679e3537de51 WHIRLPOOL 9eecf69ead50bdd5372c6077655fbfd557dd384748c62f525475819a18b14f63802d25f7291658d572933ff5a9ca295d6136fa446a24a8af8bf456fad5ceac34
|
||||
DIST filebeat-1.3.0-i686.tar.gz 3543109 SHA256 0f9649310ec9807177ca72d03b7b0ead33aa6027e20c0afddaf343252c8e1a40 SHA512 ed37a775e5fc17dfb896bf643fab41b10e483e4e8f3b58e9a7c89e36990a7012b4a58f208da80316f4ec5aa159b6449169b66fc6bace51989bce5ec636f7724d WHIRLPOOL e7808dec730d6eccd2982dc150309e634bcc52ded92adfe63c4d7f26a2ac86b089da3cb9802c8b626cd9a283174502a23a96ce2154b52ac589e964991ecc5fa5
|
||||
DIST filebeat-1.3.0-x86_64.tar.gz 3767919 SHA256 c53c14bc45c9b8891f56216afe69f7ae9e60589a99a0b7f8ac4e16677f6717da SHA512 a341acbf6e5b699bac5e73be5139c21a3542effeb59c6d303815650871de917716b79c1310289ddc47243e3ae83e9b286eb214a7d9e948823874068bbd9d8a86 WHIRLPOOL ee020133c6c7f9a0a897afbddb68b2400823bdf6456592ea0ac2b8c793210e97f2f9ae29eabbbb7066747b052f6c60bbb2f1f7a788647c8b07f79d54948230a3
|
||||
|
@ -1,4 +1,2 @@
|
||||
DIST lnav-0.6.1.tar.gz 371181 SHA256 a952f5e6f8d08a9b96c1219b6beac09319a6be1521d783a645cdb6b4352a7fc9 SHA512 a44a0041bf52242f03b0d9ee0551430d148faa6a967467e69619c60524d079e79b27914c9488af34b39c6a66ee0e12b1fa70b8c4bed6ef7ea5fd8d07263a6801 WHIRLPOOL 06b131bf02257f0ea00da82d49804a578392e9ad65f4d3b5faa4b4a5484b7eac834c1c5325da6c3284663987a6f54b6ace8a101b75b8b127a7dc46fc85774e63
|
||||
DIST lnav-0.6.2.tar.gz 380961 SHA256 3ae0d2761b9e040c6de69b4dfeff1ce866fcbb8c8c43859b0aa172b5e56fda42 SHA512 652ba9bce0a3b4489a8f6b6619aefd7cdc3b97c4b9a7c8fd25f791a06648d97521472479780c4b883e31bd9095443cccc14b9ec7d3f17c1692b9b33c41f37dc2 WHIRLPOOL c02190de56253d63b8caddb7f5423ef192686109f51a417b0fbad35d8f13c94ef955a81cc1f034947c88e0abf2b10234f8eb244bfdf16a698d4f0b95e7ca3944
|
||||
DIST lnav-0.7.0.tar.gz 428474 SHA256 c018385ca648a0676bd759c472305146909e92662af4db251b2c8a44df66245a SHA512 ab8eff97c8714718fe78171452ba3e3a9f616ba2023855d90c95d5bc8316e1180f448f2344a4612501ed100de3394de9545e4e76647b9b8c1e65fc4e6e62a6f4 WHIRLPOOL 2dc9eda1d8d1fcf15973060e9c7d83c4c012f61ca1261733057666d0952e8caad0357ac8bb2f1114e32a929912829ee2307a35150ddb3c342f8b53dcb2bcf088
|
||||
DIST lnav-0.7.1.tar.gz 460627 SHA256 4068ad4b45651146a5568c7bbb0585e35f62fdfa7dd983c0047fceee4bb49fb3 SHA512 3732b1df2b87ac30090b4e4f183d65beba5d074d071cd67ef6acdd9614951001548cd07b0e373158a1365989b1f2767c82225730b9c3ff09f7d56b1e4bcfd708 WHIRLPOOL fd88de5085829f3e36efa4a80734030eb8483b36e2133c9845fcc0472dab878e276ea393f732872c6ee6d03e7a2d3c9a30f500b2991d7d7d89631d0ff016d464
|
||||
DIST lnav-0.8.1.tar.gz 616105 SHA256 db942abccdb5327d7594ca9e32e0b44802790fad8577bdbed44f81220fd62153 SHA512 b3514834f42ed647f40c501ad22b68a52755b0c8a558d29305c357b39e598c1386ec9e37d71e8b7e2b5833df41e5f7f398b50b84611d3e6accfb2feb2cdba952 WHIRLPOOL 41f732389bd7d2e5c2edcf6feacdfa2b3cd001d6f59eaa2357be7cf1457448a7430b9829ba324bbfbd961189a8b431ff0e96d2756d88803efe9f89fbdc8f6e8b
|
||||
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="A curses-based tool for viewing and analyzing log files"
|
||||
HOMEPAGE="http://lnav.org"
|
||||
SRC_URI="https://github.com/tstack/lnav/releases/download/v${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="unicode"
|
||||
|
||||
RDEPEND="
|
||||
app-arch/bzip2
|
||||
dev-db/sqlite:3
|
||||
dev-libs/libpcre[cxx]
|
||||
sys-libs/ncurses[unicode?]
|
||||
sys-libs/readline:0
|
||||
sys-libs/zlib"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-static \
|
||||
$(use_with unicode ncursesw)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake AR="$(tc-getAR)"
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="A curses-based tool for viewing and analyzing log files"
|
||||
HOMEPAGE="http://lnav.org"
|
||||
SRC_URI="https://github.com/tstack/lnav/releases/download/v${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="unicode"
|
||||
|
||||
RDEPEND="
|
||||
app-arch/bzip2
|
||||
dev-db/sqlite:3
|
||||
dev-libs/libpcre[cxx]
|
||||
sys-libs/ncurses[unicode?]
|
||||
sys-libs/readline:0
|
||||
sys-libs/zlib"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-static \
|
||||
$(use_with unicode ncursesw)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake AR="$(tc-getAR)"
|
||||
}
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=(python2_7)
|
||||
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
EGIT_REPO_URI="https://github.com/certbot/certbot.git"
|
||||
inherit git-r3
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
fi
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Let's encrypt client to automate deployment of X.509 certificates"
|
||||
HOMEPAGE="https://github.com/certbot/certbot https://letsencrypt.org/"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
=app-crypt/acme-${PV}[${PYTHON_USEDEP}]
|
||||
>=dev-python/configargparse-0.9.3[${PYTHON_USEDEP}]
|
||||
dev-python/configobj[${PYTHON_USEDEP}]
|
||||
>=dev-python/cryptography-0.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/parsedatetime-1.3[${PYTHON_USEDEP}]
|
||||
dev-python/pyopenssl[${PYTHON_USEDEP}]
|
||||
dev-python/pyrfc3339[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
>=dev-python/psutil-2.2.1[${PYTHON_USEDEP}]
|
||||
dev-python/zope-component[${PYTHON_USEDEP}]
|
||||
dev-python/zope-interface[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '>=dev-python/pythondialog-3.2.2:python-2' python2_7)
|
||||
dev-python/mock[${PYTHON_USEDEP}]"
|
||||
# for when py3 support is added
|
||||
# $(python_gen_cond_dep '>=dev-python/pythondialog-3.2.2:0' python3_*)
|
||||
DEPEND="
|
||||
>=dev-python/setuptools-1.0[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
>=dev-python/astroid-1.3.5[${PYTHON_USEDEP}]
|
||||
dev-python/coverage[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/pep8[${PYTHON_USEDEP}]
|
||||
>=dev-python/pylint-1.4.2[${PYTHON_USEDEP}]
|
||||
dev-python/wheel[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
python_test() {
|
||||
nosetests -w ${PN}/tests || die
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST lxc-1.0.7.tar.gz 564985 SHA256 a0b1b09592e076e270dcb3ba004616d9ac3147f9de0b78ca39a30f8956b0a8f2 SHA512 e6ff42a7b41177e1be0d2cd47d4c554565c7fc35355f3aa8aeba00d4adc7a0f364ecd060ddb6c97b2fe5968329c4e4c4b3cb022bffd2da145f30880f077264a8 WHIRLPOOL f07e5e9efb8ff394aa9cdd6c3e725b453c8137ec221399cbf910d57dbc9268fc84e7227273567792821415dc14e774942b76a58a1a478de57d5c82e545702000
|
||||
DIST lxc-1.0.8.tar.gz 575127 SHA256 399ac3eb4e0a89d657fb2e2a57f686ed061d3f1ea4733e7521b1539e9906c7ee SHA512 f552a4f48bb47d26c6b9ddaf8221a439c0848e3f54ec41b77d54717c21bddd56193941046cc96c699790e8265e762a926469c25ee687adcf7795f2906b1c260a WHIRLPOOL 72cd0b8b0345692dd9a3ed8785ee27f5e575794a96c515db1f1d073c29be4c06ae8c1ee24fa375a5ede2bba2494704916710b2e8814ed991d43330a40dff3d56
|
||||
DIST lxc-2.0.3.tar.gz 772448 SHA256 635afa330088fea57883018da326fc72f85460b5a6c7802ad68044381aff14f3 SHA512 df714f189ec7aa681710fbd58405b8958740102032c0130d8a0eaaae0341a9bc91a215136203c404ad79773800f620bf6f71f811b3effe559aed66efa4f34fef WHIRLPOOL 89ce2f6762c7279e24658c1154b5c2960d3db32e0ec3724b338f5d30da77cc0b33a2376e5eebe6d9c356bdd34c2aa9da1e2434aecd7e428fa4b729389e35b862
|
||||
DIST lxc-2.0.4.tar.gz 775634 SHA256 57d40234aeecf5b60fb29d563e5a09d6a04c89e1267eb22a6704388ac8573e7b SHA512 3f985bba5aaa8a70f0329316ea4f42ab135d58c47611154c62e103718212a4b2c5e4f25fd45c372424db1fbf40afdc8269ae98655fb3bc8e31085a5d948f702b WHIRLPOOL b001c75d67d676e75b203d789cf2c0643ba9a47aa31965441340b66f28e18371415b9d44ce752e35102bc8677688eec6e586d800a33a2a965c8a046c091ebc06
|
||||
|
@ -0,0 +1,31 @@
|
||||
--- /config/bash/Makefile.am.orig 2016-05-18 20:40:42.238487678 +0000
|
||||
+++ /config/bash/Makefile.am 2016-05-18 20:43:02.163497779 +0000
|
||||
@@ -2,12 +2,12 @@
|
||||
|
||||
if ENABLE_BASH
|
||||
install-bash:
|
||||
- $(MKDIR_P) $(DESTDIR)$(sysconfdir)/bash_completion.d/
|
||||
- $(INSTALL_DATA) lxc $(DESTDIR)$(sysconfdir)/bash_completion.d/
|
||||
+ $(MKDIR_P) $(DESTDIR)$(datarootdir)/bash-completion/completions/
|
||||
+ $(INSTALL_DATA) lxc $(DESTDIR)$(datarootdir)/bash-completion/completions/
|
||||
|
||||
uninstall-bash:
|
||||
- rm -f $(DESTDIR)$(sysconfdir)/bash_completion.d/lxc
|
||||
- rmdir $(DESTDIR)$(sysconfdir)/bash_completion.d/ || :
|
||||
+ rm -f $(DESTDIR)$(datarootdir)/bash-completion/completions/lxc
|
||||
+ rmdir $(DESTDIR)$(datarootdir)/bash-completion/completions/ || :
|
||||
|
||||
install-data-local: install-bash
|
||||
uninstall-local: uninstall-bash
|
||||
--- /config/bash/lxc.in.orig 2016-05-18 20:40:51.079488316 +0000
|
||||
+++ /config/bash/lxc.in 2016-05-18 20:45:03.506506538 +0000
|
||||
@@ -1,4 +1,3 @@
|
||||
-_have lxc-start && {
|
||||
_lxc_names() {
|
||||
COMPREPLY=( $( compgen -W "$( lxc-ls )" "$cur" ) )
|
||||
}
|
||||
@@ -100,4 +99,3 @@
|
||||
|
||||
complete -o default -F _lxc_generic_o lxc-copy
|
||||
complete -o default -F _lxc_generic_o lxc-start-ephemeral
|
||||
-}
|
@ -0,0 +1,5 @@
|
||||
--- /config/Makefile.am.orig 2016-05-19 02:56:11.891113982 +0000
|
||||
+++ /config/Makefile.am 2016-05-19 02:56:32.596115476 +0000
|
||||
@@ -1 +1 @@
|
||||
-SUBDIRS = apparmor bash etc init selinux templates yum sysconfig
|
||||
+SUBDIRS = apparmor bash etc init selinux templates yum
|
@ -0,0 +1,201 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="6"
|
||||
|
||||
MY_P="${P/_/-}"
|
||||
PYTHON_COMPAT=( python{3_3,3_4,3_5} )
|
||||
DISTUTILS_OPTIONAL=1
|
||||
|
||||
inherit autotools bash-completion-r1 distutils-r1 linux-info versionator flag-o-matic systemd
|
||||
|
||||
DESCRIPTION="LinuX Containers userspace utilities"
|
||||
HOMEPAGE="https://linuxcontainers.org/"
|
||||
SRC_URI="https://github.com/lxc/lxc/archive/${MY_P}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~arm64"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
IUSE="cgmanager doc examples lua python seccomp"
|
||||
|
||||
RDEPEND="net-libs/gnutls
|
||||
sys-libs/libcap
|
||||
cgmanager? ( app-admin/cgmanager )
|
||||
lua? ( >=dev-lang/lua-5.1:= )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
seccomp? ( sys-libs/libseccomp )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-text/docbook-sgml-utils )
|
||||
>=sys-kernel/linux-headers-3.2"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
sys-process/criu
|
||||
sys-apps/util-linux
|
||||
app-misc/pax-utils
|
||||
virtual/awk"
|
||||
|
||||
CONFIG_CHECK="~CGROUPS ~CGROUP_DEVICE
|
||||
~CPUSETS ~CGROUP_CPUACCT
|
||||
~CGROUP_SCHED
|
||||
|
||||
~NAMESPACES
|
||||
~IPC_NS ~USER_NS ~PID_NS
|
||||
|
||||
~NETLINK_DIAG ~PACKET_DIAG
|
||||
~INET_UDP_DIAG ~INET_TCP_DIAG
|
||||
~UNIX_DIAG ~CHECKPOINT_RESTORE
|
||||
|
||||
~CGROUP_FREEZER
|
||||
~UTS_NS ~NET_NS
|
||||
~VETH ~MACVLAN
|
||||
|
||||
~POSIX_MQUEUE
|
||||
~!NETPRIO_CGROUP
|
||||
|
||||
~!GRKERNSEC_CHROOT_MOUNT
|
||||
~!GRKERNSEC_CHROOT_DOUBLE
|
||||
~!GRKERNSEC_CHROOT_PIVOT
|
||||
~!GRKERNSEC_CHROOT_CHMOD
|
||||
~!GRKERNSEC_CHROOT_CAPS
|
||||
~!GRKERNSEC_PROC
|
||||
~!GRKERNSEC_SYSFS_RESTRICT
|
||||
"
|
||||
|
||||
ERROR_DEVPTS_MULTIPLE_INSTANCES="CONFIG_DEVPTS_MULTIPLE_INSTANCES: needed for pts inside container"
|
||||
|
||||
ERROR_CGROUP_FREEZER="CONFIG_CGROUP_FREEZER: needed to freeze containers"
|
||||
|
||||
ERROR_UTS_NS="CONFIG_UTS_NS: needed to unshare hostnames and uname info"
|
||||
ERROR_NET_NS="CONFIG_NET_NS: needed for unshared network"
|
||||
|
||||
ERROR_VETH="CONFIG_VETH: needed for internal (host-to-container) networking"
|
||||
ERROR_MACVLAN="CONFIG_MACVLAN: needed for internal (inter-container) networking"
|
||||
|
||||
ERROR_NETLINK_DIAG="CONFIG_NETLINK_DIAG: needed for lxc-checkpoint"
|
||||
ERROR_PACKET_DIAG="CONFIG_PACKET_DIAG: needed for lxc-checkpoint"
|
||||
ERROR_INET_UDP_DIAG="CONFIG_INET_UDP_DIAG: needed for lxc-checkpoint"
|
||||
ERROR_INET_TCP_DIAG="CONFIG_INET_TCP_DIAG: needed for lxc-checkpoint"
|
||||
ERROR_UNIX_DIAG="CONFIG_UNIX_DIAG: needed for lxc-checkpoint"
|
||||
ERROR_CHECKPOINT_RESTORE="CONFIG_CHECKPOINT_RESTORE: needed for lxc-checkpoint"
|
||||
|
||||
ERROR_POSIX_MQUEUE="CONFIG_POSIX_MQUEUE: needed for lxc-execute command"
|
||||
|
||||
ERROR_NETPRIO_CGROUP="CONFIG_NETPRIO_CGROUP: as of kernel 3.3 and lxc 0.8.0_rc1 this causes LXCs to fail booting."
|
||||
|
||||
ERROR_GRKERNSEC_CHROOT_MOUNT="CONFIG_GRKERNSEC_CHROOT_MOUNT: some GRSEC features make LXC unusable see postinst notes"
|
||||
ERROR_GRKERNSEC_CHROOT_DOUBLE="CONFIG_GRKERNSEC_CHROOT_DOUBLE: some GRSEC features make LXC unusable see postinst notes"
|
||||
ERROR_GRKERNSEC_CHROOT_PIVOT="CONFIG_GRKERNSEC_CHROOT_PIVOT: some GRSEC features make LXC unusable see postinst notes"
|
||||
ERROR_GRKERNSEC_CHROOT_CHMOD="CONFIG_GRKERNSEC_CHROOT_CHMOD: some GRSEC features make LXC unusable see postinst notes"
|
||||
ERROR_GRKERNSEC_CHROOT_CAPS="CONFIG_GRKERNSEC_CHROOT_CAPS: some GRSEC features make LXC unusable see postinst notes"
|
||||
ERROR_GRKERNSEC_PROC="CONFIG_GRKERNSEC_PROC: this GRSEC feature is incompatible with unprivileged containers"
|
||||
ERROR_GRKERNSEC_SYSFS_RESTRICT="CONFIG_GRKERNSEC_SYSFS_RESTRICT: this GRSEC feature is incompatible with unprivileged containers"
|
||||
|
||||
DOCS=(AUTHORS CONTRIBUTING MAINTAINERS NEWS README doc/FAQ.txt)
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_P}"
|
||||
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
pkg_setup() {
|
||||
kernel_is -lt 4 7 && CONFIG_CHECK="${CONFIG_CHECK} ~DEVPTS_MULTIPLE_INSTANCES"
|
||||
linux-info_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
eapply "${FILESDIR}"/${P}-bash-completion.patch
|
||||
#558854
|
||||
eapply "${FILESDIR}"/${P}-omit-sysconfig.patch
|
||||
eapply_user
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-flags -fno-strict-aliasing
|
||||
|
||||
if use python; then
|
||||
#541932
|
||||
python_setup "python3*"
|
||||
export PKG_CONFIG_PATH="${T}/${EPYTHON}/pkgconfig:${PKG_CONFIG_PATH}"
|
||||
fi
|
||||
|
||||
# I am not sure about the --with-rootfs-path
|
||||
# /var/lib/lxc is probably more appropriate than
|
||||
# /usr/lib/lxc.
|
||||
econf \
|
||||
--localstatedir=/var \
|
||||
--bindir=/usr/bin \
|
||||
--sbindir=/usr/bin \
|
||||
--with-config-path=/var/lib/lxc \
|
||||
--with-rootfs-path=/var/lib/lxc/rootfs \
|
||||
--with-distro=gentoo \
|
||||
--with-runtime-path=/run \
|
||||
--disable-apparmor \
|
||||
$(use_enable cgmanager) \
|
||||
$(use_enable doc) \
|
||||
$(use_enable examples) \
|
||||
$(use_enable lua) \
|
||||
$(use_enable python) \
|
||||
$(use_enable seccomp)
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
distutils-r1_python_compile build_ext -I ../ -L ../${PN}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if use python; then
|
||||
pushd "${S}/src/python-${PN}" > /dev/null
|
||||
distutils-r1_src_compile
|
||||
popd > /dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
mv "${ED}"/usr/share/bash-completion/completions/${PN} "${ED}"/$(get_bashcompdir)/${PN}-start || die
|
||||
# start-ephemeral is no longer a command but removing it here
|
||||
# generates QA warnings (still in upstream completion script)
|
||||
bashcomp_alias ${PN}-start \
|
||||
${PN}-{attach,cgroup,copy,console,create,destroy,device,execute,freeze,info,monitor,snapshot,start-ephemeral,stop,unfreeze,wait}
|
||||
|
||||
if use python; then
|
||||
pushd "${S}/src/python-lxc" > /dev/null
|
||||
# Unset DOCS. This has been handled by the default target
|
||||
unset DOCS
|
||||
distutils-r1_src_install
|
||||
popd > /dev/null
|
||||
fi
|
||||
|
||||
keepdir /etc/lxc /var/lib/lxc/rootfs /var/log/lxc
|
||||
|
||||
find "${D}" -name '*.la' -delete
|
||||
|
||||
# Gentoo-specific additions!
|
||||
newinitd "${FILESDIR}/${PN}.initd.5" ${PN}
|
||||
|
||||
# Remember to compare our systemd unit file with the upstream one
|
||||
# config/init/systemd/lxc.service.in
|
||||
systemd_newunit "${FILESDIR}"/${PN}_at.service.4 "lxc@.service"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog ""
|
||||
elog "Starting from version ${PN}-1.1.0-r3, the default lxc path has been"
|
||||
elog "moved from /etc/lxc to /var/lib/lxc. If you still want to use /etc/lxc"
|
||||
elog "please add the following to your /etc/lxc/default.conf"
|
||||
elog "lxc.lxcpath = /etc/lxc"
|
||||
elog ""
|
||||
elog "There is an init script provided with the package now; no documentation"
|
||||
elog "is currently available though, so please check out /etc/init.d/lxc ."
|
||||
elog "You _should_ only need to symlink it to /etc/init.d/lxc.configname"
|
||||
elog "to start the container defined into /etc/lxc/configname.conf ."
|
||||
elog "For further information about LXC development see"
|
||||
elog "http://blog.flameeyes.eu/tag/lxc" # remove once proper doc is available
|
||||
elog ""
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST lxd-2.0.3.tar.bz2 2349842 SHA256 fb8a56e08da776f5210970a12e61b2e7b751328b5628e6fbebde231952b907a9 SHA512 62ac76bee0ff151343d0686da9376ff16965af5de19b50055bad86461dc2dd8e06544ee39640537f8352ec03b584ed32cf70cce9c7c961285d9ea567c617330e WHIRLPOOL 60204498c0a104310ddb28e42ea8889830c2f0e8c830c683b51d5cdbc92380de7c7964961fc7a34b32c7cb4dccaa4222f017b0d8948f54d5044770c066141319
|
||||
DIST lxd-2.1.tar.bz2 2260663 SHA256 6513d0576c8579668e480c4a663ffda9c3788b7d72338dbd443567a2da0d52d2 SHA512 4da46c256035253a7c0447cfc3f6887116b99f7bb4757b2b54dba436107a56dbab5973c654ea5c39760fac6b590ee9eb99ecc81b357b37a212990b25b9fa9ee9 WHIRLPOOL 90256881584a8b1d8ebe6d774a3d5614a634be06bbc0e0a51284ea842e590a21b8fc9b1eb228cca65b45306ed9750e10c81847663d2b6676ba192870aa8569a7
|
||||
|
@ -0,0 +1,22 @@
|
||||
--- /Makefile.orig 2016-07-11 23:34:40.299664675 +0000
|
||||
+++ /Makefile 2016-07-11 23:37:00.816018727 +0000
|
||||
@@ -12,19 +12,11 @@
|
||||
|
||||
.PHONY: default
|
||||
default:
|
||||
- # Must a few times due to go get race
|
||||
- -go get -t -v -d ./...
|
||||
- -go get -t -v -d ./...
|
||||
- -go get -t -v -d ./...
|
||||
go install -v $(DEBUG) ./...
|
||||
@echo "LXD built successfully"
|
||||
|
||||
.PHONY: client
|
||||
client:
|
||||
- # Must a few times due to go get race
|
||||
- -go get -t -v -d ./...
|
||||
- -go get -t -v -d ./...
|
||||
- -go get -t -v -d ./...
|
||||
go install -v $(DEBUG) ./lxc
|
||||
@echo "LXD client built successfully"
|
||||
|
@ -0,0 +1,27 @@
|
||||
# Group which owns the shared socket
|
||||
LXD_OPTIONS+=" --group lxd"
|
||||
|
||||
|
||||
|
||||
# Enable cpu profiling into the specified file
|
||||
#LXD_OPTIONS+=" --cpuprofile /tmp/lxc_cpu_profile"
|
||||
|
||||
# Enable memory profiling into the specified file
|
||||
#LXD_OPTIONS+=" --memprofile /tmp/lxc_mem_profile"
|
||||
|
||||
|
||||
|
||||
# Enables debug mode
|
||||
#LXD_OPTIONS+=" --debug"
|
||||
|
||||
# For debugging, print a complete stack trace every n seconds
|
||||
#LXD_OPTIONS+=" --print-goroutines-every 5"
|
||||
|
||||
# Enables verbose mode
|
||||
#LXD_OPTIONS+=" -v"
|
||||
|
||||
# Logfile to log to
|
||||
#LXD_OPTIONS+=" --logfile /var/log/lxd/lxd.log"
|
||||
|
||||
# Enables syslog logging
|
||||
#LXD_OPTIONS+=" --syslog"
|
@ -0,0 +1,50 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
DAEMON=/usr/sbin/lxd
|
||||
PIDFILE=/run/lxd.pid
|
||||
|
||||
extra_commands="stopall"
|
||||
|
||||
depend() {
|
||||
need net
|
||||
use lxcfs
|
||||
|
||||
# remove with 2.0 release
|
||||
need cgmanager
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting lxd server"
|
||||
|
||||
start-stop-daemon --start \
|
||||
--pidfile ${PIDFILE} \
|
||||
--exec ${DAEMON} \
|
||||
--background \
|
||||
--make-pidfile \
|
||||
-- \
|
||||
${LXD_OPTIONS}
|
||||
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
if [[ $RC_GOINGDOWN = YES ]] || [[ $RC_REBOOT = YES ]]; then
|
||||
stopall
|
||||
else
|
||||
ebegin "Stopping lxd service (but not containers)"
|
||||
start-stop-daemon --stop --quiet -R TERM/45 -p ${PIDFILE}
|
||||
eend $?
|
||||
fi
|
||||
}
|
||||
|
||||
stopall() {
|
||||
ebegin "Stopping lxd service and containers"
|
||||
if "${DAEMON}" shutdown; then
|
||||
/etc/init.d/lxd zap
|
||||
rm -f ${PIDFILE}
|
||||
fi
|
||||
eend $?
|
||||
}
|
@ -0,0 +1,156 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Fast, dense and secure container management"
|
||||
HOMEPAGE="https://linuxcontainers.org/lxd/introduction/"
|
||||
EGO_PN_PARENT="github.com/lxc"
|
||||
EGO_PN="${EGO_PN_PARENT}/lxd"
|
||||
|
||||
# The source is repackaged using a script at:
|
||||
# https://dev.gentoo.org/~stasibear/lxd_repackage.py
|
||||
# This is necessary because go's native package management assumes
|
||||
# that a build starts with checking out many git repositories, often
|
||||
# from HEAD. This provides no way to build the same code repeatably,
|
||||
# and anyway portage requires that fetching is only done from SRC_URI.
|
||||
# The only sane alternative I've seen is in the consul ebuild, which
|
||||
# is more transparent but raises other questions.
|
||||
SRC_URI="https://dev.gentoo.org/~stasibear/distfiles/${P}.tar.bz2"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
PLOCALES="de fr ja"
|
||||
IUSE="+daemon nls test"
|
||||
|
||||
# IUSE and PLOCALES must be defined before l10n inherited
|
||||
inherit bash-completion-r1 golang-build l10n systemd user vcs-snapshot
|
||||
|
||||
DEPEND="
|
||||
dev-go/go-crypto
|
||||
dev-libs/protobuf
|
||||
nls? ( sys-devel/gettext )
|
||||
test? (
|
||||
app-misc/jq
|
||||
dev-db/sqlite
|
||||
net-misc/curl
|
||||
sys-devel/gettext
|
||||
)
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
daemon? (
|
||||
app-admin/cgmanager
|
||||
app-arch/xz-utils
|
||||
app-emulation/lxc[cgmanager,seccomp]
|
||||
net-misc/rsync[xattr]
|
||||
sys-apps/iproute2
|
||||
sys-fs/squashfs-tools
|
||||
virtual/acl
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=("${FILESDIR}/${P}-dont-go-get.patch")
|
||||
|
||||
# KNOWN ISSUES:
|
||||
# - Translations may not work. I've been unsuccessful in forcing
|
||||
# localized output. Anyway, upstream (Canonical) doesn't install the
|
||||
# message files.
|
||||
|
||||
src_prepare() {
|
||||
cd "${S}/src/${EGO_PN}" || die "Failed to change to deep src dir"
|
||||
|
||||
default_src_prepare
|
||||
|
||||
tmpgoroot="${T}/goroot"
|
||||
mkdir -p "$tmpgoroot" || die "Failed to create temporary GOROOT"
|
||||
cp -sR "$(get_golibdir_gopath)"/* "${tmpgoroot}" || die "Failed to copy files to temporary GOROOT"
|
||||
|
||||
# Warn on unhandled locale changes
|
||||
l10n_find_plocales_changes po "" .po
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
golang-build_src_compile
|
||||
|
||||
cd "${S}/src/${EGO_PN}" || die "Failed to change to deep src dir"
|
||||
|
||||
tmpgoroot="${T}/goroot"
|
||||
if use daemon; then
|
||||
# Build binaries
|
||||
GOPATH="${S}:${tmpgoroot}" emake
|
||||
else
|
||||
# build client tool
|
||||
GOPATH="${S}:${tmpgoroot}" emake client
|
||||
fi
|
||||
|
||||
use nls && emake build-mo
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if use daemon; then
|
||||
# Go native tests should succeed
|
||||
golang-build_src_test
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Installs all src,pkg to /usr/lib/go-gentoo
|
||||
golang-build_src_install
|
||||
|
||||
cd "${S}"
|
||||
dobin bin/lxc
|
||||
use daemon && dosbin bin/lxd
|
||||
|
||||
cd "src/${EGO_PN}"
|
||||
|
||||
if use nls; then
|
||||
for lingua in ${PLOCALES}; do
|
||||
if use linguas_${lingua}; then
|
||||
domo po/${lingua}.mo
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
if use daemon; then
|
||||
newinitd "${FILESDIR}"/${P}.initd lxd
|
||||
newconfd "${FILESDIR}"/${P}.confd lxd
|
||||
|
||||
systemd_dounit "${FILESDIR}"/lxd.service
|
||||
fi
|
||||
|
||||
newbashcomp config/bash/lxd-client lxc
|
||||
|
||||
dodoc AUTHORS CONTRIBUTING.md README.md doc/*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo
|
||||
einfo "Consult https://wiki.gentoo.org/wiki/LXD for more information,"
|
||||
einfo "including a Quick Start."
|
||||
|
||||
# The messaging below only applies to daemon installs
|
||||
use daemon || return 0
|
||||
|
||||
# The control socket will be owned by (and writeable by) this group.
|
||||
enewgroup lxd
|
||||
|
||||
# Ubuntu also defines an lxd user but it appears unused (the daemon
|
||||
# must run as root)
|
||||
|
||||
einfo
|
||||
einfo "Though not strictly required, some features are enabled at run-time"
|
||||
einfo "when the relevant helper programs are detected:"
|
||||
einfo "- sys-apps/apparmor"
|
||||
einfo "- sys-fs/btrfs-progs"
|
||||
einfo "- sys-fs/lvm2"
|
||||
einfo "- sys-fs/lxcfs"
|
||||
einfo "- sys-fs/zfs"
|
||||
einfo "- sys-process/criu"
|
||||
einfo
|
||||
einfo "Since these features can't be disabled at build-time they are"
|
||||
einfo "not USE-conditional."
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST binwalk-2.0.1.tar.gz 2234469 SHA256 90ee8426d71e91b62dfe4a1446c457bc7835b475b28717859e275a0494403959 SHA512 de223f61a0a212469c21b8e36d02cadc83f1cdb96a0f6114490d15d8dc12c93a86b46ef74379acb96b32b305e75ca66e940d7a18a8dc3b5036ebe8946dcca0f3 WHIRLPOOL c66ea461132417629f59e3f7562330f038263a0d522aca1db1e85f0bad5e9564d8baa27125acfb67404f0ee8045bd8da71faedcf3d2e352303ca8b0295a2767d
|
||||
DIST binwalk-2.1.1.tar.gz 263977 SHA256 1b70a5b03489d29f60fef18008a2164974234874faab48a4f47ec53d461d284a SHA512 373e276a4d6ec845952f1091f85f953d3b0d52d561d9b74a54000ebdef85d13cafc997a4f8f76f25842db8b76fdcd1e602d4d81792a3ea01c9dea6c6ed5c2168 WHIRLPOOL 3cb8faedd02c6a4859467c285efe00e73ea3e52c48ce2b55e0344853e8a5b7884f9d15eb502ab16bba7262e38dfdb0cbcfadc7d3af4015e4357d9d2d248e6113
|
||||
|
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A tool for identifying files embedded inside firmware images"
|
||||
HOMEPAGE="https://github.com/devttys0/binwalk"
|
||||
SRC_URI="https://github.com/devttys0/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="graph"
|
||||
|
||||
RDEPEND="
|
||||
$(python_gen_cond_dep 'dev-python/pyliblzma[${PYTHON_USEDEP}]' python2_7)
|
||||
graph? ( dev-python/pyqtgraph[opengl,${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
python_install_all() {
|
||||
local DOCS=( API.md INSTALL.md README.md )
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]]; then
|
||||
elog "binwalk has many optional dependencies to automatically"
|
||||
elog "extract/decompress data, see INSTALL.md for more details."
|
||||
fi
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST ddctool-0.4.2.tar.gz 739613 SHA256 742465d74247c21a87247e3a386d0cbcf95808cde9fc88efae21f21c12ae9748 SHA512 7b86ae475f877ff4e66a51e0612fe505479e88b6221c74e7951e10537a3d9720f0f7c82cbbaaa990aa6daef7e1aabf493f6eb59e908af61a8f1159b9d9ac16a8 WHIRLPOOL 4d32cf667c9a61790c5ac1a02338349b085d8922b3b89e28814b394bb975c74452dd7dd8d2f14561256d724ac10f032debab8b686700783beba4dbc00b3b4238
|
@ -0,0 +1,79 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit linux-info udev user
|
||||
|
||||
DESCRIPTION="Program for querying and changing monitor settings"
|
||||
HOMEPAGE="http://www.ddctool.com/"
|
||||
|
||||
MY_GIT_COMMIT="9712e9b54693872cd390476a7606fc8d13b66034"
|
||||
SRC_URI="https://github.com/rockowitz/ddctool/raw/${MY_GIT_COMMIT}/${P}.tar.gz"
|
||||
|
||||
# Binary drivers need special instructions compared to the open source counterparts.
|
||||
# If a user switches drivers, they will need to set different use flags for
|
||||
# Xorg or Wayland or Mesa, so this will trigger the rebuild against
|
||||
# the different drivers.
|
||||
IUSE="udev-i2c udev-usb video_cards_fglrx video_cards_nvidia"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="x11-libs/libXrandr"
|
||||
DEPEND="video_cards_fglrx? ( x11-libs/amd-adl-sdk )
|
||||
udev-usb? ( virtual/libusb )
|
||||
virtual/udev
|
||||
virtual/pkgconfig
|
||||
${RDEPEND}"
|
||||
|
||||
pkg_pretend() {
|
||||
# This program needs /dev/ic2-* devices to communicate with the monitor.
|
||||
CONFIG_CHECK="~I2C_CHARDEV"
|
||||
ERROR_I2C_CHARDEV="You must enable I2C_CHARDEV in your kernel to continue"
|
||||
if use udev-usb; then
|
||||
CONFIG_CHECK="~USB_HIDDEV"
|
||||
ERROR_I2C_CHARDEV="USB_HIDDEV is needed to support USB monitors"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(usex video_cards_fglrx "--with-adl-headers=/usr/include/ADL" "")
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
use udev-i2c && udev_dorules data/etc/udev/rules.d/45-ddctool-i2c.rules
|
||||
use udev-usb && udev_dorules data/etc/udev/rules.d/45-ddctool-usb.rules
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use udev-i2c; then
|
||||
enewgroup i2c
|
||||
udev_reload
|
||||
einfo "To allow non-root users access to the /dev/i2c-* devices, add those"
|
||||
einfo "users to the i2c group: usermod -aG i2c user"
|
||||
einfo "Restart the computer or reload the i2c-dev module to activate"
|
||||
einfo "the new udev rule."
|
||||
einfo "For more information read: http://www.ddctool.com/i2c_permissions/"
|
||||
fi
|
||||
|
||||
if use udev-usb; then
|
||||
enewgroup video
|
||||
udev_reload
|
||||
einfo "To allow non-root users access to the USB monitor, add those users"
|
||||
einfo "to the video group: usermod -aG video user"
|
||||
einfo "Restart the computer, reload the hiddev module, or replug the monitor"
|
||||
einfo "to activate the new udev rule."
|
||||
einfo "For more information read: http://www.ddctool.com/usb/"
|
||||
fi
|
||||
|
||||
if use video_cards_nvidia; then
|
||||
einfo "=================================================================="
|
||||
einfo "Please read the following webpage on proper usage with the nVidia "
|
||||
einfo "binary drivers, or it may not work: http://www.ddctool.com/nvidia/"
|
||||
einfo "=================================================================="
|
||||
fi
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>j.scruggs@gmail.com</email>
|
||||
<name>Jonathan Scruggs</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
ddctool primarily uses DDC/CI (Display Data Channel Command Interface)
|
||||
to communicate with monitors implementing MCCS (Monitor Control Command
|
||||
Set) over I2C. Normally, the video driver for the monitor exposes the
|
||||
I2C channel as devices named /dev/i2c-n. Alternatively, there is initial
|
||||
support for monitors (such as Apple displays) that implement MCCS using
|
||||
a USB connection.
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name="udev-i2c">
|
||||
Adds a udev rule to allow non-root users in the i2c group to
|
||||
access the /dev/i2c-* devices. Otherwise, only root will be
|
||||
able to use ddctool.
|
||||
</flag>
|
||||
<flag name="udev-usb">
|
||||
Adds a udev rule to allow non-root users in the video group to
|
||||
access USB connected monitors. Otherwise, only root will be
|
||||
able to use ddctool.
|
||||
</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
@ -1,2 +1 @@
|
||||
DIST thefuck-3.10.tar.gz 786180 SHA256 4cdad2040325f73918f00e65822ce21c202e178173606452ed0c730d8c447210 SHA512 fa77177388e311834d5cae9e6264eebaf1b7e52f90a5fa5fd4c3a1858448c4a3288fabd7f08e604b81db1f759f25e7c0403e21ed9772ec517f2f8e8a5163441f WHIRLPOOL cb488dce6d0fa4ec5c760120f908eedf062933d3fb84643e83ef13d6fc29178085b6f960a97cbcd8b38500cec373cdda6a10bee77433f5aa76aa672bf7adf3bf
|
||||
DIST thefuck-3.11.tar.gz 796095 SHA256 77ee25d0da7c3b5e373c2811c3a4d625de4c635094e960b9f9c60dc490650213 SHA512 774041c5bb54457add90ed071555a0f6215f43501e9ad359af4e1525df34daa3d35de17ccc93f0c74985c107560c0f86e2db52d58265c4f78d31c69015359631 WHIRLPOOL 5eaf7e56100f601146ffd19090463c132ec66a9fcf71340979094df04d8179ddc6624a3c420c114c330e7fafcfbcaeebc1bca462382368a289b75d606f581698
|
||||
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=(python{2_7,3_4})
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Magnificent app which corrects your previous console command"
|
||||
HOMEPAGE="https://github.com/nvbn/thefuck"
|
||||
SRC_URI="https://github.com/nvbn/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="dev-python/pathlib[${PYTHON_USEDEP}]
|
||||
dev-python/psutil[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
dev-python/decorator[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]"
|
||||
DEPEND="test? ( ${RDEPEND}
|
||||
dev-python/pytest[${PYTHON_USEDEP}] )
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e "/import pip/s/^/#/" -e "/pip.__version__/,+3 s/^/#/" setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
py.test || die
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST catdoc-0.95.tar.gz 217779 SHA256 514a84180352b6bf367c1d2499819dfa82b60d8c45777432fa643a5ed7d80796 SHA512 dd6bded4b6b70749c007256b182b063ff266f86d53024d8582001678821e8096c5b980bc8f43015d9c82bbe022d71d4ba5fe68aff31b2ff6db3688595e651b2c WHIRLPOOL 1303c74cc6a13183e2ea8ee2bf616da419a8b9f03f4e2fcdce3b0462306084fab85a1cd68bb4ab07caac40c56a91284103e54084d7f523d9894b0eee9359184c
|
||||
DIST catdoc_0.94.4.orig.tar.gz 679156 SHA256 c06fd69d2a218fcc2ed1320988cef07a67cf5555a12f25752766d746e25758ee SHA512 63e492c40e0abb82df0c93c43d1bd63f15d0c8b60579cf3858f26a0814731920ff621b3384035c9a85da5c448b699801ff3376e7a02cf8e7a413195bd9847ba9 WHIRLPOOL 73675ee3b2facf03e894257132ee7766802ee3ab347701dfa7cd313855ebb22976b9e44f1d9d4eceee6f87008160df371a0cda409a623f61a35413d480a2a8d5
|
||||
|
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Converter for Microsoft Word, Excel, PowerPoint and RTF files to text"
|
||||
HOMEPAGE="http://www.wagner.pp.ru/~vitus/software/catdoc/"
|
||||
SRC_URI="http://ftp.wagner.pp.ru/pub/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE="tk"
|
||||
|
||||
DEPEND="tk? ( >=dev-lang/tk-8.1 )"
|
||||
|
||||
DOCS="CODING.STD NEWS README TODO"
|
||||
# CREDITS missing by accident in catdoc-0.95
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-parallel-make.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Fix for case-insensitive filesystems
|
||||
echo ".PHONY: all install clean distclean dist" >> Makefile.in || die
|
||||
|
||||
mv configure.{in,ac} || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf --with-install-root="${D}" \
|
||||
$(use_with tk wish "${EPREFIX}"/usr/bin/wish) \
|
||||
$(use_enable tk wordview)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake LIB_DIR="${EPREFIX}"/usr/share/catdoc
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if [[ -e ${ED}/usr/bin/xls2csv ]]; then
|
||||
einfo "Renaming xls2csv to xls2csv-${PN} because of bug 314657."
|
||||
mv -vf "${ED}"/usr/bin/xls2csv "${ED}"/usr/bin/xls2csv-${PN} || die
|
||||
fi
|
||||
}
|
@ -0,0 +1,39 @@
|
||||
--- a/charsets/Makefile.in
|
||||
+++ b/charsets/Makefile.in
|
||||
@@ -28,13 +28,13 @@
|
||||
|
||||
all: @charsetcheck@
|
||||
clean:
|
||||
-install: install-dirs install-spc install-charsets
|
||||
-install-spc: tex.spc ascii.spc tex.rpl ascii.rpl
|
||||
+install: install-spc install-charsets
|
||||
+install-spc: install-dirs tex.spc ascii.spc tex.rpl ascii.rpl
|
||||
$(INSTALL) -m 644 ascii.spc $(installroot)$(LIB_DIR)/ascii$(SPEC_EXT)
|
||||
$(INSTALL) -m 644 tex.spc $(installroot)$(LIB_DIR)/tex$(SPEC_EXT)
|
||||
$(INSTALL) -m 644 ascii.rpl $(installroot)$(LIB_DIR)/ascii$(REPL_EXT)
|
||||
$(INSTALL) -m 644 tex.rpl $(installroot)$(LIB_DIR)/tex$(REPL_EXT)
|
||||
-install-charsets:
|
||||
+install-charsets: install-dirs
|
||||
for i in *.txt; do\
|
||||
$(INSTALL) -m 0644 $$i $(installroot)$(LIB_DIR);\
|
||||
done
|
||||
--- a/doc/Makefile.in
|
||||
+++ b/doc/Makefile.in
|
||||
@@ -29,13 +29,13 @@
|
||||
xls2csv.txt xls2csv.ps \
|
||||
wordview.txt wordview.ps build
|
||||
install: @installtargets@
|
||||
-install-catdoc: catdoc.1 xls2csv.1 catppt.1
|
||||
- ../mkinstalldirs $(installroot)$(mandir)
|
||||
+install-dirs:
|
||||
+ ../mkinstalldirs $(installroot)$(mandir)/man1
|
||||
+install-catdoc: install-dirs catdoc.1 xls2csv.1 catppt.1
|
||||
$(INSTALL) -m 644 catdoc.1 $(installroot)$(mandir)/man1/catdoc.1
|
||||
$(INSTALL) -m 644 xls2csv.1 $(installroot)$(mandir)/man1/xls2csv.1
|
||||
$(INSTALL) -m 644 catppt.1 $(installroot)$(mandir)/man1/catppt.1
|
||||
-install-wordview:
|
||||
- ../mkinstalldirs $(installroot)$(mandir)
|
||||
+install-wordview: install-dirs
|
||||
$(INSTALL) -m 644 wordview.1 $(installroot)$(mandir)/man1/wordview.1
|
||||
distclean: clean
|
||||
$(RM) Makefile catdoc.1 xls2csv.1 catppt.1 wordview.1
|
@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
DESCRIPTION="An application built on Xapian, consisting of indexers and a CGI search frontend"
|
||||
SRC_URI="http://www.oligarchy.co.uk/xapian/${PV}/xapian-omega-${PV}.tar.xz"
|
||||
HOMEPAGE="http://www.xapian.org/"
|
||||
S="${WORKDIR}/xapian-omega-${PV}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm ia64 ~mips ppc ppc64 sparc x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-libs/xapian-${PV}
|
||||
dev-lang/perl
|
||||
dev-libs/libpcre
|
||||
sys-libs/zlib"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_install () {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
#move docs to /usr/share/doc/${PF}.
|
||||
mv "${D}/usr/share/doc/xapian-omega" "${D}/usr/share/doc/${PF}"
|
||||
|
||||
dodoc AUTHORS ChangeLog INSTALL NEWS README TODO
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
</pkgmetadata>
|
@ -1 +1,2 @@
|
||||
DIST rust-mode-vim-1_beta20150411.tar.gz 14834 SHA256 ae10727c14612905f489afea1146bac24a0ea6309a3a3fcf97a048dd1e156eb4 SHA512 f841768909203475a0cd3589a148d334001351fb23976ee28823a9dbde396d89a4f3c5ac07166420c8ddb64692dcc86b98b3afc3579171115a3a2af17b6aa449 WHIRLPOOL c95fc23f40608be817c7fc7467138efaa25a6b24427b79ab0de7daf84e5f32c4f2cd0db1377e2eaa0e40bf83cb765c86f6e04752b142b1779c194ceddc8b7d07
|
||||
DIST rust-vim-1_pre20160829.tar.gz 23801 SHA256 43234612d8a5ecdb6c4e988dcf14dc15b0c7c9b473591024b12cbeb09eb187e5 SHA512 bfd9290f03f3fb0ffccbc1d78f9e37c5d3ca57379f0b505e84b445105bd5a011f623f402d35407a634eaef4db9ad3fea68517057aa4d84e99206bc99067daa3d WHIRLPOOL b004a6d2fd63833d658ba2dcf38bfd2dc8e39fcac75b6dddae56a47a8b288908a9e613d12d75e0380e6443bfff38c49204c829be0a2502bce28b64fd68014a89
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>hilobakho@gmail.com</email>
|
||||
<name>Mykyta Holubakha</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Gentoo Proxy Maintainers Project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">rust-lang/rust.vim</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,14 +1,14 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
EAPI=6
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
MY_PN="${PN}-vim"
|
||||
MY_PN="rust-mode-vim"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
DESCRIPTION="Rust mode for vim"
|
||||
DESCRIPTION="Vim configuration for Rust"
|
||||
HOMEPAGE="http://www.rust-lang.org/"
|
||||
SRC_URI="https://dev.gentoo.org/~jauhien/distfiles/${MY_P}.tar.gz"
|
||||
|
@ -0,0 +1,18 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit vim-plugin vcs-snapshot
|
||||
|
||||
MY_PN="${PN/-/.}"
|
||||
REF="fc11d02fee330df7b30c83a80f09dd0c60ab43ce"
|
||||
|
||||
DESCRIPTION="Vim configuration for Rust"
|
||||
HOMEPAGE="http://www.rust-lang.org/"
|
||||
SRC_URI="https://github.com/rust-lang/${MY_PN}/tarball/${REF} -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( MIT Apache-2.0 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
@ -0,0 +1 @@
|
||||
DIST boot-2.6.0.jar 8289462 SHA256 6ad8b10ff63b5ed884fefef9b784fd05675d94486526d059ebcc2c3b8a8a7701 SHA512 715aa320c0e44a2376020aa84c0640ae8e6fb15a4842b4267ff58e1d09682aae17f74dc568e50fa611993947bcd7b1430157a0f0b6b8bcddff1eaa3149ddc9ad WHIRLPOOL e39fa91d481ecf74747da7b81477d27110c61ad51ad5b662da9ef60c0a8727c035abacbc0cf1201d6dce2e31d76115ce2fecc2193228ae23dfe251e11858d93f
|
@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="6"
|
||||
|
||||
inherit java-pkg-2
|
||||
|
||||
MY_PN="${PN%-bin}"
|
||||
MY_PNV="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Build tooling for Clojure"
|
||||
HOMEPAGE="http://boot-clj.com/"
|
||||
SRC_URI="https://github.com/boot-clj/${MY_PN}/releases/download/${PV}/${MY_PN}.jar -> ${MY_PNV}.jar"
|
||||
|
||||
LICENSE="EPL-1.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND=">=virtual/jdk-1.7:*"
|
||||
DEPEND=">=virtual/jdk-1.7:*"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
src_unpack() {
|
||||
mkdir -p "${S}" || die "Can't mkdir ${S}"
|
||||
cd "${S}" || die "Can't enter ${S}"
|
||||
for file in ${A}; do
|
||||
einfo "Copying ${file}"
|
||||
cp "${DISTDIR}/${file}" "${S}/" || die "Can't copy ${file}"
|
||||
done
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
einfo "Copying boot shell-script"
|
||||
cp "${FILESDIR}/boot" "${S}/" || die "Can't copy boot"
|
||||
|
||||
java-pkg_init_paths_
|
||||
|
||||
sed -i "s|@@JAVA_PKG_SHAREPATH@@|${JAVA_PKG_SHAREPATH}|g" "${S}/boot" || die "Can't patch JAVA_PKG_SHAREPATH path in boot"
|
||||
sed -i "s|@@JAVA_PKG_JARDEST@@|${JAVA_PKG_JARDEST}|g" "${S}/boot" || die "Can't patch JAVA_PKG_JARDEST path in boot"
|
||||
sed -i "s|@@PN@@|${PN}|g" "${S}/boot" || die "Can't patch PN in boot"
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
dobin "${S}/boot"
|
||||
java-pkg_newjar "${S}/${MY_PNV}.jar"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "This package will still download a whole lot of its own runtime"
|
||||
einfo "dependencies the first time you run it."
|
||||
einfo ""
|
||||
einfo "This currently can't be helped and is expected behaviour for a"
|
||||
einfo "java based development toolkit"
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
source @@JAVA_PKG_SHAREPATH@@/package.env
|
||||
jarpath="@@JAVA_PKG_JARDEST@@/@@PN@@.jar"
|
||||
declare -a "options=($BOOT_JVM_OPTIONS)"
|
||||
self="${BASH_SOURCE[0]}"
|
||||
exec ${BOOT_JAVA_COMMAND:-java} "${options[@]}" -Dboot.app.path="$jarpath" -jar "$jarpath" "$@"
|
||||
|
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>kentnl@gentoo.org</email>
|
||||
<name>Kent Fredric</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="Professional cross platform layouts with Swing"
|
||||
HOMEPAGE="https://swing-layout.dev.java.net/"
|
||||
SRC_URI="mirror//gentoo/${P}-src.zip"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="1"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc source"
|
||||
|
||||
DEPEND="
|
||||
>=virtual/jdk-1.6"
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/jre-1.6"
|
||||
|
||||
S="${WORKDIR}/${P}"
|
||||
|
||||
JAVA_SRC_DIR="src"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
--- ./cpp/src/Freeze/MapI.cpp
|
||||
+++ ./cpp/src/Freeze/MapI.cpp
|
||||
@@ -1487,10 +1487,10 @@ Freeze::MapHelperI::size() const
|
||||
|
||||
try
|
||||
{
|
||||
-#if DB_VERSION_MAJOR != 4
|
||||
-#error Freeze requires DB 4.x
|
||||
+#if DB_VERSION_MAJOR < 4
|
||||
+#error Freeze requires DB 4.x or greater
|
||||
#endif
|
||||
-#if DB_VERSION_MINOR < 3
|
||||
+#if DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR < 3
|
||||
_db->stat(&s, 0);
|
||||
#else
|
||||
_db->stat(_connection->dbTxn(), &s, 0);
|
@ -1,10 +0,0 @@
|
||||
--- Ice-3.4.1.old/cpp/include/Ice/Buffer.h 2010-06-03 17:48:33.000000000 +0100
|
||||
+++ Ice-3.4.1.old/cpp/include/Ice/Buffer.h 2011-07-20 13:20:04.000000000 +0100
|
||||
@@ -11,6 +11,7 @@
|
||||
#define ICEE_BUFFER_H
|
||||
|
||||
#include <Ice/Config.h>
|
||||
+#include <cstddef>
|
||||
|
||||
namespace IceInternal
|
||||
{
|
@ -1,26 +0,0 @@
|
||||
--- ace/Makefile.am.orig 2008-10-22 22:28:29.000000000 +0300
|
||||
+++ ace/Makefile.am 2008-10-22 22:29:50.000000000 +0300
|
||||
@@ -876,6 +876,7 @@
|
||||
Recursive_Thread_Mutex.inl \
|
||||
Recyclable.h \
|
||||
Recyclable.inl \
|
||||
+ Refcountable.h \
|
||||
Refcountable_T.cpp \
|
||||
Refcountable_T.h \
|
||||
Refcountable_T.inl \
|
||||
@@ -1054,6 +1055,7 @@
|
||||
Timeprobe_T.h \
|
||||
Timer_Hash_T.cpp \
|
||||
Timer_Hash_T.h \
|
||||
+ Timer_Heap.h \
|
||||
Timer_Heap_T.cpp \
|
||||
Timer_Heap_T.h \
|
||||
Timer_List_T.cpp \
|
||||
@@ -1061,6 +1063,7 @@
|
||||
Timer_Queue_Adapters.cpp \
|
||||
Timer_Queue_Adapters.h \
|
||||
Timer_Queue_Adapters.inl \
|
||||
+ Timer_Queue.h \
|
||||
Timer_Queue_T.cpp \
|
||||
Timer_Queue_T.h \
|
||||
Timer_Queue_T.inl \
|
@ -1,139 +0,0 @@
|
||||
--- build/dbm.m4
|
||||
+++ build/dbm.m4
|
||||
@@ -579,6 +579,25 @@
|
||||
apu_db_version=5
|
||||
fi
|
||||
])
|
||||
+dnl
|
||||
+dnl APU_CHECK_DB52: is DB5.2 present?
|
||||
+dnl
|
||||
+dnl if present: sets apu_db_header, apu_db_lib, and apu_db_version
|
||||
+dnl
|
||||
+AC_DEFUN([APU_CHECK_DB52], [
|
||||
+ places=$1
|
||||
+ if test -z "$places"; then
|
||||
+ places="std /usr/local/BerkeleyDB.5.2 /boot/home/config"
|
||||
+ fi
|
||||
+ APU_CHECK_BERKELEY_DB("5", "2", "-1",
|
||||
+ "$places",
|
||||
+ "db52/db.h db5/db.h db.h",
|
||||
+ "db-5.2 db5-5.2 db52 db5 db"
|
||||
+ )
|
||||
+ if test "$apu_have_db" = "1"; then
|
||||
+ apu_db_version=5
|
||||
+ fi
|
||||
+])
|
||||
|
||||
AC_DEFUN([APU_CHECK_DB], [
|
||||
requested=$1
|
||||
@@ -681,6 +700,12 @@
|
||||
AC_MSG_ERROR(Berkeley db5 not found)
|
||||
fi
|
||||
;;
|
||||
+ db52)
|
||||
+ APU_CHECK_DB52("$check_places")
|
||||
+ if test "$apu_db_version" != "5"; then
|
||||
+ AC_MSG_ERROR(Berkeley db5 not found)
|
||||
+ fi
|
||||
+ ;;
|
||||
default)
|
||||
APU_CHECK_DB_ALL("$check_places")
|
||||
;;
|
||||
@@ -688,40 +713,43 @@
|
||||
])
|
||||
|
||||
dnl
|
||||
-dnl APU_CHECK_DB_ALL: Try all Berkeley DB versions, from 5.1 to 1.
|
||||
+dnl APU_CHECK_DB_ALL: Try all Berkeley DB versions, from 5.2 to 1.
|
||||
dnl
|
||||
AC_DEFUN([APU_CHECK_DB_ALL], [
|
||||
all_places=$1
|
||||
|
||||
- APU_CHECK_DB51("$all_places")
|
||||
+ APU_CHECK_DB52("$all_places")
|
||||
if test "$apu_db_version" != "5"; then
|
||||
- APU_CHECK_DB50("$all_places")
|
||||
+ APU_CHECK_DB51("$all_places")
|
||||
if test "$apu_db_version" != "5"; then
|
||||
- APU_CHECK_DB48("$all_places")
|
||||
- if test "$apu_db_version" != "4"; then
|
||||
- APU_CHECK_DB47("$all_places")
|
||||
+ APU_CHECK_DB50("$all_places")
|
||||
+ if test "$apu_db_version" != "5"; then
|
||||
+ APU_CHECK_DB48("$all_places")
|
||||
if test "$apu_db_version" != "4"; then
|
||||
- APU_CHECK_DB46("$all_places")
|
||||
+ APU_CHECK_DB47("$all_places")
|
||||
if test "$apu_db_version" != "4"; then
|
||||
- APU_CHECK_DB45("$all_places")
|
||||
+ APU_CHECK_DB46("$all_places")
|
||||
if test "$apu_db_version" != "4"; then
|
||||
- APU_CHECK_DB44("$all_places")
|
||||
+ APU_CHECK_DB45("$all_places")
|
||||
if test "$apu_db_version" != "4"; then
|
||||
- APU_CHECK_DB43("$all_places")
|
||||
+ APU_CHECK_DB44("$all_places")
|
||||
if test "$apu_db_version" != "4"; then
|
||||
- APU_CHECK_DB42("$all_places")
|
||||
+ APU_CHECK_DB43("$all_places")
|
||||
if test "$apu_db_version" != "4"; then
|
||||
- APU_CHECK_DB41("$all_places")
|
||||
+ APU_CHECK_DB42("$all_places")
|
||||
if test "$apu_db_version" != "4"; then
|
||||
- APU_CHECK_DB4("$all_places")
|
||||
+ APU_CHECK_DB41("$all_places")
|
||||
if test "$apu_db_version" != "4"; then
|
||||
- APU_CHECK_DB3("$all_places")
|
||||
- if test "$apu_db_version" != "3"; then
|
||||
- APU_CHECK_DB2("$all_places")
|
||||
- if test "$apu_db_version" != "2"; then
|
||||
- APU_CHECK_DB1("$all_places")
|
||||
- if test "$apu_db_version" != "1"; then
|
||||
- APU_CHECK_DB185("$all_places")
|
||||
+ APU_CHECK_DB4("$all_places")
|
||||
+ if test "$apu_db_version" != "4"; then
|
||||
+ APU_CHECK_DB3("$all_places")
|
||||
+ if test "$apu_db_version" != "3"; then
|
||||
+ APU_CHECK_DB2("$all_places")
|
||||
+ if test "$apu_db_version" != "2"; then
|
||||
+ APU_CHECK_DB1("$all_places")
|
||||
+ if test "$apu_db_version" != "1"; then
|
||||
+ APU_CHECK_DB185("$all_places")
|
||||
+ fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
@@ -763,11 +791,11 @@
|
||||
apu_db_version=0
|
||||
|
||||
AC_ARG_WITH(dbm, [APR_HELP_STRING([--with-dbm=DBM], [choose the DBM type to use.
|
||||
- DBM={sdbm,gdbm,ndbm,db,db1,db185,db2,db3,db4,db41,db42,db43,db44,db45,db46,db47,db48,db50,db51}])],
|
||||
+ DBM={sdbm,gdbm,ndbm,db,db1,db185,db2,db3,db4,db41,db42,db43,db44,db45,db46,db47,db48,db50,db51,db52}])],
|
||||
[
|
||||
if test "$withval" = "yes"; then
|
||||
AC_MSG_ERROR([--with-dbm needs to specify a DBM type to use.
|
||||
- One of: sdbm, gdbm, ndbm, db, db1, db185, db2, db3, db4, db41, db42, db43, db44, db45, db46, db47, db48, db50, db51])
|
||||
+ One of: sdbm, gdbm, ndbm, db, db1, db185, db2, db3, db4, db41, db42, db43, db44, db45, db46, db47, db48, db50, db51, db52])
|
||||
fi
|
||||
requested="$withval"
|
||||
], [
|
||||
@@ -978,6 +1006,10 @@
|
||||
apu_use_db=1
|
||||
apu_default_dbm=db5
|
||||
;;
|
||||
+ db52)
|
||||
+ apu_use_db=1
|
||||
+ apu_default_dbm=db5
|
||||
+ ;;
|
||||
default)
|
||||
dnl ### use more sophisticated DBMs for the default?
|
||||
apu_default_dbm="sdbm (default)"
|
||||
@@ -985,7 +1017,7 @@
|
||||
;;
|
||||
*)
|
||||
AC_MSG_ERROR([--with-dbm=$look_for is an unknown DBM type.
|
||||
- Use one of: sdbm, gdbm, ndbm, db, db1, db185, db2, db3, db4, db41, db42, db43, db44, db45, db46, db47, db48, db50, db51])
|
||||
+ Use one of: sdbm, gdbm, ndbm, db, db1, db185, db2, db3, db4, db41, db42, db43, db44, db45, db46, db47, db48, db50, db51, db52])
|
||||
;;
|
||||
esac
|
||||
|
@ -1,46 +0,0 @@
|
||||
From ab40a1ce4bff38fe6c19931bcdb46cdf754e29ed Mon Sep 17 00:00:00 2001
|
||||
From: Johannes Huber <johu@gentoo.org>
|
||||
Date: Thu, 22 Mar 2012 11:37:57 +0100
|
||||
Subject: [PATCH] Search only for qt-test if test build option is enabled.
|
||||
|
||||
Build fails on systems were no qt-test is installed and the build option
|
||||
for tests is disabled. See downstream bug report
|
||||
https://bugs.gentoo.org/show_bug.cgi?id=409131.
|
||||
---
|
||||
templates/CMakeLists.txt | 6 +++++-
|
||||
textdocument/CMakeLists.txt | 6 +++++-
|
||||
2 files changed, 10 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/templates/CMakeLists.txt b/templates/CMakeLists.txt
|
||||
index 0594cc3..eec0f12 100644
|
||||
--- a/templates/CMakeLists.txt
|
||||
+++ b/templates/CMakeLists.txt
|
||||
@@ -1,5 +1,9 @@
|
||||
|
||||
-find_package(Qt4 4.5.0 REQUIRED QtCore QtScript QtTest)
|
||||
+if (BUILD_TESTS)
|
||||
+ find_package(Qt4 4.5.0 REQUIRED QtCore QtScript QtTest)
|
||||
+else (BUILD_TESTS)
|
||||
+ find_package(Qt4 4.5.0 REQUIRED QtCore QtScript)
|
||||
+endif (BUILD_TESTS)
|
||||
|
||||
include(${Grantlee_USE_FILE})
|
||||
|
||||
diff --git a/textdocument/CMakeLists.txt b/textdocument/CMakeLists.txt
|
||||
index d456663..8fa2892 100644
|
||||
--- a/textdocument/CMakeLists.txt
|
||||
+++ b/textdocument/CMakeLists.txt
|
||||
@@ -1,5 +1,9 @@
|
||||
|
||||
-find_package(Qt4 4.5.0 REQUIRED QtCore QtGui QtTest)
|
||||
+if (BUILD_TESTS)
|
||||
+ find_package(Qt4 4.5.0 REQUIRED QtCore QtScript QtTest)
|
||||
+else (BUILD_TESTS)
|
||||
+ find_package(Qt4 4.5.0 REQUIRED QtCore QtScript)
|
||||
+endif (BUILD_TESTS)
|
||||
|
||||
include(${QT_USE_FILE})
|
||||
|
||||
--
|
||||
1.7.9.4
|
||||
|
@ -1,40 +0,0 @@
|
||||
Install headers to a custom location to permit slotting with Qt4 version.
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 45f8673..7832a3b 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -94,7 +94,7 @@ set (LIB_SUFFIX "" CACHE STRING "Define suffix of library directory name (eg. '6
|
||||
set( LIB_INSTALL_DIR lib${LIB_SUFFIX} )
|
||||
set( PLUGIN_INSTALL_DIR lib${LIB_SUFFIX}/grantlee/${Grantlee_MAJOR_MINOR_VERSION_STRING} )
|
||||
set( BIN_INSTALL_DIR bin )
|
||||
-set( INCLUDE_INSTALL_DIR include )
|
||||
+set( INCLUDE_INSTALL_DIR include/grantlee5 )
|
||||
set( DATA_INSTALL_DIR share/apps )
|
||||
|
||||
# set up RPATH/install_name_dir
|
||||
diff --git a/templates/lib/CMakeLists.txt b/templates/lib/CMakeLists.txt
|
||||
index 789205c..7045449 100644
|
||||
--- a/templates/lib/CMakeLists.txt
|
||||
+++ b/templates/lib/CMakeLists.txt
|
||||
@@ -79,6 +79,7 @@ add_library(Grantlee5::Templates ALIAS Grantlee_Templates)
|
||||
generate_export_header(Grantlee_Templates)
|
||||
set_property(TARGET Grantlee_Templates PROPERTY EXPORT_NAME Templates)
|
||||
target_include_directories(Grantlee_Templates PRIVATE ../scriptabletags)
|
||||
+target_include_directories(Grantlee_Templates INTERFACE "$<INSTALL_INTERFACE:${INCLUDE_INSTALL_DIR}>")
|
||||
|
||||
if (BUILD_TESTS)
|
||||
set(GRANTLEE_TESTS_EXPORT "GRANTLEE_TEMPLATES_EXPORT")
|
||||
diff --git a/textdocument/lib/CMakeLists.txt b/textdocument/lib/CMakeLists.txt
|
||||
index 14163db..7c609f9 100644
|
||||
--- a/textdocument/lib/CMakeLists.txt
|
||||
+++ b/textdocument/lib/CMakeLists.txt
|
||||
@@ -24,7 +24,7 @@ add_library(Grantlee_TextDocument SHARED
|
||||
generate_export_header(Grantlee_TextDocument)
|
||||
add_library(Grantlee::TextDocument ALIAS Grantlee_TextDocument)
|
||||
set_property(TARGET Grantlee_TextDocument PROPERTY EXPORT_NAME TextDocument)
|
||||
-
|
||||
+target_include_directories(Grantlee_TextDocument INTERFACE "$<INSTALL_INTERFACE:${INCLUDE_INSTALL_DIR}>")
|
||||
|
||||
target_link_libraries(Grantlee_TextDocument
|
||||
LINK_PUBLIC Qt5::Gui
|
@ -0,0 +1,74 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit cmake-utils python-any-r1
|
||||
|
||||
DESCRIPTION="C++ JSON reader and writer"
|
||||
HOMEPAGE="https://github.com/open-source-parsers/jsoncpp"
|
||||
SRC_URI="https://github.com/open-source-parsers/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( public-domain MIT )"
|
||||
SLOT="0/1"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="doc test"
|
||||
|
||||
DEPEND="
|
||||
doc? (
|
||||
app-doc/doxygen
|
||||
${PYTHON_DEPS}
|
||||
)
|
||||
test? (
|
||||
${PYTHON_DEPS}
|
||||
)"
|
||||
RDEPEND=""
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
pkg_setup() {
|
||||
if use doc || use test; then
|
||||
python-any-r1_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DJSONCPP_WITH_TESTS=$(usex test)
|
||||
-DJSONCPP_WITH_POST_BUILD_UNITTEST=OFF
|
||||
-DJSONCPP_WITH_CMAKE_PACKAGE=ON
|
||||
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
-DBUILD_STATIC_LIBS=OFF
|
||||
# Follow Debian, Ubuntu, Arch convention for headers location
|
||||
# bug #452234
|
||||
-DINCLUDE_INSTALL_DIR="${EPREFIX}"/usr/include/jsoncpp
|
||||
# Disable implicit ccache use
|
||||
-DCCACHE_FOUND=OFF
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile
|
||||
|
||||
if use doc; then
|
||||
"${EPYTHON}" doxybuild.py --doxygen=/usr/bin/doxygen || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -C "${BUILD_DIR}" jsoncpp_check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
if use doc; then
|
||||
docinto html
|
||||
dodoc -r dist/doxygen/jsoncpp*/.
|
||||
fi
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
--- src/Makefile.orig 2006-07-09 19:46:41.000000000 -0700
|
||||
+++ src/Makefile 2006-07-09 19:51:00.000000000 -0700
|
||||
@@ -2,11 +2,10 @@
|
||||
includedir=$(prefix)/include
|
||||
libdir=$(prefix)/lib
|
||||
|
||||
-ARCH := $(shell uname -m | sed -e s/i.86/i386/)
|
||||
-CFLAGS := -nostdlib -nostartfiles -Wall -I. -g -fomit-frame-pointer -O2 -fPIC
|
||||
-SO_CFLAGS=-shared $(CFLAGS)
|
||||
+CFLAGS += -nostdlib -nostartfiles -Wall -I. -fPIC
|
||||
+SO_CFLAGS=-shared $(CFLAGS)
|
||||
L_CFLAGS=$(CFLAGS)
|
||||
-LINK_FLAGS=
|
||||
+LINK_FLAGS=-lgcc -lrt $(LDFLAGS)
|
||||
|
||||
soname=libaio.so.1
|
||||
minor=0
|
@ -1,17 +0,0 @@
|
||||
--- a/src/Makefile
|
||||
+++ b/src/Makefile
|
||||
@@ -42,10 +42,12 @@
|
||||
$(CC) $(L_CFLAGS) -c -o $@ $<
|
||||
|
||||
|
||||
+AR ?= ar
|
||||
+RANLIB ?= ranlib
|
||||
libaio.a: $(libaio_objs)
|
||||
rm -f libaio.a
|
||||
- ar r libaio.a $^
|
||||
- ranlib libaio.a
|
||||
+ $(AR) r libaio.a $^
|
||||
+ $(RANLIB) libaio.a
|
||||
|
||||
$(libname): $(libaio_sobjs) libaio.map
|
||||
$(CC) $(SO_CFLAGS) -Wl,--version-script=libaio.map -Wl,-soname,$(soname) -o $@ $(libaio_sobjs) $(LINK_FLAGS)
|
@ -1,101 +0,0 @@
|
||||
for arches that lack magic assembly (arm, blackfin, etc...), implement support
|
||||
using standard syscall() function
|
||||
|
||||
--- src/libaio.h
|
||||
+++ src/libaio.h
|
||||
@@ -49,38 +49,34 @@ typedef enum io_iocb_cmd {
|
||||
IO_CMD_PWRITEV = 8,
|
||||
} io_iocb_cmd_t;
|
||||
|
||||
-#if defined(__i386__) /* little endian, 32 bits */
|
||||
+/* little endian, 32 bits */
|
||||
+#if defined(__i386__) || defined(__sh__) || defined(__bfin__) || \
|
||||
+ defined(__ARMEL__) || defined(__MIPSEL__) || defined(__cris__)
|
||||
#define PADDED(x, y) x; unsigned y
|
||||
#define PADDEDptr(x, y) x; unsigned y
|
||||
#define PADDEDul(x, y) unsigned long x; unsigned y
|
||||
+
|
||||
+/* little endian, 64 bits */
|
||||
#elif defined(__ia64__) || defined(__x86_64__) || defined(__alpha__)
|
||||
#define PADDED(x, y) x, y
|
||||
#define PADDEDptr(x, y) x
|
||||
#define PADDEDul(x, y) unsigned long x
|
||||
-#elif defined(__powerpc64__) /* big endian, 64 bits */
|
||||
+
|
||||
+/* big endian, 64 bits */
|
||||
+#elif defined(__powerpc64__) || defined(__s390x__) || \
|
||||
+ (defined(__sparc__) && defined(__arch64__))
|
||||
#define PADDED(x, y) unsigned y; x
|
||||
#define PADDEDptr(x,y) x
|
||||
#define PADDEDul(x, y) unsigned long x
|
||||
-#elif defined(__PPC__) /* big endian, 32 bits */
|
||||
+
|
||||
+/* big endian, 32 bits */
|
||||
+#elif defined(__PPC__) || defined(__s390__) || defined(__ARMEB__) || \
|
||||
+ defined(__MIPSEB__) || defined(__sparc__) || defined(__m68k__) || \
|
||||
+ defined(__hppa__) || defined(__frv__) || defined(__avr32__)
|
||||
#define PADDED(x, y) unsigned y; x
|
||||
#define PADDEDptr(x, y) unsigned y; x
|
||||
#define PADDEDul(x, y) unsigned y; unsigned long x
|
||||
-#elif defined(__s390x__) /* big endian, 64 bits */
|
||||
-#define PADDED(x, y) unsigned y; x
|
||||
-#define PADDEDptr(x,y) x
|
||||
-#define PADDEDul(x, y) unsigned long x
|
||||
-#elif defined(__s390__) /* big endian, 32 bits */
|
||||
-#define PADDED(x, y) unsigned y; x
|
||||
-#define PADDEDptr(x, y) unsigned y; x
|
||||
-#define PADDEDul(x, y) unsigned y; unsigned long x
|
||||
-#elif defined(__sparc__) && defined(__arch64__) /* big endian, 64 bits */
|
||||
-#define PADDED(x, y) unsigned y; x
|
||||
-#define PADDEDptr(x,y) x
|
||||
-#define PADDEDul(x, y) unsigned long x
|
||||
-#elif defined(__sparc__) /* big endian, 32 bits */
|
||||
-#define PADDED(x, y) unsigned y; x
|
||||
-#define PADDEDptr(x, y) unsigned y; x
|
||||
-#define PADDEDul(x, y) unsigned y; unsigned long x
|
||||
+
|
||||
#else
|
||||
#error endian?
|
||||
#endif
|
||||
--- /dev/null
|
||||
+++ src/syscall-generic.h
|
||||
@@ -0,0 +1,29 @@
|
||||
+#include <errno.h>
|
||||
+#include <unistd.h>
|
||||
+#include <sys/syscall.h>
|
||||
+
|
||||
+#define _body_io_syscall(sname, args...) \
|
||||
+{ \
|
||||
+ int ret = syscall(__NR_##sname, ## args); \
|
||||
+ return ret < 0 ? -errno : ret; \
|
||||
+}
|
||||
+
|
||||
+#define io_syscall1(type,fname,sname,type1,arg1) \
|
||||
+type fname(type1 arg1) \
|
||||
+_body_io_syscall(sname, (long)arg1)
|
||||
+
|
||||
+#define io_syscall2(type,fname,sname,type1,arg1,type2,arg2) \
|
||||
+type fname(type1 arg1,type2 arg2) \
|
||||
+_body_io_syscall(sname, (long)arg1, (long)arg2)
|
||||
+
|
||||
+#define io_syscall3(type,fname,sname,type1,arg1,type2,arg2,type3,arg3) \
|
||||
+type fname(type1 arg1,type2 arg2,type3 arg3) \
|
||||
+_body_io_syscall(sname, (long)arg1, (long)arg2, (long)arg3)
|
||||
+
|
||||
+#define io_syscall4(type,fname,sname,type1,arg1,type2,arg2,type3,arg3,type4,arg4) \
|
||||
+type fname (type1 arg1, type2 arg2, type3 arg3, type4 arg4) \
|
||||
+_body_io_syscall(sname, (long)arg1, (long)arg2, (long)arg3, (long)arg4)
|
||||
+
|
||||
+#define io_syscall5(type,fname,sname,type1,arg1,type2,arg2,type3,arg3,type4,arg4, type5,arg5) \
|
||||
+type fname (type1 arg1,type2 arg2,type3 arg3,type4 arg4,type5 arg5) \
|
||||
+_body_io_syscall(sname, (long)arg1, (long)arg2, (long)arg3, (long)arg4, (long)arg5)
|
||||
--- src/syscall.h
|
||||
+++ src/syscall.h
|
||||
@@ -25,5 +25,6 @@
|
||||
#elif defined(__sparc__)
|
||||
#include "syscall-sparc.h"
|
||||
#else
|
||||
-#error "add syscall-arch.h"
|
||||
+#warning "using generic syscall method"
|
||||
+#include "syscall-generic.h"
|
||||
#endif
|
@ -1,31 +0,0 @@
|
||||
based on fedora ptach
|
||||
|
||||
--- libaio-0.3.107/src/Makefile
|
||||
+++ libaio-0.3.107/src/Makefile
|
||||
@@ -1,6 +1,7 @@
|
||||
prefix=/usr
|
||||
-includedir=$(prefix)/include
|
||||
-libdir=$(prefix)/lib
|
||||
+includedir=/usr/include
|
||||
+libdir=/usr/lib
|
||||
+usrlibdir=$(libdir)
|
||||
|
||||
ARCH := $(shell uname -m | sed -e s/i.86/i386/)
|
||||
CFLAGS := -nostdlib -nostartfiles -Wall -I. -g -fomit-frame-pointer -O2 -fPIC
|
||||
@@ -51,11 +52,11 @@
|
||||
$(CC) $(SO_CFLAGS) -Wl,--version-script=libaio.map -Wl,-soname=$(soname) -o $@ $(libaio_sobjs) $(LINK_FLAGS)
|
||||
|
||||
install: $(all_targets)
|
||||
- install -D -m 644 libaio.h $(includedir)/libaio.h
|
||||
- install -D -m 644 libaio.a $(libdir)/libaio.a
|
||||
- install -D -m 755 $(libname) $(libdir)/$(libname)
|
||||
- ln -sf $(libname) $(libdir)/$(soname)
|
||||
- ln -sf $(libname) $(libdir)/libaio.so
|
||||
+ install -D -m 644 libaio.h $(DESTDIR)$(includedir)/libaio.h
|
||||
+ install -D -m 644 libaio.a $(DESTDIR)$(usrlibdir)/libaio.a
|
||||
+ install -D -m 755 $(libname) $(DESTDIR)$(libdir)/$(libname)
|
||||
+ ln -sf $(libname) $(DESTDIR)$(usrlibdir)/$(soname)
|
||||
+ ln -sf $(libname) $(DESTDIR)$(usrlibdir)/libaio.so
|
||||
|
||||
$(libaio_objs): libaio.h
|
||||
|
@ -1,151 +0,0 @@
|
||||
ripped from fedora
|
||||
|
||||
--- libaio-0.3.107/src/libaio.h
|
||||
+++ libaio-0.3.107/src/libaio.h
|
||||
@@ -73,6 +73,14 @@
|
||||
#define PADDED(x, y) unsigned y; x
|
||||
#define PADDEDptr(x, y) unsigned y; x
|
||||
#define PADDEDul(x, y) unsigned y; unsigned long x
|
||||
+#elif defined(__sparc__) && defined(__arch64__) /* big endian, 64 bits */
|
||||
+#define PADDED(x, y) unsigned y; x
|
||||
+#define PADDEDptr(x,y) x
|
||||
+#define PADDEDul(x, y) unsigned long x
|
||||
+#elif defined(__sparc__) /* big endian, 32 bits */
|
||||
+#define PADDED(x, y) unsigned y; x
|
||||
+#define PADDEDptr(x, y) unsigned y; x
|
||||
+#define PADDEDul(x, y) unsigned y; unsigned long x
|
||||
#else
|
||||
#error endian?
|
||||
#endif
|
||||
--- libaio-0.3.107/src/syscall.h
|
||||
+++ libaio-0.3.107/src/syscall.h
|
||||
@@ -22,6 +22,8 @@
|
||||
#include "syscall-s390.h"
|
||||
#elif defined(__alpha__)
|
||||
#include "syscall-alpha.h"
|
||||
+#elif defined(__sparc__)
|
||||
+#include "syscall-sparc.h"
|
||||
#else
|
||||
#error "add syscall-arch.h"
|
||||
#endif
|
||||
--- libaio-0.3.107/src/syscall-sparc.h
|
||||
+++ libaio-0.3.107/src/syscall-sparc.h
|
||||
@@ -0,0 +1,118 @@
|
||||
+#include <errno.h>
|
||||
+
|
||||
+#define __NR_io_setup 268
|
||||
+#define __NR_io_destroy 269
|
||||
+#define __NR_io_submit 270
|
||||
+#define __NR_io_cancel 271
|
||||
+#define __NR_io_getevents 272
|
||||
+
|
||||
+#define io_syscall1(type,fname,sname,type1,arg1) \
|
||||
+type fname(type1 arg1) \
|
||||
+{ \
|
||||
+long __res; \
|
||||
+register long __g1 __asm__ ("g1") = __NR_##sname; \
|
||||
+register long __o0 __asm__ ("o0") = (long)(arg1); \
|
||||
+__asm__ __volatile__ ("t 0x10\n\t" \
|
||||
+ "bcc 1f\n\t" \
|
||||
+ "mov %%o0, %0\n\t" \
|
||||
+ "sub %%g0, %%o0, %0\n\t" \
|
||||
+ "1:\n\t" \
|
||||
+ : "=r" (__res), "=&r" (__o0) \
|
||||
+ : "1" (__o0), "r" (__g1) \
|
||||
+ : "cc"); \
|
||||
+if (__res < -255 || __res >= 0) \
|
||||
+ return (type) __res; \
|
||||
+errno = -__res; \
|
||||
+return -1; \
|
||||
+}
|
||||
+
|
||||
+#define io_syscall2(type,fname,sname,type1,arg1,type2,arg2) \
|
||||
+type fname(type1 arg1,type2 arg2) \
|
||||
+{ \
|
||||
+long __res; \
|
||||
+register long __g1 __asm__ ("g1") = __NR_##sname; \
|
||||
+register long __o0 __asm__ ("o0") = (long)(arg1); \
|
||||
+register long __o1 __asm__ ("o1") = (long)(arg2); \
|
||||
+__asm__ __volatile__ ("t 0x10\n\t" \
|
||||
+ "bcc 1f\n\t" \
|
||||
+ "mov %%o0, %0\n\t" \
|
||||
+ "sub %%g0, %%o0, %0\n\t" \
|
||||
+ "1:\n\t" \
|
||||
+ : "=r" (__res), "=&r" (__o0) \
|
||||
+ : "1" (__o0), "r" (__o1), "r" (__g1) \
|
||||
+ : "cc"); \
|
||||
+if (__res < -255 || __res >= 0) \
|
||||
+ return (type) __res; \
|
||||
+errno = -__res; \
|
||||
+return -1; \
|
||||
+}
|
||||
+
|
||||
+#define io_syscall3(type,fname,sname,type1,arg1,type2,arg2,type3,arg3) \
|
||||
+type fname(type1 arg1,type2 arg2,type3 arg3) \
|
||||
+{ \
|
||||
+long __res; \
|
||||
+register long __g1 __asm__ ("g1") = __NR_##sname; \
|
||||
+register long __o0 __asm__ ("o0") = (long)(arg1); \
|
||||
+register long __o1 __asm__ ("o1") = (long)(arg2); \
|
||||
+register long __o2 __asm__ ("o2") = (long)(arg3); \
|
||||
+__asm__ __volatile__ ("t 0x10\n\t" \
|
||||
+ "bcc 1f\n\t" \
|
||||
+ "mov %%o0, %0\n\t" \
|
||||
+ "sub %%g0, %%o0, %0\n\t" \
|
||||
+ "1:\n\t" \
|
||||
+ : "=r" (__res), "=&r" (__o0) \
|
||||
+ : "1" (__o0), "r" (__o1), "r" (__o2), "r" (__g1) \
|
||||
+ : "cc"); \
|
||||
+if (__res < -255 || __res>=0) \
|
||||
+ return (type) __res; \
|
||||
+errno = -__res; \
|
||||
+return -1; \
|
||||
+}
|
||||
+
|
||||
+#define io_syscall4(type,fname,sname,type1,arg1,type2,arg2,type3,arg3,type4,arg4) \
|
||||
+type fname (type1 arg1, type2 arg2, type3 arg3, type4 arg4) \
|
||||
+{ \
|
||||
+long __res; \
|
||||
+register long __g1 __asm__ ("g1") = __NR_##sname; \
|
||||
+register long __o0 __asm__ ("o0") = (long)(arg1); \
|
||||
+register long __o1 __asm__ ("o1") = (long)(arg2); \
|
||||
+register long __o2 __asm__ ("o2") = (long)(arg3); \
|
||||
+register long __o3 __asm__ ("o3") = (long)(arg4); \
|
||||
+__asm__ __volatile__ ("t 0x10\n\t" \
|
||||
+ "bcc 1f\n\t" \
|
||||
+ "mov %%o0, %0\n\t" \
|
||||
+ "sub %%g0, %%o0, %0\n\t" \
|
||||
+ "1:\n\t" \
|
||||
+ : "=r" (__res), "=&r" (__o0) \
|
||||
+ : "1" (__o0), "r" (__o1), "r" (__o2), "r" (__o3), "r" (__g1) \
|
||||
+ : "cc"); \
|
||||
+if (__res < -255 || __res>=0) \
|
||||
+ return (type) __res; \
|
||||
+errno = -__res; \
|
||||
+return -1; \
|
||||
+}
|
||||
+
|
||||
+#define io_syscall5(type,fname,sname,type1,arg1,type2,arg2,type3,arg3,type4,arg4, \
|
||||
+ type5,arg5) \
|
||||
+type fname (type1 arg1,type2 arg2,type3 arg3,type4 arg4,type5 arg5) \
|
||||
+{ \
|
||||
+long __res; \
|
||||
+register long __g1 __asm__ ("g1") = __NR_##sname; \
|
||||
+register long __o0 __asm__ ("o0") = (long)(arg1); \
|
||||
+register long __o1 __asm__ ("o1") = (long)(arg2); \
|
||||
+register long __o2 __asm__ ("o2") = (long)(arg3); \
|
||||
+register long __o3 __asm__ ("o3") = (long)(arg4); \
|
||||
+register long __o4 __asm__ ("o4") = (long)(arg5); \
|
||||
+__asm__ __volatile__ ("t 0x10\n\t" \
|
||||
+ "bcc 1f\n\t" \
|
||||
+ "mov %%o0, %0\n\t" \
|
||||
+ "sub %%g0, %%o0, %0\n\t" \
|
||||
+ "1:\n\t" \
|
||||
+ : "=r" (__res), "=&r" (__o0) \
|
||||
+ : "1" (__o0), "r" (__o1), "r" (__o2), "r" (__o3), "r" (__o4), "r" (__g1) \
|
||||
+ : "cc"); \
|
||||
+if (__res < -255 || __res>=0) \
|
||||
+ return (type) __res; \
|
||||
+errno = -__res; \
|
||||
+return -1; \
|
||||
+}
|
@ -1,62 +0,0 @@
|
||||
From 5e96c73d5dfbdea8d0be82b7f3fc8d6735e5dfa7 Mon Sep 17 00:00:00 2001
|
||||
From: Mike Frysinger <vapier@gentoo.org>
|
||||
Date: Sun, 17 Jan 2010 17:07:48 -0500
|
||||
Subject: [PATCH] add a generic syscall() fallback
|
||||
|
||||
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
||||
---
|
||||
src/syscall-generic.h | 29 +++++++++++++++++++++++++++++
|
||||
src/syscall.h | 3 ++-
|
||||
2 files changed, 31 insertions(+), 1 deletions(-)
|
||||
create mode 100644 src/syscall-generic.h
|
||||
|
||||
diff --git a/src/syscall-generic.h b/src/syscall-generic.h
|
||||
new file mode 100644
|
||||
index 0000000..24d7c7c
|
||||
--- /dev/null
|
||||
+++ b/src/syscall-generic.h
|
||||
@@ -0,0 +1,29 @@
|
||||
+#include <errno.h>
|
||||
+#include <unistd.h>
|
||||
+#include <sys/syscall.h>
|
||||
+
|
||||
+#define _body_io_syscall(sname, args...) \
|
||||
+{ \
|
||||
+ int ret = syscall(__NR_##sname, ## args); \
|
||||
+ return ret < 0 ? -errno : ret; \
|
||||
+}
|
||||
+
|
||||
+#define io_syscall1(type,fname,sname,type1,arg1) \
|
||||
+type fname(type1 arg1) \
|
||||
+_body_io_syscall(sname, (long)arg1)
|
||||
+
|
||||
+#define io_syscall2(type,fname,sname,type1,arg1,type2,arg2) \
|
||||
+type fname(type1 arg1,type2 arg2) \
|
||||
+_body_io_syscall(sname, (long)arg1, (long)arg2)
|
||||
+
|
||||
+#define io_syscall3(type,fname,sname,type1,arg1,type2,arg2,type3,arg3) \
|
||||
+type fname(type1 arg1,type2 arg2,type3 arg3) \
|
||||
+_body_io_syscall(sname, (long)arg1, (long)arg2, (long)arg3)
|
||||
+
|
||||
+#define io_syscall4(type,fname,sname,type1,arg1,type2,arg2,type3,arg3,type4,arg4) \
|
||||
+type fname (type1 arg1, type2 arg2, type3 arg3, type4 arg4) \
|
||||
+_body_io_syscall(sname, (long)arg1, (long)arg2, (long)arg3, (long)arg4)
|
||||
+
|
||||
+#define io_syscall5(type,fname,sname,type1,arg1,type2,arg2,type3,arg3,type4,arg4, type5,arg5) \
|
||||
+type fname (type1 arg1,type2 arg2,type3 arg3,type4 arg4,type5 arg5) \
|
||||
+_body_io_syscall(sname, (long)arg1, (long)arg2, (long)arg3, (long)arg4, (long)arg5)
|
||||
diff --git a/src/syscall.h b/src/syscall.h
|
||||
index 78becfe..d954af0 100644
|
||||
--- a/src/syscall.h
|
||||
+++ b/src/syscall.h
|
||||
@@ -25,5 +25,6 @@
|
||||
#elif defined(__arm__)
|
||||
#include "syscall-arm.h"
|
||||
#else
|
||||
-#error "add syscall-arch.h"
|
||||
+#warning "using generic syscall method"
|
||||
+#include "syscall-generic.h"
|
||||
#endif
|
||||
--
|
||||
1.7.3.1
|
||||
|
@ -1,73 +0,0 @@
|
||||
From be673c7afd7a86b89fbe2e09c758f2de3482d19b Mon Sep 17 00:00:00 2001
|
||||
From: Mike Frysinger <vapier@gentoo.org>
|
||||
Date: Sun, 17 Jan 2010 17:07:24 -0500
|
||||
Subject: [PATCH] unify LE/BE 32/64bit logic and add more arches
|
||||
|
||||
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
||||
---
|
||||
src/libaio.h | 36 +++++++++++++++---------------------
|
||||
1 files changed, 15 insertions(+), 21 deletions(-)
|
||||
|
||||
diff --git a/src/libaio.h b/src/libaio.h
|
||||
index ffe8259..4a6c9fb 100644
|
||||
--- a/src/libaio.h
|
||||
+++ b/src/libaio.h
|
||||
@@ -49,40 +49,34 @@ typedef enum io_iocb_cmd {
|
||||
IO_CMD_PWRITEV = 8,
|
||||
} io_iocb_cmd_t;
|
||||
|
||||
-#if defined(__i386__) /* little endian, 32 bits */
|
||||
+/* little endian, 32 bits */
|
||||
+#if defined(__i386__) || defined(__sh__) || defined(__bfin__) || \
|
||||
+ defined(__ARMEL__) || defined(__MIPSEL__) || defined(__cris__)
|
||||
#define PADDED(x, y) x; unsigned y
|
||||
#define PADDEDptr(x, y) x; unsigned y
|
||||
#define PADDEDul(x, y) unsigned long x; unsigned y
|
||||
+
|
||||
+/* little endian, 64 bits */
|
||||
#elif defined(__ia64__) || defined(__x86_64__) || defined(__alpha__)
|
||||
#define PADDED(x, y) x, y
|
||||
#define PADDEDptr(x, y) x
|
||||
#define PADDEDul(x, y) unsigned long x
|
||||
-#elif defined(__powerpc64__) /* big endian, 64 bits */
|
||||
-#define PADDED(x, y) unsigned y; x
|
||||
-#define PADDEDptr(x,y) x
|
||||
-#define PADDEDul(x, y) unsigned long x
|
||||
-#elif defined(__PPC__) /* big endian, 32 bits */
|
||||
-#define PADDED(x, y) unsigned y; x
|
||||
-#define PADDEDptr(x, y) unsigned y; x
|
||||
-#define PADDEDul(x, y) unsigned y; unsigned long x
|
||||
-#elif defined(__s390x__) /* big endian, 64 bits */
|
||||
+
|
||||
+/* big endian, 64 bits */
|
||||
+#elif defined(__powerpc64__) || defined(__s390x__) || \
|
||||
+ (defined(__sparc__) && defined(__arch64__))
|
||||
#define PADDED(x, y) unsigned y; x
|
||||
#define PADDEDptr(x,y) x
|
||||
#define PADDEDul(x, y) unsigned long x
|
||||
-#elif defined(__s390__) /* big endian, 32 bits */
|
||||
-#define PADDED(x, y) unsigned y; x
|
||||
-#define PADDEDptr(x, y) unsigned y; x
|
||||
-#define PADDEDul(x, y) unsigned y; unsigned long x
|
||||
-#elif defined(__arm__)
|
||||
-# if defined (__ARMEB__) /* big endian, 32 bits */
|
||||
+
|
||||
+/* big endian, 32 bits */
|
||||
+#elif defined(__PPC__) || defined(__s390__) || defined(__ARMEB__) || \
|
||||
+ defined(__MIPSEB__) || defined(__sparc__) || defined(__m68k__) || \
|
||||
+ defined(__hppa__) || defined(__frv__) || defined(__avr32__)
|
||||
#define PADDED(x, y) unsigned y; x
|
||||
#define PADDEDptr(x, y) unsigned y; x
|
||||
#define PADDEDul(x, y) unsigned y; unsigned long x
|
||||
-# else /* little endian, 32 bits */
|
||||
-#define PADDED(x, y) x; unsigned y
|
||||
-#define PADDEDptr(x, y) x; unsigned y
|
||||
-#define PADDEDul(x, y) unsigned long x; unsigned y
|
||||
-# endif
|
||||
+
|
||||
#else
|
||||
#error endian?
|
||||
#endif
|
||||
--
|
||||
1.7.3.1
|
||||
|
@ -1,27 +0,0 @@
|
||||
--- CMakeLists.txt.orig 2014-02-10 14:26:48.299381259 -0800
|
||||
+++ CMakeLists.txt 2014-02-10 14:51:16.401051546 -0800
|
||||
@@ -56,8 +56,22 @@
|
||||
set(CMAKE_VERBOSE_MAKEFILE 1)
|
||||
|
||||
# Embedded libraries
|
||||
-add_subdirectory(thirdparty/blosc)
|
||||
-include_directories(thirdparty/blosc/blosc)
|
||||
+option(DYND_INTERNAL_CBLOSC
|
||||
+ "Build and use the bundled c-blosc library"
|
||||
+ OFF)
|
||||
+if(DYND_INTERNAL_CBLOSC)
|
||||
+ add_subdirectory(thirdparty/blosc)
|
||||
+ include_directories(thirdparty/blosc/blosc)
|
||||
+else()
|
||||
+ find_path(CBLOSC_INCLUDE_DIR blosc.h)
|
||||
+ find_library(CBLOSC_LIBRARY NAMES blosc)
|
||||
+ if (CBLOSC_INCLUDE_DIR AND CBLOSC_LIBRARY)
|
||||
+ message(STATUS "Found c-blosc library: ${CBLOSC_LIBRARY}")
|
||||
+ else ()
|
||||
+ message(ERROR "No c-blosc found. Consider using internal sources.")
|
||||
+ endif()
|
||||
+endif(DYND_INTERNAL_CBLOSC)
|
||||
+
|
||||
add_subdirectory(thirdparty/datetime)
|
||||
include_directories(thirdparty/datetime/include)
|
||||
|
@ -1,14 +0,0 @@
|
||||
--- CMakeLists.txt.orig 2014-02-10 14:26:48.299381259 -0800
|
||||
+++ CMakeLists.txt 2014-02-10 14:55:48.245644726 -0800
|
||||
@@ -86,9 +86,8 @@
|
||||
endif()
|
||||
|
||||
# Get the git revision
|
||||
-include(GetGitRevisionDescriptionDyND)
|
||||
-get_git_head_revision("${CMAKE_CURRENT_SOURCE_DIR}" GIT_REFSPEC DYND_GIT_SHA1)
|
||||
-git_describe("${CMAKE_CURRENT_SOURCE_DIR}" DYND_VERSION_STRING --dirty --match "v[0-9]*")
|
||||
+set(DYND_GIT_SHA1 "9f2e102e3b0c44da82feaa431bb89a5d71b40498")
|
||||
+set(DYND_VERSION_STRING "v0.6.0")
|
||||
message(STATUS "DyND version: ${DYND_VERSION_STRING}")
|
||||
configure_file(
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/src/dynd/git_version.cpp.in"
|
@ -1,15 +0,0 @@
|
||||
--- CMakeLists.txt.orig 2014-02-10 14:26:48.299381259 -0800
|
||||
+++ CMakeLists.txt 2014-02-10 14:27:42.511704585 -0800
|
||||
@@ -481,9 +481,9 @@
|
||||
if (DYND_INSTALL_LIB)
|
||||
# Install the libdynd binary
|
||||
install(TARGETS libdynd
|
||||
- RUNTIME DESTINATION lib
|
||||
- LIBRARY DESTINATION lib
|
||||
- ARCHIVE DESTINATION lib/static)
|
||||
+ RUNTIME DESTINATION lib${LIB_SUFFIX}
|
||||
+ LIBRARY DESTINATION lib${LIB_SUFFIX}
|
||||
+ ARCHIVE DESTINATION lib${LIB_SUFFIX}/static)
|
||||
# Install the libdynd headers
|
||||
install(DIRECTORY "include/dynd" DESTINATION "${CMAKE_INSTALL_PREFIX}/include")
|
||||
# Install the libdynd-config script
|
@ -1,15 +0,0 @@
|
||||
--- CMakeLists.txt.orig 2014-05-01 20:43:13.000000000 +0400
|
||||
+++ CMakeLists.txt 2014-05-12 13:56:55.000000000 +0400
|
||||
@@ -112,9 +112,9 @@
|
||||
endif()
|
||||
|
||||
# Get the git revision
|
||||
-include(GetGitRevisionDescriptionDyND)
|
||||
-get_git_head_revision("${CMAKE_CURRENT_SOURCE_DIR}" GIT_REFSPEC DYND_GIT_SHA1)
|
||||
-git_describe("${CMAKE_CURRENT_SOURCE_DIR}" DYND_VERSION_STRING --dirty --always --match "v*")
|
||||
+SET(DYND_GIT_SHA1 "@DYND_GIT_SHA1@")
|
||||
+SET(DYND_VERSION_STRING "@DYND_VERSION@")
|
||||
+
|
||||
message(STATUS "DyND version: ${DYND_VERSION_STRING}")
|
||||
configure_file(
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/src/dynd/git_version.cpp.in"
|
@ -1,2 +1,4 @@
|
||||
DIST libgweather-3.18.1.tar.xz 3430524 SHA256 94b2292f8f7616e2aa81b1516befd7b27682b20acecbd5d656b6954990ca7ad0 SHA512 1fc6fda3610bcb4efd0eae57ce8706f126301f5d8399ff765d00c9cc8a513150d07cd098bc53e372b338b7801bd003d651cea0f5832edb990197d456bc89370f WHIRLPOOL 19a7ec0d72f3f4740e7c1acfa83eaf6136e6523a094c6b70e85b3bafaed553e4fa6746fea31a10db888c29dc2556559dca7600be2d78b8c98f0a6d32af88bacf
|
||||
DIST libgweather-3.18.2.tar.xz 3431224 SHA256 f35e52fa4023369ef5e04851311b3f15c9d7103ec801d0567eb3dec5851e71e3 SHA512 6e5ef37a50b22bb3941b703046bfcec78c6fd29aad3084c1a707a37f0418bc61c4852aa34501daaf20f6796e528a7ece948092b224d6f696b9d9e856fc384991 WHIRLPOOL 58f3d6a0c9acd4460a50077147ca9429a216777b402530632d922b38b9a47dd750b136be377cd3382de4638fa85bbab888a2356539f56e8f68a1787d346f459e
|
||||
DIST libgweather-3.20.1.tar.xz 3423740 SHA256 81eb829fab6375cc9a4d448ae0f790e48f9720e91eb74678b22264cfbc8938d0 SHA512 4b9403b289d1d99e03aceb6207854369a5b92ea25a784aed322aed2b7e1e4c3b548e256e4222ea05206effb7de403b343031278503429433591496e50a708f23 WHIRLPOOL 2d943a7674f240e77656f1365c29926d44942ec87fa2785eb290dbd6b6bffbe1d99c3e6e8984175b01007d5a4df93ea9b4d9acc5abc27e93bde915d6e04bff0c
|
||||
DIST libgweather-3.20.3.tar.xz 3376700 SHA256 fb6bc5b64ef5db3dc40a9798f072b83ebcafe7ff5af472aaee70600619b56c0b SHA512 feaf5a3ec5766934e482224cc4ca970db49c86addaabcae623d3ac1cadc7dc4a4759cb88552af7e92124f52a7a921ceef94759509cdc3e1fe20c749531ef7ad9 WHIRLPOOL 5e569741a3e75929d7bdba2e3aa69fc42df9472ecc6626e5f7b95a12dad9d5d5af9a87b73417056b54192b9a0ca47076a21cc18ad5c81a6fd349edaa1b5f7537
|
||||
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
VALA_USE_DEPEND="vapigen"
|
||||
|
||||
inherit gnome2 vala
|
||||
|
||||
DESCRIPTION="Library to access weather information from online services"
|
||||
HOMEPAGE="https://wiki.gnome.org/Projects/LibGWeather"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="2/3-6" # subslot = 3-(libgweather-3 soname suffix)
|
||||
IUSE="glade +introspection vala"
|
||||
REQUIRED_USE="vala? ( introspection )"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=x11-libs/gtk+-3.13.5:3[introspection?]
|
||||
>=dev-libs/glib-2.35.1:2
|
||||
>=net-libs/libsoup-2.34:2.4
|
||||
>=dev-libs/libxml2-2.6.0
|
||||
sci-geosciences/geocode-glib
|
||||
>=sys-libs/timezone-data-2010k
|
||||
|
||||
glade? ( >=dev-util/glade-3.16:3.10 )
|
||||
introspection? ( >=dev-libs/gobject-introspection-0.9.5:= )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
!<gnome-base/gnome-applets-2.22.0
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=dev-util/gtk-doc-am-1.11
|
||||
>=dev-util/intltool-0.50
|
||||
>=sys-devel/gettext-0.18
|
||||
virtual/pkgconfig
|
||||
vala? ( $(vala_depend) )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
use vala && vala_src_prepare
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
gnome2_src_configure \
|
||||
--disable-static \
|
||||
$(use_enable glade glade-catalog) \
|
||||
$(use_enable introspection) \
|
||||
$(use_enable vala)
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
VALA_USE_DEPEND="vapigen"
|
||||
|
||||
inherit gnome2 vala
|
||||
|
||||
DESCRIPTION="Library to access weather information from online services"
|
||||
HOMEPAGE="https://wiki.gnome.org/Projects/LibGWeather"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="2/3-6" # subslot = 3-(libgweather-3 soname suffix)
|
||||
IUSE="glade +introspection vala"
|
||||
REQUIRED_USE="vala? ( introspection )"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=x11-libs/gtk+-3.13.5:3[introspection?]
|
||||
>=dev-libs/glib-2.35.1:2
|
||||
>=net-libs/libsoup-2.44:2.4
|
||||
>=dev-libs/libxml2-2.6.0
|
||||
sci-geosciences/geocode-glib
|
||||
>=sys-libs/timezone-data-2010k
|
||||
|
||||
glade? ( >=dev-util/glade-3.16:3.10 )
|
||||
introspection? ( >=dev-libs/gobject-introspection-0.9.5:= )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
!<gnome-base/gnome-applets-2.22.0
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=dev-util/gtk-doc-am-1.11
|
||||
>=dev-util/intltool-0.50
|
||||
>=sys-devel/gettext-0.18
|
||||
virtual/pkgconfig
|
||||
vala? ( $(vala_depend) )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
use vala && vala_src_prepare
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
gnome2_src_configure \
|
||||
--disable-static \
|
||||
$(use_enable glade glade-catalog) \
|
||||
$(use_enable introspection) \
|
||||
$(use_enable vala)
|
||||
}
|
@ -1,4 +1,2 @@
|
||||
DIST libzip-1.0.1.tar.xz 450308 SHA256 f948d597afbb471de8d528d0e35ed977de85b2f4d76fdd74abbb985550e5d840 SHA512 df51ca44e97e2644a5d6930e3c76830453579c1486d11b9529d3cef173bb5ae873ef34b0af0ea6403dd4076805371fa93975a18ce56e37aa2a52500eb279887b WHIRLPOOL 6705e5739417738d474a85e10c72718c2feaae68698d6fc71af17d2761c76acab705fcf6c8c69be165afca9230dc55c47843d9b0281abde445aad23addef1c41
|
||||
DIST libzip-1.1.1.tar.xz 458864 SHA256 69e690f567e172d8f69b58ca237b61a690eaa1c5aa2293e1a2a446496bdf14c1 SHA512 24f6d3026986bbc3b9633ed78bb38e13d468cf9be307871db4fa11cc37218eaf2b2019d49882ec57ce773922e5ab2383472715bd438662db83fcb4ba9c01ce69 WHIRLPOOL 65e8c41b3369edc705a1ac3f1411849d44888611754e8737a9efecb7b5bb34b5d556bd226c274875b0cba4e8a4a3b370ec30b49d6fe5175510c377d57379aaaa
|
||||
DIST libzip-1.1.2.tar.xz 457140 SHA256 a921b45b5d840e998ff2544197eba4c3593dccb8ad0ee938630c2227c2c59fb3 SHA512 5f34fdb2d3066e61e53c7356fbb7f4ecb83fc5990ad658106dd0e46e5455ed3d370a06c27b0f8c5b0ca52c573ff1c605a8744660756853e1e6b12b3bd3898bd8 WHIRLPOOL 88a8ae534216efa797cc9841063a117488c0181ddc66bc2c0741c96afc3440b6c4c6e9fb009647c161d2f4df0e4d29cdea4ea03e55590127d291c77c6dd79d06
|
||||
DIST libzip-1.1.3.tar.xz 460128 SHA256 729a295a59a9fd6e5b9fe9fd291d36ae391a9d2be0b0824510a214cfaa05ceee SHA512 a3be13a98ab28d5a2c3729ba6b01891c1fdbee724e6827d208a8d33dad7108a57c82108409f8073002a4fddae97490bdbe7697dccb70ac9601ee862d4271f138 WHIRLPOOL ab3434f08542ba34a11b628f451b8e1133230237a9b6f25dc57454950ba57d01ad3cec3f4cc7b076f07eff12457044e273bbbfcf8df0c8f32e074fdcafe8b817
|
||||
|
@ -1,21 +0,0 @@
|
||||
# HG changeset patch
|
||||
# User Thomas Klausner <tk@giga.or.at>
|
||||
# Date 1453987295 -3600
|
||||
# Thu Jan 28 14:21:35 2016 +0100
|
||||
# Node ID 1472ec4a4519a53165a8ce66ffb5d328305509b9
|
||||
# Parent 25c609cdb41d1963cffff26338ac3b8d47072196
|
||||
Add 'extern int optopt;' for Linux and perhaps others.
|
||||
|
||||
Reported by Remi Collet.
|
||||
|
||||
diff -r 25c609cdb41d -r 1472ec4a4519 src/ziptool.c
|
||||
--- a/src/ziptool.c Thu Jan 28 09:54:45 2016 +0100
|
||||
+++ b/src/ziptool.c Thu Jan 28 14:21:35 2016 +0100
|
||||
@@ -48,6 +48,7 @@
|
||||
#ifndef HAVE_GETOPT
|
||||
#include "getopt.h"
|
||||
#endif
|
||||
+extern int optopt;
|
||||
|
||||
#include "zip.h"
|
||||
#include "compat.h"
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
AUTOTOOLS_IN_SOURCE_BUILD=1
|
||||
inherit autotools-utils
|
||||
|
||||
DESCRIPTION="Library for manipulating zip archives"
|
||||
HOMEPAGE="http://www.nih.at/libzip/"
|
||||
SRC_URI="http://www.nih.at/libzip/${P}.tar.xz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/4"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
|
||||
IUSE="static-libs"
|
||||
|
||||
RDEPEND="sys-libs/zlib"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/xz-utils
|
||||
"
|
||||
|
||||
DOCS=( AUTHORS NEWS README THANKS )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.11.2-headers.patch"
|
||||
)
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
AUTOTOOLS_IN_SOURCE_BUILD=1
|
||||
inherit autotools-utils
|
||||
|
||||
DESCRIPTION="Library for manipulating zip archives"
|
||||
HOMEPAGE="http://www.nih.at/libzip/"
|
||||
SRC_URI="http://www.nih.at/libzip/${P}.tar.xz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/4"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
|
||||
IUSE="static-libs"
|
||||
|
||||
RDEPEND="sys-libs/zlib"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/xz-utils
|
||||
"
|
||||
|
||||
DOCS=( AUTHORS NEWS API-CHANGES THANKS )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.11.2-headers.patch"
|
||||
)
|
@ -1,13 +0,0 @@
|
||||
diff --git a/src/aaa_lib/Makefile.am b/src/aaa_lib/Makefile.am
|
||||
index 6e06324..d1e825b 100644
|
||||
--- a/src/aaa_lib/Makefile.am
|
||||
+++ b/src/aaa_lib/Makefile.am
|
||||
@@ -53,7 +53,7 @@ libdir = ${prefix}/lib/${fetk_cpu_vendor_os}
|
||||
lib_LTLIBRARIES = libmaloc.la ${LIBEFENCE}
|
||||
|
||||
libmaloc_la_SOURCES =
|
||||
-libmaloc_la_LIBADD = ${BASE_LIBS} ${VSYS_LIBS} ${VSH_LIBS} ${PSH_LIBS}
|
||||
+libmaloc_la_LIBADD = ${BASE_LIBS} ${VSYS_LIBS} ${VSH_LIBS} ${PSH_LIBS} -lreadline -lm
|
||||
libmaloc_la_LDFLAGS = -version-info ${FETK_VERSION}
|
||||
|
||||
libefence_la_SOURCES =
|
@ -1,24 +0,0 @@
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index ab7726e..0208780 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -381,12 +381,14 @@ AC_SUBST(rl_inc)
|
||||
dnl # ----------------------
|
||||
dnl # HANDLE THE MPI LIBRARY
|
||||
dnl # ----------------------
|
||||
+mpi_use="";
|
||||
AC_MSG_CHECKING([whether you want MPI])
|
||||
-AC_ARG_ENABLE(mpi,
|
||||
- [ --enable-mpi enable MPI layer [[default=no]]],
|
||||
- [ mpi_use="yes" ],
|
||||
- [ mpi_use="" ]
|
||||
-)
|
||||
+AC_ARG_ENABLE([mpi],
|
||||
+ AS_HELP_STRING([--enable-mpi enable MPI layer [[default=no]]]))
|
||||
+
|
||||
+AS_IF([test "x$enable_mpi" = "xyes"], [
|
||||
+ mpi_use="yes"
|
||||
+])
|
||||
mpi_lib="";
|
||||
mpi_inc="";
|
||||
if test -z "${mpi_use}"; then
|
@ -1,12 +0,0 @@
|
||||
diff -Naur pcre++-0.9.5.orig/Makefile.in pcre++-0.9.5/Makefile.in
|
||||
--- pcre++-0.9.5.orig/Makefile.in 2004-08-24 16:38:03.000000000 -0700
|
||||
+++ pcre++-0.9.5/Makefile.in 2004-09-05 16:16:58.818627842 -0700
|
||||
@@ -77,7 +77,7 @@
|
||||
STRIP = @STRIP@
|
||||
VERSION = @VERSION@
|
||||
|
||||
-SUBDIRS = libpcre++ doc examples test
|
||||
+SUBDIRS = libpcre++
|
||||
|
||||
bin_SCRIPTS = pcre++-config
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
@ -1,16 +0,0 @@
|
||||
diff -NrU5 poco-1.3.3p1-all.orig/Foundation/src/Environment.cpp poco-1.3.3p1-all/Foundation/src/Environment.cpp
|
||||
--- poco-1.3.3p1-all.orig/Foundation/src/Environment.cpp 2009-05-15 20:44:37.000000000 -0600
|
||||
+++ poco-1.3.3p1-all/Foundation/src/Environment.cpp 2009-05-15 20:46:12.000000000 -0600
|
||||
@@ -34,11 +34,11 @@
|
||||
//
|
||||
|
||||
|
||||
#include "Poco/Environment.h"
|
||||
#include <cstdlib>
|
||||
-
|
||||
+#include <cstdio>
|
||||
|
||||
#if defined(POCO_OS_FAMILY_VMS)
|
||||
#include "Environment_VMS.cpp"
|
||||
#elif defined(POCO_OS_FAMILY_UNIX)
|
||||
#include "Environment_UNIX.cpp"
|
@ -1,80 +0,0 @@
|
||||
diff -Naur poco-1.3.3p1-all.orig/components poco-1.3.3p1-all/components
|
||||
--- poco-1.3.3p1-all.orig/components 2008-10-20 19:40:05.000000000 +0200
|
||||
+++ poco-1.3.3p1-all/components 2008-10-20 20:11:19.000000000 +0200
|
||||
@@ -1,12 +1,6 @@
|
||||
-CppUnit
|
||||
Foundation
|
||||
XML
|
||||
Util
|
||||
Net
|
||||
-NetSSL_OpenSSL
|
||||
Data
|
||||
-Data/SQLite
|
||||
-Data/ODBC
|
||||
-Data/MySQL
|
||||
-Crypto
|
||||
Zip
|
||||
diff -Naur poco-1.3.3p1-all.orig/Data/ODBC/Makefile poco-1.3.3p1-all/Data/ODBC/Makefile
|
||||
--- poco-1.3.3p1-all.orig/Data/ODBC/Makefile 2008-10-20 19:40:05.000000000 +0200
|
||||
+++ poco-1.3.3p1-all/Data/ODBC/Makefile 2008-10-20 19:54:07.000000000 +0200
|
||||
@@ -11,19 +11,19 @@
|
||||
ifeq ($(POCO_CONFIG),MinGW)
|
||||
# Lack of unixODBC or iODBC is not an error for MinGW platform since it uses Windows odbc32.lib
|
||||
else
|
||||
-ifeq (0, $(shell test -e /usr/lib/libodbc$(SHAREDLIBLINKEXT); echo $$?))
|
||||
+ifeq (unixodbc, $(GENTOO_ODBC))
|
||||
SYSLIBS += -lodbc -lodbcinst
|
||||
COMMONFLAGS += -DPOCO_UNIXODBC
|
||||
else
|
||||
-ifeq (0, $(shell test -h /usr/lib/libodbc$(SHAREDLIBLINKEXT); echo $$?))
|
||||
+ifeq (unixodbc, $(GENTOO_ODBC))
|
||||
SYSLIBS += -lodbc -lodbcinst
|
||||
COMMONFLAGS += -DPOCO_UNIXODBC
|
||||
else
|
||||
-ifeq (0, $(shell test -e /usr/lib/libiodbc$(SHAREDLIBLINKEXT); echo $$?))
|
||||
+ifeq (iodbc, $(GENTOO_ODBC))
|
||||
SYSLIBS += -liodbc -liodbcinst
|
||||
COMMONFLAGS += -DPOCO_IODBC
|
||||
else
|
||||
-ifeq (0, $(shell test -h /usr/lib/libiodbc$(SHAREDLIBLINKEXT); echo $$?))
|
||||
+ifeq (iodbc, $(GENTOO_ODBC))
|
||||
SYSLIBS += -liodbc -liodbcinst
|
||||
COMMONFLAGS += -DPOCO_IODBC
|
||||
else
|
||||
diff -Naur poco-1.3.3p1-all.orig/Makefile poco-1.3.3p1-all/Makefile
|
||||
--- poco-1.3.3p1-all.orig/Makefile 2008-10-20 19:40:05.000000000 +0200
|
||||
+++ poco-1.3.3p1-all/Makefile 2008-10-20 20:12:09.000000000 +0200
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
.PHONY: all libexecs cppunit tests samples clean distclean install
|
||||
|
||||
-all: libexecs tests samples
|
||||
+all: libexecs
|
||||
|
||||
INSTALLDIR = $(DESTDIR)$(POCO_PREFIX)
|
||||
COMPONENTS = Foundation XML Util Net NetSSL_OpenSSL Data Data/SQLite Data/ODBC Data/MySQL Crypto Zip
|
||||
@@ -31,7 +31,7 @@
|
||||
|
||||
install: libexecs
|
||||
mkdir -p $(INSTALLDIR)/include/Poco
|
||||
- mkdir -p $(INSTALLDIR)/lib
|
||||
+ mkdir -p $(INSTALLDIR)/$(LIBDIR)
|
||||
mkdir -p $(INSTALLDIR)/bin
|
||||
for comp in $(COMPONENTS) ; do \
|
||||
if [ -d "$(POCO_BASE)/$$comp/include" ] ; then \
|
||||
@@ -41,11 +41,11 @@
|
||||
find $(POCO_BUILD)/$$comp/bin -perm -700 -type f -exec cp -f {} $(INSTALLDIR)/bin \; ; \
|
||||
fi ; \
|
||||
done
|
||||
- find $(POCO_BUILD)/lib -name "libPoco*" -type f -exec cp -f {} $(INSTALLDIR)/lib \;
|
||||
- find $(POCO_BUILD)/lib -name "libPoco*" -type l -exec cp -Rf {} $(INSTALLDIR)/lib \;
|
||||
+ find $(POCO_BUILD)/$(LIBDIR) -name "libPoco*" -type f -exec cp -f {} $(INSTALLDIR)/$(LIBDIR) \;
|
||||
+ find $(POCO_BUILD)/$(LIBDIR) -name "libPoco*" -type l -exec cp -Rf {} $(INSTALLDIR)/$(LIBDIR) \;
|
||||
|
||||
-libexecs = Foundation-libexec XML-libexec Util-libexec Net-libexec NetSSL_OpenSSL-libexec Data-libexec Data/SQLite-libexec Data/ODBC-libexec Data/MySQL-libexec Crypto-libexec Zip-libexec
|
||||
-tests = Foundation-tests XML-tests Util-tests Net-tests NetSSL_OpenSSL-tests Data-tests Data/SQLite-tests Data/ODBC-tests Data/MySQL-tests Crypto-tests Zip-tests
|
||||
+libexecs = Foundation-libexec XML-libexec Util-libexec Net-libexec Data-libexec Zip-libexec
|
||||
+tests = Foundation-tests XML-tests Util-tests Net-tests Data-tests Zip-tests
|
||||
samples = Foundation-samples XML-samples Util-samples Net-samples NetSSL_OpenSSL-samples Data-samples Crypto-samples Zip-samples
|
||||
|
||||
.PHONY: $(libexecs)
|
@ -1,16 +0,0 @@
|
||||
http://bugs.gentoo.org/327769
|
||||
|
||||
--- NetSSL_OpenSSL/src/SecureSocketImpl.cpp
|
||||
+++ NetSSL_OpenSSL/src/SecureSocketImpl.cpp
|
||||
@@ -430,7 +430,11 @@
|
||||
|
||||
if (!strcmp(extstr, "subjectAltName"))
|
||||
{
|
||||
+ #if OPENSSL_VERSION_NUMBER >= 0x10000000L
|
||||
+ const X509V3_EXT_METHOD* meth = X509V3_EXT_get(ext);
|
||||
+ #else
|
||||
X509V3_EXT_METHOD* meth = X509V3_EXT_get(ext);
|
||||
+ #endif
|
||||
if (!meth)
|
||||
break;
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue