parent
89416af130
commit
c3ec36926f
@ -0,0 +1,419 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/libvirt-1.0.2.ebuild,v 1.1 2013/01/30 20:11:14 cardoe Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
#BACKPORTS=85e8c146
|
||||
AUTOTOOLIZE=yes
|
||||
|
||||
MY_P="${P/_rc/-rc}"
|
||||
|
||||
PYTHON_DEPEND="python? 2:2.5"
|
||||
#RESTRICT_PYTHON_ABIS="3.*"
|
||||
#SUPPORT_PYTHON_ABIS="1"
|
||||
|
||||
inherit eutils python user autotools linux-info
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit git-2
|
||||
EGIT_REPO_URI="git://libvirt.org/libvirt.git"
|
||||
AUTOTOOLIZE=yes
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="http://libvirt.org/sources/${MY_P}.tar.gz
|
||||
ftp://libvirt.org/libvirt/${MY_P}.tar.gz
|
||||
${BACKPORTS:+
|
||||
http://dev.gentoo.org/~cardoe/distfiles/${MY_P}-${BACKPORTS}.tar.xz}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
S="${WORKDIR}/${P%_rc*}"
|
||||
|
||||
DESCRIPTION="C toolkit to manipulate virtual machines"
|
||||
HOMEPAGE="http://www.libvirt.org/"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
IUSE="audit avahi +caps firewalld iscsi +libvirtd lvm +lxc +macvtap nfs \
|
||||
nls numa openvz parted pcap phyp policykit python qemu rbd sasl \
|
||||
selinux +udev uml +vepa virtualbox virt-network xen elibc_glibc"
|
||||
REQUIRED_USE="libvirtd? ( || ( lxc openvz qemu uml virtualbox xen ) )
|
||||
lxc? ( caps libvirtd )
|
||||
openvz? ( libvirtd )
|
||||
qemu? ( libvirtd )
|
||||
uml? ( libvirtd )
|
||||
vepa? ( macvtap )
|
||||
virtualbox? ( libvirtd )
|
||||
xen? ( libvirtd )
|
||||
virt-network? ( libvirtd )
|
||||
firewalld? ( virt-network )"
|
||||
|
||||
# gettext.sh command is used by the libvirt command wrappers, and it's
|
||||
# non-optional, so put it into RDEPEND.
|
||||
# We can use both libnl:1.1 and libnl:3, but if you have both installed, the
|
||||
# package will use 3 by default. Since we don't have slot pinning in an API,
|
||||
# we must go with the most recent
|
||||
RDEPEND="sys-libs/readline
|
||||
sys-libs/ncurses
|
||||
>=net-misc/curl-7.18.0
|
||||
dev-libs/libgcrypt
|
||||
>=dev-libs/libxml2-2.7.6
|
||||
dev-libs/libnl:3
|
||||
>=net-libs/gnutls-1.0.25
|
||||
net-libs/libssh2
|
||||
sys-apps/dmidecode
|
||||
>=sys-apps/util-linux-2.17
|
||||
sys-devel/gettext
|
||||
>=net-analyzer/netcat6-1.0-r2
|
||||
app-misc/scrub
|
||||
audit? ( sys-process/audit )
|
||||
avahi? ( >=net-dns/avahi-0.6[dbus] )
|
||||
caps? ( sys-libs/libcap-ng )
|
||||
iscsi? ( sys-block/open-iscsi )
|
||||
lxc? ( sys-power/pm-utils )
|
||||
lvm? ( >=sys-fs/lvm2-2.02.48-r2 )
|
||||
nfs? ( net-fs/nfs-utils )
|
||||
numa? (
|
||||
>sys-process/numactl-2.0.2
|
||||
sys-process/numad
|
||||
)
|
||||
openvz? ( sys-kernel/openvz-sources )
|
||||
parted? (
|
||||
>=sys-block/parted-1.8[device-mapper]
|
||||
sys-fs/lvm2
|
||||
)
|
||||
pcap? ( >=net-libs/libpcap-1.0.0 )
|
||||
policykit? ( >=sys-auth/polkit-0.9 )
|
||||
qemu? (
|
||||
>=app-emulation/qemu-0.13.0
|
||||
dev-libs/yajl
|
||||
sys-power/pm-utils
|
||||
)
|
||||
rbd? ( sys-cluster/ceph )
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
selinux? ( >=sys-libs/libselinux-2.0.85 )
|
||||
virtualbox? ( || ( app-emulation/virtualbox >=app-emulation/virtualbox-bin-2.2.0 ) )
|
||||
xen? ( app-emulation/xen-tools app-emulation/xen )
|
||||
udev? ( virtual/udev >=x11-libs/libpciaccess-0.10.9 )
|
||||
virt-network? ( net-dns/dnsmasq
|
||||
>=net-firewall/iptables-1.4.10
|
||||
net-misc/radvd
|
||||
net-firewall/ebtables
|
||||
sys-apps/iproute2[-minimal]
|
||||
firewalld? ( net-firewall/firewalld )
|
||||
)
|
||||
elibc_glibc? ( || ( >=net-libs/libtirpc-0.2.2-r1 <sys-libs/glibc-2.14 ) )"
|
||||
# one? ( dev-libs/xmlrpc-c )
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
app-text/xhtml1
|
||||
dev-libs/libxslt
|
||||
=dev-lang/python-2*"
|
||||
|
||||
LXC_CONFIG_CHECK="
|
||||
~CGROUPS
|
||||
~CGROUP_FREEZER
|
||||
~CGROUP_DEVICE
|
||||
~CPUSETS
|
||||
~CGROUP_CPUACCT
|
||||
~RESOURCE_COUNTERS
|
||||
~CGROUP_SCHED
|
||||
~BLK_CGROUP
|
||||
~NAMESPACES
|
||||
~UTS_NS
|
||||
~IPC_NS
|
||||
~PID_NS
|
||||
~NET_NS
|
||||
~DEVPTS_MULTIPLE_INSTANCES
|
||||
~VETH
|
||||
~MACVLAN
|
||||
~POSIX_MQUEUE
|
||||
~!GRKERNSEC_CHROOT_MOUNT
|
||||
~!GRKERNSEC_CHROOT_DOUBLE
|
||||
~!GRKERNSEC_CHROOT_PIVOT
|
||||
~!GRKERNSEC_CHROOT_CHMOD
|
||||
~!GRKERNSEC_CHROOT_CAPS
|
||||
"
|
||||
|
||||
VIRTNET_CONFIG_CHECK="
|
||||
~BRIDGE_NF_EBTABLES
|
||||
~NETFILTER_ADVANCED
|
||||
~NETFILTER_XT_TARGET_CHECKSUM
|
||||
"
|
||||
|
||||
MACVTAP_CONFIG_CHECK="~MACVTAP"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
|
||||
enewgroup qemu 77
|
||||
enewuser qemu 77 -1 -1 qemu kvm
|
||||
|
||||
# Some people used the masked ebuild which was not adding the qemu
|
||||
# user to the kvm group originally. This results in VMs failing to
|
||||
# start for some users. bug #430808
|
||||
egetent group kvm | grep -q qemu
|
||||
if [[ $? -ne 0 ]]; then
|
||||
gpasswd -a qemu kvm
|
||||
fi
|
||||
|
||||
# Handle specific kernel versions for different features
|
||||
kernel_is lt 3 5 && LXC_CONFIG_CHECK+=" ~USER_NS"
|
||||
kernel_is lt 3 6 && LXC_CONFIG_CHECK+=" ~CGROUP_MEM_RES_CTLR" || \
|
||||
LXC_CONFIG_CHECK+=" ~MEMCG"
|
||||
|
||||
CONFIG_CHECK=""
|
||||
use lxc && CONFIG_CHECK+="${LXC_CONFIG_CHECK}"
|
||||
use macvtap && CONFIG_CHECK+="${MACVTAP}"
|
||||
use virt-network && CONFIG_CHECK+="${VIRTNET_CONFIG_CHECK}"
|
||||
if [[ -n ${CONFIG_CHECK} ]]; then
|
||||
linux-info_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
touch "${S}/.mailmap"
|
||||
[[ -n ${BACKPORTS} ]] && \
|
||||
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
|
||||
epatch
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
|
||||
# git checkouts require bootstrapping to create the configure script.
|
||||
# Additionally the submodules must be cloned to the right locations
|
||||
# bug #377279
|
||||
./bootstrap || die "bootstrap failed"
|
||||
(
|
||||
git submodule status | sed 's/^[ +-]//;s/ .*//'
|
||||
git hash-object bootstrap.conf
|
||||
) >.git-module-status
|
||||
fi
|
||||
|
||||
epatch_user
|
||||
|
||||
[[ -n ${AUTOTOOLIZE} ]] && eautoreconf
|
||||
|
||||
# Tweak the init script
|
||||
local avahi_init=
|
||||
local iscsi_init=
|
||||
local rbd_init=
|
||||
local firewalld_init=
|
||||
cp "${FILESDIR}/libvirtd.init-r11" "${S}/libvirtd.init"
|
||||
use avahi && avahi_init='avahi-daemon'
|
||||
use iscsi && iscsi_init='iscsid'
|
||||
use rbd && rbd_init='ceph'
|
||||
use firewalld && firewalld_init='need firewalld'
|
||||
|
||||
sed -e "s/USE_FLAG_FIREWALLD/${firewalld_init}/" -i "${S}/libvirtd.init"
|
||||
sed -e "s/USE_FLAG_AVAHI/${avahi_init}/" -i "${S}/libvirtd.init"
|
||||
sed -e "s/USE_FLAG_ISCSI/${iscsi_init}/" -i "${S}/libvirtd.init"
|
||||
sed -e "s/USE_FLAG_RBD/${rbd_init}/" -i "${S}/libvirtd.init"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=""
|
||||
|
||||
## enable/disable daemon, otherwise client only utils
|
||||
myconf="${myconf} $(use_with libvirtd)"
|
||||
|
||||
## enable/disable the daemon using avahi to find VMs
|
||||
myconf="${myconf} $(use_with avahi)"
|
||||
|
||||
## hypervisors on the local host
|
||||
myconf="${myconf} $(use_with xen) $(use_with xen xen-inotify)"
|
||||
myconf+=" $(use_with xen xenapi)"
|
||||
if use xen && has_version ">=app-emulation/xen-tools-4.2.0"; then
|
||||
myconf+=" --with-libxl"
|
||||
else
|
||||
myconf+=" --without-libxl"
|
||||
fi
|
||||
myconf="${myconf} $(use_with openvz)"
|
||||
myconf="${myconf} $(use_with lxc)"
|
||||
if use virtualbox && has_version app-emulation/virtualbox-ose; then
|
||||
myconf="${myconf} --with-vbox=/usr/lib/virtualbox-ose/"
|
||||
else
|
||||
myconf="${myconf} $(use_with virtualbox vbox)"
|
||||
fi
|
||||
myconf="${myconf} $(use_with uml)"
|
||||
myconf="${myconf} $(use_with qemu)"
|
||||
myconf="${myconf} $(use_with qemu yajl)" # Use QMP over HMP
|
||||
myconf="${myconf} $(use_with phyp)"
|
||||
myconf="${myconf} --with-esx"
|
||||
myconf="${myconf} --with-vmware"
|
||||
|
||||
## additional host drivers
|
||||
myconf="${myconf} $(use_with virt-network network)"
|
||||
myconf="${myconf} --with-storage-fs"
|
||||
myconf="${myconf} $(use_with lvm storage-lvm)"
|
||||
myconf="${myconf} $(use_with iscsi storage-iscsi)"
|
||||
myconf="${myconf} $(use_with parted storage-disk)"
|
||||
myconf="${myconf} $(use_with lvm storage-mpath)"
|
||||
myconf="${myconf} $(use_with rbd storage-rbd)"
|
||||
myconf="${myconf} $(use_with numa numactl)"
|
||||
myconf="${myconf} $(use_with numa numad)"
|
||||
myconf="${myconf} $(use_with selinux)"
|
||||
|
||||
# udev for device support details
|
||||
myconf="${myconf} $(use_with udev)"
|
||||
|
||||
# linux capability support so we don't need privileged accounts
|
||||
myconf="${myconf} $(use_with caps capng)"
|
||||
|
||||
## auth stuff
|
||||
myconf="${myconf} $(use_with policykit polkit)"
|
||||
myconf="${myconf} $(use_with sasl)"
|
||||
|
||||
# network bits
|
||||
myconf="${myconf} $(use_with macvtap)"
|
||||
myconf="${myconf} $(use_with pcap libpcap)"
|
||||
myconf="${myconf} $(use_with vepa virtualport)"
|
||||
myconf="${myconf} $(use_with firewalld)"
|
||||
|
||||
## other
|
||||
myconf="${myconf} $(use_enable nls)"
|
||||
myconf="${myconf} $(use_with python)"
|
||||
|
||||
# user privilege bits fir qemu/kvm
|
||||
if use caps; then
|
||||
myconf="${myconf} --with-qemu-user=qemu"
|
||||
myconf="${myconf} --with-qemu-group=qemu"
|
||||
else
|
||||
myconf="${myconf} --with-qemu-user=root"
|
||||
myconf="${myconf} --with-qemu-group=root"
|
||||
fi
|
||||
|
||||
# audit support
|
||||
myconf="${myconf} $(use_with audit)"
|
||||
|
||||
## stuff we don't yet support
|
||||
myconf="${myconf} --without-netcf"
|
||||
|
||||
# we use udev over hal
|
||||
myconf="${myconf} --without-hal"
|
||||
|
||||
# locking support
|
||||
myconf="${myconf} --without-sanlock"
|
||||
|
||||
# this is a nasty trick to work around the problem in bug
|
||||
# #275073. The reason why we don't solve this properly is that
|
||||
# it'll require us to rebuild autotools (and we don't really want
|
||||
# to do that right now). The proper solution has been sent
|
||||
# upstream and should hopefully land in 0.7.7, in the mean time,
|
||||
# mime the same functionality with this.
|
||||
case ${CHOST} in
|
||||
*cygwin* | *mingw* )
|
||||
;;
|
||||
*)
|
||||
ac_cv_prog_WINDRES=no
|
||||
;;
|
||||
esac
|
||||
|
||||
econf \
|
||||
${myconf} \
|
||||
--disable-static \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
--with-remote \
|
||||
--localstatedir=/var
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
# Restore gnulib's config.sub and config.guess
|
||||
# bug #377279
|
||||
(cd .gnulib && git reset --hard > /dev/null)
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Explicitly allow parallel build of tests
|
||||
export VIR_TEST_DEBUG=1
|
||||
HOME="${T}" emake check || die "tests failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install \
|
||||
DESTDIR="${D}" \
|
||||
HTML_DIR=/usr/share/doc/${PF}/html \
|
||||
DOCS_DIR=/usr/share/doc/${PF}/python \
|
||||
EXAMPLE_DIR=/usr/share/doc/${PF}/python/examples \
|
||||
|| die "emake install failed"
|
||||
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
|
||||
use libvirtd || return 0
|
||||
# From here, only libvirtd-related instructions, be warned!
|
||||
|
||||
newinitd "${S}/libvirtd.init" libvirtd || die
|
||||
newconfd "${FILESDIR}/libvirtd.confd-r4" libvirtd || die
|
||||
|
||||
keepdir /var/lib/libvirt/images
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# we only ever want to generate this once
|
||||
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
|
||||
rm -rf "${D}"/etc/libvirt/qemu/networks/default.xml
|
||||
fi
|
||||
|
||||
# We really don't want to use or support old PolicyKit cause it
|
||||
# screws with the new polkit integration
|
||||
if has_version sys-auth/policykit; then
|
||||
rm -rf "${D}"/usr/share/PolicyKit/policy/org.libvirt.unix.policy
|
||||
fi
|
||||
|
||||
# Only sysctl files ending in .conf work
|
||||
mv "${D}"/etc/sysctl.d/libvirtd "${D}"/etc/sysctl.d/libvirtd.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use python && python_mod_optimize libvirt.py
|
||||
|
||||
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
|
||||
touch "${ROOT}"/etc/libvirt/qemu/networks/default.xml
|
||||
fi
|
||||
|
||||
# support for dropped privileges
|
||||
if use qemu; then
|
||||
fperms 0750 "${EROOT}/var/lib/libvirt/qemu"
|
||||
fperms 0750 "${EROOT}/var/cache/libvirt/qemu"
|
||||
fi
|
||||
|
||||
if use caps && use qemu; then
|
||||
fowners -R qemu:qemu "${EROOT}/var/lib/libvirt/qemu"
|
||||
fowners -R qemu:qemu "${EROOT}/var/cache/libvirt/qemu"
|
||||
elif use qemu; then
|
||||
fowners -R root:root "${EROOT}/var/lib/libvirt/qemu"
|
||||
fowners -R root:root "${EROOT}/var/cache/libvirt/qemu"
|
||||
fi
|
||||
|
||||
if ! use policykit; then
|
||||
elog "To allow normal users to connect to libvirtd you must change the"
|
||||
elog "unix sock group and/or perms in /etc/libvirt/libvirtd.conf"
|
||||
fi
|
||||
|
||||
use libvirtd || return 0
|
||||
# From here, only libvirtd-related instructions, be warned!
|
||||
|
||||
elog
|
||||
elog "For the basic networking support (bridged and routed networks)"
|
||||
elog "you don't need any extra software. For more complex network modes"
|
||||
elog "including but not limited to NATed network, you can enable the"
|
||||
elog "'virt-network' USE flag."
|
||||
elog
|
||||
if has_version net-dns/dnsmasq; then
|
||||
ewarn "If you have a DNS server setup on your machine, you will have"
|
||||
ewarn "to configure /etc/dnsmasq.conf to enable the following settings: "
|
||||
ewarn " bind-interfaces"
|
||||
ewarn " interface or except-interface"
|
||||
ewarn
|
||||
ewarn "Otherwise you might have issues with your existing DNS server."
|
||||
fi
|
||||
|
||||
if use caps && use qemu; then
|
||||
elog "libvirt will now start qemu/kvm VMs with non-root privileges."
|
||||
elog "Ensure any resources your VMs use are accessible by qemu:qemu"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use python && python_mod_cleanup libvirt.py
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
https://bugs.gentoo.org/show_bug.cgi?id=450328
|
||||
--- src/XCCDF_POLICY/xccdf_policy.c.orig 2012-12-14 18:13:18.000000000 +0800
|
||||
+++ src/XCCDF_POLICY/xccdf_policy.c 2013-01-07 22:31:10.417704932 +0800
|
||||
@@ -389,8 +389,8 @@
|
||||
__attribute__nonnull__(policy);
|
||||
__attribute__nonnull__(item);
|
||||
|
||||
- static bool TRUE = true;
|
||||
- static bool FALSE = false;
|
||||
+ static bool TRUE2 = true;
|
||||
+ static bool FALSE2 = false;
|
||||
bool result;
|
||||
|
||||
oscap_htable_detach(policy->selected_final, xccdf_item_get_id(item));
|
||||
@@ -408,7 +408,7 @@
|
||||
xccdf_item_iterator_free(child_it);
|
||||
}
|
||||
|
||||
- assume_ex(oscap_htable_add(policy->selected_final, xccdf_item_get_id(item), result ? &TRUE : &FALSE), NULL);
|
||||
+ assume_ex(oscap_htable_add(policy->selected_final, xccdf_item_get_id(item), result ? &TRUE2 : &FALSE2), NULL);
|
||||
}
|
||||
|
||||
/**
|
@ -0,0 +1,111 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-forensics/openscap/openscap-0.9.3-r1.ebuild,v 1.1 2013/01/30 18:43:25 hwoarang Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
PYTHON_DEPEND="2"
|
||||
|
||||
inherit eutils multilib python bash-completion-r1
|
||||
|
||||
DESCRIPTION="Framework which enables integration with the Security Content Automation Protocol (SCAP)"
|
||||
HOMEPAGE="http://www.open-scap.org/"
|
||||
SRC_URI="https://fedorahosted.org/releases/o/p/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="bash-completion doc nss perl python rpm selinux sql test"
|
||||
#RESTRICT="test"
|
||||
|
||||
RDEPEND="!nss? ( dev-libs/libgcrypt )
|
||||
nss? ( dev-libs/nss )
|
||||
rpm? ( >=app-arch/rpm-4.9 )
|
||||
sql? ( dev-db/opendbx )
|
||||
dev-libs/libpcre
|
||||
dev-libs/libxml2
|
||||
dev-libs/libxslt
|
||||
net-misc/curl"
|
||||
DEPEND="${RDEPEND}
|
||||
perl? ( dev-lang/swig )
|
||||
python? ( dev-lang/swig )
|
||||
test? (
|
||||
app-arch/unzip
|
||||
dev-perl/XML-XPath
|
||||
net-misc/ipcalc
|
||||
sys-apps/grep )"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i 's/uname -p/uname -m/' tests/probes/uname/test_probes_uname.xml.sh || die
|
||||
|
||||
#probe runlevel for non-centos/redhat/fedora is not implemented
|
||||
sed -i 's,.*runlevel_test.*,echo "runlevel test bypassed",' tests/mitre/test_mitre.sh || die
|
||||
sed -i 's,probecheck "runlevel,probecheck "runlevellllll,' tests/probes/runlevel/test_probes_runlevel.sh || die
|
||||
|
||||
#According to comment of theses tests, we must modify it. For the moment disable it
|
||||
sed -i 's,.*linux-def_inetlisteningservers_test,#&,' tests/mitre/test_mitre.sh || die
|
||||
sed -i 's,.*ind-def_environmentvariable_test,#&,' tests/mitre/test_mitre.sh || die
|
||||
|
||||
# theses tests are hardcoded for checking hald process...,
|
||||
# but no good solution for the moment, disabling them with a fake echo
|
||||
# because encased in a if then
|
||||
# sed -i 's,ha.d,/sbin/udevd --daemon,g' tests/mitre/unix-def_process_test.xml || die
|
||||
# sed -i 's,ha.d,/sbin/udevd --daemon,g' tests/mitre/unix-def_process58_test.xml || die
|
||||
sed -i 's,.*process_test.*,echo "process test bypassed",' tests/mitre/test_mitre.sh || die
|
||||
sed -i 's,.*process58_test.*,echo "process58 test bypassed",' tests/mitre/test_mitre.sh || die
|
||||
|
||||
#This test fail
|
||||
sed -i 's,.*generate report: xccdf,#&,' tests/API/XCCDF/unittests/all.sh || die
|
||||
|
||||
if ! use rpm ; then
|
||||
sed -i 's,probe_rpminfo_req_deps_ok=yes,probe_rpminfo_req_deps_ok=no,' configure || die
|
||||
sed -i 's,probe_rpminfo_opt_deps_ok=yes,probe_rpminfo_opt_deps_ok=no,' configure || die
|
||||
sed -i 's,probe_rpmverify_req_deps_ok=yes,probe_rpmverify_req_deps_ok=no,' configure || die
|
||||
sed -i 's,probe_rpmverify_opt_deps_ok=yes,probe_rpmverify_opt_deps_ok=no,' configure || die
|
||||
sed -i 's,^probe_rpm.*_deps_missing=,&disabled by USE flag,' configure || die
|
||||
sed -i 's,.*rpm.*,#&,' tests/mitre/test_mitre.sh || die
|
||||
fi
|
||||
if ! use selinux ; then
|
||||
sed -i 's,.*selinux.*, echo "SELinux test bypassed",' tests/mitre/test_mitre.sh || die
|
||||
#process58 need selinux
|
||||
sed -i 's,.*process58,#&,' tests/mitre/test_mitre.sh || die
|
||||
fi
|
||||
#450328
|
||||
epatch "${FILESDIR}"/${P}-policy.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
if use python ; then
|
||||
myconf+=" --enable-python"
|
||||
else
|
||||
myconf+=" --enable-python=no"
|
||||
fi
|
||||
if use perl ; then
|
||||
myconf+=" --enable-perl"
|
||||
fi
|
||||
if use nss ; then
|
||||
myconf+=" --with-crypto=nss3"
|
||||
else
|
||||
myconf+=" --with-crypto=gcrypt"
|
||||
fi
|
||||
econf ${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" || die
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
if use doc ; then
|
||||
dohtml -r docs/html/* || die
|
||||
dodoc docs/examples/* || die
|
||||
fi
|
||||
if use bash-completion ; then
|
||||
dobashcomp "${D}"/etc/bash_completion.d/oscap
|
||||
fi
|
||||
rm -rf "${D}"/etc/bash_completion.d || die
|
||||
}
|
@ -1,17 +1,42 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX ovaldi-5.10.1.2-add-selinux-libs.patch 494 SHA256 7b2cc39e80170bb2418df7c98e3f46757f452f372f33b40adad8a3081a04bca8 SHA512 0c0c19b791d95c0117735539885529338e380881ec4ab49d19efad96726d65b7e54abce302d80847eccde97a285bb7fc9c1d67dbebd80b82c7063b142b2a1dbc WHIRLPOOL ad0ab14e3a2e2c391aacdd50632b08569e2ba12b0f2ab26a68810305f1d01fff8b9cb2aff2078bfb57714cf254818ea2d5f736ee337c53918aebc1561c12554d
|
||||
AUX ovaldi-5.10.1.2-disable-ldap-probes.patch 514 SHA256 fab78dc2e49a642337c85537199db797ebcc8d5dfe6bd2f977a7d3d43c2f646b SHA512 ad8874da919ce6f227ee9a1c3b1e4f25b43179440f0bd7f1adb60af6377a3953f59a4f0a11f9eafdb6bc7facee5d77f0ff55925ead8b6c7a72f367ab211a9e4b WHIRLPOOL 896aee7ecce5332a0388e2f84e15eb0550db8257d7a5119d093934e6f143b723c58785407eaa641029e8b9ddb2432a05dddafd1cec09d332e58faf3150f534fd
|
||||
AUX ovaldi-5.10.1.2-disable-selinux-probes.patch 3418 SHA256 0852abf008d39827dff195005df718233c122cfa86a47be27592ecbee1cb08fa SHA512 ce824c08a45c65721f8a4f8ef23074108710f8deaf08171a8a0204dd99af94b2f072fe07c68a10cae9dc7ec4fa5ef63227a631b389d0343ca05d006d76418315 WHIRLPOOL 2db1297f482568fe1642915f84ea906ef056181382d0cdef5d5baa116a92510471aff3d9b8dd2023fd6c4cb391e4285d221c3c43ddd9ff70065eb148d0226cd6
|
||||
AUX ovaldi-5.10.1.2-missing-memory-header.patch 703 SHA256 145ba83c3000de0204d6b892702b490c1c592c0f47b4c8d20138a53623abfc1f SHA512 6c414fff0b8d262bbaf8ee7325269fab1bc82b0c8fa1f13f15bb2dc9b91e732510d202d1fcc507aa9b923339c1feeabe49aebb6bef8c86336f6b704155d15af5 WHIRLPOOL 827a274d9ff13bead1e9a4d04e273d37db84753a9012f96943a4c65204e95da54da83ca54b6a3f4322c3b81892a882bafbd6977bc7d0d54eb6ffef2f9c7fc105
|
||||
AUX ovaldi-5.10.1.2-strnicmp.patch 292 SHA256 aa4a1f23df2fd4b8ed0456a23948cc597d0573eb1e9881f8a8f229b8778f6a54 SHA512 498ce005a56cbe16377653a25da783e96fc7871cb114d19e3695579263403ecb3a917abe637965bc6ee62dd36e927ad564c83d253b3a6467651e9ad57f9bf1f1 WHIRLPOOL 9f6859f543749c45d98e5fbfbe45a7e5fa341e590a705afe2b7f477f76fa569e0b220b8f0af6d5fd2bdde0183a3f6ce8be93aca3ffe2bfee852da95ec9dcd556
|
||||
AUX ovaldi-5.10.1.2-xerces3.patch 13510 SHA256 7818b08cb2fe965b14a7732f26f36d4a2a67da70fdf050751b42834e95cac39e SHA512 0b95bc164fbf236c317a4c0d9057c8ba2085931d51eace7148a4de4983690dda9721c3accfad02950d7aac244562d208fb7d48210efd5135d33e4e762e2f3da3 WHIRLPOOL 95b2c5d2b806531c99aef415754152a9dedb5df0021fb1eaac6f94f3bbedf3cf17f4204d56b1a95bd406c701368399a866052232b4339a7179b8ec9560066b33
|
||||
AUX ovaldi-5.10.1.4-disable-selinux-probes.patch 3928 SHA256 5f473d56e7fb93b093b2e1b484d2b7b03ceea2b4e6014cd9a1ebc6a31aebd0f5 SHA512 e9d6f2bab3fd5d6fbb2b6bc6dc881bfb22c873c8856dc9da7c01d2992f74479177d82529df84b186da285aed8d943919b9bbbe59d7d1e0788c42351a3f895217 WHIRLPOOL fd74b7336132fc2296bb280c91428177847001beef8ed86005ac8be8da650a9f62e10164dc3dc7325a6535eb588e36dd5925d60503a7e922475927190b15cd82
|
||||
AUX ovaldi-5.10.1.4-strnicmp.patch 292 SHA256 aa4a1f23df2fd4b8ed0456a23948cc597d0573eb1e9881f8a8f229b8778f6a54 SHA512 498ce005a56cbe16377653a25da783e96fc7871cb114d19e3695579263403ecb3a917abe637965bc6ee62dd36e927ad564c83d253b3a6467651e9ad57f9bf1f1 WHIRLPOOL 9f6859f543749c45d98e5fbfbe45a7e5fa341e590a705afe2b7f477f76fa569e0b220b8f0af6d5fd2bdde0183a3f6ce8be93aca3ffe2bfee852da95ec9dcd556
|
||||
AUX ovaldi-5.10.1.4-xerces3.patch 13354 SHA256 2ca9f980072333e320cdd5ffb55ccc78e033d1c98746292855439b56b8d42c7f SHA512 4f31d9b7fdbd31fb3228da1d3c637ff8a205395754fd9a27375a33b18d954bfb29b7365e7134e7ae8c93e867dba980f5a18255872d6c64e03f449b32349d2a99 WHIRLPOOL 271b28e3281ef027e41d649507d44c7d8c485de9d75a47c1447550b71a8d13f1dc5da5ded387200094fbbd743361d52635be210e01d5346036d1f844a5057629
|
||||
AUX ovaldi-5.9.1-disable-ldap-probes.patch 1237 SHA256 ca8846757488a75d434a4cc909a96de44cf4b8f6d8f7950c2938630668bbde6a SHA512 08b7c8768eaea0a4b0e96e1791609d8cfacc386fc821d0fa9e38e8d52c596d5eeb6d55eb0db619c9f441b4b4ef3e96e061a59f4c59320072dfc2aa869ac6bd6f WHIRLPOOL 4b026706c988a543f154e199f59a78bdf014e0e764df27db957d8a020f0fd3ecf56c88fff6d0332887ef4910e4e4775947c9e59f49d5ddeb81e2c640888c0e49
|
||||
AUX ovaldi-5.9.1-strnicmp.patch 292 SHA256 aa4a1f23df2fd4b8ed0456a23948cc597d0573eb1e9881f8a8f229b8778f6a54 SHA512 498ce005a56cbe16377653a25da783e96fc7871cb114d19e3695579263403ecb3a917abe637965bc6ee62dd36e927ad564c83d253b3a6467651e9ad57f9bf1f1 WHIRLPOOL 9f6859f543749c45d98e5fbfbe45a7e5fa341e590a705afe2b7f477f76fa569e0b220b8f0af6d5fd2bdde0183a3f6ce8be93aca3ffe2bfee852da95ec9dcd556
|
||||
AUX ovaldi-5.9.1-xerces3.patch 12336 SHA256 70754174e4d390663b79b0dc070eba536d2868ce5b68aae1632e805a52b0e0f0 SHA512 40f75b885ac88b12cee7643f0a310f788c7c2109c3701ece5f2bb383ad7372599d03f4fbe125ae9cdf996786e1be9a525b5a209f60b6f25adc3b615aa44f6da3 WHIRLPOOL 30d8ed0611c2d46e8245a0281952f4de22eac3b7e80fe4a023262cfec8668d490356eb6a4f69d276113ed5488603a88ecf9af67345d02a95685e7f404c1d34a7
|
||||
AUX rpmdb.patch 2131 SHA256 d40775d272b8aed6062b983640cf4c0a330a9d318012b922099eeb04d4c1d131 SHA512 d802967812888ecd0db8fbf447c0ab1f6496409c1971fa3e36207c8be12fc99b9d61b0c7b312a5956dddddf15f50558f6cc36ee5f81fd1081579de9e3289f92c WHIRLPOOL f9af491f8df053337cf5fde99a983e1b03a275242195e0b839ddb824c74e93a8b37aca758c63f409af4857d2ea55ff34e99791fbc6061e4da01baccb218fee8a
|
||||
AUX use_local_rpmdb.patch 429 SHA256 e7956ab2c1de68b0c5284641a36136643aa5a6e12cfd8b6042f0484c1cba63cd SHA512 737dfccc3391e3bedc9fa284f5409dd481fd14f427f4aa9922e712dba2776db83d59b399ae77366bb75a37b8b04ae9cf81e7a2853fc463e4b6cc094609e92d97 WHIRLPOOL c3dae829cac66847140a5e5d8b6b84b9fa95b47544fabc6ecb1bef8077f536310f4b0335f7185b00afd70da0b1e4cb2f759afa26a7f66f9f72fc5c98a3e5493c
|
||||
DIST ovaldi-5.10.1.2-src.tar.bz2 14859172 SHA256 2d00a1bc730f6635beebd52611ee30c914169626ef5adf68ff313295c483d319 SHA512 77ffc04a8b33a43a9370b795e6af5e79e63ca59ec70c974408fffc163d487c654f153924494b14e1fc8b2ba2f33e96bc85e175fd8044e370a75a88f3f9c37fcb WHIRLPOOL 6c8e8da498c9f0c36be7a88a1293a984975e6fc90993fe6a860969af63cd8b9393e6adb4bf68893c6da468562322adb4b60a4894393bd7916047f900631f8296
|
||||
DIST ovaldi-5.10.1.4-src.tar.bz2 14868251 SHA256 92a22ad75ecdb02abb155e520cf249cc0f737c52b17380b1d58caf410f8c2560 SHA512 d7926a7416fe90013e203b333390e33d51c3eb0caa6ebba69dd593791a8377ac38f5db72fcff2d1ab2dd39a0f5d1b0d2a0d08f906d3e26740288532a27debb47 WHIRLPOOL b9e9142f3d51818c6fbdd12d036176a435bb7af4a75b39bd6bbaee9c542718f9058401ccdfb053a84bac97dfb9b5ba0acdbcf98c4085f6198ad51e94d6ea9d25
|
||||
DIST ovaldi-5.9.1-src.tar.bz2 14745625 SHA256 40161ac64fd221543a19f178de283919be2dd7f513a6fb354f1440fe1bfb98e1 SHA512 5ac3fb0b943aa6c650ae31131a41e059d2b338defe608b1a7b65ba776e249d005ccf4c3ff3ab64fb042a775c70467f4ca879de005f6bf78c19a4a0c782204d34 WHIRLPOOL d96fcf29bfbf301dde50e54a6d710db913520d7b0e47be8b17f2a202353f81eef94e2934d0aa84ca6ddd24dce8a0fdd9c4cfe6224f4757717c88317895ad12af
|
||||
EBUILD ovaldi-5.10.1.2.ebuild 2414 SHA256 a4cd65663769d4e699df17cd7a1945a3db0ac0c1b603e6ee59843ebf4041df44 SHA512 3270b5c004570e86b23fd3f797462387bf737869f0474d9076dc8f39c1c9f3fd1faadb5ae08b5a2290a8c195e25786513d7f1ac818bc0adb94e922b71acc859e WHIRLPOOL 0e3f8cec09d83c296abf7185ade3551dea97ef8175f2cc861c41b449784989316e5999aca9a394a52d8aeba68fe8ec6db787dd1446222cb3b1b49017b7ee5b48
|
||||
EBUILD ovaldi-5.10.1.4.ebuild 3428 SHA256 a7cb7fe7b560201e89a7c56aee550a56df171a1e60ff84abf4aff83e2509621c SHA512 1ed8e31dff13c3e9ca2b61c5825de19c94f8a57c726cc35497b0189803ba236ebd71ada79d4852b3afc24099098e8e4f5fa13f730a4231d73f35d15862837d28 WHIRLPOOL 29c7bf1e9d5ffafe30876953e552a343c34fa8996490a5de9e9bd886a4b3e117dc70d204f9f29b0b6f034f1ff0ae0e4dc77c637aad4c90ab44d5a169c61f73fb
|
||||
EBUILD ovaldi-5.9.1.ebuild 1862 SHA256 d4c7a6cdfe1957bf958a2d553bfdde2a8dfc6dede51286170506c39259dd6632 SHA512 7ca41476c17481658262694f4a8df82e319e0ec12c7281455c2478bef6e4e755c769e4927f27a6e90dbe924061090f7346fdd7f8f34eb7ae86281c4d5d7453fc WHIRLPOOL ad8f5e16f41bde59f4805e790902154b872301277c23362a64abc2be5a273f8e44b7e031f356b434453e17d7f15b433d805a3811d71734dad686590fc087d27a
|
||||
MISC ChangeLog 1238 SHA256 cb8c5d1f55a316326f476a13e7e0769ba893007787c20f4c31c3277483d849bd SHA512 4927fc25d5f4a908f0e70617ad44562b44574d20cdca8f525a197e2e7a184953957dae76858a7f5875cbe663dac9d9f87a65a6a2d0c680b51059f43a31fb4608 WHIRLPOOL a223d7d1e2e8daa04361031cb393018dab1eaafcbdcadd3de77752dde9a5babd0dac90693cff22f237b1496fa7c03b4b22c9dae1b57527fcc869c1052f572d19
|
||||
MISC metadata.xml 565 SHA256 635243ac3f5b09dc36bd19708ba4e43152189bf63f19579b2f4ea5937a8569e6 SHA512 45ee8487e5d1f27bdb992135f7597ca197c217196068f9638a01997ce89385e835f240fe6d9762e7687ce54585f966c3dddb7876a8576621d543adc470c9df11 WHIRLPOOL b21500b69c2317fe33c43d9cba0c87f936f72126ae16d6ce779556f38d8df381c127e9ae8b9a3b500745d79c76506f79aefbc36eaa6f18a4ddeff73a57c60ed0
|
||||
MISC ChangeLog 1562 SHA256 1597cd9c31cc2b8b3c819c2c81e4b2ad9d6f0332cc74616edc0c16144488f5ef SHA512 bb8630fa8c2c74ba803edd846341fcc08acf6aa9ba264d377393147f3861851f568342c500373e4abd8fbfe0c732ca2adf40c8630cbfbd50b4fb6ff1d93b4548 WHIRLPOOL f59ecc44f631cc76340adfb6593ef4b4e84b11be52711b52d018e665dae045866431e54311b525ab08989dd9fc332368881a20a19d436c00ef78160e4b740802
|
||||
MISC metadata.xml 405 SHA256 67a89bb288b14af8da718917c178f80d34981812dc96755d33bf9a01e8056e58 SHA512 3c94f548cda20ae83f4107e81f1d8f51c12abfa5b8522d19898315256328927bd1b49129ecd48aa72bd07dc198a8c044e080da15fcb892c6c5eeaabb86a20b62 WHIRLPOOL 0a5febc0bc6e7a51ec9da457474ebf09eedc92fae9a05755ca2dbbff8b0ee259e8db4d201f9b0467d4dc9c8f0ffe2136a0fd6b6f9092b3594d2163e66b2971f9
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iQIcBAEBCAAGBQJRCWwQAAoJEPqDWhW0r/LCtGQQAKXL0KDxOFSDamjGIsy08J19
|
||||
Nymp0h69A/8YL6zB/scWuVnGKEjMj/E92bC9ToHYVG5tisDYBpmTetSqqbhgISPC
|
||||
FYfB/qs8HWxbNrWvfDnlOw98o+IH1Jog4vNl9yPYjjuYaYlqlD355vekjzc6MeYF
|
||||
J4RKw+24J3TV767DH1a2UgF5/GLEceLYurnPwlzjs5glodJSZ0+zR578Jmoyv6Dj
|
||||
GABLQneymbkA+QBMxNQBhOBtb1QtMdND+HK1TdN5EExoKbpXkL99ie5frCIKCiwb
|
||||
/975l0kSnVKQL7+nsxu9zKmwUIHneNnf6e2neapOjav6xk9tr6E2/DAAyELQiBQm
|
||||
XIrperd14wdQ2GtY5zx5uPkJ9EBpsWgD/dquEAdfBC3rXCFzrDhycgqPg9xDfKRD
|
||||
u3Jf87Tbt61Q2971Fos9S4p97UmBrupz/p+nh5lDlKl16+46/t21Xu71bJ6SnCHA
|
||||
XImGx3p/CZS/5vAodueSkqQ/160JTDHSMN6g8GGu3kcJ28XbmcxHijn8ZtytTVTi
|
||||
ksydoMiD935sHGAdCKiWDtKhTcMqdFmYSdB4Pfiw3NCeXkMAzWAsGqiTEa2MUxrh
|
||||
2NHH4RYGGkTiAL5INxAotQWoCU+lOrsw3F7ODBxwwUoX/gNlOqJioQTO5heablce
|
||||
wO0L77R/mxUHSeO9IFlp
|
||||
=tL62
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,84 @@
|
||||
--- src/probes/unix/Process58Probe.cpp.old 2013-01-14 16:05:18.000000000 +0100
|
||||
+++ src/probes/unix/Process58Probe.cpp 2013-01-14 16:06:16.000000000 +0100
|
||||
@@ -29,8 +29,8 @@
|
||||
//****************************************************************************************//
|
||||
|
||||
#ifdef LINUX
|
||||
-# include <selinux/selinux.h>
|
||||
-# include <selinux/context.h>
|
||||
+/*# include <selinux/selinux.h>
|
||||
+# include <selinux/context.h>*/
|
||||
# include <sys/capability.h>
|
||||
# include <SecurityContextGuard.h>
|
||||
#endif
|
||||
@@ -328,7 +328,7 @@
|
||||
pid_t sessionId;
|
||||
uid_t loginuid;
|
||||
uint64_t effCap, *effCapp=&effCap;
|
||||
- string selinuxDomainLabel;
|
||||
+/* string selinuxDomainLabel;*/
|
||||
|
||||
Process58Probe::ProcStatus statStatus, statusStatus, ttyStatus, loginuidStatus;
|
||||
|
||||
@@ -423,10 +423,10 @@
|
||||
}
|
||||
|
||||
// this one doesn't require reading anything in /proc
|
||||
- if (!RetrieveSelinuxDomainLabel(pid, &selinuxDomainLabel, &errMsg)) {
|
||||
+/* if (!RetrieveSelinuxDomainLabel(pid, &selinuxDomainLabel, &errMsg)) {
|
||||
item->AppendMessage(new OvalMessage(errMsg, OvalEnum::LEVEL_ERROR));
|
||||
item->SetStatus(OvalEnum::STATUS_ERROR);
|
||||
- }
|
||||
+ }*/
|
||||
|
||||
// The Linux start time is represented as the number of jiffies (1/100 sec)
|
||||
// that the application was started after the last system reboot. To get an
|
||||
@@ -522,10 +522,10 @@
|
||||
// aren't any.
|
||||
item->AppendElement(new ItemEntity("posix_capability", "", OvalEnum::DATATYPE_STRING, OvalEnum::STATUS_ERROR));
|
||||
|
||||
- if (selinuxDomainLabel.empty())
|
||||
+/* if (selinuxDomainLabel.empty())
|
||||
item->AppendElement(new ItemEntity("selinux_domain_label", "", OvalEnum::DATATYPE_STRING, OvalEnum::STATUS_ERROR));
|
||||
else
|
||||
- item->AppendElement(new ItemEntity("selinux_domain_label", selinuxDomainLabel));
|
||||
+ item->AppendElement(new ItemEntity("selinux_domain_label", selinuxDomainLabel));*/
|
||||
|
||||
if (statStatus == PROC_OK)
|
||||
item->AppendElement(new ItemEntity("session_id", Common::ToString(sessionId), OvalEnum::DATATYPE_INTEGER));
|
||||
@@ -740,7 +740,7 @@
|
||||
capMap[capEnum]));
|
||||
}
|
||||
}
|
||||
-
|
||||
+/*
|
||||
bool Process58Probe::RetrieveSelinuxDomainLabel(pid_t pid, string *label, string *err) {
|
||||
security_context_t sctx;
|
||||
int ec = getpidcon(pid, &sctx);
|
||||
@@ -763,7 +763,7 @@
|
||||
*label = tmp;
|
||||
return true;
|
||||
}
|
||||
-
|
||||
+*/
|
||||
#elif defined SUNOS
|
||||
|
||||
void Process58Probe::GetPSInfo(string command, string pidStr, ItemVector* items) {
|
||||
@@ -830,7 +830,7 @@
|
||||
item->AppendElement(new ItemEntity("exec_shield", "", OvalEnum::DATATYPE_BOOLEAN, OvalEnum::STATUS_NOT_COLLECTED));
|
||||
item->AppendElement(new ItemEntity("loginuid", "", OvalEnum::DATATYPE_INTEGER, OvalEnum::STATUS_NOT_COLLECTED));
|
||||
item->AppendElement(new ItemEntity("posix_capability", "", OvalEnum::DATATYPE_STRING, OvalEnum::STATUS_NOT_COLLECTED));
|
||||
- item->AppendElement(new ItemEntity("selinux_domain_label", "", OvalEnum::DATATYPE_STRING, OvalEnum::STATUS_NOT_COLLECTED));
|
||||
+/* item->AppendElement(new ItemEntity("selinux_domain_label", "", OvalEnum::DATATYPE_STRING, OvalEnum::STATUS_NOT_COLLECTED));*/
|
||||
item->AppendElement(new ItemEntity("session_id", Common::ToString(info.pr_sid), OvalEnum::DATATYPE_INTEGER));
|
||||
|
||||
items->push_back(item);
|
||||
@@ -988,7 +988,7 @@
|
||||
item->AppendElement(new ItemEntity("exec_shield", "", OvalEnum::DATATYPE_BOOLEAN, OvalEnum::STATUS_NOT_COLLECTED));
|
||||
item->AppendElement(new ItemEntity("loginuid", "", OvalEnum::DATATYPE_INTEGER, OvalEnum::STATUS_NOT_COLLECTED));
|
||||
item->AppendElement(new ItemEntity("posix_capability", "", OvalEnum::DATATYPE_STRING, OvalEnum::STATUS_NOT_COLLECTED));
|
||||
- item->AppendElement(new ItemEntity("selinux_domain_label", "", OvalEnum::DATATYPE_STRING, OvalEnum::STATUS_NOT_COLLECTED));
|
||||
+/* item->AppendElement(new ItemEntity("selinux_domain_label", "", OvalEnum::DATATYPE_STRING, OvalEnum::STATUS_NOT_COLLECTED));*/
|
||||
item->AppendElement(new ItemEntity("session_id", "", OvalEnum::DATATYPE_INTEGER, OvalEnum::STATUS_NOT_COLLECTED));
|
||||
|
||||
items->push_back(item);
|
@ -0,0 +1,11 @@
|
||||
--- src/Main.h.old 2010-10-22 14:59:13.000000000 +0200
|
||||
+++ src/Main.h 2010-10-22 14:59:38.000000000 +0200
|
||||
@@ -38,7 +38,7 @@
|
||||
#endif
|
||||
|
||||
#ifdef LINUX
|
||||
-# define STRNICMP strnicmp
|
||||
+# define STRNICMP strncasecmp
|
||||
#elif defined SUNOS
|
||||
# define STRNICMP strncasecmp
|
||||
#elif defined DARWIN
|
@ -0,0 +1,283 @@
|
||||
--- src/XmlProcessor.h.old 2011-08-18 14:35:41.608703233 +0200
|
||||
+++ src/XmlProcessor.h 2011-08-18 14:39:21.835597094 +0200
|
||||
@@ -38,14 +38,17 @@
|
||||
#include <string>
|
||||
|
||||
// required xerces includes
|
||||
-#include <xercesc/dom/DOMBuilder.hpp>
|
||||
#include <xercesc/dom/DOMDocument.hpp>
|
||||
#include <xercesc/dom/DOMErrorHandler.hpp>
|
||||
#include <xercesc/dom/DOMError.hpp>
|
||||
|
||||
// for entity resolver
|
||||
-#include <xercesc/dom/DOMEntityResolver.hpp>
|
||||
-#include <xercesc/dom/DOMInputSource.hpp>
|
||||
+
|
||||
+#include <xercesc/dom/DOMImplementationRegistry.hpp>
|
||||
+#include <xercesc/dom/DOMLSParser.hpp>
|
||||
+#include <xercesc/sax/EntityResolver.hpp>
|
||||
+#include <xercesc/sax/InputSource.hpp>
|
||||
+#include <xercesc/sax2/SAX2XMLReader.hpp>
|
||||
|
||||
#include "Exception.h"
|
||||
|
||||
@@ -53,12 +56,14 @@
|
||||
This class extends the default DOMEntityResolver and implments the resolve entity method
|
||||
to support
|
||||
*/
|
||||
-class DataDirResolver : public xercesc::DOMEntityResolver {
|
||||
+class DataDirResolver : public xercesc::EntityResolver {
|
||||
public:
|
||||
/**
|
||||
*
|
||||
*/
|
||||
- xercesc::DOMInputSource *resolveEntity (const XMLCh *const publicId, const XMLCh *const systemId, const XMLCh *const baseURI);
|
||||
+// xercesc::DOMInputSource *resolveEntity (const XMLCh *const publicId, const XMLCh *const systemId, const XMLCh *const baseURI);
|
||||
+ xercesc::InputSource *resolveEntity (const XMLCh *const publicId, const XMLCh *const systemId);
|
||||
+ xercesc::DOMLSInput *resolveEntity (const XMLCh *const publicId, const XMLCh *const systemId, const XMLCh *const baseURI);
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -144,7 +149,7 @@
|
||||
* owns the documents it builds. Users must manually destroy
|
||||
* those documents.
|
||||
*/
|
||||
- xercesc::DOMBuilder *parserWithCallerAdoption;
|
||||
+ xercesc::DOMLSParser *parserWithCallerAdoption;
|
||||
|
||||
/**
|
||||
* This parser doesn't have user-adoption switched on, so it
|
||||
@@ -156,7 +161,7 @@
|
||||
* appear to ever be switched off. So to make sure this isn't
|
||||
* leaking memory, I have created separate parsers.
|
||||
*/
|
||||
- xercesc::DOMBuilder *parser;
|
||||
+ xercesc::DOMLSParser *parser;
|
||||
|
||||
/** The entity resolver for both parsers. */
|
||||
DataDirResolver resolver;
|
||||
--- src/probes/independent/XmlFileContentProbe.cpp.old 2010-10-22 14:49:22.000000000 +0200
|
||||
+++ src/probes/independent/XmlFileContentProbe.cpp 2010-10-22 14:51:39.000000000 +0200
|
||||
@@ -419,12 +419,24 @@
|
||||
return new DummyEntityResolver::DoNothingBinInputStream();
|
||||
}
|
||||
|
||||
+#if XERCES_VERSION_MAJOR < 3
|
||||
unsigned int DummyEntityResolver::DoNothingBinInputStream::curPos() const
|
||||
+#else
|
||||
+const XMLCh* DummyEntityResolver::DoNothingBinInputStream::getContentType() const
|
||||
+{
|
||||
+ return NULL;
|
||||
+}
|
||||
+XMLFilePos DummyEntityResolver::DoNothingBinInputStream::curPos() const
|
||||
+#endif
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
+#if XERCES_VERSION_MAJOR < 3
|
||||
unsigned int DummyEntityResolver::DoNothingBinInputStream::readBytes(XMLByte *const /*toFill*/, const unsigned int /*maxToRead*/)
|
||||
+#else
|
||||
+XMLSize_t DummyEntityResolver::DoNothingBinInputStream::readBytes(XMLByte *const toFill, XMLSize_t maxToRead)
|
||||
+#endif
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
--- src/probes/independent/XmlFileContentProbe.h.old 2010-10-22 14:55:47.000000000 +0200
|
||||
+++ src/probes/independent/XmlFileContentProbe.h 2010-10-22 14:57:00.000000000 +0200
|
||||
@@ -134,8 +134,14 @@
|
||||
class DoNothingBinInputStream : public BinInputStream
|
||||
{
|
||||
public:
|
||||
+#if XERCES_VERSION_MAJOR < 3
|
||||
virtual unsigned int curPos() const;
|
||||
virtual unsigned int readBytes(XMLByte *const toFill, const unsigned int maxToRead);
|
||||
+#else
|
||||
+ virtual XMLFilePos curPos() const;
|
||||
+ virtual const XMLCh* getContentType() const;
|
||||
+ virtual XMLSize_t readBytes(XMLByte *const toFill, XMLSize_t maxToRead);
|
||||
+#endif
|
||||
};
|
||||
};
|
||||
|
||||
--- src/XmlCommon.cpp.old
|
||||
+++ src/XmlCommon.cpp
|
||||
@@ -546,7 +546,11 @@ void XmlCommon::AddSchemaLocation(XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument *do
|
||||
string XmlCommon::GetNamespace(DOMElement *element) {
|
||||
|
||||
string xmlns = "";
|
||||
+#if XERCES_VERSION_MAJOR < 3
|
||||
xmlns = XmlCommon::ToString(element->getTypeInfo()->getNamespace());
|
||||
+#else
|
||||
+ xmlns = XmlCommon::ToString(element->getSchemaTypeInfo()->getTypeNamespace());
|
||||
+#endif
|
||||
if (xmlns.compare("") == 0) {
|
||||
xmlns = "";
|
||||
}
|
||||
--- src/XmlProcessor.cpp.old 2013-01-14 15:16:14.000000000 +0100
|
||||
+++ src/XmlProcessor.cpp 2013-01-14 15:19:20.000000000 +0100
|
||||
@@ -35,7 +35,6 @@
|
||||
// for dom Writer
|
||||
#include <xercesc/dom/DOMImplementation.hpp>
|
||||
#include <xercesc/dom/DOMImplementationLS.hpp>
|
||||
-#include <xercesc/dom/DOMWriter.hpp>
|
||||
#include <xercesc/framework/StdOutFormatTarget.hpp>
|
||||
#include <xercesc/framework/LocalFileFormatTarget.hpp>
|
||||
#include <xercesc/util/XMLUni.hpp>
|
||||
@@ -50,11 +49,26 @@
|
||||
using namespace std;
|
||||
using namespace xercesc;
|
||||
|
||||
+#if XERCES_VERSION_MAJOR < 3
|
||||
+#define SetParameter(serializer,n,v) if (serializer->canSetFeature(n,v)) serializer->setFeature(n,v)
|
||||
+#else
|
||||
+#define SetParameter(serializer,n,v) if (serializer->getDomConfig()->canSetParameter(n,v)) serializer->getDomConfig()->setParameter(n,v)
|
||||
+#endif
|
||||
+
|
||||
//****************************************************************************************//
|
||||
// DataDirResolver Class //
|
||||
//****************************************************************************************//
|
||||
-
|
||||
+#if XERCES_VERSION_MAJOR < 3
|
||||
DOMInputSource* DataDirResolver::resolveEntity (const XMLCh *const /*publicId*/, const XMLCh *const systemId, const XMLCh *const /*baseURI*/) {
|
||||
+#else
|
||||
+InputSource* DataDirResolver::resolveEntity(const XMLCh* publicId, const XMLCh* systemId)
|
||||
+{
|
||||
+ return NULL;
|
||||
+ //return DataDirResolver::resolveEntity (publicId, systemId, NULL);
|
||||
+}
|
||||
+
|
||||
+DOMLSInput* DataDirResolver::resolveEntity (const XMLCh *const publicId, const XMLCh *const systemId, const XMLCh *const baseURI) {
|
||||
+#endif
|
||||
string path = "";
|
||||
size_t last;
|
||||
string schemapath = Common::GetSchemaPath();
|
||||
@@ -127,7 +141,7 @@
|
||||
parserWithCallerAdoption = makeParser(schemaLocation);
|
||||
// add one extra feature on this parser to prevent it from
|
||||
// taking ownership of its documents.
|
||||
- parserWithCallerAdoption->setFeature(XMLUni::fgXercesUserAdoptsDOMDocument, true);
|
||||
+ SetParameter(parserWithCallerAdoption, XMLUni::fgXercesUserAdoptsDOMDocument, true);
|
||||
|
||||
} catch (const XMLException& toCatch) {
|
||||
string errMsg = "Error: An error occured durring initialization of the xml utilities:\n";
|
||||
@@ -156,32 +170,40 @@
|
||||
XMLPlatformUtils::Terminate();
|
||||
}
|
||||
|
||||
-DOMBuilder *XmlProcessor::makeParser(const string &schemaLocation) {
|
||||
+DOMLSParser *XmlProcessor::makeParser(const string &schemaLocation) {
|
||||
// Instantiate the DOM parser.
|
||||
static const XMLCh gLS[] = { chLatin_L, chLatin_S, chNull };
|
||||
DOMImplementation *impl = DOMImplementationRegistry::getDOMImplementation(gLS);
|
||||
|
||||
- DOMBuilder *parser = ((DOMImplementationLS*)impl)->createDOMBuilder(DOMImplementationLS::MODE_SYNCHRONOUS, 0);
|
||||
+#if XERCES_VERSION_MAJOR < 3
|
||||
+ DOMLSParser *parser = ((DOMImplementationLS*)impl)->createDOMLSParser(DOMImplementationLS::MODE_SYNCHRONOUS, 0);
|
||||
+#else
|
||||
+ DOMLSParser *parser = ((DOMImplementationLS*)impl)->createLSParser(DOMImplementationLS::MODE_SYNCHRONOUS, 0);
|
||||
+#endif
|
||||
|
||||
///////////////////////////////////////////////////////
|
||||
// Set features on the builder
|
||||
///////////////////////////////////////////////////////
|
||||
|
||||
- parser->setFeature(XMLUni::fgDOMComments, false); // Discard Comment nodes in the document.
|
||||
- parser->setFeature(XMLUni::fgDOMDatatypeNormalization, true); // Let the validation process do its datatype normalization that is defined in the used schema language.
|
||||
- parser->setFeature(XMLUni::fgDOMNamespaces, true); // Perform Namespace processing
|
||||
- parser->setFeature(XMLUni::fgDOMValidation, true); // Report all validation errors.
|
||||
- parser->setFeature(XMLUni::fgXercesSchema, true); // Enable the parser's schema support.
|
||||
- parser->setFeature(XMLUni::fgXercesSchemaFullChecking, true); // Enable full schema constraint checking, including checking which may be time-consuming or memory intensive. Currently, particle unique attribution constraint checking and particle derivation restriction checking are controlled by this option.
|
||||
- parser->setFeature(XMLUni::fgXercesValidationErrorAsFatal, true); // The parser will treat validation error as fatal and will exit
|
||||
- parser->setFeature(XMLUni::fgXercesDOMHasPSVIInfo, true); // Enable storing of PSVI information in element and attribute nodes.
|
||||
+ SetParameter(parser, XMLUni::fgDOMComments, false); // Discard Comment nodes in the document.
|
||||
+ SetParameter(parser, XMLUni::fgDOMDatatypeNormalization, true); // Let the validation process do its datatype normalization that is defined in the used schema language.
|
||||
+ SetParameter(parser, XMLUni::fgDOMNamespaces, true); // Perform Namespace processing
|
||||
+ SetParameter(parser, XMLUni::fgDOMValidate, true); // Report all validation errors.
|
||||
+ SetParameter(parser, XMLUni::fgXercesSchema, true); // Enable the parser's schema support.
|
||||
+ SetParameter(parser, XMLUni::fgXercesSchemaFullChecking, true); // Enable full schema constraint checking, including checking which may be time-consuming or memory intensive. Currently, particle unique attribution constraint checking and particle derivation restriction checking are controlled by this option.
|
||||
+ SetParameter(parser, XMLUni::fgXercesValidationErrorAsFatal, true); // The parser will treat validation error as fatal and will exit
|
||||
+ SetParameter(parser, XMLUni::fgXercesDOMHasPSVIInfo, true); // Enable storing of PSVI information in element and attribute nodes.
|
||||
|
||||
///////////////////////////////////////////////////////
|
||||
//****************************************************************************************//
|
||||
// The following code was added to handle air-gap operation //
|
||||
//****************************************************************************************//
|
||||
/* Look for XML schemas in local directory instead of Internet */
|
||||
+#if XERCES_VERSION_MAJOR < 3
|
||||
parser->setEntityResolver (&resolver);
|
||||
+#else
|
||||
+ parser->getDomConfig()->setParameter(XMLUni::fgXercesEntityResolver, &resolver);
|
||||
+#endif
|
||||
//****************************************************************************************//
|
||||
// End of air-gap code //
|
||||
//****************************************************************************************//
|
||||
@@ -189,7 +211,11 @@
|
||||
///////////////////////////////////////////////////////
|
||||
// Add an Error Handler
|
||||
///////////////////////////////////////////////////////
|
||||
+#if XERCES_VERSION_MAJOR < 3
|
||||
parser->setErrorHandler(&errHandler);
|
||||
+#else
|
||||
+ parser->getDomConfig()->setParameter(XMLUni::fgDOMErrorHandler, &errHandler);
|
||||
+#endif
|
||||
|
||||
// Fix a schema location if possible, so instance documents don't
|
||||
// have to set the schemaLocation attribute. And if they do, this
|
||||
@@ -197,7 +223,7 @@
|
||||
// overriding of the value in instance documents.
|
||||
if (!schemaLocation.empty()) {
|
||||
XMLCh *schemaLocationCstr = XMLString::transcode(schemaLocation.c_str());
|
||||
- parser->setProperty(XMLUni::fgXercesSchemaExternalSchemaLocation, schemaLocationCstr);
|
||||
+ SetParameter(parser, XMLUni::fgXercesSchemaExternalSchemaLocation, schemaLocationCstr);
|
||||
XMLString::release(&schemaLocationCstr);
|
||||
}
|
||||
|
||||
@@ -279,23 +305,19 @@
|
||||
XMLCh tempStr[100];
|
||||
XMLString::transcode("LS", tempStr, 99);
|
||||
DOMImplementation *impl = DOMImplementationRegistry::getDOMImplementation(tempStr);
|
||||
+#if XERCES_VERSION_MAJOR < 3
|
||||
DOMWriter *theSerializer = ((DOMImplementationLS*)impl)->createDOMWriter();
|
||||
+#else
|
||||
+ DOMLSSerializer *theSerializer = ((DOMImplementationLS*)impl)->createLSSerializer();
|
||||
+#endif
|
||||
|
||||
- // set feature if the serializer supports the feature/mode
|
||||
- if (theSerializer->canSetFeature(XMLUni::fgDOMWRTSplitCdataSections, true))
|
||||
- theSerializer->setFeature(XMLUni::fgDOMWRTSplitCdataSections, true);
|
||||
|
||||
- if (theSerializer->canSetFeature(XMLUni::fgDOMWRTDiscardDefaultContent, true))
|
||||
- theSerializer->setFeature(XMLUni::fgDOMWRTDiscardDefaultContent, true);
|
||||
-
|
||||
- if (theSerializer->canSetFeature(XMLUni::fgDOMWRTFormatPrettyPrint, true))
|
||||
- theSerializer->setFeature(XMLUni::fgDOMWRTFormatPrettyPrint, true);
|
||||
-
|
||||
- if (theSerializer->canSetFeature(XMLUni::fgDOMWRTBOM, false))
|
||||
- theSerializer->setFeature(XMLUni::fgDOMWRTBOM, false);
|
||||
-
|
||||
- //if (theSerializer->canSetFeature(XMLUni::fgDOMWRTDiscardDefaultContent, true))
|
||||
- // theSerializer->setFeature(XMLUni::fgDOMWRTBOM, true);
|
||||
+ // set feature if the serializer supports the feature/mode
|
||||
+ SetParameter(theSerializer, XMLUni::fgDOMWRTSplitCdataSections, true);
|
||||
+ SetParameter(theSerializer, XMLUni::fgDOMWRTDiscardDefaultContent, true);
|
||||
+ SetParameter(theSerializer, XMLUni::fgDOMWRTFormatPrettyPrint, true);
|
||||
+ SetParameter(theSerializer, XMLUni::fgDOMWRTBOM, false);
|
||||
+ //SetParameter(theSerializer, XMLUni::fgDOMWRTBOM, true);
|
||||
|
||||
//
|
||||
// Plug in a format target to receive the resultant
|
||||
@@ -313,7 +335,13 @@
|
||||
//
|
||||
// do the serialization through DOMWriter::writeNode();
|
||||
//
|
||||
+#if XERCES_VERSION_MAJOR < 3
|
||||
theSerializer->writeNode(myFormTarget, *doc);
|
||||
+#else
|
||||
+ DOMLSOutput *output = ((DOMImplementationLS*)impl)->createLSOutput();
|
||||
+ output->setByteStream(myFormTarget);
|
||||
+ theSerializer->write(doc, output);
|
||||
+#endif
|
||||
|
||||
theSerializer->release();
|
||||
delete myFormTarget;
|
@ -0,0 +1,102 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-forensics/ovaldi/ovaldi-5.10.1.4.ebuild,v 1.1 2013/01/30 18:53:05 hwoarang Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Free implementation of OVAL"
|
||||
HOMEPAGE="http://oval.mitre.org/language/interpreter.html"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="acl ldap rpm selinux"
|
||||
|
||||
RDEPEND="dev-libs/libgcrypt
|
||||
dev-libs/libpcre
|
||||
dev-libs/xalan-c
|
||||
dev-libs/xerces-c
|
||||
sys-apps/util-linux
|
||||
sys-libs/libcap
|
||||
acl? ( sys-apps/acl )
|
||||
ldap? ( net-nds/openldap )
|
||||
rpm? ( app-arch/rpm )
|
||||
selinux? ( sys-libs/libselinux )"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-apps/sed"
|
||||
|
||||
S="${WORKDIR}/${P}-src"
|
||||
|
||||
src_prepare() {
|
||||
#Ovaldi do not support xerces 3, but portage have only that
|
||||
epatch "${FILESDIR}"/${P}-xerces3.patch
|
||||
sed -i 's,xercesc::DOMBuilder,xercesc::DOMLSParser,' src/XmlProcessor.h || die
|
||||
sed -i 's,DOMBuilder,DOMLSParser,' src/XmlProcessor.cpp || die
|
||||
|
||||
epatch "${FILESDIR}"/${P}-strnicmp.patch
|
||||
|
||||
if ! use ldap ; then
|
||||
einfo "Disabling LDAP probes"
|
||||
sed -i 's,.*ldap,//&,' src/linux/ProbeFactory.cpp || die
|
||||
sed -i 's,.*LDAP,//&,' src/linux/ProbeFactory.cpp || die
|
||||
sed -i 's/-lldap//' project/linux/Makefile || die
|
||||
sed -i 's/-llber//' project/linux/Makefile || die
|
||||
sed -i 's/.*LDAPProbe.h.*//' src/linux/ProbeFactory.h || die
|
||||
rm src/probes/independent/LDAPProbe.{cpp,h} || die
|
||||
fi
|
||||
|
||||
if ! use acl ; then
|
||||
sed -i 's,.*libacl,//&,' src/probes/unix/FileProbe.h || die
|
||||
epatch "${FILESDIR}"/disable-acl.patch
|
||||
sed -i 's, -lacl , ,' project/linux/Makefile || die
|
||||
fi
|
||||
|
||||
# rpm probes support is build dependant only on the presence of the rpm binary
|
||||
if use rpm ; then
|
||||
#Same problems as bug 274679, so i do a local copy of the header and patch it
|
||||
cp /usr/include/rpm/rpmdb.h src/probes/linux/ || die
|
||||
epatch "${FILESDIR}"/use_local_rpmdb.patch
|
||||
epatch "${FILESDIR}"/rpmdb.patch
|
||||
else
|
||||
einfo "Disabling rpm probes"
|
||||
sed -i 's/^PACKAGE_RPM/#PACKAGE_RPM/' project/linux/Makefile || die
|
||||
fi
|
||||
# same thing for dpkg, but package dpkg is not sufficient, needs app-arch/apt-pkg that is not on tree
|
||||
einfo "Disabling dpkg probes"
|
||||
sed -i 's/^PACKAGE_DPKG/#PACKAGE_DPKG/' project/linux/Makefile || die
|
||||
|
||||
#Disabling SELinux support
|
||||
if ! use selinux ; then
|
||||
rm src/probes/linux/SelinuxSecurityContextProbe.cpp || die
|
||||
rm src/probes/linux/SelinuxBooleanProbe.cpp || die
|
||||
rm src/probes/linux/SelinuxBooleanProbe.h || die
|
||||
epatch "${FILESDIR}"/${P}-disable-selinux-probes.patch
|
||||
sed -i 's,.*selinux.*,//&,' src/linux/ProbeFactory.cpp || die
|
||||
sed -i 's,.*Selinux.*,//&,' src/linux/ProbeFactory.cpp || die
|
||||
sed -i 's,.*selinux.*,//&,' src/linux/ProbeFactory.h || die
|
||||
sed -i 's,.*Selinux.*,//&,' src/linux/ProbeFactory.h || die
|
||||
sed -i 's,.*SecurityContextGuard.h.*,//&,' src/probes/unix/Process58Probe.cpp || die
|
||||
rm src/linux/SecurityContextGuard.h || die
|
||||
sed -i 's, -lselinux,,' project/linux/Makefile || die
|
||||
fi
|
||||
# respect CXXFLAGS and CXX
|
||||
sed -i -e '/^CPPFLAGS/s/$(INCDIRS)/$(CXXFLAGS) \0/' project/linux/Makefile || die
|
||||
tc-export CXX
|
||||
}
|
||||
|
||||
src_compile () {
|
||||
emake -C project/linux
|
||||
}
|
||||
|
||||
src_install () {
|
||||
# no make install in Makefile
|
||||
dosbin project/linux/Release/ovaldi project/linux/ovaldi.sh
|
||||
dodir /var/log/${PN}
|
||||
insinto /usr/share/${PN}
|
||||
doins xml/*
|
||||
dodoc docs/{README.txt,version.txt}
|
||||
doman docs/ovaldi.1
|
||||
}
|
@ -1,6 +1,26 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST yasat-456.tar.gz 116257 SHA256 bc6c598693b9bbebd30d3d4dcf54d94b5e519af524296bffa7c6965f1f843c68 SHA512 51510fb1fc2766cde72d6826c5eb14f5ae9a7eeb45a3898262be52b96996b2e01f94342d611a718e4e1983362a17552cf94ab8993109ed2a83acf7ed03420220 WHIRLPOOL c3341b2016cae2eba444a9763721db7350a739ac9768516607e5dc8369d9fbcae770786cb89aa831e74aeab0551935a4559a142018928ab4041127680ea85aa0
|
||||
DIST yasat-526.tar.gz 123976 SHA256 a4ff957d59923c7c87fbcde27c894d731a3685b8534be17867d9cdc41974e600 SHA512 8abcc43f49791e7fd4c7755a2d2b20b6b89d5437bf9dfd392867374ecaaddba96d311636b38d4a6ba60f52c342334675bb1f3894b7aeae446ab479b9a319f898 WHIRLPOOL fc84bf86ed5a655129e917be30e24928c7a6afdc53b6bc7481e22e2050bf9612459ffaf681bc19a39bb623c8a7907378fcc358a91b86bbbcf1c269e8a2745796
|
||||
EBUILD yasat-456.ebuild 561 SHA256 b13deb4b9e8c699cb7354347ef32153b0e9c074bc55632f8e175b9061f53bf57 SHA512 80c048d5c0df9411b7e516598982fe3fe3f13e063f0d524a00bbcd7f3efc4ea53712fc2638b69daa12f23198a0d19d2373f39f6e1680ca46f1082d9e3b38af32 WHIRLPOOL 0682fded804c365d68635dfd471b82b37c4979efc70e951ead3f421011253ce28dafbadcb3db440530eb9b1bc0fee854df4ded7fc070f555f549be2ccd0dea36
|
||||
EBUILD yasat-526.ebuild 591 SHA256 30563ff093f0b27eb0e6250c77239e5a6d0149bd6430799496c4bd8ca5040c4c SHA512 024de0d727050611271f6dfe73afc2e16c25630be22f9a42d0f6c1ba74505217fa7b9022f925002a6483f817f9bd24c518bd8a6f3106945c700fd04271c6c19f WHIRLPOOL e02a6e9e321261d2c8e6cf89269930bbaebe4fa0a8425bf5a70f638dbd3238062f1c8005cc4af8258d4ff8154c0a1f2bf00b9e5a67aa2aebe781c279b67cf5cd
|
||||
MISC ChangeLog 1736 SHA256 3d87692f9dd6ffdad36e64cfc80e5c2ae4fdcc0d626ce5dce8ce5343bbe83d51 SHA512 a565cb2c0ed06c00b61f78a6d9fd80025e62a2faf973f621ab1a86b3b1e085357137854ef5cd26ca2849e7a376ba1e3d59a4d4393b621654eb07e6ce2928ee3f WHIRLPOOL c78499c9936545b1736f4b17a23f0b2a9d705c4ab4f934ecf0465b9bd05f0b9cebc1d83e01f1347cc52b2a90268df43a126342e51f6e5bc3108fb8ed70f68977
|
||||
MISC metadata.xml 506 SHA256 493a2d62a9e6bcdbb025215977edf3774be7791f52be8c5e88176569a987085d SHA512 819f63a51f4587ffcd27050b5d3703c2bc19835fe058b8f6c991a40092d70903cd142ecd9e009d66c8234ef77200948c92f08bdbcf130e24d99dcaf5f69bc262 WHIRLPOOL bdf894fe2baa3dfe5edc41720078211162f7a263d55e04392e65c37b7dab085b480f143573c18f6813b55166e30096a909ec4f48b80ad409cd24ae55c397b5c9
|
||||
MISC ChangeLog 1832 SHA256 7c7e8847be96b094e95da4f336dcff9800657598485376fec2d7f1be5269338c SHA512 e54e2d98d11a4dad7184f33a6c81b411ca02eb86c69df25b00f901c4a0a9c9668236252482cb46f5ad3e2a95212dc8f5639165746c15bcb64a884af3de688696 WHIRLPOOL 69afded1f6341cb41da4936474695c7fd430b39d2ff64e34a25b0aff8c7bd9fa577b1e346f56f30666163b4e7dc6164c314344da999f14d098a4643dc2ef630f
|
||||
MISC metadata.xml 346 SHA256 f2b5ce669e5f075af3069247997e3147d94b1758079a3621b06c2a463ea61f83 SHA512 af70e72d87d73ec897b234f131a545f6dc1dee9fa85d27919fc3b64c8be74d77974df49b3b95092c95afb19403b64ba7ab1e111a79abd01a712ebbecbf347c4f WHIRLPOOL 3b5a1f8d47c4768a74aca16519cc1f5632a41956fd28424f703c3df844fb40d65fd8a6b3e22b8723ea7551dabc970853f9c1d03bd4fd13c0a942996eb0bf3a39
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iQIcBAEBCAAGBQJRCWxdAAoJEPqDWhW0r/LCDHYP/0eUjNsfDT612Pe1n78crbGO
|
||||
NtNBe33nsUdWYFU0Adgm5qtQ8Rd+c2IRNPU9kCp3BuVVFttg+jOJdfjb/867Lx93
|
||||
+OOtAmDWRk3GyICjGDd+DfjWRLC6x7twhFdqBFU09akHtmAeDmUm8mSuZRKbc2lG
|
||||
iFrekSQfM3fHgJEzVh7Nm/grvqefDVg+UWdCHtHcaYBj09lxs38pjoEuEjOpfbSF
|
||||
Ll+9Q1pHy2HJpNDP0mnW+Dj03p4HHoyY8FdTJM/HoAKyAPr7UwdKrVTW+uI3b4mY
|
||||
GoqfRkCuwOqD81bgeaNv2Z2k2cUK9H9R1JK/RBMZw0uPCxTX1/JvZmXBoGo+hDCw
|
||||
OAxk+3KPN6x+nZS/v6w/dUSow41oXBND9pXXCItU74W/NwVl9sLyCx7dh19aYL4l
|
||||
jnFfxo+oiFFavtBE9x8qSmg4ivtL6UAPvb211rdcBl29Afr/5RK/xPDsUlG4xDt/
|
||||
AT3fkke9limbqY7wpNz0k3tt9q/ZsDTeI5X1MrQnDp86amgmnr3OJDaf2hrXviXG
|
||||
xfOn/uxexeaW5tFjIEhvTVWzKo/pUMhrb7JqEAMvAc3xpoGiy1nMCGIuLZ0VFn2A
|
||||
QKlW69H+z1BARca0PK12twnXgR6SETJnW9ZqkOUzoPo7hx/bHbzW2KNllAs4uqlR
|
||||
1l2EO7ql3xYAiBOgJg9e
|
||||
=F0vB
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,9 @@
|
||||
# ChangeLog for app-i18n/fcitx-anthy
|
||||
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/fcitx-anthy/ChangeLog,v 1.1 2013/01/31 13:43:21 yngwin Exp $
|
||||
|
||||
*fcitx-anthy-0.1.1 (31 Jan 2013)
|
||||
|
||||
31 Jan 2013; Ben de Groot <yngwin@gentoo.org> +fcitx-anthy-0.1.1.ebuild,
|
||||
+metadata.xml:
|
||||
Initial commit. Ebuild based on the one by Wang Jiajun in gentoo-zh overlay.
|
@ -0,0 +1,4 @@
|
||||
DIST fcitx-anthy-0.1.1.tar.xz 68604 SHA256 c508068c7c9a56c26ea44b8e6ddb90a2ea75860031f89e171dcda8ec4cd08955 SHA512 e2c4bb20f0b0a370e5f28bff14312c2c14210695418438ebe697b94570fe502be8c96dc8fbf813fd3aa6e352283a7d31808a1f12266d4a8050646a8ae86de9d9 WHIRLPOOL 48f674ef23d62f2dc1286712cbb252d709d9e3890921d1f9296ff89f85c5ae211daa887841fc01f267fe44764275e8b6de4aef859d9f1456cb24f00023b262ce
|
||||
EBUILD fcitx-anthy-0.1.1.ebuild 656 SHA256 f0528780c0a68ce17e5fd34a326ea543883e2ea3b64836317f8b141926ebdbc5 SHA512 e61cb97bda9177cca3b32b1b4546435d1bdd1b3193401133a213cc11ce91dd41b9ef4603aea8d6dfc4e86abe0dd8185edc0b53db075da7fd0234536263731251 WHIRLPOOL ae3c59f1d3ec6704ce336bb220e3fbdad88e6e9bec77cdfbccf33ebc938522f9eef72c96fb3e734a82f95ce57d84f36195851dd7ff63a287609cf18c5b36b9fc
|
||||
MISC ChangeLog 418 SHA256 056ac36ff43c16fcbe0fcb978eb3aaf1e7e6346eb411d899dcf9f9b2798824e7 SHA512 6e207e01ef394bf4ec3307864c6b13b7f18e687fb4cd9fd36c26bf369506f21738c376a9d3e17c411e8b10f91d20ed1095651c711314e7500d8eb63831f1ade8 WHIRLPOOL 3b2e2512f0ccc749820044b747b758a1b73afde8f5747c2fad4319093ddc86f435c6a104d502d46c46413d73587098cef2adf0f38f5ecf990cda207efd6eee5e
|
||||
MISC metadata.xml 158 SHA256 18d71c580f82a389887f4970802b5f40e0a2e4c6019117e64268e008dfb81fc8 SHA512 6198c41a4d69a5ca0029aa9a593cc0ea553dc957fc0bdcd7bcd3bd1af7f84c5feaaf785160b60b8ed75282987818a6367f6092523cacd45f0c35494036043550 WHIRLPOOL 478bed9e1c3fbbcb13f17ffeebc2b9da5f3c48368e8a95c2802a88dbef4773f992fa254e4dc460248d5669021fe4e37b37be522d186da9d97321a58437679662
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/fcitx-anthy/fcitx-anthy-0.1.1.ebuild,v 1.1 2013/01/31 13:43:21 yngwin Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit cmake-utils gnome2-utils
|
||||
|
||||
DESCRIPTION="Japanese Anthy module for Fcitx"
|
||||
HOMEPAGE="http://fcitx-im.org/"
|
||||
SRC_URI="http://fcitx.googlecode.com/files/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-i18n/fcitx-4.2.5
|
||||
app-i18n/anthy"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/gettext
|
||||
virtual/libintl"
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>sci</herd>
|
||||
<herd>cjk</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,9 @@
|
||||
# ChangeLog for app-i18n/fcitx-chewing
|
||||
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/fcitx-chewing/ChangeLog,v 1.1 2013/01/31 13:30:54 yngwin Exp $
|
||||
|
||||
*fcitx-chewing-0.2.0 (31 Jan 2013)
|
||||
|
||||
31 Jan 2013; Ben de Groot <yngwin@gentoo.org> +fcitx-chewing-0.2.0.ebuild,
|
||||
+metadata.xml:
|
||||
Initial commit. Ebuild based on the one by Wang Jiajun in gentoo-zh overlay.
|
@ -0,0 +1,4 @@
|
||||
DIST fcitx-chewing-0.2.0.tar.xz 13968 SHA256 cf03b84004f1839a6f6e10dadf53edfbf8b6dcbb9d70579cde913b6b5e0a8dec SHA512 af8f2fb6fb5fb017522ac81fa9b14907d9537dace21ef594951f1dd717e276319666480aecaa55d0696c2ba80f74d51f7573aea9799d96a37bfa8305b8e04e54 WHIRLPOOL 6508407069d353c05b3167b413f5ab90f839afa6e77282ce79504ae23d831e150747a1c949e5fa8f0c021ba7b44b95087295336ad17d049bfbd41b87555aca5f
|
||||
EBUILD fcitx-chewing-0.2.0.ebuild 536 SHA256 c6f95fa405af19dbb90848ecb37e101fa0602dd6a31c54bef8dd24669457221c SHA512 4d56f0392255e544b52625f3f5001be8e99c11f1e119f10c78c9f75f7e3318496e2735415210d7fec5f04e34caac845a9464fff79e6be3faadfc24260b40d3b8 WHIRLPOOL e2e182baee0358c833a03bc77a9a3d0a573a4daa69fb71f0cdb6df6812e5663b31deeed02b2d34de1caf94bffad56abc83f9273df7ef5d25fcdf2d20fbfc9df6
|
||||
MISC ChangeLog 426 SHA256 c5fc32070d886b6810da5bde0d515ae2e5565b7e2bb58146b651fa2b675507a2 SHA512 72206038103b7509b03e004dd9ab5c9c70846b07bb605597c6308aa41f1da1b6b85df30a27ecca42ba18fd395452ae01c58b84197a0230106d82a11e0ad9e4b7 WHIRLPOOL 1aef2dcacbeb01af4c047d7834deefac5fac542a7170b8282f65f2a8285d7d5810ce1fb4dbe56cc15649275799c6d21465183ef2f36959e331f2816a07c41adc
|
||||
MISC metadata.xml 158 SHA256 18d71c580f82a389887f4970802b5f40e0a2e4c6019117e64268e008dfb81fc8 SHA512 6198c41a4d69a5ca0029aa9a593cc0ea553dc957fc0bdcd7bcd3bd1af7f84c5feaaf785160b60b8ed75282987818a6367f6092523cacd45f0c35494036043550 WHIRLPOOL 478bed9e1c3fbbcb13f17ffeebc2b9da5f3c48368e8a95c2802a88dbef4773f992fa254e4dc460248d5669021fe4e37b37be522d186da9d97321a58437679662
|
@ -0,0 +1,20 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/fcitx-chewing/fcitx-chewing-0.2.0.ebuild,v 1.1 2013/01/31 13:30:54 yngwin Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="Chewing module for Fcitx"
|
||||
HOMEPAGE="http://fcitx-im.org/"
|
||||
SRC_URI="http://fcitx.googlecode.com/files/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-i18n/fcitx-4.2.7
|
||||
dev-libs/libchewing"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/libintl"
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>cjk</herd>
|
||||
</pkgmetadata>
|
@ -1,6 +1,8 @@
|
||||
DIST fcitx-cloudpinyin-0.2.2.tar.xz 18452 SHA256 1516b7f72d4ee6822f3b4e37df5d25343323f2ae0b9aca2c6d225878ff776101 SHA512 974889fc7e0966fc083bf475004df08904874c2d339aec1e5741d3bdde42d67168c620074ad588e40f419a44f2efc0f1cdacbfcce8a6a04f7251d3d67f4dec8c WHIRLPOOL 44a14f7274810ddc923a9457156f606b0e9382e0a51c6e2bc0532450872adb229d9ec0ce611684006fd9b624bfb93c2d5fd5082262040af699618946f34d157c
|
||||
DIST fcitx-cloudpinyin-0.2.3.tar.xz 18636 SHA256 01a97c975e2485831d47bb9648f724683a89facba53d8d127bff950e61a77dff SHA512 5a804f54cdef75033174dcffc471c5a185b4bc9f14e53d9363fa92ad6223b59f9aecdaa04c98c8b136116a1bc2716726ed762de2f9cb0817f51fb5dc9ec620a6 WHIRLPOOL c4f8f71c20bd83d5143dc436d6f4c62e969934eaaa29e7ac554f795d82891599bf99cd8aba29ac96a5247cc0b38cdef2276dced1106abea1cb5f25dc4fd5297f
|
||||
DIST fcitx-cloudpinyin-0.3.1.tar.xz 19296 SHA256 2c919bf7979964bef861b432b821fc43fa94824e82372b03c653219b0fc05f6e SHA512 fda8501d8c132b3810f70d984f77652cefad5a052580c6607f893efdfed132a05053c6edf3ea8ba829e33abc237808eac6ca3521c6616ad2cfa5e3c4e0045297 WHIRLPOOL bcd8aae0339ecdc3db58a950c475e81133a90b08f9294dfea224d38ec7b6e2f929fff2d389761f2c90ee1553b9bd02fd8bf93ab9ef7c23101affebfff7b76d33
|
||||
EBUILD fcitx-cloudpinyin-0.2.2.ebuild 624 SHA256 6bb8ad2079a92f3be1c2791a2a58856965d02fba95bc269c8f40ab63d18c235b SHA512 ed8cf02ee53afb62ceb6496c1b78684b18f5bf130448ba48a0bed63b2ce4c017240465fddb5e5dc4cc6d5c7287078ebb385a3451c14eac47e1a9fef9e3629313 WHIRLPOOL b1c42325897f65f9c81cd9d03d7358fa314699918bb9ec31782b4febb4e895bf3d9f3792cf5c486984a328708c358f65901828f603ad6386adfde9ca3f1f1588
|
||||
EBUILD fcitx-cloudpinyin-0.2.3.ebuild 620 SHA256 6bfa7bf2d25d40fa8725915c60360f2c4164712e4481de14fc026d539fd0d22f SHA512 6fb41440b5595c96a3619ed8ce3061eacfebfd479ddbd99644b0a2c69ff876410a1eb90f2e58ba57124aa57207783e53dee5f86b0f2892de221224ab2b41dcc7 WHIRLPOOL 95dc6a41e4c8b09b1b0528cf73b346055328f024cfda0797123cba1f4d9876c02ab21a174ec2bd1f7fe6c030725ec54e3d3a0af23c3c3537959fdcc8d612ee6e
|
||||
MISC ChangeLog 762 SHA256 e04ebe9f7b83c2fbff2ea8d87da785a896f229e579b39ed67b8e55d4bb024467 SHA512 6a02c16d599a1d3cea97f2dda66b1de3387025ddd9bfa315afb2e7fc39f61c56fe1a3b659c55b151e55c2f6fed9d12adc6f4d67dcb3c45ffc1f1ef8eb7b4266d WHIRLPOOL 5d7dad0c9869f452eb8c2d49542b5aa5f3d644136b330b928949c4c2c73eb6246d95a2f89905b1e8b2f690414c3aac16cb2bfe3f276cc47e0a258b5c9ea2d74b
|
||||
EBUILD fcitx-cloudpinyin-0.3.1.ebuild 616 SHA256 ee69c94b3aa85a4de6699562261bdbc82111bde954c9939b7387fb23cfc2aa77 SHA512 5fb07a21673a01d7b8f89effcf75ba44477410a8db4ad6475f363708b2a9be568adcdda976633aa00335708b665f3f8778aeb2dba3f9ba9e21198322663f903e WHIRLPOOL 8600641807818ab3e0288a9e6fadaeb71767d3bacf50ba4eb6db70ef34caac321fdd8769459451f27a7d2a92d200760d5734cad169809235fd05cc310ec76dbd
|
||||
MISC ChangeLog 971 SHA256 f4d570b900a4af682736f817b62ec522f9e2f22d2d10f15b3f8d0a2c4ff9413d SHA512 22b4e155a02e1e60797e73bdb8420a6f05ff5c048921c0edb5874450966a81c852cb7c5cd282a75d750e4d99787ebe9d26c03ea570d935e0d2c817287594b532 WHIRLPOOL 7592a167d47018cd7fe910a75bf13ac6500672bbc3ddfc5239baa33715361f67aee5d70a500a4ee6f15e12d409ce2de85f69bd4220e9561bf580f5856fb4511f
|
||||
MISC metadata.xml 320 SHA256 dc9e160687ce2c8824d5fee7eda7e7e6b71d7c31f5491206d01dbc41abb342a4 SHA512 a0baa89783c79b738e39c1399cc633825e157b1c1b375ab8c6e1d1651acfe57b98357973e30f7e26588cd297689e90ca8668ee74c1c1c2e974f869be07795649 WHIRLPOOL 12507fc2459dad0b05e785b7309273ce04cf31325e1b67ddb4f2b723b39ff5671f7289f7dc722167aae62bdffa6110f4a2add97924a6dda101b258edfbb67d2f
|
||||
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/fcitx-cloudpinyin/fcitx-cloudpinyin-0.3.1.ebuild,v 1.1 2013/01/31 09:06:37 yngwin Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="A fcitx module to look up pinyin candidate words on the internet"
|
||||
HOMEPAGE="http://fcitx-im.org/"
|
||||
SRC_URI="http://fcitx.googlecode.com/files/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-i18n/fcitx-4.2.7
|
||||
net-misc/curl"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/libiconv
|
||||
virtual/libintl
|
||||
virtual/pkgconfig"
|
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/fcitx-configtool/fcitx-configtool-0.4.6.ebuild,v 1.2 2013/01/31 09:04:48 yngwin Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="A GTK+ GUI configuration tool for fcitx"
|
||||
HOMEPAGE="http://fcitx-im.org/"
|
||||
SRC_URI="http://fcitx.googlecode.com/files/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="gtk +gtk3"
|
||||
REQUIRED_USE="|| ( gtk gtk3 )"
|
||||
|
||||
RDEPEND=">=app-i18n/fcitx-4.2.7
|
||||
dev-libs/glib:2
|
||||
gtk? ( x11-libs/gtk+:2 )
|
||||
gtk3? ( x11-libs/gtk+:3 )"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/iso-codes
|
||||
dev-libs/libunique:1
|
||||
dev-util/intltool
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs="
|
||||
$(cmake-utils_use_enable gtk GTK2)
|
||||
$(cmake-utils_use_enable gtk3 GTK3)"
|
||||
cmake-utils_src_configure
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
# ChangeLog for app-i18n/fcitx-hangul
|
||||
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/fcitx-hangul/ChangeLog,v 1.1 2013/01/31 13:48:51 yngwin Exp $
|
||||
|
||||
*fcitx-hangul-0.2.1 (31 Jan 2013)
|
||||
|
||||
31 Jan 2013; Ben de Groot <yngwin@gentoo.org> +fcitx-hangul-0.2.1.ebuild,
|
||||
+metadata.xml:
|
||||
Initial commit. Ebuild based on the one by Wang Jiajun in gentoo-zh overlay.
|
@ -0,0 +1,4 @@
|
||||
DIST fcitx-hangul-0.2.1.tar.xz 25064 SHA256 a084789d2f5646af9e60b8f95385ee1cbbd2dc402709a8b3a8ea82a16fbbae97 SHA512 da1a0926be129dcf49b5fd199b7a75d4f66d3c58944c7f5ae70219a2903c0277a99e9bd05e0758ae86f24b51f910425d70ea86112d85e852cf6f5f1f7fe78db8 WHIRLPOOL c4dae7a479d385da877ffdea36d439e61fa441090b8f86cecf83239250f1cc1ba19204f378ce39c02fe135dd120a4858819c183b25a79dc1989b0a236b6d37bd
|
||||
EBUILD fcitx-hangul-0.2.1.ebuild 661 SHA256 2ab381bbc4f1f4a6d7eaaea9190221a6ac33b90451dc9831ce4a8c8c0deca718 SHA512 473863c8c679fb977fc6d88fb48bc25311787eca66e7408a316781d410a9ed9b05e3d2393b7d1509e86e7b0e48a3419aea2f184c3af0d82561179dde6ef9d5ea WHIRLPOOL cb6139b928a800bf68b85b0c1458da4994cddd721470bf27eb08176ae6404c3314630579bfa586f956808aca5f198dc8006b8768698fb060b58038a0c0e40b41
|
||||
MISC ChangeLog 422 SHA256 54c3555a33e74c43741c9ce7968bc828a833344089483b33e7a55aa73148468e SHA512 c0aeea87afcc28df6d4cea1b24312221f544160bdd80d3280fc8aadbc2026f7adac977627b57752d545885d185334e1fae5198458f0e7d10307dea6f9d8552a9 WHIRLPOOL 494ca86e7a43711a0f0228a2ebe41db0bad1496188e02790a04aab9c2dfd0eeea1b61db6389d07bc80ec0ffc43900d85dfa84674fadd9fa6b932c5d481d5d8fd
|
||||
MISC metadata.xml 158 SHA256 18d71c580f82a389887f4970802b5f40e0a2e4c6019117e64268e008dfb81fc8 SHA512 6198c41a4d69a5ca0029aa9a593cc0ea553dc957fc0bdcd7bcd3bd1af7f84c5feaaf785160b60b8ed75282987818a6367f6092523cacd45f0c35494036043550 WHIRLPOOL 478bed9e1c3fbbcb13f17ffeebc2b9da5f3c48368e8a95c2802a88dbef4773f992fa254e4dc460248d5669021fe4e37b37be522d186da9d97321a58437679662
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/fcitx-hangul/fcitx-hangul-0.2.1.ebuild,v 1.1 2013/01/31 13:48:51 yngwin Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit cmake-utils gnome2-utils
|
||||
|
||||
DESCRIPTION="Korean Hangul module for Fcitx"
|
||||
HOMEPAGE="http://fcitx-im.org/"
|
||||
SRC_URI="http://fcitx.googlecode.com/files/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-i18n/fcitx-4.2.7
|
||||
app-i18n/libhangul"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/gettext
|
||||
virtual/libintl"
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>cjk</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,9 @@
|
||||
# ChangeLog for app-i18n/fcitx-libpinyin
|
||||
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/fcitx-libpinyin/ChangeLog,v 1.1 2013/01/31 12:54:37 yngwin Exp $
|
||||
|
||||
*fcitx-libpinyin-0.2.1 (31 Jan 2013)
|
||||
|
||||
31 Jan 2013; Ben de Groot <yngwin@gentoo.org> +fcitx-libpinyin-0.2.1.ebuild,
|
||||
+metadata.xml:
|
||||
Initial commit. Ebuild based on the one by Wang Jiajun in gentoo-zh overlay.
|
@ -0,0 +1,4 @@
|
||||
DIST fcitx-libpinyin-0.2.1_dict.tar.xz 10007544 SHA256 1ec33b2c56f98079fa5383b5fffcbe095ec64ffaa07eefebbc5d609136a2fab8 SHA512 7e446ac1e07301d6671f3de1059d099237aeeb46fdb9f68fce40a205cdcb17542345334b13f45b19f356743f92601492d178e6e2d578567c2506bed9c808ccbd WHIRLPOOL 598341a001d4cbb544bf3e3fc4449b1a323fc9ae6d3fc5fe8217b9a15bc2db22fb937e61bae32b3420a6b33d235368d6bd31fecfd1a845d1edd3acda320cb6f3
|
||||
EBUILD fcitx-libpinyin-0.2.1.ebuild 685 SHA256 3c69c564cad16d94642aef390a0c8970fe27a884c0892865f7964736811c3657 SHA512 310c7c16cf63f4b9925b25754b6bf193a052821e32c6ad975ced6a13b4d48a19d875af949e18366d23f2a5b597349cd8b7d470d8f7ddbaa7f4446c58d34a8311 WHIRLPOOL afcd9a9552e312cdbe1de6fa4661b130220d701b2b2a5ee1fd4bddc9d5ca34418d38263790b4be6a1488e0543d4378ae0b550ff7e36f6fc5392a9372cde36262
|
||||
MISC ChangeLog 434 SHA256 da03f8e2d8493db809c6ab80f65bd75cf40c6fd56a58e5f70dd831f7ef7fa183 SHA512 4ce59c0a399d5f1a5d0b3321e3085cb1098dc99583a19f853f80e423334fe9f6db86504a6ec2cfacaa71f3a0a14f02f15ed276b1202fbf25d699a2edf4374d27 WHIRLPOOL 77b6b90f77e7b8fc45f62f31cbbde167344a7958991e0edbe512497003138e2500535c462b795936cd1e165e8f1666a28d9c4de17c435e7d9c40686ef2688b06
|
||||
MISC metadata.xml 158 SHA256 18d71c580f82a389887f4970802b5f40e0a2e4c6019117e64268e008dfb81fc8 SHA512 6198c41a4d69a5ca0029aa9a593cc0ea553dc957fc0bdcd7bcd3bd1af7f84c5feaaf785160b60b8ed75282987818a6367f6092523cacd45f0c35494036043550 WHIRLPOOL 478bed9e1c3fbbcb13f17ffeebc2b9da5f3c48368e8a95c2802a88dbef4773f992fa254e4dc460248d5669021fe4e37b37be522d186da9d97321a58437679662
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/fcitx-libpinyin/fcitx-libpinyin-0.2.1.ebuild,v 1.1 2013/01/31 12:54:37 yngwin Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit cmake-utils gnome2-utils
|
||||
|
||||
DESCRIPTION="Libpinyin module for Fcitx"
|
||||
HOMEPAGE="http://fcitx-im.org/"
|
||||
SRC_URI="http://fcitx.googlecode.com/files/${P}_dict.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-i18n/fcitx-4.2.7
|
||||
app-i18n/libpinyin
|
||||
dev-libs/glib:2"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/libintl
|
||||
virtual/pkgconfig"
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>cjk</herd>
|
||||
</pkgmetadata>
|
@ -1,4 +1,6 @@
|
||||
DIST fcitx-rime-0.1.2.tar.xz 7356 SHA256 528472c13adb050543ba0402077d2e2b37258cb494f7d7900411cfd8c1ad9048 SHA512 325afed9807f99669d63c67bf1de33354697be924f5317e4020ae078755981c3a64d66d64f245bda6197fc2b0aef1a19b32a24e9a7c1a701d3b6b13653767a6a WHIRLPOOL b99177cecf5cce9e2c098e0d716f35a5add2ad0cd89ad655db81fb9c0e7bc4d111e6de1891d488af5eca29a65542af0c626d8cd0a69be87af5782db7905e3ef4
|
||||
DIST fcitx-rime-0.2.0.tar.xz 8116 SHA256 e4bc9243abffd1851b4ee19c88d7c2b32ede134aeda60aee930388f9f33ca269 SHA512 3f02d7bf0e47981e7a135ccaa46653be319d1bb716bd939b50419e47b8d3c07b347434e8529522d4266bd5fac6dbc2cdc1bfd4b7ea0607250023f70f97006228 WHIRLPOOL 7dbdcd3ac90f2d901b5b5c06541b9f6f1debf4ad833c2ddacb840dbd80a4443725fc7bdb41ad2261db8f34cb0dc77fe3d5f0c45e69a0a056618518007c1c708e
|
||||
EBUILD fcitx-rime-0.1.2.ebuild 820 SHA256 5ab6a422caca0a593c35d5668f166c148927fde5b1bdad65e62066a9e121a411 SHA512 3082e7a75ef39430c6170a1191d431a179ff5e20cbdbc5eca318e605c147edb91e4f4a73300a4f19de34a3275ef19eab8b823fdf72c2c5064abb8df3bade1c2a WHIRLPOOL 642984950f8386b398fad8654c810255d918b493a152518a0b0a09eefaedb8de568c21a43843d97ebd4da1e070c2d3f29eeb55875f53d7c1b428788d580148cd
|
||||
MISC ChangeLog 618 SHA256 3030bbc857b639f7924cd6906cdce27d7ae777740474eb77b0e70513adef803a SHA512 137822c2711d1d00a85e086dea720de707a69548b547556ee1e6c9254d1158425394d823ef058a8671456dbb987d105f1628916e5180684d14b8287571339209 WHIRLPOOL 2540f5d770f33f2a34151f590ed0511a3586347b144ecbbc3f6ad7fdd1604efee63be0c3bf854b9bba68b5ea578503707b0f64123605c1cf8d9f912630c6ab43
|
||||
MISC metadata.xml 550 SHA256 920e86b29ced653a5668fe43874ecb7b5488a7250794946c50a8807c7e1d04d4 SHA512 e051bdb788af3b12bb7ce24c748c5feb062fe8e4ef758e8145c3796ba102448ae0f4b066e8e41f80edec2f7a7e6104acf403d517d32de7affde108e18855f81a WHIRLPOOL 6900820e584c25ec8235ccd25056714a42c7740ffb5f75080713e305bfb3ca38fcc7bd915c228ace8a860ff585c7372d28ba66a60ed46463ead35330d6b1b5b3
|
||||
EBUILD fcitx-rime-0.2.0.ebuild 815 SHA256 073c7cc362d72f9ace75f2c9ae40770b072c1d705ecec4631c6452a83d053bbe SHA512 8432f84c3999afe801a70cc27e22159a492175b5abd501db1d173b9130e8b93f4f825483dc075015f2d813724c9622a7b3ed7bb7688b38a05830f66df4cff79c WHIRLPOOL 1de2a2a5a02192a6ef1b251b8f9aeff512ec9ded7655d8531240ca8bf6bfc3595c83329f00d061c2422c134be0b43ea9a454854104d1f579933820d95429fe09
|
||||
MISC ChangeLog 894 SHA256 ad9021e7d219c3434a3fbca9d6bac6e8ed367f8649abbf635cb98f1ec1ec5fc0 SHA512 fcfe99075d9344f94ada74a369f1bb9f9d268b6113f8f50f7e215098bda4d65c3c5f71e2622ecbbd8b26c8aab379cbc2e00b2453a71d68951f2935fbdee14b91 WHIRLPOOL 900f1fb2fc3341c7132a9723cc946355a70d8b73a39206e7a1e56317889fb5003becb7828b4da9d4d77c15c718a7e848fd3ddad8810a9a223b5ed11bebf98354
|
||||
MISC metadata.xml 446 SHA256 55cce8f9ccd631db814e3b42770382300e2071f77ed1736618304d2c07c144d0 SHA512 87eba2dd980cd553588512e29832a5f620fdf7b1a2f2b73e63e94255bf19908e5ce39483e6c58f363b447528ab5ff21287085733bc4fddc16e716c1f94a73607 WHIRLPOOL 17daf7dc6033e90caf61febd489783aaf4f4129556e6257102e447b4ead115c68ed7a1d88ab3b5129351e8672c7b8a54ff9c8a66c344e3881ba04afb19fb7539
|
||||
|
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/fcitx-rime/fcitx-rime-0.2.0.ebuild,v 1.1 2013/01/31 09:54:50 yngwin Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="Rime support for Fcitx"
|
||||
HOMEPAGE="http://fcitx-im.org/"
|
||||
SRC_URI="https://fcitx.googlecode.com/files/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-i18n/fcitx-4.2.7
|
||||
app-i18n/librime
|
||||
app-i18n/rime-data
|
||||
x11-libs/libnotify"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
# dont build data resource here, already provided by app-i18n/rime-data
|
||||
sed -i -e 's|add_subdirectory(data)||' CMakeLists.txt || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DRIME_DATA_DIR=/usr/share/rime-data
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
@ -1,4 +1,7 @@
|
||||
AUX fcitx-sunpinyin-0.4.0-gcc46-compatible.patch 672 SHA256 e2de8ea64fa9507dbb040db09ebbb346c29bfaf325827ca333202f40cf87bd90 SHA512 67ef866cb6e0a2c16f53249e60ee6df4ba9fd5a5c796d66527efebe68fe32b7da6daa3fd5488a1b4c86523380cc5dd1b51e975261b38cdb6e49e982fe9b18c85 WHIRLPOOL a4b1f43463c35b79f5e222a7577cc7f3a8afc0487c47d654f9158aaaa72c620f3e4344fada23bb938caeb465dc7393a10fa8f72a5f1e445c29dbbe14b499580c
|
||||
DIST fcitx-sunpinyin-0.2.1.tar.gz 22515 SHA256 a12492729cdcde4e52116752fa3e011c6280e581bcf40b8e24f209094dd8f95d SHA512 22e763d409d67a3d29352f4dabc7a4241b82b9037e4da6352b67f9cd03789ce30da39d3e691a1255a903ecb8124aca2b827c7fd6241e8686150c248313d424e0 WHIRLPOOL 0626cf075c4fab46cc4fbbe8b0319b0f376124305167f9e0c017ccc7855f9f0d8db90ee331b4781f37e7ab7c58425100bacfad3ad2000b3222090089432a045d
|
||||
DIST fcitx-sunpinyin-0.4.0.tar.xz 40264 SHA256 366af4123455bd85e5af104ca0368057470079937f79eaa70e58951de4743acc SHA512 53def2f36de0d9517da0d154ae8926075c69a5712bf74a3e5ba5ba6266e2d94152dac77e051473828d98ed6a78d3f10557a8ca2081bf1f799405a4f6a4afb83f WHIRLPOOL 2c92a9d0a9d48eb8e4aca895ccddb91f1d1fbaf137bdc4fe32519cd25a8294be39140d117a0d4d20a5a3fa3c21086bd6edbd44d93fafdf8f885aa7d3d36f9843
|
||||
EBUILD fcitx-sunpinyin-0.2.1.ebuild 521 SHA256 1ab185375174d451c7371617aebce35ec9d85597feb6f630639bc48b33b4c697 SHA512 000829b79060fe1f021000cbb3a13504f8976e687d8acd188a69ca1f84274a81162fcf93f1aed03fcc6379a44f1a0e4aafeb750b8de93faa3a055522aac20797 WHIRLPOOL e500b98a696d563f11e2725f76ac9623aee87cf383a3eaa489f235a233af38bbe79471209fd6a3e55d0b11ee68d458bdab2b7e258cfe8df502343ff9e884c735
|
||||
MISC ChangeLog 681 SHA256 83355fd949671c5abc44f1f8be7a7d0e487eb264ababecf1394caa064cb84083 SHA512 e73035ffecd18f11f7aee2062ab97ae8a926dcecc08c664623defe3a67b5dfabaf1ac808fe89ede872d8553de4b347a637eec2eb56b8865fc2ce89fa0c90056e WHIRLPOOL ae58036c9b11fb695b6ffec7c66a1d743ba13ac602aadcc1bf1b46b0f1a56af23593ae3990ea45199313cd19390bc6817d976380b295891cb0584ee8e163967d
|
||||
EBUILD fcitx-sunpinyin-0.4.0.ebuild 734 SHA256 fbe50d5fdcb1018a9d5729766d6690a68bd794a596c6389868bf9ae916d531ae SHA512 ed113e1ad8fe9938eb92b40eaabe7910ca5e03ae13f76b33858eb1dc10ee4354ae568e8e8fbcd706e7bd6206173e50ce4268ed2a0bd78db5e82b566aec8317b2 WHIRLPOOL 8e865dbe562885e6a55fad242ff245ab9f5762a2d4181405987544d900eedb089556474d26d08b1d347bd3a763cd2a6f54fd5d19d702675f72512d796a3c41d8
|
||||
MISC ChangeLog 941 SHA256 f405ddd926957696fe71eba39b0d5f95bd29b89870143252cc9d715d1fede51d SHA512 a3910d365583bc425b51a48f3d7f34b1e691f03d0381b58836630d31926a950e37fbecb6b78511522d1cd1d5fdc4fb692c1a02b226527052f4f4a460923aa189 WHIRLPOOL c8a824b460275e1e9822f7b732db4d2f1ea71767d7b8169793448bdfa3bc8a0f3b1ff7ab91137df6a2d70cf75533ace8fe353a924f38cc55cda43924f586ece8
|
||||
MISC metadata.xml 320 SHA256 dc9e160687ce2c8824d5fee7eda7e7e6b71d7c31f5491206d01dbc41abb342a4 SHA512 a0baa89783c79b738e39c1399cc633825e157b1c1b375ab8c6e1d1651acfe57b98357973e30f7e26588cd297689e90ca8668ee74c1c1c2e974f869be07795649 WHIRLPOOL 12507fc2459dad0b05e785b7309273ce04cf31325e1b67ddb4f2b723b39ff5671f7289f7dc722167aae62bdffa6110f4a2add97924a6dda101b258edfbb67d2f
|
||||
|
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/fcitx-sunpinyin/fcitx-sunpinyin-0.4.0.ebuild,v 1.1 2013/01/31 09:21:41 yngwin Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit cmake-utils gnome2-utils
|
||||
|
||||
DESCRIPTION="Sunpinyin module for fcitx"
|
||||
HOMEPAGE="http://fcitx-im.org/"
|
||||
SRC_URI="http://fcitx.googlecode.com/files/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-i18n/fcitx-4.2.7
|
||||
>app-i18n/sunpinyin-2.0.3"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/libintl"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-gcc46-compatible.patch"
|
||||
epatch_user
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
From f43108d900a2ce7fa52d1c6741fdf41b6747c94c Mon Sep 17 00:00:00 2001
|
||||
From: Weng Xuetian <wengxt@gmail.com>
|
||||
Date: Sat, 26 Jan 2013 19:56:31 -0500
|
||||
Subject: [PATCH] [sunpinyin] gcc46 compatible.
|
||||
|
||||
---
|
||||
src/eim.cpp | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/eim.cpp b/src/eim.cpp
|
||||
index e09521f..c1c898f 100644
|
||||
--- a/src/eim.cpp
|
||||
+++ b/src/eim.cpp
|
||||
@@ -49,8 +49,8 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
FCITX_DEFINE_PLUGIN(fcitx_sunpinyin, ime, FcitxIMClass) = {
|
||||
- .Create = FcitxSunpinyinCreate,
|
||||
- .Destroy = FcitxSunpinyinDestroy
|
||||
+ FcitxSunpinyinCreate,
|
||||
+ FcitxSunpinyinDestroy
|
||||
};
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
--
|
||||
1.7.10
|
||||
|
@ -0,0 +1,9 @@
|
||||
# ChangeLog for app-i18n/fcitx-table-extra
|
||||
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/fcitx-table-extra/ChangeLog,v 1.1 2013/01/31 13:10:36 yngwin Exp $
|
||||
|
||||
*fcitx-table-extra-0.3.3 (31 Jan 2013)
|
||||
|
||||
31 Jan 2013; Ben de Groot <yngwin@gentoo.org> +fcitx-table-extra-0.3.3.ebuild,
|
||||
+metadata.xml:
|
||||
Initial commit. Ebuild based on the one by Wang Jiajun in gentoo-zh overlay.
|
@ -0,0 +1,4 @@
|
||||
DIST fcitx-table-extra-0.3.3.tar.xz 3350592 SHA256 ae2bbf9146dfdeafb6220c9a738ddc1f0437da2c5f2da0d578ba4970bc74767d SHA512 ea100ba7bfc558395b678390bb787b15f674c13140ab22b5a9ef423e5114399633d24ec322904fd61d8f3613058744d08f615d4330ed948aad9dcff09818e36f WHIRLPOOL 10a61ea0aac14e9b55902276557c5b5daba17c14a3101d4e4e1384c8922c89dbfe96b1ac543e9ad3408f0951ecd7869a8c4c0d36d168129b2f78d611a0f70158
|
||||
EBUILD fcitx-table-extra-0.3.3.ebuild 679 SHA256 f34415028870186f03aae55a6a68172787d6c33a1bd869c33181f362bf35cddd SHA512 c42edffcb31a2000f1015f3449d6490ea3492ac9ee223f26f20ac2b2fcb49b5fa115c6529d1be5f59cb0cf49b51675cbf92729a69bb9effa2176ca5e6e2e9d99 WHIRLPOOL bc6ab17d799bfecd4e4a09e01a30337f45367bb1ff072c7531fdee8e8197a9a8dac065f80886f48d3636135fb8692febb97e2eb080fa8e166029db51999f691f
|
||||
MISC ChangeLog 442 SHA256 2ae678d649e465d3e26d010a06871bb4ef084a17df7c58fb62e2cdceaf2eb3e1 SHA512 d6e5496fc5458846fd7fcf7c89965915414d3adbe7a5c0869623ab6bf9db78bbb387473495f66319637908a9ae83a3cc9b8fc8738bdb32d5498e9b7d60cfe7ac WHIRLPOOL 9fa8dfc3353824645802f9fc2511921a83a6065065b8647aa18134387ecd44dda652d0ca748a4817c4016d29e4f1949e96934b254e8f06a11185b2e188e39acd
|
||||
MISC metadata.xml 158 SHA256 18d71c580f82a389887f4970802b5f40e0a2e4c6019117e64268e008dfb81fc8 SHA512 6198c41a4d69a5ca0029aa9a593cc0ea553dc957fc0bdcd7bcd3bd1af7f84c5feaaf785160b60b8ed75282987818a6367f6092523cacd45f0c35494036043550 WHIRLPOOL 478bed9e1c3fbbcb13f17ffeebc2b9da5f3c48368e8a95c2802a88dbef4773f992fa254e4dc460248d5669021fe4e37b37be522d186da9d97321a58437679662
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/fcitx-table-extra/fcitx-table-extra-0.3.3.ebuild,v 1.1 2013/01/31 13:10:36 yngwin Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit cmake-utils gnome2-utils
|
||||
|
||||
DESCRIPTION="Extra tables for Fcitx, including Boshiamy, Zhengma, Cangjie and Quick"
|
||||
HOMEPAGE="http://fcitx-im.org/"
|
||||
SRC_URI="http://fcitx.googlecode.com/files/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-i18n/fcitx-4.2.7[table]"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/libintl"
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>cjk</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,9 @@
|
||||
# ChangeLog for app-i18n/fcitx-unikey
|
||||
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/fcitx-unikey/ChangeLog,v 1.1 2013/01/31 14:21:08 yngwin Exp $
|
||||
|
||||
*fcitx-unikey-0.2.0 (31 Jan 2013)
|
||||
|
||||
31 Jan 2013; Ben de Groot <yngwin@gentoo.org> +fcitx-unikey-0.2.0.ebuild,
|
||||
+files/fcitx-unikey-0.2.0-cmake-qt-option.patch, +metadata.xml:
|
||||
Initial commit. Ebuild based on the one by Wang Jiajun in gentoo-zh overlay.
|
@ -0,0 +1,5 @@
|
||||
AUX fcitx-unikey-0.2.0-cmake-qt-option.patch 1664 SHA256 3f55747effba6e0fbed6edd0fd79a77b38be7bbab3314bf5d1f06affd50acd1b SHA512 873879e98423c992b2acfae979a7a08ba6ca54788de6f1c909c7aadb91cf29e2f461dfd3e9b32c5e6a348ba2af37a7649384901e68b1ca44be7610347abdaaa4 WHIRLPOOL ddf5cc93f920dabd71071275dda08c09b60dca62f8f05d4b4d3c5fde4676908d258021c82a8fb6ebd18ec06a21abfb0098fdfc2627179923f3ea57adde04d7d1
|
||||
DIST fcitx-unikey-0.2.0.tar.xz 70944 SHA256 152da48ffeb665fc5d88202f6491fa5f4d11284792c2ef079bea4a94c8b125e1 SHA512 10c5c2c5b7e4f40710daccc485b220ed4cdadc6e866636032873a86f9f8489490a42671c9d02aedbbda78a94e40801dd888efc9b692d26ff81fe6d1fe2e10fa7 WHIRLPOOL d6dfd445bd5aa98ec28ab0bd9668f288d67f27874ecdd079f78956172f3d5695fd990ce9e70f190a26edd1eab4f48a8263efc8682fe93679a85fc1db2f6745be
|
||||
EBUILD fcitx-unikey-0.2.0.ebuild 875 SHA256 fba7fdb6ec73c2a27f83f07384900edfd3266fa08f1b1a4777bcab1aec743e50 SHA512 57487ded0ca078e820ae4ad57eb4472982bb4ef9405001de4a42c195ef0e5ee61d751ed679d589e6310f52a10a2818cd8343b0cf3c03854fad99887a1e41cbbb WHIRLPOOL dd35f2b90046a916788787f78c09be766fd26d8c435ad885b945bfaf627bebbb8ba480f9008430b81a3b00669e8084b64fc779d3bb74c90667cbdb410fd4bf07
|
||||
MISC ChangeLog 471 SHA256 026f789a967f7f31bd470157c2bd4da678dd50e9f303e6d1e1de0a1e01b315a9 SHA512 37fbb4b725a19d833c50647c04d3ceeba09ec051d0674fda83ea27c784d2b0e2e19b0aa38b6add71c79c11c68df750d717301f1b72c2830198e9c49b0ac4c2b3 WHIRLPOOL d3ed7fd2364bd2cc0dfd060678e7d1fb1eaa25fe2f611006ae8a60bcdf1285058479f5b17fcea19a368a0436b3f357c9f49e4615e8c3636d18b924eea204d629
|
||||
MISC metadata.xml 158 SHA256 18d71c580f82a389887f4970802b5f40e0a2e4c6019117e64268e008dfb81fc8 SHA512 6198c41a4d69a5ca0029aa9a593cc0ea553dc957fc0bdcd7bcd3bd1af7f84c5feaaf785160b60b8ed75282987818a6367f6092523cacd45f0c35494036043550 WHIRLPOOL 478bed9e1c3fbbcb13f17ffeebc2b9da5f3c48368e8a95c2802a88dbef4773f992fa254e4dc460248d5669021fe4e37b37be522d186da9d97321a58437679662
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/fcitx-unikey/fcitx-unikey-0.2.0.ebuild,v 1.1 2013/01/31 14:21:08 yngwin Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit cmake-utils gnome2-utils
|
||||
|
||||
DESCRIPTION="Vietnamese Unikey module for Fcitx"
|
||||
HOMEPAGE="http://fcitx-im.org/"
|
||||
SRC_URI="http://fcitx.googlecode.com/files/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+qt4"
|
||||
|
||||
RDEPEND=">=app-i18n/fcitx-4.2.7[qt4?]"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/gettext"
|
||||
|
||||
src_prepare() {
|
||||
# Add cmake option to build the qt based macro editor or not
|
||||
epatch "${FILESDIR}/${P}-cmake-qt-option.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake-utils_use_enable qt4 QT)
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -0,0 +1,56 @@
|
||||
From f0f0d7c1ee5d83f33ceacaf78f4b7845ec2819de Mon Sep 17 00:00:00 2001
|
||||
From: Weng Xuetian <wengxt@gmail.com>
|
||||
Date: Sat, 26 Jan 2013 14:45:29 -0500
|
||||
Subject: [PATCH] [unikey] option for qt, detect qt 4.8
|
||||
|
||||
---
|
||||
CMakeLists.txt | 7 ++++++-
|
||||
macro-editor/CMakeLists.txt | 4 ++--
|
||||
2 files changed, 8 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index cef1625..5ccf21c 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -4,6 +4,8 @@ project(fcitx-unikey)
|
||||
|
||||
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake" ${CMAKE_MODULE_PATH})
|
||||
|
||||
+option(ENABLE_QT "Enable Qt based macro editor" On)
|
||||
+
|
||||
# uninstall target
|
||||
configure_file(
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/cmake_uninstall.cmake.in"
|
||||
@@ -21,9 +23,12 @@ set(CMAKE_MODULE_LINKER_FLAGS "-Wl,--as-needed ${CMAKE_MODULE_LINKER_FLAGS}")
|
||||
find_package(Fcitx 4.2.7 REQUIRED)
|
||||
find_package(Libiconv REQUIRED)
|
||||
find_package(Gettext REQUIRED)
|
||||
-find_package(Qt4)
|
||||
+
|
||||
+if (ENABLE_QT)
|
||||
+find_package(Qt4 4.8)
|
||||
|
||||
pkg_check_modules(FCITX_QT "fcitx-qt>=4.2.7")
|
||||
+endif (ENABLE_QT)
|
||||
|
||||
configure_file(config.h.in config.h)
|
||||
|
||||
diff --git a/macro-editor/CMakeLists.txt b/macro-editor/CMakeLists.txt
|
||||
index fbb2482..145ee0b 100644
|
||||
--- a/macro-editor/CMakeLists.txt
|
||||
+++ b/macro-editor/CMakeLists.txt
|
||||
@@ -16,9 +16,9 @@ fcitx_translate_add_sources(
|
||||
${MACRO_EDITOR_SRCS}
|
||||
${MACRO_EDITOR_HDRS})
|
||||
|
||||
-if (NOT QT_FOUND OR NOT FCITX_QT_FOUND)
|
||||
+if (NOT QT_FOUND OR NOT FCITX_QT_FOUND OR NOT ENABLE_QT)
|
||||
return()
|
||||
-endif (NOT QT_FOUND OR NOT FCITX_QT_FOUND)
|
||||
+endif (NOT QT_FOUND OR NOT FCITX_QT_FOUND OR NOT ENABLE_QT)
|
||||
|
||||
include_directories(
|
||||
${FCITX_QT_INCLUDE_DIRS}
|
||||
--
|
||||
1.7.10
|
||||
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>cjk</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,125 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/fcitx/fcitx-4.2.7.ebuild,v 1.2 2013/01/31 09:02:45 yngwin Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit cmake-utils eutils gnome2-utils fdo-mime multilib readme.gentoo
|
||||
|
||||
DESCRIPTION="Flexible Contect-aware Input Tool with eXtension support"
|
||||
HOMEPAGE="http://fcitx-im.org/"
|
||||
SRC_URI="http://fcitx.googlecode.com/files/${P}_dict.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="+X +autostart +cairo +dbus debug +enchant gtk gtk3 icu introspection lua
|
||||
nls opencc +pango qt4 snooper static-libs +table test +xml"
|
||||
|
||||
RDEPEND="
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXinerama
|
||||
)
|
||||
cairo? (
|
||||
x11-libs/cairo[X]
|
||||
pango? ( x11-libs/pango[X] )
|
||||
!pango? ( media-libs/fontconfig )
|
||||
)
|
||||
dbus? ( sys-apps/dbus )
|
||||
enchant? ( app-text/enchant )
|
||||
gtk? (
|
||||
x11-libs/gtk+:2
|
||||
dev-libs/glib:2
|
||||
dev-libs/dbus-glib
|
||||
)
|
||||
gtk3? (
|
||||
x11-libs/gtk+:3
|
||||
dev-libs/glib:2
|
||||
dev-libs/dbus-glib
|
||||
)
|
||||
icu? ( dev-libs/icu )
|
||||
introspection? ( dev-libs/gobject-introspection )
|
||||
lua? ( dev-lang/lua )
|
||||
opencc? ( app-i18n/opencc )
|
||||
qt4? (
|
||||
x11-libs/qt-gui:4[dbus,glib]
|
||||
x11-libs/qt-dbus:4
|
||||
)
|
||||
xml? (
|
||||
app-text/iso-codes
|
||||
dev-libs/libxml2
|
||||
x11-libs/libxkbfile
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/libintl
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog README THANKS TODO
|
||||
doc/pinyin.txt doc/cjkvinput.txt doc/API.txt doc/Develop_Readme )
|
||||
HTML_DOCS=( doc/wb_fh.htm )
|
||||
|
||||
src_prepare() {
|
||||
use autostart && DOC_CONTENTS="You have enabled the autostart USE flag,
|
||||
which will let fcitx start automatically on XDG compatible desktop
|
||||
environments, such as Gnome, KDE, LXDE, Razor-qt and Xfce. If you use
|
||||
~/.xinitrc to configure your desktop, make sure to include the fcitx
|
||||
command to start it."
|
||||
epatch "${FILESDIR}/${P}-gcc46-compatible.patch"
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs="
|
||||
-DLIB_INSTALL_DIR=/usr/$(get_libdir)
|
||||
$(cmake-utils_use_enable X X11)
|
||||
$(cmake-utils_use_enable autostart XDGAUTOSTART)
|
||||
$(cmake-utils_use_enable cairo CAIRO)
|
||||
$(cmake-utils_use_enable dbus DBUS)
|
||||
$(cmake-utils_use_enable debug DEBUG)
|
||||
$(cmake-utils_use_enable enchant ENCHANT)
|
||||
$(cmake-utils_use_enable gtk GTK2_IM_MODULE)
|
||||
$(cmake-utils_use_enable gtk3 GTK3_IM_MODULE)
|
||||
$(cmake-utils_use_enable icu ICU)
|
||||
$(cmake-utils_use_enable introspection GIR)
|
||||
$(cmake-utils_use_enable lua LUA)
|
||||
$(cmake-utils_use_enable nls GETTEXT)
|
||||
$(cmake-utils_use_enable opencc OPENCC)
|
||||
$(cmake-utils_use_enable pango PANGO)
|
||||
$(cmake-utils_use_enable qt4 QT)
|
||||
$(cmake-utils_use_enable qt4 QT_IM_MODULE)
|
||||
$(cmake-utils_use_enable qt4 QT_GUI)
|
||||
$(cmake-utils_use_enable snooper SNOOPER)
|
||||
$(cmake-utils_use_enable static-libs STATIC)
|
||||
$(cmake-utils_use_enable table TABLE)
|
||||
$(cmake-utils_use_enable test TEST)
|
||||
$(cmake-utils_use_enable xml LIBXML2)"
|
||||
if use gtk || use gtk3 || use qt4 ; then
|
||||
mycmakeargs+=" -DENABLE_GLIB2=ON "
|
||||
fi
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
rm -rf "${ED}"/usr/share/doc/${PN} || die
|
||||
use autostart && readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
use gtk && gnome2_query_immodules_gtk2
|
||||
use gtk3 && gnome2_query_immodules_gtk3
|
||||
use autostart && readme.gentoo_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
use gtk && gnome2_query_immodules_gtk2
|
||||
use gtk3 && gnome2_query_immodules_gtk3
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
From 4c703e395b55e939f3ac1e4a4bf5cd36aa5b0abc Mon Sep 17 00:00:00 2001
|
||||
From: Weng Xuetian <wengxt@gmail.com>
|
||||
Date: Sat, 26 Jan 2013 14:40:00 -0500
|
||||
Subject: [PATCH] [fcitx] fix compatible with gcc 4.6
|
||||
|
||||
---
|
||||
src/lib/fcitx/module.h | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/src/lib/fcitx/module.h b/src/lib/fcitx/module.h
|
||||
index 28de64f..bae6601 100644
|
||||
--- a/src/lib/fcitx/module.h
|
||||
+++ b/src/lib/fcitx/module.h
|
||||
@@ -109,7 +109,7 @@
|
||||
void* FcitxModuleInvokeFunction(FcitxAddon* addon, int functionId, FcitxModuleFunctionArg args);
|
||||
#define FcitxModuleInvokeVaArgs(addon, functionId, ARGV...) \
|
||||
(FcitxModuleInvokeFunction(addon, functionId, \
|
||||
- (FcitxModuleFunctionArg){ .args = {ARGV} }))
|
||||
+ (FcitxModuleFunctionArg){ {ARGV} }))
|
||||
|
||||
/**
|
||||
* invoke inter module function with addon name, returns NULL when fails (the function itself can also return NULL)
|
||||
@@ -133,7 +133,7 @@
|
||||
#define InvokeVaArgs(INST, MODULE, FUNC, ARGV...) \
|
||||
((MODULE##_##FUNC##_RETURNTYPE)FcitxModuleInvokeFunctionByName( \
|
||||
INST, MODULE##_NAME, MODULE##_##FUNC, \
|
||||
- (FcitxModuleFunctionArg){ .args = {ARGV} }))
|
||||
+ (FcitxModuleFunctionArg){ {ARGV} }))
|
||||
|
||||
/** add a function to a addon */
|
||||
#define AddFunction(ADDON, Realname) \
|
||||
@@ -215,7 +215,7 @@
|
||||
}
|
||||
|
||||
#define FCITX_DEF_MODULE_ARGS(var, ARGV...) \
|
||||
- FcitxModuleFunctionArg var = { .args = {ARGV} }
|
||||
+ FcitxModuleFunctionArg var = { {ARGV} }
|
||||
/* void *__##var##_array[] = {ARGV}; \ */
|
||||
/* size_t __##var##_length = sizeof(__##var##_array) / sizeof(void*); \ */
|
||||
/* FcitxModuleFunctionArg var[] = { { .n = __##var##_length, \ */
|
||||
--
|
||||
1.7.10
|
||||
|
@ -1,17 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>cjk</herd>
|
||||
<maintainer>
|
||||
<email>qiaomuf@gentoo.org</email>
|
||||
<name>Mu Qiao</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="introspection">Enable GObject Introspection</flag>
|
||||
<flag name="gtk3">Use GTK+3 instead of 2</flag>
|
||||
<flag name='opencc'>Enable OpenCC for Chinese Transform</flag>
|
||||
<flag name='pango'>Enable support for <pkg>x11-libs/pango</pkg></flag>
|
||||
<flag name='snooper'>Enable Key Snooper for gtk app</flag>
|
||||
<flag name='table'>Enable Table IM</flag>
|
||||
</use>
|
||||
<herd>cjk</herd>
|
||||
<use>
|
||||
<flag name='autostart'>Enable xdg-compatible autostart of fcitx</flag>
|
||||
<flag name='enchant'>Use <pkg>app-text/enchant</pkg> for text prediction</flag>
|
||||
<flag name='introspection'>Enable GObject Introspection</flag>
|
||||
<flag name='gtk'>Install GTK2 IM module</flag>
|
||||
<flag name='gtk3'>Install GTK3 IM module</flag>
|
||||
<flag name='opencc'>Enable OpenCC for Chinese Transform</flag>
|
||||
<flag name='pango'>Enable support for <pkg>x11-libs/pango</pkg></flag>
|
||||
<flag name='qt4'>Install Qt4 IM module</flag>
|
||||
<flag name='snooper'>Enable Key Snooper for GTK app</flag>
|
||||
<flag name='table'>Enable Table IM</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,9 @@
|
||||
# ChangeLog for app-i18n/kcm-fcitx
|
||||
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/kcm-fcitx/ChangeLog,v 1.1 2013/01/31 10:48:31 yngwin Exp $
|
||||
|
||||
*kcm-fcitx-0.4.2 (31 Jan 2013)
|
||||
|
||||
31 Jan 2013; Ben de Groot <yngwin@gentoo.org> +kcm-fcitx-0.4.2.ebuild,
|
||||
+metadata.xml:
|
||||
Initial commit
|
@ -0,0 +1,4 @@
|
||||
DIST kcm-fcitx-0.4.2.tar.xz 63796 SHA256 f681c1a4172b74a63c36094f860eff4ea778422e1062b00fd03509eda745ed66 SHA512 51ccc5b03f076e73cda7852b1bb1598e56114fe1a7733f3eb0a731c0249cbaa2ac7f4c27115929d236cc94a3f131fc790933cddff624387d050fecf3e170842e WHIRLPOOL 6c0f3e4d345c7570ee519878c141ba2f708c85e0dc8a171058af291e6a02b48cdd3965335b9eb766f9a149b31d5fccc0334f8bb7352eb978625367af064e6b17
|
||||
EBUILD kcm-fcitx-0.4.2.ebuild 562 SHA256 40e86c86d6ae859db9478331d1544bdc69e4773c3c04e883428c41cf068b73d0 SHA512 db7eacf33061368d9686d1f2c9b789ef3f1251ad04f0b55eb9fed9d4f8191a46807812ddc5602df2abc1d0725a75b7b81c5b7ba1ac9c5d3cb9f1e82d8d0fb443 WHIRLPOOL ee1d756a77101547d553c02926d091430cee1720facff65f967f37bf2711eb3e48e725fa109d05691819b4a8cd3712a3e245ccdb9b3c65529f27c6b406b10852
|
||||
MISC ChangeLog 348 SHA256 31946c8422a5663cf15d76719b0bb9e87e29f7f03f5ea5e1feb4e6605c7815c1 SHA512 cebb08087c78fd096645cb1abeb9262b1172021acc4130813ae0f8d8ccee04c393602c4e5f77b23e91a5579849dd669bdc769501523529c4cdb5333cc27003d7 WHIRLPOOL c3b15df5fba7239e7d055b33dd80cdb0f1a5ca8e1981bb244e29cf1d82a170cda8f9f6474f4947c8f84c036c2dd05c954318a068ab6b7669305a72814db9fe0e
|
||||
MISC metadata.xml 158 SHA256 18d71c580f82a389887f4970802b5f40e0a2e4c6019117e64268e008dfb81fc8 SHA512 6198c41a4d69a5ca0029aa9a593cc0ea553dc957fc0bdcd7bcd3bd1af7f84c5feaaf785160b60b8ed75282987818a6367f6092523cacd45f0c35494036043550 WHIRLPOOL 478bed9e1c3fbbcb13f17ffeebc2b9da5f3c48368e8a95c2802a88dbef4773f992fa254e4dc460248d5669021fe4e37b37be522d186da9d97321a58437679662
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/kcm-fcitx/kcm-fcitx-0.4.2.ebuild,v 1.1 2013/01/31 10:48:31 yngwin Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="KDE configuration module for Fcitx"
|
||||
HOMEPAGE="http://fcitx-im.org/"
|
||||
SRC_URI="http://fcitx.googlecode.com/files/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-i18n/fcitx-4.2.7[qt4]
|
||||
x11-libs/libxkbfile"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig"
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>cjk</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,9 @@
|
||||
# ChangeLog for app-i18n/libpinyin
|
||||
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/libpinyin/ChangeLog,v 1.1 2013/01/31 12:39:48 yngwin Exp $
|
||||
|
||||
*libpinyin-0.8.0 (31 Jan 2013)
|
||||
|
||||
31 Jan 2013; Ben de Groot <yngwin@gentoo.org> +libpinyin-0.8.0.ebuild,
|
||||
+metadata.xml:
|
||||
Initial commit. Ebuild based on the one by Wang Jiajun in gentoo-zh overlay.
|
@ -0,0 +1,5 @@
|
||||
DIST libpinyin-0.8.0.tar 2682880 SHA256 42fdb08a880a8c42a25712267463704f988293e0bec20871a306022aefb08290 SHA512 762686b9e2fc95e8071832735764c54cb6252fa40bd5d3eb1e15445a267795b775288cef41f671bf4680f13c0a8b44377b12696ade832b80684300e1dd8787a0 WHIRLPOOL 0be6445e6e39c2f8f9124d0f549d11421092364d55c9345f2862f465ba78044b01df9e338acba055818a7d735e0c41e8e71b3f2f03830a14dd196a9dfe2c9107
|
||||
DIST model.text.tar.gz 10285854 SHA256 a4924c5b5923c3ff9ce55456a417486d07d3b2f7afc194f4338a1221fe36b533 SHA512 d3f137c7de0f357950abbb1e00c0f5d62fb5b4b0ea9f3a6dff29bf6bb2e4f5293319321abf1bad88742868563f65d74f0226f433ba4bcfdfe2c23fef6fea7c74 WHIRLPOOL fd1d637cfcecbbbd7506d15fd107106e578013aa9ca4c0be1aab110fb49ebcb2dbf1493953349e7cf7b0a8a5a0c2c216d993278d8ae78b42f5c703363b4efe60
|
||||
EBUILD libpinyin-0.8.0.ebuild 829 SHA256 655cac956d14c360149130681f4122bf043dfcea4519b3290ba4bdf87d79e1d3 SHA512 9d9b99596a171743a08c3fe5e62242bfda9484d96c8a82307021fea13a48e97cba421c82a0bea2668367ccda49f40a11ed649b26a43eb8628f072e71c36f7bde WHIRLPOOL 5033794225c67e01feec7929d6b7f6243ad62028db07a70ae148e448f8a2c481dbee7f99d42793cfde3e813f6f7a8641949f76de62ed46d10ff811c94063e36b
|
||||
MISC ChangeLog 410 SHA256 31430aa14905048d68666b4fc6be4ff3aadc77ba168339f6c4158ae388a1614d SHA512 5cb07846c9a2233459f12807ca9c735ad9b88664a26d16b312ea462d2b2498f652e1bfbe2c129f345c36e6694ed452c7aaac9590b2270db419e56b2081c594e1 WHIRLPOOL 39adb42e69efa9a5c9232e58eb866f32278c10d50b61679a80dbb4a3c03ce3a54a261231f3b694f3e82d534112844089e69d92cedffac59d19fed80f9e81ec66
|
||||
MISC metadata.xml 158 SHA256 18d71c580f82a389887f4970802b5f40e0a2e4c6019117e64268e008dfb81fc8 SHA512 6198c41a4d69a5ca0029aa9a593cc0ea553dc957fc0bdcd7bcd3bd1af7f84c5feaaf785160b60b8ed75282987818a6367f6092523cacd45f0c35494036043550 WHIRLPOOL 478bed9e1c3fbbcb13f17ffeebc2b9da5f3c48368e8a95c2802a88dbef4773f992fa254e4dc460248d5669021fe4e37b37be522d186da9d97321a58437679662
|
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/libpinyin/libpinyin-0.8.0.ebuild,v 1.1 2013/01/31 12:39:48 yngwin Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="Library for Chinese pinyin input methods"
|
||||
HOMEPAGE="https://github.com/libpinyin/libpinyin"
|
||||
SRC_URI="mirror://github/${PN}/${PN}/${PN}-lite-${PV}.tar.gz -> ${P}.tar
|
||||
mirror://github/${PN}/${PN}/model.text.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="=sys-libs/db-4*
|
||||
dev-libs/glib:2"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/libintl
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
ln -s "${DISTDIR}"/model.text.tar.gz data || die
|
||||
sed -e '/wget/d' -i data/Makefile.am || die
|
||||
epatch_user
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
prune_libtool_files
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>cjk</herd>
|
||||
</pkgmetadata>
|
@ -1,7 +1,29 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST recoll-1.16.2.tar.gz 1422148 SHA256 f0f29dff2d82ef8541c51963870f31daf28472f3c8822c81c17c346769b77355 SHA512 c71458bd1a42ef118560e516f30787b8c9dbc8b2841e667b77e420b0866c8308f8509e46be9eaa731348438d4194d1954bf369ea68e23eca5a65ac516806c609 WHIRLPOOL 320afbd8598aae44827eff09dfa936090fe1c4bf34e5d10f4115a211267e8f7f09b4e530e8915c75252dee3bda3c4955979a19075e14da4d99f27ee1bf00df92
|
||||
DIST recoll-1.17.3.tar.gz 1757278 SHA256 7778f80546e6b10ca45bfb7f8bb0876ccf3987dd4e98c5003ff923bd8b5acb1c SHA512 b41d28255e6bfbfc8e0025d88c3d56ecfbd35814bfa359c41f3e5d3cc25debe6d66dc617aa4c012e1911aa8c373c48a1661f7fff926e2cce423562af82c2fb31 WHIRLPOOL 3ba9d58a0df401832b1a97f34f4caec1b79aa7de027b936b05195d447e374097bff9205714b1a97c287610c74c0ec2e7e726b144c2295859c293a013c3564644
|
||||
DIST recoll-1.18.1.tar.gz 2026276 SHA256 8ea01dc64002b594b7ca08cf40c5581963bd98617d8ab5554164a8af4a9fd933 SHA512 cf930c648339843b00b5d8bd2074e111f3b397b3ed8453a8fcb7bfcf295adb95e7d0b7d7dcc78819609e7eb5417e1c259d4b10c6ea80c4b45fd61906ab7a7236 WHIRLPOOL 36de30218ca82bc09506e24104e84cf8ca2bc7dbcd00495dc203c6e5d083f5eac6badb513a4892465ae5d2b9869cf4dec89c2f519b04df649599ea9c168b080f
|
||||
EBUILD recoll-1.16.2.ebuild 4012 SHA256 e6e944516222018253a5f6e1a358e236193b6556f40b337d6c2f32d0c882ddbe SHA512 9c508416e9515caa3e4f57839dbf406deee0453295b4f91b2979b2782142b01881a8e7f55d5c11bfa35703a6fd918c3b33992582f115690f1e26edc3d6fc1527 WHIRLPOOL e9b9afc74c2fe323b4a6ad9b05136a62af62b3ef696a9d25684b52b25f510067b2605c44fd6415cadf58521565ec84a9bc9776985fe246798d5af72529740e6e
|
||||
EBUILD recoll-1.17.3-r1.ebuild 4298 SHA256 1869d71bb1b8fd50dde62554e9284cfd0a19cc0fd0b87ea61e289275f223368c SHA512 afcac8d6efa51e1ad883f785ffd83adcfa136fe98ccdb247a3ce886ecd6d262ba8be1d7fbbdc37c4b43a2149e18de9d3607833a4bc68dcdbf927dd62a6e94acc WHIRLPOOL 5a44ff0a5b1f0304f9a2a023daf1b28420e32bd80f59e7cce649291e2bd74d87369ca0b6bcb4b988937e2ddadea7de63032c7179726bb5cd7435458790b45527
|
||||
EBUILD recoll-1.17.3.ebuild 4113 SHA256 3af0155e892f525266276acfe92450681c82690c34dda70db1dc51f750b19023 SHA512 ffd547b09712b3636347b3890fe91afa75f33e5c3c000d7414e25f2831c97b8c53036b0e29bfc9405fb4dfffed3cc446c0673c3958c40babbe25a29d76f37936 WHIRLPOOL dc54e395d6e9f59f36a1df47618da0a0c1f17e5cb31ffd6564f695e57d398d6d8ae396561102dbbce14ccfc3296846b753f50d864d5fe6255b2585f36b500953
|
||||
MISC ChangeLog 2286 SHA256 163878f4ba86bd943cfcfb8c866df716f06482d7a648aa4edb7751d8f06203db SHA512 c0889f7cfa30abebe8652c33753e8e689f056d3b494c8081d63df5f07572dbc20f2363ae37ee9be1ac825a80c1bfbb13ee573efd4a81fed48f247f45eac66e01 WHIRLPOOL 5a573838fc5a538ff08e0d5b18bc913bbe44f45fdfb82376c01a768ae871089137990c9b92e6a15aec399cb16909b555b068d2e65a3c97cbe410b43a71e07eb7
|
||||
EBUILD recoll-1.18.1.ebuild 4768 SHA256 e0453363dcdcc477be3f5fecc7c2450db0a7e7d88d811e9f12d19298c37ebd69 SHA512 c0e2868923a07bb59658acd79d63652bd3aea9551386ec462d9582491cf241cfe1873bf05ff4765ba3adfd9e1d281511933fb5304b39e3f2eda35c52669598db WHIRLPOOL 90a69fdb9d427142aa0c9445bf7c1d1a142a3355538517a5e3f65a68c78b7b2012c6bd7c0327ac298f6d19e81d7fca9063d7184ed35fdf61d23269a0dc5e90e4
|
||||
MISC ChangeLog 2464 SHA256 05d692bde4072aea8d39cf4154478b008a6041f7797ff40b54cac5c095282180 SHA512 fb8b567e087b481c64005c1849a772ac978f68993f5357e9f4f46927c458721a3d5ac1f18cc2c385542277501c428b574d10231a9f3eda55822e62d8f4fef261 WHIRLPOOL a3c94743731255346818ae9b817de4033037ebe99d5deed6e01999590055cf6ba94065eabfbc3e6854b219f51edd3c9c0afe474e8fdd495d6a5a19cf9bcd2806
|
||||
MISC metadata.xml 1367 SHA256 3375e9e74dd52ce92023e548c072128aa561977395717a6d2dc6b25972154bc9 SHA512 7b4b5da5d425300c79701e57d420940850fcc0628af9827004afa2a379ab176bafe2cd9d1e0aa4ecf2e2b8ba7eebe4a596bc2fcbedec96f7fbfb6ffa37a4ff03 WHIRLPOOL b1ac460ca62f8e46503a37d32c3f81fdda359662a5bc3c2176551c9b2b26b20f8708d76596b71e3a8ec82ae3be6a0b521702bbe84aab4782838657fe4355e833
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iQIcBAEBCAAGBQJRCXJpAAoJEPqDWhW0r/LCS9MP/RcVhoPKqZjDCISIoFDHDetj
|
||||
7wVuvg1fWSC5CRcYFVXS4/EqItq0rZVrPuLPZ2KuCofj1KaqFovHwb+NA6wjvGHh
|
||||
VAjUK1zjV+I85Bor9jLqcYXtnLvbjuLTWE0T0Yaft6pmipj2Ty+2mNO5zucN0inu
|
||||
NrP1s75WW+SlW3UqSP1FBa5rGpwIE5rBL+ypT/7YtrfCggXCHMuONc6lFv/22uZ8
|
||||
U425wyqafY0r4oo0OlB5yS2YcR+Wfv38mYf34OIWyRbPSjnIUDHDlyIvgf3giIYf
|
||||
FzicdPOFCad2UZv5SNWGjQdGS4R6PVaPSgit6SKcApgFVMlUOkXpnmqk1qoFXXq1
|
||||
Y/vbT1ZbeNoZo2g0pYL106PSl3mxwD+hv6JhW+XVpb0K8fnAFZrDl8Iuplv2eMUz
|
||||
pXTXOHjD4oWfxAVXBQD5lQhR7Lwqjps9Cpd6NlrXy304uPsSA08xOJGbyrGrtUF+
|
||||
OmtNnqf0TC6V5kQ59Np2pgaoHeg1O3+mrPm8hcUpF6lGJBfpr/VdFt/JgAIjj7+1
|
||||
j7UcWi+2TekBJ7Hx58bYytDBjtFgxL1ZdVgo6XN6LxHhyHRilL6SSzyUdd1mVG8S
|
||||
8bTTqzD+EVcnrgcdT+FkEqNRaB2lNPxH6EzwlMwAcOZIPuBJbRPSkXPkqk/4OY16
|
||||
6JGhERzbRGj2XJChbVp5
|
||||
=KHVU
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,170 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/recoll/recoll-1.18.1.ebuild,v 1.1 2013/01/30 19:20:11 hwoarang Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
PYTHON_DEPEND="2"
|
||||
inherit toolchain-funcs qt4-r2 linux-info python
|
||||
|
||||
DESCRIPTION="A personal full text search package"
|
||||
HOMEPAGE="http://www.lesbonscomptes.com/recoll/"
|
||||
SRC_URI="http://www.lesbonscomptes.com/recoll/${P}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
INDEX_HELPERS="audio chm djvu dvi exif postscript ics info lyx msdoc msppt msxls pdf rtf tex wordperfect xml"
|
||||
IUSE="+spell inotify +qt4 +session camelcase xattr fam ${INDEX_HELPERS}"
|
||||
|
||||
DEPEND="
|
||||
virtual/libiconv
|
||||
>=dev-libs/xapian-1.0.12
|
||||
sys-libs/zlib
|
||||
spell? ( app-text/aspell )
|
||||
!inotify? ( fam? ( virtual/fam ) )
|
||||
qt4? (
|
||||
x11-libs/qt-core:4[qt3support]
|
||||
x11-libs/qt-webkit:4
|
||||
)
|
||||
session? (
|
||||
inotify? ( x11-libs/libX11 x11-libs/libSM x11-libs/libICE )
|
||||
!inotify? ( fam? ( x11-libs/libX11 x11-libs/libSM x11-libs/libICE ) )
|
||||
)
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
app-arch/unzip
|
||||
sys-apps/sed
|
||||
|| ( sys-apps/gawk sys-apps/mawk )
|
||||
pdf? ( app-text/poppler )
|
||||
postscript? ( app-text/pstotext )
|
||||
msdoc? ( app-text/antiword )
|
||||
msxls? ( app-text/catdoc )
|
||||
msppt? ( app-text/catdoc )
|
||||
wordperfect? ( app-text/libwpd:0.9 )
|
||||
rtf? ( app-text/unrtf )
|
||||
tex? ( dev-tex/detex )
|
||||
dvi? ( virtual/tex-base )
|
||||
djvu? ( >=app-text/djvu-3.5.15 )
|
||||
exif? ( media-libs/exiftool )
|
||||
chm? ( dev-python/pychm )
|
||||
ics? ( dev-python/icalendar )
|
||||
lyx? ( app-office/lyx )
|
||||
audio? ( media-libs/mutagen )
|
||||
xml? ( dev-libs/libxslt )
|
||||
info? ( sys-apps/texinfo )
|
||||
"
|
||||
|
||||
REQUIRED_USE="session? ( || ( fam inotify ) )"
|
||||
|
||||
pkg_pretend() {
|
||||
if use inotify; then
|
||||
CONFIG_CHECK="~INOTIFY_USER"
|
||||
check_extra_config
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
|
||||
local i at_least_one_helper
|
||||
|
||||
at_least_one_helper=0
|
||||
for i in $INDEX_HELPERS; do
|
||||
if use $i; then
|
||||
at_least_one_helper=1
|
||||
break
|
||||
fi
|
||||
done
|
||||
if [[ $at_least_one_helper -eq 0 ]]; then
|
||||
ewarn
|
||||
ewarn "You did not enable any of the optional file format flags."
|
||||
ewarn "Recoll can read some file formats natively, but many of them"
|
||||
ewarn "are optional since they require external helpers."
|
||||
ewarn
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# remember configure.ac is b0rked. Fix it before using eautoreconf in the
|
||||
# future
|
||||
# eautoreconf
|
||||
|
||||
# do not strip binaries
|
||||
sed -i -e "/STRIP/d" "${S}"/${PN}install.in \
|
||||
|| die "Failed to fix the installation script"
|
||||
# Drop all the QMAKE lines. We will do it ourselves
|
||||
sed -i -e "/QMAKE/d" Makefile.in || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local qtconf
|
||||
|
||||
use qt4 && qtconf="QMAKEPATH=/usr/bin/qmake"
|
||||
|
||||
econf \
|
||||
$(use_with spell aspell) \
|
||||
$(use_enable xattr) \
|
||||
$(use_with inotify) \
|
||||
$(use_enable qt4 qtgui) \
|
||||
$(use_enable camelcase) \
|
||||
$(use_with fam) \
|
||||
$(use_with inotify) \
|
||||
$(use_enable session x11mon) \
|
||||
${qtconf}
|
||||
cd qtgui && eqmake4 ${PN}.pro && cd ..
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Do not let upstream people decide on our behalf
|
||||
sed -i "s:ar ru:$(tc-getAR) ru:" lib/Makefile || die
|
||||
|
||||
emake \
|
||||
CC=$(tc-getCC) \
|
||||
CXX=$(tc-getCXX) \
|
||||
CFLAGS="${CFLAGS} ${LDFLAGS}" \
|
||||
CXXFLAGS="${CXXFLAGS} ${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# You probably wonder why I did not fix recollinstall in src_prepare.
|
||||
# --prefix requires an absolute path but recollinstall requires prefix
|
||||
# to be actually 'usr' because double // makes portage sad. And no, I am not
|
||||
# gonna ask upstream to fix the build system
|
||||
sed -i -e "/PREFIX/s:/usr:usr:" "${S}"/${PN}install || die
|
||||
sed -i -e "/prefix/s:/usr:usr:" "${S}"/Makefile || die
|
||||
|
||||
emake DESTDIR="${D%/}" install
|
||||
dodoc ChangeLog README
|
||||
mv "${D}/usr/share/${PN}/doc" "${D}/usr/share/doc/${PF}/html"
|
||||
dosym /usr/share/doc/${PF}/html /usr/share/${PN}/doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "Default configuration files located at"
|
||||
elog "/usr/share/${PN}/examples. Either edit these files to match"
|
||||
elog "your needs or copy them to ~/.recoll/ and edit these files"
|
||||
elog "instead."
|
||||
elog
|
||||
if use xattr; then
|
||||
elog "Use flag \"xattr\" enables support for fetching field values"
|
||||
elog "from extended file attributes. You will also need to set up a"
|
||||
elog "map from the attributes names to the Recoll field names"
|
||||
elog "(see comment at the end of the fields configuration file."
|
||||
fi
|
||||
if [[ -n ${REPLACING_VERSIONS} ]]; then
|
||||
elog
|
||||
elog "1.18 introduces significant index formats"
|
||||
elog "changes to support optional character case and diacritics"
|
||||
elog "sensitivity, and it will be advisable to reset the index in"
|
||||
elog "most cases. This will be best done by destroying the index"
|
||||
elog "directory (rm -rf ~/.recoll/xapiandb). If 1.18 is not configured"
|
||||
elog "for case and diacritics sensitivity, it is mostly compatible"
|
||||
elog "with 1.17 indexes."
|
||||
elog
|
||||
fi
|
||||
}
|
@ -1,10 +1,16 @@
|
||||
DIST calcurse-2.9.2.tar.gz 517071 SHA256 e116c52fb82a051b38950bdbdb3f9df99fce2713c64d3eda1de236bacba28a55 SHA512 1b8136535ca72dc4f42f60d16a9f11f51aa899659feb01aef621bc0ec9997a81444ce9465c269b4e8da848c89a54dac8f6a3e59982e74e3223950b666576c5bf WHIRLPOOL ce351c6fa54f0f6e824154ef4dec512b34f45ba2a8282ca2e1de3867dc2806357468cbeb41c75de92ef684eb8cc1a2762bb84cd66a2a720c8b4046d9eb1337d3
|
||||
DIST calcurse-3.0.0.tar.gz 682545 SHA256 8a633120a8da250bce11d746a98c9aac3309235a3acdf19d001ab36e62cacdfa SHA512 cd4defff719635469216d9edb592cbd22b845be74eeb060ca51a93f1c0fb3fb297857ef29464c77f2aa6571eac24249901dbab77845332d82217986e4fb8d7ff WHIRLPOOL fec1147e9e7883ef909168cbb52b94da00f36251fd13dfc1cb0626e33886ce0ee754a52c9526bccec4149d014466ffa950bca906b31c01084bd2ee809b421855
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST calcurse-3.1.1.tar.gz 678208 SHA256 0bc2cbe1eb33d61589b04e9d991572e4934f843660a14c64bd3be06f865d006d SHA512 c90973ddc3ef2707b43800d3b272ee652bc8289d8b68d9e516df92d4a2c70b9035fda8ced558c245da923670bf064217ad2b95edeb202229ee2350a11af8d24e WHIRLPOOL e7b02b721312c6173dd8f510eb71cdf35e183c915fee1b0de2c5af82119bf77c91e8ead0a1e53803a2abe7960865279077e8e6783c64e7bc9cc7db6be4f8e2c6
|
||||
DIST calcurse-3.1.2.tar.gz 678379 SHA256 47da7fc65ab122c6f989188f62eda473c7367b13b99693dc6de5fa5ea6f2a76e SHA512 5a1630e59ff62affd43ecc030a4753cda0977c209c2686bd2f7776c7956848f3709eb14ce0b2af56200dbca9631d263a39730f528d06b9cd160a2270ea6d031c WHIRLPOOL 3ea777870ecb7c44f698bb427486d48e241bc79a6dac2ab52498e07a4c1bd08ba694b3f665245181d00bc3caa9cd6ff9e9a84671c480f445366bfc92ac6e65f8
|
||||
EBUILD calcurse-2.9.2.ebuild 1081 SHA256 bc8d4618bb07b56e6750f02b32f4629fde7ca42cbce54cc63453b334ea8aeba7 SHA512 abb4dfa497b4cc1099b4f47bef49084a43cf4ad83a7a256c212eb13abaa9fd25d9609414dbaea0e3a7ee7309e9be81dd29a097657ee9a75a1e7cb77425fe8dd3 WHIRLPOOL ac4c4f0d5f89192bad3a16f239916c1c871ff4739c25675fd19be1b4280e98dcb3487ec59aa0057dac26b090a00a7c868a7333c958404ed9ba73c97791830420
|
||||
EBUILD calcurse-3.0.0.ebuild 647 SHA256 2c3483992841bbffd19761a7b3d0ec0ff4d152524534f53dd6e5d21660093f07 SHA512 999e0fa12488323e0562bc746e416c797a7925bd771098f31c85a6c61464c4a3767afcf41af9d0ae0131c87a07510b7a89481dd4bd361dc15f48cf1011c50a73 WHIRLPOOL a80954f76638c1f301d11cd78aa514fe9cbe336a627c8dc72757f5ac8f347a47545b56aaaf8172fb4a8603360a0c31492b878407e0c122f562ec574d16939fce
|
||||
EBUILD calcurse-3.1.1.ebuild 651 SHA256 77bbeddc0edd4486c9c243c601fe984f9ac9ce206e1b0cf70891ee2762ae4af3 SHA512 43fc20b817fa3d9bc6942754423faf5aaa7922d3d371a713d5be349c239ea2c9bceb58ec3cb835ecb35f61b30278ea9b9225c6b65ab2d6be5349fe2f50ad2291 WHIRLPOOL 1667e6e8d312835d765778090120386ccdfac82b9de27c898ce482bb548dbecbfb6b03d5bd6dfb44a9e2347fdbc76b84db39c3607c5bc54a4196ba21ef1aed8e
|
||||
EBUILD calcurse-3.1.1.ebuild 645 SHA256 c4fe581401eb3888b668120535ac4410cff820d40256aa56ee1fa74bc5ef0fb0 SHA512 fb9e1a6ec50dc0feb2375e9aa6e962d406931ca063a03908a18fe5ab2d1c5d2f4b759b1503833ff894ea5452b36dda7aa9e16b2e3291ff5cf591307a5acf0c1b WHIRLPOOL 0eb8ffb9386fdefafe6d548b782e5669d453bdc2638ff5063b488249ecbd05c122fd4edf0384dff24fe6b5aefd4c3d17de430ea439af06333127c2ebf5ec4da2
|
||||
EBUILD calcurse-3.1.2.ebuild 647 SHA256 68777238be73b2753407899ada4616c61f16bbb0eb65d2acecd4e4393e427681 SHA512 7569f04b3b84a3e46847a04ac9c2ecfee10166110f43580909e987f4b4b1ddc66a3b61cd6af1144e27db0d75c1d5e3bcbab6094ca4dd1a515dc8ff1e966020fe WHIRLPOOL d34f1b1db55373952895dc488a254bdbe887ed2ccb8836f1a56ee3a67bcc31c6c62677f950f0f9b1f10db4f0dafefaa84e8b221ee4668836bf51dc5b15cd2c82
|
||||
MISC ChangeLog 3604 SHA256 b5ddfd67eedfb44e5c3e757d39ec115dc9fd6d5bfb4ae4d0ff3101ed2a02aff6 SHA512 c5a01d233304e58b1b9533c04be891e1a8dda3e897581f49b9c101d5a0336553ad6e684eace8feed0df2afb3acff2ff5333e21330c6e82ae0c35d39ca9864c38 WHIRLPOOL e58435dfb098d4717b3dde648f94808e13319fd5b6b5c08bcb2d5863b2d0e23b674ab1d539a70b8519ba71349757b4e1098bd0951396550f43a78051833acd97
|
||||
MISC ChangeLog 3811 SHA256 7fc717d2cd5b98c5413f0f0a781a43bc68dc02deeecf74c16bb29f2de088141e SHA512 5057d9866095a55d13e5a073179fe1b84bb509603b0110ff2bae281222e5caef17b59656f15291ce57acf5bf99bd3553bc4b5d7ad5ecbebffedf19df8ab064e6 WHIRLPOOL c8fa5d7e6d259965c482eac7e22c26dd0bad4939718eca8fa6c306f8d3729ff76ba3b5da9df365f04573f6461e1ed47d3ca4d324b4defb4790f3426b5c8e0aee
|
||||
MISC metadata.xml 575 SHA256 4189d151a33a59ac2252216cb46a680a8d2d700cdc19207d3fae36114f57e7dc SHA512 bf735286a9fb7aaa62cc6834ba3da27669afbce0899b1a8725c6ab114551f5b82d987e6b70f80406e416829da8c0a03c2569b8e9f2fbb1cb71e781e0a999a75a WHIRLPOOL a68c3c067f8aef6ffae60b64ca60960631aea6c2ad6143fd732c290708dde823e07c30ba7b90b364a4c7b4ebab09c9f2baf2258de3ae9d7c4697d94b4a9b3d4c
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iEYEAREIAAYFAlEJcgsACgkQVWmRsqeSphNkYACeLP7EUFhoUHJ/EkBLET3BV56/
|
||||
z+YAn3CVo88tGxI+GCAgLM/l5PmMdSPp
|
||||
=nWrU
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/calcurse/calcurse-2.9.2.ebuild,v 1.4 2013/01/08 15:46:15 jer Exp $
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="a text-based personal organizer"
|
||||
HOMEPAGE="http://calcurse.org"
|
||||
SRC_URI="http://calcurse.org/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="linguas_en linguas_fr linguas_de linguas_es linguas_nl linguas_ru"
|
||||
|
||||
DEPEND="sys-libs/ncurses"
|
||||
RDEPEND=${DEPEND}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
rm po/LINGUAS
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local ALL_LINGUAS=""
|
||||
|
||||
use linguas_en && ALL_LINGUAS="${ALL_LINGUAS} en"
|
||||
use linguas_fr && ALL_LINGUAS="${ALL_LINGUAS} fr"
|
||||
use linguas_de && ALL_LINGUAS="${ALL_LINGUAS} de"
|
||||
use linguas_es && ALL_LINGUAS="${ALL_LINGUAS} es"
|
||||
use linguas_nl && ALL_LINGUAS="${ALL_LINGUAS} nl"
|
||||
|
||||
ALL_LINGUAS="${ALL_LINGUAS}" econf || die "econf failed"
|
||||
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
dodoc AUTHORS NEWS README TODO
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/calcurse/calcurse-3.0.0.ebuild,v 1.4 2013/01/08 15:46:15 jer Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="a text-based personal organizer"
|
||||
HOMEPAGE="http://calcurse.org"
|
||||
SRC_URI="http://calcurse.org/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
CC_LINGUAS="de en es fr nl pt_BR ru"
|
||||
for lingua in ${CC_LINGUAS}; do
|
||||
IUSE+=" linguas_${lingua}"
|
||||
done
|
||||
|
||||
RDEPEND="sys-libs/ncurses"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( sys-libs/libfaketime )"
|
||||
|
||||
DOCS=( AUTHORS NEWS README TODO )
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue