parent
b8e139ca8b
commit
9f39fef909
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE="threads"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A backup program that supports encryption and deduplication"
|
||||
HOMEPAGE="http://obnam.org/"
|
||||
SRC_URI="http://git.liw.fi/cgi-bin/cgit/cgit.cgi/obnam/snapshot/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
dev-python/cliapp[${PYTHON_USEDEP}]
|
||||
dev-python/fuse-python[${PYTHON_USEDEP}]
|
||||
dev-python/larch[${PYTHON_USEDEP}]
|
||||
<dev-python/paramiko-1.16.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/tracing[${PYTHON_USEDEP}]
|
||||
dev-python/ttystatus[${PYTHON_USEDEP}]
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_compile() {
|
||||
addwrite /proc/self/comm
|
||||
distutils-r1_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
find "${D}" -name "obnam-viewprof*" -delete
|
||||
insinto /etc
|
||||
doins "${FILESDIR}"/obnam.conf
|
||||
keepdir /var/log/obnam
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ $REPLACING_VERSIONS < "1.2" ]]; then
|
||||
elog "You will need to setup a config file before running obnam for the first time."
|
||||
elog "For details, please see the obnam(1) manual page."
|
||||
elog "An example file has been installed as /etc/obnam.conf for your convenience."
|
||||
fi
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST unidic-mecab-2.1.2_src.zip 140517811 SHA256 6cce98269214ce7de6159f61a25ffc5b436375c098cc86d6aa98c0605cbf90d4 SHA512 db80feab873851df874781fe81430ee90e238f166b90e77755a112602e0f22a7c4c5deb4ce8bcd357d258d8d806d917652e6723bf2a1b786942952fbbcb52782 WHIRLPOOL 019dba71eef24f71814c1e493822d0699d40cd4cc58c5cfba622006f637ae788712948b4f534896f5f9b92f7c9e9991e68a63d6eafa73b140ff5fdb58bea102f
|
@ -0,0 +1,19 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
MY_P="unidic-mecab-${PV}_src"
|
||||
|
||||
DESCRIPTION="IPA dictionary for MeCab"
|
||||
HOMEPAGE="https://osdn.jp/projects/unidic/"
|
||||
SRC_URI="mirror://sourceforge.jp/unidic/58338/${MY_P}.zip"
|
||||
|
||||
LICENSE="|| ( BSD GPL-2 LGPL-2.1 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-text/mecab"
|
||||
S="${WORKDIR}/${MY_P}"
|
@ -1,5 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>java</herd>
|
||||
<herd>cjk</herd>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge-jp">unidic</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,3 +1,6 @@
|
||||
DIST dict-de_at-frami_2013-12-06.oxt 5923995 SHA256 3e1d962188a9a5d49388231d5bd6b286f3c64ba7ed39a2ce84e579ebf40019b5 SHA512 a37e061be99ba074ff52b3e0320bbb814d3f504ad353c4e562ea9617d0b60f9b2feb4d1453b55c78a6b659420c7baf0e7601e66489c9c25df9a8bad92d9aebb5 WHIRLPOOL 61c356dd5ea765ebb470861394aaf7939c30b2006e9a0d2fa78938a3d700b6adb07d2a4a158a0d3cc9ffab8189c7792c244ae587611168fb91f79f5f5f7c2bb3
|
||||
DIST dict-de_at-frami_2015-12-28.oxt 8110628 SHA256 07851d417063e12a28eef21b8b343f49fdf218079f434ec79c1e18282246bbab SHA512 2d4188174fb3f7cb2ca175d54342395980497183c0c6ea233217491226b19a0f19f806935e0eb3798229db89fd3ebf93cb5b210ba326dcb1cc8b862c48aecd02 WHIRLPOOL ce2f9e31a2d008e021d10746c68524a4682ab7943ea4f11dd56a35fd70095eb1fbfe4963c19bb8ad5c6b5fe8770e28dc397dd1e799457188e30cd3163a9d6e9e
|
||||
DIST dict-de_ch-frami_2013-12-06.oxt 5914138 SHA256 b053ba0f63b276bafbc1910414a735d099b59955d592f01feedbb8faf6af4ad6 SHA512 d93107b639fc9630ccd0f2afa5a9d639ea444f14e08bd4ebe5ba7c082d7cb516c2a59aa8c3ef7c743872687cc47c45b5ffb5f4be70d2449e61bf65e5cf6c84d6 WHIRLPOOL 2573ae9008191182dabbe06b67910aa82bcd76c6ef5d55757bac402f177e8c4ca105104c04dbba0b68447d6e25c0730f9c71fb3247f14c931b3503967b81c6db
|
||||
DIST dict-de_ch-frami_2015-12-28.oxt 8101312 SHA256 7c5fe404f403f8c7138de6992b71fe448913392cfb1d06826e3584d6e61fcfcb SHA512 b62ad082fbef3785b5cd29bb530a4f5367771af6237d10a9ee922f0deaff0ccdd7c0a9cd93a9218444b07bf278efdb18f497660513af4b8862998ab3bb434f5a WHIRLPOOL 621bef6ca473025800fe96a74df8d2ef39c15d2e1214bd4363ec38b4513bdb6fd8ddf54d6d38245c3371f2cd6357607558d60c9fb6b36c1610e41cfca0f404b7
|
||||
DIST dict-de_de-frami_2013-12-06.oxt 5924352 SHA256 c82ebfc13b047c5acb28a7b12b42447a7e7c07fbdf24ab5ef77bf099cfbab0a9 SHA512 bf852bd6be13ee02673d9011cabb6ac89b4095e529b3c44651473a06c5c0b1f9ad1261934c157654933b1ce35470e9b900f381219654d6ecc81bb3ebb221ab6f WHIRLPOOL 273da46a23667c59092f33a584f559368f1b82149fc78ec5eef78bef9bde0246252affc3097090fa076a3037da88f2fba9b16bd961041e3efea89a2c021a5d74
|
||||
DIST dict-de_de-frami_2015-12-28.oxt 8110832 SHA256 4c9520497b38712d093ca8ea57edb4d04569d4f700ea35379c082862628389c6 SHA512 242cfa3f9f8046badbd56560d05cc47a2b0bc89b263f9141443b3401981e91a1124d1c2f76ae77ea017b02a34567cf4c160c31e2250f90d095a74b92dd3d636a WHIRLPOOL 140c9c7e11b69481526d94cc803e63eb8df8a073ac99d515c8bad7ebace43a04fb41b11f8215447a58385157f40fe223e9173304af4210f5eba6eebc07a12fb6
|
||||
|
@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
MYSPELL_DICT=(
|
||||
"de_AT.aff"
|
||||
"de_AT.dic"
|
||||
"de_DE.aff"
|
||||
"de_DE.dic"
|
||||
"de_CH.aff"
|
||||
"de_CH.dic"
|
||||
)
|
||||
|
||||
MYSPELL_HYPH=(
|
||||
"hyph_de_AT.dic"
|
||||
"hyph_de_DE.dic"
|
||||
"hyph_de_CH.dic"
|
||||
)
|
||||
|
||||
MYSPELL_THES=(
|
||||
"th_de_AT_v2.dat"
|
||||
"th_de_AT_v2.idx"
|
||||
"th_de_DE_v2.dat"
|
||||
"th_de_DE_v2.idx"
|
||||
"th_de_CH_v2.dat"
|
||||
"th_de_CH_v2.idx"
|
||||
)
|
||||
|
||||
inherit myspell-r2
|
||||
|
||||
DESCRIPTION="German dictionaries for myspell/hunspell"
|
||||
HOMEPAGE="
|
||||
http://extensions.libreoffice.org/extension-center/german-de-at-frami-dictionaries
|
||||
http://extensions.libreoffice.org/extension-center/german-de-de-frami-dictionaries
|
||||
http://extensions.libreoffice.org/extension-center/german-de-ch-frami-dictionaries
|
||||
"
|
||||
SRC_URI="
|
||||
http://extensions.libreoffice.org/extension-center/german-de-at-frami-dictionaries/pscreleasefolder.2011-11-05.7614737245/${PV}/dict-de_at-frami_${PV//./-}.oxt
|
||||
http://extensions.libreoffice.org/extension-center/german-de-de-frami-dictionaries/releases/${PV}/dict-de_de-frami_${PV//./-}.oxt
|
||||
http://extensions.libreoffice.org/extension-center/german-de-ch-frami-dictionaries/pscreleasefolder.2011-11-05.5296069116/${PV}/dict-de_ch-frami_${PV//./-}.oxt
|
||||
"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
# rename the tarballs
|
||||
for i in *_frami.*; do
|
||||
mv "${i}" "${i/_frami}" || die
|
||||
done
|
||||
}
|
@ -1,4 +1,2 @@
|
||||
DIST eselect-php-0.7.1.bz2 2251 SHA256 10aa400e2d08bc71989366993f12ddb546a0ea29f191c40e37beba1d11d7abd7 SHA512 a6b4c1475dda9f368d799db7658c50cef7d6f71482a53a186fb1394e7ea1fff3c0ef123c82b7ca4d1e45aadb0a034d36f213fc9450766878a60d28639761cb3d WHIRLPOOL a4e45492068616ff30fd888b0cc64441a6eb6e6656e0107d00bd2cf15360dce15052d4d62089ab89d43e6bb36e126529aa101c70e8bd94a9fc916a5369463e3b
|
||||
DIST eselect-php-0.8.0.tar.xz 43932 SHA256 1ddc6aafe269ebbf3006737701403bd2c7b324b9eea0fcbdc91e85a856f8a10d SHA512 53c735275264742542d3909ae2994d0720bc961533a3df5373dbc7a7a1f04e91591f4e8356c268954420487d3ead4006cc5d6f361ef0ac2836f7f126556e960d WHIRLPOOL 94deba4a5bd4d0d85c8f3afc96ac30a69cca5db95014b2fd8701495cc83488389302f640065e923cabd40c95f97f792dd173337cc33c7d38441956049fb90cda
|
||||
DIST eselect-php-0.8.1.tar.xz 44412 SHA256 aa118e936bff176fe64911d68bb72e6e9e03d33c106674169396826a3063a962 SHA512 3679c8ac4d980424a108d93c8e2e575b93196d7140f31f900e7f925ab26cf821233d12b9083fd7bdd7bd596c3b59544e972660be8ffce7c24d4a7980fbe5f770 WHIRLPOOL 19c6f05a02aa1a40586f352822679f7e655200374a100834d4370678b35856d5e255b0d83f07eafd69481ee3ee72cb976665e6c2b2df990be00b54bfa53a5a92
|
||||
DIST eselect-php-0.8.2.tar.xz 51832 SHA256 3601d0612a19ccc1c5146be2c8cd7df955a37c517817ae4f59bb3ead446f5355 SHA512 da1d71affe275d07db7a76fd98fd89ffdea6f671262a615bf4dda5a1bba8d19e5d1a3c8afe3f1eb1e70fd71298476a6f0d4e73eba7aafe7555f018f89005bc3d WHIRLPOOL dcc75d93eeaaa85f63f5329491d010debd83ed2a82af0051d59ab4aff639703a6f4c1baa5388ed2a8867d6ab610740d5a1ac86d28cddb0de5be47872ada040b4
|
||||
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit depend.apache systemd
|
||||
|
||||
DESCRIPTION="PHP eselect module"
|
||||
HOMEPAGE="https://gitweb.gentoo.org/proj/eselect-php.git/"
|
||||
SRC_URI="https://dev.gentoo.org/~mjo/distfiles/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="fpm apache2"
|
||||
|
||||
# The "DirectoryIndex" line in 70_mod_php5.conf requires mod_dir.
|
||||
RDEPEND="app-admin/eselect
|
||||
apache2? ( www-servers/apache[apache2_modules_dir] )"
|
||||
|
||||
want_apache
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use apache2 ; then
|
||||
insinto "${APACHE_MODULES_CONFDIR#${EPREFIX}}"
|
||||
newins "${FILESDIR}/70_mod_php5.conf-apache2-r1" "70_mod_php5.conf"
|
||||
fi
|
||||
|
||||
if use fpm ; then
|
||||
newinitd "${FILESDIR}/php-fpm.init-r4" "php-fpm"
|
||||
systemd_dotmpfilesd "${FILESDIR}/php-fpm.conf"
|
||||
exeinto /usr/libexec
|
||||
doexe "${FILESDIR}/php-fpm-launcher"
|
||||
fi
|
||||
}
|
@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit depend.apache systemd
|
||||
|
||||
DESCRIPTION="PHP eselect module"
|
||||
HOMEPAGE="https://gitweb.gentoo.org/proj/eselect-php.git/"
|
||||
SRC_URI="https://dev.gentoo.org/~mjo/distfiles/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="fpm apache2"
|
||||
|
||||
# The "DirectoryIndex" line in 70_mod_php.conf requires mod_dir.
|
||||
RDEPEND="app-admin/eselect
|
||||
apache2? ( www-servers/apache[apache2_modules_dir] )"
|
||||
|
||||
want_apache
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use apache2 ; then
|
||||
insinto "${APACHE_MODULES_CONFDIR#${EPREFIX}}"
|
||||
doins "${FILESDIR}/70_mod_php.conf"
|
||||
fi
|
||||
|
||||
if use fpm ; then
|
||||
newinitd "${FILESDIR}/php-fpm.init-r4" "php-fpm"
|
||||
systemd_dotmpfilesd "${FILESDIR}/php-fpm.conf"
|
||||
exeinto /usr/libexec
|
||||
doexe "${FILESDIR}/php-fpm-launcher"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use apache2 ; then
|
||||
elog
|
||||
elog "If you are upgrading, be warned that our mod_php configuration"
|
||||
elog "file has changed! You should now define -DPHP for the apache2"
|
||||
elog "daemon, and inspect the new 70_mod_php.conf which has been"
|
||||
elog "installed. Module loading involves eselect as of this version."
|
||||
elog
|
||||
elog "You must run eselect at least once to choose your apache2 target"
|
||||
elog "before the new configuration will work. Afterwards, and after you"
|
||||
elog "have reviewed your new configuration, you are advised to remove"
|
||||
elog "the obsolete 70_mod_php5.conf file."
|
||||
elog
|
||||
fi
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
###########
|
||||
# WARNING #
|
||||
###########
|
||||
#
|
||||
# This file is provided for backwards compatibility only. The Apache
|
||||
# PHP configuration is now located in 70_mod_php.conf and requires you
|
||||
# to set -DPHP in your Apache conf.d file. Please examine
|
||||
# 70_mod_php.conf and update your Apache configuration to use -DPHP
|
||||
# instead of -DPHP5. Afterwards you may delete this file.
|
||||
#
|
||||
<IfDefine PHP5>
|
||||
# Load the module first
|
||||
<IfModule !mod_php5.c>
|
||||
LoadModule php5_module modules/libphp5.so
|
||||
</IfModule>
|
||||
|
||||
# Set it to handle the files
|
||||
# NOTE: Avoiding AddHandler/AddType for security (bug #538822)
|
||||
# NOTE: Please read the related news item!
|
||||
<FilesMatch "\.(php|php5|phtml)$">
|
||||
SetHandler application/x-httpd-php
|
||||
</FilesMatch>
|
||||
<FilesMatch "\.phps$">
|
||||
SetHandler application/x-httpd-php-source
|
||||
</FilesMatch>
|
||||
|
||||
DirectoryIndex index.php index.phtml
|
||||
</IfDefine>
|
@ -1,427 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils linux-mod linux-info toolchain-funcs flag-o-matic autotools
|
||||
|
||||
DESCRIPTION="decode and send infra-red signals of many commonly used remote controls"
|
||||
HOMEPAGE="http://www.lirc.org/"
|
||||
|
||||
MY_P=${PN}-${PV/_/}
|
||||
|
||||
if [[ "${PV/_pre/}" = "${PV}" ]]; then
|
||||
SRC_URI="mirror://sourceforge/lirc/${MY_P}.tar.bz2"
|
||||
else
|
||||
SRC_URI="http://www.lirc.org/software/snapshots/${MY_P}.tar.bz2"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc ppc64 x86"
|
||||
IUSE="debug doc hardware-carrier transmitter static-libs X"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
RDEPEND="
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libSM
|
||||
x11-libs/libICE
|
||||
)
|
||||
lirc_devices_alsa_usb? ( media-libs/alsa-lib )
|
||||
lirc_devices_audio? ( >media-libs/portaudio-18 )
|
||||
lirc_devices_irman? ( media-libs/libirman )"
|
||||
|
||||
# 2012-07-17, Ian Stakenvicius
|
||||
# A helper script that scrapes out values for nearly all of the variables below
|
||||
# from lirc's configure.ac is available at
|
||||
# https://dev.gentoo.org/~axs/helper-for-lirc-iuse.sh
|
||||
|
||||
# This are drivers with names matching the
|
||||
# parameter --with-driver=NAME
|
||||
IUSE_LIRC_DEVICES_DIRECT="
|
||||
all userspace accent act200l act220l
|
||||
adaptec alsa_usb animax asusdh atilibusb
|
||||
atiusb audio audio_alsa avermedia avermedia_vdomate
|
||||
avermedia98 awlibusb bestbuy bestbuy2 breakoutbox
|
||||
bte bw6130 caraca chronos commandir
|
||||
cph06x creative creative_infracd
|
||||
devinput digimatrix dsp dvico ea65 ene0100
|
||||
exaudio flyvideo ftdi gvbctv5pci hauppauge
|
||||
hauppauge_dvb hercules_smarttv_stereo i2cuser
|
||||
igorplugusb iguanaIR imon imon_24g imon_knob
|
||||
imon_lcd imon_pad imon_rsc irdeo irdeo_remote
|
||||
irlink irman irreal it87 ite8709
|
||||
knc_one kworld leadtek_0007 leadtek_0010
|
||||
leadtek_pvr2000 livedrive_midi
|
||||
livedrive_seq logitech macmini
|
||||
mediafocusI mouseremote
|
||||
mouseremote_ps2 mp3anywhere mplay nslu2
|
||||
packard_bell parallel pcmak pcmak_usb
|
||||
pctv pixelview_bt878 pixelview_pak
|
||||
pixelview_pro provideo realmagic
|
||||
remotemaster sa1100 samsung sasem sb0540 serial
|
||||
silitek sir slinke streamzap tekram
|
||||
tekram_bt829 tira ttusbir tuxbox tvbox udp uirt2
|
||||
uirt2_raw usb_uirt_raw usbx wpc8769l"
|
||||
|
||||
# drivers that need special handling and
|
||||
# must have another name specified for
|
||||
# parameter --with-driver=NAME
|
||||
IUSE_LIRC_DEVICES_SPECIAL="
|
||||
serial_igor_cesko
|
||||
remote_wonder_plus xboxusb usbirboy inputlirc"
|
||||
|
||||
IUSE_LIRC_DEVICES="${IUSE_LIRC_DEVICES_DIRECT} ${IUSE_LIRC_DEVICES_SPECIAL}"
|
||||
|
||||
# The following are lists which are used to provide ewarns on incompatibilities
|
||||
# with the kernel:
|
||||
|
||||
#drivers that do not build kernel modules
|
||||
NO_KMOD_BUILT_FOR_DEV="
|
||||
accent bte creative creative_infracd devinput dsp ea65 exaudio
|
||||
ftdi i2cuser irlink irreal livedrive_midi livedrive_seq logitech
|
||||
mediafocusI mouseremote mouseremote_ps2 mp3anywhere mplay mplay2
|
||||
pcmak pcmak_usb pctv realmagic remotemaster silitek tira tira_raw
|
||||
tuxbox udp uirt2 uirt2_raw usb_uirt_raw usbx"
|
||||
|
||||
#drivers that build lirc_dev and so will conflict with kernel lirc_dev
|
||||
LIRCDEV_BUILT_FOR_DEV="all
|
||||
act200l act220l adaptec animax atiusb breakoutbox hauppauge
|
||||
hauppauge_dvb hercules_smarttv_stereo igorplugusb imon imon_24g
|
||||
imon_knob imon_lcd imon_pad imon_rsc irdeo irdeo_remote knc_one
|
||||
leadtek_pvr2000 nslu2 packard_bell parallel pixelview_bt878
|
||||
provideo sa1100 sasem serial sir tekram tekram_bt829 ttusbir
|
||||
tvbox wpc8769l"
|
||||
|
||||
#lirc_gpio drivers, which cannot be supported on kernel >= 2.6.22
|
||||
LIRC_GPIO_DEV="
|
||||
avermedia avermedia98 avermedia_vdomate bestbuy bestbuy2 chronos
|
||||
cph03x cph06x flyvideo gvbctv5pci kworld leadtek_0007 leadtek_0010
|
||||
pixelview_pak pixelview_pro"
|
||||
|
||||
#device-driver which use libusb
|
||||
LIBUSB_USED_BY_DEV="
|
||||
all atilibusb awlibusb sasem igorplugusb imon imon_lcd imon_pad
|
||||
imon_rsc streamzap xboxusb irlink commandir"
|
||||
|
||||
for dev in ${LIBUSB_USED_BY_DEV}; do
|
||||
DEPEND="${DEPEND} lirc_devices_${dev}? ( virtual/libusb:0 )"
|
||||
done
|
||||
|
||||
# adding only compile-time depends
|
||||
DEPEND="${RDEPEND} ${DEPEND}
|
||||
virtual/linux-sources
|
||||
lirc_devices_ftdi? ( dev-embedded/libftdi )
|
||||
lirc_devices_all? ( dev-embedded/libftdi )"
|
||||
|
||||
# adding only run-time depends
|
||||
RDEPEND="${RDEPEND}
|
||||
lirc_devices_usbirboy? ( app-misc/usbirboy )
|
||||
lirc_devices_inputlirc? ( app-misc/inputlircd )
|
||||
lirc_devices_iguanaIR? ( app-misc/iguanaIR )"
|
||||
|
||||
# add all devices to IUSE
|
||||
# and ensure lirc_devices_all is not set alongside lirc_devices_*
|
||||
REQUIRED_USE="lirc_devices_all? ("
|
||||
for dev in ${IUSE_LIRC_DEVICES}; do
|
||||
IUSE="${IUSE} lirc_devices_${dev}"
|
||||
if [[ "${dev}" != "all" ]]; then
|
||||
REQUIRED_USE="${REQUIRED_USE} !lirc_devices_${dev}"
|
||||
fi
|
||||
done
|
||||
REQUIRED_USE="${REQUIRED_USE} )"
|
||||
|
||||
add_device() {
|
||||
local dev="${1}"
|
||||
local desc="device ${dev}"
|
||||
if [[ -n "${2}" ]]; then
|
||||
desc="${2}"
|
||||
fi
|
||||
|
||||
# Bug #187418
|
||||
if kernel_is ge 2 6 22 && [[ " ${LIRC_GPIO_DEV} " == *" ${dev} "* ]]; then
|
||||
eerror "${desc} uses lirc_gpio which fails with kernel 2.6.22 or above. Not building."
|
||||
eerror "Use 'devinput' instead, or use 'userspace' along with in-kernel drivers"
|
||||
return 0
|
||||
fi
|
||||
: ${lirc_device_count:=0}
|
||||
((lirc_device_count++))
|
||||
|
||||
elog "Compiling support for ${desc}"
|
||||
|
||||
if [[ " ${LIRCDEV_BUILT_FOR_DEV} " == *" ${dev} "* ]] ; then
|
||||
if linux_chkconfig_present LIRC ; then
|
||||
ewarn "${desc} builds lirc_dev and CONFIG_LIRC is set in the kernel -- this may conflict."
|
||||
fi
|
||||
if ! linux_chkconfig_present MODULE_UNLOAD ; then
|
||||
ewarn "${desc} builds modules and CONFIG_MODULE_UNLOAD is unset in kernel."
|
||||
ewarn "You will need MODULE_UNLOAD support in your kernel."
|
||||
fi
|
||||
fi
|
||||
if [[ " ${NO_KMOD_BUILT_FOR_DEV} " == *" ${dev} "* ]] && ! linux_chkconfig_present IR_LIRC_CODEC ; then
|
||||
ewarn "${desc} builds no kernel module and CONFIG_IR_LIRC_CODEC is unset in kernel."
|
||||
fi
|
||||
|
||||
if [[ ${lirc_device_count} -eq 2 ]] ; then
|
||||
ewarn
|
||||
ewarn "LIRC_DEVICES has more than one entry."
|
||||
ewarn "When selecting multiple devices for lirc to be supported,"
|
||||
ewarn "it can not be guaranteed that the drivers play nice together."
|
||||
ewarn "If this is not intended, then please adjust LIRC_DEVICES"
|
||||
ewarn "and re-emerge."
|
||||
ewarn
|
||||
fi
|
||||
|
||||
MY_OPTS="${MY_OPTS} --with-driver=${dev}"
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
if [[ -n "${LIRC_OPTS}" ]] ; then
|
||||
ewarn
|
||||
ewarn "LIRC_OPTS is deprecated from lirc-0.8.0-r1 on."
|
||||
ewarn
|
||||
ewarn "Please use LIRC_DEVICES from now on."
|
||||
ewarn "e.g. LIRC_DEVICES=\"serial sir\""
|
||||
ewarn
|
||||
ewarn "Flags are now set per use-flags."
|
||||
ewarn "e.g. transmitter, hardware-carrier"
|
||||
|
||||
local opt
|
||||
local unsupported_opts=""
|
||||
|
||||
# test for allowed options for LIRC_OPTS
|
||||
for opt in ${LIRC_OPTS}; do
|
||||
case ${opt} in
|
||||
--with-port=*|--with-irq=*|--with-timer=*|--with-tty=*)
|
||||
MY_OPTS="${MY_OPTS} ${opt}"
|
||||
;;
|
||||
*)
|
||||
unsupported_opts="${unsupported_opts} ${opt}"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
if [[ -n ${unsupported_opts} ]]; then
|
||||
eerror "These options are no longer allowed to be set"
|
||||
eerror "with LIRC_OPTS: ${unsupported_opts}"
|
||||
die "LIRC_OPTS is no longer supported, use LIRC_DEVICES."
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
linux-mod_pkg_setup
|
||||
|
||||
# set default configure options
|
||||
MY_OPTS=""
|
||||
LIRC_DRIVER_DEVICE="/dev/lirc0"
|
||||
|
||||
if use lirc_devices_all; then
|
||||
# compile in drivers for a lot of devices
|
||||
add_device all "a lot of devices"
|
||||
else
|
||||
# compile in only requested drivers
|
||||
local dev
|
||||
for dev in ${IUSE_LIRC_DEVICES_DIRECT}; do
|
||||
if use lirc_devices_${dev}; then
|
||||
add_device ${dev}
|
||||
fi
|
||||
done
|
||||
|
||||
if use lirc_devices_remote_wonder_plus; then
|
||||
add_device atiusb "device Remote Wonder Plus (atiusb-based)"
|
||||
fi
|
||||
|
||||
if use lirc_devices_serial_igor_cesko; then
|
||||
add_device serial "serial with Igor Cesko design"
|
||||
MY_OPTS="${MY_OPTS} --with-igor"
|
||||
fi
|
||||
|
||||
if use lirc_devices_imon_pad; then
|
||||
ewarn "The imon_pad driver has incorporated the previous pad2keys patch"
|
||||
ewarn "and removed the pad2keys_active option for the lirc_imon module"
|
||||
ewarn "because it is always active."
|
||||
ewarn "If you have an older imon VFD device, you may need to add the module"
|
||||
ewarn "option display_type=1 to override autodetection and force VFD mode."
|
||||
fi
|
||||
|
||||
if use lirc_devices_xboxusb; then
|
||||
add_device atiusb "device xboxusb"
|
||||
fi
|
||||
|
||||
if use lirc_devices_usbirboy; then
|
||||
add_device userspace "device usbirboy"
|
||||
LIRC_DRIVER_DEVICE="/dev/usbirboy"
|
||||
fi
|
||||
|
||||
if [[ "${MY_OPTS}" == "" ]]; then
|
||||
if [[ "${PROFILE_ARCH}" == "xbox" ]]; then
|
||||
# on xbox: use special driver
|
||||
add_device atiusb "device xboxusb"
|
||||
else
|
||||
# no driver requested
|
||||
elog
|
||||
elog "Compiling only the lirc-applications, but no drivers."
|
||||
elog "Enable drivers with LIRC_DEVICES if you need them."
|
||||
MY_OPTS="--with-driver=none"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
use hardware-carrier && MY_OPTS="${MY_OPTS} --without-soft-carrier"
|
||||
use transmitter && MY_OPTS="${MY_OPTS} --with-transmitter"
|
||||
|
||||
einfo
|
||||
einfo "lirc-configure-opts: ${MY_OPTS}"
|
||||
elog "Setting default lirc-device to ${LIRC_DRIVER_DEVICE}"
|
||||
|
||||
filter-flags -Wl,-O1
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Rip out dos CRLF
|
||||
edos2unix contrib/lirc.rules
|
||||
|
||||
# Apply patches needed for some special device-types
|
||||
use lirc_devices_audio || epatch "${FILESDIR}"/lirc-0.8.4-portaudio_check.patch
|
||||
use lirc_devices_remote_wonder_plus && epatch "${FILESDIR}"/lirc-0.8.3_pre1-remotewonderplus.patch
|
||||
|
||||
# Apply fixes for kernel-2.6.39 and above
|
||||
epatch "${FILESDIR}"/${P}-kernel-2.6.39-fixes.patch
|
||||
# Slightly massaged upstream patch to fix kfifo issues >=2.6.38
|
||||
# for bug 377033
|
||||
epatch "${FILESDIR}"/${P}-atiusb_kfifo.patch
|
||||
# Apply fixes for kernel-3.3 and above (bug 439538)
|
||||
epatch "${FILESDIR}"/${P}-kernel-3.3.0-fixes.patch
|
||||
# Apply fix for missing err() in usb.h for kernel 3.5+ (bug 444736)
|
||||
epatch "${FILESDIR}"/${P}-kernel-3.5-err-fix.patch
|
||||
# Apply fix for missing __devinit __devexit defines in kernel 3.8+ (bug 461532)
|
||||
epatch "${FILESDIR}"/${P}-kernel-3.8-fixes.patch
|
||||
|
||||
# Do not build drivers from the top-level Makefile
|
||||
sed -i -e 's:\(SUBDIRS =\) drivers\(.*\):\1\2:' Makefile.am
|
||||
|
||||
# remove parallel driver on SMP systems
|
||||
if linux_chkconfig_present SMP ; then
|
||||
sed -i -e "s:lirc_parallel\.o::" drivers/lirc_parallel/Makefile.am
|
||||
fi
|
||||
|
||||
# Bug #187418 - only need this part for lirc_devices_all as others die in pkg_setup
|
||||
if use lirc_devices_all && kernel_is ge 2 6 22 ; then
|
||||
ewarn "Disabling lirc_gpio driver as it does no longer work Kernel 2.6.22+"
|
||||
sed -i -e "s:lirc_gpio\.o::" drivers/lirc_gpio/Makefile.am
|
||||
fi
|
||||
|
||||
# respect CFLAGS
|
||||
sed -i -e 's:CFLAGS="-O2:CFLAGS=""\n#CFLAGS="-O2:' configure.ac
|
||||
|
||||
# setting default device-node
|
||||
local f
|
||||
for f in configure.ac acconfig.h; do
|
||||
[[ -f "$f" ]] && sed -i -e '/#define LIRC_DRIVER_DEVICE/d' "$f"
|
||||
done
|
||||
echo "#define LIRC_DRIVER_DEVICE \"${LIRC_DRIVER_DEVICE}\"" >> acconfig.h
|
||||
|
||||
sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac || die # automake 1.13
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--localstatedir=/var \
|
||||
--with-syslog=LOG_DAEMON \
|
||||
--enable-sandboxed \
|
||||
--with-kerneldir="${KV_DIR}" \
|
||||
--with-moduledir="/lib/modules/${KV_FULL}/misc" \
|
||||
$(use_enable debug) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_with X x) \
|
||||
${MY_OPTS} \
|
||||
ABI="${KERNEL_ABI}" \
|
||||
ARCH="$(tc-arch-kernel)"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# force non-parallel make, Bug 196134 (confirmed valid for 0.9.0-r2)
|
||||
emake -j1
|
||||
|
||||
MODULE_NAMES="lirc(misc:${S}/drivers)"
|
||||
BUILD_TARGETS="all"
|
||||
linux-mod_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
emake -C drivers DESTDIR="${D}" install
|
||||
|
||||
newinitd "${FILESDIR}"/lircd-0.8.6-r2 lircd
|
||||
newinitd "${FILESDIR}"/lircmd lircmd
|
||||
newconfd "${FILESDIR}"/lircd.conf.4 lircd
|
||||
|
||||
insinto /etc/modprobe.d/
|
||||
newins "${FILESDIR}"/modprobed.lirc lirc.conf
|
||||
|
||||
newinitd "${FILESDIR}"/irexec-initd-0.8.6-r2 irexec
|
||||
newconfd "${FILESDIR}"/irexec-confd irexec
|
||||
|
||||
if use doc ; then
|
||||
dohtml doc/html/*.html
|
||||
insinto /usr/share/doc/${PF}/images
|
||||
doins doc/images/*
|
||||
fi
|
||||
|
||||
insinto /usr/share/lirc/remotes
|
||||
doins -r remotes/*
|
||||
|
||||
keepdir /etc/lirc
|
||||
if [[ -e "${D}"/etc/lirc/lircd.conf ]]; then
|
||||
newdoc "${D}"/etc/lirc/lircd.conf lircd.conf.example
|
||||
fi
|
||||
|
||||
use static-libs || rm "${D}/usr/$(get_libdir)/liblirc_client.la"
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
linux-mod_pkg_preinst
|
||||
|
||||
local dir="${EROOT}/etc/modprobe.d"
|
||||
if [[ -a "${dir}"/lirc && ! -a "${dir}"/lirc.conf ]]; then
|
||||
elog "Renaming ${dir}/lirc to lirc.conf"
|
||||
mv -f "${dir}/lirc" "${dir}/lirc.conf"
|
||||
fi
|
||||
|
||||
# copy the first file that can be found
|
||||
if [[ -f "${EROOT}"/etc/lirc/lircd.conf ]]; then
|
||||
cp "${EROOT}"/etc/lirc/lircd.conf "${T}"/lircd.conf
|
||||
elif [[ -f "${EROOT}"/etc/lircd.conf ]]; then
|
||||
cp "${EROOT}"/etc/lircd.conf "${T}"/lircd.conf
|
||||
MOVE_OLD_LIRCD_CONF=1
|
||||
elif [[ -f "${D}"/etc/lirc/lircd.conf ]]; then
|
||||
cp "${D}"/etc/lirc/lircd.conf "${T}"/lircd.conf
|
||||
fi
|
||||
|
||||
# stop portage from touching the config file
|
||||
if [[ -e "${D}"/etc/lirc/lircd.conf ]]; then
|
||||
rm -f "${D}"/etc/lirc/lircd.conf
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
linux-mod_pkg_postinst
|
||||
|
||||
# copy config file to new location
|
||||
# without portage knowing about it
|
||||
# so it will not delete it on unmerge or ever touch it again
|
||||
if [[ -e "${T}"/lircd.conf ]]; then
|
||||
cp "${T}"/lircd.conf "${EROOT}"/etc/lirc/lircd.conf
|
||||
if [[ "$MOVE_OLD_LIRCD_CONF" = "1" ]]; then
|
||||
elog "Moved /etc/lircd.conf to /etc/lirc/lircd.conf"
|
||||
rm -f "${EROOT}"/etc/lircd.conf
|
||||
fi
|
||||
fi
|
||||
|
||||
einfo "The new default location for lircd.conf is inside of"
|
||||
einfo "/etc/lirc/ directory"
|
||||
}
|
@ -1,429 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils linux-mod linux-info toolchain-funcs flag-o-matic autotools
|
||||
|
||||
DESCRIPTION="decode and send infra-red signals of many commonly used remote controls"
|
||||
HOMEPAGE="http://www.lirc.org/"
|
||||
|
||||
MY_P=${PN}-${PV/_/}
|
||||
|
||||
if [[ "${PV/_pre/}" = "${PV}" ]]; then
|
||||
SRC_URI="mirror://sourceforge/lirc/${MY_P}.tar.bz2"
|
||||
else
|
||||
SRC_URI="http://www.lirc.org/software/snapshots/${MY_P}.tar.bz2"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="debug doc hardware-carrier transmitter static-libs X"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
RDEPEND="
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libSM
|
||||
x11-libs/libICE
|
||||
)
|
||||
lirc_devices_alsa_usb? ( media-libs/alsa-lib )
|
||||
lirc_devices_audio? ( >media-libs/portaudio-18 )
|
||||
lirc_devices_irman? ( media-libs/libirman )"
|
||||
|
||||
# 2012-07-17, Ian Stakenvicius
|
||||
# A helper script that scrapes out values for nearly all of the variables below
|
||||
# from lirc's configure.ac is available at
|
||||
# https://dev.gentoo.org/~axs/helper-for-lirc-iuse.sh
|
||||
|
||||
# This are drivers with names matching the
|
||||
# parameter --with-driver=NAME
|
||||
IUSE_LIRC_DEVICES_DIRECT="
|
||||
all userspace accent act200l act220l
|
||||
adaptec alsa_usb animax asusdh atilibusb
|
||||
atiusb audio audio_alsa avermedia avermedia_vdomate
|
||||
avermedia98 awlibusb bestbuy bestbuy2 breakoutbox
|
||||
bte bw6130 caraca chronos commandir
|
||||
cph06x creative creative_infracd
|
||||
devinput digimatrix dsp dvico ea65 ene0100
|
||||
exaudio flyvideo ftdi gvbctv5pci hauppauge
|
||||
hauppauge_dvb hercules_smarttv_stereo i2cuser
|
||||
igorplugusb iguanaIR imon imon_24g imon_knob
|
||||
imon_lcd imon_pad imon_rsc irdeo irdeo_remote
|
||||
irlink irman irreal it87 ite8709
|
||||
knc_one kworld leadtek_0007 leadtek_0010
|
||||
leadtek_pvr2000 livedrive_midi
|
||||
livedrive_seq logitech macmini
|
||||
mediafocusI mouseremote
|
||||
mouseremote_ps2 mp3anywhere mplay nslu2
|
||||
packard_bell parallel pcmak pcmak_usb
|
||||
pctv pixelview_bt878 pixelview_pak
|
||||
pixelview_pro provideo realmagic
|
||||
remotemaster sa1100 samsung sasem sb0540 serial
|
||||
silitek sir slinke streamzap tekram
|
||||
tekram_bt829 tira ttusbir tuxbox tvbox udp uirt2
|
||||
uirt2_raw usb_uirt_raw usbx wpc8769l zotac"
|
||||
|
||||
# drivers that need special handling and
|
||||
# must have another name specified for
|
||||
# parameter --with-driver=NAME
|
||||
IUSE_LIRC_DEVICES_SPECIAL="
|
||||
serial_igor_cesko
|
||||
remote_wonder_plus xboxusb usbirboy inputlirc"
|
||||
|
||||
IUSE_LIRC_DEVICES="${IUSE_LIRC_DEVICES_DIRECT} ${IUSE_LIRC_DEVICES_SPECIAL}"
|
||||
|
||||
# The following are lists which are used to provide ewarns on incompatibilities
|
||||
# with the kernel:
|
||||
|
||||
#drivers that do not build kernel modules
|
||||
NO_KMOD_BUILT_FOR_DEV="
|
||||
accent bte creative creative_infracd devinput dsp ea65 exaudio
|
||||
ftdi i2cuser irlink irreal livedrive_midi livedrive_seq logitech
|
||||
mediafocusI mouseremote mouseremote_ps2 mp3anywhere mplay mplay2
|
||||
pcmak pcmak_usb pctv realmagic remotemaster silitek tira tira_raw
|
||||
tuxbox udp uirt2 uirt2_raw usb_uirt_raw usbx"
|
||||
|
||||
#drivers that build lirc_dev and so will conflict with kernel lirc_dev
|
||||
LIRCDEV_BUILT_FOR_DEV="all
|
||||
act200l act220l adaptec animax atiusb breakoutbox hauppauge
|
||||
hauppauge_dvb hercules_smarttv_stereo igorplugusb imon imon_24g
|
||||
imon_knob imon_lcd imon_pad imon_rsc irdeo irdeo_remote knc_one
|
||||
leadtek_pvr2000 nslu2 packard_bell parallel pixelview_bt878
|
||||
provideo sa1100 sasem serial sir tekram tekram_bt829 ttusbir
|
||||
tvbox wpc8769l zotac"
|
||||
|
||||
#lirc_gpio drivers, which cannot be supported on kernel >= 2.6.22
|
||||
LIRC_GPIO_DEV="
|
||||
avermedia avermedia98 avermedia_vdomate bestbuy bestbuy2 chronos
|
||||
cph03x cph06x flyvideo gvbctv5pci kworld leadtek_0007 leadtek_0010
|
||||
pixelview_pak pixelview_pro"
|
||||
|
||||
#device-driver which use libusb
|
||||
LIBUSB_USED_BY_DEV="
|
||||
all atilibusb awlibusb sasem igorplugusb imon imon_lcd imon_pad
|
||||
imon_rsc streamzap xboxusb irlink commandir"
|
||||
|
||||
for dev in ${LIBUSB_USED_BY_DEV}; do
|
||||
DEPEND="${DEPEND} lirc_devices_${dev}? ( virtual/libusb:0 )"
|
||||
done
|
||||
|
||||
# adding only compile-time depends
|
||||
DEPEND="${RDEPEND} ${DEPEND}
|
||||
virtual/linux-sources
|
||||
lirc_devices_ftdi? ( dev-embedded/libftdi )
|
||||
lirc_devices_all? ( dev-embedded/libftdi )"
|
||||
|
||||
# adding only run-time depends
|
||||
RDEPEND="${RDEPEND}
|
||||
lirc_devices_usbirboy? ( app-misc/usbirboy )
|
||||
lirc_devices_inputlirc? ( app-misc/inputlircd )
|
||||
lirc_devices_iguanaIR? ( app-misc/iguanaIR )"
|
||||
|
||||
# add all devices to IUSE
|
||||
# and ensure lirc_devices_all is not set alongside lirc_devices_*
|
||||
REQUIRED_USE="lirc_devices_all? ("
|
||||
for dev in ${IUSE_LIRC_DEVICES}; do
|
||||
IUSE="${IUSE} lirc_devices_${dev}"
|
||||
if [[ "${dev}" != "all" ]]; then
|
||||
REQUIRED_USE="${REQUIRED_USE} !lirc_devices_${dev}"
|
||||
fi
|
||||
done
|
||||
REQUIRED_USE="${REQUIRED_USE} )"
|
||||
|
||||
add_device() {
|
||||
local dev="${1}"
|
||||
local desc="device ${dev}"
|
||||
if [[ -n "${2}" ]]; then
|
||||
desc="${2}"
|
||||
fi
|
||||
|
||||
# Bug #187418
|
||||
if kernel_is ge 2 6 22 && [[ " ${LIRC_GPIO_DEV} " == *" ${dev} "* ]]; then
|
||||
eerror "${desc} uses lirc_gpio which fails with kernel 2.6.22 or above. Not building."
|
||||
eerror "Use 'devinput' instead, or use 'userspace' along with in-kernel drivers"
|
||||
return 0
|
||||
fi
|
||||
: ${lirc_device_count:=0}
|
||||
((lirc_device_count++))
|
||||
|
||||
elog "Compiling support for ${desc}"
|
||||
|
||||
if [[ " ${LIRCDEV_BUILT_FOR_DEV} " == *" ${dev} "* ]] ; then
|
||||
if linux_chkconfig_present LIRC ; then
|
||||
ewarn "${desc} builds lirc_dev and CONFIG_LIRC is set in the kernel -- this may conflict."
|
||||
fi
|
||||
if ! linux_chkconfig_present MODULE_UNLOAD ; then
|
||||
ewarn "${desc} builds modules and CONFIG_MODULE_UNLOAD is unset in kernel."
|
||||
ewarn "You will need MODULE_UNLOAD support in your kernel."
|
||||
fi
|
||||
fi
|
||||
if [[ " ${NO_KMOD_BUILT_FOR_DEV} " == *" ${dev} "* ]] && ! linux_chkconfig_present IR_LIRC_CODEC ; then
|
||||
ewarn "${desc} builds no kernel module and CONFIG_IR_LIRC_CODEC is unset in kernel."
|
||||
fi
|
||||
|
||||
if [[ ${lirc_device_count} -eq 2 ]] ; then
|
||||
ewarn
|
||||
ewarn "LIRC_DEVICES has more than one entry."
|
||||
ewarn "When selecting multiple devices for lirc to be supported,"
|
||||
ewarn "it can not be guaranteed that the drivers play nice together."
|
||||
ewarn "If this is not intended, then please adjust LIRC_DEVICES"
|
||||
ewarn "and re-emerge."
|
||||
ewarn
|
||||
fi
|
||||
|
||||
MY_OPTS="${MY_OPTS} --with-driver=${dev}"
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
if [[ -n "${LIRC_OPTS}" ]] ; then
|
||||
ewarn
|
||||
ewarn "LIRC_OPTS is deprecated from lirc-0.8.0-r1 on."
|
||||
ewarn
|
||||
ewarn "Please use LIRC_DEVICES from now on."
|
||||
ewarn "e.g. LIRC_DEVICES=\"serial sir\""
|
||||
ewarn
|
||||
ewarn "Flags are now set per use-flags."
|
||||
ewarn "e.g. transmitter, hardware-carrier"
|
||||
|
||||
local opt
|
||||
local unsupported_opts=""
|
||||
|
||||
# test for allowed options for LIRC_OPTS
|
||||
for opt in ${LIRC_OPTS}; do
|
||||
case ${opt} in
|
||||
--with-port=*|--with-irq=*|--with-timer=*|--with-tty=*)
|
||||
MY_OPTS="${MY_OPTS} ${opt}"
|
||||
;;
|
||||
*)
|
||||
unsupported_opts="${unsupported_opts} ${opt}"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
if [[ -n ${unsupported_opts} ]]; then
|
||||
eerror "These options are no longer allowed to be set"
|
||||
eerror "with LIRC_OPTS: ${unsupported_opts}"
|
||||
die "LIRC_OPTS is no longer supported, use LIRC_DEVICES."
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
linux-mod_pkg_setup
|
||||
|
||||
# set default configure options
|
||||
MY_OPTS=""
|
||||
LIRC_DRIVER_DEVICE="/dev/lirc0"
|
||||
|
||||
if use lirc_devices_all; then
|
||||
# compile in drivers for a lot of devices
|
||||
add_device all "a lot of devices"
|
||||
else
|
||||
# compile in only requested drivers
|
||||
local dev
|
||||
for dev in ${IUSE_LIRC_DEVICES_DIRECT}; do
|
||||
if use lirc_devices_${dev}; then
|
||||
add_device ${dev}
|
||||
fi
|
||||
done
|
||||
|
||||
if use lirc_devices_remote_wonder_plus; then
|
||||
add_device atiusb "device Remote Wonder Plus (atiusb-based)"
|
||||
fi
|
||||
|
||||
if use lirc_devices_serial_igor_cesko; then
|
||||
add_device serial "serial with Igor Cesko design"
|
||||
MY_OPTS="${MY_OPTS} --with-igor"
|
||||
fi
|
||||
|
||||
if use lirc_devices_imon_pad; then
|
||||
ewarn "The imon_pad driver has incorporated the previous pad2keys patch"
|
||||
ewarn "and removed the pad2keys_active option for the lirc_imon module"
|
||||
ewarn "because it is always active."
|
||||
ewarn "If you have an older imon VFD device, you may need to add the module"
|
||||
ewarn "option display_type=1 to override autodetection and force VFD mode."
|
||||
fi
|
||||
|
||||
if use lirc_devices_xboxusb; then
|
||||
add_device atiusb "device xboxusb"
|
||||
fi
|
||||
|
||||
if use lirc_devices_usbirboy; then
|
||||
add_device userspace "device usbirboy"
|
||||
LIRC_DRIVER_DEVICE="/dev/usbirboy"
|
||||
fi
|
||||
|
||||
if [[ "${MY_OPTS}" == "" ]]; then
|
||||
if [[ "${PROFILE_ARCH}" == "xbox" ]]; then
|
||||
# on xbox: use special driver
|
||||
add_device atiusb "device xboxusb"
|
||||
else
|
||||
# no driver requested
|
||||
elog
|
||||
elog "Compiling only the lirc-applications, but no drivers."
|
||||
elog "Enable drivers with LIRC_DEVICES if you need them."
|
||||
MY_OPTS="--with-driver=none"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
use hardware-carrier && MY_OPTS="${MY_OPTS} --without-soft-carrier"
|
||||
use transmitter && MY_OPTS="${MY_OPTS} --with-transmitter"
|
||||
|
||||
einfo
|
||||
einfo "lirc-configure-opts: ${MY_OPTS}"
|
||||
elog "Setting default lirc-device to ${LIRC_DRIVER_DEVICE}"
|
||||
|
||||
filter-flags -Wl,-O1
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Rip out dos CRLF
|
||||
edos2unix contrib/lirc.rules
|
||||
|
||||
# Apply patches needed for some special device-types
|
||||
use lirc_devices_audio || epatch "${FILESDIR}"/lirc-0.8.4-portaudio_check.patch
|
||||
use lirc_devices_remote_wonder_plus && epatch "${FILESDIR}"/lirc-0.8.3_pre1-remotewonderplus.patch
|
||||
|
||||
# Apply fixes for kernel-2.6.39 and above
|
||||
epatch "${FILESDIR}"/${P}-kernel-2.6.39-fixes.patch
|
||||
# Slightly massaged upstream patch to fix kfifo issues >=2.6.38
|
||||
# for bug 377033
|
||||
epatch "${FILESDIR}"/${P}-atiusb_kfifo.patch
|
||||
# Apply fixes for kernel-3.3 and above (bug 439538)
|
||||
epatch "${FILESDIR}"/${P}-kernel-3.3.0-fixes.patch
|
||||
# Apply fix for missing err() in usb.h for kernel 3.5+ (bug 444736)
|
||||
epatch "${FILESDIR}"/${P}-kernel-3.5-err-fix.patch
|
||||
# Apply fix for missing __devinit __devexit defines in kernel 3.8+ (bug 461532)
|
||||
epatch "${FILESDIR}"/${P}-kernel-3.8-fixes.patch
|
||||
# Add support for zotac remote, bug 342848
|
||||
epatch "${FILESDIR}"/${P}-add-zotac-support.patch
|
||||
|
||||
# Do not build drivers from the top-level Makefile
|
||||
sed -i -e 's:\(SUBDIRS =\) drivers\(.*\):\1\2:' Makefile.am
|
||||
|
||||
# remove parallel driver on SMP systems
|
||||
if linux_chkconfig_present SMP ; then
|
||||
sed -i -e "s:lirc_parallel\.o::" drivers/lirc_parallel/Makefile.am
|
||||
fi
|
||||
|
||||
# Bug #187418 - only need this part for lirc_devices_all as others die in pkg_setup
|
||||
if use lirc_devices_all && kernel_is ge 2 6 22 ; then
|
||||
ewarn "Disabling lirc_gpio driver as it does no longer work Kernel 2.6.22+"
|
||||
sed -i -e "s:lirc_gpio\.o::" drivers/lirc_gpio/Makefile.am
|
||||
fi
|
||||
|
||||
# respect CFLAGS
|
||||
sed -i -e 's:CFLAGS="-O2:CFLAGS=""\n#CFLAGS="-O2:' configure.ac
|
||||
|
||||
# setting default device-node
|
||||
local f
|
||||
for f in configure.ac acconfig.h; do
|
||||
[[ -f "$f" ]] && sed -i -e '/#define LIRC_DRIVER_DEVICE/d' "$f"
|
||||
done
|
||||
echo "#define LIRC_DRIVER_DEVICE \"${LIRC_DRIVER_DEVICE}\"" >> acconfig.h
|
||||
|
||||
sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac || die # automake 1.13
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--localstatedir=/var \
|
||||
--with-syslog=LOG_DAEMON \
|
||||
--enable-sandboxed \
|
||||
--with-kerneldir="${KV_DIR}" \
|
||||
--with-moduledir="/lib/modules/${KV_FULL}/misc" \
|
||||
$(use_enable debug) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_with X x) \
|
||||
${MY_OPTS} \
|
||||
ABI="${KERNEL_ABI}" \
|
||||
ARCH="$(tc-arch-kernel)"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# force non-parallel make, Bug 196134 (confirmed valid for 0.9.0-r2)
|
||||
emake -j1
|
||||
|
||||
MODULE_NAMES="lirc(misc:${S}/drivers)"
|
||||
BUILD_TARGETS="all"
|
||||
linux-mod_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
emake -C drivers DESTDIR="${D}" install
|
||||
|
||||
newinitd "${FILESDIR}"/lircd-0.8.6-r2 lircd
|
||||
newinitd "${FILESDIR}"/lircmd lircmd
|
||||
newconfd "${FILESDIR}"/lircd.conf.4 lircd
|
||||
|
||||
insinto /etc/modprobe.d/
|
||||
newins "${FILESDIR}"/modprobed.lirc lirc.conf
|
||||
|
||||
newinitd "${FILESDIR}"/irexec-initd-0.8.6-r2 irexec
|
||||
newconfd "${FILESDIR}"/irexec-confd irexec
|
||||
|
||||
if use doc ; then
|
||||
dohtml doc/html/*.html
|
||||
insinto /usr/share/doc/${PF}/images
|
||||
doins doc/images/*
|
||||
fi
|
||||
|
||||
insinto /usr/share/lirc/remotes
|
||||
doins -r remotes/*
|
||||
|
||||
keepdir /etc/lirc
|
||||
if [[ -e "${D}"/etc/lirc/lircd.conf ]]; then
|
||||
newdoc "${D}"/etc/lirc/lircd.conf lircd.conf.example
|
||||
fi
|
||||
|
||||
use static-libs || rm "${D}/usr/$(get_libdir)/liblirc_client.la"
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
linux-mod_pkg_preinst
|
||||
|
||||
local dir="${EROOT}/etc/modprobe.d"
|
||||
if [[ -a "${dir}"/lirc && ! -a "${dir}"/lirc.conf ]]; then
|
||||
elog "Renaming ${dir}/lirc to lirc.conf"
|
||||
mv -f "${dir}/lirc" "${dir}/lirc.conf"
|
||||
fi
|
||||
|
||||
# copy the first file that can be found
|
||||
if [[ -f "${EROOT}"/etc/lirc/lircd.conf ]]; then
|
||||
cp "${EROOT}"/etc/lirc/lircd.conf "${T}"/lircd.conf
|
||||
elif [[ -f "${EROOT}"/etc/lircd.conf ]]; then
|
||||
cp "${EROOT}"/etc/lircd.conf "${T}"/lircd.conf
|
||||
MOVE_OLD_LIRCD_CONF=1
|
||||
elif [[ -f "${D}"/etc/lirc/lircd.conf ]]; then
|
||||
cp "${D}"/etc/lirc/lircd.conf "${T}"/lircd.conf
|
||||
fi
|
||||
|
||||
# stop portage from touching the config file
|
||||
if [[ -e "${D}"/etc/lirc/lircd.conf ]]; then
|
||||
rm -f "${D}"/etc/lirc/lircd.conf
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
linux-mod_pkg_postinst
|
||||
|
||||
# copy config file to new location
|
||||
# without portage knowing about it
|
||||
# so it will not delete it on unmerge or ever touch it again
|
||||
if [[ -e "${T}"/lircd.conf ]]; then
|
||||
cp "${T}"/lircd.conf "${EROOT}"/etc/lirc/lircd.conf
|
||||
if [[ "$MOVE_OLD_LIRCD_CONF" = "1" ]]; then
|
||||
elog "Moved /etc/lircd.conf to /etc/lirc/lircd.conf"
|
||||
rm -f "${EROOT}"/etc/lircd.conf
|
||||
fi
|
||||
fi
|
||||
|
||||
einfo "The new default location for lircd.conf is inside of"
|
||||
einfo "/etc/lirc/ directory"
|
||||
}
|
@ -1,431 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils linux-mod linux-info toolchain-funcs flag-o-matic autotools
|
||||
|
||||
DESCRIPTION="decode and send infra-red signals of many commonly used remote controls"
|
||||
HOMEPAGE="http://www.lirc.org/"
|
||||
|
||||
MY_P=${PN}-${PV/_/}
|
||||
|
||||
if [[ "${PV/_pre/}" = "${PV}" ]]; then
|
||||
SRC_URI="mirror://sourceforge/lirc/${MY_P}.tar.bz2"
|
||||
else
|
||||
SRC_URI="http://www.lirc.org/software/snapshots/${MY_P}.tar.bz2"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="debug doc hardware-carrier transmitter static-libs X"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
RDEPEND="
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libSM
|
||||
x11-libs/libICE
|
||||
)
|
||||
lirc_devices_alsa_usb? ( media-libs/alsa-lib )
|
||||
lirc_devices_audio? ( >media-libs/portaudio-18 )
|
||||
lirc_devices_irman? ( media-libs/libirman )"
|
||||
|
||||
# 2012-07-17, Ian Stakenvicius
|
||||
# A helper script that scrapes out values for nearly all of the variables below
|
||||
# from lirc's configure.ac is available at
|
||||
# https://dev.gentoo.org/~axs/helper-for-lirc-iuse.sh
|
||||
|
||||
# This are drivers with names matching the
|
||||
# parameter --with-driver=NAME
|
||||
IUSE_LIRC_DEVICES_DIRECT="
|
||||
all userspace accent act200l act220l
|
||||
adaptec alsa_usb animax asusdh atilibusb
|
||||
atiusb audio audio_alsa avermedia avermedia_vdomate
|
||||
avermedia98 awlibusb bestbuy bestbuy2 breakoutbox
|
||||
bte bw6130 caraca chronos commandir
|
||||
cph06x creative creative_infracd
|
||||
devinput digimatrix dsp dvico ea65 ene0100
|
||||
exaudio flyvideo ftdi gvbctv5pci hauppauge
|
||||
hauppauge_dvb hercules_smarttv_stereo i2cuser
|
||||
igorplugusb iguanaIR imon imon_24g imon_knob
|
||||
imon_lcd imon_pad imon_rsc irdeo irdeo_remote
|
||||
irlink irman irreal it87 ite8709
|
||||
knc_one kworld leadtek_0007 leadtek_0010
|
||||
leadtek_pvr2000 livedrive_midi
|
||||
livedrive_seq logitech macmini
|
||||
mediafocusI mouseremote
|
||||
mouseremote_ps2 mp3anywhere mplay nslu2
|
||||
packard_bell parallel pcmak pcmak_usb
|
||||
pctv pixelview_bt878 pixelview_pak
|
||||
pixelview_pro provideo realmagic
|
||||
remotemaster sa1100 samsung sasem sb0540 serial
|
||||
silitek sir slinke streamzap tekram
|
||||
tekram_bt829 tira ttusbir tuxbox tvbox udp uirt2
|
||||
uirt2_raw usb_uirt_raw usbx wpc8769l zotac"
|
||||
|
||||
# drivers that need special handling and
|
||||
# must have another name specified for
|
||||
# parameter --with-driver=NAME
|
||||
IUSE_LIRC_DEVICES_SPECIAL="
|
||||
serial_igor_cesko
|
||||
remote_wonder_plus xboxusb usbirboy inputlirc"
|
||||
|
||||
IUSE_LIRC_DEVICES="${IUSE_LIRC_DEVICES_DIRECT} ${IUSE_LIRC_DEVICES_SPECIAL}"
|
||||
|
||||
# The following are lists which are used to provide ewarns on incompatibilities
|
||||
# with the kernel:
|
||||
|
||||
#drivers that do not build kernel modules
|
||||
NO_KMOD_BUILT_FOR_DEV="
|
||||
accent bte creative creative_infracd devinput dsp ea65 exaudio
|
||||
ftdi i2cuser irlink irreal livedrive_midi livedrive_seq logitech
|
||||
mediafocusI mouseremote mouseremote_ps2 mp3anywhere mplay mplay2
|
||||
pcmak pcmak_usb pctv realmagic remotemaster silitek tira tira_raw
|
||||
tuxbox udp uirt2 uirt2_raw usb_uirt_raw usbx"
|
||||
|
||||
#drivers that build lirc_dev and so will conflict with kernel lirc_dev
|
||||
LIRCDEV_BUILT_FOR_DEV="all
|
||||
act200l act220l adaptec animax atiusb breakoutbox hauppauge
|
||||
hauppauge_dvb hercules_smarttv_stereo igorplugusb imon imon_24g
|
||||
imon_knob imon_lcd imon_pad imon_rsc irdeo irdeo_remote knc_one
|
||||
leadtek_pvr2000 nslu2 packard_bell parallel pixelview_bt878
|
||||
provideo sa1100 sasem serial sir tekram tekram_bt829 ttusbir
|
||||
tvbox wpc8769l zotac"
|
||||
|
||||
#lirc_gpio drivers, which cannot be supported on kernel >= 2.6.22
|
||||
LIRC_GPIO_DEV="
|
||||
avermedia avermedia98 avermedia_vdomate bestbuy bestbuy2 chronos
|
||||
cph03x cph06x flyvideo gvbctv5pci kworld leadtek_0007 leadtek_0010
|
||||
pixelview_pak pixelview_pro"
|
||||
|
||||
#device-driver which use libusb
|
||||
LIBUSB_USED_BY_DEV="
|
||||
all atilibusb awlibusb sasem igorplugusb imon imon_lcd imon_pad
|
||||
imon_rsc streamzap xboxusb irlink commandir"
|
||||
|
||||
for dev in ${LIBUSB_USED_BY_DEV}; do
|
||||
DEPEND="${DEPEND} lirc_devices_${dev}? ( virtual/libusb:0 )"
|
||||
done
|
||||
|
||||
# adding only compile-time depends
|
||||
DEPEND="${RDEPEND} ${DEPEND}
|
||||
virtual/linux-sources
|
||||
lirc_devices_ftdi? ( dev-embedded/libftdi )
|
||||
lirc_devices_all? ( dev-embedded/libftdi )"
|
||||
|
||||
# adding only run-time depends
|
||||
RDEPEND="${RDEPEND}
|
||||
lirc_devices_usbirboy? ( app-misc/usbirboy )
|
||||
lirc_devices_inputlirc? ( app-misc/inputlircd )
|
||||
lirc_devices_iguanaIR? ( app-misc/iguanaIR )"
|
||||
|
||||
# add all devices to IUSE
|
||||
# and ensure lirc_devices_all is not set alongside lirc_devices_*
|
||||
REQUIRED_USE="lirc_devices_all? ("
|
||||
for dev in ${IUSE_LIRC_DEVICES}; do
|
||||
IUSE="${IUSE} lirc_devices_${dev}"
|
||||
if [[ "${dev}" != "all" ]]; then
|
||||
REQUIRED_USE="${REQUIRED_USE} !lirc_devices_${dev}"
|
||||
fi
|
||||
done
|
||||
REQUIRED_USE="${REQUIRED_USE} )"
|
||||
|
||||
add_device() {
|
||||
local dev="${1}"
|
||||
local desc="device ${dev}"
|
||||
if [[ -n "${2}" ]]; then
|
||||
desc="${2}"
|
||||
fi
|
||||
|
||||
# Bug #187418
|
||||
if kernel_is ge 2 6 22 && [[ " ${LIRC_GPIO_DEV} " == *" ${dev} "* ]]; then
|
||||
eerror "${desc} uses lirc_gpio which fails with kernel 2.6.22 or above. Not building."
|
||||
eerror "Use 'devinput' instead, or use 'userspace' along with in-kernel drivers"
|
||||
return 0
|
||||
fi
|
||||
: ${lirc_device_count:=0}
|
||||
((lirc_device_count++))
|
||||
|
||||
elog "Compiling support for ${desc}"
|
||||
|
||||
if [[ " ${LIRCDEV_BUILT_FOR_DEV} " == *" ${dev} "* ]] ; then
|
||||
if linux_chkconfig_present LIRC ; then
|
||||
ewarn "${desc} builds lirc_dev and CONFIG_LIRC is set in the kernel -- this may conflict."
|
||||
fi
|
||||
if ! linux_chkconfig_present MODULE_UNLOAD ; then
|
||||
ewarn "${desc} builds modules and CONFIG_MODULE_UNLOAD is unset in kernel."
|
||||
ewarn "You will need MODULE_UNLOAD support in your kernel."
|
||||
fi
|
||||
fi
|
||||
if [[ " ${NO_KMOD_BUILT_FOR_DEV} " == *" ${dev} "* ]] && ! linux_chkconfig_present IR_LIRC_CODEC ; then
|
||||
ewarn "${desc} builds no kernel module and CONFIG_IR_LIRC_CODEC is unset in kernel."
|
||||
fi
|
||||
|
||||
if [[ ${lirc_device_count} -eq 2 ]] ; then
|
||||
ewarn
|
||||
ewarn "LIRC_DEVICES has more than one entry."
|
||||
ewarn "When selecting multiple devices for lirc to be supported,"
|
||||
ewarn "it can not be guaranteed that the drivers play nice together."
|
||||
ewarn "If this is not intended, then please adjust LIRC_DEVICES"
|
||||
ewarn "and re-emerge."
|
||||
ewarn
|
||||
fi
|
||||
|
||||
MY_OPTS="${MY_OPTS} --with-driver=${dev}"
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
if [[ -n "${LIRC_OPTS}" ]] ; then
|
||||
ewarn
|
||||
ewarn "LIRC_OPTS is deprecated from lirc-0.8.0-r1 on."
|
||||
ewarn
|
||||
ewarn "Please use LIRC_DEVICES from now on."
|
||||
ewarn "e.g. LIRC_DEVICES=\"serial sir\""
|
||||
ewarn
|
||||
ewarn "Flags are now set per use-flags."
|
||||
ewarn "e.g. transmitter, hardware-carrier"
|
||||
|
||||
local opt
|
||||
local unsupported_opts=""
|
||||
|
||||
# test for allowed options for LIRC_OPTS
|
||||
for opt in ${LIRC_OPTS}; do
|
||||
case ${opt} in
|
||||
--with-port=*|--with-irq=*|--with-timer=*|--with-tty=*)
|
||||
MY_OPTS="${MY_OPTS} ${opt}"
|
||||
;;
|
||||
*)
|
||||
unsupported_opts="${unsupported_opts} ${opt}"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
if [[ -n ${unsupported_opts} ]]; then
|
||||
eerror "These options are no longer allowed to be set"
|
||||
eerror "with LIRC_OPTS: ${unsupported_opts}"
|
||||
die "LIRC_OPTS is no longer supported, use LIRC_DEVICES."
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
linux-mod_pkg_setup
|
||||
|
||||
# set default configure options
|
||||
MY_OPTS=""
|
||||
LIRC_DRIVER_DEVICE="/dev/lirc0"
|
||||
|
||||
if use lirc_devices_all; then
|
||||
# compile in drivers for a lot of devices
|
||||
add_device all "a lot of devices"
|
||||
else
|
||||
# compile in only requested drivers
|
||||
local dev
|
||||
for dev in ${IUSE_LIRC_DEVICES_DIRECT}; do
|
||||
if use lirc_devices_${dev}; then
|
||||
add_device ${dev}
|
||||
fi
|
||||
done
|
||||
|
||||
if use lirc_devices_remote_wonder_plus; then
|
||||
add_device atiusb "device Remote Wonder Plus (atiusb-based)"
|
||||
fi
|
||||
|
||||
if use lirc_devices_serial_igor_cesko; then
|
||||
add_device serial "serial with Igor Cesko design"
|
||||
MY_OPTS="${MY_OPTS} --with-igor"
|
||||
fi
|
||||
|
||||
if use lirc_devices_imon_pad; then
|
||||
ewarn "The imon_pad driver has incorporated the previous pad2keys patch"
|
||||
ewarn "and removed the pad2keys_active option for the lirc_imon module"
|
||||
ewarn "because it is always active."
|
||||
ewarn "If you have an older imon VFD device, you may need to add the module"
|
||||
ewarn "option display_type=1 to override autodetection and force VFD mode."
|
||||
fi
|
||||
|
||||
if use lirc_devices_xboxusb; then
|
||||
add_device atiusb "device xboxusb"
|
||||
fi
|
||||
|
||||
if use lirc_devices_usbirboy; then
|
||||
add_device userspace "device usbirboy"
|
||||
LIRC_DRIVER_DEVICE="/dev/usbirboy"
|
||||
fi
|
||||
|
||||
if [[ "${MY_OPTS}" == "" ]]; then
|
||||
if [[ "${PROFILE_ARCH}" == "xbox" ]]; then
|
||||
# on xbox: use special driver
|
||||
add_device atiusb "device xboxusb"
|
||||
else
|
||||
# no driver requested
|
||||
elog
|
||||
elog "Compiling only the lirc-applications, but no drivers."
|
||||
elog "Enable drivers with LIRC_DEVICES if you need them."
|
||||
MY_OPTS="--with-driver=none"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
use hardware-carrier && MY_OPTS="${MY_OPTS} --without-soft-carrier"
|
||||
use transmitter && MY_OPTS="${MY_OPTS} --with-transmitter"
|
||||
|
||||
einfo
|
||||
einfo "lirc-configure-opts: ${MY_OPTS}"
|
||||
elog "Setting default lirc-device to ${LIRC_DRIVER_DEVICE}"
|
||||
|
||||
filter-flags -Wl,-O1
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Rip out dos CRLF
|
||||
edos2unix contrib/lirc.rules
|
||||
|
||||
# Apply patches needed for some special device-types
|
||||
use lirc_devices_audio || epatch "${FILESDIR}"/lirc-0.8.4-portaudio_check.patch
|
||||
use lirc_devices_remote_wonder_plus && epatch "${FILESDIR}"/lirc-0.8.3_pre1-remotewonderplus.patch
|
||||
|
||||
# Apply fixes for kernel-2.6.39 and above
|
||||
epatch "${FILESDIR}"/${P}-kernel-2.6.39-fixes.patch
|
||||
# Slightly massaged upstream patch to fix kfifo issues >=2.6.38
|
||||
# for bug 377033
|
||||
epatch "${FILESDIR}"/${P}-atiusb_kfifo.patch
|
||||
# Apply fixes for kernel-3.3 and above (bug 439538)
|
||||
epatch "${FILESDIR}"/${P}-kernel-3.3.0-fixes.patch
|
||||
# Apply fix for missing err() in usb.h for kernel 3.5+ (bug 444736)
|
||||
epatch "${FILESDIR}"/${P}-kernel-3.5-err-fix.patch
|
||||
# Apply fix for missing __devinit __devexit defines in kernel 3.8+ (bug 461532)
|
||||
epatch "${FILESDIR}"/${P}-kernel-3.8-fixes.patch
|
||||
# Add support for zotac remote, bug 342848
|
||||
epatch "${FILESDIR}"/${P}-add-zotac-support.patch
|
||||
# Use fixed font
|
||||
epatch "${FILESDIR}"/${P}-fixed-font.patch
|
||||
|
||||
# Do not build drivers from the top-level Makefile
|
||||
sed -i -e 's:\(SUBDIRS =\) drivers\(.*\):\1\2:' Makefile.am
|
||||
|
||||
# remove parallel driver on SMP systems
|
||||
if linux_chkconfig_present SMP ; then
|
||||
sed -i -e "s:lirc_parallel\.o::" drivers/lirc_parallel/Makefile.am
|
||||
fi
|
||||
|
||||
# Bug #187418 - only need this part for lirc_devices_all as others die in pkg_setup
|
||||
if use lirc_devices_all && kernel_is ge 2 6 22 ; then
|
||||
ewarn "Disabling lirc_gpio driver as it does no longer work Kernel 2.6.22+"
|
||||
sed -i -e "s:lirc_gpio\.o::" drivers/lirc_gpio/Makefile.am
|
||||
fi
|
||||
|
||||
# respect CFLAGS
|
||||
sed -i -e 's:CFLAGS="-O2:CFLAGS=""\n#CFLAGS="-O2:' configure.ac
|
||||
|
||||
# setting default device-node
|
||||
local f
|
||||
for f in configure.ac acconfig.h; do
|
||||
[[ -f "$f" ]] && sed -i -e '/#define LIRC_DRIVER_DEVICE/d' "$f"
|
||||
done
|
||||
echo "#define LIRC_DRIVER_DEVICE \"${LIRC_DRIVER_DEVICE}\"" >> acconfig.h
|
||||
|
||||
sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac || die # automake 1.13
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--localstatedir=/var \
|
||||
--with-syslog=LOG_DAEMON \
|
||||
--enable-sandboxed \
|
||||
--with-kerneldir="${KV_DIR}" \
|
||||
--with-moduledir="/lib/modules/${KV_FULL}/misc" \
|
||||
$(use_enable debug) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_with X x) \
|
||||
${MY_OPTS} \
|
||||
ABI="${KERNEL_ABI}" \
|
||||
ARCH="$(tc-arch-kernel)"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# force non-parallel make, Bug 196134 (confirmed valid for 0.9.0-r2)
|
||||
emake -j1
|
||||
|
||||
MODULE_NAMES="lirc(misc:${S}/drivers)"
|
||||
BUILD_TARGETS="all"
|
||||
linux-mod_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
emake -C drivers DESTDIR="${D}" install
|
||||
|
||||
newinitd "${FILESDIR}"/lircd-0.8.6-r2 lircd
|
||||
newinitd "${FILESDIR}"/lircmd lircmd
|
||||
newconfd "${FILESDIR}"/lircd.conf.4 lircd
|
||||
|
||||
insinto /etc/modprobe.d/
|
||||
newins "${FILESDIR}"/modprobed.lirc lirc.conf
|
||||
|
||||
newinitd "${FILESDIR}"/irexec-initd-0.8.6-r2 irexec
|
||||
newconfd "${FILESDIR}"/irexec-confd irexec
|
||||
|
||||
if use doc ; then
|
||||
dohtml doc/html/*.html
|
||||
insinto /usr/share/doc/${PF}/images
|
||||
doins doc/images/*
|
||||
fi
|
||||
|
||||
insinto /usr/share/lirc/remotes
|
||||
doins -r remotes/*
|
||||
|
||||
keepdir /etc/lirc
|
||||
if [[ -e "${D}"/etc/lirc/lircd.conf ]]; then
|
||||
newdoc "${D}"/etc/lirc/lircd.conf lircd.conf.example
|
||||
fi
|
||||
|
||||
use static-libs || rm "${D}/usr/$(get_libdir)/liblirc_client.la"
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
linux-mod_pkg_preinst
|
||||
|
||||
local dir="${EROOT}/etc/modprobe.d"
|
||||
if [[ -a "${dir}"/lirc && ! -a "${dir}"/lirc.conf ]]; then
|
||||
elog "Renaming ${dir}/lirc to lirc.conf"
|
||||
mv -f "${dir}/lirc" "${dir}/lirc.conf"
|
||||
fi
|
||||
|
||||
# copy the first file that can be found
|
||||
if [[ -f "${EROOT}"/etc/lirc/lircd.conf ]]; then
|
||||
cp "${EROOT}"/etc/lirc/lircd.conf "${T}"/lircd.conf
|
||||
elif [[ -f "${EROOT}"/etc/lircd.conf ]]; then
|
||||
cp "${EROOT}"/etc/lircd.conf "${T}"/lircd.conf
|
||||
MOVE_OLD_LIRCD_CONF=1
|
||||
elif [[ -f "${D}"/etc/lirc/lircd.conf ]]; then
|
||||
cp "${D}"/etc/lirc/lircd.conf "${T}"/lircd.conf
|
||||
fi
|
||||
|
||||
# stop portage from touching the config file
|
||||
if [[ -e "${D}"/etc/lirc/lircd.conf ]]; then
|
||||
rm -f "${D}"/etc/lirc/lircd.conf
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
linux-mod_pkg_postinst
|
||||
|
||||
# copy config file to new location
|
||||
# without portage knowing about it
|
||||
# so it will not delete it on unmerge or ever touch it again
|
||||
if [[ -e "${T}"/lircd.conf ]]; then
|
||||
cp "${T}"/lircd.conf "${EROOT}"/etc/lirc/lircd.conf
|
||||
if [[ "$MOVE_OLD_LIRCD_CONF" = "1" ]]; then
|
||||
elog "Moved /etc/lircd.conf to /etc/lirc/lircd.conf"
|
||||
rm -f "${EROOT}"/etc/lircd.conf
|
||||
fi
|
||||
fi
|
||||
|
||||
einfo "The new default location for lircd.conf is inside of"
|
||||
einfo "/etc/lirc/ directory"
|
||||
}
|
@ -1 +0,0 @@
|
||||
DIST epubcheck-src-1.1.zip 2442421 SHA256 f9db760358b34d9d98d243156e38f905e0f8735d26b8bf3550e3b108f2436be9 SHA512 4ba5fbb149a071c1dfed97ab00500afabb0690eb081967203e8ae6691b3ab9d676bf0a4cb29c5cf203db253a8e7a4c1bfccbd07b2ee377ec02656ba378a6d252 WHIRLPOOL 4e98ab1b4c2ef3412bc0109876d84ad4b9a212b7718d8ea60214ca8521571b6c068ca6bbb62e371e2558e199ebe8003b517413881e0a59574ab14e2e5452baee
|
@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit java-pkg-2 java-ant-2 eutils
|
||||
|
||||
DESCRIPTION="Tool to validate IDPF EPUB files"
|
||||
HOMEPAGE="https://github.com/IDPF/epubcheck"
|
||||
SRC_URI="https://${PN}.googlecode.com/files/${PN}-src-${PV}.zip"
|
||||
|
||||
LICENSE="MIT BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEP="dev-java/jigsaw:0
|
||||
dev-java/saxon:6.5"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.5
|
||||
${COMMON_DEP}"
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
app-arch/unzip
|
||||
${COMMON_DEP}"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
src_prepare() {
|
||||
rm -f lib/*.jar
|
||||
|
||||
java-pkg_jar-from --into lib/ jigsaw
|
||||
java-pkg_jar-from --into lib/ saxon-6.5
|
||||
|
||||
cd lib/
|
||||
ln -s $(java-config --tools)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
eant buildJar
|
||||
}
|
||||
|
||||
src_test() {
|
||||
java -cp "$(java-pkg_getjars jigsaw,saxon-6.5):dist/${P}.jar" \
|
||||
com.adobe.epubcheck.autotest.AutoTest testdocs/general/tests.xml testdocs/general/ \
|
||||
|| die "tests failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar dist/${P}.jar ${PN}.jar
|
||||
|
||||
java-pkg_dolauncher ${PN} --main com.adobe.epubcheck.tool.Checker
|
||||
|
||||
dodoc README.txt
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>flameeyes@gentoo.org</email>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">IDPF/epubcheck</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST css-validator-20120222.tar.bz2 27482733 SHA256 41c80ccc808c20e4f66d493ed365c9be9f77e787f5c0f5f3ba7060c520bac207 SHA512 a7f392028cdf5a8befa95b7c2b7bc4f832cc9212c9ec92d3021e357ca41f48464c6944ec0ecf7105d924dbb07c80c0c1b7b97191c7e9496ca30253e0329da02d WHIRLPOOL 291ed5f7f401f87d70e20d39f947038adbb9d0097023b8e30af14a3fd576d5981c5be35340294ca29e64721823de90436fb429ecf1d556ac7e57941d9a29d158
|
@ -1,78 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
# How to create the release tarball:
|
||||
# $ export CVSROOT=":pserver:anonymous@dev.w3.org:/sources/public"
|
||||
# $ cvs login
|
||||
# $ cvs get 2002/css-validator
|
||||
# $ cd 2002
|
||||
# $ tar jcf css-validator-$(date "+%Y%m%d") css-validator --exclude=CVS
|
||||
|
||||
inherit java-pkg-2 java-ant-2 eutils
|
||||
|
||||
DESCRIPTION="Check Cascading Style Sheets (CSS) and (X)HTML documents with style sheets"
|
||||
HOMEPAGE="http://jigsaw.w3.org/css-validator/DOWNLOAD.html"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
||||
|
||||
LICENSE="W3C"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEP="java-virtuals/servlet-api:2.5
|
||||
dev-java/velocity
|
||||
dev-java/commons-lang:2.1
|
||||
dev-java/tagsoup
|
||||
dev-java/jigsaw
|
||||
dev-java/xerces:2
|
||||
dev-java/htmlparser
|
||||
"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.5
|
||||
${COMMON_DEP}"
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
app-arch/unzip
|
||||
${COMMON_DEP}"
|
||||
|
||||
EANT_BUILD_TARGET="jar war"
|
||||
EANT_DOC_TARGET="javadoc"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
src_prepare() {
|
||||
rm -f tmp/*.jar
|
||||
mkdir -p "${S}/lib" || die "mkdir failed"
|
||||
|
||||
epatch "${FILESDIR}/${P}-build.xml.patch"
|
||||
|
||||
java-pkg_jarfrom --into lib/ servlet-api-2.5
|
||||
java-pkg_jarfrom --into lib/ velocity
|
||||
java-pkg_jarfrom --into lib/ commons-lang-2.1
|
||||
java-pkg_jarfrom --into lib/ tagsoup
|
||||
java-pkg_jarfrom --into lib/ jigsaw
|
||||
java-pkg_jarfrom --into lib/ xerces-2
|
||||
java-pkg_jarfrom --into lib/ htmlparser
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar "${PN}.jar"
|
||||
|
||||
use source && java-pkg_dosrc org
|
||||
if use doc; then
|
||||
java-pkg_dojavadoc javadoc
|
||||
|
||||
insinto "/usr/share/${PN}"
|
||||
doins "${PN}.war"
|
||||
einfo "Documentation for ${PN} has been installed as:"
|
||||
einfo " /usr/share/${PN}/${PN}.war"
|
||||
einfo "You need to deploy this file using one of:"
|
||||
einfo " * www-servers/tomcat"
|
||||
einfo " * www-servers/resin"
|
||||
fi
|
||||
}
|
@ -1,37 +0,0 @@
|
||||
Index: build.xml
|
||||
===================================================================
|
||||
RCS file: /sources/public/2002/css-validator/build.xml,v
|
||||
retrieving revision 1.23
|
||||
diff -u -r1.23 build.xml
|
||||
--- build.xml 1 Nov 2011 07:51:20 -0000 1.23
|
||||
+++ build.xml 22 Feb 2012 23:57:47 -0000
|
||||
@@ -75,10 +75,10 @@
|
||||
<copy file="tmp/htmlparser-1.3.1/htmlparser-1.3.1.jar" tofile="lib/htmlparser-1.3.1.jar"/>
|
||||
</target>
|
||||
|
||||
- <target name="build" description="Builds the validator" depends="prepare">
|
||||
+ <target name="build" description="Builds the validator">
|
||||
<mkdir dir="./build"/>
|
||||
<javac classpathref="build.class.path" destdir="./build" encoding="UTF-8"
|
||||
- debug="yes" includes="org/w3c/**" srcdir="." source="1.6" target="1.6"/>
|
||||
+ includes="org/w3c/**" srcdir="."/>
|
||||
<copy todir="./build">
|
||||
<fileset dir="./">
|
||||
<include name="org/**"/>
|
||||
@@ -91,7 +91,7 @@
|
||||
<target name="jigsaw" description="Builds the validator for Jigsaw" depends="prepare">
|
||||
<mkdir dir="./build"/>
|
||||
<javac classpathref="build.class.path" destdir="." encoding="UTF-8"
|
||||
- debug="yes" source="1.6" target="1.6">
|
||||
+ >
|
||||
<src path="./org/w3c"/>
|
||||
</javac>
|
||||
</target>
|
||||
@@ -99,6 +99,7 @@
|
||||
<target name="javadoc" description="Generates API docs">
|
||||
<mkdir dir="./javadoc"/>
|
||||
<javadoc
|
||||
+ classpathref="build.class.path"
|
||||
packagenames="org.w3c.*"
|
||||
sourcepath="./"
|
||||
destdir="./javadoc"
|
@ -1 +0,0 @@
|
||||
DIST jigsaw_2.2.6.tar.bz2 4674802 SHA256 9d0b177c6e2bc07aff91648270ef09e50d3fc2fee0ce87940e29b43695265342 SHA512 99fb362468b13d250d4e5fe33e0dc397b3bd6a98e3c012da10bfdef93511bdf5ae7c0ad3498bbd191b6c07cc658ce55d3737721fdec8f474470cbfc66c4e049a WHIRLPOOL df879de51a084a187a1172212157c486192c5af891be4ebf3c721340bd28cfd78618349bfc0573ee334e54efc87fb170c4257f0263024afd1fc6624f80985020
|
@ -1,48 +0,0 @@
|
||||
--- build.xml.vanilla 2012-02-23 01:17:09.137602588 +0100
|
||||
+++ build.xml 2012-02-23 01:21:35.431836983 +0100
|
||||
@@ -79,6 +79,9 @@
|
||||
<pathelement path="classes/xp.jar"/>
|
||||
<pathelement path="classes/servlet.jar"/>
|
||||
<pathelement path="${build.core.classes}"/>
|
||||
+ <fileset dir="jars">
|
||||
+ <include name="**/*.jar"/>
|
||||
+ </fileset>
|
||||
</path>
|
||||
|
||||
<!-- =================================================================== -->
|
||||
@@ -99,6 +102,7 @@
|
||||
<!-- =================================================================== -->
|
||||
<target name="compile.core" depends="prepare">
|
||||
<javac srcdir="${src.dir}"
|
||||
+ encoding="iso-8859-1"
|
||||
destdir="${build.core.classes}"
|
||||
debug="${debug}"
|
||||
excludes="org/w3c/jigadm/** org/w3c/jigedit/**"
|
||||
@@ -111,6 +115,7 @@
|
||||
<!-- =================================================================== -->
|
||||
<target name="compile.admin" depends="compile.core">
|
||||
<javac srcdir="${src.dir}"
|
||||
+ encoding="iso-8859-1"
|
||||
destdir="${build.admin.classes}"
|
||||
debug="${debug}"
|
||||
includes="org/w3c/jigadm/**"
|
||||
@@ -122,7 +127,8 @@
|
||||
<!-- Compiles the edit package -->
|
||||
<!-- =================================================================== -->
|
||||
<target name="compile.edit" depends="compile.core">
|
||||
- <javac srcdir="${src.dir}"
|
||||
+ <javac srcdir="${src.dir}"
|
||||
+ encoding="iso-8859-1"
|
||||
destdir="${build.edit.classes}"
|
||||
debug="${debug}"
|
||||
includes="org/w3c/jigedit/**"
|
||||
@@ -173,7 +179,9 @@
|
||||
<target name="javadocs" depends="prepare">
|
||||
<mkdir dir="${build.javadocs}"/>
|
||||
<javadoc packagenames="${packages}"
|
||||
+ encoding="iso-8859-1"
|
||||
sourcepath="${src.dir}"
|
||||
+ classpathref="build.classpath"
|
||||
destdir="${build.javadocs}"
|
||||
author="true"
|
||||
version="true"
|
@ -1,68 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
# Jigsaw is actually a WWW server, it would be nice to package it as such, not
|
||||
# as a raw library like this ebuild does.
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="W3 Consortium's Java-based Web server libraries"
|
||||
HOMEPAGE="http://jigsaw.w3.org/"
|
||||
SRC_URI="http://jigsaw.w3.org/Distrib/${PN}_${PV}.tar.bz2"
|
||||
|
||||
LICENSE="W3C"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE=""
|
||||
|
||||
CDEPEND="
|
||||
dev-java/jtidy:0
|
||||
dev-java/xerces:2
|
||||
dev-java/jakarta-oro:2.0
|
||||
java-virtuals/servlet-api:2.3"
|
||||
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
>=virtual/jre-1.6"
|
||||
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
app-arch/unzip
|
||||
>=virtual/jdk-1.6"
|
||||
|
||||
EANT_DOC_TARGET="javadocs"
|
||||
|
||||
S="${WORKDIR}/Jigsaw"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-build.xml.patch"
|
||||
)
|
||||
|
||||
java_prepare() {
|
||||
epatch "${PATCHES[@]}"
|
||||
|
||||
java-pkg_clean
|
||||
|
||||
mkdir -p "${S}/jars" || die "mkdir failed"
|
||||
|
||||
java-pkg_jar-from --into jars/ jakarta-oro-2.0
|
||||
java-pkg_jar-from --into jars/ servlet-api-2.3
|
||||
java-pkg_jar-from --into jars/ xerces-2
|
||||
java-pkg_jar-from --into jars/ jtidy
|
||||
|
||||
cd "${S}/jars" || die
|
||||
ln -s $(java-config --tools) || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar classes/{jigsaw,jigadmin,jigedit}.jar
|
||||
|
||||
dodoc ANNOUNCE README
|
||||
use doc && java-pkg_dojavadoc ant.build/javadocs
|
||||
}
|
@ -1 +0,0 @@
|
||||
DIST jpf-src-1.5.1.zip 1115573 SHA256 93bc9852b9d86f788f5e3c53650aa11a18758526542e0ebc17a508818e91c2e4 SHA512 90326013b110f5729e25bde3f61985f7bee9f78c58ebc3631c271c3d02fc7e91851adf3aa79de71b8e1a1411a2d3b67ba8e4e13f55c9332505ea2adbbc00149b WHIRLPOOL 8530c8e01e034dcc4a642d6756d1bbf48572ed7dc15548bdd448847c661acfc80b6cc1d60f8bf147aab7e314114d077b6924768cfe2e2e7b04b371f3aacb5d52
|
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=1
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Java Plugin Framework - a runtime engine that dynamically discovers and loads plugins"
|
||||
HOMEPAGE="http://${PN}.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}-src-${PV}.zip"
|
||||
LICENSE="LGPL-2.1"
|
||||
|
||||
SLOT="1.5"
|
||||
KEYWORDS="amd64 ~ppc x86"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
COMMON_DEP="dev-java/commons-logging:0
|
||||
dev-java/ant-core"
|
||||
DEPEND="app-arch/unzip
|
||||
>=virtual/jdk-1.5
|
||||
${COMMON_DEP}"
|
||||
RDEPEND=">=virtual/jre-1.5
|
||||
${COMMON_DEP}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
java-ant_rewrite-classpath
|
||||
rm -fv lib/*.jar || die
|
||||
# needs some not yet packaged jxp dep, will add only on demand
|
||||
rm -rfv source-tools/org/java/plugin/tools/{docgen,ant/DocTask.java} || die
|
||||
}
|
||||
|
||||
# doc target is name="-javadoc" and would need a patch, on demand
|
||||
EANT_GENTOO_CLASSPATH="commons-logging,ant-core"
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar build/lib/jpf*.jar
|
||||
java-pkg_register-ant-task
|
||||
|
||||
newdoc README.txt README || die
|
||||
dodoc changelog.txt || die
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>java</herd>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">jpf</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST jpfcodegen-0.4.tar.bz2 27201 SHA256 c88401b6d872bf52aeb473bda16a77fb51b2f0236a4fb88ba4847d1bde174699 SHA512 9af5de54621afc941ac56f463b76a31732d97ad4fbbeabf43772c27e91f0e8fdfe5c089fc1cd22b2ad0bbac88d624086c94d751110bc77348706b39cedd45897 WHIRLPOOL c7005df485de6694658444cabdbcfa5ce20b35fe563f253a5b213801e98ee19eae48087df688281edc5ffd6f99eb481478ade568c2da3fc49287ac7e6795fe49
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Generator of classes for accessing the attributes and extensions of JPF plug-ins"
|
||||
HOMEPAGE="http://jabref.sourceforge.net/"
|
||||
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
||||
LICENSE="LGPL-3"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc x86"
|
||||
IUSE=""
|
||||
|
||||
CDEPEND="dev-java/velocity:0
|
||||
dev-java/jpf:1.5"
|
||||
DEPEND=">=virtual/jdk-1.6
|
||||
app-arch/unzip
|
||||
${CDEPEND}"
|
||||
RDEPEND=">=virtual/jre-1.6
|
||||
${CDEPEND}"
|
||||
|
||||
# doc target is name="-javadoc" and would need a patch, on demand
|
||||
EANT_BUILD_TARGET="jars"
|
||||
EANT_GENTOO_CLASSPATH="jpf-1.5,velocity"
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar JPFCodeGenerator-${PV}.jar JPFCodeGenerator.jar
|
||||
java-pkg_newjar JPFCodeGenerator-${PV}-rt.jar JPFCodeGenerator-rt.jar
|
||||
dohtml index.html
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>java</herd>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">jabref</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST mg4j-0.9.1-src.tar.gz 169529 SHA256 8ca5c99facd9be71af57f0e71f746e83af98018774afe37d2a7a83aa356dc828 SHA512 b9831ed28360836a1828011bd9bf6474303f2125e1643fcb600a14aa8851468785d60739f85c1cfd9762e1744765a17827b334f194169786f54419d6b1f711c3 WHIRLPOOL 43fb4f7b8b786f66aa84b86cdcdcb758e9da727a5c88c0fb6f755c71a450f671be80901c1b5bde4486dab4a8621f0aa8f75c59bacf59b5c1a54b68b81c624759
|
@ -1,56 +0,0 @@
|
||||
diff -uprN mg4j-0.9.orig/build.xml mg4j-0.9/build.xml
|
||||
--- mg4j-0.9.orig/build.xml 2004-09-01 12:04:18.000000000 +0200
|
||||
+++ mg4j-0.9/build.xml 2004-11-17 00:30:41.879119728 +0100
|
||||
@@ -39,25 +39,34 @@
|
||||
includes="it/unimi/dsi/mg4j/query/parser/**"
|
||||
nowarn="on"
|
||||
debug="on"
|
||||
- optimize="on"
|
||||
+ optimize="on"
|
||||
destdir="${build}"
|
||||
- source="1.4"
|
||||
- />
|
||||
+ source="1.4"
|
||||
+ target="1.4">
|
||||
+
|
||||
+ <classpath>
|
||||
+ <pathelement path="lib/jal.jar;lib/fastutil.jar;lib/gnu.getopt.jar;lib/libreadline-java.jar;lib/colt.jar" />
|
||||
+ </classpath>
|
||||
+ </javac>
|
||||
</target>
|
||||
|
||||
<target name="compile" depends="init,compile-parser">
|
||||
<javac srcdir="${src}"
|
||||
debug="on"
|
||||
- optimize="on"
|
||||
+ optimize="on"
|
||||
destdir="${build}"
|
||||
- source="1.4"
|
||||
- />
|
||||
+ source="1.4"
|
||||
+ target="1.4">
|
||||
+
|
||||
+ <classpath>
|
||||
+ <pathelement path="lib/jal.jar;lib/fastutil.jar;lib/gnu.getopt.jar;lib/libreadline-java.jar;lib/colt.jar" />
|
||||
+ </classpath>
|
||||
+ </javac>
|
||||
</target>
|
||||
|
||||
<target name="jar" depends="compile">
|
||||
<jar jarfile="mg4j-${version}.jar"
|
||||
- basedir="${build}"
|
||||
- />
|
||||
+ basedir="${build}" />
|
||||
</target>
|
||||
|
||||
|
||||
@@ -69,8 +78,7 @@
|
||||
sourcepath="${src}"
|
||||
private="off"
|
||||
source="1.4"
|
||||
- windowtitle="MG4J ${version}"
|
||||
- >
|
||||
+ windowtitle="MG4J ${version}">
|
||||
<link href="${j2se.apiurl}"/>
|
||||
<link href="${fastutil.apiurl}"/>
|
||||
<link href="${colt.apiurl}"/>
|
@ -1,17 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
|
||||
<pkgmetadata>
|
||||
<herd>java</herd>
|
||||
|
||||
<longdescription>
|
||||
|
||||
MG4J (Managing Gigabytes for Java) is a collaborative effort aimed at providing
|
||||
a free Java implementation of inverted-index compression techniques; as a
|
||||
by-product, it offers several general-purpose optimised classes, including fast
|
||||
& compact mutable strings, bit-level I/O, fast unsychronised buffered
|
||||
streams, (possibly signed) minimal perfect hashing for very large strings
|
||||
collections, etc.
|
||||
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="A free Java implementation of inverted-index compression technique"
|
||||
SRC_URI="http://mg4j.dsi.unimi.it/${P}-src.tar.gz"
|
||||
HOMEPAGE="http://mg4j.dsi.unimi.it"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0.9"
|
||||
KEYWORDS="amd64 ~ppc x86"
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEP="
|
||||
dev-java/colt:0
|
||||
dev-java/fastutil:4.3
|
||||
dev-java/jal:0
|
||||
dev-java/java-getopt:1
|
||||
dev-java/libreadline-java:0"
|
||||
RDEPEND="${COMMON_DEP}
|
||||
>=virtual/jre-1.5"
|
||||
DEPEND="${COMMON_DEP}
|
||||
>=virtual/jdk-1.5
|
||||
dev-java/javacc:0"
|
||||
|
||||
java_prepare() {
|
||||
epatch "${FILESDIR}/mg4j-build.patch"
|
||||
}
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="yes"
|
||||
|
||||
EANT_GENTOO_CLASSPATH="colt,fastutil-4.3,jal,java-getopt-1,libreadline-java"
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar ${P}.jar
|
||||
|
||||
use doc && java-pkg_dojavadoc docs
|
||||
use source && java-pkg_dosrc java/it
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST javamail-1.5.2-src.zip 1573447 SHA256 76efde22a38a021baa99087be1878787bf5e72ceb684b1bc33eb260a8ddcbdd5 SHA512 9d2ae8c38a8e7464023219dac13df95a34cab52a5ff9f19015ea0dde73a838f49ae006c9dc1538eeb978844af7ac962ce3b22d89f0f9ccda684141f7b52840bc WHIRLPOOL 6c438c6569cbd689eeaa8398301b5481956443ccb9f2112891bce5e97d1a792e0176e8fb395cbadd4175e87c253db833760aff96ea61654dad3d478d386fbf7b
|
||||
DIST oracle-javamail-1.5.5.zip 1794428 SHA256 33d0b71714931b586bbb61367fd6491f7c100b9ddca597a62e51e5d5ac308bd8 SHA512 20eb12e757d00ceedbf45c43ddc1b6fe1155e79766e5843fbb8fd58c3ad91305edb07351b4ff9ed411aaffe977e9e4f287ac16b88ac55541f6f4f93c1c81a58a WHIRLPOOL 363c62731b924ed8f48a60382ccb853789c1d0645ef77f1fe9370283d58acb3e74aa311e7e72512f80f97598c33050426865178a93d22aaf882c19581af8c241
|
||||
|
@ -0,0 +1,45 @@
|
||||
# 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
|
||||
|
||||
DESCRIPTION="A Java-based framework to build multiplatform mail and messaging applications"
|
||||
HOMEPAGE="https://java.net/projects/javamail/pages/Home"
|
||||
SRC_URI="https://java.net/projects/javamail/downloads/download/source/javamail-${PV}-src.zip -> ${P}.zip"
|
||||
|
||||
# either of these
|
||||
LICENSE="CDDL GPL-2 BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=virtual/jdk-1.6"
|
||||
RDEPEND=">=virtual/jre-1.6"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
|
||||
# build.xml expects it here
|
||||
mkdir -p legal/src/main/resources/META-INF || die
|
||||
cp mail/src/main/resources/META-INF/LICENSE.txt \
|
||||
legal/src/main/resources/META-INF || die
|
||||
}
|
||||
|
||||
EANT_DOC_TARGET="docs"
|
||||
EANT_EXTRA_ARGS="-Dspec.dir=doc/spec"
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar target/release/mail.jar
|
||||
|
||||
dodoc doc/release/{CHANGES,COMPAT,NOTES,NTLMNOTES,README,SSLNOTES}.txt || die
|
||||
dohtml -r doc/release/{*.html,images} || die
|
||||
|
||||
use doc && java-pkg_dojavadoc target/release/docs/javadocs
|
||||
use source && java-pkg_dosrc mail/src/main/java
|
||||
}
|
@ -1 +0,0 @@
|
||||
DIST webgraph-1.4.1-src.tar.gz 55467 SHA256 a91402ae46c60234f8234a9b05078feb7d23bfa12a68447ef410e24ceb4dc133 SHA512 6c7ae24ad1a3f05d547bd49b83446f42177d50b86db60815208a18fe86129dc1264c9c2d67f6992dd930333e7150b952e27d8cc510179fd362879c719900d5cb WHIRLPOOL 34ba6c65f7051a400eb2de07ff0eaec3cf20fe3b3cb10db927249a3ca269206be990cdb2018101c4695a77e5b8892f77ca18d25e1bd38b4b50d46c9dc30bd666
|
@ -1,36 +0,0 @@
|
||||
--- build.xml.orig 2005-04-15 14:36:14.000000000 +0200
|
||||
+++ build.xml 2005-04-15 14:38:45.000000000 +0200
|
||||
@@ -19,6 +19,14 @@
|
||||
<property name="jar.base" value="/usr/share/java"/>
|
||||
<property name="javadoc.base" value="/usr/share/javadoc"/>
|
||||
|
||||
+ <path id="compile.classpath">
|
||||
+ <pathelement location="lib/jal.jar" />
|
||||
+ <pathelement location="lib/colt.jar" />
|
||||
+ <pathelement location="lib/fastutil.jar" />
|
||||
+ <pathelement location="lib/gnu.getopt.jar" />
|
||||
+ <pathelement location="lib/mg4j.jar" />
|
||||
+ </path>
|
||||
+
|
||||
<!--
|
||||
Groovy and Cobertura need different versions of asm.
|
||||
Due to the delegation-based class-loading model used
|
||||
@@ -119,7 +127,9 @@
|
||||
<target name="all" depends="jar,javadoc"/>
|
||||
|
||||
<target name="compile" depends="init" description="Compile standard sources (not test files)">
|
||||
- <javac srcdir="${src}" includes="**${subdir}" excludes="test/**" debug="on" optimize="on" destdir="${build}" source="1.4"/>
|
||||
+ <javac srcdir="${src}" includes="**${subdir}" excludes="test/**" debug="on" optimize="on" destdir="${build}" source="1.4" target="1.4">
|
||||
+ <classpath refid="compile.classpath" />
|
||||
+ </javac>
|
||||
</target>
|
||||
|
||||
<target name="jar" depends="compile" description="Creates jar (without tests)">
|
||||
@@ -144,6 +154,7 @@
|
||||
<link href="${colt.apiurl}"/>
|
||||
<link href="${jal.apiurl}"/>
|
||||
<link href="${mg4j.apiurl}"/>
|
||||
+ <classpath refid="compile.classpath" />
|
||||
</javadoc>
|
||||
</target>
|
||||
|
@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
|
||||
<pkgmetadata>
|
||||
<herd>java</herd>
|
||||
|
||||
<longdescription>
|
||||
WebGraph is a framework to study the web graph. It provides simple ways to
|
||||
manage very large graphs, exploiting modern compression techniques.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -1,53 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="WebGraph is a framework to study the web graph"
|
||||
SRC_URI="http://webgraph.dsi.unimi.it/${P}-src.tar.gz"
|
||||
HOMEPAGE="http://webgraph.dsi.unimi.it"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="1.4"
|
||||
KEYWORDS="amd64 ~ppc x86"
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEP="=dev-java/java-getopt-1.0*
|
||||
=dev-java/fastutil-4.4*
|
||||
=dev-java/colt-1*
|
||||
>=dev-java/jal-20031117
|
||||
=dev-java/mg4j-0.9*"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.4
|
||||
${COMMON_DEP}"
|
||||
DEPEND=">=virtual/jdk-1.4
|
||||
${COMMON_DEP}"
|
||||
|
||||
src_unpack() {
|
||||
|
||||
unpack ${A}
|
||||
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}/${P}-gentoo.patch"
|
||||
|
||||
mkdir lib/ && cd lib/
|
||||
java-pkg_jar-from java-getopt-1
|
||||
java-pkg_jar-from fastutil-4.4
|
||||
java-pkg_jar-from colt colt.jar
|
||||
java-pkg_jar-from jal jal.jar
|
||||
java-pkg_jar-from mg4j-0.9
|
||||
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
java-pkg_newjar ${P}.jar ${PN}.jar
|
||||
|
||||
dodoc CHANGES
|
||||
|
||||
use doc && java-pkg_dojavadoc docs
|
||||
use source && java-pkg_dosrc java/it
|
||||
|
||||
}
|
@ -0,0 +1,328 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils flag-o-matic multilib toolchain-funcs multilib-minimal
|
||||
|
||||
NSPR_VER="4.10.8"
|
||||
RTM_NAME="NSS_${PV//./_}_RTM"
|
||||
# Rev of https://git.fedorahosted.org/cgit/nss-pem.git
|
||||
PEM_GIT_REV="015ae754dd9f6fbcd7e52030ec9732eb27fc06a8"
|
||||
PEM_P="${PN}-pem-20140125"
|
||||
|
||||
DESCRIPTION="Mozilla's Network Security Services library that implements PKI support"
|
||||
HOMEPAGE="http://www.mozilla.org/projects/security/pki/nss/"
|
||||
SRC_URI="http://archive.mozilla.org/pub/mozilla.org/security/nss/releases/${RTM_NAME}/src/${P}.tar.gz
|
||||
cacert? ( https://dev.gentoo.org/~anarchy/patches/${PN}-3.14.1-add_spi+cacerts_ca_certs.patch )
|
||||
nss-pem? ( https://dev.gentoo.org/~anarchy/dist/${PEM_P}.tar.bz2 )"
|
||||
|
||||
LICENSE="|| ( MPL-2.0 GPL-2 LGPL-2.1 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="+cacert +nss-pem utils"
|
||||
CDEPEND=">=dev-db/sqlite-3.8.2[${MULTILIB_USEDEP}]
|
||||
>=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]"
|
||||
DEPEND=">=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
|
||||
>=dev-libs/nspr-${NSPR_VER}[${MULTILIB_USEDEP}]
|
||||
${CDEPEND}"
|
||||
RDEPEND=">=dev-libs/nspr-${NSPR_VER}[${MULTILIB_USEDEP}]
|
||||
${CDEPEND}
|
||||
abi_x86_32? (
|
||||
!<=app-emulation/emul-linux-x86-baselibs-20140508-r12
|
||||
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
|
||||
)"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
S="${WORKDIR}/${P}/${PN}"
|
||||
|
||||
MULTILIB_CHOST_TOOLS=(
|
||||
/usr/bin/nss-config
|
||||
)
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
if use nss-pem ; then
|
||||
mv "${PN}"/lib/ckfw/pem/ "${S}"/lib/ckfw/ || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Custom changes for gentoo
|
||||
epatch "${FILESDIR}/${PN}-3.21-gentoo-fixups.patch"
|
||||
epatch "${FILESDIR}/${PN}-3.21-gentoo-fixup-warnings.patch"
|
||||
epatch "${FILESDIR}/${PN}-3.21-hppa-byte_order.patch"
|
||||
|
||||
if use cacert ; then
|
||||
epatch "${DISTDIR}/${PN}-3.14.1-add_spi+cacerts_ca_certs.patch"
|
||||
epatch "${FILESDIR}/${PN}-3.21-cacert-class3.patch" #521462
|
||||
fi
|
||||
use nss-pem && epatch "${FILESDIR}/${PN}-3.21-enable-pem.patch" \
|
||||
"${FILESDIR}/${PN}-3.21-pem-werror.patch"
|
||||
|
||||
pushd coreconf >/dev/null || die
|
||||
# hack nspr paths
|
||||
echo 'INCLUDES += -I$(DIST)/include/dbm' \
|
||||
>> headers.mk || die "failed to append include"
|
||||
|
||||
# modify install path
|
||||
sed -e '/CORE_DEPTH/s:SOURCE_PREFIX.*$:SOURCE_PREFIX = $(CORE_DEPTH)/dist:' \
|
||||
-i source.mk || die
|
||||
|
||||
# Respect LDFLAGS
|
||||
sed -i -e 's/\$(MKSHLIB) -o/\$(MKSHLIB) \$(LDFLAGS) -o/g' rules.mk
|
||||
popd >/dev/null || die
|
||||
|
||||
# Fix pkgconfig file for Prefix
|
||||
sed -i -e "/^PREFIX =/s:= /usr:= ${EPREFIX}/usr:" \
|
||||
config/Makefile || die
|
||||
|
||||
# use host shlibsign if need be #436216
|
||||
if tc-is-cross-compiler ; then
|
||||
sed -i \
|
||||
-e 's:"${2}"/shlibsign:shlibsign:' \
|
||||
cmd/shlibsign/sign.sh || die
|
||||
fi
|
||||
|
||||
# dirty hack
|
||||
sed -i -e "/CRYPTOLIB/s:\$(SOFTOKEN_LIB_DIR):../freebl/\$(OBJDIR):" \
|
||||
lib/ssl/config.mk || die
|
||||
sed -i -e "/CRYPTOLIB/s:\$(SOFTOKEN_LIB_DIR):../../lib/freebl/\$(OBJDIR):" \
|
||||
cmd/platlibs.mk || die
|
||||
|
||||
multilib_copy_sources
|
||||
|
||||
strip-flags
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
# Ensure we stay multilib aware
|
||||
sed -i -e "/@libdir@/ s:lib64:$(get_libdir):" config/Makefile || die
|
||||
}
|
||||
|
||||
nssarch() {
|
||||
# Most of the arches are the same as $ARCH
|
||||
local t=${1:-${CHOST}}
|
||||
case ${t} in
|
||||
aarch64*)echo "aarch64";;
|
||||
hppa*) echo "parisc";;
|
||||
i?86*) echo "i686";;
|
||||
x86_64*) echo "x86_64";;
|
||||
*) tc-arch ${t};;
|
||||
esac
|
||||
}
|
||||
|
||||
nssbits() {
|
||||
local cc cppflags="${1}CPPFLAGS" cflags="${1}CFLAGS"
|
||||
if [[ ${1} == BUILD_ ]]; then
|
||||
cc=$(tc-getBUILD_CC)
|
||||
else
|
||||
cc=$(tc-getCC)
|
||||
fi
|
||||
echo > "${T}"/test.c || die
|
||||
${cc} ${!cppflags} ${!cflags} -c "${T}"/test.c -o "${T}/${1}test.o" || die
|
||||
case $(file "${T}/${1}test.o") in
|
||||
*32-bit*x86-64*) echo USE_X32=1;;
|
||||
*64-bit*|*ppc64*|*x86_64*) echo USE_64=1;;
|
||||
*32-bit*|*ppc*|*i386*) ;;
|
||||
*) die "Failed to detect whether ${cc} builds 64bits or 32bits, disable distcc if you're using it, please";;
|
||||
esac
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
# use ABI to determine bit'ness, or fallback if unset
|
||||
local buildbits mybits
|
||||
case "${ABI}" in
|
||||
n32) mybits="USE_N32=1";;
|
||||
x32) mybits="USE_X32=1";;
|
||||
s390x|*64) mybits="USE_64=1";;
|
||||
${DEFAULT_ABI})
|
||||
einfo "Running compilation test to determine bit'ness"
|
||||
mybits=$(nssbits)
|
||||
;;
|
||||
esac
|
||||
# bitness of host may differ from target
|
||||
if tc-is-cross-compiler; then
|
||||
buildbits=$(nssbits BUILD_)
|
||||
fi
|
||||
|
||||
local makeargs=(
|
||||
CC="$(tc-getCC)"
|
||||
AR="$(tc-getAR) rc \$@"
|
||||
RANLIB="$(tc-getRANLIB)"
|
||||
OPTIMIZER=
|
||||
${mybits}
|
||||
)
|
||||
|
||||
# Take care of nspr settings #436216
|
||||
local myCPPFLAGS="${CPPFLAGS} $($(tc-getPKG_CONFIG) nspr --cflags)"
|
||||
unset NSPR_INCLUDE_DIR
|
||||
|
||||
# Do not let `uname` be used.
|
||||
if use kernel_linux ; then
|
||||
makeargs+=(
|
||||
OS_TARGET=Linux
|
||||
OS_RELEASE=2.6
|
||||
OS_TEST="$(nssarch)"
|
||||
)
|
||||
fi
|
||||
|
||||
export NSS_ENABLE_WERROR=0 #567158
|
||||
export BUILD_OPT=1
|
||||
export NSS_USE_SYSTEM_SQLITE=1
|
||||
export NSDISTMODE=copy
|
||||
export NSS_ENABLE_ECC=1
|
||||
export FREEBL_NO_DEPEND=1
|
||||
export ASFLAGS=""
|
||||
|
||||
local d
|
||||
|
||||
# Build the host tools first.
|
||||
LDFLAGS="${BUILD_LDFLAGS}" \
|
||||
XCFLAGS="${BUILD_CFLAGS}" \
|
||||
NSPR_LIB_DIR="${T}/fakedir" \
|
||||
emake -j1 -C coreconf \
|
||||
CC="$(tc-getBUILD_CC)" \
|
||||
${buildbits:-${mybits}}
|
||||
makeargs+=( NSINSTALL="${PWD}/$(find -type f -name nsinstall)" )
|
||||
|
||||
# Then build the target tools.
|
||||
for d in . lib/dbm ; do
|
||||
CPPFLAGS="${myCPPFLAGS}" \
|
||||
XCFLAGS="${CFLAGS} ${CPPFLAGS}" \
|
||||
NSPR_LIB_DIR="${T}/fakedir" \
|
||||
emake -j1 "${makeargs[@]}" -C ${d}
|
||||
done
|
||||
}
|
||||
|
||||
# Altering these 3 libraries breaks the CHK verification.
|
||||
# All of the following cause it to break:
|
||||
# - stripping
|
||||
# - prelink
|
||||
# - ELF signing
|
||||
# http://www.mozilla.org/projects/security/pki/nss/tech-notes/tn6.html
|
||||
# Either we have to NOT strip them, or we have to forcibly resign after
|
||||
# stripping.
|
||||
#local_libdir="$(get_libdir)"
|
||||
#export STRIP_MASK="
|
||||
# */${local_libdir}/libfreebl3.so*
|
||||
# */${local_libdir}/libnssdbm3.so*
|
||||
# */${local_libdir}/libsoftokn3.so*"
|
||||
|
||||
export NSS_CHK_SIGN_LIBS="freebl3 nssdbm3 softokn3"
|
||||
|
||||
generate_chk() {
|
||||
local shlibsign="$1"
|
||||
local libdir="$2"
|
||||
einfo "Resigning core NSS libraries for FIPS validation"
|
||||
shift 2
|
||||
local i
|
||||
for i in ${NSS_CHK_SIGN_LIBS} ; do
|
||||
local libname=lib${i}.so
|
||||
local chkname=lib${i}.chk
|
||||
"${shlibsign}" \
|
||||
-i "${libdir}"/${libname} \
|
||||
-o "${libdir}"/${chkname}.tmp \
|
||||
&& mv -f \
|
||||
"${libdir}"/${chkname}.tmp \
|
||||
"${libdir}"/${chkname} \
|
||||
|| die "Failed to sign ${libname}"
|
||||
done
|
||||
}
|
||||
|
||||
cleanup_chk() {
|
||||
local libdir="$1"
|
||||
shift 1
|
||||
local i
|
||||
for i in ${NSS_CHK_SIGN_LIBS} ; do
|
||||
local libfname="${libdir}/lib${i}.so"
|
||||
# If the major version has changed, then we have old chk files.
|
||||
[ ! -f "${libfname}" -a -f "${libfname}.chk" ] \
|
||||
&& rm -f "${libfname}.chk"
|
||||
done
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
pushd dist >/dev/null || die
|
||||
|
||||
dodir /usr/$(get_libdir)
|
||||
cp -L */lib/*$(get_libname) "${ED}"/usr/$(get_libdir) || die "copying shared libs failed"
|
||||
cp -L */lib/libcrmf.a "${ED}"/usr/$(get_libdir) || die "copying libs failed"
|
||||
cp -L */lib/libfreebl.a "${ED}"/usr/$(get_libdir) || die "copying libs failed"
|
||||
|
||||
# Install nss-config and pkgconfig file
|
||||
dodir /usr/bin
|
||||
cp -L */bin/nss-config "${ED}"/usr/bin || die
|
||||
dodir /usr/$(get_libdir)/pkgconfig
|
||||
cp -L */lib/pkgconfig/nss.pc "${ED}"/usr/$(get_libdir)/pkgconfig || die
|
||||
|
||||
# create an nss-softokn.pc from nss.pc for libfreebl and some private headers
|
||||
# bug 517266
|
||||
sed -e 's#Libs:#Libs: -lfreebl#' \
|
||||
-e 's#Cflags:#Cflags: -I${includedir}/private#' \
|
||||
*/lib/pkgconfig/nss.pc >"${ED}"/usr/$(get_libdir)/pkgconfig/nss-softokn.pc \
|
||||
|| die "could not create nss-softokn.pc"
|
||||
|
||||
# all the include files
|
||||
insinto /usr/include/nss
|
||||
doins public/nss/*.h
|
||||
insinto /usr/include/nss/private
|
||||
doins private/nss/{blapi,alghmac}.h
|
||||
|
||||
popd >/dev/null || die
|
||||
|
||||
local f nssutils
|
||||
# Always enabled because we need it for chk generation.
|
||||
nssutils="shlibsign"
|
||||
|
||||
if multilib_is_native_abi ; then
|
||||
if use utils; then
|
||||
# The tests we do not need to install.
|
||||
#nssutils_test="bltest crmftest dbtest dertimetest
|
||||
#fipstest remtest sdrtest"
|
||||
nssutils="addbuiltin atob baddbdir btoa certcgi certutil checkcert
|
||||
cmsutil conflict crlutil derdump digest makepqg mangle modutil multinit
|
||||
nonspr10 ocspclnt oidcalc p7content p7env p7sign p7verify pk11mode
|
||||
pk12util pp rsaperf selfserv shlibsign signtool signver ssltap strsclnt
|
||||
symkeyutil tstclnt vfychain vfyserv"
|
||||
# install man-pages for utils (bug #516810)
|
||||
doman doc/nroff/*.1
|
||||
fi
|
||||
pushd dist/*/bin >/dev/null || die
|
||||
for f in ${nssutils}; do
|
||||
dobin ${f}
|
||||
done
|
||||
popd >/dev/null || die
|
||||
fi
|
||||
|
||||
# Prelink breaks the CHK files. We don't have any reliable way to run
|
||||
# shlibsign after prelink.
|
||||
dodir /etc/prelink.conf.d
|
||||
printf -- "-b ${EPREFIX}/usr/$(get_libdir)/lib%s.so\n" ${NSS_CHK_SIGN_LIBS} \
|
||||
> "${ED}"/etc/prelink.conf.d/nss.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
multilib_pkg_postinst() {
|
||||
# We must re-sign the libraries AFTER they are stripped.
|
||||
local shlibsign="${EROOT}/usr/bin/shlibsign"
|
||||
# See if we can execute it (cross-compiling & such). #436216
|
||||
"${shlibsign}" -h >&/dev/null
|
||||
if [[ $? -gt 1 ]] ; then
|
||||
shlibsign="shlibsign"
|
||||
fi
|
||||
generate_chk "${shlibsign}" "${EROOT}"/usr/$(get_libdir)
|
||||
}
|
||||
|
||||
multilib_foreach_abi multilib_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
multilib_pkg_postrm() {
|
||||
cleanup_chk "${EROOT}"/usr/$(get_libdir)
|
||||
}
|
||||
|
||||
multilib_foreach_abi multilib_pkg_postrm
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=LDS
|
||||
MODULE_VERSION=1.11
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Find memory cycles in objects"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
SRC_TEST="do"
|
@ -1,2 +1 @@
|
||||
DIST Devel-Cycle-1.11.tar.gz 6843 SHA256 3a9325a04d0649643cc1c37909a347698d0a3c11f8780475de5d8c9cba1f879d SHA512 605290e6cfa0876534b07ad04e60ba08b1b229341b5d5237de2b9aa142b3c2627640bf59df830888ba09ed62c11fbf4d65d0bc99036fcac0fd282497135355ed WHIRLPOOL 92aa01864f51d336ce97b4cef7ea5b36d34cb848dc9fff03f53354e83d7771e0630987777bea7033f6a370ac45a1432cd32a640289f32973adc4a45e811e9878
|
||||
DIST Devel-Cycle-1.12.tar.gz 7276 SHA256 fd3365c4d898b2b2bddbb78a46d507a18cca8490a290199547dab7f1e7390bc2 SHA512 e2c83829905449d13c86233ad5bfce28e7b4eca61a8ac1e2f73e3c906a2d8580f66ae84d865ef876c38c2d25f0a5a8adeb05f6e94594274d8a5fa1739842d08d WHIRLPOOL b2c73356363c043fd6c6595fdc8f471a47999712e9503ca70ac0ad796b3d5feaed7a067aab8b7af85db3ccb943d5508f5c05e8e15466570afe27935b9b14104c
|
||||
|
@ -1,17 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=SALVA
|
||||
MODULE_VERSION=2.02
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Per-line Perl profiler"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
SRC_TEST="do"
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=DROLSKY
|
||||
MODULE_VERSION=1.30
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Devel-StackTrace module for perl"
|
||||
|
||||
LICENSE="Artistic-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ~ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="virtual/perl-File-Spec"
|
||||
DEPEND="${RDEPEND}
|
||||
>=virtual/perl-ExtUtils-MakeMaker-6.31
|
||||
test? ( >=virtual/perl-Test-Simple-0.88 )"
|
||||
|
||||
SRC_TEST="do"
|
@ -1,2 +1 @@
|
||||
DIST Devel-StackTrace-1.30.tar.gz 18518 SHA256 f4af79762263e477a65764ec9ff837e6e1c9f1f2c966c183036cd54bdee723d4 SHA512 9ba394d9cf44587987abbca82d86c393f795a828bb4c8b370c617609bcaea53286891e418934eb75966664d31b4da56150b2080e732fc701a51306628ed57e67 WHIRLPOOL 6990015cdc39a0f99da8fd896dcafd028e8139600109ffefbbd379cf14b3590c584efc499082b018b2d9f5b24f8b0b32345b2fa669a51fb494af58846a893241
|
||||
DIST Devel-StackTrace-2.00.tar.gz 30012 SHA256 1debe7273099a60e1386e0da5edbed7334db3cf3ed8e3b4106b087100b8ec5e4 SHA512 3a91249dd6c6da34ceeb66d947c269e360503f193b57acbed76671b030de4d2f7e9bf2c0cc4104777fbfd1dc610c06cf3c1e21b914334bb068b66875cc4e2af7 WHIRLPOOL ef97a2d5eaf2fdee6d6748bf9c32fbe795c3e8a7d475344279f65ed04ee7476b3eeb32d3ee6ec54355de663694dd8892d07ebbb22fd30242e290099584fd5499
|
||||
|
@ -1,18 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=DELTA
|
||||
MODULE_VERSION=1.8
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Pure perl implementation of MD5"
|
||||
|
||||
LICENSE="|| ( Artistic GPL-1 GPL-2 GPL-3 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
SRC_TEST="do"
|
@ -1,2 +1 @@
|
||||
DIST Digest-Perl-MD5-1.8.tar.gz 74077 SHA256 86b1f32a09ced075606d98a1b6ed24a44b2e18bfd0ab515dc987f99d9112d860 SHA512 d2648aa3c675c31f0af044668ef773ba7ad244412028b0f8f60d4c3bf1cfd33bb68d6398a645684df737ce7775b516ed67fbef5495c3610e82c58aea3abc8870 WHIRLPOOL 8b94fd22cd08c7a05ba0ebcca36b266e18e91566c017a9d51199f2c11f8073ab59046ed29eef0d5706ee6395a42600da52e1ef9d7b645ac3a9a73ab0ea763d1b
|
||||
DIST Digest-Perl-MD5-1.9.tar.gz 72009 SHA256 7100cba1710f45fb0e907d8b1a7bd8caef35c64acd31d7f225aff5affeecd9b1 SHA512 015a1f046b85b5b89c1b44073d60116d483332cd667cb7230222df9651b7da837a532991e91848ff0b65f171b8870c2c4bda651da4ca54ea75d062ba6a55b525 WHIRLPOOL f2b8837b919ff78809bb6758afc0bf657ac00cf615f88558e7329827c0113dfb287e7a944d8181c50787f491a8cb4dbac4d5dc763c218445e03853f800ff0ca2
|
||||
|
@ -1,2 +1,2 @@
|
||||
DIST EV-4.15.tar.gz 189514 SHA256 7bc3701a94dcfb13cfb382dc36cd3455c7497afe976c604a1e1783c032ae9975 SHA512 792c87b0312b9ed8b9faacf83e59fb89404e68e044f475532b9e5e04a750e2adc98cc6352f4c24c3cc403f059451c72142b0e6a0fa0583ff34707b8c3bbdefff WHIRLPOOL fe7215b2713ce5ab3446f30e733c166ea438934153b2b9d0970d1a7b46f3ab9175ea9782234163bbc20ba39060371e95a29d7f8bd93072538698e5586e24c5f7
|
||||
DIST EV-4.18.tar.gz 190556 SHA256 7d16b820a0b321b0631f0f9f857e87cd0b29da8e11f5686f767cb8dca424fe02 SHA512 623ce15d0e569a70ce6df1fab7c7545e20a1bb2ed41b36375621cdeacbf51732f662275b31d2f50ab17de4f25e37ecfbd4aff030fd4a78aefa30b26cd9d461d0 WHIRLPOOL 2316572464445db226ffea5b2e1395e1272d1c60cd27fcfa06323f8335c19ca5ba03eec52875ec84c97f14fd26e3943a78717dcd4488562fed2dbf7bbd8b5443
|
||||
DIST EV-4.22.tar.gz 193418 SHA256 2ae7f8734e2e4945510252152c3bea4be35f4aa58aad3db0504c38844b08a991 SHA512 0d30d1388a75ed3af24c3b854d8c2a54bfc62c274591f13205c35748f3652122bae85f46aae174ce5963395233536222c8fae35e8118cbd5af2f7ed0c45b70de WHIRLPOOL 2b60c964d4b48d46363b857e0d981d12f7b694346491410f0276d3e8643fbd4ecfc653b08a60edff939b37fab85b91ecebb871e74dad9697f6bbcfbfc9fbf010
|
||||
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=RJBS
|
||||
MODULE_VERSION=3.003
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="unified interface to mail representations"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc ppc64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-perl/MRO-Compat
|
||||
>=dev-perl/Email-Simple-1.91
|
||||
>=dev-perl/Module-Pluggable-1.5
|
||||
virtual/perl-Scalar-List-Utils"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
SRC_TEST="do"
|
@ -1,2 +1 @@
|
||||
DIST Email-Abstract-3.003.tar.gz 17370 SHA256 c984199b91465c43f27394bd8d4d000e7ede8b28c028a66b199ab5bdee9d7b00 SHA512 7b75fb1cded22cc1c206e985ac56a177516416b80032079089d0b780499d8ba3f0f0ced768d19a1926b9708c162a4d87c653c00d2b4af232708945237d3f17ab WHIRLPOOL 75b21af52640c2a9931b9927a49c25917a2de1d81987e6c4103d124c858c85b0824e5a108ed8ab254c1d98333b69606f829af5d7ca0abc2b411154a9ca1d0a3a
|
||||
DIST Email-Abstract-3.007.tar.gz 24091 SHA256 10915aa3a558f6ba9c51a13ea1c135aed765e185a14cd2cfc9b434599cf5eaa8 SHA512 84fa3500dc5ff69315b93e6a6bc1e8f162b9ea99672aee4c05a30b83ca94407b584b0a9dbec202b1471f8cb3ec12a57b2b86fb43901782b85ad4280b97434e7a WHIRLPOOL 407f550d92d028a619c11c680893c0a07cb1496a6a2a526968e0835edff85e0653e07f6cd924ab5e6ea0c153891ef1a7993dc69da4babf3aafa8a73051757ac4
|
||||
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=RJBS
|
||||
MODULE_VERSION=1.905
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="RFC 2822 Address Parsing and Creation"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
virtual/perl-Test-Simple
|
||||
>=dev-perl/Test-Pod-1.14
|
||||
>=dev-perl/Test-Pod-Coverage-1.08
|
||||
dev-perl/Capture-Tiny
|
||||
)"
|
||||
|
||||
SRC_TEST="do"
|
@ -1,3 +1,2 @@
|
||||
DIST Email-Address-1.905.tar.gz 39663 SHA256 737f15e4e3ac09186d7053a1b89619d0b714a284f232e207677b186d9fcc92b2 SHA512 236b3740f11f42de9ad4be8e31562bf96408b745bbbe1a2b8a11093fbb05b23b95c10ddc2c0bfeb057b5d03bbd265f1480323a2ee732ca6f6b9660ef16853986 WHIRLPOOL 13398b8039aed869b8f8aeef6557df45bcd297a93c6f091f72e61afbd107c1bf36e42aa8180078cdaf8eb3106f9de3a3c03039c4b70000b6d9f4d6059dfb5848
|
||||
DIST Email-Address-1.907.tar.gz 41262 SHA256 1d8653e356a7d390ca23358f14e30d1f48ea3fcab1b52d584b5bfe9b48c824aa SHA512 c62c4cd96cd73a914166245af237e5a11e44a6e30f4620ee6ce8a1f04197c35c34706bbd3cef0a87b1ce043f43623154949f3d089c3f582a1b82ddc45b4f4dd2 WHIRLPOOL 56523f5a99e28cdc006c72a736cb9f76d283920267576511e67c59479fb026b6a9a6bc6a6de05e42e219ecf243cfc708530b3604881a6dd8ab885944f9cc2e64
|
||||
DIST Email-Address-1.908.tar.gz 41925 SHA256 e5f860bdfe6d768324bc9e402d563667e4171dd98f1a87d785e9087f7793d444 SHA512 041744a43648ca53f3b78b387b8f170c000a2d67cf22f2740609a80feace70bc5d29389f22d96a7b7700efdd6a39c90eae494f17c7dc9e909f421df5ecb473ed WHIRLPOOL 1092b5b76b291f9f8677688ba8f8d773c230524917b1886b44ace6b838fae2bdb92f7bf84b2869e668a38e4cefdcb0612a64419f5440fc702b0cf8bb603c8ccf
|
||||
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=RJBS
|
||||
MODULE_VERSION=1.926
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Easy MIME message parsing"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc ppc64 x86 ~sparc-solaris ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-perl/Email-MessageID
|
||||
>=dev-perl/Email-MIME-Encodings-1.314.0
|
||||
>=dev-perl/Email-MIME-ContentType-1.16.0
|
||||
>=dev-perl/Email-Simple-2.102.0
|
||||
>=dev-perl/MIME-Types-1.180.0
|
||||
!dev-perl/Email-MIME-Modifier
|
||||
!dev-perl/Email-MIME-Creator
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
>=virtual/perl-Test-Simple-0.880.0
|
||||
dev-perl/Test-Pod
|
||||
dev-perl/Test-Pod-Coverage
|
||||
)
|
||||
"
|
||||
|
||||
SRC_TEST="do"
|
@ -1,3 +1,2 @@
|
||||
DIST Email-MIME-1.926.tar.gz 111817 SHA256 458b8dd539827a671352f4e9c759322e74e630b8e934fc942dbc06525a7d01a2 SHA512 79eb9e98dcfda1fdd023ab7c42fe151cb9fc482844648be9bd9cbb73cc9583f1a78f8aa5e056e3c45a63fbe87db2aaafd7d460481697e22e787286f929807db3 WHIRLPOOL e2c3c876df7a9852794f3c99ef346b1e0bcf8b2ae158ad05fc203576d9154414f0428e59241b12987cfe38098fd699001f3dfdf634e28b181041134ad2182470
|
||||
DIST Email-MIME-1.929.tar.gz 115105 SHA256 b0c9267bd9266e40671c2080782f7303cb17b4e93bd066b8677137f21a6dc7e9 SHA512 13a2591de92720dd3f8f798e442cf65c391d38e2a6d1e72d87c9301e8e3b2aa8fc1c8e3cfbcb829f14844bde59575a03ef7eb535741624e4dc8f3575c4089697 WHIRLPOOL bd89adfe87ea78604c860730ef76f6f69c2e97512075445264f05297d08ae977ff76c48ee6d89c05760d3811126aebe89b985dcd1246e6d2065770f774f4f709
|
||||
DIST Email-MIME-1.936.tar.gz 117468 SHA256 4c0934284da84b8e9ed48ff1060c9719273fac18e776f4c8e888a47c863ee661 SHA512 3f7fa49a14cb4351a5967600f0ea6b491558ba0ee71799b58ff1a39579ca27776f2e22092d09cacfa5c1f1281033f216ba961807c2b72272e0c8dea5b0db024a WHIRLPOOL b42bd7f03daaeeb211fe84f2a154ad6186724b1e8b0b4ec92c8ac07f94900d84096b771127022a49e4cbd744930db763edc69146eb7a696c2f5904e3f9dfa2b9
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue