parent
1dc28b3759
commit
88bea7b3b7
Binary file not shown.
Binary file not shown.
@ -0,0 +1,242 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils pam multilib libtool tmpfiles
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EHG_REPO_URI="https://www.sudo.ws/repos/sudo"
|
||||
inherit mercurial
|
||||
fi
|
||||
|
||||
MY_P=${P/_/}
|
||||
MY_P=${MY_P/beta/b}
|
||||
|
||||
uri_prefix=
|
||||
case ${P} in
|
||||
*_beta*|*_rc*) uri_prefix=beta/ ;;
|
||||
esac
|
||||
|
||||
DESCRIPTION="Allows users or groups to run commands as other users"
|
||||
HOMEPAGE="https://www.sudo.ws/"
|
||||
if [[ ${PV} != "9999" ]] ; then
|
||||
SRC_URI="https://www.sudo.ws/sudo/dist/${uri_prefix}${MY_P}.tar.gz
|
||||
ftp://ftp.sudo.ws/pub/sudo/${uri_prefix}${MY_P}.tar.gz"
|
||||
if [[ ${PV} != *_beta* ]] && [[ ${PV} != *_rc* ]] ; then
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~sparc-solaris"
|
||||
fi
|
||||
fi
|
||||
|
||||
# Basic license is ISC-style as-is, some files are released under
|
||||
# 3-clause BSD license
|
||||
LICENSE="ISC BSD"
|
||||
SLOT="0"
|
||||
IUSE="gcrypt ldap nls offensive openssl pam sasl selinux +sendmail skey sssd"
|
||||
|
||||
CDEPEND="
|
||||
sys-libs/zlib:=
|
||||
gcrypt? ( dev-libs/libgcrypt:= )
|
||||
ldap? (
|
||||
>=net-nds/openldap-2.1.30-r1
|
||||
dev-libs/cyrus-sasl
|
||||
)
|
||||
openssl? ( dev-libs/openssl:0= )
|
||||
pam? ( virtual/pam )
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
skey? ( >=sys-auth/skey-1.1.5-r1 )
|
||||
sssd? ( sys-auth/sssd[sudo] )
|
||||
"
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
>=app-misc/editor-wrapper-3
|
||||
virtual/editor
|
||||
ldap? ( dev-lang/perl )
|
||||
pam? ( sys-auth/pambase )
|
||||
selinux? ( sec-policy/selinux-sudo )
|
||||
sendmail? ( virtual/mta )
|
||||
"
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
sys-devel/bison
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
REQUIRED_USE="
|
||||
pam? ( !skey )
|
||||
skey? ( !pam )
|
||||
?? ( gcrypt openssl )
|
||||
"
|
||||
|
||||
MAKEOPTS+=" SAMPLES="
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
set_secure_path() {
|
||||
# FIXME: secure_path is a compile time setting. using PATH or
|
||||
# ROOTPATH is not perfect, env-update may invalidate this, but until it
|
||||
# is available as a sudoers setting this will have to do.
|
||||
einfo "Setting secure_path ..."
|
||||
|
||||
# first extract the default ROOTPATH from build env
|
||||
SECURE_PATH=$(unset ROOTPATH; . "${EPREFIX}"/etc/profile.env;
|
||||
echo "${ROOTPATH}")
|
||||
case "${SECURE_PATH}" in
|
||||
*/usr/sbin*) ;;
|
||||
*) SECURE_PATH=$(unset PATH;
|
||||
. "${EPREFIX}"/etc/profile.env; echo "${PATH}")
|
||||
;;
|
||||
esac
|
||||
if [[ -z ${SECURE_PATH} ]] ; then
|
||||
ewarn " Failed to detect SECURE_PATH, please report this"
|
||||
fi
|
||||
|
||||
# then remove duplicate path entries
|
||||
cleanpath() {
|
||||
local newpath thisp IFS=:
|
||||
for thisp in $1 ; do
|
||||
if [[ :${newpath}: != *:${thisp}:* ]] ; then
|
||||
newpath+=:$thisp
|
||||
else
|
||||
einfo " Duplicate entry ${thisp} removed..."
|
||||
fi
|
||||
done
|
||||
SECURE_PATH=${newpath#:}
|
||||
}
|
||||
cleanpath /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin${SECURE_PATH:+:${SECURE_PATH}}
|
||||
|
||||
# finally, strip gcc paths #136027
|
||||
rmpath() {
|
||||
local e newpath thisp IFS=:
|
||||
for thisp in ${SECURE_PATH} ; do
|
||||
for e ; do [[ $thisp == $e ]] && continue 2 ; done
|
||||
newpath+=:$thisp
|
||||
done
|
||||
SECURE_PATH=${newpath#:}
|
||||
}
|
||||
rmpath '*/gcc-bin/*' '*/gnat-gcc-bin/*' '*/gnat-gcc/*'
|
||||
|
||||
einfo "... done"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local SECURE_PATH
|
||||
set_secure_path
|
||||
|
||||
# audit: somebody got to explain me how I can test this before I
|
||||
# enable it.. - Diego
|
||||
# plugindir: autoconf code is crappy and does not delay evaluation
|
||||
# until `make` time, so we have to use a full path here rather than
|
||||
# basing off other values.
|
||||
myeconfargs=(
|
||||
--enable-zlib=system
|
||||
--enable-tmpfiles.d="${EPREFIX}"/usr/lib/tmpfiles.d
|
||||
--with-editor="${EPREFIX}"/usr/libexec/editor
|
||||
--with-env-editor
|
||||
--with-plugindir="${EPREFIX}"/usr/$(get_libdir)/sudo
|
||||
--with-rundir="${EPREFIX}"/run/sudo
|
||||
--with-secure-path="${SECURE_PATH}"
|
||||
--with-vardir="${EPREFIX}"/var/db/sudo
|
||||
--without-linux-audit
|
||||
--without-opie
|
||||
$(use_enable gcrypt)
|
||||
$(use_enable nls)
|
||||
$(use_enable openssl)
|
||||
$(use_enable sasl)
|
||||
$(use_with offensive insults)
|
||||
$(use_with offensive all-insults)
|
||||
$(use_with ldap ldap_conf_file /etc/ldap.conf.sudo)
|
||||
$(use_with ldap)
|
||||
$(use_with pam)
|
||||
$(use_with skey)
|
||||
$(use_with sssd)
|
||||
$(use_with selinux)
|
||||
$(use_with sendmail)
|
||||
)
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use ldap ; then
|
||||
dodoc README.LDAP
|
||||
|
||||
cat <<-EOF > "${T}"/ldap.conf.sudo
|
||||
# See ldap.conf(5) and README.LDAP for details
|
||||
# This file should only be readable by root
|
||||
|
||||
# supported directives: host, port, ssl, ldap_version
|
||||
# uri, binddn, bindpw, sudoers_base, sudoers_debug
|
||||
# tls_{checkpeer,cacertfile,cacertdir,randfile,ciphers,cert,key}
|
||||
EOF
|
||||
|
||||
insinto /etc
|
||||
doins "${T}"/ldap.conf.sudo
|
||||
fperms 0440 /etc/ldap.conf.sudo
|
||||
|
||||
insinto /etc/openldap/schema
|
||||
newins doc/schema.OpenLDAP sudo.schema
|
||||
fi
|
||||
|
||||
pamd_mimic system-auth sudo auth account session
|
||||
|
||||
keepdir /var/db/sudo/lectured
|
||||
fperms 0700 /var/db/sudo/lectured
|
||||
fperms 0711 /var/db/sudo #652958
|
||||
|
||||
# Don't install into /run as that is a tmpfs most of the time
|
||||
# (bug #504854)
|
||||
rm -rf "${ED%/}"/run
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process sudo.conf
|
||||
|
||||
#652958
|
||||
local sudo_db="${EROOT}/var/db/sudo"
|
||||
if [[ "$(stat -c %a "${sudo_db}")" -ne 711 ]] ; then
|
||||
chmod 711 "${sudo_db}" || die
|
||||
fi
|
||||
|
||||
if use ldap ; then
|
||||
ewarn
|
||||
ewarn "sudo uses the /etc/ldap.conf.sudo file for ldap configuration."
|
||||
ewarn
|
||||
if grep -qs '^[[:space:]]*sudoers:' "${ROOT}"/etc/nsswitch.conf ; then
|
||||
ewarn "In 1.7 series, LDAP is no more consulted, unless explicitly"
|
||||
ewarn "configured in /etc/nsswitch.conf."
|
||||
ewarn
|
||||
ewarn "To make use of LDAP, add this line to your /etc/nsswitch.conf:"
|
||||
ewarn " sudoers: ldap files"
|
||||
ewarn
|
||||
fi
|
||||
fi
|
||||
if use prefix ; then
|
||||
ewarn
|
||||
ewarn "To use sudo, you need to change file ownership and permissions"
|
||||
ewarn "with root privileges, as follows:"
|
||||
ewarn
|
||||
ewarn " # chown root:root ${EPREFIX}/usr/bin/sudo"
|
||||
ewarn " # chown root:root ${EPREFIX}/usr/lib/sudo/sudoers.so"
|
||||
ewarn " # chown root:root ${EPREFIX}/etc/sudoers"
|
||||
ewarn " # chown root:root ${EPREFIX}/etc/sudoers.d"
|
||||
ewarn " # chown root:root ${EPREFIX}/var/db/sudo"
|
||||
ewarn " # chmod 4111 ${EPREFIX}/usr/bin/sudo"
|
||||
ewarn
|
||||
fi
|
||||
|
||||
elog "To use the -A (askpass) option, you need to install a compatible"
|
||||
elog "password program from the following list. Starred packages will"
|
||||
elog "automatically register for the use with sudo (but will not force"
|
||||
elog "the -A option):"
|
||||
elog ""
|
||||
elog " [*] net-misc/ssh-askpass-fullscreen"
|
||||
elog " net-misc/x11-ssh-askpass"
|
||||
elog ""
|
||||
elog "You can override the choice by setting the SUDO_ASKPASS environmnent"
|
||||
elog "variable to the program you want to use."
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
MY_PV="${PV/./_}"
|
||||
|
||||
DESCRIPTION="CPU testing utilities in optimized assembler for maximum loading"
|
||||
HOMEPAGE="https://downloads.bl4ckb0x.de/pages.sbcglobal.net/redelm/"
|
||||
SRC_URI="https://downloads.bl4ckb0x.de/pages.sbcglobal.net/redelm/${PN}_${MY_PV}_tar.gz -> ${P}.tar.gz"
|
||||
|
||||
KEYWORDS="-* ~amd64 ~arm ~x86"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-variables.patch" )
|
||||
|
||||
QA_FLAGS_IGNORED="
|
||||
usr/bin/burnBX
|
||||
usr/bin/burnK6
|
||||
usr/bin/burnK7
|
||||
usr/bin/burnMMX
|
||||
usr/bin/burnP5
|
||||
usr/bin/burnP6
|
||||
"
|
||||
|
||||
QA_TEXTRELS="${QA_FLAGS_IGNORED}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Respect users compiler and users CFLAGS and LDFLAGS on x86/amd64
|
||||
# Must be always compiled in 32-bit on amd64 arch
|
||||
# See https://bugs.gentoo.org/65719
|
||||
sed -i -e 's/gcc -s/$(CC) $(CFLAGS) -m32 $(LDFLAGS)/' Makefile || die
|
||||
|
||||
# Respect users compiler, CFLAGS and LDFLAGS on arm
|
||||
sed -i -e '/CC :=/d' -e 's/^.*-mfloat-abi=softfp/ $(CC) $(CFLAGS) -nostdlib $(LDFLAGS)/' ARM/Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if use arm; then
|
||||
cd "${S}"/ARM || die
|
||||
fi
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use arm; then
|
||||
dobin ARM/burnCortexA8 ARM/burnCortexA9
|
||||
local DOCS=( "ARM/Design" "README" )
|
||||
else
|
||||
dobin burnBX burnK6 burnK7 burnMMX burnP5 burnP6
|
||||
local DOCS=( "Design" "README" )
|
||||
fi
|
||||
|
||||
einstalldocs
|
||||
}
|
Binary file not shown.
@ -1,3 +1,4 @@
|
||||
DIST VeraCrypt_1.19.tar.gz 23235780 BLAKE2B 0d02b3c6783d233f7cc64956eef58077e8a125fd5db28c1374921d8f2ca6dc9e1cde5402917c1ed4e4a626901e24c566ee834a12e41b6bcd150b8d64851f1ebc SHA512 ebce681099e04d938ff0dc10a1af848c82dafd80b165b2431ec355d64e29be4e60d1d63f0d5c9fd1182394080d00f0f573e3ae90f3e2167533dea2b895bd0164
|
||||
DIST VeraCrypt_1.21.tar.gz 24106162 BLAKE2B 5afe48830bde81d91d16f0bdf16010bdbdb885df84b9cd3e48191e468be51a485dfb3fc4f95da71d6d973a2f22dfbb92ee2b912dcf019921b37e1d4479c8c8d8 SHA512 5186d339f8fb0d88acfc35b1e7a916f797e30be93e8f252cca542b6d5c1cd916110111ef7b859d66b1790ce05d7d02bc72def26857eb003ea114a911fcec6c41
|
||||
DIST VeraCrypt_1.22.tar.gz 24820384 BLAKE2B 52fb822d07af96a9f47c17f8aacf13a949fb5a7c5d064a720e003e6d1bfbb5f221a5823720527e1f2c82f08547d77349cc90bc839336a622efcf1836dd97bb88 SHA512 83cdaf673bc9cdeadeb70b2beeabf87a2a9a65d3b0b0cc7fdf9c87671714af1e207ddd1db716302919e2d14414f5d4dd9d8f5203847d72834f53544a04c1a62a
|
||||
DIST VeraCrypt_1.23.tar.gz 24941166 BLAKE2B f9760342678f771192434f88a9b6c3bcc348ef312197232346731f51e972c230a4627f92fd655f7a3c7582b1f728274b7f170f885cceadce6ad53c9b404cd8d6 SHA512 433e717403560fc4f9081f528168f346ed7f14f9621b78a176c6801f14caba3d57e3228b940fb746637de29893f278ade650cf5eca63490bc236987a9db4d48d
|
||||
|
@ -0,0 +1,96 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit eutils linux-info pax-utils toolchain-funcs wxwidgets
|
||||
|
||||
DESCRIPTION="Disk encryption with strong security based on TrueCrypt"
|
||||
HOMEPAGE="https://www.veracrypt.fr/en/Home.html"
|
||||
SRC_URI="https://github.com/${PN}/VeraCrypt/archive/VeraCrypt_${PV}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 truecrypt-3.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="+asm cpu_flags_x86_sse2 cpu_flags_x86_sse4_1 cpu_flags_x86_ssse3 doc X"
|
||||
RESTRICT="bindist mirror"
|
||||
|
||||
WX_GTK_VER="3.0"
|
||||
|
||||
RDEPEND="
|
||||
sys-fs/lvm2
|
||||
sys-fs/fuse:0
|
||||
x11-libs/wxGTK:${WX_GTK_VER}[X?]
|
||||
app-admin/sudo
|
||||
dev-libs/pkcs11-helper
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
asm? ( dev-lang/yasm )
|
||||
"
|
||||
|
||||
S="${WORKDIR}/VeraCrypt-VeraCrypt_${PV}/src"
|
||||
|
||||
pkg_setup() {
|
||||
local CONFIG_CHECK="~BLK_DEV_DM ~CRYPTO ~CRYPTO_XTS ~DM_CRYPT ~FUSE_FS"
|
||||
linux-info_pkg_setup
|
||||
|
||||
setup-wxwidgets
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myemakeargs=(
|
||||
NOSTRIP=1
|
||||
NOTEST=1
|
||||
VERBOSE=1
|
||||
CC="$(tc-getCC)"
|
||||
CXX="$(tc-getCXX)"
|
||||
AR="$(tc-getAR)"
|
||||
RANLIB="$(tc-getRANLIB)"
|
||||
TC_EXTRA_CFLAGS="${CFLAGS}"
|
||||
TC_EXTRA_CXXFLAGS="${CXXFLAGS}"
|
||||
TC_EXTRA_LFLAGS="${LDFLAGS}"
|
||||
WX_CONFIG="${WX_CONFIG}"
|
||||
$(usex X "" "NOGUI=1")
|
||||
$(usex asm "" "NOASM=1")
|
||||
$(usex cpu_flags_x86_sse2 "" "NOSSE2=1")
|
||||
$(usex cpu_flags_x86_sse4_1 "SSE41=1" "")
|
||||
$(usex cpu_flags_x86_ssse3 "SSSE3=1" "")
|
||||
)
|
||||
|
||||
emake "${myemakeargs[@]}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
"${S}/Main/veracrypt" --text --test || die "tests failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local DOCS=( Readme.txt )
|
||||
local HTML_DOCS=( )
|
||||
|
||||
dobin Main/veracrypt
|
||||
if use doc; then
|
||||
DOCS+=( "${S}"/../doc/EFI-DCS )
|
||||
docompress -x "/usr/share/doc/${PF}/EFI-DCS"
|
||||
HTML_DOCS+=( "${S}"/../doc/html/. )
|
||||
fi
|
||||
einstalldocs
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.init" ${PN}
|
||||
|
||||
if use X; then
|
||||
local s
|
||||
for s in 16 48 128 256; do
|
||||
newicon -s ${s} Resources/Icons/VeraCrypt-${s}x${s}.xpm veracrypt.xpm
|
||||
done
|
||||
make_desktop_entry ${PN} "VeraCrypt" ${PN} "Utility;Security"
|
||||
fi
|
||||
|
||||
pax-mark -m "${D%/}/usr/bin/veracrypt"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "VeraCrypt has a very restrictive license. Please be explicitly aware"
|
||||
ewarn "of the limitations on redistribution of binaries or modified source."
|
||||
}
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST aspell6-es-1.11-2.tar.bz2 154787 BLAKE2B cc035b4f9c6b12c90b7112ad414ee3f28c00554179e9e88d79ceb06e14edbb891a3d2f7d2b3a70945651ceccecc4250e8e1f187cb75e1f6bdbe653e278a54140 SHA512 5d0159f24d6bff43db682a4beb25e82dd362c205acf7c9e0d728808c0e54a8a566befe26316f384099c72e6c429713f8ad7d2dc66a8f04a15e1d5a9cfe2290d8
|
||||
DIST aspell6-es-1.9a-1.tar.bz2 132542 BLAKE2B df33c5c38633573b1616c480c2df4b53bd1b6afc6d749f558c22d56482df9977cc5aa366a0e9a7b5b1bdfc12b92bf4e38957e23b3bf8dca38b0dfe00824ff365 SHA512 7ea228104231a4af395787da41eb14f27b6b864f1512c9ccb72b5f19b4327a0e4ccc37fdc31085b33da83a0b3b45bfe608f0a1361da8297dff2bcd96096f4c06
|
||||
|
@ -0,0 +1,18 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
ASPELL_LANG="Spanish"
|
||||
ASPELL_VERSION=6
|
||||
|
||||
inherit aspell-dict-r1
|
||||
|
||||
MY_P=aspell6-es-${PV/_p/-}
|
||||
SRC_URI="mirror://gnu/aspell/dict/${ASPELL_SPELLANG}/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
@ -1,5 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<maintainer type="person">
|
||||
<email>pabloorduna98@gmail.com</email>
|
||||
<name>Pablo Orduna</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Gentoo Proxy Maintainers Project</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,3 @@
|
||||
DIST cri-tools-1.0.0_alpha1.tar.gz 2727719 BLAKE2B 6c413aff111ce279e86f1036c3efd0c98901ed42bce482b3877cec58a55958a80305c013b6e515dbb84ff3d8def41156b81a0749ce606fd3806a7fae3fc445f0 SHA512 e0fe6171ac1b1649be667b2924a1b163810fe18c51fb9c3fe363b381feb889d18872f8077e267a147058481f799a35f6a0b5f8d285215e216ee771d7ea74f66a
|
||||
DIST cri-tools-1.0.0_beta2.tar.gz 2417018 BLAKE2B 06dc5675c339fb26fce92c3ca05f855da754a452b25554ab84da0b6528b56c01005a625a06ead9a0f1e51e3fee96b54865990927fc312efa96167f8a5ebe94f1 SHA512 f0aadf8659ae1731945c8403d5a6d30bb9ed1e2ebf1a1045541087652a0d7a45b35fea5346cbec37903425634d7f65ccd852b56a7db93f6bbf9c91ae4899f107
|
||||
DIST cri-tools-1.12.0.tar.gz 2608498 BLAKE2B 242e689ec69081838afe36b86e3f802e4ff3bfd50461026a8637dd777b8996d9e153fbab103c98fc5ad8bd82c4da52413ab4698f95db8f1c0fa7e825e8dd80f7 SHA512 394269515ac80dd2b995b20220b03e03bad8bbfa25cea8979777ab75830a0523f0945553ba5d3f7a900eabe9ccf67ebf5789627b46640a2fc46193aff101ba20
|
@ -0,0 +1,29 @@
|
||||
# Copyright 2018 Sony Interactive Entertainment Inc.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit golang-build golang-vcs-snapshot
|
||||
|
||||
EGO_PN="github.com/kubernetes-sigs/cri-tools"
|
||||
MY_PV="v${PV/_alpha/-alpha.}"
|
||||
ARCHIVE_URI="https://${EGO_PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DESCRIPTION="CLI and validation tools for Kubelet Container Runtime (CRI)"
|
||||
HOMEPAGE="https://github.com/kubernetes-sigs/cri-tools"
|
||||
SRC_URI="${ARCHIVE_URI}"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
src_compile() {
|
||||
GOPATH="${S}" go test -c -v -ldflags="-X ${EGO_PN}/pkg/version.Version=${MY_PV}" -o bin/critest ${EGO_PN}/cmd/critest || die
|
||||
GOPATH="${S}" go build -v -ldflags="-X ${EGO_PN}/pkg/version.Version=${MY_PV}" -o bin/crictl ${EGO_PN}/cmd/crictl || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/*
|
||||
dodoc -r src/${EGO_PN}/{docs,{README,RELEASE,CHANGELOG,CONTRIBUTING}.md}
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
# Copyright 2018 Sony Interactive Entertainment Inc.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit golang-build golang-vcs-snapshot
|
||||
|
||||
EGO_PN="github.com/kubernetes-sigs/cri-tools"
|
||||
MY_PV="v${PV/_beta/-beta.}"
|
||||
ARCHIVE_URI="https://${EGO_PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DESCRIPTION="CLI and validation tools for Kubelet Container Runtime (CRI)"
|
||||
HOMEPAGE="https://github.com/kubernetes-sigs/cri-tools"
|
||||
SRC_URI="${ARCHIVE_URI}"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
src_compile() {
|
||||
GOPATH="${S}" go test -c -v -ldflags="-X ${EGO_PN}/pkg/version.Version=${MY_PV}" -o bin/critest ${EGO_PN}/cmd/critest || die
|
||||
GOPATH="${S}" go build -v -ldflags="-X ${EGO_PN}/pkg/version.Version=${MY_PV}" -o bin/crictl ${EGO_PN}/cmd/crictl || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/*
|
||||
dodoc -r src/${EGO_PN}/{docs,{README,RELEASE,CHANGELOG,CONTRIBUTING}.md}
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
# Copyright 2018 Sony Interactive Entertainment Inc.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit golang-build golang-vcs-snapshot
|
||||
|
||||
EGO_PN="github.com/kubernetes-sigs/cri-tools"
|
||||
MY_PV="v${PV/_beta/-beta.}"
|
||||
ARCHIVE_URI="https://${EGO_PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DESCRIPTION="CLI and validation tools for Kubelet Container Runtime (CRI)"
|
||||
HOMEPAGE="https://github.com/kubernetes-sigs/cri-tools"
|
||||
SRC_URI="${ARCHIVE_URI}"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
src_compile() {
|
||||
GOPATH="${S}" go test -c -v -ldflags="-X ${EGO_PN}/pkg/version.Version=${MY_PV}" -o bin/critest ${EGO_PN}/cmd/critest || die
|
||||
GOPATH="${S}" go build -v -ldflags="-X ${EGO_PN}/pkg/version.Version=${MY_PV}" -o bin/crictl ${EGO_PN}/cmd/crictl || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/*
|
||||
dodoc -r src/${EGO_PN}/{docs,{README,RELEASE,CHANGELOG,CONTRIBUTING}.md}
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>mrueg@gentoo.org</email>
|
||||
<name>Manuel Rüger</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">kubernetes-sigs/cri-tools</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST eselect-postgresql-2.3.tbz2 4526 BLAKE2B 226f2be462d54d835cc884f6b2c33e0f84d4500e19251fb6794929901ec033e0fa457d8606e36ada462d538674110ba8aab901ca9f86dccd52ccf9c860ba5ce1 SHA512 d7f87aa3e21c5e35f3a6879bdfb9404a2884f761463f77952f21c522b1605f191385ba7b4758548b121ad7eb56d395163e0d6bba57df446be515e6d7163635b4
|
||||
DIST eselect-postgresql-2.4.tbz2 4518 BLAKE2B 726c59f0511b2e27493cceb9b9a7b3c58e7d7bb0cba2fef705eef9190ef384c3116c42079566d8761192b9c288ef57c550f659a0398ba90fa069f6be335550ff SHA512 4eed12905e97a45420a299cc9232be62a1ac88257a047d9d16ef7d8c8a0e0ddbd4177415797defe352cc82cd87b7777907a51a8cadfdb28064faa78a28e0099d
|
||||
|
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Utility to select the default PostgreSQL slot"
|
||||
HOMEPAGE="https://www.gentoo.org/"
|
||||
SRC_URI="https://dev.gentoo.org/~titanofold/${P}.tbz2"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
|
||||
|
||||
RDEPEND="app-admin/eselect"
|
||||
|
||||
# All dev-db/postgresql ebuilds from 10.0 on are well supported. Earlier
|
||||
# ebuilds may present some quality of life issues.
|
||||
PDEPEND="
|
||||
!<dev-db/postgresql-9.6.2-r1:9.6
|
||||
!<dev-db/postgresql-9.5.6-r1:9.5
|
||||
!<dev-db/postgresql-9.4.11-r1:9.4
|
||||
!<dev-db/postgresql-9.3.16-r1:9.3
|
||||
!<dev-db/postgresql-9.2.20-r1
|
||||
"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/eselect/modules
|
||||
doins postgresql.eselect
|
||||
|
||||
dosym eselect /usr/bin/postgresql-config
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
postgresql-config update
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,2 +0,0 @@
|
||||
DIST openerp-7.0-20140125-002455.tar.gz 64214375 BLAKE2B 75d7e4294d243f2e02cd04b318fe2492fb553540604bd6ebb246299846d952530e13b847beb4c5e4e7859a714c35ca4a9a5801f7193bd0e4096fccb5d1fe94bf SHA512 a923fe3240cf44f6384f18bd37853d15fe132aab97494e713f095253cd4b72d32a89e33ba3623a523b81b9863da6d5bca24c4020b20829975e4185d6e5093b3e
|
||||
DIST openerp-8.0dev-20140125-000101.tar.gz 82648176 BLAKE2B a483bce41eb464ecb49a8f9572492871c649cd75075ea35ed24afeb14a2dec7c4a9232c6c072f42ff77fe878033a89f67b118bece76c95a1a101bcb80a9c1050 SHA512 560f0cd9aadfb010dfba1a114ca17ed8dc7b63fffdd93325811b87530e97a8e629c46442e777bd0c53fb38b1a985e769e3fb5f5edf66b9b45f21be3e8973aedd
|
@ -1,22 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
|
||||
# Additional options that are passed to the daemon.
|
||||
DAEMON_OPTS="-c ${CONFIGFILE}"
|
||||
|
||||
depend() {
|
||||
after postgresql
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting openerp server"
|
||||
start-stop-daemon --start --quiet --pidfile "${PIDFILE}" --exec /usr/bin/openerp-server \
|
||||
--make-pidfile --user "${USER}" --background -- ${DAEMON_OPTS}
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping openerp server"
|
||||
start-stop-daemon --stop --quiet --pidfile "${PIDFILE}" --signal 9
|
||||
rm -f "${PIDFILE}"
|
||||
eend $?
|
||||
}
|
@ -1,23 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
|
||||
# Additional options that are passed to the daemon.
|
||||
DAEMON_OPTS="-c ${CONFIGFILE}"
|
||||
|
||||
depend() {
|
||||
after postgresql
|
||||
}
|
||||
|
||||
start() {
|
||||
checkpath -q -d -m 0755 -o openerp:openerp /run/openerp
|
||||
ebegin "Starting openerp server"
|
||||
start-stop-daemon --start --quiet --pidfile "${PIDFILE}" --exec /usr/bin/openerp-server \
|
||||
--make-pidfile --user "${USER}" --background -- ${DAEMON_OPTS}
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping openerp server"
|
||||
start-stop-daemon --stop --quiet --pidfile "${PIDFILE}" --signal 9
|
||||
rm -f "${PIDFILE}"
|
||||
eend $?
|
||||
}
|
@ -1,3 +0,0 @@
|
||||
USER="openerp"
|
||||
CONFIGFILE="/etc/openerp/openerp.cfg"
|
||||
PIDFILE="/var/run/openerp/openerp.pid"
|
@ -1,3 +0,0 @@
|
||||
USER="openerp"
|
||||
CONFIGFILE="/etc/openerp/openerp.cfg"
|
||||
PIDFILE="/run/openerp/openerp.pid"
|
@ -1,64 +0,0 @@
|
||||
[options]
|
||||
|
||||
# General options:
|
||||
admin_passwd = admin
|
||||
|
||||
pidfile = /var/run/openerp/openerp-server.pid
|
||||
interface =
|
||||
port = 8069
|
||||
netinterface =
|
||||
netport = 8070
|
||||
netrpc = True
|
||||
xmlrpc = True
|
||||
init =
|
||||
without_demo = False
|
||||
demo = {}
|
||||
update =
|
||||
cache_timeout = 100000
|
||||
stop_after_init = False
|
||||
debug_mode = False
|
||||
assert_exit_level = warn
|
||||
price_accuracy = 2
|
||||
|
||||
# SSL Configuration:
|
||||
secure = False
|
||||
secure_cert_file = server.cert
|
||||
secure_pkey_file = server.pkey
|
||||
|
||||
# Logging Configuration:
|
||||
logfile = /var/log/openerp/openerp-server.log
|
||||
syslog = False
|
||||
log_level = debug
|
||||
|
||||
# SMTP Configuration:
|
||||
email_from = False
|
||||
smtp = localhost
|
||||
smtp_port = 25
|
||||
smtp_ssl = False
|
||||
smtp_user = False
|
||||
smtp_password = False
|
||||
|
||||
# pg_path points at local pg instance - please change as needed
|
||||
# Database related options:
|
||||
db_user = openerp
|
||||
db_password = change_this
|
||||
pg_path = /run/postgresql/.s.PGSQL.5432
|
||||
db_name = False
|
||||
db_host = False
|
||||
db_port = False
|
||||
db_maxconn = 64
|
||||
import_partial =
|
||||
|
||||
# Internationalisation options:
|
||||
language =
|
||||
translate_out =
|
||||
translate_in =
|
||||
translate_modules = ['all']
|
||||
|
||||
# Security-related options:
|
||||
list_db = True
|
||||
server_actions_allow_code = False
|
||||
|
||||
|
||||
|
||||
|
@ -1,65 +0,0 @@
|
||||
[options]
|
||||
|
||||
# General options:
|
||||
admin_passwd = admin
|
||||
|
||||
pidfile = /run/openerp/openerp-server.pid
|
||||
interface =
|
||||
port = 8069
|
||||
netinterface =
|
||||
netport = 8070
|
||||
netrpc = True
|
||||
xmlrpc = True
|
||||
init =
|
||||
without_demo = False
|
||||
demo = {}
|
||||
update =
|
||||
cache_timeout = 100000
|
||||
stop_after_init = False
|
||||
debug_mode = False
|
||||
assert_exit_level = warn
|
||||
price_accuracy = 2
|
||||
|
||||
# SSL Configuration:
|
||||
secure = False
|
||||
secure_cert_file = server.cert
|
||||
secure_pkey_file = server.pkey
|
||||
|
||||
# Logging Configuration:
|
||||
logfile = /var/log/openerp/openerp-server.log
|
||||
syslog = False
|
||||
log_level = debug
|
||||
|
||||
# SMTP Configuration:
|
||||
email_from = False
|
||||
smtp = localhost
|
||||
smtp_port = 25
|
||||
smtp_ssl = False
|
||||
smtp_user = False
|
||||
smtp_password = False
|
||||
|
||||
# pg_path points at local pg instance - please change as needed
|
||||
# Database related options:
|
||||
db_user = openerp
|
||||
db_password = change_this
|
||||
pg_path = /run/postgresql/.s.PGSQL.5432
|
||||
db_name = False
|
||||
db_host = False
|
||||
db_port = False
|
||||
db_maxconn = 64
|
||||
import_partial =
|
||||
|
||||
# Internationalisation options:
|
||||
language =
|
||||
translate_out =
|
||||
translate_in =
|
||||
translate_modules = ['all']
|
||||
|
||||
# Security-related options:
|
||||
list_db = True
|
||||
server_actions_allow_code = False
|
||||
|
||||
addons_path = /usr/openerp/addons
|
||||
|
||||
|
||||
|
@ -1,9 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
/var/log/openerp/*.log {
|
||||
monthly
|
||||
create 660 openerp openerp
|
||||
missingok
|
||||
copytruncate
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>dlan@gentoo.org</email>
|
||||
<name>Yixun Lan</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,119 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
DISTUTILS_SINGLE_IMPL=1
|
||||
|
||||
inherit eutils distutils-r1 user
|
||||
|
||||
DESCRIPTION="Open Source ERP & CRM"
|
||||
HOMEPAGE="http://www.openerp.com/"
|
||||
MY_PV=${PV/7.0./7.0-}
|
||||
FNAME="${PN}-${MY_PV}-002455"
|
||||
SRC_URI="http://nightly.openerp.com/7.0/nightly/src/${FNAME}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE="+postgres ldap ssl"
|
||||
|
||||
CDEPEND="!app-office/openerp-web
|
||||
postgres? ( dev-db/postgresql[server] )
|
||||
dev-python/psutil[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/psycopg:2[${PYTHON_USEDEP}]
|
||||
dev-python/pychart[${PYTHON_USEDEP}]
|
||||
dev-python/pyparsing[${PYTHON_USEDEP}]
|
||||
dev-python/reportlab[${PYTHON_USEDEP}]
|
||||
dev-python/simplejson[${PYTHON_USEDEP}]
|
||||
dev-python/pydot[${PYTHON_USEDEP}]
|
||||
dev-python/vobject[${PYTHON_USEDEP}]
|
||||
dev-python/mako[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/Babel[${PYTHON_USEDEP}]
|
||||
dev-python/gdata[${PYTHON_USEDEP}]
|
||||
ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] )
|
||||
dev-python/python-openid[${PYTHON_USEDEP}]
|
||||
dev-python/werkzeug[${PYTHON_USEDEP}]
|
||||
dev-python/xlwt[${PYTHON_USEDEP}]
|
||||
dev-python/feedparser[${PYTHON_USEDEP}]
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
dev-python/pywebdav[${PYTHON_USEDEP}]
|
||||
ssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] )
|
||||
dev-python/vatnumber[${PYTHON_USEDEP}]
|
||||
dev-python/zsi[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/unittest2[${PYTHON_USEDEP}]
|
||||
dev-python/jinja[${PYTHON_USEDEP}]
|
||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[jpeg(+),${PYTHON_USEDEP}]
|
||||
${PYTHON_DEPS}
|
||||
"
|
||||
|
||||
RDEPEND="${CDEPEND}"
|
||||
DEPEND="${CDEPEND}"
|
||||
|
||||
OPENERP_USER="openerp"
|
||||
OPENERP_GROUP="openerp"
|
||||
|
||||
S="${WORKDIR}/${FNAME}"
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
newinitd "${FILESDIR}/${PN}-2" "${PN}"
|
||||
newconfd "${FILESDIR}/openerp-confd-2" "${PN}"
|
||||
keepdir /var/log/openerp
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}"/openerp.logrotate openerp
|
||||
dodir /etc/openerp
|
||||
insinto /etc/openerp
|
||||
newins "${FILESDIR}"/openerp.cfg.2 openerp.cfg
|
||||
|
||||
# #453424 Fix error on /usr/openerp/import_xml.rng
|
||||
dosym /usr/${PN}/import_xml.rng $(python_get_sitedir)/${PN}/import_xml.rng
|
||||
|
||||
# #453424 Fix error on /usr/openerp/addons/base/res/res_company_logo.png
|
||||
dosym /usr/${PN}/addons/base/res/res_company_logo.png $(python_get_sitedir)/${PN}/addons/base/res/res_company_logo.png
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
enewgroup ${OPENERP_GROUP}
|
||||
enewuser ${OPENERP_USER} -1 -1 -1 ${OPENERP_GROUP}
|
||||
|
||||
fowners -R ${OPENERP_USER}:${OPENERP_GROUP} /etc/openerp
|
||||
fowners ${OPENERP_USER}:${OPENERP_GROUP} /var/log/openerp
|
||||
fowners -R ${OPENERP_USER}:${OPENERP_GROUP} "$(python_get_sitedir)/${PN}/addons/"
|
||||
|
||||
fperms 0640 /etc/openerp/openerp.cfg
|
||||
|
||||
use postgres || sed -i '6,8d' "${D}/etc/init.d/openerp" || die "sed failed"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
chown -R ${OPENERP_USER}:${OPENERP_GROUP} /etc/openerp
|
||||
chown ${OPENERP_USER}:${OPENERP_GROUP} /var/log/openerp
|
||||
chown -R ${OPENERP_USER}:${OPENERP_GROUP} "$(python_get_sitedir)/${PN}/addons/"
|
||||
|
||||
elog "In order to setup the initial database, run:"
|
||||
elog " emerge --config =${CATEGORY}/${PF}"
|
||||
elog "Be sure the database is started before"
|
||||
}
|
||||
|
||||
psqlquery() {
|
||||
psql -q -At -U postgres -d template1 -c "$@"
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
einfo "In the following, the 'postgres' user will be used."
|
||||
if ! psqlquery "SELECT usename FROM pg_user WHERE usename = '${OPENERP_USER}'" | grep -q ${OPENERP_USER}; then
|
||||
ebegin "Creating database user ${OPENERP_USER}"
|
||||
createuser --username=postgres --createdb --no-adduser ${OPENERP_USER}
|
||||
eend $? || die "Failed to create database user"
|
||||
fi
|
||||
}
|
@ -1,119 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
DISTUTILS_SINGLE_IMPL=1
|
||||
|
||||
inherit eutils distutils-r1 user
|
||||
|
||||
DESCRIPTION="Open Source ERP & CRM"
|
||||
HOMEPAGE="http://www.openerp.com/"
|
||||
MY_PV=${PV/8.0./8.0dev-}
|
||||
FNAME="${PN}-${MY_PV}-000101"
|
||||
SRC_URI="http://nightly.openerp.com/trunk/nightly/src/${FNAME}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE="+postgres ldap ssl"
|
||||
|
||||
CDEPEND="!app-office/openerp-web
|
||||
postgres? ( dev-db/postgresql[server] )
|
||||
dev-python/psutil[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/psycopg:2[${PYTHON_USEDEP}]
|
||||
dev-python/pychart[${PYTHON_USEDEP}]
|
||||
dev-python/pyparsing[${PYTHON_USEDEP}]
|
||||
dev-python/reportlab[${PYTHON_USEDEP}]
|
||||
dev-python/simplejson[${PYTHON_USEDEP}]
|
||||
dev-python/pydot[${PYTHON_USEDEP}]
|
||||
dev-python/vobject[${PYTHON_USEDEP}]
|
||||
dev-python/mako[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/Babel[${PYTHON_USEDEP}]
|
||||
dev-python/gdata[${PYTHON_USEDEP}]
|
||||
ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] )
|
||||
dev-python/python-openid[${PYTHON_USEDEP}]
|
||||
dev-python/werkzeug[${PYTHON_USEDEP}]
|
||||
dev-python/xlwt[${PYTHON_USEDEP}]
|
||||
dev-python/feedparser[${PYTHON_USEDEP}]
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
dev-python/pywebdav[${PYTHON_USEDEP}]
|
||||
ssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] )
|
||||
dev-python/vatnumber[${PYTHON_USEDEP}]
|
||||
dev-python/zsi[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/unittest2[${PYTHON_USEDEP}]
|
||||
dev-python/jinja[${PYTHON_USEDEP}]
|
||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[jpeg(+),${PYTHON_USEDEP}]
|
||||
${PYTHON_DEPS}
|
||||
"
|
||||
|
||||
RDEPEND="${CDEPEND}"
|
||||
DEPEND="${CDEPEND}"
|
||||
|
||||
OPENERP_USER="openerp"
|
||||
OPENERP_GROUP="openerp"
|
||||
|
||||
S="${WORKDIR}/${FNAME}"
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
newinitd "${FILESDIR}/${PN}-2" "${PN}"
|
||||
newconfd "${FILESDIR}/openerp-confd-2" "${PN}"
|
||||
keepdir /var/log/openerp
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}"/openerp.logrotate openerp
|
||||
dodir /etc/openerp
|
||||
insinto /etc/openerp
|
||||
newins "${FILESDIR}"/openerp.cfg.2 openerp.cfg
|
||||
|
||||
# #453424 Fix error on /usr/openerp/import_xml.rng
|
||||
dosym /usr/${PN}/import_xml.rng $(python_get_sitedir)/${PN}/import_xml.rng
|
||||
|
||||
# #453424 Fix error on /usr/openerp/addons/base/res/res_company_logo.png
|
||||
dosym /usr/${PN}/addons/base/res/res_company_logo.png $(python_get_sitedir)/${PN}/addons/base/res/res_company_logo.png
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
enewgroup ${OPENERP_GROUP}
|
||||
enewuser ${OPENERP_USER} -1 -1 -1 ${OPENERP_GROUP}
|
||||
|
||||
fowners -R ${OPENERP_USER}:${OPENERP_GROUP} /etc/openerp
|
||||
fowners ${OPENERP_USER}:${OPENERP_GROUP} /var/log/openerp
|
||||
fowners -R ${OPENERP_USER}:${OPENERP_GROUP} "$(python_get_sitedir)/${PN}/addons/"
|
||||
|
||||
fperms 0640 /etc/openerp/openerp.cfg
|
||||
|
||||
use postgres || sed -i '6,8d' "${D}/etc/init.d/openerp" || die "sed failed"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
chown -R ${OPENERP_USER}:${OPENERP_GROUP} /etc/openerp
|
||||
chown ${OPENERP_USER}:${OPENERP_GROUP} /var/log/openerp
|
||||
chown -R ${OPENERP_USER}:${OPENERP_GROUP} "$(python_get_sitedir)/${PN}/addons/"
|
||||
|
||||
elog "In order to setup the initial database, run:"
|
||||
elog " emerge --config =${CATEGORY}/${PF}"
|
||||
elog "Be sure the database is started before"
|
||||
}
|
||||
|
||||
psqlquery() {
|
||||
psql -q -At -U postgres -d template1 -c "$@"
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
einfo "In the following, the 'postgres' user will be used."
|
||||
if ! psqlquery "SELECT usename FROM pg_user WHERE usename = '${OPENERP_USER}'" | grep -q ${OPENERP_USER}; then
|
||||
ebegin "Creating database user ${OPENERP_USER}"
|
||||
createuser --username=postgres --createdb --no-adduser ${OPENERP_USER}
|
||||
eend $? || die "Failed to create database user"
|
||||
fi
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,85 +0,0 @@
|
||||
<?xml version="1.0" ?>
|
||||
<gprconfig>
|
||||
<compiler_description>
|
||||
<name>GNAT-@VER@</name>
|
||||
<executable prefix="1">gnatls-@VER@</executable>
|
||||
<version>
|
||||
<external>${PREFIX}gnatls-@VER@ -v --version</external>
|
||||
<grep regexp="^GNATLS.+?(\d+(\.\d+)?)" group="1"></grep>
|
||||
</version>
|
||||
<languages>Ada</languages>
|
||||
<variable name="gcc_version">
|
||||
<external>${PREFIX}gcc-@VER@ -v</external>
|
||||
<grep regexp="^[-\w]*gcc \S+ (\S+)" group="1"></grep>
|
||||
</variable>
|
||||
<runtimes default="default,kernel,native">
|
||||
<directory group="default" >\.\./lib/gcc(-lib)?/$TARGET/$gcc_version/adalib/</directory>
|
||||
<directory group="default" contents="^rts-">\.\./lib/gcc(-lib)?/$TARGET/$gcc_version/ada_object_path</directory>
|
||||
<directory group="2" >\.\./lib/gcc(-lib)?/$TARGET/$gcc_version/rts-(.*)/adalib/</directory>
|
||||
<directory group="1" >\.\./$TARGET/lib/gnat/(.*)/adalib/</directory>
|
||||
</runtimes>
|
||||
<target>
|
||||
<external>${PREFIX}gcc-@VER@ -dumpmachine</external>
|
||||
<grep regexp="[^\r\n]+"></grep>
|
||||
</target>
|
||||
</compiler_description>
|
||||
|
||||
<configuration>
|
||||
<compilers>
|
||||
<compiler name="GNAT-@VER@" />
|
||||
</compilers>
|
||||
<config>
|
||||
package Compiler is
|
||||
for Driver ("Ada") use "${PATH(ada)}${PREFIX(ada)}gcc-@VER@";
|
||||
for Language_Kind ("Ada") use "unit_based";
|
||||
for Dependency_Kind ("Ada") use "ALI_File";
|
||||
for Leading_Required_Switches ("Ada") use
|
||||
("-c", "-x", "ada", "-gnatA")
|
||||
& Compiler'Leading_Required_Switches ("Ada");
|
||||
for Mapping_File_Switches ("Ada") use ("-gnatem=");
|
||||
for Mapping_Spec_Suffix ("Ada") use "%s";
|
||||
for Mapping_Body_Suffix ("Ada") use "%b";
|
||||
for Config_File_Switches ("Ada") use ("-gnatec=");
|
||||
for Include_Path_File ("Ada") use "ADA_PRJ_INCLUDE_FILE";
|
||||
for Multi_Unit_Switches ("Ada") use ("-gnateI");
|
||||
for Multi_Unit_Object_Separator ("Ada") use "~";
|
||||
for Config_Body_File_Name ("Ada") use
|
||||
"pragma Source_File_Name_Project (%u, Body_File_Name => ""%f"");";
|
||||
for Config_Spec_File_Name ("Ada") use
|
||||
"pragma Source_File_Name_Project (%u, Spec_File_Name => ""%f"");";
|
||||
for Config_Body_File_Name_Index ("Ada") use
|
||||
"pragma Source_File_Name_Project (%u, Body_File_Name => ""%f"", Index => %i);";
|
||||
for Config_Spec_File_Name_Index ("Ada") use
|
||||
"pragma Source_File_Name_Project (%u, Spec_File_Name => ""%f"", Index => %i);";
|
||||
for Config_Body_File_Name_Pattern ("Ada") use
|
||||
"pragma Source_File_Name_Project " &
|
||||
" (Body_File_Name => ""*%b""," &
|
||||
" Casing => %c," &
|
||||
" Dot_Replacement => ""%d"");";
|
||||
for Config_Spec_File_Name_Pattern ("Ada") use
|
||||
"pragma Source_File_Name_Project " &
|
||||
" (Spec_File_Name => ""*%s""," &
|
||||
" Casing => %c," &
|
||||
" Dot_Replacement => ""%d"");";
|
||||
for Config_File_Unique ("Ada") use "False";
|
||||
for PIC_Option ("Ada") use ("-fPIC");
|
||||
for Leading_Required_Switches ("Ada") use
|
||||
Compiler'Leading_Required_Switches ("Ada") & ("--RTS=${RUNTIME_DIR(ada)}");
|
||||
end Compiler;
|
||||
|
||||
package Binder is
|
||||
for Objects_Path_File ("Ada") use "ADA_PRJ_OBJECTS_FILE";
|
||||
for Driver ("Ada") use
|
||||
"${GPRCONFIG_PREFIX}libexec/gprbuild/gprbind";
|
||||
for Switches ("Ada") use ("--gnatbind_path=gnatbind-@VER@");
|
||||
for Required_Switches ("Ada") use
|
||||
Binder'Required_Switches ("Ada") & ("--RTS=${RUNTIME_DIR(ada)}");
|
||||
end Binder;
|
||||
|
||||
for Toolchain_Version ("Ada") use "GNAT ${VERSION(ada)}";
|
||||
|
||||
for Runtime_Dir ("Ada") use "${RUNTIME_DIR(ada)}";
|
||||
for Library_Encapsulated_Supported use "true";
|
||||
</config>
|
||||
</configuration>
|
||||
</gprconfig>
|
@ -1,81 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit toolchain-funcs multiprocessing
|
||||
|
||||
MYP=${PN}-gpl-${PV}
|
||||
|
||||
DESCRIPTION="Multi-Language Management"
|
||||
HOMEPAGE="http://libre.adacore.com/"
|
||||
SRC_URI="
|
||||
http://mirrors.cdn.adacore.com/art/591c45e2c7a447af2deecff7
|
||||
-> ${MYP}-src.tar.gz
|
||||
http://mirrors.cdn.adacore.com/art/591aeb88c7a4473fcbb154f8
|
||||
-> xmlada-gpl-${PV}-src.tar.gz"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="gnat_2016 +gnat_2017"
|
||||
|
||||
DEPEND="gnat_2016? ( dev-lang/gnat-gpl:4.9.4 )
|
||||
gnat_2017? ( dev-lang/gnat-gpl:6.3.0 )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}"/${MYP}-src
|
||||
|
||||
REQUIRED_USE="^^ ( gnat_2016 gnat_2017 )"
|
||||
PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
|
||||
|
||||
src_prepare() {
|
||||
if use gnat_2016; then
|
||||
GCC_PV=4.9.4
|
||||
else
|
||||
GCC_PV=6.3.0
|
||||
fi
|
||||
sed -e "s:@VER@:${GCC_PV}:g" "${FILESDIR}"/${P}.xml > gnat-${GCC_PV}.xml
|
||||
default
|
||||
sed -i \
|
||||
-e "s:@GNATBIND@:gnatbind-${GCC_PV}:g" \
|
||||
src/gprlib.adb \
|
||||
|| die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
emake prefix="${D}"usr setup
|
||||
}
|
||||
|
||||
bin_progs="gprbuild gprconfig gprclean gprinstall gprname gprls"
|
||||
lib_progs="gprlib gprbind"
|
||||
|
||||
src_compile() {
|
||||
GCC=${CHOST}-gcc-${GCC_PV}
|
||||
GNATMAKE=${CHOST}-gnatmake-${GCC_PV}
|
||||
local xmlada_src="../xmlada-gpl-${PV}-src"
|
||||
incflags="-Isrc -Igpr/src -I${xmlada_src}/sax -I${xmlada_src}/dom \
|
||||
-I${xmlada_src}/schema -I${xmlada_src}/unicode \
|
||||
-I${xmlada_src}/input_sources"
|
||||
${GCC} -c ${CFLAGS} gpr/src/gpr_imports.c -o gpr_imports.o || die
|
||||
for bin in ${bin_progs}; do
|
||||
${GNATMAKE} -j$(makeopts_jobs) ${incflags} $ADAFLAGS ${bin}-main \
|
||||
-o ${bin} -largs gpr_imports.o || die
|
||||
done
|
||||
for lib in $lib_progs; do
|
||||
${GNATMAKE} -j$(makeopts_jobs) ${incflags} ${lib} $ADAFLAGS \
|
||||
-largs gpr_imports.o || die
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${bin_progs}
|
||||
exeinto /usr/libexec/gprbuild
|
||||
doexe ${lib_progs}
|
||||
insinto /usr/share/gprconfig
|
||||
doins share/gprconfig/*
|
||||
insinto /usr/share/gpr
|
||||
doins share/_default.gpr
|
||||
insinto /usr/share/gprconfig
|
||||
doins gnat-${GCC_PV}.xml
|
||||
einstalldocs
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST xmlada-gpl-2017-src.tar.gz 1578393 BLAKE2B 7b4894040b6044e86c96cbd530ebda5c0cfc4ad0e2b472d46798a93f535aca0916b03385a3aef49bd4e59d508a9665c856360e9cab0a4f67b15091228b629d81 SHA512 371f6adc01550a4bb13204ec0404dc1165438db595f4346813e5a23a155de74c857c40c55adde173919c2fe35b3b91d78b235c9718ee86bc848e62ddfd7fa2b4
|
||||
DIST xmlada-gpl-2018-src.tar.gz 1582215 BLAKE2B 11012dab19f45507eeb5ce6ebec9a77ceb5dfb7749960922f0f48bb1b0409305fd43466a7af90b48ff0a0cf58612e8859274a92e0fe272b4e57a59b92a1725f1 SHA512 8970c4e68defad66625c1110554dadfc485fbbe42e832987593cf727e98f13dd87c90b84461187dbbe2b1051831e6e70f9f53d6a0cfc07451726d601b2856430
|
||||
|
@ -1,92 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit multiprocessing
|
||||
|
||||
MYP=${PN}-gpl-${PV}
|
||||
|
||||
DESCRIPTION="Set of modules that provide a simple manipulation of XML streams"
|
||||
HOMEPAGE="http://libre.adacore.com/"
|
||||
SRC_URI="http://mirrors.cdn.adacore.com/art/591aeb88c7a4473fcbb154f8 ->
|
||||
${MYP}-src.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="gnat_2016 +gnat_2017 +shared static-libs static-pic"
|
||||
REQUIRED_USE="|| ( shared static-libs static-pic )
|
||||
^^ ( gnat_2016 gnat_2017 )"
|
||||
|
||||
RDEPEND="gnat_2016? ( dev-lang/gnat-gpl:4.9.4 )
|
||||
gnat_2017? ( dev-lang/gnat-gpl:6.3.0 )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-ada/gprbuild[gnat_2016=,gnat_2017=]"
|
||||
|
||||
S="${WORKDIR}"/${MYP}-src
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
|
||||
|
||||
src_configure () {
|
||||
econf --prefix="${D}"/usr
|
||||
}
|
||||
|
||||
src_compile () {
|
||||
build () {
|
||||
gprbuild -j$(makeopts_jobs) -m -p -v -XLIBRARY_TYPE=$1 \
|
||||
-XBUILD=Production -XPROCESSORS=$(makeopts_jobs) xmlada.gpr \
|
||||
-cargs ${ADAFLAGS} || die "gprbuild failed"
|
||||
}
|
||||
if use shared; then
|
||||
build relocatable
|
||||
fi
|
||||
if use static-libs; then
|
||||
build static
|
||||
fi
|
||||
if use static-pic; then
|
||||
build static-pic
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake test
|
||||
emake run_test | grep DIFF && die
|
||||
}
|
||||
|
||||
src_install () {
|
||||
local includedir=/usr/include/${PN}
|
||||
|
||||
fix_install () {
|
||||
mv "${D}"${includedir}/$1.$2/* "${D}"${includedir}/$1/ || die
|
||||
for file in "${D}"${includedir}/$1/*; do
|
||||
dosym ../$1/$(basename ${file}) \
|
||||
${includedir}/$1.$2/$(basename ${file})
|
||||
done
|
||||
}
|
||||
|
||||
if use static-libs; then
|
||||
emake PROCESSORS=$(makeopts_jobs) install-static
|
||||
fi
|
||||
for kind in shared static-pic; do
|
||||
if use ${kind}; then
|
||||
emake PROCESSORS=$(makeopts_jobs) install-${kind}
|
||||
fi
|
||||
done
|
||||
rm "${D}"/usr/lib/libxmlada_* || die
|
||||
for dir in xmlada_{dom,input,sax,schema,unicode}; do
|
||||
dodir /usr/include/${PN}/${dir}
|
||||
if use shared; then
|
||||
fix_install ${dir} relocatable
|
||||
fi
|
||||
if use static-libs; then
|
||||
fix_install ${dir} static
|
||||
fi
|
||||
if use static-pic; then
|
||||
fix_install ${dir} static-pic
|
||||
fi
|
||||
done
|
||||
einstalldocs
|
||||
dodoc xmlada-roadmap.txt
|
||||
rm "${D}"/usr/share/doc/${PN}/.buildinfo || die
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="The Haskell Tool Stack (Binary)"
|
||||
HOMEPAGE="https://github.com/commercialhaskell/stack"
|
||||
|
||||
uri() {
|
||||
echo "https://github.com/commercialhaskell/stack/releases/download/v${PV}/stack-${PV}-linux-$1.tar.gz"
|
||||
}
|
||||
|
||||
SRC_URI="
|
||||
arm? ( $(uri arm) )
|
||||
x86? ( $(uri i386) )
|
||||
amd64? ( $(uri x86_64) )
|
||||
"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~arm"
|
||||
IUSE="symlink"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}
|
||||
sys-libs/zlib
|
||||
dev-libs/gmp:0
|
||||
"
|
||||
RDEPEND+=" symlink? ( !dev-haskell/stack )"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
QA_PREBUILT="/usr/bin/stack-bin"
|
||||
QA_PRESTRIPPED="/usr/bin/stack-bin"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
mv stack-${PV}-*/doc doc || die
|
||||
mv stack-${PV}-*/stack stack-bin || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc doc/*
|
||||
dobin stack-bin
|
||||
use symlink && dosym stack-bin /usr/bin/stack
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,4 +1,3 @@
|
||||
DIST clojure-1.5.1.tar.gz 540021 BLAKE2B a9887142f251b490deae33c6d3749cd5592c5e8b627475a2e79d3ef96ca27285d61edb872cdabf15227fc1e8115424a979b1570f5523f3b6f2e8976ff2db3412 SHA512 8bc4b7098ec11a3cd4d077f32607c5d23118d5f84b88af69b2051c4dd5b17f28f092b77206fba87e23f1163d2d0f7a2c37b1b1ffa1bcfef3ad4c8f74695d71cd
|
||||
DIST clojure-1.6.0.tar.gz 579154 BLAKE2B 29b15c25ec3085e977da6a59c8a3d19f5fd369599cf6f8c535b828fab0176c7c0a24274507eb0cfd66f728c5961c928b9de4aed8edf00970193c1ea2addeba29 SHA512 52bf54d157dae77e71e53bac421daa1bca7ef55b837600c8b04751a545cbed0f04d3718543031d1e5b8ca43e2518d356082b9f8c029c2e318996450cfaee9c81
|
||||
DIST clojure-1.7.0.tar.gz 614331 BLAKE2B 4584eb81dddb7660084a067b9332d7e5375f3fe62d9a0af8fefece446c0be654f9916298672b3bab33a166e2e4edd73c3fcd61c49f956bfe83e0de0a122f0e83 SHA512 243d3120fa1a0f559c1f6b4724d0f7ba72e6f6dd009d0849377087e890aa04dba7c119862001d0c543eb0e35ef5c13cc8967ad494ffa9522daa9f8b1dfc77ef1
|
||||
DIST clojure-1.8.0.tar.gz 627688 BLAKE2B 7dc3029e38e574cd32c74cce1f3ae03890869023d5fb2e8138f2fdc4461b3f9e119c4b6042e2b7caee9561b664b49cbaf79378ef1fdd0fd78c4d712c3b9d95de SHA512 fa5714397e679f77260db054bdc0891a311e7bd14bfceb2dd0494480fb9cf21fc74dd295e75070105ff0cdd50842390a748d8782397c549f51d85d18d54a1231
|
||||
DIST clojure-1.9.0.tar.gz 641645 BLAKE2B 767241c7f252a2977511adf257b1805f81a96594cff2b1b9837c782cfaabd49ae8e6eef30398e7e277952124e843967ac635985da97e2e7c5cc98ec177f3d79c SHA512 8877c654f6aa8ad990593e69b611388659973e5d1d46cf8f6cfae59c4033424a3c7eebd477539784cbd7974f7ff30580f76d8a4117414491f38e18ac3b4efb27
|
||||
|
@ -1,32 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
JAVA_PKG_IUSE="source test"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Clojure is a dynamic programming language that targets the Java Virtual Machine"
|
||||
HOMEPAGE="https://clojure.org/"
|
||||
SRC_URI="https://github.com/clojure/clojure/tarball/${P} -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="EPL-1.0"
|
||||
SLOT="1.5"
|
||||
KEYWORDS="amd64 x86 ~x86-linux"
|
||||
IUSE=""
|
||||
RESTRICT="test" # patches welcome to fix the test
|
||||
|
||||
RDEPEND=">=virtual/jre-1.5"
|
||||
DEPEND=">=virtual/jdk-1.5"
|
||||
|
||||
S=${WORKDIR}/clojure-clojure-22c7e75
|
||||
|
||||
src_test() {
|
||||
java-pkg-2_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar ${P/_/-}.jar
|
||||
java-pkg_dolauncher ${PN}-${SLOT} --main clojure.main
|
||||
dodoc changes.md readme.txt
|
||||
}
|
@ -1,32 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
JAVA_PKG_IUSE="source test"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Clojure is a dynamic programming language that targets the Java Virtual Machine"
|
||||
HOMEPAGE="https://clojure.org/"
|
||||
SRC_URI="https://github.com/clojure/clojure/tarball/${P} -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="EPL-1.0 Apache-2.0 BSD"
|
||||
SLOT="1.6"
|
||||
KEYWORDS="amd64 x86 ~x86-linux"
|
||||
IUSE=""
|
||||
RESTRICT="test" # patches welcome to fix the test
|
||||
|
||||
RDEPEND=">=virtual/jre-1.6"
|
||||
DEPEND=">=virtual/jdk-1.6"
|
||||
|
||||
S=${WORKDIR}/clojure-clojure-42ce994
|
||||
|
||||
src_test() {
|
||||
java-pkg-2_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar ${P/_/-}.jar
|
||||
java-pkg_dolauncher ${PN}-${SLOT} --main clojure.main
|
||||
dodoc changes.md readme.txt
|
||||
}
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
JAVA_PKG_IUSE="source test"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="General-purpose programming language with an emphasis on functional programming"
|
||||
HOMEPAGE="https://clojure.org/"
|
||||
SRC_URI="https://github.com/clojure/clojure/tarball/${P} -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="EPL-1.0 Apache-2.0 BSD"
|
||||
SLOT="1.9"
|
||||
KEYWORDS="~amd64 ~x86 ~x86-linux"
|
||||
RESTRICT="test" # patches welcome to fix the test
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/jre-1.8"
|
||||
|
||||
DEPEND="
|
||||
>=virtual/jdk-1.8
|
||||
dev-java/ant-core
|
||||
dev-java/maven-bin:3.5"
|
||||
|
||||
S="${WORKDIR}/clojure-clojure-e5a8cfa"
|
||||
|
||||
DOCS=( changes.md CONTRIBUTING.md readme.txt )
|
||||
|
||||
src_compile() {
|
||||
./antsetup.sh || die "antsetup.sh failed"
|
||||
eant local
|
||||
}
|
||||
|
||||
src_test() {
|
||||
java-pkg-2_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar "${PN}.jar"
|
||||
java-pkg_dolauncher ${PN}-${SLOT} --main clojure.main
|
||||
if use source; then
|
||||
mv target/${P}-sources.jar ${PN}-sources.jar
|
||||
insinto /usr/share/${PN}-${SLOT}/sources
|
||||
doins ${PN}-sources.jar
|
||||
fi
|
||||
einstalldocs
|
||||
}
|
@ -0,0 +1,111 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit bash-completion-r1 llvm multiprocessing toolchain-funcs
|
||||
|
||||
BV=0.27.0-1
|
||||
BV_AMD64=${BV}-linux-x86_64
|
||||
BV_X86=${BV}-linux-i686
|
||||
|
||||
DESCRIPTION="The Crystal Programming Language"
|
||||
HOMEPAGE="https://crystal-lang.org"
|
||||
SRC_URI="https://github.com/crystal-lang/crystal/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||
amd64? ( https://github.com/crystal-lang/crystal/releases/download/${BV/-*}/crystal-${BV_AMD64}.tar.gz )
|
||||
x86? ( https://github.com/crystal-lang/crystal/releases/download/${BV/-*}/crystal-${BV_X86}.tar.gz )"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="doc debug examples blocking-stdio-hack +xml +yaml"
|
||||
|
||||
# Not compatible with llvm-7
|
||||
LLVM_MAX_SLOT=6
|
||||
|
||||
# dev-libs/boehm-gc[static-libs] dependency problem, check the issue: https://github.com/manastech/crystal/issues/1382
|
||||
DEPEND="
|
||||
sys-devel/llvm:${LLVM_MAX_SLOT}
|
||||
dev-libs/boehm-gc[static-libs,threads]
|
||||
dev-libs/libatomic_ops
|
||||
dev-libs/libevent
|
||||
dev-libs/libpcre
|
||||
sys-libs/libunwind
|
||||
dev-libs/pcl
|
||||
dev-libs/gmp:0
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
xml? ( dev-libs/libxml2 )
|
||||
yaml? ( dev-libs/libyaml )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.25.0-verbose.patch
|
||||
"${FILESDIR}"/${PN}-0.26.1-gentoo-tests-sandbox.patch
|
||||
"${FILESDIR}"/${PN}-0.26.1-gentoo-tests-network-sandbox-3.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
use blocking-stdio-hack && eapply "${FILESDIR}"/"${PN}"-0.22.0-blocking-stdio-hack.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local bootstrap_path=${WORKDIR}/${PN}-${BV}/bin
|
||||
if [[ ! -d ${bootstrap_path} ]]; then
|
||||
eerror "Binary tarball does not contain expected directory:"
|
||||
die "'${bootstrap_path}' path does not exist."
|
||||
fi
|
||||
|
||||
emake \
|
||||
$(usex debug "" release=1) \
|
||||
progress=true \
|
||||
stats=1 \
|
||||
threads=$(makeopts_jobs) \
|
||||
verbose=1 \
|
||||
\
|
||||
CC=$(tc-getCC) \
|
||||
CXX=$(tc-getCXX) \
|
||||
AR=$(tc-getAR) \
|
||||
\
|
||||
PATH="${bootstrap_path}:${PATH}" \
|
||||
CRYSTAL_PATH=src \
|
||||
CRYSTAL_CONFIG_VERSION=${PV} \
|
||||
CRYSTAL_CONFIG_PATH="lib:${EPREFIX}/usr/$(get_libdir)/crystal"
|
||||
use doc && emake docs
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake spec \
|
||||
$(usex debug "" release=1) \
|
||||
progress=true \
|
||||
stats=1 \
|
||||
threads=$(makeopts_jobs) \
|
||||
verbose=1 \
|
||||
\
|
||||
CC=$(tc-getCC) \
|
||||
CXX=$(tc-getCXX) \
|
||||
AR=$(tc-getAR) \
|
||||
\
|
||||
CRYSTAL_PATH=src \
|
||||
CRYSTAL_CONFIG_VERSION=${PV}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/$(get_libdir)/crystal
|
||||
doins -r src/.
|
||||
dobin .build/crystal
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins etc/completion.zsh _crystal
|
||||
|
||||
use examples && dodoc -r samples
|
||||
|
||||
if use doc ; then
|
||||
docinto api
|
||||
dodoc -r docs/.
|
||||
fi
|
||||
|
||||
newbashcomp etc/completion.bash ${PN}
|
||||
}
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST liblognorm-2.0.5.tar.gz 667709 BLAKE2B 9f2a774c2378caa460a1f11e21570e719f83e782c5731a35921099b1b31397495ea2a4baebd489d186526eb2d011f2ab30d971713a8083c1ae02168d3f632ce8 SHA512 2b36fabfa8b751127d47f307833414d339ae43bad5b687ce6ac42a961021f9a515703ca0c4808e098ef49be3a943abdbf307f90995a2331c6e266167ef041d00
|
||||
DIST liblognorm-2.0.6.tar.gz 666712 BLAKE2B 4c3e46fbd9a3eaf6c429872d30c0fe93f1255dbf3cc14efc82ab94d70ef45c5560c50644e0e23dc63777ddbc405d0f3fb911975d06fd6f6cdee6f7b98ff10b74 SHA512 0b4ee55eb54920dd096fdd6d6dcc2263bc52e74442d86503bfebf26b31492a8c1b67cb3b709ecc8b96cc53252151515719027306b2b6f7ba3404adc5a48cf125
|
||||
|
@ -0,0 +1,72 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="Fast samples-based log normalization library"
|
||||
HOMEPAGE="http://www.liblognorm.com"
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
EGIT_REPO_URI="https://github.com/rsyslog/${PN}.git"
|
||||
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="http://www.liblognorm.com/files/download/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~x86 ~amd64-linux"
|
||||
fi
|
||||
|
||||
LICENSE="LGPL-2.1 Apache-2.0"
|
||||
SLOT="0/5.1.0"
|
||||
IUSE="debug doc static-libs test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/libestr-0.1.3
|
||||
>=dev-libs/libfastjson-0.99.2:=
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
>=sys-devel/autoconf-archive-2015.02.04
|
||||
virtual/pkgconfig
|
||||
doc? ( >=dev-python/sphinx-1.2.2 )
|
||||
"
|
||||
|
||||
DOCS=( ChangeLog )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# regexp disabled due to https://github.com/rsyslog/liblognorm/issues/143
|
||||
local myeconfargs=(
|
||||
--enable-compile-warnings=yes
|
||||
--disable-Werror
|
||||
$(use_enable doc docs)
|
||||
$(use_enable test testbench)
|
||||
$(use_enable debug)
|
||||
$(use_enable static-libs static)
|
||||
--disable-regexp
|
||||
)
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# When adding new tests via patches we have to make them executable
|
||||
einfo "Adjusting permissions of test scripts ..."
|
||||
find "${S}"/tests -type f -name '*.sh' \! -perm -111 -exec chmod a+x '{}' \; || \
|
||||
die "Failed to adjust test scripts permission"
|
||||
|
||||
emake --jobs 1 check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
find "${ED}"usr/lib* -name '*.la' -delete || die
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue