parent
1e8884b706
commit
47fe423701
@ -1,3 +1,4 @@
|
||||
DIST monit-5.15.tar.gz 1218043 SHA256 deada8153dc7e8755f572bc4d790143a92c7a8668dccb563ae4dbd73af56697c SHA512 7e2b011a89d9b1dc990faf413a38f0c68aea398e25efd5392d6aa1baf50d68ea2db087ea2093c84658a99b7a83d133b23562d5ad11e1197db7a54a2b961177cd WHIRLPOOL e305705583c79b8d861595cae4d000b5832e3288f3d0ec59e69ac811e1f402af489e44c8fe568941781d97c953ff181a8048f0b3dfaeec14a26fd4bbc8cff697
|
||||
DIST monit-5.16.1.tar.gz 1226375 SHA256 b729b8345f5b85311c7f05751fc5d009128fd4a95fc4929a04b43bd15ab3b23f SHA512 911462b73074cbdd151596dc29cef74370af3ae368067d36e9f630fd2f4cb37867f0eef68083ee07efa1f489848560c4b4152e55eccc829d5118990e04308ffa WHIRLPOOL bca90fd0d28aa65c81074d427426bf748a94de23716fe99a203e8af7bea34aa32d9f0c02716d4850b67f165c0224de14618f8a64061588bfe2fa2542a70a1a70
|
||||
DIST monit-5.17.1.tar.gz 1231823 SHA256 f71a22cfb6bd91ff46496e72e1d1b1021ecd651e7748131ce0f995cc37ff0b42 SHA512 e28534ce3a5a95eac70f05c34b5a8545a0eb925ac90f82f71bcea8f3568be45288ddbd196c2352a390820244143511ecf2e0de21cdcab1dd2f3e4788dad71015 WHIRLPOOL 9416020cecb49473299f0603448a79c0f3992bad995dbd78a282cf8440b9957edcefc419a56ed71f583efbce2d0ba50a338d2df5b736d9d32e0116ecc5bf5ef1
|
||||
DIST monit-5.17.tar.gz 1231882 SHA256 2fbcdea79ae39228791a0aaa685ebbf650f2b58d086eaf77a33226e972cb216e SHA512 6e5459f3c1d37e3713286bfabc4a6a109f90438a0b45630af7f93fbe1e8ec7984551c7026f3fe1d8b63632bca7b3678f9ea3cbed194d6e5e7abe367d62d8ad61 WHIRLPOOL de10a18996cee1bcb1637e53e3e5ea8517ec4d7f33efbd73110c639cf921cb52cdd4ddb547a474e9d60e4c4bd451dc1947692b3244bd254027885df65074b259
|
||||
|
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
inherit pam systemd
|
||||
|
||||
DESCRIPTION="a utility for monitoring and managing daemons or similar programs running on a Unix system"
|
||||
HOMEPAGE="http://mmonit.com/monit/"
|
||||
SRC_URI="http://mmonit.com/monit/dist/${P}.tar.gz"
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux"
|
||||
IUSE="libressl pam ssl"
|
||||
|
||||
RDEPEND="
|
||||
ssl? (
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl )
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/flex
|
||||
sys-devel/bison
|
||||
pam? ( virtual/pam )"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i -e '/^INSTALL_PROG/s/-s//' Makefile.in || die "sed failed in Makefile.in"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_with ssl) $(use_with pam)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
dodoc README
|
||||
|
||||
insinto /etc; insopts -m600; doins monitrc
|
||||
newinitd "${FILESDIR}"/monit.initd-5.0-r1 monit
|
||||
systemd_dounit "${FILESDIR}"/${PN}.service
|
||||
|
||||
use pam && newpamd "${FILESDIR}"/${PN}.pamd ${PN}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Sample configurations are available at:"
|
||||
elog "http://mmonit.com/monit/documentation/"
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST sudo-1.8.12.tar.gz 2493373 SHA256 163b51841de8ad19276581a6782d61f5948f1f72a0a843371a1c167d3dc4f3b0 SHA512 1815343eceb7cfa6e37c961ce1c68cf96fc290356b92078d6d24a2c85d8b7a7236df78d3ff7f5e30eba492dc8407346d884e01c0b989eef4414156cfec80b67b WHIRLPOOL 0d9e618937a08b9bf74aaebf12f5b9f96afd827728f90fa95b6a2a4f932cc84240d56674aa903062247068ec5aa3369b14bad64130caeb313330286510c2d3f6
|
||||
DIST sudo-1.8.14p3.tar.gz 2570892 SHA256 a8a697cbb113859058944850d098464618254804cf97961dee926429f00a1237 SHA512 022e75a4171c0d9b87569adc5b08afc1b8f2adb7dbc6c80dfb737029dbca560a08e317ce37f117b614f36b54666ed01559a72d0c92523a5a2ee3531f520d7a2b WHIRLPOOL 143ff1c464b539e79172cd0340a089739207d2b99fc01d183a27b24b5172c834d6ed0f7258116542ffa559a3a4c3540924261170655dd7bedb449f8d93496bbd
|
||||
DIST sudo-1.8.15.tar.gz 2660128 SHA256 4316381708324da8b6cb151f655c1a11855207c7c02244d8ffdea5104d7cc308 SHA512 f2bff92104ddc4cbea8c788da446043cbfe02c977cedf18d46b1c82e98d7227432cb5a61233e7a06af84e3637f906edd5e02bb88c03a2ce4a16df410469a5dab WHIRLPOOL 3da64eda51f22d7fc0ea76f0693e9960d511b7c762b5d6237318d17436fd64b58ae90caa9bf4e125ebee70b83eac7cba2c7451fb62fafd8ee3d133c4ae2037b9
|
||||
|
@ -1,146 +0,0 @@
|
||||
This fixes builds on uClibc and musl. See
|
||||
https://bugs.gentoo.org/show_bug.cgi?id=544756
|
||||
|
||||
This patch is a slight modification of uptream commits:
|
||||
http://www.sudo.ws/repos/sudo/rev/86eb67f3c41a
|
||||
http://www.sudo.ws/repos/sudo/rev/e0794f05e95c
|
||||
|
||||
diff -Naur sudo-1.8.12.orig/lib/util/getopt_long.c sudo-1.8.12/lib/util/getopt_long.c
|
||||
--- sudo-1.8.12.orig/lib/util/getopt_long.c 2015-02-09 18:40:10.000000000 +0000
|
||||
+++ sudo-1.8.12/lib/util/getopt_long.c 2015-04-10 19:21:20.337032782 +0000
|
||||
@@ -52,6 +52,7 @@
|
||||
|
||||
#include <config.h>
|
||||
|
||||
+#include <sys/types.h>
|
||||
#include <stdio.h>
|
||||
#ifdef STDC_HEADERS
|
||||
# include <stdlib.h>
|
||||
diff -Naur sudo-1.8.12.orig/lib/util/mksiglist.c sudo-1.8.12/lib/util/mksiglist.c
|
||||
--- sudo-1.8.12.orig/lib/util/mksiglist.c 2015-02-09 18:40:10.000000000 +0000
|
||||
+++ sudo-1.8.12/lib/util/mksiglist.c 2015-04-10 19:22:38.719856268 +0000
|
||||
@@ -43,6 +43,7 @@
|
||||
#include "mksiglist.h"
|
||||
|
||||
printf("#include <config.h>\n");
|
||||
+ printf("#include <sys/types.h>\n");
|
||||
printf("#include <signal.h>\n");
|
||||
printf("#include \"sudo_compat.h\"\n\n");
|
||||
printf("const char *const sudo_sys_siglist[NSIG] = {\n");
|
||||
diff -Naur sudo-1.8.12.orig/lib/util/mksigname.c sudo-1.8.12/lib/util/mksigname.c
|
||||
--- sudo-1.8.12.orig/lib/util/mksigname.c 2015-02-09 18:40:10.000000000 +0000
|
||||
+++ sudo-1.8.12/lib/util/mksigname.c 2015-04-10 19:22:10.738491394 +0000
|
||||
@@ -43,6 +43,7 @@
|
||||
#include "mksigname.h"
|
||||
|
||||
printf("#include <config.h>\n");
|
||||
+ printf("#include <sys/types.h>\n");
|
||||
printf("#include <signal.h>\n");
|
||||
printf("#include \"sudo_compat.h\"\n\n");
|
||||
printf("const char *const sudo_sys_signame[NSIG] = {\n");
|
||||
diff -Naur sudo-1.8.12.orig/lib/util/regress/fnmatch/fnm_test.c sudo-1.8.12/lib/util/regress/fnmatch/fnm_test.c
|
||||
--- sudo-1.8.12.orig/lib/util/regress/fnmatch/fnm_test.c 2015-02-09 18:40:10.000000000 +0000
|
||||
+++ sudo-1.8.12/lib/util/regress/fnmatch/fnm_test.c 2015-04-10 19:21:20.340032928 +0000
|
||||
@@ -6,6 +6,7 @@
|
||||
|
||||
#include <config.h>
|
||||
|
||||
+#include <sys/types.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#ifdef HAVE_STRING_H
|
||||
diff -Naur sudo-1.8.12.orig/lib/util/regress/glob/globtest.c sudo-1.8.12/lib/util/regress/glob/globtest.c
|
||||
--- sudo-1.8.12.orig/lib/util/regress/glob/globtest.c 2015-02-09 18:40:10.000000000 +0000
|
||||
+++ sudo-1.8.12/lib/util/regress/glob/globtest.c 2015-04-10 19:21:20.341032977 +0000
|
||||
@@ -6,6 +6,7 @@
|
||||
|
||||
#include <config.h>
|
||||
|
||||
+#include <sys/types.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#ifdef HAVE_STRING_H
|
||||
diff -Naur sudo-1.8.12.orig/lib/util/sha2.c sudo-1.8.12/lib/util/sha2.c
|
||||
--- sudo-1.8.12.orig/lib/util/sha2.c 2015-02-09 18:40:09.000000000 +0000
|
||||
+++ sudo-1.8.12/lib/util/sha2.c 2015-04-10 19:21:20.342033026 +0000
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
- * Copyright (c) 2013 Todd C. Miller <Todd.Miller@courtesan.com>
|
||||
+ * Copyright (c) 2013-2015 Todd C. Miller <Todd.Miller@courtesan.com>
|
||||
*
|
||||
* Permission to use, copy, modify, and distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
@@ -25,6 +25,7 @@
|
||||
|
||||
#include <config.h>
|
||||
|
||||
+#include <sys/types.h>
|
||||
#include <stdio.h>
|
||||
#ifdef STDC_HEADERS
|
||||
# include <stdlib.h>
|
||||
diff -Naur sudo-1.8.12.orig/plugins/sudoers/regress/parser/check_base64.c sudo-1.8.12/plugins/sudoers/regress/parser/check_base64.c
|
||||
--- sudo-1.8.12.orig/plugins/sudoers/regress/parser/check_base64.c 2015-02-09 18:40:10.000000000 +0000
|
||||
+++ sudo-1.8.12/plugins/sudoers/regress/parser/check_base64.c 2015-04-10 19:21:20.342033026 +0000
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
- * Copyright (c) 2013 Todd C. Miller <Todd.Miller@courtesan.com>
|
||||
+ * Copyright (c) 2013-2015 Todd C. Miller <Todd.Miller@courtesan.com>
|
||||
*
|
||||
* Permission to use, copy, modify, and distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
@@ -16,6 +16,7 @@
|
||||
|
||||
#include <config.h>
|
||||
|
||||
+#include <sys/types.h>
|
||||
#include <stdio.h>
|
||||
#ifdef STDC_HEADERS
|
||||
# include <stdlib.h>
|
||||
diff -Naur sudo-1.8.12.orig/plugins/sudoers/regress/parser/check_digest.c sudo-1.8.12/plugins/sudoers/regress/parser/check_digest.c
|
||||
--- sudo-1.8.12.orig/plugins/sudoers/regress/parser/check_digest.c 2015-02-09 18:40:10.000000000 +0000
|
||||
+++ sudo-1.8.12/plugins/sudoers/regress/parser/check_digest.c 2015-04-10 19:21:20.343033075 +0000
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
- * Copyright (c) 2013 Todd C. Miller <Todd.Miller@courtesan.com>
|
||||
+ * Copyright (c) 2013-2015 Todd C. Miller <Todd.Miller@courtesan.com>
|
||||
*
|
||||
* Permission to use, copy, modify, and distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
@@ -16,6 +16,7 @@
|
||||
|
||||
#include <config.h>
|
||||
|
||||
+#include <sys/types.h>
|
||||
#include <stdio.h>
|
||||
#ifdef STDC_HEADERS
|
||||
# include <stdlib.h>
|
||||
diff -Naur sudo-1.8.12.orig/plugins/sudoers/regress/parser/check_hexchar.c sudo-1.8.12/plugins/sudoers/regress/parser/check_hexchar.c
|
||||
--- sudo-1.8.12.orig/plugins/sudoers/regress/parser/check_hexchar.c 2015-02-09 18:40:10.000000000 +0000
|
||||
+++ sudo-1.8.12/plugins/sudoers/regress/parser/check_hexchar.c 2015-04-10 19:21:20.344033124 +0000
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
- * Copyright (c) 2014 Todd C. Miller <Todd.Miller@courtesan.com>
|
||||
+ * Copyright (c) 2014-2015 Todd C. Miller <Todd.Miller@courtesan.com>
|
||||
*
|
||||
* Permission to use, copy, modify, and distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
@@ -16,6 +16,7 @@
|
||||
|
||||
#include <config.h>
|
||||
|
||||
+#include <sys/types.h>
|
||||
#include <stdio.h>
|
||||
#ifdef STDC_HEADERS
|
||||
# include <stdlib.h>
|
||||
diff -Naur sudo-1.8.12.orig/plugins/sudoers/solaris_audit.c sudo-1.8.12/plugins/sudoers/solaris_audit.c
|
||||
--- sudo-1.8.12.orig/plugins/sudoers/solaris_audit.c 2015-02-09 18:53:54.000000000 +0000
|
||||
+++ sudo-1.8.12/plugins/sudoers/solaris_audit.c 2015-04-10 19:21:20.345033172 +0000
|
||||
@@ -15,6 +15,8 @@
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
+
|
||||
+#include <sys/types.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
@ -1,197 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils pam multilib libtool
|
||||
|
||||
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="http://www.sudo.ws/"
|
||||
SRC_URI="http://www.sudo.ws/sudo/dist/${uri_prefix}${MY_P}.tar.gz
|
||||
ftp://ftp.sudo.ws/pub/sudo/${uri_prefix}${MY_P}.tar.gz"
|
||||
|
||||
# Basic license is ISC-style as-is, some files are released under
|
||||
# 3-clause BSD license
|
||||
LICENSE="ISC BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~sparc-solaris"
|
||||
IUSE="ldap nls pam offensive selinux skey +sendmail"
|
||||
|
||||
DEPEND="pam? ( virtual/pam )
|
||||
skey? ( >=sys-auth/skey-1.1.5-r1 )
|
||||
ldap? (
|
||||
>=net-nds/openldap-2.1.30-r1
|
||||
dev-libs/cyrus-sasl
|
||||
)
|
||||
sys-libs/zlib"
|
||||
RDEPEND="${DEPEND}
|
||||
selinux? ( sec-policy/selinux-sudo )
|
||||
ldap? ( dev-lang/perl )
|
||||
pam? ( sys-auth/pambase )
|
||||
>=app-misc/editor-wrapper-3
|
||||
virtual/editor
|
||||
sendmail? ( virtual/mta )"
|
||||
DEPEND="${DEPEND}
|
||||
sys-devel/bison"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
REQUIRED_USE="pam? ( !skey ) skey? ( !pam )"
|
||||
|
||||
MAKEOPTS+=" SAMPLES="
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-include-sys-types-h.patch
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
set_rootpath() {
|
||||
# FIXME: secure_path is a compile time setting. using 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
|
||||
ROOTPATH=$(unset ROOTPATH; . "${EPREFIX}"/etc/profile.env; echo "${ROOTPATH}")
|
||||
if [[ -z ${ROOTPATH} ]] ; then
|
||||
ewarn " Failed to find ROOTPATH, 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
|
||||
ROOTPATH=${newpath#:}
|
||||
}
|
||||
cleanpath /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin${ROOTPATH:+:${ROOTPATH}}
|
||||
|
||||
# finally, strip gcc paths #136027
|
||||
rmpath() {
|
||||
local e newpath thisp IFS=:
|
||||
for thisp in ${ROOTPATH} ; do
|
||||
for e ; do [[ $thisp == $e ]] && continue 2 ; done
|
||||
newpath+=:$thisp
|
||||
done
|
||||
ROOTPATH=${newpath#:}
|
||||
}
|
||||
rmpath '*/gcc-bin/*' '*/gnat-gcc-bin/*' '*/gnat-gcc/*'
|
||||
|
||||
einfo "... done"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local ROOTPATH
|
||||
set_rootpath
|
||||
|
||||
# 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.
|
||||
econf \
|
||||
--enable-zlib=system \
|
||||
--with-secure-path="${ROOTPATH}" \
|
||||
--with-editor="${EPREFIX}"/usr/libexec/editor \
|
||||
--with-env-editor \
|
||||
$(use_with offensive insults) \
|
||||
$(use_with offensive all-insults) \
|
||||
$(use_with ldap ldap_conf_file /etc/ldap.conf.sudo) \
|
||||
$(use_with ldap) \
|
||||
$(use_enable nls) \
|
||||
$(use_with pam) \
|
||||
$(use_with skey) \
|
||||
$(use_with selinux) \
|
||||
$(use_with sendmail) \
|
||||
--without-opie \
|
||||
--without-linux-audit \
|
||||
--with-rundir="${EPREFIX}"/var/run/sudo \
|
||||
--with-vardir="${EPREFIX}"/var/db/sudo \
|
||||
--with-plugindir="${EPREFIX}"/usr/$(get_libdir)/sudo \
|
||||
--docdir="${EPREFIX}"/usr/share/doc/${PF}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use ldap ; then
|
||||
dodoc README.LDAP doc/schema.OpenLDAP
|
||||
dosbin plugins/sudoers/sudoers2ldif
|
||||
|
||||
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
|
||||
fi
|
||||
|
||||
pamd_mimic system-auth sudo auth account session
|
||||
|
||||
keepdir /var/db/sudo
|
||||
fperms 0700 /var/db/sudo
|
||||
|
||||
# Don't install into /var/run as that is a tmpfs most of the time
|
||||
# (bug #504854)
|
||||
rm -rf "${D}"/var/run
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
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."
|
||||
}
|
@ -1,196 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils pam multilib libtool
|
||||
|
||||
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="http://www.sudo.ws/"
|
||||
SRC_URI="http://www.sudo.ws/sudo/dist/${uri_prefix}${MY_P}.tar.gz
|
||||
ftp://ftp.sudo.ws/pub/sudo/${uri_prefix}${MY_P}.tar.gz"
|
||||
|
||||
# Basic license is ISC-style as-is, some files are released under
|
||||
# 3-clause BSD license
|
||||
LICENSE="ISC BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~sparc-solaris"
|
||||
IUSE="ldap nls pam offensive selinux skey +sendmail"
|
||||
|
||||
DEPEND="pam? ( virtual/pam )
|
||||
skey? ( >=sys-auth/skey-1.1.5-r1 )
|
||||
ldap? (
|
||||
>=net-nds/openldap-2.1.30-r1
|
||||
dev-libs/cyrus-sasl
|
||||
)
|
||||
sys-libs/zlib"
|
||||
RDEPEND="${DEPEND}
|
||||
selinux? ( sec-policy/selinux-sudo )
|
||||
ldap? ( dev-lang/perl )
|
||||
pam? ( sys-auth/pambase )
|
||||
>=app-misc/editor-wrapper-3
|
||||
virtual/editor
|
||||
sendmail? ( virtual/mta )"
|
||||
DEPEND="${DEPEND}
|
||||
sys-devel/bison"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
REQUIRED_USE="pam? ( !skey ) skey? ( !pam )"
|
||||
|
||||
MAKEOPTS+=" SAMPLES="
|
||||
|
||||
src_prepare() {
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
set_rootpath() {
|
||||
# FIXME: secure_path is a compile time setting. using 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
|
||||
ROOTPATH=$(unset ROOTPATH; . "${EPREFIX}"/etc/profile.env; echo "${ROOTPATH}")
|
||||
if [[ -z ${ROOTPATH} ]] ; then
|
||||
ewarn " Failed to find ROOTPATH, 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
|
||||
ROOTPATH=${newpath#:}
|
||||
}
|
||||
cleanpath /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin${ROOTPATH:+:${ROOTPATH}}
|
||||
|
||||
# finally, strip gcc paths #136027
|
||||
rmpath() {
|
||||
local e newpath thisp IFS=:
|
||||
for thisp in ${ROOTPATH} ; do
|
||||
for e ; do [[ $thisp == $e ]] && continue 2 ; done
|
||||
newpath+=:$thisp
|
||||
done
|
||||
ROOTPATH=${newpath#:}
|
||||
}
|
||||
rmpath '*/gcc-bin/*' '*/gnat-gcc-bin/*' '*/gnat-gcc/*'
|
||||
|
||||
einfo "... done"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local ROOTPATH
|
||||
set_rootpath
|
||||
|
||||
# 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.
|
||||
econf \
|
||||
--enable-zlib=system \
|
||||
--with-secure-path="${ROOTPATH}" \
|
||||
--with-editor="${EPREFIX}"/usr/libexec/editor \
|
||||
--with-env-editor \
|
||||
$(use_with offensive insults) \
|
||||
$(use_with offensive all-insults) \
|
||||
$(use_with ldap ldap_conf_file /etc/ldap.conf.sudo) \
|
||||
$(use_with ldap) \
|
||||
$(use_enable nls) \
|
||||
$(use_with pam) \
|
||||
$(use_with skey) \
|
||||
$(use_with selinux) \
|
||||
$(use_with sendmail) \
|
||||
--without-opie \
|
||||
--without-linux-audit \
|
||||
--with-rundir="${EPREFIX}"/var/run/sudo \
|
||||
--with-vardir="${EPREFIX}"/var/db/sudo \
|
||||
--with-plugindir="${EPREFIX}"/usr/$(get_libdir)/sudo \
|
||||
--docdir="${EPREFIX}"/usr/share/doc/${PF}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use ldap ; then
|
||||
dodoc README.LDAP doc/schema.OpenLDAP
|
||||
dosbin plugins/sudoers/sudoers2ldif
|
||||
|
||||
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
|
||||
fi
|
||||
|
||||
pamd_mimic system-auth sudo auth account session
|
||||
|
||||
keepdir /var/db/sudo
|
||||
fperms 0700 /var/db/sudo
|
||||
|
||||
# Don't install into /var/run as that is a tmpfs most of the time
|
||||
# (bug #504854)
|
||||
rm -rf "${D}"/var/run
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
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."
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST fb2edit-0.0.8.tar.bz2 222684 SHA256 f6f6fe21fb8651f8aaff12bfd923257dab17e64a47557669a2ad93ce22c8ed89 SHA512 05b79c5c7965af410fda335fc6fe2612f541c8bae6241c115affdd33b9375bba5710e689933f1745dbf2c132896a843e532bf62c079f0d646f97bedd0e81a572 WHIRLPOOL 993558bdab1a66295c5189e1c05886caa3e590a9779be876ad6d6f46b11958ff53e2e3db50c018ee63c20e9b2108308c03eb5b5a83f54badf93d99f16b94d1e0
|
||||
DIST fb2edit-0.0.9.tar.gz 242568 SHA256 6d64fe1597911170d6d6d59d4b36d406a9389a37c2ef5c68051176bf6f45f181 SHA512 a51eb9e7c7f70d55dc1eb06f4f7e03a031ce229570ee9620f6299cac6c2b435c8bcd702def7a50783055c066227d77b5c235f2bba231b328831b4666cc0f61b9 WHIRLPOOL 2f4ab29352318211c36fe1bfd739d69633f31ec0ce0c0a2edf4dac7965896074900f8c5b840943d900a5ff12d6cc3a819a19f7ea77201465446f17dcc9aba8cb
|
||||
|
@ -1,32 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="a WYSIWYG FictionBook (fb2) editor"
|
||||
HOMEPAGE="http://fb2edit.lintest.ru/"
|
||||
SRC_URI="http://fb2edit.lintest.ru/pub/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
DEPEND="dev-libs/libxml2
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtgui:4
|
||||
dev-qt/qtwebkit:4
|
||||
dev-qt/qtxmlpatterns:4"
|
||||
RDEPEND="${DEPEND}
|
||||
x11-themes/hicolor-icon-theme"
|
||||
|
||||
DOCS=( AUTHORS README )
|
||||
|
||||
src_prepare() {
|
||||
# drop -g from CFLAGS
|
||||
sed -i -e '/^add_definitions(-W/s/-g//' CMakeLists.txt || die 'sed failed'
|
||||
|
||||
cmake-utils_src_prepare
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST lxd-2.0.0_beta1.tar.bz2 2253384 SHA256 443d8004aea80a9295eeb28c81b930947163b5af5e7c5ec15e6123938268bd6c SHA512 21cc90e18173f832f7aa2f39762ba1c47ac54dbb947519302075d10f8c55cce766d436cb7f9ec96cb2fe538952b801398ce3b1320d878e8835d58e4fb3b81c86 WHIRLPOOL 85a11976fbf74f8b408c75aa7abf645d3e27eed3f82021fbcb7b2d8db95cc986fdf2cd6a38ef8749857027b380382e66678fb1f1656274159dbc2531c3860761
|
||||
DIST lxd-2.0.0_beta3.tar.bz2 2283443 SHA256 a3bdf6c081ebed01fcd1ae92a6d3ebf2e7d6ffea606fe3cb83559366e7dc90aa SHA512 3f80c1236ac9a92a350b4221478dd69eb2693672d73859738b691b9462155d0a907de90deab9950980500ab0faa5ec815bc6191cedf2d34d3757757f585570ec WHIRLPOOL 6d425c26ef37bc65871cf08946f0a80e5b9a3e01da5edd07605e94a2b418e6d2163ee90210c4439350000c35a18efa97102dcbab90ccd1577d6164b5b2e271b4
|
||||
DIST lxd-2.0.0_beta4.tar.bz2 2291955 SHA256 6487750275e21ab3e862ea56807b9fcf28e9a646040e1f50f3967e9f76cf27e5 SHA512 ae67b9098946f037c1c938cc46f141fb8089ae33b980dd55cebc9cc3f14fbcd645e810e185fdc61dacbd6437569d079e4d9bd9763d12fefb65cfcecf13c10b28 WHIRLPOOL 6c781b47b80d044128647567b6de81352b174e2224e9ff91f2e1eacc5dfbb9141e53aa74e9bce479ebee1bb6c691282849897c34f815415623abcf3d666c7033
|
||||
DIST lxd-2.0.0_rc2.tar.bz2 2306077 SHA256 d74babbd5c537430a574a13c0f70c7633affc9bbd0e21bf0039872bdfb801fe9 SHA512 6a21620e19277293a3b665d4061f5aa9443d1a9a5ab88fa885096ff77acf828b215e247136bb99ea1ba230f015181bc9a86a919664c9288577509a2146a5aa66 WHIRLPOOL f88e0f3b5ecd9803bc8baee864ffbdf33b39f331a5e5ceb170b2792d2e26b6f4faae3a8cc6aae090e81accd3835408f2956a117095bc790ca7c16cd7f21d205e
|
||||
|
@ -1,17 +0,0 @@
|
||||
--- a/lxd/container_lxc.go
|
||||
+++ b/lxd/container_lxc.go
|
||||
@@ -3509,8 +3509,13 @@ func (c *containerLXC) getDiskLimits() (map[string]deviceBlockLimit, error) {
|
||||
|
||||
for _, block := range blocks {
|
||||
dev := strings.TrimPrefix(block, "/dev/")
|
||||
+
|
||||
+ if strings.Contains(dev,"/") {
|
||||
+ continue
|
||||
+ }
|
||||
+
|
||||
if !shared.PathExists(fmt.Sprintf("/sys/class/block/%s/dev", dev)) {
|
||||
- return nil, fmt.Errorf("Disk is missing /sys/class/block entry")
|
||||
+ return nil, fmt.Errorf("Disk %s is missing /sys/class/block entry", dev)
|
||||
}
|
||||
|
||||
block, err := ioutil.ReadFile(fmt.Sprintf("/sys/class/block/%s/dev", dev))
|
@ -1,2 +1,3 @@
|
||||
DIST afl-1.80b.tgz 797509 SHA256 e042cfe30d03ef6df3ae92619408e236d1a8e9bb6cf94ca107c4519e23161401 SHA512 822e93643f0ca10e9ce3eb726667e70eae1789029385cb5332eef65589f7ef0350e6775108634b642e5b394c46599b1e7943227c93cb1b1b50facf1f9e069095 WHIRLPOOL 9e761ee67321cf8980229f6a0245b3c31c9d195db21ec240adef14113020e360d856a4e8de3ab9abce08205a1f085ad8c1f7826ae20702f54de402c21c2b9b72
|
||||
DIST afl-1.96b.tgz 804864 SHA256 03beb06f8993dcb37d348e53da19ca9d064c83fcedc9d87b0b506c73c310f27c SHA512 a55d89ffe9c89586b70f8a9ab80330cc0511f453d5918045ec06289093ca5321611b08a522bb058e3c16ddc9b5d5ec221ce1cab9819b79f4738cba15f2aadff0 WHIRLPOOL 997efe32fcb0d2c53e9ed9b2bb31dd776ccdafb93990505676bbf04f2a4791ffa814ab8da0a6e4febdfd6184e41497a4509fa9ac3964b5ef6ed7a1c607982bb5
|
||||
DIST afl-2.07b.tgz 814913 SHA256 9dd324bc3930ec1dbb44d00df8dcf8a3c8ca54b765665cc7f20b89e71d70b184 SHA512 784e731ca76615493309624e7d1e64556589da624f3a9f839e948c2bd40923b21dd1074235f15c23490b3ec3a8111f386d299ab6e120cc3a2d732a704716c116 WHIRLPOOL 871a11eafdb28c01148c6f39a5f319805394082996d07e219ed85a0f45d063a5794020a9ecf33c364f67b7c551247d97e36074d1c889f25485217c087869ab91
|
||||
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit multilib toolchain-funcs flag-o-matic
|
||||
|
||||
DESCRIPTION="american fuzzy lop - compile-time instrumentation fuzzer"
|
||||
HOMEPAGE="http://lcamtuf.coredump.cx/afl/"
|
||||
SRC_URI="http://lcamtuf.coredump.cx/afl/releases/${P}.tgz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
DEPEND="sys-devel/gcc:*
|
||||
sys-devel/clang"
|
||||
RDEPEND="${DEPEND}"
|
||||
QA_PREBUILT="/usr/share/afl/testcases/others/elf/small_exec.elf"
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)" \
|
||||
PREFIX="/usr" \
|
||||
HELPER_PATH="/usr/$(get_libdir)/afl" \
|
||||
DOC_PATH="/usr/share/doc/${PF}"
|
||||
CC="clang" strip-unsupported-flags
|
||||
cd llvm_mode
|
||||
emake \
|
||||
PREFIX="/usr" \
|
||||
HELPER_PATH="/usr/$(get_libdir)/afl" \
|
||||
DOC_PATH="/usr/share/doc/${PF}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" \
|
||||
PREFIX="/usr" \
|
||||
HELPER_PATH="/usr/$(get_libdir)/afl" \
|
||||
DOC_PATH="/usr/share/doc/${PF}" \
|
||||
install
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST cpipe-3.0.3.tar.gz 16392 SHA256 3803a71233a4cd8dd3bfba5a52d3320ed037740cf3a45b07cc30d8be457ea1cc SHA512 255e3833ddaf27af1768e650a47d0565224ddd22137636ae0fae491a4d03f523b74a76f26b261c71442a7509f42eee64b75fbcf7078641a64b66a2590bb803b3 WHIRLPOOL e9bba8ff169055c41e71f536eb99155a2f4396c4f078fa3f0f6e6087ecd0029f8a5f04f4a9e1a27d385d187f472ffce5f9b001d3975fba54e27ef5d422c88ba1
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Counting pipe, measures data transfered over pipe"
|
||||
HOMEPAGE="https://github.com/HaraldKi/cpipe"
|
||||
SRC_URI="https://github.com/HaraldKi/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i \
|
||||
-e "s/CFLAGS =/CFLAGS =${CFLAGS} /" \
|
||||
-e "s/-lm/-lm ${LDFLAGS}/" \
|
||||
-e "s/744/644/" makefile || die "sed failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin "${PN}"
|
||||
doman "${PN}.1"
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<upstream>
|
||||
<remote-id type="github">HaraldKi/cpipe</remote-id>
|
||||
</upstream>
|
||||
<maintainer type="person">
|
||||
<email>monsieurp@gentoo.org</email>
|
||||
<name>Patrice Clement</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1 +1,2 @@
|
||||
DIST akonadi-1.13.0.tar.bz2 294198 SHA256 8c7f690002ea22c139f3a64394aef2e816e00ca47fd971af7d54a66087356dd2 SHA512 4bf2026c3807b5493c9f63d0c2bff2e6db00fbe97a4e2c2f707aaa3bf4a848b70dd9657d8fa1743690e8eeefd967de4895c1329c6bb817a1d023fe398285222f WHIRLPOOL edc18247dd864af48395f4e3187f6a52cdaf4737959b317e3decb10caf138b97258a661eeb11a2ad11f2365fdd053a7c6fe63097ba71c24a12417ee71de54afb
|
||||
DIST akonadi-server-1.13.1_pre20160203.tar.gz 384556 SHA256 4243b32e529be6aadc38dc4463cb6e7cede9442c05cfc04ba679dde28f37aa96 SHA512 0ef8213f504ad1e500a2c1ce19a7575cd1fd8b7ffc7e5fb0bd2437639d8c458c47bbfea7734fcd3e200136a661331dde32af0b064f0b25d324138ce6e35d15f3 WHIRLPOOL 69eff1889a19f8d5714d7e71a106871172cd25c651ea30046ab81270cf7e46c7a1983cf20fd8d5fd8ad243d70e881be705d57b0b93b54248d086e7b253a4873a
|
||||
|
@ -0,0 +1,134 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
scm_eclass=git-r3
|
||||
EGIT_REPO_URI=( "git://anongit.kde.org/akonadi" )
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
if [[ ${PV} = *_pre* ]]; then
|
||||
COMMIT_ID="18ed37d89b8185ac15a8bfe245de8a88d17f2c64"
|
||||
SRC_URI="https://quickgit.kde.org/?p=akonadi.git&a=snapshot&h=${COMMIT_ID}&fmt=tgz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN/-server/}"
|
||||
else
|
||||
SRC_URI="mirror://kde/stable/${PN/-server/}/src/${P/-server/}.tar.bz2"
|
||||
S="${WORKDIR}/${P/-server/}"
|
||||
fi
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
fi
|
||||
|
||||
inherit cmake-utils ${scm_eclass}
|
||||
|
||||
DESCRIPTION="The server part of Akonadi"
|
||||
HOMEPAGE="https://pim.kde.org/akonadi"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
IUSE="+mysql postgres sqlite test"
|
||||
|
||||
REQUIRED_USE="|| ( sqlite mysql postgres )"
|
||||
|
||||
CDEPEND="
|
||||
dev-libs/boost:=
|
||||
>=dev-qt/qtcore-4.8.5:4
|
||||
>=dev-qt/qtdbus-4.8.5:4
|
||||
>=dev-qt/qtgui-4.8.5:4
|
||||
>=dev-qt/qtsql-4.8.5:4[mysql?,postgres?]
|
||||
>=dev-qt/qttest-4.8.5:4
|
||||
x11-misc/shared-mime-info
|
||||
sqlite? ( dev-db/sqlite:3 )
|
||||
"
|
||||
DEPEND="${CDEPEND}
|
||||
dev-libs/libxslt
|
||||
>=dev-util/automoc-0.9.88
|
||||
test? ( sys-apps/dbus )
|
||||
"
|
||||
RDEPEND="${CDEPEND}
|
||||
mysql? ( virtual/mysql )
|
||||
postgres? ( dev-db/postgresql[server] )
|
||||
"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.13.0-mysql56-crash.patch"
|
||||
"${FILESDIR}/${PN}-1.13.1-mysql.conf.patch"
|
||||
)
|
||||
|
||||
pkg_pretend() {
|
||||
if [[ ${MERGE_TYPE} != binary ]]; then
|
||||
[[ $(gcc-major-version) -lt 4 ]] || \
|
||||
( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 7 ]] ) \
|
||||
&& die "Sorry, but gcc-4.6 and earlier won't work (see bug #520102)."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
# Set default storage backend in order: MySQL, SQLite PostgreSQL
|
||||
# reverse driver check to keep the order
|
||||
if use postgres; then
|
||||
DRIVER="QPSQL"
|
||||
AVAILABLE+=" ${DRIVER}"
|
||||
fi
|
||||
|
||||
if use sqlite; then
|
||||
DRIVER="QSQLITE3"
|
||||
AVAILABLE+=" ${DRIVER}"
|
||||
fi
|
||||
|
||||
if use mysql; then
|
||||
DRIVER="QMYSQL"
|
||||
AVAILABLE+=" ${DRIVER}"
|
||||
fi
|
||||
|
||||
# Notify about MySQL is recommend by upstream
|
||||
if use sqlite || has_version "<${CATEGORY}/${P}[sqlite]"; then
|
||||
ewarn
|
||||
ewarn "We strongly recommend you change your Akonadi database backend to MySQL in your"
|
||||
ewarn "user configuration. This is the backend recommended by KDE upstream. PostgreSQL"
|
||||
ewarn "is also known to work very well but requires manual dump and import on major"
|
||||
ewarn "upgrades of the DB."
|
||||
ewarn "You can select the backend in your ~/.config/akonadi/akonadiserverrc."
|
||||
ewarn "Available drivers are:${AVAILABLE}"
|
||||
ewarn
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DINSTALL_QSQLITE_IN_QT_PREFIX=ON
|
||||
-DWITH_SOPRANO=FALSE
|
||||
-DAKONADI_BUILD_TESTS=$(usex test)
|
||||
-DAKONADI_BUILD_QSQLITE=$(usex sqlite)
|
||||
-DQT5_BUILD=OFF
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
export $(dbus-launch)
|
||||
cmake-utils_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Who knows, maybe it accidentally fixes our permission issues
|
||||
cat <<-EOF > "${T}"/akonadiserverrc
|
||||
[%General]
|
||||
Driver=${DRIVER}
|
||||
EOF
|
||||
insinto /usr/share/config/akonadi
|
||||
doins "${T}"/akonadiserverrc
|
||||
|
||||
cmake-utils_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "${DRIVER} has been set as your default akonadi storage backend."
|
||||
elog "You can override it in your ~/.config/akonadi/akonadiserverrc."
|
||||
elog "Available drivers are: ${AVAILABLE}"
|
||||
}
|
@ -0,0 +1,38 @@
|
||||
From: Daniel Vrátil <dvratil@kde.org>
|
||||
Date: Tue, 16 Feb 2016 17:26:22 +0000
|
||||
Subject: Drop mysql.conf option removed in MySQL 5.7
|
||||
X-Git-Url: http://quickgit.kde.org/?p=akonadi.git&a=commitdiff&h=9a9f7eaa38023f70c6fa85a87359a487ccf7a48c
|
||||
---
|
||||
Drop mysql.conf option removed in MySQL 5.7
|
||||
|
||||
innodb_additional_mem_pool_size option has been deprecated in MySQL 5.6
|
||||
and removed in 5.7 so MySQL will no longer start it the option is present
|
||||
in mysql.conf.
|
||||
|
||||
The option still seems to be supported by MariaDB, but the default value
|
||||
we had in the mysql.conf was below the minimum allowed value, so the harm
|
||||
in removing the option for MariaDB should be minimal.
|
||||
|
||||
If options supported by MySQL and MariaDB begin to diverge more in the future
|
||||
we might consider having separate config files for each database.
|
||||
|
||||
* 2016-02-21: Adjusted path for 1.13 branch
|
||||
---
|
||||
|
||||
|
||||
--- a/server/src/storage/mysql-global.conf
|
||||
+++ b/server/src/storage/mysql-global.conf
|
||||
@@ -37,9 +37,9 @@
|
||||
# use InnoDB for transactions and better crash recovery
|
||||
default_storage_engine=innodb
|
||||
|
||||
-# memory pool InnoDB uses to store data dictionary information and other internal data structures (default:1M)
|
||||
-# Deprecated in MySQL >= 5.6.3
|
||||
-innodb_additional_mem_pool_size=1M
|
||||
+# memory pool InnoDB uses to store data dictionary information and other internal data structures (default:8M)
|
||||
+# Deprecated in MySQL >= 5.6.3, removed in 5.7 (works in MariaDB)
|
||||
+# innodb_additional_mem_pool_size=8M
|
||||
|
||||
# memory buffer InnoDB uses to cache data and indexes of its tables (default:128M)
|
||||
# Larger values means less I/O
|
||||
|
@ -1,2 +1,2 @@
|
||||
DIST zsh-completions-0.15.0.tar.gz 217047 SHA256 358c576a44247959966d65f673d2861f232dbef04457954d9ac06e1f5315ca51 SHA512 d4670eb960bf620d627e57ec8dfd92bfba004ccffbbbc3f5e1209fe1569f99477cdd7105837fc6052c7b017c8d0216a44505f60c69abf00031927e6f457c931d WHIRLPOOL b0ceed917498dd3ef843fcca73b6fc730055df3996e0dd19317c0591817662e9b4cf7a69d87dacddf3efd5e484e2d807b65bb4beec84fadc57b5f1b2864fc54c
|
||||
DIST zsh-completions-0.16.0.tar.gz 218282 SHA256 37fec2bfa7497165530b6afe6d6b837cefff3c8f918c36556cc5ef89f2781102 SHA512 f438dd42fed5cb6b18bc0de3d68792d0fcc6364ff7fc286a9359976987a812010d0c0ce7845d8794a87f1106968cb1afd72cbf73628d7128c1f6e76497f25108 WHIRLPOOL 3724acd47502de7a940c93d9d48d5bef1832c99ac9169a5b77fd2596d187c0d0f52e43e4bd6e88bd95b861cf022bfcb3c4e3920d26ab333b9177ff76d5016c6c
|
||||
DIST zsh-completions-0.17.0.tar.gz 221135 SHA256 e1797e22e2bbbe50bf61f88db43216c0aef53713c84373bafddf6090b1fe8f68 SHA512 1c14d8842fd1b09588ab177ae1b85ef5ce698f753ca1e606521477476801c135d8463a6fff2eff2ae26410b7c3db0ac27f1c43aea07668cba007a3e762143ee7 WHIRLPOOL 7010ad5defec40fecd044b1890bf61682964883cb35aba803f038c4cfd271d20cb30021f7679dbdf104de38811ca3223c4c5ed56dad918e1066d142c833b7dfc
|
||||
|
@ -1,4 +1,5 @@
|
||||
DIST djview-4.10.3.tar.gz 1119618 SHA256 50b80ecddc5aec03c49882c91b3af2f42abfe8454d5ddc01fb313e3481e6ab25 SHA512 6e3da481cec699558cbdca17b19b971d693341e6f5ffc07010f8ba717c6434e6d96969bfc322e4edcaaa5fd364e583c7c0908c814725caad4dcc3dad968a74c5 WHIRLPOOL 54ce8245b13c189a58e3f8171cecd3c1c48e8e56bdae3103b19186627fb002521e3fa25c1e81a49149d8b331fd9636af4badbb0be389d56022cab87ff8f2e60d
|
||||
DIST djview-4.10.5.tar.gz 1111729 SHA256 a0b302807106053d1983659ebb0139c7b1c393b3e6407f1f47990d7e3c5d7b3d SHA512 d7fa4e643e006cb1d71fe6d808fd1b200b965928bf2cdd872c9c1c1833bed71ac3c70a2967a06f31bbd83f347cb5e330f4869e42e7d9c6cd13a0db54e4354614 WHIRLPOOL 319329ac099504a3443638c91a3d078e72d231fd56504198e88017d101f8e492250d9a9205ab0eabf04af59cde2f1bad1a4056f5c8d2a99de4f916b46eda6e0e
|
||||
DIST djview-4.10.6.tar.gz 1113072 SHA256 8446f3cd692238421a342f12baa365528445637bffb96899f319fe762fda7c21 SHA512 c06b9c4c7addd9dededdc9d441094bca685c4d23744e3d1208eab33d9d341a85f120176bf9f1b879ac6620f591eefe05ac774870b1ba3215c43baf1eaf9d14f8 WHIRLPOOL c5596ea985cc9c7d6516ea851acdfb908617277a1c5b4425253bad0b907b7c50b22d23e07bcd60da188e324289217f0fbddcf0c38fa42ac367060692a259976b
|
||||
DIST djview-4.10.tar.gz 1077198 SHA256 7caf7ee249edd994092b32a5573f111b2337ec99159083a5cf1a20432633ba7f SHA512 b3755992df2000f088a93c0d77d4a2ea62f6495f67106142d4787b94d248c54561068a40700c18325c0977a057b26948762a7b71c392b0ccef455776dcb0aad0 WHIRLPOOL 179d850a994521c02a7c64e17aa8d5c618011e8a765023325bc86e19f8b7797ac1f70962b1ccb9438b3a853463c797698a29d09f937317fa0ab0ac65b5016f29
|
||||
DIST djview-4.9.tar.gz 930676 SHA256 d150f557aaa073356d77c1f5e566a6a566281df5f92395b6822139f0e5c90e0c SHA512 dc2862d673eb77cca77a512a64257e7b37707789de41362fb62295ef495201a81cf31d0282a88ed70e32f8c7cd5643b568ce9761297d0e61d72fdbea7ecbfa94 WHIRLPOOL b522f9ba7283430fa7134f172b6a358c95da03e10fcf1e5f55bdd5c9be1f2929c07682e48e3a90695c838dfd2ffb875794c95e70d4096dd9595da402f76523fd
|
||||
|
@ -0,0 +1,82 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit autotools gnome2-utils fdo-mime flag-o-matic versionator toolchain-funcs multilib nsplugins
|
||||
|
||||
DESCRIPTION="Portable DjVu viewer using Qt4"
|
||||
HOMEPAGE="http://djvu.sourceforge.net/djview4.html"
|
||||
SRC_URI="mirror://sourceforge/djvu/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="debug nsplugin"
|
||||
|
||||
RDEPEND="
|
||||
>=app-text/djvu-3.5.22-r1
|
||||
dev-qt/qtdbus:4
|
||||
dev-qt/qtopengl:4
|
||||
dev-qt/qtgui:4"
|
||||
DEPEND="${RDEPEND}
|
||||
>=sys-devel/autoconf-2.67
|
||||
virtual/pkgconfig
|
||||
nsplugin? ( dev-libs/glib:2 )"
|
||||
|
||||
src_prepare() {
|
||||
# Force XEmbed instead of Xt-based mainloop (disable Xt autodep)
|
||||
sed -e 's:\(ac_xt=\)yes:\1no:' -i configure* || die
|
||||
sed 's/AC_CXX_OPTIMIZE/OPTS=;AC_SUBST(OPTS)/' -i configure.ac || die #263688
|
||||
rm aclocal.m4 config/{libtool.m4,install-sh,ltmain.sh,lt*.m4}
|
||||
AT_M4DIR="config" eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# See config/acinclude.m4
|
||||
use debug || append-cppflags "-DNDEBUG"
|
||||
|
||||
# QTDIR is needed because of kde3
|
||||
QTDIR=/usr \
|
||||
econf \
|
||||
--with-x \
|
||||
$(use_enable nsplugin nsdejavu) \
|
||||
--disable-desktopfiles
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)" CXX="$(tc-getCXX)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" \
|
||||
plugindir=/usr/$(get_libdir)/${PLUGINS_DIR} \
|
||||
install
|
||||
|
||||
dodoc README NEWS
|
||||
|
||||
cd desktopfiles
|
||||
insinto /usr/share/icons/hicolor/32x32/apps
|
||||
newins prebuilt-hi32-djview4.png djvulibre-djview4.png
|
||||
insinto /usr/share/icons/hicolor/64x64/apps
|
||||
newins prebuilt-hi64-djview4.png djvulibre-djview4.png
|
||||
insinto /usr/share/icons/hicolor/scalable/apps
|
||||
newins djview.svg djvulibre-djview4.svg
|
||||
sed -i -e 's/Exec=djview4/Exec=djview/' djvulibre-djview4.desktop
|
||||
domenu djvulibre-djview4.desktop
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST websocketpp-0.6.0.tar.gz 655641 SHA256 688c52772b90a4694496c08f4ec1d712e24af17dc060d3392f0f3b4e18062898 SHA512 55dbb8d1666ae0d35d4b46ec2c375c9d3d66f57a473f526175a63bc147279c12bd8e605e5812a68ef45d8b6f51f4cfd6e61a1b971d223b5dc6e5528a6937fef8 WHIRLPOOL 3a179a7066e15fe08c3b1fc54b320729437ad5894a07e5ae630e992e34b740b817c78b9869f281fd4d2a7c54b6cca60fa9a1773803b6d67f5fb11c2694348ac5
|
||||
DIST websocketpp-0.7.0.tar.gz 682271 SHA256 07b3364ad30cda022d91759d4b83ff902e1ebadb796969e58b59caa535a03923 SHA512 91a86d4f5120db3f474169bb146f865f82167b1e9eedabec8793b31005e4ce3d22083283bc1b9f9e37fa0da835addcb2b68260a27c753852c06b3b1bb2f3c12e WHIRLPOOL 2ea92ac5eeb4ea0b20413e7feb52bd4aab7a46f920684a640d96ce23111cea3fa2b98194181a5ba75a3f9bb1669ee0766b9a4e445348ac1d328f82c1405c2c0a
|
||||
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="C++/Boost Asio based websocket client/server library"
|
||||
HOMEPAGE="http://www.zaphoyd.com/websocketpp"
|
||||
SRC_URI="https://github.com/zaphoyd/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE="boost examples test"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}
|
||||
boost? ( dev-libs/boost )
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DENABLE_CPP11="$(usex !boost)"
|
||||
-DBUILD_TESTS="$(usex test)"
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use examples && DOCS=( examples/ )
|
||||
cmake-utils_src_install
|
||||
}
|
@ -0,0 +1,66 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit fdo-mime gnome2-utils multilib python-single-r1 qmake-utils
|
||||
|
||||
DESCRIPTION="A general purpose tile map editor"
|
||||
HOMEPAGE="http://www.mapeditor.org/"
|
||||
SRC_URI="https://github.com/bjorn/tiled/archive/v${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD BSD-2 GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="examples python"
|
||||
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
RDEPEND="
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtopengl:5
|
||||
dev-qt/qtwidgets:5
|
||||
sys-libs/zlib
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-qt/linguist-tools:5
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake5 LIBDIR="/usr/$(get_libdir)" PREFIX="/usr" DISABLE_PYTHON_PLUGIN="$(usex !python)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_ROOT="${D}" install
|
||||
|
||||
dodoc AUTHORS COPYING NEWS README.md
|
||||
|
||||
if use examples ; then
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
dodoc -r examples
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
}
|
@ -1 +1 @@
|
||||
DIST cli-20160227.tar.gz 22096 SHA256 cd6332ad737e8fde546398eab54e2e17a698c1999ae5d0f5d48418d7150b2158 SHA512 56a0101f128bead8e7f9ae9c26960a30a8156290497c68e2c6f3156172110245a197f46e3008aadf2b0da598a34b48d8602ff80ad8b3a6eba1cf934ff98e301a WHIRLPOOL a5923c19e1f64d557effe6adfbb08ee3c5837715622ed00ef61f2417719d0135f3e21e7e7c0917933a59892b1031e05721fc7088ebc61d49e0a6565cfa3de921
|
||||
DIST cli-0_pre20160306.tar.gz 27909 SHA256 0b831087d51859375d18baeca068978cb7ce83ad5aa96e34e298065180edd815 SHA512 74d1282892727470db751a8be5a3ecc8a5f93a6d610a8c963d800428183515541ed7e654e3ba6b43afd4a5ed6a3d7af7301df51a63cca7e342cb289b6aa1db8e WHIRLPOOL 8d5c0cafa66122f4c304ea51e7af8290dff4eb7dc038016891310b8c2f5c25b7c7cedbb7063730bacd9aa21c31d5ce931a5fcd4b278e27644507598b118c4010
|
||||
|
@ -0,0 +1 @@
|
||||
DIST go-gitlab-client-0_pre20160305.tar.gz 20796 SHA256 fdc3878e098c298e5802cf0c8803f672ac22357a51b32d8e6c9bf1b075f9a633 SHA512 98e8ea278671c53e815fed3adb6691625ad3b4c4952b5789352d8966d7c505e264c6a3f5ee779de573f48a8ef6e40a8a9e9426544c47e070ad8a903613b21a2e WHIRLPOOL 84c87809744e25eebb2cc93e4ebf054dfb160c3dd8669fa1ac402faaa9ee3beaff02a8da360c179cdce123329b26a506e302ff6db58433442922c240f7e7fd63
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit golang-build golang-vcs-snapshot
|
||||
|
||||
EGO_PN="github.com/plouc/go-gitlab-client/..."
|
||||
EGIT_COMMIT="a526ef09e9e03f673a43ecd4a687abf6c25343ca"
|
||||
ARCHIVE_URI="https://${EGO_PN%/*}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DESCRIPTION="A simple gitlab api client written in Go"
|
||||
HOMEPAGE="https://github.com/plouc/go-gitlab-client"
|
||||
SRC_URI="${ARCHIVE_URI}"
|
||||
LICENSE="MIT"
|
||||
SLOT="0/${PVR}"
|
||||
IUSE=""
|
||||
|
||||
# Requires dev-go/testify to be packaged
|
||||
RESTRICT="test"
|
@ -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">plouc/go-gitlab-client</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,27 +0,0 @@
|
||||
# ChangeLog for dev-java/jax-ws-api
|
||||
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/jax-ws-api/ChangeLog,v 1.6 2008/03/28 18:11:57 nixnut Exp $
|
||||
|
||||
28 Mar 2008; nixnut <nixnut@gentoo.org> jax-ws-api-2.0.ebuild:
|
||||
Stable on ppc wrt bug 214778
|
||||
|
||||
19 Aug 2007; William L. Thomson Jr. <wltjr@gentoo.org>
|
||||
jax-ws-api-2.0.ebuild:
|
||||
amd64 stable, bug #187681.
|
||||
|
||||
15 Aug 2007; Christian Faulhammer <opfer@gentoo.org>
|
||||
jax-ws-api-2.0.ebuild:
|
||||
stable x86, bug 187681
|
||||
|
||||
11 Aug 2007; Krzysiek Pawlik <nelchael@gentoo.org> metadata.xml:
|
||||
Remove myself from <maintainer>.
|
||||
|
||||
23 May 2007; Diego Pettenò <flameeyes@gentoo.org> jax-ws-api-2.0.ebuild:
|
||||
Add ~x86-fbsd keyword. Bug #176906.
|
||||
|
||||
*jax-ws-api-2.0 (01 May 2007)
|
||||
|
||||
01 May 2007; Krzysiek Pawlik <nelchael@gentoo.org> +files/build.xml-2.0,
|
||||
+metadata.xml, +jax-ws-api-2.0.ebuild:
|
||||
Initial commit of jax-ws-api.
|
||||
|
@ -1 +0,0 @@
|
||||
DIST jaxws-api-fcs-src.zip 56065 SHA256 e8101f74494f479ce35a7a9d3619c6bdda561c9ea4137543b66cd73c1a1d0bf8 SHA512 d1a2dcfc6b410f0632e3d2106d1edcaabf20280d28a882d28f71a9ccea4f7375821a2f9aebc6a5115dd4f2171f7950ec7dcbb864a96656424ee7d97c852b7b70 WHIRLPOOL dfe6426a1e2ac5c29cfe6d0f5b2aeb25fcb7e83354999d3babfce8b777b679b4f8b33d9aece9e3dc68b62a68bcfc97101d987df037679331aac8beb0d0bdecf5
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<project name="jax-ws-api" default="jar" basedir=".">
|
||||
<target name="compile">
|
||||
<mkdir dir="build"/>
|
||||
<javac debug="false" srcdir="." destdir="build" encoding="UTF-8">
|
||||
<classpath>
|
||||
<fileset dir="lib" includes="**/*.jar"/>
|
||||
</classpath>
|
||||
</javac>
|
||||
</target>
|
||||
<target name="jar" depends="compile">
|
||||
<jar destfile="jax-ws-api.jar">
|
||||
<fileset dir="build" includes="**/*.class"/>
|
||||
</jar>
|
||||
</target>
|
||||
</project>
|
@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
JAVA_PKG_IUSE="source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="JAXWS 2.0 API Final Release"
|
||||
HOMEPAGE="https://jax-ws.dev.java.net/"
|
||||
SRC_URI="https://jax-ws.dev.java.net/files/documents/4202/34734/jaxws-api-fcs-src.zip"
|
||||
|
||||
LICENSE="CDDL"
|
||||
SLOT="2"
|
||||
KEYWORDS="amd64 x86 ~x86-fbsd"
|
||||
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEP="dev-java/jsr67
|
||||
=dev-java/jaxb-2*"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.5
|
||||
${COMMON_DEP}"
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
app-arch/unzip
|
||||
${COMMON_DEP}"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_unpack() {
|
||||
|
||||
unpack ${A}
|
||||
|
||||
mkdir lib
|
||||
cd lib
|
||||
java-pkg_jar-from jsr67
|
||||
java-pkg_jar-from jaxb-2
|
||||
|
||||
cp "${FILESDIR}/build.xml-${PV}" "${S}/build.xml" || die
|
||||
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
java-pkg_dojar "${PN}.jar"
|
||||
|
||||
use source && java-pkg_dosrc .
|
||||
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
<name>Java</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,46 +0,0 @@
|
||||
# ChangeLog for dev-java/jax-ws
|
||||
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/jax-ws/ChangeLog,v 1.12 2010/04/05 22:52:54 caster Exp $
|
||||
|
||||
05 Apr 2010; Vlastimil Babka <caster@gentoo.org> -jax-ws-2.0.1.ebuild:
|
||||
Remove old.
|
||||
|
||||
09 Feb 2010; Joseph Jezak <josejx@gentoo.org> jax-ws-2.0.1-r1.ebuild:
|
||||
Marked ppc stable for bug #296228.
|
||||
|
||||
09 Dec 2009; Markus Meier <maekke@gentoo.org> jax-ws-2.0.1-r1.ebuild:
|
||||
amd64/x86 stable, bug #296228
|
||||
|
||||
*jax-ws-2.0.1-r1 (08 Nov 2009)
|
||||
|
||||
08 Nov 2009; Vlastimil Babka <caster@gentoo.org> +jax-ws-2.0.1-r1.ebuild:
|
||||
Revbump to remove dependency on 1.5 jdk - bug #292001.
|
||||
|
||||
28 Mar 2008; nixnut <nixnut@gentoo.org> jax-ws-2.0.1.ebuild:
|
||||
Stable on ppc wrt bug 214778
|
||||
|
||||
27 Jan 2008; Petteri Räty <betelgeuse@gentoo.org> jax-ws-2.0.1.ebuild:
|
||||
Building fails with 1.6 so force 1.5 for now. Fixes bug #207633.
|
||||
|
||||
19 Aug 2007; William L. Thomson Jr. <wltjr@gentoo.org>
|
||||
jax-ws-2.0.1.ebuild:
|
||||
amd64 stable, bug #187681.
|
||||
|
||||
15 Aug 2007; Christian Faulhammer <opfer@gentoo.org> jax-ws-2.0.1.ebuild:
|
||||
stable x86, bug 187681
|
||||
|
||||
11 Aug 2007; Krzysiek Pawlik <nelchael@gentoo.org> metadata.xml:
|
||||
Remove myself from <maintainer>.
|
||||
|
||||
23 May 2007; Diego Pettenò <flameeyes@gentoo.org> jax-ws-2.0.1.ebuild:
|
||||
Add ~x86-fbsd keyword. Bug #176906.
|
||||
|
||||
05 May 2007; Krzysiek Pawlik <nelchael@gentoo.org> jax-ws-2.0.1.ebuild:
|
||||
Set needed jsr181 version to 1.0
|
||||
|
||||
*jax-ws-2.0.1 (01 May 2007)
|
||||
|
||||
01 May 2007; Krzysiek Pawlik <nelchael@gentoo.org>
|
||||
+files/jax-ws-2.0.1-gentoo.patch, +metadata.xml, +jax-ws-2.0.1.ebuild:
|
||||
Initial commit of jax-ws.
|
||||
|
@ -1 +0,0 @@
|
||||
DIST JAXWS2.0.1m1_source_20060817.jar 8993405 SHA256 9725cfb91cecff833055d7af45c3413ca9d1a818a4cfdb86211ed82f383f3865 SHA512 55454a8270310b9778c69aad8b8ace45dc4ba3059b33ac48dcfd5d771fade2d6e4c46a5a65a522ae5cca0438f159ba84c90d8e74d54731a9c6c0caa9d84a0314 WHIRLPOOL fe0727935c592b538b7042808fffa987ea5ae47554367ea0cfc91f65d765bd234713aaa142b2297988d74eec01fce9cd4bedceb0fb7b0068eb38084a1d5f5ba7
|
@ -1,53 +0,0 @@
|
||||
Files jaxws-si.vanilla/.build.xml.swp and jaxws-si/.build.xml.swp differ
|
||||
diff -Nru jaxws-si.vanilla/build.xml jaxws-si/build.xml
|
||||
--- jaxws-si.vanilla/build.xml 2007-04-16 20:09:54.000000000 +0200
|
||||
+++ jaxws-si/build.xml 2007-04-16 20:18:16.000000000 +0200
|
||||
@@ -78,16 +78,10 @@
|
||||
<javac srcdir="src/rt/src" destdir="rt_build" debug="true">
|
||||
<classpath refid="runtime.compile.classpath"/>
|
||||
</javac>
|
||||
+ <jar destfile="jax-ws.jar">
|
||||
+ <fileset dir="rt_build" includes="**/*.*"/>
|
||||
+ </jar>
|
||||
|
||||
- <copy todir="tools_build">
|
||||
- <fileset dir="src/tools/wscompile/src">
|
||||
- <include name="**/*.properties" />
|
||||
- </fileset>
|
||||
- </copy>
|
||||
- <versionProp file="tools_build/com/sun/tools/ws/version.properties" />
|
||||
- <javac srcdir="src/tools/wscompile/src" destdir="tools_build" debug="true">
|
||||
- <classpath refid="tools.compile.classpath"/>
|
||||
- </javac>
|
||||
</target>
|
||||
|
||||
</project>
|
||||
Files jaxws-si.vanilla/src/rt/src/com/sun/xml/ws/message/stream/.StreamMessage.java.swp and jaxws-si/src/rt/src/com/sun/xml/ws/message/stream/.StreamMessage.java.swp differ
|
||||
diff -Nru jaxws-si.vanilla/src/rt/src/com/sun/xml/ws/message/stream/StreamHeader.java jaxws-si/src/rt/src/com/sun/xml/ws/message/stream/StreamHeader.java
|
||||
--- jaxws-si.vanilla/src/rt/src/com/sun/xml/ws/message/stream/StreamHeader.java 2007-04-16 20:09:54.000000000 +0200
|
||||
+++ jaxws-si/src/rt/src/com/sun/xml/ws/message/stream/StreamHeader.java 2007-04-16 20:12:34.000000000 +0200
|
||||
@@ -214,12 +214,8 @@
|
||||
}
|
||||
|
||||
public void writeTo(XMLStreamWriter w) throws XMLStreamException {
|
||||
- try {
|
||||
// TODO what about in-scope namespaces
|
||||
_mark.writeToXMLStreamWriter(w);
|
||||
- } catch (XMLStreamBufferException e) {
|
||||
- throw new XMLStreamException2(e);
|
||||
- }
|
||||
}
|
||||
|
||||
public void writeTo(SOAPMessage saaj) throws SOAPException {
|
||||
diff -Nru jaxws-si.vanilla/src/rt/src/com/sun/xml/ws/message/stream/StreamMessage.java jaxws-si/src/rt/src/com/sun/xml/ws/message/stream/StreamMessage.java
|
||||
--- jaxws-si.vanilla/src/rt/src/com/sun/xml/ws/message/stream/StreamMessage.java 2007-04-16 20:09:54.000000000 +0200
|
||||
+++ jaxws-si/src/rt/src/com/sun/xml/ws/message/stream/StreamMessage.java 2007-04-16 20:13:34.000000000 +0200
|
||||
@@ -287,8 +287,6 @@
|
||||
return new StreamMessage(envelopeTag, headerTag, attachmentSet, HeaderList.copy(headers), bodyTag, clone, soapVersion);
|
||||
} catch (XMLStreamException e) {
|
||||
throw new WebServiceException("Failed to copy a message",e);
|
||||
- } catch (XMLStreamBufferException e) {
|
||||
- throw new WebServiceException("Failed to copy a message",e);
|
||||
}
|
||||
}
|
||||
|
@ -1,94 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=2
|
||||
JAVA_PKG_IUSE="source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2 eutils
|
||||
|
||||
DESCRIPTION="Reference implementation of the Java API for XML Web Services"
|
||||
HOMEPAGE="http://jax-ws.dev.java.net/"
|
||||
DATE="20060817"
|
||||
MY_P="JAXWS${PV}m1_source_${DATE}.jar"
|
||||
SRC_URI="https://jax-ws.dev.java.net/jax-ws-201-m1/${MY_P}"
|
||||
|
||||
LICENSE="CDDL"
|
||||
SLOT="2"
|
||||
KEYWORDS="amd64 x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEP="dev-java/istack-commons-runtime:0
|
||||
dev-java/jax-ws-api:2
|
||||
dev-java/jaxb:2
|
||||
dev-java/jsr173:0
|
||||
>=dev-java/jsr181-1.0
|
||||
dev-java/jsr250:0
|
||||
dev-java/sun-httpserver-bin:2
|
||||
dev-java/jsr67:0
|
||||
dev-java/saaj:0
|
||||
dev-java/sjsxp:0
|
||||
dev-java/stax-ex:0
|
||||
dev-java/sun-jaf:0
|
||||
dev-java/txw2-runtime:0
|
||||
dev-java/xmlstreambuffer:0
|
||||
dev-java/xml-commons-resolver:0"
|
||||
|
||||
# abstract interface problems with 1.5
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=207633
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
app-arch/unzip
|
||||
${COMMON_DEP}"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.5
|
||||
${COMMON_DEP}"
|
||||
|
||||
S="${WORKDIR}/jaxws-si"
|
||||
|
||||
src_unpack() {
|
||||
echo "A" | java -jar "${DISTDIR}/${A}" -console > /dev/null || die "unpack failed"
|
||||
|
||||
unpack ./jaxws-src.zip || die "unzip failed"
|
||||
}
|
||||
|
||||
java_prepare() {
|
||||
cd "${S}/lib"
|
||||
rm -v *.jar || die
|
||||
|
||||
java-pkg_jarfrom istack-commons-runtime
|
||||
java-pkg_jarfrom jax-ws-api-2
|
||||
java-pkg_jarfrom jaxb-2
|
||||
java-pkg_jarfrom jsr173
|
||||
java-pkg_jarfrom jsr181
|
||||
java-pkg_jarfrom jsr250
|
||||
java-pkg_jarfrom jsr67
|
||||
java-pkg_jarfrom saaj
|
||||
java-pkg_jarfrom sjsxp
|
||||
java-pkg_jarfrom sun-httpserver-bin-2
|
||||
java-pkg_jarfrom stax-ex
|
||||
java-pkg_jarfrom sun-jaf
|
||||
java-pkg_jarfrom txw2-runtime
|
||||
java-pkg_jarfrom xml-commons-resolver
|
||||
java-pkg_jarfrom xmlstreambuffer
|
||||
|
||||
cp \
|
||||
"${S}"/src/rt/build/gen-src/com/sun/xml/ws/resources/*.java \
|
||||
"${S}"/src/rt/src/com/sun/xml/ws/resources/ || die "cp failed"
|
||||
|
||||
find "${S}/src/" -name '*.java' -exec \
|
||||
sed -i -e \
|
||||
's,com.sun.org.apache.xml.internal.resolver,org.apache.xml.resolver,g' \
|
||||
{} \;
|
||||
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}/${P}-gentoo.patch"
|
||||
java-ant_rewrite-bootclasspath auto build.xml "$(java-pkg_getjars jax-ws-api-2)"
|
||||
}
|
||||
|
||||
EANT_BUILD_TARGET="build"
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar jax-ws.jar
|
||||
|
||||
use source && java-pkg_dosrc src/rt/src/*
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
<name>Java</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,45 +0,0 @@
|
||||
# ChangeLog for dev-java/jaxb
|
||||
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxb/ChangeLog,v 1.12 2014/08/10 20:16:53 slyfox Exp $
|
||||
|
||||
10 Aug 2014; Sergei Trofimovich <slyfox@gentoo.org> jaxb-2.1.2-r1.ebuild:
|
||||
QA: drop trailing '.' from DESCRIPTION
|
||||
|
||||
23 Jun 2009; Petteri Räty <betelgeuse@gentoo.org> jaxb-2.1.2-r1.ebuild:
|
||||
Add slot deps to java deps in order for new slot of istack-commons-runtime
|
||||
not to break things. Part of fixing bug #275049.
|
||||
|
||||
23 Jun 2009; Petteri Räty <betelgeuse@gentoo.org> -jaxb-2.1.2.ebuild:
|
||||
Remove old revision.
|
||||
|
||||
25 Oct 2008; nixnut <nixnut@gentoo.org> jaxb-2.1.2-r1.ebuild:
|
||||
Stable on ppc wrt bug 243130
|
||||
|
||||
23 Oct 2008; Markus Meier <maekke@gentoo.org> jaxb-2.1.2-r1.ebuild:
|
||||
amd64/x86 stable, bug #243130
|
||||
|
||||
*jaxb-2.1.2-r1 (19 Jul 2008)
|
||||
|
||||
19 Jul 2008; Petteri Räty <betelgeuse@gentoo.org> +jaxb-2.1.2-r1.ebuild:
|
||||
Remove a bunch of unneeded dependencies.
|
||||
|
||||
28 Mar 2008; nixnut <nixnut@gentoo.org> jaxb-2.1.2.ebuild:
|
||||
Stable on ppc wrt bug 214778
|
||||
|
||||
19 Aug 2007; William L. Thomson Jr. <wltjr@gentoo.org> jaxb-2.1.2.ebuild:
|
||||
amd64 stable, bug #187681.
|
||||
|
||||
15 Aug 2007; Christian Faulhammer <opfer@gentoo.org> jaxb-2.1.2.ebuild:
|
||||
stable x86, bug 187681
|
||||
|
||||
11 Aug 2007; Krzysiek Pawlik <nelchael@gentoo.org> metadata.xml:
|
||||
Remove myself from <maintainer>.
|
||||
|
||||
23 May 2007; Diego Pettenò <flameeyes@gentoo.org> jaxb-2.1.2.ebuild:
|
||||
Add ~x86-fbsd keyword. Bug #176906.
|
||||
|
||||
*jaxb-2.1.2 (01 May 2007)
|
||||
|
||||
01 May 2007; Krzysiek Pawlik <nelchael@gentoo.org> +files/build.xml-2.1.2,
|
||||
+metadata.xml, +jaxb-2.1.2.ebuild:
|
||||
Initial commit of jaxb.
|
@ -1 +0,0 @@
|
||||
DIST JAXB2_src_20070125.jar 3089194 SHA256 26bec14fa220b111b7153f9889926b86a9cdc8a73aa2541149dadd7d7151afa1 SHA512 5d6c3dec6d7d9010ec6eed1785211338ce781eb13e492fcc7417d9acab6a0259abc7d23e22dc749d201793f632cfabff3f065e422b99f0af9395d881afea81bf WHIRLPOOL 4a7bcfd66383081a831ac4c1dd5fbff3e46dd1247dc59c6840e7bd029d9780b94d0d3f35f836b5d5b596b808970a41d48fbfc49770db9924a797a5766b540123
|
@ -1,24 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<project name="jaxb" default="jar" basedir=".">
|
||||
<target name="compile">
|
||||
<mkdir dir="build"/>
|
||||
<javac debug="false" srcdir="src" destdir="build">
|
||||
<classpath>
|
||||
<fileset dir="lib" includes="**/*.jar"/>
|
||||
</classpath>
|
||||
</javac>
|
||||
<copy todir="build">
|
||||
<fileset dir="src" includes="**/*.properties"/>
|
||||
</copy>
|
||||
</target>
|
||||
<target name="jar" depends="compile">
|
||||
<jar destfile="jaxb-api.jar">
|
||||
<fileset dir="build" includes="javax/**/*.class"/>
|
||||
<fileset dir="build" includes="javax/**/*.properties"/>
|
||||
</jar>
|
||||
<jar destfile="jaxb-impl.jar">
|
||||
<fileset dir="build" includes="com/**/*.class"/>
|
||||
<fileset dir="build" includes="com/**/*.properties"/>
|
||||
</jar>
|
||||
</target>
|
||||
</project>
|
@ -1,67 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="1"
|
||||
JAVA_PKG_IUSE="source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Reference implementation of the JAXB specification"
|
||||
HOMEPAGE="http://jaxb.dev.java.net/"
|
||||
DATE="20070125"
|
||||
MY_P="JAXB2_src_${DATE}"
|
||||
SRC_URI="https://jaxb.dev.java.net/${PV}/${MY_P}.jar"
|
||||
|
||||
LICENSE="CDDL"
|
||||
SLOT="2"
|
||||
KEYWORDS="amd64 x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEP="
|
||||
dev-java/istack-commons-runtime:0
|
||||
dev-java/jsr173:0
|
||||
java-virtuals/jaf
|
||||
dev-java/txw2-runtime:0"
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
app-arch/unzip
|
||||
${COMMON_DEP}"
|
||||
RDEPEND=">=virtual/jre-1.5
|
||||
${COMMON_DEP}"
|
||||
|
||||
S="${WORKDIR}/jaxb-ri-${DATE}"
|
||||
|
||||
src_unpack() {
|
||||
echo "A" | java -jar "${DISTDIR}/${A}" -console > /dev/null || die "unpack failed"
|
||||
|
||||
# Source is missing Messages.properties, copy it from binary version:
|
||||
cd "${T}"
|
||||
unzip -qq "${S}/lib/jaxb-api.jar"
|
||||
for mp in $(find javax -name '*.properties'); do
|
||||
mv "${mp}" "${S}/src/${mp}" || die
|
||||
done
|
||||
|
||||
cd "${S}/lib"
|
||||
rm -v *.jar || die
|
||||
java-pkg_jarfrom --build-only ant-core
|
||||
java-pkg_jarfrom istack-commons-runtime
|
||||
java-pkg_jarfrom jsr173
|
||||
java-pkg_jarfrom jaf
|
||||
java-pkg_jarfrom txw2-runtime
|
||||
ln -s $(java-config --tools) || die
|
||||
|
||||
cd "${S}/src/com/sun/"
|
||||
rm -rf codemodel # in dev-java/codemodel
|
||||
rm -rf tools # in dev-java/jaxb-tools
|
||||
|
||||
cp -v "${FILESDIR}/build.xml-${PV}" "${S}/build.xml" || die "cp failed"
|
||||
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar jaxb-api.jar
|
||||
java-pkg_dojar jaxb-impl.jar
|
||||
|
||||
use source && java-pkg_dosrc src/*
|
||||
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
<name>Java</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,57 +0,0 @@
|
||||
# ChangeLog for dev-java/jaxp
|
||||
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxp/ChangeLog,v 1.20 2014/06/29 00:13:06 mrueg Exp $
|
||||
|
||||
29 Jun 2014; Manuel Rüger <mrueg@gentoo.org> -jaxp-1.4.ebuild:
|
||||
NM: Cleanup old.
|
||||
|
||||
19 Oct 2012; Christoph Junghans <ottxor@gentoo.org> jaxp-1.4-r1.ebuild:
|
||||
added prefix support (bug #435572)
|
||||
|
||||
06 Mar 2012; Brent Baude <ranger@gentoo.org> jaxp-1.4-r1.ebuild:
|
||||
Marking jaxp-1.4-r1 ppc for bug 396875
|
||||
|
||||
28 Jan 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> jaxp-1.4-r1.ebuild:
|
||||
x86 stable wrt bug #396875
|
||||
|
||||
23 Jan 2012; Agostino Sarubbo <ago@gentoo.org> jaxp-1.4-r1.ebuild:
|
||||
Stable for amd64, wrt bug #396875
|
||||
|
||||
29 Mar 2009; Petteri Räty <betelgeuse@gentoo.org> jaxp-1.4-r1.ebuild:
|
||||
Use ln instead of dosym as dosym seems to be making the build fail.
|
||||
|
||||
*jaxp-1.4-r1 (11 Feb 2009)
|
||||
|
||||
11 Feb 2009; Petteri Räty <betelgeuse@gentoo.org> +jaxp-1.4-r1.ebuild:
|
||||
Install a jaxp.jar symlink to jaxp-ri.jar.
|
||||
|
||||
09 Dec 2007; Krzysiek Pawlik <nelchael@gentoo.org> jaxp-1.4.ebuild:
|
||||
Stable on ppc, see bug #200585.
|
||||
|
||||
19 Aug 2007; William L. Thomson Jr. <wltjr@gentoo.org> jaxp-1.4.ebuild:
|
||||
amd64 stable, bug #187681.
|
||||
|
||||
15 Aug 2007; Christian Faulhammer <opfer@gentoo.org> jaxp-1.4.ebuild:
|
||||
stable x86, bug 187681
|
||||
|
||||
11 Aug 2007; Krzysiek Pawlik <nelchael@gentoo.org> metadata.xml:
|
||||
Remove myself from <maintainer>.
|
||||
|
||||
23 May 2007; Diego Pettenò <flameeyes@gentoo.org> jaxp-1.4.ebuild:
|
||||
Add ~x86-fbsd keyword. Bug #176906.
|
||||
|
||||
07 May 2007; Krzysiek Pawlik <nelchael@gentoo.org> jaxp-1.4.ebuild:
|
||||
Disable building javadocs using new features from java-pkg-2.eclass.
|
||||
|
||||
04 May 2007; Krzysiek Pawlik <nelchael@gentoo.org> files/build.xml-1.4,
|
||||
jaxp-1.4.ebuild:
|
||||
Use repackaged version of distfile.
|
||||
|
||||
04 May 2007; Krzysiek Pawlik <nelchael@gentoo.org> jaxp-1.4.ebuild:
|
||||
Set JDK/JRE to 1.5, see bug #177069.
|
||||
|
||||
*jaxp-1.4 (01 May 2007)
|
||||
|
||||
01 May 2007; Krzysiek Pawlik <nelchael@gentoo.org> +files/build.xml-1.4,
|
||||
+metadata.xml, +jaxp-1.4.ebuild:
|
||||
Initial commit of jaxp.
|
@ -1 +0,0 @@
|
||||
DIST jaxp-1.4.tar.bz2 644928 SHA256 bc516f8d0673014ed9532eeda67d876996440f7a578f0e4fb464d9aa7d1bb3fe SHA512 d9a0a61a46ec3661eec63fc5a3ff32bde1bba8bc17653c8e05a54f4e36063e9a8b06cf9ce47686f76f08c3858ce4951ff2a85e2fb997cd82088338e2ee519e73 WHIRLPOOL 1afe192d4deed29b5fbc93f5f11f71097c9b9319c68c213988499a525d0e89c6bdd97e8643e1afc560cafd06028179ff23aac317244cadae5aa06a794c8da375
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<project name="jaxp" default="jar" basedir=".">
|
||||
<target name="compile">
|
||||
<mkdir dir="build"/>
|
||||
<javac debug="false" srcdir="jaxp-1_4-api/src" destdir="build">
|
||||
<classpath>
|
||||
<fileset dir="lib" includes="**/*.jar"/>
|
||||
</classpath>
|
||||
</javac>
|
||||
</target>
|
||||
<target name="jar" depends="compile">
|
||||
<jar destfile="jaxp-ri.jar">
|
||||
<fileset dir="build" includes="**/*.class"/>
|
||||
</jar>
|
||||
</target>
|
||||
</project>
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="The Java API for XML Processing (JAXP)"
|
||||
HOMEPAGE="https://jaxp.dev.java.net/"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
||||
|
||||
LICENSE="CDDL"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=virtual/jdk-1.4"
|
||||
RDEPEND=">=virtual/jre-1.4"
|
||||
|
||||
src_prepare() {
|
||||
cp -i "${FILESDIR}/build.xml-${PV}" "${S}/build.xml" || die "cp failed"
|
||||
}
|
||||
|
||||
EANT_DOC_TARGET=""
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar jaxp-ri.jar
|
||||
|
||||
use source && java-pkg_dosrc jaxp-1_4-api/src/{javax,org}
|
||||
dohtml \
|
||||
docs/JAXP-Compatibility.html \
|
||||
docs/ReleaseNotes.html
|
||||
use doc && java-pkg_dojavadoc docs/api
|
||||
|
||||
cd "${ED}/usr/share/${PN}/lib/"
|
||||
ln -s jaxp-ri.jar jaxp.jar || die
|
||||
java-pkg_regjar /usr/share/${PN}/lib/jaxp.jar
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
<name>Java</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,20 +0,0 @@
|
||||
# ChangeLog for dev-java/jaxr
|
||||
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxr/ChangeLog,v 1.4 2015/08/01 22:49:17 mrueg Exp $
|
||||
|
||||
01 Aug 2015; Manuel Rüger <mrueg@gentoo.org> -jaxr-1.0.6.ebuild:
|
||||
Remove old.
|
||||
|
||||
*jaxr-1.0.6-r1 (27 Jul 2015)
|
||||
|
||||
27 Jul 2015; Patrice Clement <monsieurp@gentoo.org> +jaxr-1.0.6-r1.ebuild:
|
||||
EAPI 5 bump.
|
||||
|
||||
11 Aug 2007; Krzysiek Pawlik <nelchael@gentoo.org> metadata.xml:
|
||||
Remove myself from <maintainer>.
|
||||
|
||||
*jaxr-1.0.6 (01 May 2007)
|
||||
|
||||
01 May 2007; Krzysiek Pawlik <nelchael@gentoo.org>
|
||||
+files/jaxr-1.0.6-javadoc.patch, +metadata.xml, +jaxr-1.0.6.ebuild:
|
||||
Initial commit of jaxr.
|
@ -1 +0,0 @@
|
||||
DIST jaxr-1.0.6.tar.bz2 562108 SHA256 8937ad4f264da6bc4e8e284e89f10199265b658f7559b0c87e6cf6659c46ef98 SHA512 823853352943a8e6ad7ff4b9cb0739f129bdbecaf66e9da150791710a3ec532b9f41d55697610b6af7702c40098d6f9a0639321c969fc5ea8b119c44e3c49abb WHIRLPOOL d568ffce984da5ed9dbce59a348b0cb09101de1dd4ef03407da034e23c7089d43d1a656453f82442d2b4063d88dd03118a645b3af7b3582e945f003cf07bd56e
|
@ -1,13 +0,0 @@
|
||||
--- build.xml.vanilla 2007-03-18 21:59:10.000000000 +0100
|
||||
+++ build.xml 2007-03-18 22:00:54.000000000 +0100
|
||||
@@ -206,7 +206,9 @@
|
||||
<sourcepath>
|
||||
<pathelement location="${src.dir}"/>
|
||||
</sourcepath>
|
||||
- <fileset dir="${src.dir}"/>
|
||||
+ <fileset dir="${src.dir}">
|
||||
+ <include name="**/*.java"/>
|
||||
+ </fileset>
|
||||
</javadoc>
|
||||
</target>
|
||||
<target name="javadoc-browse" if="netbeans.home" unless="no.javadoc.preview" depends="init,javadoc-build">
|
@ -1,71 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
EAPI=5
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2 eutils
|
||||
|
||||
DESCRIPTION="Java API for XML Registries"
|
||||
HOMEPAGE="https://glassfish.dev.java.net/"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
||||
|
||||
LICENSE="CDDL"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
CDEPEND="
|
||||
dev-java/jaxb:2
|
||||
dev-java/jsr67:0
|
||||
dev-java/jsr93:0
|
||||
dev-java/jsr173:0"
|
||||
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
>=virtual/jdk-1.6"
|
||||
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
>=virtual/jre-1.6"
|
||||
|
||||
S="${WORKDIR}/${PN}-ri"
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="yes"
|
||||
EANT_BUILD_TARGET="compile"
|
||||
EANT_DOC_TARGET="javadoc-build"
|
||||
|
||||
EANT_GENTOO_CLASSPATH="
|
||||
jaxb-2
|
||||
jsr67
|
||||
jsr173
|
||||
jsr93
|
||||
"
|
||||
|
||||
java_prepare() {
|
||||
mkdir "${S}"/lib || die
|
||||
|
||||
java-pkg_jar-from --into lib jaxb-2
|
||||
java-pkg_jar-from --into lib jsr67 jsr67.jar saaj-api.jar
|
||||
java-pkg_jar-from --into lib jsr173 jsr173.jar jsr173_1.0_api.jar
|
||||
java-pkg_jar-from --into lib jsr93
|
||||
|
||||
epatch "${FILESDIR}/${P}-javadoc.patch"
|
||||
|
||||
if use doc; then
|
||||
java-ant_xml-rewrite \
|
||||
-f "${S}"/build.xml \
|
||||
-c -e javadoc \
|
||||
-a failonerror \
|
||||
-v "false"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar lib/${PN}-impl.jar
|
||||
|
||||
use doc && java-pkg_dojavadoc javadoc
|
||||
use source && java-pkg_dosrc src/java/*
|
||||
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
<name>Java</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,18 +0,0 @@
|
||||
# ChangeLog for dev-java/jsr93
|
||||
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/jsr93/ChangeLog,v 1.3 2015/07/27 12:10:51 monsieurp Exp $
|
||||
|
||||
*jsr93-1.0-r1 (27 Jul 2015)
|
||||
|
||||
27 Jul 2015; Patrice Clement <monsieurp@gentoo.org> +jsr93-1.0-r1.ebuild,
|
||||
jsr93-1.0.ebuild:
|
||||
EAPI 5 bump. Mend SRC_URI. Fixes bug 259972.
|
||||
|
||||
11 Aug 2007; Krzysiek Pawlik <nelchael@gentoo.org> metadata.xml:
|
||||
Remove myself from <maintainer>.
|
||||
|
||||
*jsr93-1.0 (01 May 2007)
|
||||
|
||||
01 May 2007; Krzysiek Pawlik <nelchael@gentoo.org> +files/build.xml-1.0,
|
||||
+metadata.xml, +jsr93-1.0.ebuild:
|
||||
Initial commit of jsr93.
|
@ -1 +0,0 @@
|
||||
DIST jaxr-api-1.0-sources.jar 45175 SHA256 c3ab05d8218c623746d21d291df8f4dbe5ef6db6ee0c062fb2cfba059d048ccf SHA512 efba6dd09cb9ff796019c6b750f44a5858cbde34b4fb93e74f3bed43178122a8591b1ae75996ed645ecde02862142b3d9f229cdc8059f9e5e95fedbdabae0d44 WHIRLPOOL 66e3185f253dc9a4c2bc86370f06351effd3c6df026845176253f9ffd3fd0ced06cc4c84e05151fd3f18da9cb2ef2a1723279b5af9f147ae2fa24bd2142c54b2
|
@ -1,19 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
EAPI=5
|
||||
JAVA_PKG_IUSE="source doc"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
MY_PN="jaxr-api"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
DESCRIPTION="Java API for XML Registries (JAXR) - API"
|
||||
HOMEPAGE="https://jcp.org/ja/jsr/detail?id=93"
|
||||
SRC_URI="http://repo1.maven.org/maven2/org/apache/ws/scout/${MY_PN}/${PV}/${MY_P}-sources.jar"
|
||||
LICENSE="sun-jsr93"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc64 x86"
|
||||
IUSE=""
|
||||
RDEPEND=">=virtual/jre-1.6"
|
||||
DEPEND=">=virtual/jdk-1.6"
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
<name>Java</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,4 +1,4 @@
|
||||
DIST python-exec-2.0.1.tar.bz2 80965 SHA256 3eddcb0d6c682a5c182c62578bb8d6ce1140a009873747e9ba1bf9de72ed7efd SHA512 0396e2617c759a66b16e57b0ca60b57e03f3c8096ae4a7f2e402eafcbee4ffd839bf0c6e4d259c6ba90940f9ba7e3f191125e395080cce3ef82e5f52053d0462 WHIRLPOOL 50c0cac1c7e2b5d2a21125647874c83caeabee293b87ef01926474d492b79b7837754c2d26173282977e9d00024559bb070f8d76bb5227df1776e937cd280c32
|
||||
DIST python-exec-2.0.2.tar.bz2 82217 SHA256 c411638fe94953c1e8ff57e7b66f601a817633fbc9cb7d410982778042051bb0 SHA512 96198dda88a73b902d617a32f10ddf2ac981b1871fb5eaf5003d77453df8a0aacf299c39c6e49ebaa620994a30e57ee7a1128fb4ba41aa4f503031fa2addef7f WHIRLPOOL 603b494c7b87f0f3f0cfba35378e1a2e231879a01b730657e09ecf798957fa4dfd54a6d852074c2aa9ae3c15e5d1d3203584b8a120e5dd0dee2117319706a5ce
|
||||
DIST python-exec-2.1.tar.bz2 82167 SHA256 adac4e9ae677ca0fbb9efc55573ecbb0e8361ed7a60a5241e7abc1056fba06ad SHA512 cadfb7723aa412caec4a449909769b14a800c19650c64768b0ffb30b2c0645e70c9a039f960f3263c6c18490bb73c0129b83a72c7407f558bcaf3652cc4c8bcf WHIRLPOOL 72b73b216faf7caa8afbc3ce316771bd832e468cf84835267dc3833d5c52fce24578e09f2d3aa8a322f324426eda5e53bd9611711ea976679574b2be764c2525
|
||||
DIST python-exec-2.4.2.tar.bz2 86808 SHA256 d3659764eeb462492a0e6586e74d618a1e2329353dddcf50519052a9a6a1dbe5 SHA512 728bf9fc23ce5f8ebdd2f8c385f779378beb8eabb61d227df9a40dad1157eb4619426b14eaf1f44d0591f2110c7930cdbe7c9ee3eb380574fafa243a19b128d3 WHIRLPOOL 9cc952c33634be6463ad69f162dfb514bc2573535a324736a4f7d8d1158470f2e47cdc0ad05b0ac8e60c098d7a4308a888943f966fb3c10a1a09657363947aaa
|
||||
DIST python-exec-2.4.3.tar.bz2 86815 SHA256 581aa0c033632269d553754440d4017c21afc1c1500fd8951de093bc715c63fb SHA512 37fb7f915a2848699e9fca4e09d167b6d6aa192e3c374d7f01aec09529b5f1346ce2c45139f4e8f68b53e3f197b4d77b7f58519b012c117dd5ec8535a43fbe34 WHIRLPOOL 117564deb6f35387757ebbbff96d0325d5979d2933bbfca184cde0170cdd923bf9fa71ba76f234b098df12f006b6f8b5ba388416692ceff56ec7c16173777ab6
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST tcl-core8.6.4-src.tar.gz 5813056 SHA256 373e849067f33159470060f35742110ff23b5fba07e42f01fbd0654d7a9a371f SHA512 cc73248b68528be46dbe1e29fa129bc827850e9a315ccd91bd0ca0afe61b8af633830a8da5706283de1c149df6cbf857da75ebd0f3998bb459e5456a4844a61f WHIRLPOOL 9b14d7dd31b2d8d1ca3bc44d4259514d8ff9df905a165fb7f95af018afffa1b87deeaf51ef602fd3d97a80c399687f842d24b539a301520dfeec172387de23b3
|
||||
DIST tcl-core8.6.5-src.tar.gz 5846556 SHA256 10b6a0159e6bb458682b044726f544058a79ee2875644bd6755d2e69309fe963 SHA512 b726f7d3193ad92ba64911b8c724d5454c5a93d5f5e95462ec0a6d8ccbbdf20093888f66c83956d7631392ca805c1a80430f102c0a932de3ed55311101e0e09f WHIRLPOOL a4344efdf2d719678a3028044707331988e68bae827a252a735e33b29faab83cb6c3378fce8232b504b7474188611cc9c5aa43823f9fdb3e339bce4e3d798077
|
||||
DIST tcl8.5.17-src.tar.gz 4546317 SHA256 4c7cd8f2e0900cb36dde899b3f9f4d5c471ee3c4f8304cf9ec71fd18cd5e98d6 SHA512 ad5ddb4cd6378fd6bbea8cd85ceb1cf90392b2e8c49fbfb3e4b35c81d3ae3e3f087697c41fcba8c8e06de1d9e7539397e26d58b864dc01ba65abe4ba4efa9568 WHIRLPOOL 7e97049eb3875bcdc33b2d8ab02b0932173916fbbdfbc7970dd3c3ed1fe520c15ed1d6106215a823b5fc6f5008f12f3ccd1525dd536ec239388e6bf459352ab6
|
||||
|
@ -0,0 +1,132 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools eutils flag-o-matic multilib multilib-minimal toolchain-funcs versionator
|
||||
|
||||
MY_P="${PN}${PV}"
|
||||
|
||||
DESCRIPTION="Tool Command Language"
|
||||
HOMEPAGE="http://www.tcl.tk/"
|
||||
SRC_URI="mirror://sourceforge/tcl/${PN}-core${PV}-src.tar.gz"
|
||||
|
||||
LICENSE="tcltk"
|
||||
SLOT="0/8.6"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x86-solaris"
|
||||
IUSE="debug +threads"
|
||||
|
||||
RDEPEND=">=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
SPARENT="${WORKDIR}/${MY_P}"
|
||||
S="${SPARENT}"/unix
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-8.5.13-multilib.patch
|
||||
|
||||
# Bug 125971
|
||||
"${FILESDIR}"/${PN}-8.6.1-conf.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
find \
|
||||
"${SPARENT}"/compat/* \
|
||||
"${SPARENT}"/doc/try.n \
|
||||
-delete || die
|
||||
|
||||
pushd "${SPARENT}" &>/dev/null || die
|
||||
default
|
||||
popd &>/dev/null || die
|
||||
|
||||
# workaround stack check issues, bug #280934
|
||||
use hppa && append-cflags "-DTCL_NO_STACK_CHECK=1"
|
||||
|
||||
tc-export CC
|
||||
|
||||
sed \
|
||||
-e '/chmod/s:555:755:g' \
|
||||
-i Makefile.in || die
|
||||
|
||||
sed \
|
||||
-e 's:-O[2s]\?::g' \
|
||||
-i tcl.m4 || die
|
||||
|
||||
mv configure.{in,ac} || die
|
||||
|
||||
eautoconf
|
||||
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
# We went ahead and deleted the whole compat/ subdir which means
|
||||
# the configure tests to detect broken versions need to pass (else
|
||||
# we'll fail to build). This comes up when cross-compiling, but
|
||||
# might as well get a minor configure speed up normally.
|
||||
export ac_cv_func_memcmp_working="yes"
|
||||
export tcl_cv_str{str,toul,tod}_unbroken="ok"
|
||||
export tcl_cv_strtod_buggy="no"
|
||||
|
||||
econf \
|
||||
$(use_enable threads) \
|
||||
$(use_enable debug symbols)
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
#short version number
|
||||
local v1=$(get_version_component_range 1-2)
|
||||
local mylibdir=$(get_libdir)
|
||||
|
||||
S= default
|
||||
# fix the tclConfig.sh to eliminate refs to the build directory
|
||||
# and drop unnecessary -L inclusion to default system libdir
|
||||
|
||||
sed \
|
||||
-e "/^TCL_BUILD_LIB_SPEC=/s:-L$(pwd) *::g" \
|
||||
-e "/^TCL_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \
|
||||
-e "/^TCL_SRC_DIR=/s:${SPARENT}:${EPREFIX}/usr/${mylibdir}/tcl${v1}/include:g" \
|
||||
-e "/^TCL_BUILD_STUB_LIB_SPEC=/s:-L$(pwd) *::g" \
|
||||
-e "/^TCL_STUB_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \
|
||||
-e "/^TCL_BUILD_STUB_LIB_PATH=/s:$(pwd):${EPREFIX}/usr/${mylibdir}:g" \
|
||||
-e "/^TCL_LIB_FILE=/s:'libtcl${v1}..TCL_DBGX..so':\"libtcl${v1}\$\{TCL_DBGX\}.so\":g" \
|
||||
-i "${ED}"/usr/${mylibdir}/tclConfig.sh || die
|
||||
if use prefix && [[ ${CHOST} != *-darwin* && ${CHOST} != *-mint* ]] ; then
|
||||
sed \
|
||||
-e "/^TCL_CC_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|g" \
|
||||
-e "/^TCL_LD_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|" \
|
||||
-i "${ED}"/usr/${mylibdir}/tclConfig.sh || die
|
||||
fi
|
||||
|
||||
# install private headers
|
||||
insinto /usr/${mylibdir}/tcl${v1}/include/unix
|
||||
doins *.h
|
||||
insinto /usr/${mylibdir}/tcl${v1}/include/generic
|
||||
doins "${SPARENT}"/generic/*.h
|
||||
rm -f "${ED}"/usr/${mylibdir}/tcl${v1}/include/generic/{tcl,tclDecls,tclPlatDecls}.h || die
|
||||
|
||||
# install symlink for libraries
|
||||
dosym libtcl${v1}$(get_libname) /usr/${mylibdir}/libtcl$(get_libname)
|
||||
dosym libtclstub${v1}.a /usr/${mylibdir}/libtclstub.a
|
||||
|
||||
if multilib_is_native_abi; then
|
||||
dosym tclsh${v1} /usr/bin/tclsh
|
||||
dodoc "${SPARENT}"/{ChangeLog*,README,changes}
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
for version in ${REPLACING_VERSIONS}; do
|
||||
if ! version_is_at_least 8.6 ${version}; then
|
||||
echo
|
||||
ewarn "You're upgrading from <${P}, you must recompile the other"
|
||||
ewarn "packages on your system that link with tcl after the upgrade"
|
||||
ewarn "completes. To perform this action, please run revdep-rebuild"
|
||||
ewarn "in package app-portage/gentoolkit."
|
||||
ewarn "If you have dev-lang/tk and dev-tcltk/tclx installed you should"
|
||||
ewarn "upgrade them before this recompilation, too,"
|
||||
echo
|
||||
fi
|
||||
done
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST tcl8.5.17-src.tar.gz 4546317 SHA256 4c7cd8f2e0900cb36dde899b3f9f4d5c471ee3c4f8304cf9ec71fd18cd5e98d6 SHA512 ad5ddb4cd6378fd6bbea8cd85ceb1cf90392b2e8c49fbfb3e4b35c81d3ae3e3f087697c41fcba8c8e06de1d9e7539397e26d58b864dc01ba65abe4ba4efa9568 WHIRLPOOL 7e97049eb3875bcdc33b2d8ab02b0932173916fbbdfbc7970dd3c3ed1fe520c15ed1d6106215a823b5fc6f5008f12f3ccd1525dd536ec239388e6bf459352ab6
|
||||
DIST tk8.5.17-src.tar.gz 4095985 SHA256 b517914d076fba047c4bbc02f7dd7f0b0b06d1931826ae440129162d8bba92d3 SHA512 ddadc738c2567e35d1257b59212c8a0eb70a1bf041d986bc6df3b841b51d934d79a0ef389c928223a64516a92cae3357b2c789edca9c8a626ff4c1cf320c4f4f WHIRLPOOL 431ad2d190755b997b07c8a59046c7f15a7be39cb8b162daccae8eca4c4b6e97a52d5823e7e566380935abefad347d18a28fc3a7e78892b6186ebcefce726fd3
|
||||
DIST tk8.6.4-src.tar.gz 4266426 SHA256 08f99df85e5dc9c4271762163c6aabb962c8b297dc5c4c1af8bdd05fc2dd26c1 SHA512 d0a1d1fd0938af4a9e532aa1bd4488647cff05f98e9e09b5fa16b773364a5d61030b7975541c688c7e0afc0bde60d49ce50a24d842549bab1622a0255e267909 WHIRLPOOL 8660c222d9b32d805d654ca9d9a881ec93705874790186a426fcbddf31e39316bccde4421a949684ba456351aeac619de0b7a27f39c1d3af14157d7553472801
|
||||
DIST tk8.6.5-src.tar.gz 4417393 SHA256 fbbd93541b4cd467841208643b4014c4543a54c3597586727f0ab128220d7946 SHA512 9acf2ef993a566a7cdd1efe21dc896b09125c65d86df53ab5a78542b21d3f031e9f9d72b81738705636c268b5ce72934c483eb087d5c0114f913c9075db9a3b1 WHIRLPOOL 8f0e789d05f05778f0f383a6cbabd6e2225401ab0ce68bd408ab747408b7f83e4f47ef7041ee23231dbfd5dafa74d8f498922104b3e38283dcf1ab83e7cb2dfd
|
||||
|
@ -0,0 +1,144 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools eutils multilib multilib-minimal prefix toolchain-funcs versionator virtualx
|
||||
|
||||
MY_P="${PN}${PV/_beta/b}"
|
||||
|
||||
DESCRIPTION="Tk Widget Set"
|
||||
HOMEPAGE="http://www.tcl.tk/"
|
||||
SRC_URI="mirror://sourceforge/tcl/${MY_P}-src.tar.gz"
|
||||
|
||||
LICENSE="tcltk"
|
||||
SLOT="0/8.6"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="debug +threads truetype aqua xscreensaver"
|
||||
|
||||
RDEPEND="
|
||||
!aqua? (
|
||||
>=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/libXt-1.1.4[${MULTILIB_USEDEP}]
|
||||
truetype? ( >=x11-libs/libXft-2.3.1-r1[${MULTILIB_USEDEP}] )
|
||||
xscreensaver? ( >=x11-libs/libXScrnSaver-1.2.2-r1[${MULTILIB_USEDEP}] )
|
||||
)
|
||||
~dev-lang/tcl-${PV}:0=[${MULTILIB_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
!aqua? ( >=x11-proto/xproto-7.0.24[${MULTILIB_USEDEP}] )"
|
||||
|
||||
# Not bumped to 8.6
|
||||
#RESTRICT=test
|
||||
|
||||
SPARENT="${WORKDIR}/${MY_P}"
|
||||
S="${SPARENT}"/unix
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-8.5.11-fedora-xft.patch \
|
||||
"${FILESDIR}"/${PN}-8.5.13-multilib.patch
|
||||
|
||||
"${FILESDIR}"/${PN}-8.4.15-aqua.patch
|
||||
|
||||
# Bug 125971
|
||||
"${FILESDIR}"/${PN}-8.5.14-conf.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
find \
|
||||
"${SPARENT}"/compat/* \
|
||||
-delete || die
|
||||
|
||||
pushd "${SPARENT}" &>/dev/null || die
|
||||
default
|
||||
popd &>/dev/null || die
|
||||
eprefixify Makefile.in
|
||||
|
||||
# Make sure we use the right pkg-config, and link against fontconfig
|
||||
# (since the code base uses Fc* functions).
|
||||
sed \
|
||||
-e 's/FT_New_Face/XftFontOpen/g' \
|
||||
-e "s:\<pkg-config\>:$(tc-getPKG_CONFIG):" \
|
||||
-e 's:xft freetype2:xft freetype2 fontconfig:' \
|
||||
-i configure.in || die
|
||||
rm configure || die
|
||||
|
||||
tc-export CC
|
||||
|
||||
sed \
|
||||
-e '/chmod/s:555:755:g' \
|
||||
-i Makefile.in || die
|
||||
|
||||
sed \
|
||||
-e 's:-O[2s]\?::g' \
|
||||
-i tcl.m4 || die
|
||||
|
||||
mv configure.{in,ac} || die
|
||||
|
||||
eautoconf
|
||||
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local mylibdir=$(get_libdir)
|
||||
|
||||
econf \
|
||||
--with-tcl="${EPREFIX}/usr/${mylibdir}" \
|
||||
$(use_enable threads) \
|
||||
$(use_enable aqua) \
|
||||
$(use_enable truetype xft) \
|
||||
$(use_enable xscreensaver xss) \
|
||||
$(use_enable debug symbols)
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
virtx emake test
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
#short version number
|
||||
local v1=$(get_version_component_range 1-2)
|
||||
local mylibdir=$(get_libdir)
|
||||
|
||||
S= default
|
||||
|
||||
# normalize $S path, bug #280766 (pkgcore)
|
||||
local nS="$(cd "${S}"; pwd)"
|
||||
|
||||
# fix the tkConfig.sh to eliminate refs to the build directory
|
||||
# and drop unnecessary -L inclusion to default system libdir
|
||||
|
||||
sed \
|
||||
-e "/^TK_BUILD_LIB_SPEC=/s:-L${S}-\w*\.\w* ::g" \
|
||||
-e "/^TK_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \
|
||||
-e "/^TK_SRC_DIR=/s:${SPARENT}:${EPREFIX}/usr/${mylibdir}/tk${v1}/include:g" \
|
||||
-e "/^TK_BUILD_STUB_LIB_SPEC=/s:-L${S}-\w*\.\w* *::g" \
|
||||
-e "/^TK_STUB_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \
|
||||
-e "/^TK_BUILD_STUB_LIB_PATH=/s:${S}-\w*\.\w*:${EPREFIX}/usr/${mylibdir}:g" \
|
||||
-e "/^TK_LIB_FILE=/s:'libtk${v1}..TK_DBGX..so':\"libk${v1}\$\{TK_DBGX\}.so\":g" \
|
||||
-i "${ED}"/usr/${mylibdir}/tkConfig.sh || die
|
||||
if use prefix && [[ ${CHOST} != *-darwin* && ${CHOST} != *-mint* ]] ; then
|
||||
sed \
|
||||
-e "/^TK_CC_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|g" \
|
||||
-e "/^TK_LD_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|" \
|
||||
-i "${ED}"/usr/${mylibdir}/tkConfig.sh || die
|
||||
fi
|
||||
|
||||
# install private headers
|
||||
insinto /usr/${mylibdir}/tk${v1}/include/unix
|
||||
doins "${S}"/*.h
|
||||
insinto /usr/${mylibdir}/tk${v1}/include/generic
|
||||
doins "${SPARENT}"/generic/*.h
|
||||
rm -f "${ED}"/usr/${mylibdir}/tk${v1}/include/generic/{tk,tkDecls,tkPlatDecls}.h || die
|
||||
|
||||
# install symlink for libraries
|
||||
dosym libtk${v1}$(get_libname) /usr/${mylibdir}/libtk$(get_libname)
|
||||
dosym libtkstub${v1}.a /usr/${mylibdir}/libtkstub.a
|
||||
|
||||
if multilib_is_native_abi; then
|
||||
dosym wish${v1} /usr/bin/wish
|
||||
dodoc "${SPARENT}"/{ChangeLog*,README,changes}
|
||||
fi
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST librelp-1.2.7.tar.gz 410896 SHA256 3a434a1c71772706104cfb1c93ba8e6809d257851d60de29ac2142c60c68d7d1 SHA512 f8a71ad037cb5eaeb807b1bcb942893e2d10bcd57b18764bb13700c8e114d59de37b1b36560288abac18a07b6cb2920b46feaef4ae629aa0b3478ed16723542a WHIRLPOOL 784f291d0318b29be33bcd4bdd41e04c2e0fc8f292c6cb7f5985743559aa65f3c10932680f943e065ebf34e3f62c75bf2ed5500aebe0b7ab2fa7e64ced37cc44
|
||||
DIST librelp-1.2.9.tar.gz 415909 SHA256 520de7ba3dc688dc72c5b014dc61ef191e9528f77d1651ddca55fc0c149d98a3 SHA512 2d30fdb1946d8c0484de26a741bf187016b8639a702e3a1d42aa390a34931be46064bdb2552950a078366fe2705644db8c6a6015ced2ce14d3d2488527cf0819 WHIRLPOOL ae7095cdf93c2057f34aeee0cf0622284c39f9e84672baa9ff6296b50438cba4d8893114962b2b6f8feb68c0313057edb5fde3060e4fdffb904626a84e7a9690
|
||||
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="An easy to use library for the RELP protocol"
|
||||
HOMEPAGE="http://www.librelp.com/"
|
||||
SRC_URI="http://download.rsyslog.com/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3 doc? ( FDL-1.3 )"
|
||||
|
||||
# subslot = soname version
|
||||
SLOT="0/0.1.0"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~sparc ~x86"
|
||||
IUSE="debug doc +ssl static-libs"
|
||||
|
||||
RDEPEND="
|
||||
ssl? ( >=net-libs/gnutls-3.3.17.1:0= )
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
ssl? ( >=net-libs/gnutls-3.3.17.1:0= )
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e 's/ -g"/"/g' \
|
||||
configure.ac || die "sed failed"
|
||||
|
||||
default
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
$(use_enable debug)
|
||||
$(use_enable ssl tls)
|
||||
$(use_enable static-libs static)
|
||||
)
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local DOCS=( ChangeLog )
|
||||
use doc && local HTML_DOCS=( doc/relp.html )
|
||||
default
|
||||
|
||||
find "${ED}"usr/lib* -name '*.la' -delete
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST unittest++-1.6.0.tar.gz 52227 SHA256 9fa7e797816e16669d68171418b0dc41ec6b7eaf8483f782441f5f159598c3c0 SHA512 499450b6cfa8ef8be5eff09ac238423fe5dc04b1c6065db02f46b903968e702fb45ccd9953aff81eef4a8aae80e91448afc0cbdf4a3f1f83b551f9d7dcd828f3 WHIRLPOOL 8043c8da08117f70fda142e92bcdfd0c2c8fd99d10380554a2f32fbe5a5c58fe1f3cf31bcc82bfcc6b1dda22dcc61ed11a87370f0f2c7874116dfe8c5a9410e7
|
@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>sautier.louis@gmail.com</email>
|
||||
<name>Louis Sautier</name>
|
||||
<description>Proxied maintainer; set to assignee in all bugs</description>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">unittest-cpp/issues</remote-id>
|
||||
<bugs-to>https://github.com/unittest-cpp/unittest-cpp/issues</bugs-to>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,20 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
MY_PN="unittest-cpp"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="A lightweight unit testing framework for C++"
|
||||
HOMEPAGE="https://unittest-cpp.github.io/"
|
||||
SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
@ -1,3 +1,4 @@
|
||||
DIST findlib-1.4.tar.gz 231526 SHA256 6e4065e5d79d31176ec213ff94599c4eae17c3904c2896e845d0379a99f1bdf8 SHA512 7ee5bee74f6fc14c8d85496e673d42b63e056d35a724fe4f78fd1010a5af4506a9a962c0403fd96d5bf51f2278bfbe98a60aad65a171803cbde935cc3889157b WHIRLPOOL 31f1d0b9f1605a9a536ae996fb4abe5e1d5c47012759cb7bb45185d58a81e827d80285628b113f79d51b8b260cdff181c3eb05596adeea9a87070994058fce17
|
||||
DIST findlib-1.5.6.tar.gz 250865 SHA256 7743b3dcaf8a344c882e89f61601f7f086d46c0f2ea4fcc3e54069236825e3f8 SHA512 18d23861a25b1508cb419af4cdd6e3cd83d51bef259f162c86b91460cf3dad75d6c2fc11173f60fe36b61ce3f81b78e69344f093adb9a82c36256d95180e93d8 WHIRLPOOL eb374e60c3f2fcc6172ec08803fbc5b0e83ea0d38644b4c13cb3d27b3dc13c7240a4f49a9ee51f9465ac6ff6075140c3e98b3eb0ea48690f260f139f37dfb63c
|
||||
DIST findlib-1.6.1.tar.gz 254797 SHA256 411c816e89d17d1b5b454e3d42f9b261cf929fc468f9f6e2787273ab69784b09 SHA512 b781d117ff033e8b91b6610c562382c5868a25ceed51f0a5947a77bfdd5825723ad32adcbe1636d4f7952d4c7535093f5c8ad3b954bebb1dcf4738f7a16d3ef8 WHIRLPOOL 1c3ed89aeb53cd95c0eaa82f1df8c364ad79403cf89ca19245620819998353da089daf5d3377919f2b4676c48f4d926d384e5a80312884f84e1efc41307f88fd
|
||||
DIST findlib-1.6.2.tar.gz 253764 SHA256 3917904342ffbb66089f9fec1adc023b8854178bc21f303e4cbf96b8b164c946 SHA512 8c4098e6956530bc88d20a1b91512c68368e8a866398ce4d504afe3f71e81124c01644ba31ff97da6e61e7410328b533fb1d31a513166231047dab1933179fc4 WHIRLPOOL a980082607ac97c738ef0899ba08af81eaa45c09a0e96f41ddfb3faaf25c77f133a3063f45a9393819e76b839b17bb10fe71613e83bfc943b4988511547eaa6b
|
||||
|
@ -0,0 +1,16 @@
|
||||
Avoid installing META files for labltk, camlp4 and ocamlbuild: Those are provided by their
|
||||
respective packages now.
|
||||
|
||||
Index: findlib-1.6.2/configure
|
||||
===================================================================
|
||||
--- findlib-1.6.2.orig/configure
|
||||
+++ findlib-1.6.2/configure
|
||||
@@ -521,7 +521,7 @@ fi
|
||||
|
||||
# Generate the META files now.
|
||||
|
||||
-l="$ldbm dynlink graphics num num-top str threads unix stdlib bigarray ocamldoc $llabltk $lcamlp4 $lobuild $lcomplibs $lbytes"
|
||||
+l="$ldbm dynlink graphics num num-top str threads unix stdlib bigarray ocamldoc $lcomplibs $lbytes"
|
||||
|
||||
for dir in site-lib-src/*; do
|
||||
# We do not really know if $dir is a directory.
|
@ -0,0 +1,76 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit multilib eutils
|
||||
|
||||
DESCRIPTION="OCaml tool to find/use non-standard packages"
|
||||
HOMEPAGE="http://projects.camlcity.org/projects/findlib.html"
|
||||
SRC_URI="http://download.camlcity.org/download/${P}.tar.gz"
|
||||
IUSE="doc +ocamlopt tk"
|
||||
|
||||
LICENSE="MIT"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
|
||||
DEPEND=">=dev-lang/ocaml-4.02.3-r1:=[ocamlopt?]
|
||||
tk? ( dev-ml/labltk:= )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
ocamlfind_destdir="${EPREFIX}/usr/$(get_libdir)/ocaml"
|
||||
stublibs="${ocamlfind_destdir}/stublibs"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/externalmeta3.patch" \
|
||||
"${FILESDIR}/quoting.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
use tk && myconf="-with-toolbox"
|
||||
./configure -bindir "${EPREFIX}"/usr/bin -mandir "${EPREFIX}"/usr/share/man \
|
||||
-sitelib ${ocamlfind_destdir} \
|
||||
-config ${ocamlfind_destdir}/findlib/findlib.conf \
|
||||
-no-custom \
|
||||
${myconf} || die "configure failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1 all
|
||||
if use ocamlopt; then
|
||||
emake -j1 opt # optimized code
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake prefix="${D}" install
|
||||
|
||||
dodir "${stublibs#${EPREFIX}}"
|
||||
|
||||
cd "${S}/doc"
|
||||
dodoc QUICKSTART README DOCINFO
|
||||
use doc && dohtml -r ref-html guide-html
|
||||
}
|
||||
|
||||
check_stublibs() {
|
||||
local ocaml_stdlib=`ocamlc -where`
|
||||
local ldconf="${ocaml_stdlib}/ld.conf"
|
||||
|
||||
if [ ! -e ${ldconf} ]
|
||||
then
|
||||
echo "${ocaml_stdlib}" > ${ldconf}
|
||||
echo "${ocaml_stdlib}/stublibs" >> ${ldconf}
|
||||
fi
|
||||
|
||||
if [ -z `grep -e ${stublibs} ${ldconf}` ]
|
||||
then
|
||||
echo ${stublibs} >> ${ldconf}
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
check_stublibs
|
||||
}
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=(python2_7)
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Refactors valid 3.x syntax into valid 2.x syntax, if a syntactical conversion is possible"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/3to2"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
python_test() {
|
||||
cd "${BUILD_DIR}"/lib || die
|
||||
# the standard test runner fails to properly return failure
|
||||
"${PYTHON}" -m unittest discover || die "Tests fail with ${EPYTHON}"
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST 3to2-1.0.tar.gz 46028 SHA256 1c5179e0ff3a1270e98aa213035185298392693a692a5e9053cea3c45e220182 SHA512 0f1eb0397e3e777a88a9530472349febaa36a5ddf45b000da174e8cb073dada65c3db566785550b2fa812651a1b2651fcbd281b29e3a3a8f6429379cd66536f0 WHIRLPOOL 970004480bd9abe48ce17527774b594bf25ed932eed96c9219786325783eba8ace8420db1598c615e1183907424d2b2f5a84c690d1341fee658aa440505200b7
|
||||
DIST 3to2-1.1.1.zip 78779 SHA256 fef50b2b881ef743f269946e1090b77567b71bb9a9ce64b7f8e699b562ff685c SHA512 7580f174409420556f89ae78eba07cc95b95aee9d062586d0862bd41980ae31bf4ac82a43855e160eec745fcdd3b4aff614f68e77da1bfc5f9f404413cab1492 WHIRLPOOL 39b8b8c2da3f759c93488888d4ccf9eae123302a5b7ae5861fdf4ad1be75a31e57dc752e382cb3ebc49b46921ab12d95d7837948e78c3c96dd98f4701805bf14
|
||||
|
@ -1,18 +0,0 @@
|
||||
# ChangeLog for dev-python/PyQtMobility
|
||||
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQtMobility/ChangeLog,v 1.4 2014/10/31 13:30:47 pesa Exp $
|
||||
|
||||
31 Oct 2014; Davide Pesavento <pesa@gentoo.org> metadata.xml:
|
||||
Drop python herd from metadata, similarly to PyQt{4,5}.
|
||||
|
||||
03 Mar 2013; Markos Chandras <hwoarang@gentoo.org> PyQtMobility-1.0.1.ebuild:
|
||||
Move Qt dependencies to the new category
|
||||
|
||||
21 Jun 2012; Davide Pesavento <pesa@gentoo.org> PyQtMobility-1.0.1.ebuild:
|
||||
Enable contacts by default wrt bug 422805.
|
||||
|
||||
*PyQtMobility-1.0.1 (13 Mar 2012)
|
||||
|
||||
13 Mar 2012; Davide Pesavento <pesa@gentoo.org> +PyQtMobility-1.0.1.ebuild,
|
||||
+metadata.xml:
|
||||
Initial commit of PyQtMobility, moved from qt overlay. Ebuild by me.
|
@ -1 +0,0 @@
|
||||
DIST PyQtMobility-gpl-1.0.1.tar.gz 111999 SHA256 8496a47f5345ff547c04e8301cfcdf7862fe9557f56d0d93818c947060b442df SHA512 09bb77f348abe0caf174dea505f3a10ee2adf99698048c9fffc1da66a36dcb907cef7896ee92af7d9ec98a5b30f5229fd9eedc6a64e1476ca340c29b5d842770 WHIRLPOOL 49bbd93b79418f34872a76665d7d54d4a5adca0bdd44a31fe095bfd148d7a673671bc3b61015bc0489d91b7386dc23c57b462e10def00460cc448c165cfe4d8a
|
@ -1,91 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
|
||||
PYTHON_DEPEND="*"
|
||||
PYTHON_EXPORT_PHASE_FUNCTIONS="1"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="*-jython 2.7-pypy-*"
|
||||
|
||||
inherit python
|
||||
|
||||
MY_P=${PN}-gpl-${PV}
|
||||
|
||||
DESCRIPTION="Python bindings for Nokia's QtMobility libraries"
|
||||
HOMEPAGE="http://sourceforge.net/projects/pyqt/files/PyQtMobility/"
|
||||
SRC_URI="mirror://sourceforge/pyqt/${MY_P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="|| ( GPL-2 GPL-3 )"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
PYQTM_MODULES="+contacts feedback gallery location messaging multimedia organizer
|
||||
publishsubscribe sensors serviceframework systeminfo versit"
|
||||
IUSE="debug ${PYQTM_MODULES}"
|
||||
|
||||
REQUIRED_USE="
|
||||
|| ( ${PYQTM_MODULES//+} )
|
||||
versit? ( contacts )
|
||||
"
|
||||
|
||||
QTM_USE_DEPS=
|
||||
for mod in ${PYQTM_MODULES//+}; do
|
||||
QTM_USE_DEPS+="${mod}?,"
|
||||
done
|
||||
unset mod
|
||||
|
||||
DEPEND="
|
||||
>=dev-python/sip-4.12.2
|
||||
>=dev-python/PyQt4-4.8.4[X]
|
||||
>=dev-qt/qt-mobility-1.2.0[${QTM_USE_DEPS%,}]
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
# Disable pre-stripping of modules
|
||||
sed -i -e '/SIPModuleMakefile/s|$|strip=0,|' configure.py || die
|
||||
|
||||
python_src_prepare
|
||||
}
|
||||
|
||||
pyqtm_use_enable() {
|
||||
use $1 && echo --enable=${2:-Qt$(echo ${1:0:1} | tr '[:lower:]' '[:upper:]')${1:1}}
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
configuration() {
|
||||
local myconf=("$(PYTHON)"
|
||||
configure.py
|
||||
--destdir="${EPREFIX}$(python_get_sitedir)"
|
||||
--sipdir="${EPREFIX}/usr/share/sip"
|
||||
$(use debug && echo --debug)
|
||||
$(pyqtm_use_enable contacts)
|
||||
$(pyqtm_use_enable feedback)
|
||||
$(pyqtm_use_enable gallery)
|
||||
$(pyqtm_use_enable location)
|
||||
$(pyqtm_use_enable messaging)
|
||||
$(pyqtm_use_enable multimedia QtMultimediaKit)
|
||||
$(pyqtm_use_enable organizer)
|
||||
$(pyqtm_use_enable publishsubscribe QtPublishSubscribe)
|
||||
$(pyqtm_use_enable sensors)
|
||||
$(pyqtm_use_enable serviceframework QtServiceFramework)
|
||||
$(pyqtm_use_enable systeminfo QtSystemInfo)
|
||||
$(pyqtm_use_enable versit)
|
||||
)
|
||||
echo "${myconf[@]}"
|
||||
"${myconf[@]}"
|
||||
}
|
||||
python_execute_function -s configuration
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize QtMobility
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup QtMobility
|
||||
}
|
@ -1,30 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>qt@gentoo.org</email>
|
||||
<name>Gentoo Qt Project</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="contacts">Build bindings for the QtContacts module</flag>
|
||||
<flag name="feedback">Build bindings for the QtFeedback module</flag>
|
||||
<flag name="gallery">Build bindings for the QtGallery module</flag>
|
||||
<flag name="location">Build bindings for the QtLocation module</flag>
|
||||
<flag name="messaging">Build bindings for the QtMessaging module</flag>
|
||||
<flag name="multimedia">Build bindings for the QtMultimediaKit module</flag>
|
||||
<flag name="organizer">Build bindings for the QtOrganizer module</flag>
|
||||
<flag name="publishsubscribe">Build bindings for the QtPublishSubscribe module</flag>
|
||||
<flag name="sensors">Build bindings for the QtSensors module</flag>
|
||||
<flag name="serviceframework">Build bindings for the QtServiceFramework module</flag>
|
||||
<flag name="systeminfo">Build bindings for the QtSystemInfo module</flag>
|
||||
<flag name="versit">Build bindings for the QtVersit module</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<maintainer status="active">
|
||||
<email>phil@riverbankcomputing.com</email>
|
||||
<name>Phil Thompson</name>
|
||||
</maintainer>
|
||||
<bugs-to>mailto:pyqt@riverbankcomputing.com</bugs-to>
|
||||
<remote-id type="sourceforge">pyqt</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1 @@
|
||||
DIST pylons-sphinx-themes-0.3.1.tar.gz 135393 SHA256 c107542e6a3ed89a9e9d9d2cd9d2f8ee3e6d551a394796bb6a9fb03a36afaa58 SHA512 3b3c51b9efc1e4d753b5c0be6baf2a0ea876c536be7d19f3226135d379930320ecca91cd964c9b577347184079cf07349be24c38851511631a5d5b45d1e5ad20 WHIRLPOOL 4ee426757a070a9790ede16ef8f806e795d9b0ee8dcfb4022e965f679e8463bd1cee97f14d54b7f621358dc06b1ad301b5c6420e705ae1530c29694dd0f8ab31
|
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
<name>Python</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="pypi">pylons-sphinx-themes</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue