parent
09b562634a
commit
22ebc395c0
@ -1,5 +1,4 @@
|
||||
DIST puppet-lint-2.0.2.gem 60928 SHA256 d8d5336f14d9e484c33007c8527596154c2be8b5e7fb5a9f43f978298381f294 SHA512 e3cdba2cb3c55b73489bdd9e8df24f225ff8134cebc1f2a05a7118905c59eab47e8998f5afc6294288f4a7e226029e17351812b918ee51b81be921e16c94f692 WHIRLPOOL 168c57cc2884e7a4304fa205cbd5fa4c566f0f159bd1d373d11d400ff75a00626885a18998b139793f4fbbe3602fb6ce4f0231ce42e118da8faa1d8f1bec4f13
|
||||
DIST puppet-lint-2.1.0.gem 66048 SHA256 9e22529314ed737b4cde3f1e1f221e044661534e85149e70abf0546d1f633be1 SHA512 52b39c97c8b8b8d242a0260e2d7587e70c5e04873c67fd1986f5808ec92b0d17e93a112c67c67f594225b77a7cbbad0a893f0d5433a9826c1cf8b8dc3b2108c4 WHIRLPOOL 09073c354dbd37582fcec4291cf27a149e490afc41c7d690bf45dd427ddb204d25fe207e8ad340af75a68f7a516bf819f38372906c57fd697afb02b0afca1d77
|
||||
DIST puppet-lint-2.1.1.gem 67072 SHA256 e5b8d674f0ecc5049905d561309a6c420688aa74d8e0615d4bdf8c3fa6ebee89 SHA512 076aa2ca845a907c329651f0c43e0ff51e7f014e9530c00d6f3c4a79e36a075e6905cde24382969cacc740832050a4a6bbe522fd8d70139e36cef1bdd98689e7 WHIRLPOOL e7ef01008a9a739deedc489cbadcd1469d6da05b183088cb54c454324232ec014bffb3d0638e2fae57f38eeeca19ce1bcc242b4cb8daec3df4054c990174c7f3
|
||||
DIST puppet-lint-2.2.1.gem 74240 SHA256 f7f191e8bcd8ff35744bd5197548d283ecc1e117e08b6a3f0e614cb306140d87 SHA512 16aeaf4614104c5d3642c7c61acacbb33f4c0518a18c814cf2cc20aa40c19ac2e392758a980178d50c80c41544c8164d407ad7cd8d783a0d97b1606c55680570 WHIRLPOOL 71cebaebeb9d7e825db185a97c98d3b785bbcdb240f3e5c364ed145f017e205e09db3c03086dc1ab32d0474b43aa46f7284d5e41b4bf42dbc734b85ae42a930b
|
||||
DIST puppet-lint-2.3.0.gem 76288 SHA256 39393fe622b3e3c9585afcdda887b42117dfeac2317fbcd5548e0ddaa668e4bf SHA512 d0c21bad8eb5e7e2352de7e919ad44cccfb0086980a52e8d26b167c29a2a78e2e6efb692c8ac88c28cffcec125e1bf2f26973dca642d2ee9fea62a1342dfb709 WHIRLPOOL d6bb940745292ca90020c1eb1e1bee94ed479ef96dae23f4a34758431df9eb84cc46c9ad4acebf33613be54fd8c97cb59180f1895ecdbd454de9e79084c5f37e
|
||||
DIST puppet-lint-2.3.2.gem 82432 SHA256 872f0da4ea05ec561ed4b25ce2bba13626790e2239eab1b826e62af9a2d215be SHA512 5da388ad11285172e74de775d691ea49ebbbcadf938e7bddadff1bb9c9485dc30d7fa51e51db74d7912d23434223e3625e267a6785bd7f37243136553716db5e WHIRLPOOL e8559628e4e068161e1fec37f7f39f9228568132a6d977e4c2d87c1a1af741fd515ee43589b05d238c01aa43a257a29ac926e5d57d538bc3481f8aa6ee8ac822
|
||||
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby21 ruby22 ruby23"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
inherit eutils ruby-fakegem
|
||||
|
||||
DESCRIPTION="A linter for puppet DSL"
|
||||
HOMEPAGE="http://puppet-lint.com/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
dev-ruby/rspec-its:1
|
||||
dev-ruby/rspec-collection_matchers:1
|
||||
dev-ruby/rspec-json_expectations )"
|
@ -1,272 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit fcaps multilib toolchain-funcs flag-o-matic gnuconfig
|
||||
|
||||
MY_P="${P/_alpha/a}"
|
||||
|
||||
DESCRIPTION="A set of tools for CD/DVD reading and recording, including cdrecord"
|
||||
HOMEPAGE="https://sourceforge.net/projects/cdrtools/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/$([[ -z ${PV/*_alpha*} ]] && echo 'alpha')/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1 CDDL-Schily"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="acl caps nls unicode"
|
||||
|
||||
RDEPEND="acl? ( virtual/acl )
|
||||
caps? ( sys-libs/libcap )
|
||||
nls? ( virtual/libintl )
|
||||
!app-cdr/cdrkit"
|
||||
DEPEND="${RDEPEND}
|
||||
x11-misc/makedepend
|
||||
nls? ( >=sys-devel/gettext-0.18.1.1 )"
|
||||
|
||||
S=${WORKDIR}/${P/_alpha[0-9][0-9]}
|
||||
|
||||
FILECAPS=(
|
||||
cap_sys_resource,cap_dac_override,cap_sys_admin,cap_sys_nice,cap_net_bind_service,cap_ipc_lock,cap_sys_rawio+ep usr/bin/cdrecord --
|
||||
cap_dac_override,cap_sys_admin,cap_sys_nice,cap_net_bind_service,cap_sys_rawio+ep usr/bin/cdda2wav --
|
||||
cap_dac_override,cap_sys_admin,cap_net_bind_service,cap_sys_rawio+ep usr/bin/readcd
|
||||
)
|
||||
|
||||
cdrtools_os() {
|
||||
local os="linux"
|
||||
[[ ${CHOST} == *-darwin* ]] && os="mac-os10"
|
||||
[[ ${CHOST} == *-freebsd* ]] && os="freebsd"
|
||||
echo "${os}"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
gnuconfig_update
|
||||
|
||||
# This fixes a clash with clone() on uclibc. Upstream isn't
|
||||
# going to include this so let's try to carry it forward.
|
||||
# Contact me if it needs updating. Bug #486782.
|
||||
# Anthony G. Basile <blueness@gentoo.org>.
|
||||
use elibc_uclibc && epatch "${FILESDIR}"/${PN}-fix-clone-uclibc.patch
|
||||
|
||||
# Remove profiled make files.
|
||||
find -name '*_p.mk' -delete || die "delete *_p.mk"
|
||||
|
||||
# Adjusting hardcoded paths.
|
||||
sed -i -e "s|opt/schily|usr|" \
|
||||
$(find ./ -type f -name \*.[0-9ch] -exec grep -l 'opt/schily' '{}' '+') \
|
||||
|| die "sed opt/schily"
|
||||
|
||||
sed -i -e "s|\(^INSDIR=\t\tshare/doc/\)|\1${PF}/|" \
|
||||
$(find ./ -type f -exec grep -l '^INSDIR.\+doc' '{}' '+') \
|
||||
|| die "sed doc"
|
||||
|
||||
# Respect libdir.
|
||||
sed -i -e "s|\(^INSDIR=\t\t\)lib|\1$(get_libdir)|" \
|
||||
$(find ./ -type f -exec grep -l '^INSDIR.\+lib\(/siconv\)\?$' '{}' '+') \
|
||||
|| die "sed multilib"
|
||||
|
||||
# Do not install static libraries.
|
||||
sed -i -e "s|include\t\t.*rules.lib||" \
|
||||
$(find ./ -type f -exec grep -l '^include.\+rules\.lib' '{}' '+') \
|
||||
|| die "sed rules"
|
||||
|
||||
# Enable verbose build.
|
||||
sed -i -e '/@echo.*==>.*;/s:@echo[^;]*;:&set -x;:' \
|
||||
RULES/*.rul RULES/rules.prg RULES/rules.inc \
|
||||
|| die "sed verbose rules"
|
||||
|
||||
# Respect CC/CXX variables.
|
||||
cd "${S}"/RULES || die
|
||||
local tcCC=$(tc-getCC)
|
||||
local tcCXX=$(tc-getCXX)
|
||||
sed -i -e "/cc-config.sh/s|\$(C_ARCH:%64=%) \$(CCOM_DEF)|${tcCC} ${tcCC}|" \
|
||||
rules1.top || die "sed rules1.top"
|
||||
sed -i -e "/^CC_COM_DEF=/s|gcc|${tcCC}|" \
|
||||
-e "/^CC++_COM_DEF=/s|g++|${tcCXX}|" \
|
||||
-e "/COPTOPT=/s|-O||" \
|
||||
-e 's|$(GCCOPTOPT)||' \
|
||||
cc-gcc.rul || die "sed cc-gcc.rul"
|
||||
sed -i -e "s|^#\(CONFFLAGS +=\).*|\1\t-cc=${tcCC}|" \
|
||||
rules.cnf || die "sed rules.cnf"
|
||||
|
||||
# Schily make setup.
|
||||
cd "${S}"/DEFAULTS || die
|
||||
local os=$(cdrtools_os)
|
||||
|
||||
sed -i \
|
||||
-e "s|^\(DEFLINKMODE=\).*|\1\tdynamic|" \
|
||||
-e "s|^\(LINUX_INCL_PATH=\).*|\1|" \
|
||||
-e "s|^\(LDPATH=\).*|\1|" \
|
||||
-e "s|^\(RUNPATH=\).*|\1|" \
|
||||
-e "s|^\(INS_BASE=\).*|\1\t${ED}/usr|" \
|
||||
-e "s|^\(INS_RBASE=\).*|\1\t${ED}|" \
|
||||
-e "s|^\(DEFINSGRP=\).*|\1\t0|" \
|
||||
-e '/^DEFUMASK/s,002,022,g' \
|
||||
Defaults.${os} || die "sed Schily make setup"
|
||||
# re DEFUMASK above:
|
||||
# bug 486680: grsec TPE will block the exec if the directory is
|
||||
# group-writable. This is painful with cdrtools, because it makes a bunch of
|
||||
# group-writable directories during build. Change the umask on their
|
||||
# creation to prevent this.
|
||||
}
|
||||
|
||||
ac_cv_sizeof() {
|
||||
cat <<-EOF >"${T}"/test.c
|
||||
#include <inttypes.h>
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <sys/types.h>
|
||||
int main () {
|
||||
static int test_array [1 - 2 * !((sizeof(TYPE)) == LEN)];
|
||||
test_array [0] = 0;
|
||||
return test_array [0];
|
||||
}
|
||||
EOF
|
||||
|
||||
local i=1
|
||||
while [[ ${i} -lt 20 ]] ; do
|
||||
if ${CC} ${CPPFLAGS} ${CFLAGS} -c "${T}"/test.c -o /dev/null -DTYPE="$1" -DLEN=$i 2>/dev/null; then
|
||||
echo ${i}
|
||||
return 0
|
||||
fi
|
||||
: $(( i += 1 ))
|
||||
done
|
||||
return 1
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use acl || export ac_cv_header_sys_acl_h="no"
|
||||
use caps || export ac_cv_lib_cap_cap_get_proc="no"
|
||||
|
||||
# skip obsolete configure script
|
||||
if tc-is-cross-compiler ; then
|
||||
# Cache known values for targets. #486680
|
||||
|
||||
tc-export CC
|
||||
local var val t types=(
|
||||
char "short int" int "long int" "long long"
|
||||
"unsigned char" "unsigned short int" "unsigned int"
|
||||
"unsigned long int" "unsigned long long"
|
||||
float double "long double" size_t ssize_t ptrdiff_t
|
||||
mode_t uid_t gid_t pid_t dev_t time_t wchar_t
|
||||
"char *" "unsigned char *"
|
||||
)
|
||||
for t in "${types[@]}" ; do
|
||||
var="ac_cv_sizeof_${t// /_}"
|
||||
var=${var//[*]/p}
|
||||
val=$(ac_cv_sizeof "${t}") || die "could not compute ${t}"
|
||||
export "${var}=${val}"
|
||||
einfo "Computing sizeof(${t}) as ${val}"
|
||||
done
|
||||
# We don't have these types.
|
||||
export ac_cv_sizeof___int64=0
|
||||
export ac_cv_sizeof_unsigned___int64=0
|
||||
export ac_cv_sizeof_major_t=${ac_cv_sizeof_dev_t}
|
||||
export ac_cv_sizeof_minor_t=${ac_cv_sizeof_dev_t}
|
||||
export ac_cv_sizeof_wchar=${ac_cv_sizeof_wchar_t}
|
||||
|
||||
export ac_cv_type_prototypes="yes"
|
||||
export ac_cv_func_mlock{,all}="yes"
|
||||
export ac_cv_func_{e,f,g}cvt=$(usex elibc_glibc)
|
||||
export ac_cv_func_dtoa_r="no"
|
||||
export ac_cv_func_sys_siglist{,_def}="no"
|
||||
export ac_cv_func_printf_{j,ll}="yes"
|
||||
export ac_cv_realloc_null="yes"
|
||||
export ac_cv_no_user_malloc="no"
|
||||
export ac_cv_var_timezone="yes"
|
||||
export ac_cv_var___progname{,_full}="yes"
|
||||
export ac_cv_fnmatch_igncase="yes"
|
||||
export ac_cv_file__dev_{fd_{0,1,2},null,std{err,in,out},tty,zero}="yes"
|
||||
export ac_cv_file__usr_src_linux_include="no"
|
||||
|
||||
case $(cdrtools_os) in
|
||||
linux)
|
||||
export ac_cv_func_bsd_{g,s}etpgrp="no"
|
||||
export ac_cv_hard_symlinks="yes"
|
||||
export ac_cv_link_nofollow="yes"
|
||||
export ac_cv_access_e_ok="no"
|
||||
|
||||
export ac_cv_dev_minor_noncontig="yes"
|
||||
case ${ac_cv_sizeof_long_int} in
|
||||
4) export ac_cv_dev_minor_bits="32";;
|
||||
8) export ac_cv_dev_minor_bits="44";;
|
||||
esac
|
||||
|
||||
cat <<-EOF >"${T}"/test.c
|
||||
struct {
|
||||
char start[6];
|
||||
unsigned char x1:4;
|
||||
unsigned char x2:4;
|
||||
char end[5];
|
||||
} a = {
|
||||
.start = {'S', 't', 'A', 'r', 'T', '_'},
|
||||
.x1 = 5,
|
||||
.x2 = 4,
|
||||
.end = {'_', 'e', 'N', 'd', 'X'},
|
||||
};
|
||||
EOF
|
||||
${CC} ${CPPFLAGS} ${CFLAGS} -c "${T}"/test.c -o "${T}"/test.o
|
||||
if grep -q 'StArT_E_eNdX' "${T}"/test.o ; then
|
||||
export ac_cv_c_bitfields_htol="no"
|
||||
elif grep -q 'StArT_T_eNdX' "${T}"/test.o ; then
|
||||
export ac_cv_c_bitfields_htol="yes"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if use unicode; then
|
||||
local flags="$(test-flags -finput-charset=ISO-8859-1 -fexec-charset=UTF-8)"
|
||||
if [[ -n ${flags} ]]; then
|
||||
append-flags ${flags}
|
||||
else
|
||||
ewarn "Your compiler does not support the options required to build"
|
||||
ewarn "cdrtools with unicode in USE. unicode flag will be ignored."
|
||||
fi
|
||||
fi
|
||||
|
||||
# If not built with -j1, "sometimes" cdda2wav will not be built.
|
||||
emake -j1 CPPOPTX="${CPPFLAGS}" COPTX="${CFLAGS}" C++OPTX="${CXXFLAGS}" \
|
||||
LDOPTX="${LDFLAGS}" GMAKE_NOWARN="true"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# If not built with -j1, "sometimes" manpages are not installed.
|
||||
emake -j1 CPPOPTX="${CPPFLAGS}" COPTX="${CFLAGS}" C++OPTX="${CXXFLAGS}" \
|
||||
LDOPTX="${LDFLAGS}" GMAKE_NOWARN="true" install
|
||||
|
||||
# These symlinks are for compat with cdrkit.
|
||||
dosym schily /usr/include/scsilib
|
||||
dosym ../scg /usr/include/schily/scg
|
||||
|
||||
dodoc ABOUT Changelog* CONTRIBUTING PORTING README.linux-shm READMEs/README.linux
|
||||
|
||||
cd "${S}"/cdda2wav || die
|
||||
docinto cdda2wav
|
||||
dodoc Changelog FAQ Frontends HOWTOUSE NEEDED README THANKS TODO
|
||||
|
||||
cd "${S}"/mkisofs || die
|
||||
docinto mkisofs
|
||||
dodoc ChangeLog* TODO
|
||||
|
||||
# Remove man pages related to the build system
|
||||
rm -rvf "${ED}"/usr/share/man/man5 || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fcaps_pkg_postinst
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
einfo
|
||||
einfo "Darwin/OS X use the following device names:"
|
||||
einfo
|
||||
einfo "CD burners: (probably) ./cdrecord dev=IOCompactDiscServices"
|
||||
einfo
|
||||
einfo "DVD burners: (probably) ./cdrecord dev=IODVDServices"
|
||||
einfo
|
||||
fi
|
||||
}
|
@ -0,0 +1,148 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit autotools flag-o-matic multilib-minimal python-any-r1 versionator
|
||||
|
||||
MY_P="${P/mit-}"
|
||||
P_DIR=$(get_version_component_range 1-2)
|
||||
DESCRIPTION="MIT Kerberos V"
|
||||
HOMEPAGE="http://web.mit.edu/kerberos/www/"
|
||||
SRC_URI="http://web.mit.edu/kerberos/dist/krb5/${P_DIR}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="openafs-krb5-a BSD MIT OPENLDAP BSD-2 HPND BSD-4 ISC RSA CC-BY-SA-3.0 || ( BSD-2 GPL-2+ )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE="doc +keyutils libressl nls openldap +pkinit selinux +threads test xinetd"
|
||||
|
||||
CDEPEND="
|
||||
!!app-crypt/heimdal
|
||||
>=sys-libs/e2fsprogs-libs-1.42.9[${MULTILIB_USEDEP}]
|
||||
|| (
|
||||
>=dev-libs/libverto-0.2.5[libev,${MULTILIB_USEDEP}]
|
||||
>=dev-libs/libverto-0.2.5[libevent,${MULTILIB_USEDEP}]
|
||||
>=dev-libs/libverto-0.2.5[tevent,${MULTILIB_USEDEP}]
|
||||
)
|
||||
keyutils? ( >=sys-apps/keyutils-1.5.8[${MULTILIB_USEDEP}] )
|
||||
openldap? ( >=net-nds/openldap-2.4.38-r1[${MULTILIB_USEDEP}] )
|
||||
pkinit? (
|
||||
!libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] )
|
||||
libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] )
|
||||
)
|
||||
xinetd? ( sys-apps/xinetd )
|
||||
abi_x86_32? (
|
||||
!<=app-emulation/emul-linux-x86-baselibs-20140508-r1
|
||||
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
|
||||
)"
|
||||
DEPEND="${CDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
virtual/yacc
|
||||
doc? ( virtual/latex-base )
|
||||
test? (
|
||||
${PYTHON_DEPS}
|
||||
dev-lang/tcl:0
|
||||
dev-util/dejagnu
|
||||
)"
|
||||
RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-kerberos )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}/src
|
||||
|
||||
MULTILIB_CHOST_TOOLS=(
|
||||
/usr/bin/krb5-config
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
eapply "${FILESDIR}/${PN}-1.12_warn_cflags.patch"
|
||||
eapply -p2 "${FILESDIR}/${PN}-config_LDFLAGS.patch"
|
||||
eapply -p0 "${FILESDIR}/${PN}-1.14.2-redeclared-ttyname.patch"
|
||||
eapply "${FILESDIR}/${PN}-1.14.4-disable-nls.patch"
|
||||
|
||||
# Make sure we always use the system copies.
|
||||
rm -rf util/{et,ss,verto}
|
||||
sed -i 's:^[[:space:]]*util/verto$::' configure.in || die
|
||||
|
||||
eapply_user
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# QA
|
||||
append-flags -fno-strict-aliasing
|
||||
append-flags -fno-strict-overflow
|
||||
|
||||
multilib-minimal_src_configure
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
use keyutils || export ac_cv_header_keyutils_h=no
|
||||
ECONF_SOURCE=${S} \
|
||||
WARN_CFLAGS="set" \
|
||||
econf \
|
||||
$(use_with openldap ldap) \
|
||||
"$(multilib_native_use_with test tcl "${EPREFIX}/usr")" \
|
||||
$(use_enable nls) \
|
||||
$(use_enable pkinit) \
|
||||
$(use_enable threads thread-support) \
|
||||
--without-hesiod \
|
||||
--enable-shared \
|
||||
--with-system-et \
|
||||
--with-system-ss \
|
||||
--enable-dns-for-realm \
|
||||
--enable-kdc-lookaside-cache \
|
||||
--with-system-verto \
|
||||
--disable-rpath
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
emake -j1
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
multilib_is_native_abi && emake -j1 check
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
EXAMPLEDIR="${EPREFIX}/usr/share/doc/${PF}/examples" \
|
||||
install
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
# default database dir
|
||||
keepdir /var/lib/krb5kdc
|
||||
|
||||
cd ..
|
||||
dodoc README
|
||||
|
||||
if use doc; then
|
||||
dodoc -r doc/html
|
||||
docinto pdf
|
||||
dodoc doc/pdf/*.pdf
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}"/mit-krb5kadmind.initd-r2 mit-krb5kadmind
|
||||
newinitd "${FILESDIR}"/mit-krb5kdc.initd-r2 mit-krb5kdc
|
||||
newinitd "${FILESDIR}"/mit-krb5kpropd.initd-r2 mit-krb5kpropd
|
||||
newconfd "${FILESDIR}"/mit-krb5kadmind.confd mit-krb5kadmind
|
||||
newconfd "${FILESDIR}"/mit-krb5kdc.confd mit-krb5kdc
|
||||
newconfd "${FILESDIR}"/mit-krb5kpropd.confd mit-krb5kpropd
|
||||
|
||||
insinto /etc
|
||||
newins "${ED}/usr/share/doc/${PF}/examples/krb5.conf" krb5.conf.example
|
||||
insinto /var/lib/krb5kdc
|
||||
newins "${ED}/usr/share/doc/${PF}/examples/kdc.conf" kdc.conf.example
|
||||
|
||||
if use openldap ; then
|
||||
insinto /etc/openldap/schema
|
||||
doins "${S}/plugins/kdb/ldap/libkdb_ldap/kerberos.schema"
|
||||
fi
|
||||
|
||||
if use xinetd ; then
|
||||
insinto /etc/xinetd.d
|
||||
newins "${FILESDIR}/kpropd.xinetd" kpropd
|
||||
fi
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST libvirt-3.3.0.tar.xz 14043384 SHA256 29e00984174e33cf2183b478382c017de26860452ffee17b73871051264ebb1b SHA512 69166ddd7d4b9ef3b1bf2466e781139ef9b4d224a64acc7b8e6fca8786d36482138a1fe7b7407c0fca3b3d012cb418d168671a3e65e428f023c16493b7718c2d WHIRLPOOL 1b2688f6b9a89608677070b5ce1fd2b2af115336126d4214071bc1abba25056d54dbbf16d6bdfab7582b252a833d3e53e51175d552d5c936b08973c0eed76643
|
||||
DIST libvirt-3.6.0.tar.xz 14797704 SHA256 3a2c97f6950796f300f6a2e0404f4de8e51c3b9430cdb82738439adb0ac59e3d SHA512 6cde735a18cb71c9e6dbb25cd2a8f9c72d55ad7d74bdf97b00d784593f0bc59498917fb235ce04de4428899241520d87bf19c015b80282b3d0c12918d9b8b288 WHIRLPOOL 8185ad998158bac9aa6bc0dd0f590a3d9fb393ad94d308bdc84e60ac5c56e110d5f4a2355e2a10b01a6521d8261ae7484aee275e12a17cc7f2830f169e990596
|
||||
DIST libvirt-3.7.0.tar.xz 14803752 SHA256 4e7bcb209eeef99f026484293abc733e30ed06dabcdde62c4c3e95f71b2b67ba SHA512 b3f7021ef4c6954430f8fa503f0c49e3df4f662b228cb631ba2c2139ecec2307dde6cec05037cc28663e82ab1001296c20c5c68acd183cd364dd484a7746f498 WHIRLPOOL 93ae283bd9048983ea6f1bb9572a94313b40c0d7e82c8d61fc36c6b2fde6b2d1a16333a2ac89ef0675130eda07b5268d2ed3ddaef8305dd04858291559b95850
|
||||
|
@ -0,0 +1,68 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
inherit cmake-utils gnome2-utils
|
||||
|
||||
if [[ "${PV}" =~ (^|\.)9999$ ]]; then
|
||||
inherit git-r3
|
||||
|
||||
EGIT_REPO_URI="https://github.com/fcitx/fcitx-libpinyin"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Chinese LibPinyin input methods for Fcitx"
|
||||
HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx-libpinyin"
|
||||
if [[ "${PV}" =~ (^|\.)9999$ ]]; then
|
||||
SRC_URI="https://download.fcitx-im.org/data/model.text.20161206.tar.gz -> fcitx-data-model.text.20161206.tar.gz"
|
||||
else
|
||||
SRC_URI="https://download.fcitx-im.org/${PN}/${P}_dict.tar.xz"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2+ GPL-3+"
|
||||
SLOT="4"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="dictionary-manager"
|
||||
|
||||
RDEPEND=">=app-i18n/fcitx-4.2.9:4
|
||||
>=app-i18n/libpinyin-2.1.0:=
|
||||
dev-libs/glib:2
|
||||
sys-apps/dbus
|
||||
virtual/libintl
|
||||
dictionary-manager? (
|
||||
>=app-i18n/fcitx-qt5-1.1:4
|
||||
>=dev-qt/qtcore-5.7:5
|
||||
>=dev-qt/qtdbus-5.7:5
|
||||
>=dev-qt/qtgui-5.7:5
|
||||
>=dev-qt/qtnetwork-5.7:5
|
||||
>=dev-qt/qtwebengine-5.7:5[widgets]
|
||||
>=dev-qt/qtwidgets-5.7:5
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS=(AUTHORS)
|
||||
|
||||
src_prepare() {
|
||||
if [[ "${PV}" =~ (^|\.)9999$ ]]; then
|
||||
ln -s "${DISTDIR}/fcitx-data-model.text.20161206.tar.gz" data/model.text.20161206.tar.gz || die
|
||||
fi
|
||||
|
||||
cmake-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DENABLE_QT=$(usex dictionary-manager)
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST fcitx-m17n-0.2.3.tar.xz 33504 SHA256 84f9a9ac9e8c94db0c124d1c9cafa352191894b4d04d926611c5b0759e86de39 SHA512 6e78b70fb2e3139a59f49d25026c075893a8f192dd2083641ab3e56595a4f631ff13307dd647fd0eedd510dade690d97b44cbdeca96e086855f73910dc5d02af WHIRLPOOL e007a15f5908f37c115934e77ffbb446621ca132e87d13dea7aaed98e1cc566f1376229739572664b1cc90a9ef0ed6f4fafec719310a98815a4bc7d70625e5a3
|
||||
DIST fcitx-m17n-0.2.4.tar.xz 35076 SHA256 cf82158b907ba6b79aad3e4c26f9e0e2457a270619548adc31e9f77412144597 SHA512 b7c483e9c88e58a47ead294c36ed182558f09b41996e97faaba9fd3a96612f6a0fc240fdcb95db9a08c1546abe5fc97337957e2124844bd011363b7468f6e112 WHIRLPOOL 5559814bb1756b57e873eff4e5a2b36855da9fd84319bef091a931d8e7172b0fc519ca019c7a541e694d5dc3a26981d37d42d49e574dd654e0040e682bc650f3
|
||||
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
if [[ "${PV}" =~ (^|\.)9999$ ]]; then
|
||||
inherit git-r3
|
||||
|
||||
EGIT_REPO_URI="https://github.com/fcitx/fcitx-m17n"
|
||||
fi
|
||||
|
||||
DESCRIPTION="m17n-provided input methods for Fcitx"
|
||||
HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx-m17n"
|
||||
if [[ "${PV}" =~ (^|\.)9999$ ]]; then
|
||||
SRC_URI=""
|
||||
else
|
||||
SRC_URI="https://download.fcitx-im.org/${PN}/${P}.tar.xz"
|
||||
fi
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="4"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-i18n/fcitx-4.2.9:4
|
||||
dev-libs/m17n-lib
|
||||
virtual/libintl"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS=()
|
@ -1 +1,2 @@
|
||||
DIST fcitx-sayura-0.1.1.tar.xz 18756 SHA256 36b5d79fed0cefaff7832c82473404e96d68cc8560b1d626884604b0aad7bea6 SHA512 1eda91ae985df65982cf6f4e67b676bb8eb7117cd1aad7c2a90e81c13fa2a806bbff5eda7bb7e797cb26cb46bbda51931ecffd50384a89ead24ad90777183dc3 WHIRLPOOL ddcec7ba970868795df0ccf4eb3ebacb9a9ec29f6f05762fb5253ca6cc59fab78459fc11cb715bcc53856e5093378fb99f572ccd615fe84bbe053574efa1b69f
|
||||
DIST fcitx-sayura-0.1.2.tar.xz 25400 SHA256 4cf1c26625efbcae05e6a741b6f955d85c4d4970ab0642fd9ecdb1ac6d757f74 SHA512 2118c95d4f831e5f4e0af0549ae3eb4f16bff8b30b03452837bd14f35fcb524f730b27ceb7c14cf6a4db7400a67070929a75465195b5524187e97c7ca02de466 WHIRLPOOL 1fb0146a639ae74b51185c2eef86bf7a5e5e424d5d3d4cb0c6c21357ca55c0ad527aade5a161d9cbcfadde3dee721fb444f6adf5cdc5ea8603bb33c3de948e66
|
||||
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
inherit cmake-utils gnome2-utils
|
||||
|
||||
if [[ "${PV}" =~ (^|\.)9999$ ]]; then
|
||||
inherit git-r3
|
||||
|
||||
EGIT_REPO_URI="https://github.com/fcitx/fcitx-sayura"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Sinhala Sayura input method for Fcitx"
|
||||
HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx-sayura"
|
||||
if [[ "${PV}" =~ (^|\.)9999$ ]]; then
|
||||
SRC_URI=""
|
||||
else
|
||||
SRC_URI="https://download.fcitx-im.org/${PN}/${P}.tar.xz"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="4"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-i18n/fcitx-4.2.9:4
|
||||
virtual/libiconv
|
||||
virtual/libintl"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS=()
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST fcitx-unikey-0.2.0.tar.xz 70944 SHA256 152da48ffeb665fc5d88202f6491fa5f4d11284792c2ef079bea4a94c8b125e1 SHA512 10c5c2c5b7e4f40710daccc485b220ed4cdadc6e866636032873a86f9f8489490a42671c9d02aedbbda78a94e40801dd888efc9b692d26ff81fe6d1fe2e10fa7 WHIRLPOOL d6dfd445bd5aa98ec28ab0bd9668f288d67f27874ecdd079f78956172f3d5695fd990ce9e70f190a26edd1eab4f48a8263efc8682fe93679a85fc1db2f6745be
|
||||
DIST fcitx-unikey-0.2.4.tar.xz 72308 SHA256 726e5999c00e93856639258298688c835db1e80e4ac4d5ff0786433c0593c195 SHA512 d55fe71bbcbc420e0ba3ec61ad3c7e9293e33f30b6303d90591d5a94e89d7bbc513dc940ae5a081b81c0d973fa6674872a695eac03cfbbefb460609993219221 WHIRLPOOL 9178a4ec7bcf0b6f969295bef0b066b266e336352c52f9a8761cb1cb6456df6c3d90a90d90212c2fbe137ebc07a1cf6b79f82e959dc6ad3806158675ee040fbb
|
||||
DIST fcitx-unikey-0.2.5.tar.xz 72640 SHA256 8e0bc06d7771074e17acf7045f43aa3a6d9dc2c0e48f8d52548af9b393607b18 SHA512 b70cbc468c44677a6f831ab92539dc01386eec66d8b40eba57efc7130a3811548b5b1e8213c278fd26d1eac169d43913a5fe0f3728e925c874e7360ccd93636a WHIRLPOOL 5c223124a9750b1a060b9dc0f99236676f29f1280bc787e306d65a746671f667dfface3f23bb441d2122d9b33ed0d1a58491feea5c026c23dd91f51b71113c1b
|
||||
DIST fcitx-unikey-0.2.6.tar.xz 75124 SHA256 9830910f628d455d2701ba430e6cb5b41409a2ac2f9b098e5ed6aaa54d15a3cf SHA512 18efb387387c29bb059e1260bfb3c91e97f9989aedbe590596f1ad8659e9fad20777f048f20fb24e0fb5e2318eee1c25fc20a2d57ac846368c4c9bebf4eb2b90 WHIRLPOOL 6003fa47cba0908268f51ea50a55b62afe3dcd5a6c6f00ef773c3c68f914bce151c3103f5425050a1e79868a6ba383a5e7cd1b1d89221d9cc5c2dda9d46fe331
|
||||
|
@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
inherit cmake-utils gnome2-utils
|
||||
|
||||
if [[ "${PV}" =~ (^|\.)9999$ ]]; then
|
||||
inherit git-r3
|
||||
|
||||
EGIT_REPO_URI="https://github.com/fcitx/fcitx-unikey"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Vietnamese Unikey input methods for Fcitx"
|
||||
HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx-unikey"
|
||||
if [[ "${PV}" =~ (^|\.)9999$ ]]; then
|
||||
SRC_URI=""
|
||||
else
|
||||
SRC_URI="https://download.fcitx-im.org/${PN}/${P}.tar.xz"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2+ GPL-3+"
|
||||
SLOT="4"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="+macro-editor"
|
||||
|
||||
RDEPEND=">=app-i18n/fcitx-4.2.9:4
|
||||
virtual/libintl
|
||||
macro-editor? (
|
||||
>=app-i18n/fcitx-4.2.9:4[qt4]
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtgui:4
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS=()
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DENABLE_QT=$(usex macro-editor)
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -0,0 +1,144 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
inherit cmake-utils gnome2-utils xdg-utils
|
||||
|
||||
if [[ "${PV}" =~ (^|\.)9999$ ]]; then
|
||||
inherit git-r3
|
||||
|
||||
EGIT_REPO_URI="https://github.com/fcitx/fcitx"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Fcitx (Flexible Context-aware Input Tool with eXtension) input method framework"
|
||||
HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx"
|
||||
if [[ "${PV}" =~ (^|\.)9999$ ]]; then
|
||||
SRC_URI="https://download.fcitx-im.org/data/pinyin.tar.gz -> fcitx-data-pinyin.tar.gz
|
||||
https://download.fcitx-im.org/data/table.tar.gz -> fcitx-data-table.tar.gz
|
||||
https://download.fcitx-im.org/data/py_stroke-20121124.tar.gz -> fcitx-data-py_stroke-20121124.tar.gz
|
||||
https://download.fcitx-im.org/data/py_table-20121124.tar.gz -> fcitx-data-py_table-20121124.tar.gz
|
||||
https://download.fcitx-im.org/data/en_dict-20121020.tar.gz -> fcitx-data-en_dict-20121020.tar.gz"
|
||||
else
|
||||
SRC_URI="https://download.fcitx-im.org/${PN}/${P}_dict.tar.xz"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2+ LGPL-2+ MIT"
|
||||
SLOT="4"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
|
||||
IUSE="+X +autostart +cairo debug +enchant gtk2 gtk3 +introspection lua nls opencc +pango qt4 static-libs +table test +xml"
|
||||
REQUIRED_USE="cairo? ( X ) pango? ( cairo ) qt4? ( X )"
|
||||
|
||||
RDEPEND="dev-libs/glib:2
|
||||
sys-apps/dbus
|
||||
virtual/libiconv
|
||||
virtual/libintl
|
||||
x11-libs/libxkbcommon
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXinerama
|
||||
x11-libs/libXrender
|
||||
xml? (
|
||||
x11-libs/libxkbfile
|
||||
x11-misc/xkeyboard-config
|
||||
)
|
||||
)
|
||||
cairo? (
|
||||
x11-libs/cairo[X]
|
||||
x11-libs/libXext
|
||||
pango? ( x11-libs/pango )
|
||||
!pango? ( media-libs/fontconfig )
|
||||
)
|
||||
enchant? ( app-text/enchant:0= )
|
||||
gtk2? ( x11-libs/gtk+:2 )
|
||||
gtk3? ( x11-libs/gtk+:3 )
|
||||
introspection? ( dev-libs/gobject-introspection )
|
||||
lua? ( dev-lang/lua:= )
|
||||
nls? ( sys-devel/gettext )
|
||||
opencc? ( app-i18n/opencc:= )
|
||||
qt4? (
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtdbus:4
|
||||
dev-qt/qtgui:4
|
||||
)
|
||||
xml? (
|
||||
app-text/iso-codes
|
||||
dev-libs/libxml2
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
kde-frameworks/extra-cmake-modules:5
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS=(AUTHORS ChangeLog THANKS)
|
||||
|
||||
src_prepare() {
|
||||
if [[ "${PV}" =~ (^|\.)9999$ ]]; then
|
||||
ln -s "${DISTDIR}/fcitx-data-pinyin.tar.gz" src/im/pinyin/data/pinyin.tar.gz || die
|
||||
ln -s "${DISTDIR}/fcitx-data-table.tar.gz" src/im/table/data/table.tar.gz || die
|
||||
ln -s "${DISTDIR}/fcitx-data-py_stroke-20121124.tar.gz" src/module/pinyin-enhance/data/py_stroke-20121124.tar.gz || die
|
||||
ln -s "${DISTDIR}/fcitx-data-py_table-20121124.tar.gz" src/module/pinyin-enhance/data/py_table-20121124.tar.gz || die
|
||||
ln -s "${DISTDIR}/fcitx-data-en_dict-20121020.tar.gz" src/module/spell/dict/en_dict-20121020.tar.gz || die
|
||||
fi
|
||||
|
||||
# https://github.com/fcitx/fcitx/issues/250
|
||||
sed \
|
||||
-e "/find_package(XkbFile REQUIRED)/i\\ if(ENABLE_X11)" \
|
||||
-e "/find_package(XkbFile REQUIRED)/s/^/ /" \
|
||||
-e "/find_package(XkbFile REQUIRED)/a\\ find_package(XKeyboardConfig REQUIRED)\n endif(ENABLE_X11)" \
|
||||
-e "/^find_package(XKeyboardConfig REQUIRED)/,+1d" \
|
||||
-i CMakeLists.txt
|
||||
|
||||
cmake-utils_src_prepare
|
||||
xdg_environment_reset
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)"
|
||||
-DSYSCONFDIR="${EPREFIX}/etc"
|
||||
-DENABLE_CAIRO=$(usex cairo)
|
||||
-DENABLE_DEBUG=$(usex debug)
|
||||
-DENABLE_ENCHANT=$(usex enchant)
|
||||
-DENABLE_GETTEXT=$(usex nls)
|
||||
-DENABLE_GIR=$(usex introspection)
|
||||
-DENABLE_GTK2_IM_MODULE=$(usex gtk2)
|
||||
-DENABLE_GTK3_IM_MODULE=$(usex gtk3)
|
||||
-DENABLE_LIBXML2=$(usex xml)
|
||||
-DENABLE_LUA=$(usex lua)
|
||||
-DENABLE_OPENCC=$(usex opencc)
|
||||
-DENABLE_PANGO=$(usex pango)
|
||||
-DENABLE_QT=$(usex qt4)
|
||||
-DENABLE_QT_GUI=$(usex qt4)
|
||||
-DENABLE_QT_IM_MODULE=$(usex qt4)
|
||||
-DENABLE_SNOOPER=$(if use gtk2 || use gtk3; then echo yes; else echo no; fi)
|
||||
-DENABLE_STATIC=$(usex static-libs)
|
||||
-DENABLE_TABLE=$(usex table)
|
||||
-DENABLE_TEST=$(usex test)
|
||||
-DENABLE_X11=$(usex X)
|
||||
-DENABLE_XDGAUTOSTART=$(usex autostart)
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
rm -r "${ED}usr/share/doc/${PN}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
use gtk2 && gnome2_query_immodules_gtk2
|
||||
use gtk3 && gnome2_query_immodules_gtk3
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
use gtk2 && gnome2_query_immodules_gtk2
|
||||
use gtk3 && gnome2_query_immodules_gtk3
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST hstr-1.21.tar.gz 45851 SHA256 f0e9762f2a9587f0995bbd51cb64526ae852c2425ceb8ceee0747efba80ac6b3 SHA512 dbcb8766ca7f5ca2265f30726c451b9fe9a51d9dc7a08293fae1e9eb5cb2f562a5a9fa96fa90bd703ae3db0446628c884349c636060fbebd97bd7413a5c6e4d0 WHIRLPOOL 33cc21efe738efe7dd2bccf7c7fc7b79e6b0fb9bca0d458232a44695a0c422aa6184962ea69964e5b8e22a73aa7c54dc859dbb9666ab8b0e48abfeb6d8c72afd
|
||||
DIST hstr-1.22.tar.gz 46487 SHA256 c4995e7041dc66e2118f83bd4c6c7f4cff5b4c493ca28bd7e4aef76edeff71ba SHA512 5f31434410963c236f4e0d1117f09849b0a391d4173924d9eb2b2ddb9977a8bcb5a0c9b2e01045b618d01dfbcebd9c5db41534cb6abbb024a3515d5994b442cd WHIRLPOOL 30c6e42c91eebbcf55d6e8d89921d0760e3bda8e84ece0e2ccc7ef6be51dae15806f3db434b79a3afa4e8a9ebe63462fa927cc305c7a8d89a5d0651aa342493e
|
||||
|
@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
AUTOTOOLS_AUTORECONF=true
|
||||
|
||||
inherit autotools-utils
|
||||
|
||||
DESCRIPTION="Shell history suggest box"
|
||||
HOMEPAGE="https://github.com/dvorka/hstr http://www.mindforger.com"
|
||||
SRC_URI="https://github.com/dvorka/hstr/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="Apache-2.0"
|
||||
KEYWORDS="amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
sys-libs/ncurses:0="
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS=( CONFIGURATION.md README.md )
|
||||
|
||||
src_prepare() {
|
||||
sed \
|
||||
-e 's:-O2::g' \
|
||||
-i src/Makefile.am || die
|
||||
autotools-utils_src_prepare
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST gnatmem-gpl-2016-src.tar.gz 80104 SHA256 bd39c7b18e4f52fdd029b999f7e1af52d01c975063c28ae1ef6875e4fc5e224f SHA512 bc711af9eda55e89a22fee9dbe506a60fbdd718a9f47141a8d13ad4b97c4520c3988e3a55b6c85bb53098e542f655de9572aeefc99d88c41a2645d9f01b2828b WHIRLPOOL 8aee794c18efcbdbb50a4d58b9f247de30dea8d5b0a41034b1e20ad7786eefab5dfd14bf99994340a993d67989eab939ba78097d46933d841686d1bbc68fce0b
|
||||
DIST gnatmem-gpl-2017-src.tar.gz 80106 SHA256 11a27a66030b1a074875ccdaa0ffb06e86d687e1904ab0f5922e08bb488e5e7c SHA512 52ba2cfb24314f481ec07e351ff6d8883753dcfe5d0489a78536bf0b841d931055be02271a5d93b2ec15c52fd775d4b177a17de52f9472cc8f352bf044b28897 WHIRLPOOL 6599c8b77e89d7bc1f6b1eea459009aa2626173a7ebe47b65ead3ba76a109699ff8d0f27cfe1cea9fb0a8cb90cf9a897f70cf8af4647f21feec87b422e544c1b
|
||||
|
@ -0,0 +1,89 @@
|
||||
--- 1/configure.in.old 2016-12-08 20:57:53.942004080 +0100
|
||||
+++ 1/configure.in 2016-12-08 21:00:10.393677257 +0100
|
||||
@@ -2,23 +2,14 @@
|
||||
AC_INIT(gnatmem.gpr.in)
|
||||
AC_CANONICAL_SYSTEM
|
||||
AC_PROG_CC(gcc)
|
||||
-AC_CHECK_TOOL(GNATBIND,gnatbind,"no")
|
||||
-if test ${GNATBIND} = "no"; then
|
||||
- AC_MSG_ERROR(Ada compiler needed,1)
|
||||
-fi
|
||||
+AC_CONFIG_HEADERS(config.h:config.in)
|
||||
+AC_DEFINE_UNQUOTED(TARGET, "${target}", [Configured target name.])
|
||||
AC_ARG_WITH(binutils-buildtree,
|
||||
[AC_HELP_STRING(
|
||||
[--with-binutils-buildtree=<dir>],
|
||||
[Specifify location of binutils build tree])],
|
||||
BINUTILS_OBJDIR=$withval,
|
||||
BINUTILS_OBJDIR=no)
|
||||
-AC_MSG_CHECKING([for binutils build tree validity])
|
||||
-if test -f "$BINUTILS_OBJDIR/bfd/libbfd.a"; then
|
||||
- AC_MSG_RESULT(yes)
|
||||
-else
|
||||
- AC_MSG_RESULT(no)
|
||||
- AC_MSG_FAILURE([need valid binutils build tree directory (got $BINUTILS_OBJDIR)])
|
||||
-fi
|
||||
|
||||
AC_ARG_WITH(binutils-sources,
|
||||
[AC_HELP_STRING(
|
||||
@@ -26,21 +21,6 @@
|
||||
[Specifify location of binutils sources])],
|
||||
BINUTILS_SRCDIR=$withval,
|
||||
BINUTILS_SRCDIR=auto)
|
||||
-if test "$BINUTILS_SRCDIR" = "auto"; then
|
||||
- BINUTILS_SRCDIR=`cat "$BINUTILS_OBJDIR/Makefile" | sed -n -e "/^ *srcdir *=/ s/^ *srcdir *= *// p"`
|
||||
- case "$BINUTILS_SRC_DIR" in
|
||||
- /*) ;;
|
||||
- *) # assume we have relative path
|
||||
- BINUTILS_SRCDIR="$BINUTILS_OBJDIR/$BINUTILS_SRCDIR";;
|
||||
- esac
|
||||
-fi
|
||||
-AC_MSG_CHECKING([for binutils source dir validity])
|
||||
-if test -f "$BINUTILS_SRCDIR/bfd/Makefile.in"; then
|
||||
- AC_MSG_RESULT(yes)
|
||||
-else
|
||||
- AC_MSG_RESULT(no)
|
||||
- AC_MSG_FAILURE([need valid binutils sources directory])
|
||||
-fi
|
||||
|
||||
AC_SUBST(BINUTILS_OBJDIR)
|
||||
AC_SUBST(BINUTILS_SRCDIR)
|
||||
--- gnatmem-gpl-2016-src/gnatmem.gpr.in.old 2017-02-02 22:15:30.247906007 +0100
|
||||
+++ gnatmem-gpl-2016-src/gnatmem.gpr.in 2017-02-02 22:17:22.604974363 +0100
|
||||
@@ -10,8 +10,10 @@
|
||||
for Languages use ("ada", "c");
|
||||
|
||||
package Compiler is
|
||||
+ for Driver ("C") use External ("CC", "gcc");
|
||||
for Default_Switches ("ada") use ("-O2", "-W", "-Wall", "-gnatpg");
|
||||
for Default_Switches ("c") use ("-O2",
|
||||
+ "-I..",
|
||||
"-I" & BINUTILS_OBJDIR & "/binutils",
|
||||
"-I" & BINUTILS_OBJDIR & "/bfd",
|
||||
"-I" & BINUTILS_SRCDIR & "/include");
|
||||
@@ -19,8 +21,8 @@
|
||||
|
||||
package Linker is
|
||||
for Default_Switches ("ada") use
|
||||
- (BINUTILS_OBJDIR & "/bfd/libbfd.a",
|
||||
- BINUTILS_OBJDIR & "/libiberty/libiberty.a",
|
||||
+ ("-lbfd",
|
||||
+ "-liberty",
|
||||
"@LIBDL@",
|
||||
"@LIBZ@");
|
||||
end Linker;
|
||||
--- gnatmem-gpl-2015-src/src/libaddr2line.c.old 2017-01-04 21:03:36.185233702 +0100
|
||||
+++ gnatmem-gpl-2015-src/src/libaddr2line.c 2017-01-04 21:04:17.680455390 +0100
|
||||
@@ -23,9 +23,9 @@
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
-#include "bfd.h"
|
||||
-#include "libiberty.h"
|
||||
-#include "demangle.h"
|
||||
+#include <bfd.h>
|
||||
+#include <libiberty/libiberty.h>
|
||||
+#include <libiberty/demangle.h>
|
||||
|
||||
static asymbol **cur_syms; /* Symbol table. */
|
||||
static bfd *cur_bfd;
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit multiprocessing autotools
|
||||
|
||||
MYP=${PN}-gpl-${PV}-src
|
||||
|
||||
DESCRIPTION="Monitors dynamic allocation and deallocation activity in a program"
|
||||
HOMEPAGE="http://libre.adacore.com/"
|
||||
SRC_URI="http://mirrors.cdn.adacore.com/art/591c45e2c7a447af2deed033 -> ${MYP}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="gnat_2016 gnat_2017"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="dev-ada/gprbuild[gnat_2016=,gnat_2017=]"
|
||||
|
||||
S="${WORKDIR}"/${MYP}
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
mv configure.in configure.ac
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
gprbuild -Pgnatmem.gpr -j$(makeopts_jobs) \
|
||||
-cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin obj/gnatmem
|
||||
}
|
@ -1,155 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
# Don't block arm. See bug #600134.
|
||||
#MULTILIB_COMPAT=( abi_ppc_64 abi_x86_{32,64} )
|
||||
KEYWORDS="-* amd64 ~arm ppc64 x86"
|
||||
|
||||
inherit java-vm-2 multilib-build toolchain-funcs
|
||||
|
||||
BASE_URI="https://dev.gentoo.org/~chewi/distfiles"
|
||||
SRC_URI="doc? ( ${BASE_URI}/${PN}-doc-${PV}.tar.xz )
|
||||
source? ( ${BASE_URI}/${PN}-src-${PV}.tar.xz )
|
||||
multilib? ( amd64? ( abi_x86_32? ( ${BASE_URI}/${PN}-core-${PV}-x86.tar.xz ) ) )"
|
||||
|
||||
for abi in amd64 arm ppc64 x86; do
|
||||
SRC_URI+="
|
||||
${abi}? (
|
||||
${BASE_URI}/${PN}-core-${PV}-${abi}.tar.xz
|
||||
examples? ( ${BASE_URI}/${PN}-examples-${PV}-${abi}.tar.xz )
|
||||
)"
|
||||
done
|
||||
|
||||
DESCRIPTION="A Gentoo-made binary build of the IcedTea JDK"
|
||||
HOMEPAGE="http://icedtea.classpath.org"
|
||||
LICENSE="GPL-2-with-classpath-exception"
|
||||
SLOT="8"
|
||||
|
||||
IUSE="+alsa +cups doc examples +gtk headless-awt multilib nsplugin pulseaudio selinux source +webstart"
|
||||
REQUIRED_USE="gtk? ( !headless-awt ) nsplugin? ( !headless-awt )"
|
||||
|
||||
RESTRICT="preserve-libs strip"
|
||||
QA_PREBUILT="opt/.*"
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.42:2%
|
||||
>=media-libs/fontconfig-2.11:1.0%
|
||||
>=media-libs/freetype-2.5.5:2%
|
||||
>=media-libs/lcms-2.6:2%
|
||||
>=sys-libs/zlib-1.2.8-r1%
|
||||
virtual/jpeg:62%
|
||||
alsa? ( >=media-libs/alsa-lib-1.0% )
|
||||
cups? ( >=net-print/cups-2.0% )
|
||||
gtk? (
|
||||
>=dev-libs/atk-2.16.0%
|
||||
>=x11-libs/cairo-1.14.2%
|
||||
x11-libs/gdk-pixbuf:2%
|
||||
>=x11-libs/gtk+-2.24:2%
|
||||
>=x11-libs/pango-1.36%
|
||||
)
|
||||
!headless-awt? (
|
||||
media-libs/giflib:0/7%
|
||||
=media-libs/libpng-1.6*%
|
||||
>=x11-libs/libX11-1.6%
|
||||
>=x11-libs/libXcomposite-0.4%
|
||||
>=x11-libs/libXext-1.3%
|
||||
>=x11-libs/libXi-1.7%
|
||||
>=x11-libs/libXrender-0.9.8%
|
||||
>=x11-libs/libXtst-1.2%
|
||||
)"
|
||||
|
||||
RDEPEND=">=sys-devel/gcc-5.4.0[multilib?]
|
||||
>=sys-libs/glibc-2.22[multilib?]
|
||||
virtual/ttf-fonts
|
||||
selinux? ( sec-policy/selinux-java )
|
||||
multilib? ( ${RDEPEND//%/[${MULTILIB_USEDEP}]} )
|
||||
!multilib? ( ${RDEPEND//%/} )"
|
||||
|
||||
PDEPEND="webstart? ( >=dev-java/icedtea-web-1.6.1:0 )
|
||||
nsplugin? ( >=dev-java/icedtea-web-1.6.1:0[nsplugin] )
|
||||
pulseaudio? ( dev-java/icedtea-sound )"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
pkg_pretend() {
|
||||
if [[ "$(tc-is-softfloat)" != "no" ]]; then
|
||||
die "These binaries require a hardfloat system."
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# I wouldn't normally use -f below but symlinks in the arm files
|
||||
# make this fail otherwise and any other approach would be tedious.
|
||||
|
||||
if ! use alsa; then
|
||||
rm -fv */jre/lib/*/libjsoundalsa.* || die
|
||||
fi
|
||||
|
||||
if use headless-awt; then
|
||||
rm -fvr */jre/lib/*/lib*{[jx]awt,splashscreen}* \
|
||||
*/{,jre/}bin/policytool */bin/appletviewer || die
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
local dest="/opt/${P}-${ABI}"
|
||||
dest="${dest/%-${DEFAULT_ABI}/}"
|
||||
local ddest="${ED}${dest#/}"
|
||||
dodir "${dest}"
|
||||
|
||||
if multilib_is_native_abi; then
|
||||
dodoc ${P}-${ABI}/doc/{ASSEMBLY_EXCEPTION,AUTHORS,NEWS,README,THIRD_PARTY_README}
|
||||
use doc && dodoc -r ${P}/doc/html
|
||||
|
||||
# doins doesn't preserve executable bits.
|
||||
cp -pRP ${P}-${ABI}/{bin,include,jre,lib,man} "${ddest}" || die
|
||||
|
||||
if use examples; then
|
||||
cp -pRP ${P}-${ABI}/{demo,sample} "${ddest}" || die
|
||||
fi
|
||||
|
||||
if use source; then
|
||||
cp ${P}/src.zip "${ddest}" || die
|
||||
fi
|
||||
|
||||
# Use default VMHANDLE.
|
||||
java-vm_install-env "${FILESDIR}/icedtea-bin.env.sh"
|
||||
else
|
||||
local x native=$(get_system_arch ${DEFAULT_ABI})
|
||||
|
||||
for x in {,/jre}/{bin,lib/$(get_system_arch)} /jre/lib/rt.jar; do
|
||||
dodir "${dest}"${x%/*}
|
||||
cp -pRP ${P}-${ABI}${x} "${ddest}"${x} || die
|
||||
done
|
||||
|
||||
for x in ${P}-${DEFAULT_ABI}{,/jre}/lib/*; do
|
||||
[[ ${x##*/} = ${native} ]] && continue
|
||||
[[ -e "${ddest}"/${x#*/} ]] && continue
|
||||
dosym "${EPREFIX}"/opt/${P}/${x#*/} "${dest}"/${x#*/}
|
||||
done
|
||||
|
||||
# Use ABI-suffixed VMHANDLE.
|
||||
VMHANDLE+="-${ABI}" java-vm_install-env "${FILESDIR}/icedtea-bin.env.sh"
|
||||
fi
|
||||
|
||||
# Both icedtea itself and the icedtea ebuild set PAX markings but we
|
||||
# disable them for the icedtea-bin build because the line below will
|
||||
# respect end-user settings when icedtea-bin is actually installed.
|
||||
java-vm_set-pax-markings "${ddest}"
|
||||
|
||||
# Each invocation appends to the config.
|
||||
java-vm_revdep-mask "${EPREFIX}${dest}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use multilib; then
|
||||
multilib_foreach_abi multilib_src_install
|
||||
else
|
||||
multilib_src_install
|
||||
fi
|
||||
|
||||
java-vm_sandbox-predict /proc/self/coredump_filter
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
DIST mercury-extras-13.05.2-gentoo-patchset-1.tar.gz 3513 SHA256 0d57f37e67fa7092243eaaf1edad5024628ff7ce40545aa722baa514d3553ddf SHA512 bd2639de9195519803c2653c898928203bdad83b04cbd868bc74f98b605bc80791c50c16546c545d8bfcd605eebef7dff9ca79be4022eb601f54b29c748e2f9d WHIRLPOOL 703faf67f9be5877225d75d47b8752f94bb55276f9858120bc3c25eb90f3d07e369bebdd64a64a35524fca7621162687146fc1c5993af58956775562ec8ad331
|
||||
DIST mercury-extras-13.05.2-gentoo-patchset-3.tar.gz 3538 SHA256 96a041d185778befa98c98b232041738878666a33bd695dbc7d1e2ab9eccca41 SHA512 c151f876768c6b6ab7b46b4e2501569586249f5e185e534ebb5817206ac0844cd081ccae86a26ef85f27eab9d851017393c837728bd194520a549a0a60f738ef WHIRLPOOL 3b8eccd3252027a99a700240a45be2a1dc650055e65a4699ee3f93b8aca39da9057787e576c3e76a48a9134f25cff2c3e7a9ab88c1fc25a6eb2580d1f38ddb42
|
||||
DIST mercury-extras-14.01-gentoo-patchset-1.tar.gz 3856 SHA256 2ea27bc699998834298dab3f9c1179681ac528b32f005493cd5027d0dbe52fbc SHA512 c584efd4c7af54d2e8d5af0a63acced118f356527a2bf692262e37366e1018247aac8c1bb8f700f08f8f0a2c95d979e215e3c949ec1dc2994ab40048eb5b253c WHIRLPOOL 4b5169eb5cdd70caa350e562c276a59bfe9eca5fc3d66d10a3e10b6b653d0a41dd18409c1d26a66a20d1cecf31282408fcbf2d3e5321f16a57f095dd4907165f
|
||||
DIST mercury-srcdist-13.05.2.tar.gz 53847394 SHA256 8491cf419b996a315bf8664154dd91aed940274ded98e3aded733dbe1939f95f SHA512 2298804d3a04bca6be4bd3046643c7c0d0b22c447423017869cd9bf3a4fb6ec9fd29b5d8e1a386d5d52d07be5cad73608f1fcacf46732a7add93a01dcd199c08 WHIRLPOOL 2a81bebfd4b97b9bb1b0e174025e6050149c8e5f812cd97cbdc41818faa18c15f9494925f1f320682087cc45264bc00db07bef6862afef12317f77cc169a7f86
|
||||
DIST mercury-srcdist-14.01.tar.gz 52683989 SHA256 4446b7b4eafd35540495ef90ce93b71cb88efa2d744628aee80f76a694aefcc1 SHA512 77f61df64fc150e08f191860f285b97d11a71a52eabc95f660b3c90d88f8ee71d1227f7ab4b8be78be9d4aa3d62a260a874020023e4795da4cfd2e6fefa9965f WHIRLPOOL a7123063590e39ae15222eb59a2c3681ae37bea211967c857eb8725090d342f0aba7a55446529f8608afb9895746581943527b1b3c313c5cbb96f638a3377404
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST tuprolog-2.9.2.tar.gz 6262268 SHA256 4205dff584b492e10f214c71ce7bc0e81297a915156ca1e10cfac8b34c8c0a6e SHA512 831c7390fe33fc57cb01d4b1d61485ac5df1aa8ebf386d5aae5c5d32f7677d46aa5aa6cc0eb1d3bb79989a54f8484ad8b97754b7f75fc21af6116ae170a28316 WHIRLPOOL 18dceea5e95be3e60b10fa8692970e61d9b16b2f518ac342de271ac7c6cb8313e8e9ca359fb93753d43a2c09780e47f212776ce560f9c2fefdb21d44f3316c77
|
||||
DIST tuprolog-3.0.0.tar.gz 6275327 SHA256 1c7a423cbd3faa626f8398a48ec6396c2d17431a77b1f22179d713cc76aeeb09 SHA512 7998dadb04b1314d096a33c54d11977534565accb3811b93a22f606fd838d2f9b0a6defe882992977a093832e1565283d3951dcc791809620deb61d3511c02d3 WHIRLPOOL 915a21632a2c86f33de25cc05ec75f3e40b33a0ba80f73219cfab6d06f69af07bc9d143a3d1cd80fbfd27fdeba9d4259f389f1a33704bfac2151403b26424e12
|
||||
DIST tuprolog-3.0.1.tar.gz 6326591 SHA256 e4ed2689dd5496175cddcfe299b442d92d580d778a0fd9a4c7beededa20dfbb7 SHA512 56fa96f717b5c8e56fd2979f2953744964d844e5abf215456e31309d3d92bde142f9bff55e6442b6de55f219c7f143a275ccf89359ff2f2944459bbc94770afa WHIRLPOOL 81d8421242ce8308418b7c40b7db6554cdbd92a4966aef4d73c414b675fca9148f5fce52ec2ef2a0c62025eda1c790013fb1b6bd20ac53a16f7be3fc61149004
|
||||
|
@ -0,0 +1,108 @@
|
||||
<?xml version="1.0" ?><project default="jar" name="tuprolog">
|
||||
|
||||
<!-- some properties -->
|
||||
<property name="src.dir" value="src"/>
|
||||
<property name="build.dir" value="build"/>
|
||||
<property name="docs.dir" value="docs"/>
|
||||
<property name="dist.dir" value="dist"/>
|
||||
<property name="test.dir" value="test"/>
|
||||
<property name="test.build.dir" value="test.build"/>
|
||||
<property name="jarfile" value="${ant.project.name}.jar"/>
|
||||
<property file="build.properties"/>
|
||||
|
||||
<path id="compile.classpath">
|
||||
<fileset dir="lib" includes="*.jar"/>
|
||||
<pathelement path="${gentoo.classpath}"/>
|
||||
</path>
|
||||
|
||||
<!-- init -->
|
||||
<target name="init">
|
||||
<tstamp/>
|
||||
<mkdir dir="${dist.dir}"/>
|
||||
<mkdir dir="${build.dir}"/>
|
||||
<mkdir dir="${docs.dir}"/>
|
||||
<mkdir dir="${test.build.dir}"/>
|
||||
</target>
|
||||
|
||||
<!-- compile everything -->
|
||||
<target depends="init" name="compile">
|
||||
<javac deprecation="off"
|
||||
destdir="${build.dir}"
|
||||
encoding="ISO-8859-1"
|
||||
srcdir="${src.dir}"
|
||||
target="1.7">
|
||||
<classpath>
|
||||
<path refid="compile.classpath"/>
|
||||
</classpath>
|
||||
</javac>
|
||||
<copy todir="${build.dir}">
|
||||
<fileset dir="${src.dir}">
|
||||
<exclude name="**/*.java"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
</target>
|
||||
|
||||
<!-- build the jar file -->
|
||||
<target depends="compile" name="jar">
|
||||
<jar basedir="${build.dir}" jarfile="${dist.dir}/${jarfile}"/>
|
||||
<jar basedir="${build.dir}" jarfile="${dist.dir}/2p.jar">
|
||||
<manifest>
|
||||
<attribute name="Main-Class" value="alice.tuprologx.ide.GUILauncher"/>
|
||||
<attribute name="Class-Path" value="."/>
|
||||
</manifest>
|
||||
<zipgroupfileset dir="lib" includes="*.jar"/>
|
||||
</jar>
|
||||
</target>
|
||||
|
||||
<!-- generate javadocs -->
|
||||
<target depends="init" name="javadoc">
|
||||
<javadoc
|
||||
author="false"
|
||||
destdir="${docs.dir}"
|
||||
encoding="ISO-8859-1"
|
||||
breakiterator="yes"
|
||||
packagenames="alice.*"
|
||||
sourcepath="${src.dir}"
|
||||
use="true"
|
||||
version="true"
|
||||
verbose="no"
|
||||
windowtitle="${ant.project.name} API">
|
||||
<classpath>
|
||||
<path refid="compile.classpath"/>
|
||||
</classpath>
|
||||
</javadoc>
|
||||
</target>
|
||||
|
||||
<!-- clean up -->
|
||||
<target name="clean">
|
||||
<delete dir="${build.dir}"/>
|
||||
<delete dir="${dist.dir}"/>
|
||||
<delete dir="${docs.dir}"/>
|
||||
<delete dir="${test.build.dir}"/>
|
||||
</target>
|
||||
|
||||
<!-- run testsuite -->
|
||||
<target name="test">
|
||||
<path id="dist.classpath">
|
||||
<fileset dir="${dist.dir}">
|
||||
<include name="*.jar"/>
|
||||
</fileset>
|
||||
</path>
|
||||
<javac classpathref="dist.classpath"
|
||||
deprecation="off"
|
||||
destdir="${test.build.dir}"
|
||||
encoding="ISO-8859-1"
|
||||
srcdir="${test.dir}/unit"
|
||||
target="1.7"/>
|
||||
<junit fork="yes" failureproperty="test.failed" printsummary="yes">
|
||||
<classpath>
|
||||
<path refid="dist.classpath"/>
|
||||
<pathelement path="${test.build.dir}"/>
|
||||
</classpath>
|
||||
<formatter type="xml"/>
|
||||
<test name="alice.tuprolog.TuPrologTestSuite" todir="${test.build.dir}"/>
|
||||
<test name="alice.tuprolog.ExceptionsTestSuite" todir="${test.build.dir}"/>
|
||||
</junit>
|
||||
<fail message="Test failure(s) detected" if="test.failed" />
|
||||
</target>
|
||||
</project>
|
@ -0,0 +1,137 @@
|
||||
diff -urN tuprolog-3.0.1.orig/src/alice/tuprolog/LibraryManager.java tuprolog-3.0.1/src/alice/tuprolog/LibraryManager.java
|
||||
--- tuprolog-3.0.1.orig/src/alice/tuprolog/LibraryManager.java 2017-09-27 12:31:06.689334505 +0200
|
||||
+++ tuprolog-3.0.1/src/alice/tuprolog/LibraryManager.java 2017-09-27 12:50:04.193286931 +0200
|
||||
@@ -9,11 +9,11 @@
|
||||
import java.net.URL;
|
||||
import java.net.URLClassLoader;
|
||||
import java.util.*;
|
||||
-import cli.System.Reflection.Assembly;
|
||||
+//import cli.System.Reflection.Assembly;
|
||||
|
||||
import alice.tuprolog.event.LibraryEvent;
|
||||
import alice.tuprolog.event.WarningEvent;
|
||||
-import alice.util.AssemblyCustomClassLoader;
|
||||
+//import alice.util.AssemblyCustomClassLoader;
|
||||
|
||||
/**
|
||||
* @author Alex Benini
|
||||
@@ -179,31 +179,7 @@
|
||||
} else
|
||||
// .NET
|
||||
{
|
||||
- Assembly asm = null;
|
||||
- boolean classFound = false;
|
||||
- className = "cli."
|
||||
- + className.substring(0, className.indexOf(","))
|
||||
- .trim();
|
||||
- for (int i = 0; i < paths.length; i++)
|
||||
- {
|
||||
- try
|
||||
- {
|
||||
- asm = Assembly.LoadFrom(paths[i]);
|
||||
- loader = new AssemblyCustomClassLoader(asm, urls);
|
||||
- lib = (Library) Class.forName(className, true, loader).newInstance();
|
||||
- if (lib != null)
|
||||
- {
|
||||
- classFound = true;
|
||||
- break;
|
||||
- }
|
||||
- } catch (Exception e)
|
||||
- {
|
||||
- e.printStackTrace();
|
||||
- continue;
|
||||
- }
|
||||
- }
|
||||
- if (!classFound)
|
||||
- throw new InvalidLibraryException(className, -1, -1);
|
||||
+ throw new InvalidLibraryException(className, -1, -1);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -462,4 +438,4 @@
|
||||
return optimizedDirectory;
|
||||
}
|
||||
|
||||
-}
|
||||
\ Manca newline alla fine del file
|
||||
+}
|
||||
diff -urN tuprolog-3.0.1.orig/src/alice/tuprologx/ide/LibraryManager.java tuprolog-3.0.1/src/alice/tuprologx/ide/LibraryManager.java
|
||||
--- tuprolog-3.0.1.orig/src/alice/tuprologx/ide/LibraryManager.java 2017-09-27 12:31:06.696334504 +0200
|
||||
+++ tuprolog-3.0.1/src/alice/tuprologx/ide/LibraryManager.java 2017-09-27 12:50:04.194286931 +0200
|
||||
@@ -18,7 +18,7 @@
|
||||
package alice.tuprologx.ide;
|
||||
|
||||
import alice.tuprolog.*;
|
||||
-import alice.util.AssemblyCustomClassLoader;
|
||||
+//import alice.util.AssemblyCustomClassLoader;
|
||||
|
||||
import java.io.File;
|
||||
import java.net.URL;
|
||||
@@ -26,7 +26,7 @@
|
||||
import java.util.ArrayList;
|
||||
import java.util.Hashtable;
|
||||
import java.util.StringTokenizer;
|
||||
-import cli.System.Reflection.Assembly;
|
||||
+//import cli.System.Reflection.Assembly;
|
||||
|
||||
/**
|
||||
* A dynamic manager for tuProlog libraries.
|
||||
@@ -155,10 +155,7 @@
|
||||
// .NET
|
||||
if(System.getProperty("java.vm.name").equals("IKVM.NET"))
|
||||
{
|
||||
- Assembly asm = Assembly.LoadFrom(file.getPath());
|
||||
- loader = new AssemblyCustomClassLoader(asm, new URL[]{url});
|
||||
- libraryClassname = "cli." + libraryClassname.substring(0,
|
||||
- libraryClassname.indexOf(",")).trim();
|
||||
+ throw new InvalidLibraryException(libraryClassname,-1,-1);
|
||||
}
|
||||
// JVM
|
||||
else
|
||||
diff -urN tuprolog-3.0.1.orig/src/alice/util/AssemblyCustomClassLoader.java tuprolog-3.0.1/src/alice/util/AssemblyCustomClassLoader.java
|
||||
--- tuprolog-3.0.1.orig/src/alice/util/AssemblyCustomClassLoader.java 2017-09-27 12:31:06.699334504 +0200
|
||||
+++ tuprolog-3.0.1/src/alice/util/AssemblyCustomClassLoader.java 1970-01-01 01:00:00.000000000 +0100
|
||||
@@ -1,21 +0,0 @@
|
||||
-package alice.util;
|
||||
-
|
||||
-import java.net.URL;
|
||||
-
|
||||
-public class AssemblyCustomClassLoader extends java.net.URLClassLoader
|
||||
-{
|
||||
- public AssemblyCustomClassLoader(cli.System.Reflection.Assembly asm, URL[] urls)
|
||||
- {
|
||||
- super(new java.net.URL[0], new ikvm.runtime.AssemblyClassLoader(asm));
|
||||
- // explicitly calling addURL() is safer than passing it to the super constructor,
|
||||
- // because this class loader instance may be used during the URL construction.
|
||||
- for (URL url : urls) {
|
||||
- addURL(url);
|
||||
- }
|
||||
- }
|
||||
-
|
||||
- public void addUrl(URL url)
|
||||
- {
|
||||
- addURL(url);
|
||||
- }
|
||||
-}
|
||||
\ Manca newline alla fine del file
|
||||
diff -urN tuprolog-3.0.1.orig/src/alice/util/proxyGenerator/Generator.java tuprolog-3.0.1/src/alice/util/proxyGenerator/Generator.java
|
||||
--- tuprolog-3.0.1.orig/src/alice/util/proxyGenerator/Generator.java 2017-09-27 12:31:06.700334504 +0200
|
||||
+++ tuprolog-3.0.1/src/alice/util/proxyGenerator/Generator.java 2017-09-27 12:50:04.195286931 +0200
|
||||
@@ -1,7 +1,7 @@
|
||||
package alice.util.proxyGenerator;
|
||||
import javax.tools.*;
|
||||
|
||||
-import cli.System.Reflection.Assembly;
|
||||
+//import cli.System.Reflection.Assembly;
|
||||
|
||||
import java.lang.reflect.*;
|
||||
import java.util.*;
|
||||
@@ -29,7 +29,7 @@
|
||||
}
|
||||
|
||||
if(System.getProperty("java.vm.name").equals("IKVM.NET"))
|
||||
- ikvm.runtime.Startup.addBootClassPathAssemby(Assembly.Load("IKVM.OpenJDK.Tools"));
|
||||
+ throw new UnsupportedOperationException("IKVM.NET not supported!");
|
||||
|
||||
jc = ToolProvider.getSystemJavaCompiler();
|
||||
if (jc == null) {
|
@ -0,0 +1,12 @@
|
||||
diff -ur tuprolog-3.0.1.orig/test/unit/alice/tuprolog/PrologTestCase.java tuprolog-3.0.1/test/unit/alice/tuprolog/PrologTestCase.java
|
||||
--- tuprolog-3.0.1.orig/test/unit/alice/tuprolog/PrologTestCase.java 2017-09-27 12:31:12.908334244 +0200
|
||||
+++ tuprolog-3.0.1/test/unit/alice/tuprolog/PrologTestCase.java 2017-09-27 19:30:31.813282027 +0200
|
||||
@@ -32,7 +32,7 @@
|
||||
assertNotNull(engine.getLibrary("alice.tuprolog.StringLibrary"));
|
||||
Library javaLibrary = new alice.tuprolog.lib.OOLibrary();
|
||||
engine.loadLibrary(javaLibrary);
|
||||
- assertSame(javaLibrary, engine.getLibrary("alice.tuprolog.lib.JavaLibrary"));
|
||||
+ assertSame(javaLibrary, engine.getLibrary("alice.tuprolog.lib.OOLibrary"));
|
||||
}
|
||||
|
||||
public void testGetLibraryWithName() throws InvalidLibraryException {
|
@ -0,0 +1,65 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="tuProlog is a light-weight Prolog for Internet applications and infrastructures"
|
||||
HOMEPAGE="http://tuprolog.unibo.it/"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3 BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc examples test"
|
||||
|
||||
RDEPEND=">=virtual/jdk-1.7:=
|
||||
dev-java/javassist:3
|
||||
dev-java/commons-lang:3.1"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
dev-java/ant-core
|
||||
test? (
|
||||
dev-java/ant-junit4:0
|
||||
dev-java/junit:4
|
||||
dev-java/hamcrest-core:1.3
|
||||
)"
|
||||
|
||||
S="${WORKDIR}"/${P}
|
||||
|
||||
EANT_GENTOO_CLASSPATH="javassist:3,commons-lang-3.1"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-no-ikvm.patch
|
||||
epatch "${FILESDIR}"/${P}-oolibrary-unit-test.patch
|
||||
|
||||
cp "${FILESDIR}"/build-${PV}.xml "${S}"/build.xml || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
eant jar $(use_doc)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${S}"/dist
|
||||
java-pkg_jar-from junit:4
|
||||
java-pkg_jar-from hamcrest-core:1.3
|
||||
cd "${S}"
|
||||
ANT_TASKS="ant-junit4" eant test || die "eant test failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar dist/${PN}.jar
|
||||
java-pkg_dojar dist/2p.jar
|
||||
|
||||
if use doc ; then
|
||||
java-pkg_dohtml -r docs/* || die
|
||||
dodoc doc/tuprolog-guide.pdf
|
||||
fi
|
||||
|
||||
if use examples ; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins doc/examples/*.pl
|
||||
fi
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
DIST XSB360.tar.gz 12842882 SHA256 bb8d2b30e598574e263ddb48b7569e5582953a0c4f8b16d55f6bbf306e9e7faa SHA512 2ac2f4d4c7501479648b7f618815d4cd996969791a617f2148ef7498cf08bacd67eab298136303b6804cb689129ae3365e1490ec693f2232f9c9f1ad515d9c6c WHIRLPOOL 057a1939ff4115c2fc4cd91f10458a4d89847b6394723ea05a4a86d9e7986ee3c03f7ff1b2eff2389ec3c1be7d20b69cdf77be016066cf261b2af131dfbb2176
|
||||
DIST XSB370.tar.gz 12322913 SHA256 282936b17ca581e6f546a4cb15687653ad19144897c4776b01a8caf7027ebc6d SHA512 e2c11b0e5fbbffc2fb6d493e39b7dd74de43509ea1c844f1b3e5d1002c116d6fb8b245905b7b512499e40765a6603d4bef883052bdeec4a3078011c305f85a9f WHIRLPOOL 7fad63fbd66e902eaccc5ae1e542787a824d4396df1a49f08b003cada4f424eaf563b0eff693296e7adecb46bfd24931938baf5dde95ad01694dfcdf4b2fb4ef
|
||||
DIST xsb-3.6.0-gentoo-patchset-2.tar.gz 7051 SHA256 14fe682df72677e09c9ecaee7a1ef1b0f8f155344789ce90a917bc5a02735947 SHA512 285211c9d1fa52acff707b0ad38f3da06374b8ac187ad66e9148508cbc0ec5c0f60b3e4461705b072510360ce72f81b5d5cfa4bbd1258510e7abfbbe8f0788b0 WHIRLPOOL 5c82f3b268a86b0f5bdbf0a4ffbe755253367d6d84cb24f7c6c2bf216833fb40afe4ca357148c882d57cc754cd75fc1ff7beca3084eeb104a015581e5872b337
|
||||
DIST xsb-3.7.0-gentoo-patchset-0.tar.gz 5111 SHA256 cd907853e43ab9a6249511a9313cde4d0c2484ffd35c6fb1f82310fdcd6c7e16 SHA512 6bee94326c99a186b61f4eea62fab4d5d61c3dead65adbf2543249f16febe463e45d23f8b761ef11a276cc29cc3558a592a58c168fcc4265ccdfc83b75dfb4ed WHIRLPOOL 4146000f30cdd8c64bc15521e3ffb086aee43efabce13267191f3191af4f7b33bf10b02c0fdd73d20bffdd02bd0daff2c9f34292eabc963dcfcfbb902bf41dbd
|
||||
DIST xsb-3.7.0-gentoo-patchset-1.tar.gz 5297 SHA256 c0340b390be98fdda506e7f7d2e34b03310be2a81964eec5875f1daccd1bfc30 SHA512 f8d8e9d12aa8daeb0942a7983ca43ac4db773de890efbff03ef5558f5d5ae09ad5d6bdf5171df6de3705a10186ae3f6e43c9bb1759dbd8e5315ca2ce1d7e53c7 WHIRLPOOL f9be3b49b6df83a03c712ea1bb36dbad576d537fe4a6978058d8c9a64ea06059d7360097c667a92182d54eed5f34becdcd66df7c22f8e2f9bd0781c894863b89
|
||||
|
@ -1,16 +0,0 @@
|
||||
diff -r -U1 sbcl-1.1.12.orig/contrib/sb-concurrency/tests/test-frlock.lisp sbcl-1.1.12/contrib/sb-concurrency/tests/test-frlock.lisp
|
||||
--- sbcl-1.1.12.orig/contrib/sb-concurrency/tests/test-frlock.lisp 2013-09-30 20:15:42.000000000 +0700
|
||||
+++ sbcl-1.1.12/contrib/sb-concurrency/tests/test-frlock.lisp 2013-10-14 20:43:05.586366791 +0700
|
||||
@@ -19,5 +19,5 @@
|
||||
|
||||
-(defun test-frlocks (&key (reader-count 100) (read-count 1000000)
|
||||
+(defun test-frlocks (&key (reader-count 50) (read-count 500000)
|
||||
(outer-read-pause 0) (inner-read-pause 0)
|
||||
- (writer-count 10) (write-count 10000)
|
||||
+ (writer-count 10) (write-count 5000)
|
||||
(outer-write-pause 0.0001) (inner-write-pause 0))
|
||||
@@ -84,3 +84,3 @@
|
||||
(handler-case
|
||||
- (sb-ext:with-timeout 60 (test-frlocks))
|
||||
+ (sb-ext:with-timeout 240 (test-frlocks))
|
||||
(sb-ext:timeout (c)
|
@ -1,14 +0,0 @@
|
||||
--- a/src/runtime/linux-os.c 2009-05-01 13:30:51.000000000 +0300
|
||||
+++ b/src/runtime/linux-os.c 2010-03-24 02:30:48.000000000 +0200
|
||||
@@ -56,11 +56,7 @@
|
||||
#include "cheneygc-internal.h"
|
||||
#endif
|
||||
|
||||
-#ifdef LISP_FEATURE_X86
|
||||
-/* Prototype for personality(2). Done inline here since the header file
|
||||
- * for this isn't available on old versions of glibc. */
|
||||
int personality (unsigned long);
|
||||
-#endif
|
||||
|
||||
size_t os_vm_page_size;
|
||||
|
@ -1,2 +1 @@
|
||||
DIST trivial-gray-streams-2008-11-02.tar.gz 3522 SHA256 827eff9528b469f18c332d0dec68a2498ca9261950635b1cd8e589a492b589a4 SHA512 81ca798988511237a5a4c9ae4e0b15253404c47e245cc644211ffc58015fd46fa1623fecf7f07ea5df7acf80fff24782410ef832f08fd55f71c57daad6ced787 WHIRLPOOL 07b4ba232c7a6156667a084adf56684c3d04ace96d56a282298fd7e284760b60c1fefa09f90053e1400fed5c2d6cb25dbb2756697c08ad15b2647fd72933e26e
|
||||
DIST trivial-gray-streams-20170830.tar.bz2 7520 SHA256 0aa3640bb5862b3427950d6732c0d3cef18a7b3d401d50f2ec8537017bd9db07 SHA512 4fbcfff5f2875daaf9c9bb286e2f753fccbb9840bb3c3593b9755204475aaf34241c1ffc2c93b5bf2c3428400e91082b01f15812eb51251afcabe9a57d5df3fa WHIRLPOOL 0d18affea069d4871277cbe64d6e09a2b90ee6de189e3108fdd6c7b76faf84021b191509958dc3ffcc71af9f9ad5a8983ba4d3c7dc773b0e24981cabf02746fe
|
||||
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit common-lisp-3
|
||||
|
||||
MY_PV=${PV:0:4}-${PV:4:2}-${PV:6:2}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
|
||||
DESCRIPTION="A thin compatibility layer between Gray Stream Common Lisp implementations"
|
||||
HOMEPAGE="https://common-lisp.net/project/trivial-gray-streams/"
|
||||
SRC_URI="http://common-lisp.net/project/cl-plus-ssl/download/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="!dev-lisp/cl-${PN}"
|
||||
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
rm "${S}"/Makefile
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST brython-3.3.0.zip 9405649 SHA256 4b63b4758bbf08e865fcda647e064265ddc12a6d0cdb76489a614c73c28a8d02 SHA512 03b0dfcdd1be4a415423317d74fc0c941cdac5682a17a19ccf81d9b19058fda342d21397870a1a8e74a445155f7f736977278d21c38fb22251c8ed4a4489b194 WHIRLPOOL 5356a58b155b1783c9bc30c2e9d015660824002101fe6ab9fb183833b370a3aea71cc40ae4c67908f828e202a81968dfb9c4a77e825638f3f02439d56ed1a329
|
||||
DIST brython-3.3.1.zip 9420425 SHA256 f485004d20de86877b9008d0942b308ad2f52565bafc2a2c6968ec43dd336a72 SHA512 070573db3ef7cd571df32798564496f2036c375abb396785f2ad7fef321b028baa6f554642a6cb76a25e892b569d4c8ea6e4bc2251f8171b7721669d158470ec WHIRLPOOL a959cae1de4a6bbb4bc973861a14f3d4b976012a1f9853955163203ee9c1cc09178a7190a9289673c5c93fb5ad6adc994f776c1a56888586756ce1c2e51dc3fa
|
||||
DIST brython-3.3.2.zip 10140819 SHA256 396326912d311d56ec6e2ba413f059e8f2242cd6ebb43154031f427df917a98c SHA512 bfe93b238805de90a4421a3a0c210ed5bc863cf4609949252813d61b96bd1b52aa927eeac621932bec68ac8b23be793adee53327be387bae6a95db7ea89b5155 WHIRLPOOL b25c136e30a943e188987a556d600006e7b54adf4243109d1ca27747e2b16f6201b504ea35f5f4ddc22ad32d66ad4ab02e0ccef306439b8a6ef7f5b7149dc826
|
||||
DIST brython-3.3.3.zip 10040987 SHA256 b48f236a55a220520ca98b5c1caf705d8eff1742e622c8440d7bc23632ca6984 SHA512 e182a6c859cd18b90b205f751260b0b5c8d250746e48844c59cd61608dfdaf0fd6f0f25b8061de9505b7c5d094ac68fe57536c52cb31adb48f04c2cc5624e249 WHIRLPOOL b604b4a0bba610fc84ca059696ed37fe8b6735a806c7616fb1f41a378271ab16e76f4f063a51568ec774af2ff694551ea4f67970a77230551223aaa1071c4be8
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST celery-3.1.24.tar.gz 1330180 SHA256 99b8085ff3013c8cebb9211857fadf5f402882ccada863d67c4d74db60be027a SHA512 6f2e1c5fe417183bc44f39deee669957800b805790475bea1c93d9efb37e0bb6db5aed9606ff79350f404c145908e3af6fa5ce94d86fb70238f2c2f2425ddd3c WHIRLPOOL cc16895b3641a78cfe6de4f5012520ec78a5c5e831e39b1d2a75897a12cb9ec18ea3366f682650d86620d10b27898bbefa7f2b8ed81a7649a97f40b1ab7fb57c
|
||||
DIST celery-4.0.2.tar.gz 1337804 SHA256 e3d5a6c56a73ff8f2ddd4d06dc37f4c2afe4bb4da7928b884d0725ea865ef54d SHA512 1110b634cafa13f9d9ab0b0a7a17042325271bd5ea45a5f442e36e871db87b87e3f496d54b771d274a1676900d9dfdc7e21887943dfd1a299a9fcd8b3f6d2189 WHIRLPOOL 050a041d32a4fb2a9b9658b2e70972cd5606fb13f848fdb7848faeb0116be7d1e061ed8e1d631be46b2740a4307d474396fe1599daea2c20ac58111fb6c99d55
|
||||
DIST celery-4.1.0.tar.gz 1331689 SHA256 77ff3730198d6a17b3c1f05579ebe570b579efb35f6d7e13dba3b1368d068b35 SHA512 5232adc43ba55d01f2b030382075750033e0c5c2abdc8308903e0cef7a465513b7765e2ae495da6555b377452ae233500530ef9d57e584a5352a54c5f4731c64 WHIRLPOOL febd876eff4e5b62be9f08da5712d3b76c366b279e2296ea8e5c5b00728ba1fcbfeb1eb9ca6d5a53abf31953f28c51ef9116cd50cff0ec541a417c5d9f59c54b
|
||||
|
@ -0,0 +1,108 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
|
||||
|
||||
inherit distutils-r1 bash-completion-r1
|
||||
|
||||
DESCRIPTION="Asynchronous task queue/job queue based on distributed message passing"
|
||||
HOMEPAGE="http://celeryproject.org/ https://pypi.python.org/pypi/celery"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
# There are a number of other optional 'extras' which overlap with those of kombu, however
|
||||
# there has been no apparent expression of interest or demand by users for them. See requires.txt
|
||||
IUSE="doc examples redis sqs test yaml"
|
||||
|
||||
RDEPEND="
|
||||
<dev-python/kombu-5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/kombu-4.0.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/billiard-3.5.0.2[${PYTHON_USEDEP}]
|
||||
<dev-python/billiard-3.6.0[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
dev-python/greenlet[${PYTHON_USEDEP}]
|
||||
dev-python/vine[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( ${RDEPEND}
|
||||
>=dev-python/case-1.3.1[${PYTHON_USEDEP}]
|
||||
dev-python/eventlet[${PYTHON_USEDEP}]
|
||||
dev-python/gevent[$(python_gen_usedep python2_7)]
|
||||
>=dev-python/pymongo-2.6.2[${PYTHON_USEDEP}]
|
||||
dev-python/pyopenssl[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}]
|
||||
dev-python/sqlalchemy[${PYTHON_USEDEP}]
|
||||
dev-python/redis-py[${PYTHON_USEDEP}]
|
||||
>=dev-db/redis-2.8.0
|
||||
>=dev-python/boto-2.13.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyzmq-13.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-3.10[${PYTHON_USEDEP}]
|
||||
>=dev-python/unittest2-0.5.1[${PYTHON_USEDEP}]
|
||||
)
|
||||
doc? (
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx_celery-1.3[${PYTHON_USEDEP}]
|
||||
dev-python/jinja[${PYTHON_USEDEP}]
|
||||
dev-python/sqlalchemy[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep 'dev-python/typing[${PYTHON_USEDEP}]' python2_7 python3_4)
|
||||
)"
|
||||
|
||||
# testsuite needs it own source
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
mkdir docs/.build || die
|
||||
emake -C docs html
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
# Main celeryd init.d and conf.d
|
||||
newinitd "${FILESDIR}/celery.initd-r2" celery
|
||||
newconfd "${FILESDIR}/celery.confd-r2" celery
|
||||
|
||||
if use examples; then
|
||||
docompress -x "/usr/share/doc/${PF}/examples"
|
||||
docinto examples
|
||||
dodoc -r examples/.
|
||||
fi
|
||||
|
||||
use doc && local HTML_DOCS=( docs/_build/html/. )
|
||||
|
||||
newbashcomp extra/bash-completion/celery.bash ${PN}
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "zookeeper support" dev-python/kazoo
|
||||
optfeature "msgpack support" dev-python/msgpack
|
||||
#optfeature "rabbitmq support" dev-python/librabbitmq
|
||||
#optfeature "slmq support" dev-python/softlayer_messaging
|
||||
optfeature "eventlet support" dev-python/eventlet
|
||||
#optfeature "couchbase support" dev-python/couchbase
|
||||
optfeature "redis support" dev-db/redis dev-python/redis-py
|
||||
optfeature "couchdb support" dev-db/couchdb dev-python/couchdb-python
|
||||
optfeature "gevent support" dev-python/gevent
|
||||
optfeature "auth support" dev-python/pyopenssl
|
||||
optfeature "pyro support" dev-python/pyro:4
|
||||
optfeature "yaml support" dev-python/pyyaml
|
||||
optfeature "memcache support" dev-python/pylibmc
|
||||
#optfeature "threads support" dev-python/threadpool
|
||||
optfeature "mongodb support" dev-python/pymongo
|
||||
optfeature "sqlalchemy support" dev-python/sqlalchemy
|
||||
optfeature "sqs support" dev-python/boto
|
||||
#optfeature "cassandra support" dev-python/pycassa
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST libvirt-python-3.3.0.tar.gz 179552 SHA256 e0bb7dcb98bef4933bb9d5e6e944388cdb002515eb9053a42447e89e4642fe57 SHA512 3d90e99abe813f2ba684c24631d8e8cd6a5b44564351ae3f0b75d426f80d046c00ed6358273b68ad751707a93666564dfecfb7fb7d93d2c27c71a344542fe793 WHIRLPOOL dab0e88aecc007f41505d20bc9886b9508cab7d19211f426cad7e2c65da720b4a236acbd3acd77bb35d7e3a98431764f5722035cc2f62c813864a76d42b8b73e
|
||||
DIST libvirt-python-3.6.0.tar.gz 181778 SHA256 ecb9cbc8b1f33b245b04e3a937d8483584ab7a18258b217be96661343a4b1ad0 SHA512 333f991fc69b509b2eda67ee70dea39cc9d1ff36b1abb6a881296313ffebfb5ed41de8443534f19b27a70271548214fa94a12e7f59dc217492edf0bb5555ede9 WHIRLPOOL 6f13ee521713c3540e649c9c9edf6fc0427e0c4563305a42366796352fc99867bc79dd5ce61db0d7b79dc02957f8854c5664f5b5952a402c614e19264167546b
|
||||
DIST libvirt-python-3.7.0.tar.gz 182372 SHA256 1e4a8a8b08ef8f2502088f26ce3aced415d55ef808d8301dfed023f45154c06f SHA512 2f37d860d9ee203af3765a1b8d7f8981a8e51b5e6c78170d4bd80d0b23b9f5997725d81ff8c4ed4e5bb218346913321a3b4b8e2d337fd3cb8eeb95ac78256413 WHIRLPOOL b35f8aa071beb14ebf4be233bac190c6022d7ad56788f28bf3c8d265faa8fc514e0604beea9ccd8b703079fbec65de5c5b20ec6b8d00693cf6a6c7b9afc8bd75
|
||||
|
@ -0,0 +1,75 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Simple powerful testing with Python"
|
||||
HOMEPAGE="http://pytest.org/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc test"
|
||||
|
||||
# When bumping, please check setup.py for the proper py version
|
||||
PY_VER="1.4.33"
|
||||
COMMON_DEPEND="
|
||||
>=dev-python/py-${PY_VER}[${PYTHON_USEDEP}]
|
||||
doc? (
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools_scm[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
>=dev-python/hypothesis-3.5.2[${PYTHON_USEDEP}]
|
||||
>dev-python/pytest-xdist-1.13[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
!dev-python/logilab-common
|
||||
"
|
||||
|
||||
python_prepare_all() {
|
||||
chmod o-w *egg*/* || die
|
||||
# Disable versioning of py.test script to avoid collision with
|
||||
# versioning performed by the eclass.
|
||||
sed -e "s/return points/return {'py.test': target}/" -i setup.py || die "sed failed"
|
||||
grep -qF "py>=${PY_VER}" setup.py || die "Incorrect dev-python/py dependency"
|
||||
|
||||
# Something in the ebuild environment causes this to hang/error.
|
||||
# https://bugs.gentoo.org/598442
|
||||
rm testing/test_pdb.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# test_nose.py not written to suit py3.2 in pypy3
|
||||
if [[ "${EPYTHON}" == pypy3 ]]; then
|
||||
"${PYTHON}" "${BUILD_DIR}"/lib/pytest.py --lsof -rfsxX \
|
||||
--ignore=testing/BUILD_nose.py \
|
||||
|| die "tests failed with ${EPYTHON}"
|
||||
else
|
||||
"${PYTHON}" "${BUILD_DIR}"/lib/pytest.py --lsof -rfsxX testing || die "tests failed with ${EPYTHON}"
|
||||
fi
|
||||
}
|
||||
|
||||
python_compile_all(){
|
||||
use doc && emake -C doc/en html
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && HTML_DOCS=( doc/en/_build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST python-iptables-0.11.0.tar.gz 73582 SHA256 55bdd0d8e3d0b4c27e4d61bf6f21ada1e19146c0adf65e5093e254a126abcce9 SHA512 5bbaeb09dc256738e3a168fa5941f39e50074eb1ac3ce18545a48c55eb06ef70fd974ad3153dc07ca67b1ef88a2a2c537a9f8d3ac85add990f6d15e9d37aa0a4 WHIRLPOOL 5ecc28a1f65389e63c962408f058ac0795a5ebd846320f4d9de4ad35e6bb7a8ee7dff4555af0c4c9c42d303b7b0f6de372c042d4219141446680ba45b8216ac4
|
||||
DIST python-iptables-0.12.0.tar.gz 40831 SHA256 9815fd5ba780fd14b5f8cf8a93e007c0e603019738813a806e37553cd72e4c33 SHA512 bf79288fac53542e523c8ed0e4e0711792cf524100e39f57f10d3581d1b958712875a765f690b3d5ec6e28af9de48d2f3dd0a787c7037ebfc6f8bf87b5e321b2 WHIRLPOOL 360c3dec7c1122ba53cf7f158ff463937a119fbc818ac879403ac943c0f0d04043c89559468274332e3050e4fd84a8d95f8a30b7a783aaa0c023420278c3422c
|
||||
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python{2_7,3_{4,5,6}} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python bindings for iptables"
|
||||
HOMEPAGE="https://github.com/ldx/python-iptables"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="net-firewall/iptables
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
# tests manipulate live iptables rules, so disable them by default
|
||||
|
||||
python_prepare_all() {
|
||||
# Prevent un-needed d'loading during doc build
|
||||
sed -e "s/, 'sphinx.ext.intersphinx'//" -i doc/conf.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C doc html
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/_build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST haml-4.0.7.gem 121856 SHA256 3754d0f7c21cf261a30b207a94524211293b921492fab58c89d1ede7e7933f57 SHA512 5736ded231bb10a0c0932453294604075e24a9020c2658e703c13ebf7a8d148327188157f982a3aea5db6d6938beb372c0167dfbc4ff06325517b2c8bd71a568 WHIRLPOOL 62f1f152dbf8eea15ef3935d8e85b062f5a3f079a3cc4e4ad47056acfe7427b443611f092f591ff957f348d1727ce43b23d9f88083a4678b30d759a2ecd6e659
|
||||
DIST haml-5.0.1.tar.gz 123154 SHA256 c6580d96245f85d26c2d953cabb14c3035941e82b897684d528a10491fa5cb42 SHA512 deb5dc4746a0bc4b5103880c2364b6354eaa7968b6fa3df5a0a216a5c26c524e985c4a1e39df1de90b303d490b8d9ed9daa65eb00c0cbbbf772cd6b577c773be WHIRLPOOL 8174e1b5b027604157297f6c9f1bcd03bbfe20357a55799bfaa55e179025c53daab64d024eb8ab765592980199c758f4a8e901df975695c1326e1699b1d85b0b
|
||||
DIST haml-5.0.2.tar.gz 124000 SHA256 76e1024120d00454e11d6061a630ce785bf7092ba9063bbe1926ae51fceeb619 SHA512 c266a48424db4c9949d29bdb72f2c96ef5878a78ae98867b9259b0e2e2f581cb9fecf4c51091e6bce3ba4d86c60b44e8c7e95759a8aec8c95d59b9707903032e WHIRLPOOL ffaf5249f3241573c4752d31031b290a5190da14701b5f194660c342bffd546b38f279707a9befcfbb72f8ec70fe994966bcfce5c4f576ff1a1fd97615ea3d2c
|
||||
|
@ -1,57 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
USE_RUBY="ruby21 ruby22 ruby23"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="test"
|
||||
RUBY_FAKEGEM_TASK_DOC="-Ilib doc"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md FAQ.md README.md REFERENCE.md"
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A ruby web page templating engine"
|
||||
HOMEPAGE="http://haml-lang.com/"
|
||||
SRC_URI="https://github.com/haml/haml/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="5"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND="${RDEPEND} !!<dev-ruby/haml-3.1.8-r2"
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/temple-0.8.0 dev-ruby/tilt:*"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/minitest:5
|
||||
dev-ruby/nokogiri
|
||||
dev-ruby/railties:4.2
|
||||
dev-ruby/activemodel:4.2
|
||||
dev-ruby/actionpack:4.2
|
||||
)
|
||||
doc? (
|
||||
dev-ruby/yard
|
||||
>=dev-ruby/maruku-0.7.2-r1
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die
|
||||
|
||||
sed -i -e '/bundler/ s:^:#:' \
|
||||
-e 's/gem "minitest"/gem "minitest", "~>5.0"/'\
|
||||
-e '1igem "actionpack", "~>4.2"'\
|
||||
-e '1igem "activesupport", "~>4.2"; gem "activemodel", "~>4.2"'\
|
||||
-e '1igem "railties", "~>4.2"'\
|
||||
test/test_helper.rb || die
|
||||
# Remove test that fails when RedCloth is available
|
||||
sed -i -e "/should raise error when a Tilt filters dependencies are unavailable for extension/,/^ end/ s/^/#/"\
|
||||
test/filters_test.rb || die
|
||||
}
|
@ -0,0 +1,308 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit flag-o-matic pam systemd toolchain-funcs user
|
||||
|
||||
MY_PV="${PV/_pre/-}"
|
||||
MY_SRC="${PN}-${MY_PV}"
|
||||
MY_URI="ftp://ftp.porcupine.org/mirrors/postfix-release/official"
|
||||
RC_VER="2.7"
|
||||
|
||||
DESCRIPTION="A fast and secure drop-in replacement for sendmail"
|
||||
HOMEPAGE="http://www.postfix.org/"
|
||||
SRC_URI="${MY_URI}/${MY_SRC}.tar.gz"
|
||||
|
||||
LICENSE="IBM"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="+berkdb cdb doc dovecot-sasl +eai hardened ldap ldap-bind libressl lmdb memcached mbox mysql nis pam postgres sasl selinux sqlite ssl"
|
||||
|
||||
DEPEND=">=dev-libs/libpcre-3.4
|
||||
dev-lang/perl
|
||||
berkdb? ( >=sys-libs/db-3.2:* )
|
||||
cdb? ( || ( >=dev-db/tinycdb-0.76 >=dev-db/cdb-0.75-r4 ) )
|
||||
eai? ( dev-libs/icu:= )
|
||||
ldap? ( net-nds/openldap )
|
||||
ldap-bind? ( net-nds/openldap[sasl] )
|
||||
lmdb? ( >=dev-db/lmdb-0.9.11 )
|
||||
mysql? ( virtual/mysql )
|
||||
pam? ( virtual/pam )
|
||||
postgres? ( dev-db/postgresql:* )
|
||||
sasl? ( >=dev-libs/cyrus-sasl-2 )
|
||||
sqlite? ( dev-db/sqlite:3 )
|
||||
ssl? (
|
||||
!libressl? ( dev-libs/openssl:0 )
|
||||
libressl? ( dev-libs/libressl )
|
||||
)"
|
||||
|
||||
RDEPEND="${DEPEND}
|
||||
dovecot-sasl? ( net-mail/dovecot )
|
||||
memcached? ( net-misc/memcached )
|
||||
net-mail/mailbase
|
||||
!mail-mta/courier
|
||||
!mail-mta/esmtp
|
||||
!mail-mta/exim
|
||||
!mail-mta/mini-qmail
|
||||
!mail-mta/msmtp[mta]
|
||||
!mail-mta/netqmail
|
||||
!mail-mta/nullmailer
|
||||
!mail-mta/qmail-ldap
|
||||
!mail-mta/sendmail
|
||||
!mail-mta/opensmtpd
|
||||
!<mail-mta/ssmtp-2.64-r2
|
||||
!>=mail-mta/ssmtp-2.64-r2[mta]
|
||||
!net-mail/fastforward
|
||||
selinux? ( sec-policy/selinux-postfix )"
|
||||
|
||||
REQUIRED_USE="ldap-bind? ( ldap sasl )"
|
||||
|
||||
S="${WORKDIR}/${MY_SRC}"
|
||||
|
||||
pkg_setup() {
|
||||
# Add postfix, postdrop user/group (bug #77565)
|
||||
enewgroup postfix 207
|
||||
enewgroup postdrop 208
|
||||
enewuser postfix 207 -1 /var/spool/postfix postfix,mail
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e "/^#define ALIAS_DB_MAP/s|:/etc/aliases|:/etc/mail/aliases|" \
|
||||
src/util/sys_defs.h || die "sed failed"
|
||||
# change default paths to better comply with portage standard paths
|
||||
sed -i -e "s:/usr/local/:/usr/:g" conf/master.cf || die "sed failed"
|
||||
eapply -p0 "${FILESDIR}/${PN}-libressl.patch"
|
||||
eapply -p0 "${FILESDIR}/${PN}-libressl-runtime.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
for name in CDB LDAP LMDB MYSQL PCRE PGSQL SDBM SQLITE
|
||||
do
|
||||
local AUXLIBS_${name}=""
|
||||
done
|
||||
|
||||
# Make sure LDFLAGS get passed down to the executables.
|
||||
local mycc="-DHAS_PCRE" mylibs="${LDFLAGS} -ldl"
|
||||
AUXLIBS_PCRE="$(pcre-config --libs)"
|
||||
|
||||
use pam && mylibs="${mylibs} -lpam"
|
||||
|
||||
if use ldap; then
|
||||
mycc="${mycc} -DHAS_LDAP"
|
||||
AUXLIBS_LDAP="-lldap -llber"
|
||||
fi
|
||||
|
||||
if use mysql; then
|
||||
mycc="${mycc} -DHAS_MYSQL $(mysql_config --include)"
|
||||
AUXLIBS_MYSQL="$(mysql_config --libs)"
|
||||
fi
|
||||
|
||||
if use postgres; then
|
||||
mycc="${mycc} -DHAS_PGSQL -I$(pg_config --includedir)"
|
||||
AUXLIBS_PGSQL="-L$(pg_config --libdir) -lpq"
|
||||
fi
|
||||
|
||||
if use sqlite; then
|
||||
mycc="${mycc} -DHAS_SQLITE"
|
||||
AUXLIBS_SQLITE="-lsqlite3 -lpthread"
|
||||
fi
|
||||
|
||||
if use ssl; then
|
||||
mycc="${mycc} -DUSE_TLS"
|
||||
mylibs="${mylibs} -lssl -lcrypto"
|
||||
fi
|
||||
|
||||
if use lmdb; then
|
||||
mycc="${mycc} -DHAS_LMDB"
|
||||
AUXLIBS_LMDB="-llmdb -lpthread"
|
||||
fi
|
||||
|
||||
if ! use eai; then
|
||||
mycc="${mycc} -DNO_EAI"
|
||||
fi
|
||||
|
||||
# broken. and "in other words, not supported" by upstream.
|
||||
# Use inet_protocols setting in main.cf
|
||||
#if ! use ipv6; then
|
||||
# mycc="${mycc} -DNO_IPV6"
|
||||
#fi
|
||||
|
||||
if use sasl; then
|
||||
if use dovecot-sasl; then
|
||||
# Set dovecot as default.
|
||||
mycc="${mycc} -DDEF_SASL_SERVER=\\\"dovecot\\\""
|
||||
fi
|
||||
if use ldap-bind; then
|
||||
mycc="${mycc} -DUSE_LDAP_SASL"
|
||||
fi
|
||||
mycc="${mycc} -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl"
|
||||
mylibs="${mylibs} -lsasl2"
|
||||
elif use dovecot-sasl; then
|
||||
mycc="${mycc} -DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\\\"dovecot\\\""
|
||||
fi
|
||||
|
||||
if ! use nis; then
|
||||
mycc="${mycc} -DNO_NIS"
|
||||
fi
|
||||
|
||||
if ! use berkdb; then
|
||||
mycc="${mycc} -DNO_DB"
|
||||
if use cdb; then
|
||||
# change default hash format from Berkeley DB to cdb
|
||||
mycc="${mycc} -DDEF_DB_TYPE=\\\"cdb\\\""
|
||||
fi
|
||||
fi
|
||||
|
||||
if use cdb; then
|
||||
mycc="${mycc} -DHAS_CDB -I/usr/include/cdb"
|
||||
# Tinycdb is preferred.
|
||||
if has_version dev-db/tinycdb ; then
|
||||
einfo "Building with dev-db/tinycdb"
|
||||
AUXLIBS_CDB="-lcdb"
|
||||
else
|
||||
einfo "Building with dev-db/cdb"
|
||||
CDB_PATH="/usr/$(get_libdir)"
|
||||
for i in cdb.a alloc.a buffer.a unix.a byte.a ; do
|
||||
AUXLIBS_CDB="${AUXLIBS_CDB} ${CDB_PATH}/${i}"
|
||||
done
|
||||
fi
|
||||
fi
|
||||
|
||||
# Robin H. Johnson <robbat2@gentoo.org> 17/Nov/2006
|
||||
# Fix because infra boxes hit 2Gb .db files that fail a 32-bit fstat signed check.
|
||||
mycc="${mycc} -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE"
|
||||
filter-lfs-flags
|
||||
|
||||
# Workaround for bug #76512
|
||||
if use hardened; then
|
||||
[[ "$(gcc-version)" == "3.4" ]] && replace-flags -O? -Os
|
||||
fi
|
||||
|
||||
# Remove annoying C++ comment style warnings - bug #378099
|
||||
append-flags -Wno-comment
|
||||
|
||||
sed -i -e "/^RANLIB/s/ranlib/$(tc-getRANLIB)/g" "${S}"/makedefs
|
||||
sed -i -e "/^AR/s/ar/$(tc-getAR)/g" "${S}"/makedefs
|
||||
|
||||
emake makefiles shared=yes dynamicmaps=no pie=yes \
|
||||
shlib_directory="/usr/$(get_libdir)/postfix/MAIL_VERSION" \
|
||||
DEBUG="" CC="$(tc-getCC)" OPT="${CFLAGS}" CCARGS="${mycc}" AUXLIBS="${mylibs}" \
|
||||
AUXLIBS_CDB="${AUXLIBS_CDB}" AUXLIBS_LDAP="${AUXLIBS_LDAP}" \
|
||||
AUXLIBS_LMDB="${AUXLIBS_LMDB}" AUXLIBS_MYSQL="${AUXLIBS_MYSQL}" \
|
||||
AUXLIBS_PCRE="${AUXLIBS_PCRE}" AUXLIBS_PGSQL="${AUXLIBS_PGSQL}" \
|
||||
AUXLIBS_SQLITE="${AUXLIBS_SQLITE}"
|
||||
}
|
||||
|
||||
src_install () {
|
||||
local myconf
|
||||
use doc && myconf="readme_directory=\"/usr/share/doc/${PF}/readme\" \
|
||||
html_directory=\"/usr/share/doc/${PF}/html\""
|
||||
|
||||
LD_LIBRARY_PATH="${S}/lib" \
|
||||
/bin/sh postfix-install \
|
||||
-non-interactive \
|
||||
install_root="${D}" \
|
||||
config_directory="/etc/postfix" \
|
||||
manpage_directory="/usr/share/man" \
|
||||
command_directory="/usr/sbin" \
|
||||
mailq_path="/usr/bin/mailq" \
|
||||
newaliases_path="/usr/bin/newaliases" \
|
||||
sendmail_path="/usr/sbin/sendmail" \
|
||||
${myconf} \
|
||||
|| die "postfix-install failed"
|
||||
|
||||
# Fix spool removal on upgrade
|
||||
rm -Rf "${D}"/var
|
||||
keepdir /var/spool/postfix
|
||||
|
||||
# Install rmail for UUCP, closes bug #19127
|
||||
dobin auxiliary/rmail/rmail
|
||||
|
||||
# Provide another link for legacy FSH
|
||||
dosym /usr/sbin/sendmail /usr/$(get_libdir)/sendmail
|
||||
|
||||
# Install qshape and posttls-finger
|
||||
dobin auxiliary/qshape/qshape.pl
|
||||
doman man/man1/qshape.1
|
||||
dobin bin/posttls-finger
|
||||
doman man/man1/posttls-finger.1
|
||||
|
||||
# Performance tuning tools and their manuals
|
||||
dosbin bin/smtp-{source,sink} bin/qmqp-{source,sink}
|
||||
doman man/man1/smtp-{source,sink}.1 man/man1/qmqp-{source,sink}.1
|
||||
|
||||
# Set proper permissions on required files/directories
|
||||
dodir /var/lib/postfix
|
||||
keepdir /var/lib/postfix
|
||||
fowners -R postfix:postfix /var/lib/postfix
|
||||
fperms 0750 /var/lib/postfix
|
||||
fowners root:postdrop /usr/sbin/post{drop,queue}
|
||||
fperms 02711 /usr/sbin/post{drop,queue}
|
||||
|
||||
keepdir /etc/postfix
|
||||
if use mbox; then
|
||||
mypostconf="mail_spool_directory=/var/spool/mail"
|
||||
else
|
||||
mypostconf="home_mailbox=.maildir/"
|
||||
fi
|
||||
LD_LIBRARY_PATH="${S}/lib" \
|
||||
"${D}"/usr/sbin/postconf -c "${D}"/etc/postfix \
|
||||
-e ${mypostconf} || die "postconf failed"
|
||||
|
||||
insinto /etc/postfix
|
||||
newins "${FILESDIR}"/smtp.pass saslpass
|
||||
fperms 600 /etc/postfix/saslpass
|
||||
|
||||
newinitd "${FILESDIR}"/postfix.rc6.${RC_VER} postfix
|
||||
# do not start mysql/postgres unnecessarily - bug #359913
|
||||
use mysql || sed -i -e "s/mysql //" "${D}/etc/init.d/postfix"
|
||||
use postgres || sed -i -e "s/postgresql //" "${D}/etc/init.d/postfix"
|
||||
|
||||
dodoc *README COMPATIBILITY HISTORY PORTING RELEASE_NOTES*
|
||||
use doc && mv "${S}"/examples "${D}"/usr/share/doc/${PF}/
|
||||
|
||||
pamd_mimic_system smtp auth account
|
||||
|
||||
if use sasl; then
|
||||
insinto /etc/sasl2
|
||||
newins "${FILESDIR}"/smtp.sasl smtpd.conf
|
||||
fi
|
||||
|
||||
# header files
|
||||
insinto /usr/include/postfix
|
||||
doins include/*.h
|
||||
|
||||
# Keep config_dir clean
|
||||
rm -f "${D}"/etc/postfix/{*LICENSE,access,aliases,canonical,generic}
|
||||
rm -f "${D}"/etc/postfix/{header_checks,relocated,transport,virtual}
|
||||
|
||||
if has_version mail-mta/postfix; then
|
||||
# let the sysadmin decide when to change the compatibility_level
|
||||
sed -i -e /^compatibility_level/"s/^/#/" "${D}"/etc/postfix/main.cf || die
|
||||
fi
|
||||
|
||||
systemd_dounit "${FILESDIR}/${PN}.service"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ! -e /etc/mail/aliases.db ]] ; then
|
||||
ewarn
|
||||
ewarn "You must edit /etc/mail/aliases to suit your needs"
|
||||
ewarn "and then run /usr/bin/newaliases. Postfix will not"
|
||||
ewarn "work correctly without it."
|
||||
ewarn
|
||||
fi
|
||||
|
||||
# configure tls
|
||||
if use ssl ; then
|
||||
if "${EROOT}"/usr/sbin/postfix tls all-default-client; then
|
||||
elog "To configure client side TLS settings:"
|
||||
elog "${EROOT}"usr/sbin/postfix tls enable-client
|
||||
fi
|
||||
if "${EROOT}"/usr/sbin/postfix tls all-default-server; then
|
||||
elog "To configure server side TLS settings:"
|
||||
elog "${EROOT}"usr/sbin/postfix tls enable-server
|
||||
fi
|
||||
fi
|
||||
}
|
@ -1 +1 @@
|
||||
DIST kgraphviewer-2.4.0.tar.xz 1564876 SHA256 88c2fd6514e49404cfd76cdac8ae910511979768477f77095d2f53dca0f231b4 SHA512 5a5664f19ffef90299d2746600e5f4e37749539f243e7fe4041844ac792d056bb04ebbbd83fa67f06ad63501080dc9f7fed3e841c025527252620b69a2a0a188 WHIRLPOOL d3b5ba1a86db7ce24854c8773df1c52ba9051aa4ab702117be6edef2f3cacfb2bc98e102b74bb5460feb302b799d37c59b48cad3adb31e1cf8fd8f51e1bfa3df
|
||||
DIST kgraphviewer-2.4.2.tar.xz 1565692 SHA256 49438b4e6cca69d2e658de50059f045ede42cfe78ee97cece35959e29ffb85c9 SHA512 2a25f8493881ffa057602e7a141ea610b8db7c43da2db007aea118e2ec7b1f069fbfa6ca80b0e1048c9b20535764679c8d77027337c47a4c18e5240c3058d935 WHIRLPOOL 9cdf603f7c2f8611c4f65f5a885ff40d937fa5f87c52e9a8837da455c6d4b6305beef124f1f0017866d4d353cb79232edf9f038a36a7abc0d9aad23e2456c271
|
||||
|
@ -1,25 +0,0 @@
|
||||
From 9e1f02b3fdb7d6f410ae7563349b7a07544dd3c6 Mon Sep 17 00:00:00 2001
|
||||
From: Jonathan Riddell <jr@jriddell.org>
|
||||
Date: Tue, 12 Sep 2017 16:46:43 +0100
|
||||
Subject: desktop-mime-but-no-exec-code
|
||||
|
||||
---
|
||||
src/org.kde.kgraphviewer.desktop | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/org.kde.kgraphviewer.desktop b/src/org.kde.kgraphviewer.desktop
|
||||
index 42c6cc2..6e4aa15 100644
|
||||
--- a/src/org.kde.kgraphviewer.desktop
|
||||
+++ b/src/org.kde.kgraphviewer.desktop
|
||||
@@ -37,7 +37,7 @@ Name[uk]=KGraphViewer
|
||||
Name[x-test]=xxKGraphViewerxx
|
||||
Name[zh_TW]=KGraphViewer
|
||||
MimeType=text/vnd.graphviz
|
||||
-Exec=kgraphviewer -qwindowtitle %c
|
||||
+Exec=kgraphviewer -qwindowtitle %c %u
|
||||
Icon=kgraphviewer
|
||||
Type=Application
|
||||
Categories=Qt;KDE;Graphics;Viewer;2DGraphics;DataVisualization;
|
||||
--
|
||||
cgit v0.11.2
|
||||
|
@ -1,2 +1,2 @@
|
||||
DIST sane-backends-1.0.24.tar.gz 5778749 SHA256 27c7085a54f1505d8b551e6f1e69d30e1ee57328b18429bb2225dabf4c45462d SHA512 1e9f962bb9d27f17067eb662dabfc0a1aa0d06e16bec4bd28868124b468578d82f14f6d2c1f5de63d2cec57ca4584ec12d3b2c2b1de20f1199aece581453ebc5 WHIRLPOOL 19b939c920a3c157044c85a941debdc664d8781562fa3fc04f061b9d216b089be80edfd43479069382adf13e68160518fdbd5c84a5f4c506a46f8521d4ed2a1c
|
||||
DIST sane-backends-1.0.25.tar.gz 5955016 SHA256 a4d7ba8d62b2dea702ce76be85699940992daf3f44823ddc128812da33dc6e2c SHA512 b9548646fff13558a4da4a4e9e8bad730f05121bcc65b72d24ded3bfddc6fe574e08c39c8651544b8fbfeab036fffd76cc14d76ef5d5d47e7513a2ce3afcc9df WHIRLPOOL 557a3ac8785c0dd7f98aa55d5edaf76fb5b2b3c86a2431bb40b5b132ac05de3abcb250a8bcf8ed188868c4f124ce0a323a92a5a83c7b44a20908fe40ca323711
|
||||
DIST sane-backends-1.0.27.tar.gz 6430188 SHA256 293747bf37275c424ebb2c833f8588601a60b2f9653945d5a3194875355e36c9 SHA512 c6552768bfc10216730fc11011c82f74ca0952182019ded3916072147ec09be5c975ce1d37dc3ccea050c488dbdf983c2ca17dcd702644060ba796ae2591f9c5 WHIRLPOOL 62ac1f4d4601bb2189212f021c23a48067ebdb5d900c2259ae4acdb6f94292c20689d9889bb11861b78be5ea7c3f76e815154e032f4bda76efcf901a97895cdd
|
||||
|
@ -1,140 +0,0 @@
|
||||
--- backend/niash.c 2010-12-02 00:49:58.000000000 +0100
|
||||
+++ backend/niash.c.new 2011-09-21 20:09:07.000000000 +0200
|
||||
@@ -82,14 +82,7 @@
|
||||
optThreshold,
|
||||
|
||||
|
||||
- optLast,
|
||||
-/* put temporarily disabled options here after optLast */
|
||||
-
|
||||
- optGroupMisc,
|
||||
- optLamp,
|
||||
-
|
||||
- optCalibrate,
|
||||
- optGamma /* analog gamma = single number */
|
||||
+ optLast
|
||||
} EOptionIndex;
|
||||
|
||||
|
||||
@@ -685,17 +678,6 @@
|
||||
pDesc->size = 0;
|
||||
break;
|
||||
|
||||
- case optGamma:
|
||||
- pDesc->name = SANE_NAME_ANALOG_GAMMA;
|
||||
- pDesc->title = SANE_TITLE_ANALOG_GAMMA;
|
||||
- pDesc->desc = SANE_DESC_ANALOG_GAMMA;
|
||||
- pDesc->type = SANE_TYPE_FIXED;
|
||||
- pDesc->constraint_type = SANE_CONSTRAINT_RANGE;
|
||||
- pDesc->constraint.range = &rangeGamma;
|
||||
- pDesc->cap = SANE_CAP_SOFT_SELECT | SANE_CAP_SOFT_DETECT;
|
||||
- pVal->w = startUpGamma;
|
||||
- break;
|
||||
-
|
||||
case optGammaTable:
|
||||
pDesc->name = SANE_NAME_GAMMA_VECTOR;
|
||||
pDesc->title = SANE_TITLE_GAMMA_VECTOR;
|
||||
@@ -707,31 +689,6 @@
|
||||
pVal->wa = s->aGammaTable;
|
||||
break;
|
||||
|
||||
- case optGroupMisc:
|
||||
- pDesc->title = SANE_I18N ("Miscellaneous");
|
||||
- pDesc->type = SANE_TYPE_GROUP;
|
||||
- pDesc->size = 0;
|
||||
- break;
|
||||
-
|
||||
- case optLamp:
|
||||
- pDesc->name = "lamp";
|
||||
- pDesc->title = SANE_I18N ("Lamp status");
|
||||
- pDesc->desc = SANE_I18N ("Switches the lamp on or off.");
|
||||
- pDesc->type = SANE_TYPE_BOOL;
|
||||
- pDesc->cap = SANE_CAP_SOFT_SELECT | SANE_CAP_SOFT_DETECT;
|
||||
- /* switch the lamp on when starting for first the time */
|
||||
- pVal->w = SANE_TRUE;
|
||||
- break;
|
||||
-
|
||||
- case optCalibrate:
|
||||
- pDesc->name = "calibrate";
|
||||
- pDesc->title = SANE_I18N ("Calibrate");
|
||||
- pDesc->desc = SANE_I18N ("Calibrates for black and white level.");
|
||||
- pDesc->type = SANE_TYPE_BUTTON;
|
||||
- pDesc->cap = SANE_CAP_SOFT_SELECT;
|
||||
- pDesc->size = 0;
|
||||
- break;
|
||||
-
|
||||
case optGroupMode:
|
||||
pDesc->title = SANE_I18N ("Scan Mode");
|
||||
pDesc->desc = "";
|
||||
@@ -1007,7 +964,6 @@
|
||||
/* Get options of type SANE_Word */
|
||||
case optCount:
|
||||
case optDPI:
|
||||
- case optGamma:
|
||||
case optTLX:
|
||||
case optTLY:
|
||||
case optBRX:
|
||||
@@ -1031,17 +987,6 @@
|
||||
strcpy ((char *) pVal, modeList[s->aValues[optMode].w]);
|
||||
break;
|
||||
|
||||
- /* Get options of type SANE_Bool */
|
||||
- case optLamp:
|
||||
- GetLamp (&s->HWParams, &fLampIsOn);
|
||||
- *(SANE_Bool *) pVal = fLampIsOn;
|
||||
- break;
|
||||
-
|
||||
- case optCalibrate:
|
||||
- /* although this option has nothing to read,
|
||||
- it's added here to avoid a warning when running scanimage --help */
|
||||
- break;
|
||||
-
|
||||
default:
|
||||
DBG (DBG_MSG, "SANE_ACTION_GET_VALUE: Invalid option (%d)\n", n);
|
||||
}
|
||||
@@ -1061,7 +1006,6 @@
|
||||
case optCount:
|
||||
return SANE_STATUS_INVAL;
|
||||
|
||||
- case optGamma:
|
||||
case optThreshold:
|
||||
case optDPI:
|
||||
|
||||
@@ -1089,15 +1033,7 @@
|
||||
DBG (DBG_MSG,
|
||||
"sane_control_option: SANE_ACTION_SET_VALUE %d = %d\n", n,
|
||||
(int) s->aValues[n].w);
|
||||
- if (n == optGamma)
|
||||
- {
|
||||
- if (!fSame && optLast > optGammaTable)
|
||||
- {
|
||||
- info |= SANE_INFO_RELOAD_OPTIONS;
|
||||
- }
|
||||
- _SetScalarGamma (s->aGammaTable, s->aValues[n].w);
|
||||
- }
|
||||
- break;
|
||||
+ break;
|
||||
|
||||
case optGammaTable:
|
||||
DBG (DBG_MSG, "Writing gamma table\n");
|
||||
@@ -1158,20 +1094,6 @@
|
||||
break;
|
||||
|
||||
|
||||
-
|
||||
- case optLamp:
|
||||
- fVal = *(SANE_Bool *) pVal;
|
||||
- DBG (DBG_MSG, "lamp %s\n", fVal ? "on" : "off");
|
||||
- if (fVal)
|
||||
- _WarmUpLamp (s, WARMUP_INSESSION);
|
||||
- else
|
||||
- SetLamp (&s->HWParams, SANE_FALSE);
|
||||
- break;
|
||||
-
|
||||
- case optCalibrate:
|
||||
-/* SimpleCalib(&s->HWParams); */
|
||||
- break;
|
||||
-
|
||||
default:
|
||||
DBG (DBG_ERR, "SANE_ACTION_SET_VALUE: Invalid option (%d)\n", n);
|
||||
}
|
@ -1,56 +0,0 @@
|
||||
sent upstream:
|
||||
https://lists.alioth.debian.org/pipermail/sane-devel/2015-July/033601.html
|
||||
|
||||
From 867c8fcde5cf54afae7f9ae8f855605b891708a7 Mon Sep 17 00:00:00 2001
|
||||
From: Christopher Brannon <teiresias@gentoo.org>
|
||||
Date: Wed, 8 Jul 2015 06:37:14 -0400
|
||||
Subject: [PATCH] add a configure flag to control systemd support
|
||||
|
||||
This way people can easily disable systemd support locally.
|
||||
---
|
||||
configure.in | 29 ++++++++++++++++++-----------
|
||||
1 file changed, 18 insertions(+), 11 deletions(-)
|
||||
|
||||
diff --git a/configure.in b/configure.in
|
||||
index 059058b..b539cda 100644
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -343,17 +343,24 @@ dnl $as_echo "in order to autodetect network scanners in kodakaio."
|
||||
dnl with_cups="no"
|
||||
dnl fi
|
||||
|
||||
-dnl added by llagendijk 12/7/2012 to detect systemd for saned
|
||||
-$as_echo_n "Checking for systemd..."
|
||||
-if test -e /usr/include/systemd/sd-daemon.h ; then
|
||||
- AC_DEFINE(HAVE_SYSTEMD, 1, [Is /usr/include/systemd/sd-daemon.h available?])
|
||||
- with_systemd="yes"
|
||||
- SYSTEMD_LIBS=" -lsystemd-daemon"
|
||||
- AC_SUBST(SYSTEMD_LIBS)
|
||||
- $as_echo "yes"
|
||||
-else
|
||||
- with_systemd="no"
|
||||
- $as_echo "no"
|
||||
+AC_ARG_WITH(systemd,
|
||||
+ AC_HELP_STRING([--with-systemd], [enable systemd support @<:@default=yes@:>@]))
|
||||
+if test "x$with_systemd" != xno ; then
|
||||
+ dnl added by llagendijk 12/7/2012 to detect systemd for saned
|
||||
+ $as_echo_n "Checking for systemd..."
|
||||
+ if test -e /usr/include/systemd/sd-daemon.h ; then
|
||||
+ AC_DEFINE(HAVE_SYSTEMD, 1, [Is /usr/include/systemd/sd-daemon.h available?])
|
||||
+ have_systemd="yes"
|
||||
+ SYSTEMD_LIBS=" -lsystemd-daemon"
|
||||
+ AC_SUBST(SYSTEMD_LIBS)
|
||||
+ $as_echo "yes"
|
||||
+ else
|
||||
+ have_systemd="no"
|
||||
+ $as_echo "no"
|
||||
+ if test "x$with_systemd" = xyes; then
|
||||
+ AC_MSG_ERROR([Systemd support was requested but systemd was not found])
|
||||
+ fi
|
||||
+ fi
|
||||
fi
|
||||
|
||||
dnl ***********
|
||||
--
|
||||
2.4.4
|
||||
|
@ -1,30 +0,0 @@
|
||||
sent upstream:
|
||||
https://lists.alioth.debian.org/pipermail/sane-devel/2015-July/033600.html
|
||||
|
||||
From c8df148e2b9784be1827e33224baa1cb5066a383 Mon Sep 17 00:00:00 2001
|
||||
From: Mike Frysinger <vapier@chromium.org>
|
||||
Date: Wed, 8 Jul 2015 06:31:12 -0400
|
||||
Subject: [PATCH] fix cross-compiling paths
|
||||
|
||||
There's no reason to hardcode -I paths to /usr/local. Doing so breaks
|
||||
cross-compiling when incompatible headers live in there or the toolchain
|
||||
is set up to throw errors with those flags.
|
||||
---
|
||||
configure.in | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/configure.in b/configure.in
|
||||
index 48953d2..059058b 100644
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -82,7 +82,6 @@ AM_CONDITIONAL(CROSS_COMPILING, test x$cross_compiling = xyes)
|
||||
dnl ***********************************************************************
|
||||
dnl set compiler/linker flags
|
||||
dnl ***********************************************************************
|
||||
-INCLUDES="${INCLUDES} -I/usr/local/include"
|
||||
AC_SUBST(INCLUDES)
|
||||
SANE_SET_CFLAGS([$is_release])
|
||||
SANE_SET_LDFLAGS
|
||||
--
|
||||
2.4.4
|
||||
|
@ -1,105 +0,0 @@
|
||||
taken from upstream
|
||||
|
||||
From 37523b867d411c2f82d08128246be7e38bc9812c Mon Sep 17 00:00:00 2001
|
||||
From: Paul Newall <quandry@ntlworld.com>
|
||||
Date: Mon, 14 Oct 2013 22:22:53 +0100
|
||||
Subject: [PATCH] Bugfix in kodakaio.c to fix segfault when non kodak scanners
|
||||
return unexpected data via avahi auto discovery
|
||||
|
||||
---
|
||||
ChangeLog | 4 ++++
|
||||
backend/kodakaio.c | 43 +++++++++++++++++++++++++++++++-----------
|
||||
doc/descriptions/kodakaio.desc | 2 +-
|
||||
3 files changed, 37 insertions(+), 12 deletions(-)
|
||||
|
||||
2013-10-14 Paul Newall <quandry@ntlworld.com>
|
||||
* backend/kodakaio.c: fix bug #314301,
|
||||
Segfault when unexpected data returned by avahi auto discovery.
|
||||
|
||||
diff --git a/backend/kodakaio.c b/backend/kodakaio.c
|
||||
index 8c4583a..b442e50 100644
|
||||
--- a/backend/kodakaio.c
|
||||
+++ b/backend/kodakaio.c
|
||||
@@ -127,7 +127,7 @@ for ubuntu 12.10
|
||||
|
||||
#define KODAKAIO_VERSION 02
|
||||
#define KODAKAIO_REVISION 4
|
||||
-#define KODAKAIO_BUILD 6
|
||||
+#define KODAKAIO_BUILD 7
|
||||
|
||||
/* for usb (but also used for net though it's not required). */
|
||||
#define MAX_BLOCK_SIZE 32768
|
||||
@@ -2184,6 +2184,7 @@ static void resolve_callback(
|
||||
AvahiLookupResultFlags flags,
|
||||
AVAHI_GCC_UNUSED void* userdata) {
|
||||
|
||||
+ AvahiStringList *vid_pair_list = NULL, *pid_pair_list = NULL;
|
||||
char *pidkey, *pidvalue;
|
||||
char *vidkey, *vidvalue;
|
||||
size_t valuesize;
|
||||
@@ -2204,20 +2205,40 @@ static void resolve_callback(
|
||||
avahi_address_snprint(a, sizeof(a), address);
|
||||
|
||||
/* Output short for Kodak ESP */
|
||||
- DBG(min(10,DBG_AUTO), "%s:%u %s ", a,port,host_name);
|
||||
- avahi_string_list_get_pair(avahi_string_list_find(txt, "vid"),
|
||||
- &vidkey, &vidvalue, &valuesize);
|
||||
- DBG(min(10,DBG_AUTO), "%s=%s ", vidkey, vidvalue);
|
||||
- avahi_string_list_get_pair(avahi_string_list_find(txt, "pid"),
|
||||
- &pidkey, &pidvalue, &valuesize);
|
||||
- DBG(min(10,DBG_AUTO), "%s=%s\n", pidkey, pidvalue);
|
||||
+ DBG(min(10,DBG_AUTO), "%s:%u %s\n", a,port,host_name);
|
||||
|
||||
+ vid_pair_list = avahi_string_list_find(txt, "vid");
|
||||
+ if(vid_pair_list != NULL) {
|
||||
+ avahi_string_list_get_pair(vid_pair_list, &vidkey, &vidvalue, &valuesize);
|
||||
+ DBG(min(10,DBG_AUTO), "%s=%s ", vidkey, vidvalue);
|
||||
+ }
|
||||
+ else DBG(min(10,DBG_AUTO), "failed to find key vid\n");
|
||||
+
|
||||
+ pid_pair_list = avahi_string_list_find(txt, "pid");
|
||||
+ if(pid_pair_list != NULL) {
|
||||
+ avahi_string_list_get_pair(pid_pair_list, &pidkey, &pidvalue, &valuesize);
|
||||
+ DBG(min(10,DBG_AUTO), "%s=%s\n", pidkey, pidvalue);
|
||||
+ }
|
||||
+ else DBG(min(10,DBG_AUTO), "failed to find key pid\n");
|
||||
+
|
||||
+ if(pid_pair_list != NULL && vid_pair_list != NULL) {
|
||||
ProcessAvahiDevice(name, vidvalue, pidvalue, a);
|
||||
- avahi_free(vidkey); avahi_free(vidvalue);
|
||||
- avahi_free(pidkey); avahi_free(pidvalue);
|
||||
+ }
|
||||
+ else DBG(min(10,DBG_AUTO), "didn't call ProcessAvahiDevice\n");
|
||||
+
|
||||
+ if(vid_pair_list != NULL) {
|
||||
+ avahi_free(vidkey);
|
||||
+ avahi_free(vidvalue);
|
||||
+ DBG(min(15,DBG_AUTO), "vidkey and vidvalue freed\n");
|
||||
+ }
|
||||
+ if(pid_pair_list != NULL) {
|
||||
+ avahi_free(pidkey);
|
||||
+ avahi_free(pidvalue);
|
||||
+ DBG(min(15,DBG_AUTO), "pidkey and pidvalue freed\n");
|
||||
+ }
|
||||
}
|
||||
}
|
||||
-
|
||||
+ DBG(min(10,DBG_AUTO), "ending resolve_callback\n");
|
||||
avahi_service_resolver_free(r);
|
||||
}
|
||||
|
||||
diff --git a/doc/descriptions/kodakaio.desc b/doc/descriptions/kodakaio.desc
|
||||
index 7882513..5fb18ed 100644
|
||||
--- a/doc/descriptions/kodakaio.desc
|
||||
+++ b/doc/descriptions/kodakaio.desc
|
||||
@@ -1,6 +1,6 @@
|
||||
:backend "kodakaio"
|
||||
:url "http://sourceforge.net/projects/cupsdriverkodak/"
|
||||
-:version "2.4.6"
|
||||
+:version "2.4.7"
|
||||
:manpage "sane-kodakaio"
|
||||
:comment "Backend for Kodak AiO ESP and Hero printers. Also possibly Advent AWL10"
|
||||
:devicetype :scanner
|
||||
--
|
||||
2.4.4
|
||||
|
@ -1,54 +0,0 @@
|
||||
sent upstream:
|
||||
https://lists.alioth.debian.org/pipermail/sane-devel/2015-July/033602.html
|
||||
|
||||
From 1dcfb42608a27fbdebdaa721b4e48354850a7dcc Mon Sep 17 00:00:00 2001
|
||||
From: Christopher Brannon <teiresias@gentoo.org>
|
||||
Date: Wed, 8 Jul 2015 06:38:50 -0400
|
||||
Subject: [PATCH] use pkg-config to look up systemd paths
|
||||
|
||||
Since systemd has always shipped pkg-config files, we should use them.
|
||||
This also fixes cross-compiling by not relying on hardcoded host paths.
|
||||
---
|
||||
configure.in | 25 +++++++++++--------------
|
||||
1 file changed, 11 insertions(+), 14 deletions(-)
|
||||
|
||||
diff --git a/configure.in b/configure.in
|
||||
index b539cda..5e703a8 100644
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -346,21 +346,18 @@ dnl fi
|
||||
AC_ARG_WITH(systemd,
|
||||
AC_HELP_STRING([--with-systemd], [enable systemd support @<:@default=yes@:>@]))
|
||||
if test "x$with_systemd" != xno ; then
|
||||
- dnl added by llagendijk 12/7/2012 to detect systemd for saned
|
||||
- $as_echo_n "Checking for systemd..."
|
||||
- if test -e /usr/include/systemd/sd-daemon.h ; then
|
||||
- AC_DEFINE(HAVE_SYSTEMD, 1, [Is /usr/include/systemd/sd-daemon.h available?])
|
||||
- have_systemd="yes"
|
||||
- SYSTEMD_LIBS=" -lsystemd-daemon"
|
||||
- AC_SUBST(SYSTEMD_LIBS)
|
||||
- $as_echo "yes"
|
||||
- else
|
||||
- have_systemd="no"
|
||||
- $as_echo "no"
|
||||
- if test "x$with_systemd" = xyes; then
|
||||
- AC_MSG_ERROR([Systemd support was requested but systemd was not found])
|
||||
- fi
|
||||
+ PKG_CHECK_MODULES(SYSTEMD, [libsystemd], have_systemd=yes, have_systemd=no)
|
||||
+ if test "x$have_systemd" = xno; then
|
||||
+ PKG_CHECK_MODULES(SYSTEMD, [libsystemd-daemon], have_systemd=yes, have_systemd=no)
|
||||
+ fi
|
||||
+ if test "x$have_systemd" = xyes; then
|
||||
+ AC_DEFINE(HAVE_SYSTEMD, 1, [Is /usr/include/systemd/sd-daemon.h available?])
|
||||
+ AC_SUBST(SYSTEMD_LIBS)
|
||||
+ else
|
||||
+ if test "x$with_systemd" = xyes; then
|
||||
+ AC_MSG_ERROR([Systemd support was requested but systemd was not found])
|
||||
fi
|
||||
+ fi
|
||||
fi
|
||||
|
||||
dnl ***********
|
||||
--
|
||||
2.4.4
|
||||
|
@ -1,62 +0,0 @@
|
||||
taken from upstream
|
||||
|
||||
From efb04936b8ad3bf313c289a522ae5832e22c1b7e Mon Sep 17 00:00:00 2001
|
||||
From: Paul Newall <quandry@ntlworld.com>
|
||||
Date: Tue, 15 Oct 2013 22:20:15 +0100
|
||||
Subject: [PATCH] detection of cups commented out in configure.in it is no
|
||||
longer used by kodakaio.
|
||||
|
||||
---
|
||||
ChangeLog | 4 ++++
|
||||
configure.in | 24 ++++++++++++------------
|
||||
2 files changed, 16 insertions(+), 12 deletions(-)
|
||||
|
||||
2013-10-15 Paul Newall <quandry@ntlworld.com>
|
||||
* configue.in: detection of cups was commented out. Avahi is now used
|
||||
for autodetection in kodakaio so the detection of cups is no longer required.
|
||||
|
||||
diff --git a/configure.in b/configure.in
|
||||
index e13888c..4365868 100644
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -332,17 +332,17 @@ if test -c /dev/urandom ; then
|
||||
AC_DEFINE(HAVE_DEV_URANDOM, 1, [Is /dev/urandom available?])
|
||||
fi
|
||||
|
||||
-dnl added by PN 3/2/12 to detect cups
|
||||
-$as_echo "checking for cups"
|
||||
-if test -e /usr/include/cups/cups.h ; then
|
||||
- AC_DEFINE(HAVE_CUPS, 1, [Is /usr/include/cups/cups.h available?])
|
||||
- with_cups="yes"
|
||||
- LIBS="-lcups $LIBS"
|
||||
-else
|
||||
- $as_echo "cups.h not found, you may want to install a cups development package"
|
||||
- $as_echo "in order to autodetect network scanners in kodakaio."
|
||||
- with_cups="no"
|
||||
-fi
|
||||
+dnl added by PN 3/2/12 to detect cups commented out 15/10/13 since avahi is now used instead
|
||||
+dnl $as_echo "checking for cups"
|
||||
+dnl if test -e /usr/include/cups/cups.h ; then
|
||||
+dnl AC_DEFINE(HAVE_CUPS, 1, [Is /usr/include/cups/cups.h available?])
|
||||
+dnl with_cups="yes"
|
||||
+dnl LIBS="-lcups $LIBS"
|
||||
+dnl else
|
||||
+dnl $as_echo "cups.h not found, you may want to install a cups development package"
|
||||
+dnl $as_echo "in order to autodetect network scanners in kodakaio."
|
||||
+dnl with_cups="no"
|
||||
+dnl fi
|
||||
|
||||
dnl added by llagendijk 12/7/2012 to detect systemd for saned
|
||||
$as_echo_n "Checking for systemd..."
|
||||
@@ -816,7 +816,7 @@ fi
|
||||
echo "IPv6 support: `eval eval echo ${ipv6}`"
|
||||
echo "Avahi support: `eval eval echo ${enable_avahi}`"
|
||||
echo "SNMP support: `eval eval echo ${with_snmp}`"
|
||||
-echo "CUPS support: `eval eval echo ${with_cups}`"
|
||||
+dnl echo "CUPS support: `eval eval echo ${with_cups}`" commented out 15/10/13
|
||||
echo "-> The following backends will be built:"
|
||||
for backend in ${BACKENDS} ; do
|
||||
echo $ECHO_N "${backend} "
|
||||
--
|
||||
2.4.4
|
||||
|
@ -0,0 +1,11 @@
|
||||
--- a/testsuite/sanei/sanei_usb_test.c~ 2017-05-15 03:19:11.000000000 +0200
|
||||
+++ b/testsuite/sanei/sanei_usb_test.c 2017-09-27 12:13:57.402803737 +0200
|
||||
@@ -832,6 +832,8 @@
|
||||
int detected, opened, i;
|
||||
SANE_Int dn[MAX_DEVICES];
|
||||
|
||||
+ return 77;
|
||||
+
|
||||
#ifdef HAVE_LIBUSB_LEGACY
|
||||
printf ("\n%s built with old libusb\n\n", argv[0]);
|
||||
#endif
|
@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=saned incoming socket
|
||||
|
||||
[Socket]
|
||||
ListenStream=6566
|
||||
Accept=yes
|
||||
MaxConnections=1
|
||||
|
||||
[Install]
|
||||
WantedBy=sockets.target
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue