parent
09f515ea16
commit
0f43c98eae
@ -1 +1,2 @@
|
||||
DIST tripwire-2.4.3.5.tar.gz 965014 SHA256 4bb0b400d8f5d7f8762ffb87a683f113f8c77186689cc63b8cedbbc628c9c33b SHA512 7aef0e7d38f4b6966a806a4e556636c7b2477f4ea5451e89f1749c1535a489c2f490ea13898edff5d7786acf572f77d04430115b8ddd4c6a03c38382feb45269 WHIRLPOOL f5f06d2f509e8047ede81226d3179f253e32aae4193817ab1000dd843f4b9810f6aacc6cd9c0bdc8a0c6835fdb11f79c85838a3b799d8c6565861d43dd433a99
|
||||
DIST tripwire-2.4.3.6.tar.gz 1001145 SHA256 f55fe6805f2c159bd67fa3761ba52df95b2a7d0bdd06196847564bac00dd5606 SHA512 4757827b908fd56a014de81609be9cfdf3631d34cbc02214ac800bf6d9c413d85d812bc3211f9dc32ceee97e1f13decd955037a0cbbaf2f8e3020699492bd9bf WHIRLPOOL 0dad2b00a6e868179c1538ec48859a03857fa5bc62dcb9eb3240e11e10cd7ebf4de1fe85802c08abbf1ff1efca0768dcd63ff8088914f53f32cbf7fda20ec706
|
||||
|
@ -0,0 +1,79 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools eutils flag-o-matic
|
||||
|
||||
DESCRIPTION="Open Source File Integrity Checker and IDS"
|
||||
HOMEPAGE="http://www.tripwire.org/"
|
||||
SRC_URI="https://github.com/Tripwire/tripwire-open-source/archive/${PV}.tar.gz -> ${PF}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
|
||||
IUSE="libressl selinux ssl static +tools"
|
||||
|
||||
DEPEND="sys-devel/automake
|
||||
sys-devel/autoconf
|
||||
ssl? (
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
)"
|
||||
RDEPEND="virtual/cron
|
||||
virtual/mta
|
||||
selinux? ( sec-policy/selinux-tripwire )
|
||||
ssl? ( dev-libs/openssl )"
|
||||
PDEPEND="tools? ( app-admin/mktwpol )"
|
||||
|
||||
S="${WORKDIR}/tripwire-open-source-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# tripwire can be sensitive to compiler optimisation.
|
||||
# see #32613, #45823, and others.
|
||||
# -taviso@gentoo.org
|
||||
strip-flags
|
||||
append-cppflags -DCONFIG_DIR='"\"/etc/tripwire\""' -fno-strict-aliasing
|
||||
econf $(use_enable ssl openssl) $(use_enable static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dosbin "${S}"/bin/{siggen,tripwire,twadmin,twprint}
|
||||
doman "${S}"/man/man{4/*.4,5/*.5,8/*.8}
|
||||
dodir /etc/tripwire /var/lib/tripwire{,/report}
|
||||
keepdir /var/lib/tripwire{,/report}
|
||||
|
||||
exeinto /etc/cron.daily
|
||||
doexe "${FILESDIR}"/tripwire
|
||||
|
||||
dodoc ChangeLog policy/policyguide.txt TRADEMARK \
|
||||
"${FILESDIR}"/tripwire.txt
|
||||
|
||||
insinto /etc/tripwire
|
||||
doins "${FILESDIR}"/twcfg.txt policy/twpol-GENERIC.txt
|
||||
|
||||
fperms 750 /etc/cron.daily/tripwire
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]] ; then
|
||||
elog "Tripwire needs to be configured before its first run. You can"
|
||||
elog "do this by manually editing the twpol-GENERIC.txt file shipped with"
|
||||
elog "the package to suit your needs. A quickstart guide is provided"
|
||||
elog "in tripwire.txt file to help you with this."
|
||||
elog "To configure tripwire automatically, you can use the twsetup.sh"
|
||||
elog "script provided by the app-admin/mktwpol package. This package is"
|
||||
elog "installed for you by the \"tools\" USE flag (which is enabled by"
|
||||
elog "default."
|
||||
else
|
||||
elog "Maintenance of tripwire policy files as packages are added"
|
||||
elog "and deleted from your system can be automated by the mktwpol.sh"
|
||||
elog "script provided by the app-admin/mktwpol package. This package"
|
||||
elog "is installed for you if you append \"tools\" to your USE flags"
|
||||
fi
|
||||
}
|
@ -1,114 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# XXX: atm, libbz2.a is always PIC :(, so it is always built quickly
|
||||
# (since we're building shared libs) ...
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils toolchain-funcs multilib multilib-minimal
|
||||
|
||||
DESCRIPTION="A high-quality data compressor used extensively by Gentoo Linux"
|
||||
HOMEPAGE="http://www.bzip.org/"
|
||||
SRC_URI="http://www.bzip.org/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BZIP2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="static static-libs"
|
||||
|
||||
RDEPEND="abi_x86_32? (
|
||||
!<=app-emulation/emul-linux-x86-baselibs-20130224
|
||||
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
|
||||
)"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-1.0.4-makefile-CFLAGS.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.0.6-saneso.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.0.4-man-links.patch #172986
|
||||
epatch "${FILESDIR}"/${PN}-1.0.6-progress.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.0.3-no-test.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.0.4-POSIX-shell.patch #193365
|
||||
epatch "${FILESDIR}"/${PN}-1.0.6-mingw.patch #393573
|
||||
epatch "${FILESDIR}"/${PN}-1.0.6-out-of-tree-build.patch
|
||||
|
||||
# - Use right man path
|
||||
# - Generate symlinks instead of hardlinks
|
||||
# - pass custom variables to control libdir
|
||||
sed -i \
|
||||
-e 's:\$(PREFIX)/man:\$(PREFIX)/share/man:g' \
|
||||
-e 's:ln -s -f $(PREFIX)/bin/:ln -s -f :' \
|
||||
-e 's:$(PREFIX)/lib:$(PREFIX)/$(LIBDIR):g' \
|
||||
Makefile || die
|
||||
}
|
||||
|
||||
bemake() {
|
||||
emake \
|
||||
VPATH="${S}" \
|
||||
CC="$(tc-getCC)" \
|
||||
AR="$(tc-getAR)" \
|
||||
RANLIB="$(tc-getRANLIB)" \
|
||||
"$@"
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
bemake -f "${S}"/Makefile-libbz2_so all
|
||||
# Make sure we link against the shared lib #504648
|
||||
ln -sf libbz2.so.${PV} libbz2.so
|
||||
bemake -f "${S}"/Makefile all LDFLAGS="${LDFLAGS} $(usex static -static '')"
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
into /usr
|
||||
|
||||
# Install the shared lib manually. We install:
|
||||
# .x.x.x - standard shared lib behavior
|
||||
# .x.x - SONAME some distros use #338321
|
||||
# .x - SONAME Gentoo uses
|
||||
dolib.so libbz2.so.${PV}
|
||||
local v
|
||||
for v in libbz2.so{,.{${PV%%.*},${PV%.*}}} ; do
|
||||
dosym libbz2.so.${PV} /usr/$(get_libdir)/${v}
|
||||
done
|
||||
use static-libs && dolib.a libbz2.a
|
||||
|
||||
if multilib_is_native_abi ; then
|
||||
gen_usr_ldscript -a bz2
|
||||
|
||||
dobin bzip2recover
|
||||
into /
|
||||
dobin bzip2
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
# `make install` doesn't cope with out-of-tree builds, nor with
|
||||
# installing just non-binaries, so handle things ourselves.
|
||||
insinto /usr/include
|
||||
doins bzlib.h
|
||||
into /usr
|
||||
dobin bz{diff,grep,more}
|
||||
doman *.1
|
||||
|
||||
dosym bzdiff /usr/bin/bzcmp
|
||||
dosym bzdiff.1 /usr/share/man/man1/bzcmp.1
|
||||
|
||||
dosym bzmore /usr/bin/bzless
|
||||
dosym bzmore.1 /usr/share/man/man1/bzless.1
|
||||
|
||||
local x
|
||||
for x in bunzip2 bzcat bzip2recover ; do
|
||||
dosym bzip2.1 /usr/share/man/man1/${x}.1
|
||||
done
|
||||
for x in bz{e,f}grep ; do
|
||||
dosym bzgrep /usr/bin/${x}
|
||||
dosym bzgrep.1 /usr/share/man/man1/${x}.1
|
||||
done
|
||||
|
||||
dodoc README* CHANGES manual.pdf
|
||||
dohtml manual.html
|
||||
|
||||
# move "important" bzip2 binaries to /bin and use the shared libbz2.so
|
||||
dosym bzip2 /bin/bzcat
|
||||
dosym bzip2 /bin/bunzip2
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit readme.gentoo-r1
|
||||
|
||||
DESCRIPTION="A shell frontend for duplicity"
|
||||
HOMEPAGE="http://duply.net"
|
||||
SRC_URI="mirror://sourceforge/project/ftplicity/duply%20%28simple%20duplicity%29/2.0.x/${PN}_${PV}.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-text/txt2man"
|
||||
RDEPEND="app-backup/duplicity"
|
||||
|
||||
S=${WORKDIR}/${PN}_${PV}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
./${PN} txt2man > ${PN}.1 || die
|
||||
doman ${PN}.1
|
||||
dodoc CHANGELOG.txt
|
||||
readme.gentoo_create_doc
|
||||
}
|
@ -0,0 +1,514 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# NOTE: this ebuild has been generated by atom-ebuild-gen.py from the
|
||||
# atom overlay.
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit python-single-r1 multiprocessing rpm virtualx
|
||||
|
||||
DESCRIPTION="A hackable text editor for the 21st Century"
|
||||
HOMEPAGE="https://atom.io"
|
||||
MY_PV="${PV//_/-}"
|
||||
|
||||
ELECTRON_V=1.6.9
|
||||
ELECTRON_SLOT=1.6
|
||||
|
||||
ASAR_V=0.13.0
|
||||
# All binary packages depend on this
|
||||
NAN_V=2.6.2
|
||||
|
||||
CACHED_RUN_IN_THIS_CONTEXT_V=0.4.1
|
||||
CTAGS_V=3.0.0
|
||||
FS_ADMIN_V=0.1.6
|
||||
GIT_UTILS_V=5.0.0
|
||||
KEYBOARD_LAYOUT_V=2.0.13
|
||||
KEYTAR_V=4.0.4
|
||||
NSFW_V=1.0.16
|
||||
NSLOG_V=3.0.0
|
||||
ONIGURUMA_V=6.2.1
|
||||
PATHWATCHER_V=8.0.1
|
||||
RUNAS_V=3.1.1
|
||||
SCROLLBAR_STYLE_V=3.2.0
|
||||
SPELLCHECKER_V=3.4.2
|
||||
SUPERSTRING_V=2.2.3
|
||||
|
||||
# The x86_64 arch below is irrelevant, as we will rebuild all binary packages.
|
||||
SRC_URI="
|
||||
https://github.com/${PN}/${PN}/releases/download/v${MY_PV}/atom.x86_64.rpm -> atom-bin-${MY_PV}.rpm
|
||||
https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> atom-${MY_PV}.tar.gz
|
||||
https://github.com/elprans/asar/releases/download/v${ASAR_V}-gentoo/asar-build.tar.gz -> asar-${ASAR_V}.tar.gz
|
||||
https://github.com/nodejs/nan/archive/v${NAN_V}.tar.gz -> nodejs-nan-${NAN_V}.tar.gz
|
||||
https://registry.npmjs.org/cached-run-in-this-context/-/cached-run-in-this-context-0.4.1.tgz -> atomdep-cached-run-in-this-context-0.4.1.tar.gz
|
||||
https://registry.npmjs.org/ctags/-/ctags-3.0.0.tgz -> atomdep-ctags-3.0.0.tar.gz
|
||||
https://registry.npmjs.org/fs-admin/-/fs-admin-0.1.6.tgz -> atomdep-fs-admin-0.1.6.tar.gz
|
||||
https://registry.npmjs.org/git-utils/-/git-utils-5.0.0.tgz -> atomdep-git-utils-5.0.0.tar.gz
|
||||
https://registry.npmjs.org/keyboard-layout/-/keyboard-layout-2.0.13.tgz -> atomdep-keyboard-layout-2.0.13.tar.gz
|
||||
https://registry.npmjs.org/keytar/-/keytar-4.0.4.tgz -> atomdep-keytar-4.0.4.tar.gz
|
||||
https://registry.npmjs.org/nsfw/-/nsfw-1.0.16.tgz -> atomdep-nsfw-1.0.16.tar.gz
|
||||
https://registry.npmjs.org/nslog/-/nslog-3.0.0.tgz -> atomdep-nslog-3.0.0.tar.gz
|
||||
https://registry.npmjs.org/oniguruma/-/oniguruma-6.2.1.tgz -> atomdep-oniguruma-6.2.1.tar.gz
|
||||
https://registry.npmjs.org/pathwatcher/-/pathwatcher-8.0.1.tgz -> atomdep-pathwatcher-8.0.1.tar.gz
|
||||
https://registry.npmjs.org/runas/-/runas-3.1.1.tgz -> atomdep-runas-3.1.1.tar.gz
|
||||
https://registry.npmjs.org/scrollbar-style/-/scrollbar-style-3.2.0.tgz -> atomdep-scrollbar-style-3.2.0.tar.gz
|
||||
https://registry.npmjs.org/spellchecker/-/spellchecker-3.4.2.tgz -> atomdep-spellchecker-3.4.2.tar.gz
|
||||
https://registry.npmjs.org/superstring/-/superstring-2.2.3.tgz -> atomdep-superstring-2.2.3.tar.gz
|
||||
"
|
||||
|
||||
BINMODS=(
|
||||
cached-run-in-this-context
|
||||
ctags
|
||||
fs-admin
|
||||
git-utils
|
||||
keyboard-layout
|
||||
keytar
|
||||
nsfw
|
||||
nslog
|
||||
oniguruma
|
||||
pathwatcher
|
||||
runas
|
||||
scrollbar-style
|
||||
spellchecker
|
||||
superstring
|
||||
)
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DEPEND="
|
||||
${PYTHON_DEPS}
|
||||
>=app-text/hunspell-1.3.3:=
|
||||
>=dev-libs/libgit2-0.23:=[ssh]
|
||||
>=dev-libs/libpcre2-10.22:=[jit,pcre16]
|
||||
>=gnome-base/libgnome-keyring-3.12:=
|
||||
>=dev-libs/oniguruma-5.9.5:=
|
||||
>=dev-util/ctags-5.8
|
||||
>=dev-util/electron-${ELECTRON_V}:${ELECTRON_SLOT}
|
||||
x11-libs/libxkbfile"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
!sys-apps/apmd
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
BIN_S="${WORKDIR}/${PN}-bin-${MY_PV}"
|
||||
BUILD_DIR="${S}/out"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
local a
|
||||
|
||||
for a in ${A} ; do
|
||||
case ${a} in
|
||||
*.rpm) srcrpm_unpack "${a}" ;;
|
||||
*) _unpack "${a}" ;;
|
||||
esac
|
||||
done
|
||||
|
||||
mkdir "${BIN_S}" || die
|
||||
mv "${WORKDIR}/usr" "${BIN_S}" || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local install_dir="$(get_install_dir)"
|
||||
local suffix="$(get_install_suffix)"
|
||||
local nan_s="${WORKDIR}/nodejs-nan-${NAN_V}"
|
||||
local patch
|
||||
local binmod
|
||||
local _s
|
||||
|
||||
mkdir "${BUILD_DIR}" || die
|
||||
cp -a "${BIN_S}/$(get_atom_rpmdir)/resources/app" \
|
||||
"${BUILD_DIR}/app" || die
|
||||
|
||||
# Add source files omitted from the upstream binary distribution,
|
||||
# and which we want to include in ours.
|
||||
cp -a -t "${BUILD_DIR}/app" "${S}/spec" || die
|
||||
|
||||
# Unpack app.asar
|
||||
if [ -e "${BIN_S}/$(get_atom_rpmdir)/resources/app.asar" ]; then
|
||||
easar extract "${BIN_S}/$(get_atom_rpmdir)/resources/app.asar" \
|
||||
"${BUILD_DIR}/app"
|
||||
fi
|
||||
|
||||
cd "${BUILD_DIR}/app" || die
|
||||
|
||||
eapply "${FILESDIR}/atom-python.patch"
|
||||
eapply "${FILESDIR}/apm-python.patch"
|
||||
eapply "${FILESDIR}/atom-unbundle-electron.patch"
|
||||
eapply "${FILESDIR}/atom-apm-path-r1.patch"
|
||||
eapply "${FILESDIR}/atom-license-path-r1.patch"
|
||||
eapply "${FILESDIR}/atom-fix-app-restart-r1.patch"
|
||||
eapply "${FILESDIR}/atom-marker-layer-r1.patch"
|
||||
|
||||
sed -i -e "s|{{NPM_CONFIG_NODEDIR}}|$(get_electron_nodedir)|g" \
|
||||
./atom.sh \
|
||||
|| die
|
||||
|
||||
sed -i -e "s|{{ATOM_PATH}}|$(get_electron_dir)/electron|g" \
|
||||
./atom.sh \
|
||||
|| die
|
||||
|
||||
sed -i -e "s|{{ATOM_RESOURCE_PATH}}|${install_dir}/app.asar|g" \
|
||||
./atom.sh \
|
||||
|| die
|
||||
|
||||
local env="export NPM_CONFIG_NODEDIR=$(get_electron_nodedir)\n\
|
||||
export ELECTRON_NO_ASAR=1"
|
||||
sed -i -e \
|
||||
"s|\"\$binDir/\$nodeBin\"|${env}\nexec $(get_electron_dir)/node|g" \
|
||||
apm/bin/apm || die
|
||||
|
||||
sed -i -e \
|
||||
"s|^\([[:space:]]*\)node[[:space:]]\+|\1\"$(get_electron_dir)/node\" |g" \
|
||||
apm/node_modules/npm/bin/node-gyp-bin/node-gyp || die
|
||||
|
||||
sed -i -e \
|
||||
"s|atomCommand = 'atom';|atomCommand = '/usr/bin/atom${suffix}'|g" \
|
||||
apm/lib/test.js || die
|
||||
|
||||
rm apm/bin/node || die
|
||||
|
||||
sed -i -e "s|/$(get_atom_rpmdir)/atom|/usr/bin/atom${suffix}|g" \
|
||||
"${BIN_S}/usr/share/applications/$(get_atom_appname).desktop" || die
|
||||
|
||||
for binmod in ${BINMODS[@]}; do
|
||||
_s="${WORKDIR}/$(package_dir ${binmod})"
|
||||
cd "${_s}" || die
|
||||
if _have_patches_for "${binmod}"; then
|
||||
for patch in "${FILESDIR}"/${binmod}-*.patch; do
|
||||
eapply "${patch}"
|
||||
done
|
||||
fi
|
||||
done
|
||||
|
||||
cd "${BUILD_DIR}/app" || die
|
||||
|
||||
# Unbundle bundled libs from modules
|
||||
|
||||
_s="${WORKDIR}/$(package_dir git-utils)"
|
||||
${EPYTHON} "${FILESDIR}/gyp-unbundle.py" \
|
||||
--inplace --unbundle "git;libgit2;git2" \
|
||||
"${_s}/binding.gyp" || die
|
||||
|
||||
_s="${WORKDIR}/$(package_dir oniguruma)"
|
||||
${EPYTHON} "${FILESDIR}/gyp-unbundle.py" \
|
||||
--inplace --unbundle "onig_scanner;oniguruma;onig" \
|
||||
"${_s}/binding.gyp" || die
|
||||
|
||||
_s="${WORKDIR}/$(package_dir spellchecker)"
|
||||
${EPYTHON} "${FILESDIR}/gyp-unbundle.py" \
|
||||
--inplace --unbundle "spellchecker;hunspell;hunspell" \
|
||||
"${_s}/binding.gyp" || die
|
||||
|
||||
_s="${WORKDIR}/$(package_dir superstring)"
|
||||
${EPYTHON} "${FILESDIR}/gyp-unbundle.py" \
|
||||
--inplace --unbundle \
|
||||
"superstring_core;./vendor/pcre/pcre.gyp:pcre;pcre2-16; \
|
||||
-DPCRE2_CODE_UNIT_WIDTH=16" \
|
||||
"${_s}/binding.gyp" || die
|
||||
|
||||
for binmod in ${BINMODS[@]}; do
|
||||
_s="${WORKDIR}/$(package_dir ${binmod})"
|
||||
mkdir -p "${_s}/node_modules" || die
|
||||
ln -s "${nan_s}" "${_s}/node_modules/nan" || die
|
||||
done
|
||||
|
||||
sed -i -e "s|{{ATOM_SUFFIX}}|${suffix}|g" \
|
||||
"${BUILD_DIR}/app/src/config-schema.js" || die
|
||||
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local binmod
|
||||
|
||||
for binmod in ${BINMODS[@]}; do
|
||||
einfo "Configuring ${binmod}..."
|
||||
cd "${WORKDIR}/$(package_dir ${binmod})" || die
|
||||
enodegyp_atom configure
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local binmod
|
||||
local x
|
||||
local ctags_d="node_modules/symbols-view/vendor"
|
||||
local jobs=$(makeopts_jobs)
|
||||
local gypopts
|
||||
|
||||
# Transpile any yet untranspiled files.
|
||||
ecoffeescript "${BUILD_DIR}/app/spec/*.coffee"
|
||||
|
||||
gypopts="--verbose"
|
||||
|
||||
if [[ ${MAKEOPTS} == *-j* && ${jobs} != 999 ]]; then
|
||||
gypopts+=" --jobs ${jobs}"
|
||||
fi
|
||||
|
||||
mkdir -p "${BUILD_DIR}/modules/" || die
|
||||
|
||||
for binmod in ${BINMODS[@]}; do
|
||||
einfo "Building ${binmod}..."
|
||||
cd "${WORKDIR}/$(package_dir ${binmod})" || die
|
||||
enodegyp_atom ${gypopts} build
|
||||
x=${binmod##node-}
|
||||
mkdir -p "${BUILD_DIR}/modules/${x}" || die
|
||||
cp build/Release/*.node "${BUILD_DIR}/modules/${x}" || die
|
||||
done
|
||||
|
||||
# Put compiled binary modules in place
|
||||
_fix_binmods "${BUILD_DIR}/app" "apm"
|
||||
_fix_binmods "${BUILD_DIR}/app" "node_modules"
|
||||
|
||||
# Remove non-Linux vendored ctags binaries
|
||||
rm "${BUILD_DIR}/app/${ctags_d}/ctags-darwin" \
|
||||
"${BUILD_DIR}/app/${ctags_d}/ctags-win32.exe" || die
|
||||
|
||||
# Re-pack app.asar
|
||||
# Keep unpack rules in sync with build/tasks/generate-asar-task.coffee
|
||||
cd "${BUILD_DIR}" || die
|
||||
x="--unpack={*.node,ctags-config,ctags-linux,**/spec/fixtures/**,**/node_modules/spellchecker/**,**/resources/atom.png}"
|
||||
xd="--unpack-dir=apm"
|
||||
easar pack "${x}" "${xd}" "app" "app.asar"
|
||||
|
||||
rm -r "${BUILD_DIR}/app.asar.unpacked/apm" || die
|
||||
|
||||
# Replace vendored ctags with a symlink to system ctags
|
||||
rm "${BUILD_DIR}/app.asar.unpacked/${ctags_d}/ctags-linux" || die
|
||||
ln -s "/usr/bin/ctags" \
|
||||
"${BUILD_DIR}/app.asar.unpacked/${ctags_d}/ctags-linux" || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local electron="$(get_electron_dir)/electron"
|
||||
local app="${BUILD_DIR}/app.asar"
|
||||
|
||||
virtx "${electron}" --app="${app}" --test "${app}/spec"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local install_dir="$(get_install_dir)"
|
||||
local suffix="$(get_install_suffix)"
|
||||
|
||||
insinto "${install_dir}"
|
||||
|
||||
doins "${BUILD_DIR}/app.asar"
|
||||
doins -r "${BUILD_DIR}/app.asar.unpacked"
|
||||
|
||||
insinto "${install_dir}/app"
|
||||
doins -r "${BUILD_DIR}/app/apm"
|
||||
|
||||
insinto "/usr/share/applications/"
|
||||
newins "${BIN_S}/usr/share/applications/$(get_atom_appname).desktop" \
|
||||
"atom${suffix}.desktop"
|
||||
|
||||
insinto "/usr/share/icons/"
|
||||
doins -r "${BIN_S}/usr/share/icons/hicolor"
|
||||
|
||||
exeinto "${install_dir}"
|
||||
newexe "${BUILD_DIR}/app/atom.sh" atom
|
||||
insinto "/usr/share/licenses/${PN}${suffix}"
|
||||
doins "${BIN_S}/$(get_atom_rpmdir)/resources/LICENSE.md"
|
||||
dosym "${install_dir}/atom" "/usr/bin/atom${suffix}"
|
||||
dosym "${install_dir}/app/apm/bin/apm" "/usr/bin/apm${suffix}"
|
||||
|
||||
_fix_executables "${install_dir}/app/apm/bin"
|
||||
_fix_executables "${install_dir}/app/apm/node_modules/.bin"
|
||||
_fix_executables "${install_dir}/app/apm/node_modules/npm/bin"
|
||||
_fix_executables "${install_dir}/app/apm/node_modules/npm/bin/node-gyp-bin"
|
||||
_fix_executables "${install_dir}/app/apm/node_modules/node-gyp/bin"
|
||||
}
|
||||
|
||||
# Helpers
|
||||
# -------
|
||||
|
||||
# Return the installation suffix appropriate for the slot.
|
||||
get_install_suffix() {
|
||||
local c=(${SLOT//\// })
|
||||
local slot=${c[0]}
|
||||
local suffix
|
||||
|
||||
if [[ "${slot}" == "0" ]]; then
|
||||
suffix=""
|
||||
else
|
||||
suffix="-${slot}"
|
||||
fi
|
||||
|
||||
echo -n "${suffix}"
|
||||
}
|
||||
|
||||
# Return the upstream app name appropriate for $PV.
|
||||
get_atom_appname() {
|
||||
if [[ "${PV}" == *beta* ]]; then
|
||||
echo -n "atom-beta"
|
||||
else
|
||||
echo -n "atom"
|
||||
fi
|
||||
}
|
||||
|
||||
# Return the app installation path inside the upstream archive.
|
||||
get_atom_rpmdir() {
|
||||
echo -n "usr/share/$(get_atom_appname)"
|
||||
}
|
||||
|
||||
# Return the installation target directory.
|
||||
get_install_dir() {
|
||||
echo -n "/usr/$(get_libdir)/atom$(get_install_suffix)"
|
||||
}
|
||||
|
||||
# Return the Electron installation directory.
|
||||
get_electron_dir() {
|
||||
echo -n "/usr/$(get_libdir)/electron-${ELECTRON_SLOT}"
|
||||
}
|
||||
|
||||
# Return the directory containing appropriate Node headers
|
||||
# for the required version of Electron.
|
||||
get_electron_nodedir() {
|
||||
echo -n "/usr/include/electron-${ELECTRON_SLOT}/node/"
|
||||
}
|
||||
|
||||
# Run JavaScript using Electron's version of Node.
|
||||
enode_electron() {
|
||||
"$(get_electron_dir)"/node $@
|
||||
}
|
||||
|
||||
# Run node-gyp using Electron's version of Node.
|
||||
enodegyp_atom() {
|
||||
local apmpath="$(get_atom_rpmdir)/resources/app/apm"
|
||||
local nodegyp="${BIN_S}/${apmpath}/node_modules/node-gyp/bin/node-gyp.js"
|
||||
|
||||
PATH="$(get_electron_dir):${PATH}" \
|
||||
enode_electron "${nodegyp}" \
|
||||
--nodedir="$(get_electron_nodedir)" $@ || die
|
||||
}
|
||||
|
||||
# Coffee Script wrapper.
|
||||
ecoffeescript() {
|
||||
local cscript="${FILESDIR}/transpile-coffee-script.js"
|
||||
|
||||
# Disable shell glob expansion, as we want the coffee script
|
||||
# transpiler to do that instead.
|
||||
set -f
|
||||
echo "ecoffeescript" $@
|
||||
ATOM_HOME="${T}/.atom" ATOM_SRC_ROOT="${BUILD_DIR}/app" \
|
||||
NODE_PATH="${BUILD_DIR}/app/node_modules" \
|
||||
enode_electron "${cscript}" $@ || die
|
||||
set +f
|
||||
}
|
||||
|
||||
# asar wrapper.
|
||||
easar() {
|
||||
local asar="${WORKDIR}/$(package_dir asar)/node_modules/asar/bin/asar"
|
||||
echo "asar" $@
|
||||
enode_electron "${asar}" $@ || die
|
||||
}
|
||||
|
||||
# Return a $WORKDIR directory for a given package name.
|
||||
package_dir() {
|
||||
local binmod="${1//-/_}"
|
||||
local binmod_v="${binmod^^}_V"
|
||||
echo -n ${1}-${!binmod_v}
|
||||
}
|
||||
|
||||
# Check if there are patches for a given package.
|
||||
_have_patches_for() {
|
||||
local _patches="${1}-*.patch" _find
|
||||
_find=$(find "${FILESDIR}" -maxdepth 1 -name "${_patches}" -print -quit)
|
||||
test -n "$_find"
|
||||
}
|
||||
|
||||
# Tarballs on registry.npmjs.org are wildly inconsistent,
|
||||
# and violate the convention of having ${P} as the top directory name.
|
||||
# This helper detects and fixes that.
|
||||
_unpack() {
|
||||
local a="${1}"
|
||||
local b="${a%.tar.gz}"
|
||||
local p="${b#atomdep-}"
|
||||
local dir="$(tar -tzf "${DISTDIR}/${a}" | head -1 | cut -f1 -d'/')"
|
||||
|
||||
unpack "${a}"
|
||||
|
||||
if [[ "${dir}" != "${p}" ]]; then
|
||||
# Set the correct name for the unpacked directory.
|
||||
mv "${WORKDIR}/${dir}" "${WORKDIR}/${p}" || die
|
||||
fi
|
||||
}
|
||||
|
||||
# Check if the binary node module is actually a valid dependency.
|
||||
# Sometimes the upstream removes a dependency from package.json but
|
||||
# forgets to remove the module from node_modules.
|
||||
_is_valid_binmod() {
|
||||
local mod
|
||||
|
||||
for mod in "${BINMODS[@]}"; do
|
||||
if [[ "${mod}" == "${1}" ]]; then
|
||||
return 0
|
||||
fi
|
||||
done
|
||||
|
||||
return 1
|
||||
}
|
||||
|
||||
# Replace binary node modules with the newly compiled versions thereof.
|
||||
_fix_binmods() {
|
||||
local _dir="${2}"
|
||||
local _prefix="${1}"
|
||||
local path
|
||||
local relpath
|
||||
local modpath
|
||||
local mod
|
||||
local f
|
||||
local d
|
||||
local cruft
|
||||
|
||||
(find "${_prefix}/${_dir}" -name '*.node' -print || die) \
|
||||
| while IFS= read -r path; do
|
||||
f=$(basename "${path}")
|
||||
d=$(dirname "${path}")
|
||||
relpath=${path#${_prefix}}
|
||||
relpath=${relpath##/}
|
||||
relpath=${relpath#W${_dir}}
|
||||
modpath=$(dirname ${relpath})
|
||||
modpath=${modpath%build/Release}
|
||||
mod=$(basename ${modpath})
|
||||
|
||||
_is_valid_binmod "${mod}" || continue
|
||||
|
||||
# must copy here as symlinks will cause the module loading to fail
|
||||
cp -f "${BUILD_DIR}/modules/${mod}/${f}" "${path}" || die
|
||||
cruft=$(find "${d}" -name '*.a' -print)
|
||||
if [[ -n "${cruft}" ]]; then
|
||||
rm ${cruft} || die
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
# Fix script permissions and shebangs to point to the correct version
|
||||
# of Node.
|
||||
_fix_executables() {
|
||||
local _dir="${1}"
|
||||
local _node_sb="#!$(get_electron_dir)"/node
|
||||
|
||||
(find -L "${ED}/${_dir}" -maxdepth 1 -mindepth 1 -type f -print || die) \
|
||||
| while IFS= read -r f; do
|
||||
IFS= read -r shebang < "${f}"
|
||||
|
||||
if [[ ${shebang} == '#!'* ]]; then
|
||||
fperms +x "${f#${ED}}"
|
||||
if [[ "${shebang}" == "#!/usr/bin/env node" || "${shebang}" == "#!/usr/bin/node" ]]; then
|
||||
einfo "Fixing node shebang in ${f#${ED}}"
|
||||
sed --follow-symlinks -i \
|
||||
-e "1s:${shebang}$:${_node_sb}:" "${f}" || die
|
||||
fi
|
||||
fi
|
||||
done || die
|
||||
}
|
@ -0,0 +1,511 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# NOTE: this ebuild has been generated by atom-ebuild-gen.py from the
|
||||
# atom overlay.
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit python-single-r1 multiprocessing rpm virtualx
|
||||
|
||||
DESCRIPTION="A hackable text editor for the 21st Century"
|
||||
HOMEPAGE="https://atom.io"
|
||||
MY_PV="${PV//_/-}"
|
||||
|
||||
ELECTRON_V=1.6.9
|
||||
ELECTRON_SLOT=1.6
|
||||
|
||||
ASAR_V=0.13.0
|
||||
# All binary packages depend on this
|
||||
NAN_V=2.6.2
|
||||
|
||||
CACHED_RUN_IN_THIS_CONTEXT_V=0.4.1
|
||||
CTAGS_V=3.0.0
|
||||
FS_ADMIN_V=0.1.6
|
||||
GIT_UTILS_V=5.0.0
|
||||
KEYBOARD_LAYOUT_V=2.0.13
|
||||
KEYTAR_V=4.0.4
|
||||
NSFW_V=1.0.16
|
||||
NSLOG_V=3.0.0
|
||||
ONIGURUMA_V=6.2.1
|
||||
PATHWATCHER_V=8.0.1
|
||||
SCROLLBAR_STYLE_V=3.2.0
|
||||
SPELLCHECKER_V=3.4.3
|
||||
SUPERSTRING_V=2.2.3
|
||||
|
||||
# The x86_64 arch below is irrelevant, as we will rebuild all binary packages.
|
||||
SRC_URI="
|
||||
https://github.com/${PN}/${PN}/releases/download/v${MY_PV}/atom.x86_64.rpm -> atom-bin-${MY_PV}.rpm
|
||||
https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> atom-${MY_PV}.tar.gz
|
||||
https://github.com/elprans/asar/releases/download/v${ASAR_V}-gentoo/asar-build.tar.gz -> asar-${ASAR_V}.tar.gz
|
||||
https://github.com/nodejs/nan/archive/v${NAN_V}.tar.gz -> nodejs-nan-${NAN_V}.tar.gz
|
||||
https://registry.npmjs.org/cached-run-in-this-context/-/cached-run-in-this-context-0.4.1.tgz -> atomdep-cached-run-in-this-context-0.4.1.tar.gz
|
||||
https://registry.npmjs.org/ctags/-/ctags-3.0.0.tgz -> atomdep-ctags-3.0.0.tar.gz
|
||||
https://registry.npmjs.org/fs-admin/-/fs-admin-0.1.6.tgz -> atomdep-fs-admin-0.1.6.tar.gz
|
||||
https://registry.npmjs.org/git-utils/-/git-utils-5.0.0.tgz -> atomdep-git-utils-5.0.0.tar.gz
|
||||
https://registry.npmjs.org/keyboard-layout/-/keyboard-layout-2.0.13.tgz -> atomdep-keyboard-layout-2.0.13.tar.gz
|
||||
https://registry.npmjs.org/keytar/-/keytar-4.0.4.tgz -> atomdep-keytar-4.0.4.tar.gz
|
||||
https://registry.npmjs.org/nsfw/-/nsfw-1.0.16.tgz -> atomdep-nsfw-1.0.16.tar.gz
|
||||
https://registry.npmjs.org/nslog/-/nslog-3.0.0.tgz -> atomdep-nslog-3.0.0.tar.gz
|
||||
https://registry.npmjs.org/oniguruma/-/oniguruma-6.2.1.tgz -> atomdep-oniguruma-6.2.1.tar.gz
|
||||
https://registry.npmjs.org/pathwatcher/-/pathwatcher-8.0.1.tgz -> atomdep-pathwatcher-8.0.1.tar.gz
|
||||
https://registry.npmjs.org/scrollbar-style/-/scrollbar-style-3.2.0.tgz -> atomdep-scrollbar-style-3.2.0.tar.gz
|
||||
https://registry.npmjs.org/spellchecker/-/spellchecker-3.4.3.tgz -> atomdep-spellchecker-3.4.3.tar.gz
|
||||
https://registry.npmjs.org/superstring/-/superstring-2.2.3.tgz -> atomdep-superstring-2.2.3.tar.gz
|
||||
"
|
||||
|
||||
BINMODS=(
|
||||
cached-run-in-this-context
|
||||
ctags
|
||||
fs-admin
|
||||
git-utils
|
||||
keyboard-layout
|
||||
keytar
|
||||
nsfw
|
||||
nslog
|
||||
oniguruma
|
||||
pathwatcher
|
||||
scrollbar-style
|
||||
spellchecker
|
||||
superstring
|
||||
)
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="beta"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DEPEND="
|
||||
${PYTHON_DEPS}
|
||||
>=app-text/hunspell-1.3.3:=
|
||||
>=dev-libs/libgit2-0.23:=[ssh]
|
||||
>=dev-libs/libpcre2-10.22:=[jit,pcre16]
|
||||
>=gnome-base/libgnome-keyring-3.12:=
|
||||
>=dev-libs/oniguruma-5.9.5:=
|
||||
>=dev-util/ctags-5.8
|
||||
>=dev-util/electron-${ELECTRON_V}:${ELECTRON_SLOT}
|
||||
x11-libs/libxkbfile"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
!sys-apps/apmd
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
BIN_S="${WORKDIR}/${PN}-bin-${MY_PV}"
|
||||
BUILD_DIR="${S}/out"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
local a
|
||||
|
||||
for a in ${A} ; do
|
||||
case ${a} in
|
||||
*.rpm) srcrpm_unpack "${a}" ;;
|
||||
*) _unpack "${a}" ;;
|
||||
esac
|
||||
done
|
||||
|
||||
mkdir "${BIN_S}" || die
|
||||
mv "${WORKDIR}/usr" "${BIN_S}" || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local install_dir="$(get_install_dir)"
|
||||
local suffix="$(get_install_suffix)"
|
||||
local nan_s="${WORKDIR}/nodejs-nan-${NAN_V}"
|
||||
local patch
|
||||
local binmod
|
||||
local _s
|
||||
|
||||
mkdir "${BUILD_DIR}" || die
|
||||
cp -a "${BIN_S}/$(get_atom_rpmdir)/resources/app" \
|
||||
"${BUILD_DIR}/app" || die
|
||||
|
||||
# Add source files omitted from the upstream binary distribution,
|
||||
# and which we want to include in ours.
|
||||
cp -a -t "${BUILD_DIR}/app" "${S}/spec" || die
|
||||
|
||||
# Unpack app.asar
|
||||
if [ -e "${BIN_S}/$(get_atom_rpmdir)/resources/app.asar" ]; then
|
||||
easar extract "${BIN_S}/$(get_atom_rpmdir)/resources/app.asar" \
|
||||
"${BUILD_DIR}/app"
|
||||
fi
|
||||
|
||||
cd "${BUILD_DIR}/app" || die
|
||||
|
||||
eapply "${FILESDIR}/atom-python.patch"
|
||||
eapply "${FILESDIR}/apm-python.patch"
|
||||
eapply "${FILESDIR}/atom-unbundle-electron.patch"
|
||||
eapply "${FILESDIR}/atom-apm-path-r1.patch"
|
||||
eapply "${FILESDIR}/atom-license-path-r1.patch"
|
||||
eapply "${FILESDIR}/atom-fix-app-restart-r1.patch"
|
||||
eapply "${FILESDIR}/atom-marker-layer-r1.patch"
|
||||
|
||||
sed -i -e "s|{{NPM_CONFIG_NODEDIR}}|$(get_electron_nodedir)|g" \
|
||||
./atom.sh \
|
||||
|| die
|
||||
|
||||
sed -i -e "s|{{ATOM_PATH}}|$(get_electron_dir)/electron|g" \
|
||||
./atom.sh \
|
||||
|| die
|
||||
|
||||
sed -i -e "s|{{ATOM_RESOURCE_PATH}}|${install_dir}/app.asar|g" \
|
||||
./atom.sh \
|
||||
|| die
|
||||
|
||||
local env="export NPM_CONFIG_NODEDIR=$(get_electron_nodedir)\n\
|
||||
export ELECTRON_NO_ASAR=1"
|
||||
sed -i -e \
|
||||
"s|\"\$binDir/\$nodeBin\"|${env}\nexec $(get_electron_dir)/node|g" \
|
||||
apm/bin/apm || die
|
||||
|
||||
sed -i -e \
|
||||
"s|^\([[:space:]]*\)node[[:space:]]\+|\1\"$(get_electron_dir)/node\" |g" \
|
||||
apm/node_modules/npm/bin/node-gyp-bin/node-gyp || die
|
||||
|
||||
sed -i -e \
|
||||
"s|atomCommand = 'atom';|atomCommand = '/usr/bin/atom${suffix}'|g" \
|
||||
apm/lib/test.js || die
|
||||
|
||||
rm apm/bin/node || die
|
||||
|
||||
sed -i -e "s|/$(get_atom_rpmdir)/atom|/usr/bin/atom${suffix}|g" \
|
||||
"${BIN_S}/usr/share/applications/$(get_atom_appname).desktop" || die
|
||||
|
||||
for binmod in ${BINMODS[@]}; do
|
||||
_s="${WORKDIR}/$(package_dir ${binmod})"
|
||||
cd "${_s}" || die
|
||||
if _have_patches_for "${binmod}"; then
|
||||
for patch in "${FILESDIR}"/${binmod}-*.patch; do
|
||||
eapply "${patch}"
|
||||
done
|
||||
fi
|
||||
done
|
||||
|
||||
cd "${BUILD_DIR}/app" || die
|
||||
|
||||
# Unbundle bundled libs from modules
|
||||
|
||||
_s="${WORKDIR}/$(package_dir git-utils)"
|
||||
${EPYTHON} "${FILESDIR}/gyp-unbundle.py" \
|
||||
--inplace --unbundle "git;libgit2;git2" \
|
||||
"${_s}/binding.gyp" || die
|
||||
|
||||
_s="${WORKDIR}/$(package_dir oniguruma)"
|
||||
${EPYTHON} "${FILESDIR}/gyp-unbundle.py" \
|
||||
--inplace --unbundle "onig_scanner;oniguruma;onig" \
|
||||
"${_s}/binding.gyp" || die
|
||||
|
||||
_s="${WORKDIR}/$(package_dir spellchecker)"
|
||||
${EPYTHON} "${FILESDIR}/gyp-unbundle.py" \
|
||||
--inplace --unbundle "spellchecker;hunspell;hunspell" \
|
||||
"${_s}/binding.gyp" || die
|
||||
|
||||
_s="${WORKDIR}/$(package_dir superstring)"
|
||||
${EPYTHON} "${FILESDIR}/gyp-unbundle.py" \
|
||||
--inplace --unbundle \
|
||||
"superstring_core;./vendor/pcre/pcre.gyp:pcre;pcre2-16; \
|
||||
-DPCRE2_CODE_UNIT_WIDTH=16" \
|
||||
"${_s}/binding.gyp" || die
|
||||
|
||||
for binmod in ${BINMODS[@]}; do
|
||||
_s="${WORKDIR}/$(package_dir ${binmod})"
|
||||
mkdir -p "${_s}/node_modules" || die
|
||||
ln -s "${nan_s}" "${_s}/node_modules/nan" || die
|
||||
done
|
||||
|
||||
sed -i -e "s|{{ATOM_SUFFIX}}|${suffix}|g" \
|
||||
"${BUILD_DIR}/app/src/config-schema.js" || die
|
||||
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local binmod
|
||||
|
||||
for binmod in ${BINMODS[@]}; do
|
||||
einfo "Configuring ${binmod}..."
|
||||
cd "${WORKDIR}/$(package_dir ${binmod})" || die
|
||||
enodegyp_atom configure
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local binmod
|
||||
local x
|
||||
local ctags_d="node_modules/symbols-view/vendor"
|
||||
local jobs=$(makeopts_jobs)
|
||||
local gypopts
|
||||
|
||||
# Transpile any yet untranspiled files.
|
||||
ecoffeescript "${BUILD_DIR}/app/spec/*.coffee"
|
||||
|
||||
gypopts="--verbose"
|
||||
|
||||
if [[ ${MAKEOPTS} == *-j* && ${jobs} != 999 ]]; then
|
||||
gypopts+=" --jobs ${jobs}"
|
||||
fi
|
||||
|
||||
mkdir -p "${BUILD_DIR}/modules/" || die
|
||||
|
||||
for binmod in ${BINMODS[@]}; do
|
||||
einfo "Building ${binmod}..."
|
||||
cd "${WORKDIR}/$(package_dir ${binmod})" || die
|
||||
enodegyp_atom ${gypopts} build
|
||||
x=${binmod##node-}
|
||||
mkdir -p "${BUILD_DIR}/modules/${x}" || die
|
||||
cp build/Release/*.node "${BUILD_DIR}/modules/${x}" || die
|
||||
done
|
||||
|
||||
# Put compiled binary modules in place
|
||||
_fix_binmods "${BUILD_DIR}/app" "apm"
|
||||
_fix_binmods "${BUILD_DIR}/app" "node_modules"
|
||||
|
||||
# Remove non-Linux vendored ctags binaries
|
||||
rm "${BUILD_DIR}/app/${ctags_d}/ctags-darwin" \
|
||||
"${BUILD_DIR}/app/${ctags_d}/ctags-win32.exe" || die
|
||||
|
||||
# Re-pack app.asar
|
||||
# Keep unpack rules in sync with build/tasks/generate-asar-task.coffee
|
||||
cd "${BUILD_DIR}" || die
|
||||
x="--unpack={*.node,ctags-config,ctags-linux,**/spec/fixtures/**,**/node_modules/spellchecker/**,**/resources/atom.png}"
|
||||
xd="--unpack-dir=apm"
|
||||
easar pack "${x}" "${xd}" "app" "app.asar"
|
||||
|
||||
rm -r "${BUILD_DIR}/app.asar.unpacked/apm" || die
|
||||
|
||||
# Replace vendored ctags with a symlink to system ctags
|
||||
rm "${BUILD_DIR}/app.asar.unpacked/${ctags_d}/ctags-linux" || die
|
||||
ln -s "/usr/bin/ctags" \
|
||||
"${BUILD_DIR}/app.asar.unpacked/${ctags_d}/ctags-linux" || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local electron="$(get_electron_dir)/electron"
|
||||
local app="${BUILD_DIR}/app.asar"
|
||||
|
||||
virtx "${electron}" --app="${app}" --test "${app}/spec"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local install_dir="$(get_install_dir)"
|
||||
local suffix="$(get_install_suffix)"
|
||||
|
||||
insinto "${install_dir}"
|
||||
|
||||
doins "${BUILD_DIR}/app.asar"
|
||||
doins -r "${BUILD_DIR}/app.asar.unpacked"
|
||||
|
||||
insinto "${install_dir}/app"
|
||||
doins -r "${BUILD_DIR}/app/apm"
|
||||
|
||||
insinto "/usr/share/applications/"
|
||||
newins "${BIN_S}/usr/share/applications/$(get_atom_appname).desktop" \
|
||||
"atom${suffix}.desktop"
|
||||
|
||||
insinto "/usr/share/icons/"
|
||||
doins -r "${BIN_S}/usr/share/icons/hicolor"
|
||||
|
||||
exeinto "${install_dir}"
|
||||
newexe "${BUILD_DIR}/app/atom.sh" atom
|
||||
insinto "/usr/share/licenses/${PN}${suffix}"
|
||||
doins "${BIN_S}/$(get_atom_rpmdir)/resources/LICENSE.md"
|
||||
dosym "${install_dir}/atom" "/usr/bin/atom${suffix}"
|
||||
dosym "${install_dir}/app/apm/bin/apm" "/usr/bin/apm${suffix}"
|
||||
|
||||
_fix_executables "${install_dir}/app/apm/bin"
|
||||
_fix_executables "${install_dir}/app/apm/node_modules/.bin"
|
||||
_fix_executables "${install_dir}/app/apm/node_modules/npm/bin"
|
||||
_fix_executables "${install_dir}/app/apm/node_modules/npm/bin/node-gyp-bin"
|
||||
_fix_executables "${install_dir}/app/apm/node_modules/node-gyp/bin"
|
||||
}
|
||||
|
||||
# Helpers
|
||||
# -------
|
||||
|
||||
# Return the installation suffix appropriate for the slot.
|
||||
get_install_suffix() {
|
||||
local c=(${SLOT//\// })
|
||||
local slot=${c[0]}
|
||||
local suffix
|
||||
|
||||
if [[ "${slot}" == "0" ]]; then
|
||||
suffix=""
|
||||
else
|
||||
suffix="-${slot}"
|
||||
fi
|
||||
|
||||
echo -n "${suffix}"
|
||||
}
|
||||
|
||||
# Return the upstream app name appropriate for $PV.
|
||||
get_atom_appname() {
|
||||
if [[ "${PV}" == *beta* ]]; then
|
||||
echo -n "atom-beta"
|
||||
else
|
||||
echo -n "atom"
|
||||
fi
|
||||
}
|
||||
|
||||
# Return the app installation path inside the upstream archive.
|
||||
get_atom_rpmdir() {
|
||||
echo -n "usr/share/$(get_atom_appname)"
|
||||
}
|
||||
|
||||
# Return the installation target directory.
|
||||
get_install_dir() {
|
||||
echo -n "/usr/$(get_libdir)/atom$(get_install_suffix)"
|
||||
}
|
||||
|
||||
# Return the Electron installation directory.
|
||||
get_electron_dir() {
|
||||
echo -n "/usr/$(get_libdir)/electron-${ELECTRON_SLOT}"
|
||||
}
|
||||
|
||||
# Return the directory containing appropriate Node headers
|
||||
# for the required version of Electron.
|
||||
get_electron_nodedir() {
|
||||
echo -n "/usr/include/electron-${ELECTRON_SLOT}/node/"
|
||||
}
|
||||
|
||||
# Run JavaScript using Electron's version of Node.
|
||||
enode_electron() {
|
||||
"$(get_electron_dir)"/node $@
|
||||
}
|
||||
|
||||
# Run node-gyp using Electron's version of Node.
|
||||
enodegyp_atom() {
|
||||
local apmpath="$(get_atom_rpmdir)/resources/app/apm"
|
||||
local nodegyp="${BIN_S}/${apmpath}/node_modules/node-gyp/bin/node-gyp.js"
|
||||
|
||||
PATH="$(get_electron_dir):${PATH}" \
|
||||
enode_electron "${nodegyp}" \
|
||||
--nodedir="$(get_electron_nodedir)" $@ || die
|
||||
}
|
||||
|
||||
# Coffee Script wrapper.
|
||||
ecoffeescript() {
|
||||
local cscript="${FILESDIR}/transpile-coffee-script.js"
|
||||
|
||||
# Disable shell glob expansion, as we want the coffee script
|
||||
# transpiler to do that instead.
|
||||
set -f
|
||||
echo "ecoffeescript" $@
|
||||
ATOM_HOME="${T}/.atom" ATOM_SRC_ROOT="${BUILD_DIR}/app" \
|
||||
NODE_PATH="${BUILD_DIR}/app/node_modules" \
|
||||
enode_electron "${cscript}" $@ || die
|
||||
set +f
|
||||
}
|
||||
|
||||
# asar wrapper.
|
||||
easar() {
|
||||
local asar="${WORKDIR}/$(package_dir asar)/node_modules/asar/bin/asar"
|
||||
echo "asar" $@
|
||||
enode_electron "${asar}" $@ || die
|
||||
}
|
||||
|
||||
# Return a $WORKDIR directory for a given package name.
|
||||
package_dir() {
|
||||
local binmod="${1//-/_}"
|
||||
local binmod_v="${binmod^^}_V"
|
||||
echo -n ${1}-${!binmod_v}
|
||||
}
|
||||
|
||||
# Check if there are patches for a given package.
|
||||
_have_patches_for() {
|
||||
local _patches="${1}-*.patch" _find
|
||||
_find=$(find "${FILESDIR}" -maxdepth 1 -name "${_patches}" -print -quit)
|
||||
test -n "$_find"
|
||||
}
|
||||
|
||||
# Tarballs on registry.npmjs.org are wildly inconsistent,
|
||||
# and violate the convention of having ${P} as the top directory name.
|
||||
# This helper detects and fixes that.
|
||||
_unpack() {
|
||||
local a="${1}"
|
||||
local b="${a%.tar.gz}"
|
||||
local p="${b#atomdep-}"
|
||||
local dir="$(tar -tzf "${DISTDIR}/${a}" | head -1 | cut -f1 -d'/')"
|
||||
|
||||
unpack "${a}"
|
||||
|
||||
if [[ "${dir}" != "${p}" ]]; then
|
||||
# Set the correct name for the unpacked directory.
|
||||
mv "${WORKDIR}/${dir}" "${WORKDIR}/${p}" || die
|
||||
fi
|
||||
}
|
||||
|
||||
# Check if the binary node module is actually a valid dependency.
|
||||
# Sometimes the upstream removes a dependency from package.json but
|
||||
# forgets to remove the module from node_modules.
|
||||
_is_valid_binmod() {
|
||||
local mod
|
||||
|
||||
for mod in "${BINMODS[@]}"; do
|
||||
if [[ "${mod}" == "${1}" ]]; then
|
||||
return 0
|
||||
fi
|
||||
done
|
||||
|
||||
return 1
|
||||
}
|
||||
|
||||
# Replace binary node modules with the newly compiled versions thereof.
|
||||
_fix_binmods() {
|
||||
local _dir="${2}"
|
||||
local _prefix="${1}"
|
||||
local path
|
||||
local relpath
|
||||
local modpath
|
||||
local mod
|
||||
local f
|
||||
local d
|
||||
local cruft
|
||||
|
||||
(find "${_prefix}/${_dir}" -name '*.node' -print || die) \
|
||||
| while IFS= read -r path; do
|
||||
f=$(basename "${path}")
|
||||
d=$(dirname "${path}")
|
||||
relpath=${path#${_prefix}}
|
||||
relpath=${relpath##/}
|
||||
relpath=${relpath#W${_dir}}
|
||||
modpath=$(dirname ${relpath})
|
||||
modpath=${modpath%build/Release}
|
||||
mod=$(basename ${modpath})
|
||||
|
||||
_is_valid_binmod "${mod}" || continue
|
||||
|
||||
# must copy here as symlinks will cause the module loading to fail
|
||||
cp -f "${BUILD_DIR}/modules/${mod}/${f}" "${path}" || die
|
||||
cruft=$(find "${d}" -name '*.a' -print)
|
||||
if [[ -n "${cruft}" ]]; then
|
||||
rm ${cruft} || die
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
# Fix script permissions and shebangs to point to the correct version
|
||||
# of Node.
|
||||
_fix_executables() {
|
||||
local _dir="${1}"
|
||||
local _node_sb="#!$(get_electron_dir)"/node
|
||||
|
||||
(find -L "${ED}/${_dir}" -maxdepth 1 -mindepth 1 -type f -print || die) \
|
||||
| while IFS= read -r f; do
|
||||
IFS= read -r shebang < "${f}"
|
||||
|
||||
if [[ ${shebang} == '#!'* ]]; then
|
||||
fperms +x "${f#${ED}}"
|
||||
if [[ "${shebang}" == "#!/usr/bin/env node" || "${shebang}" == "#!/usr/bin/node" ]]; then
|
||||
einfo "Fixing node shebang in ${f#${ED}}"
|
||||
sed --follow-symlinks -i \
|
||||
-e "1s:${shebang}$:${_node_sb}:" "${f}" || die
|
||||
fi
|
||||
fi
|
||||
done || die
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
diff --git a/apm/bin/python-interceptor.sh b/apm/bin/python-interceptor.sh
|
||||
index 7ce1965..12cc72f 100755
|
||||
--- a/apm/bin/python-interceptor.sh
|
||||
+++ b/apm/bin/python-interceptor.sh
|
||||
@@ -34,9 +34,9 @@ case $1 in
|
||||
ARGS+=("--format=safemake.py")
|
||||
fi
|
||||
|
||||
- exec python "${ARGS[@]}"
|
||||
+ exec python2 "${ARGS[@]}"
|
||||
;;
|
||||
*)
|
||||
- exec python "$@"
|
||||
+ exec python2 "$@"
|
||||
;;
|
||||
esac
|
@ -0,0 +1,16 @@
|
||||
diff --git a/src/config-schema.js b/src/config-schema.js
|
||||
index 39f0585..24ee2de 100644
|
||||
--- a/src/config-schema.js
|
||||
+++ b/src/config-schema.js
|
||||
@@ -5,6 +5,11 @@ const configSchema = {
|
||||
core: {
|
||||
type: 'object',
|
||||
properties: {
|
||||
+ apmPath: {
|
||||
+ type: 'string',
|
||||
+ "default": '/usr/bin/apm{{ATOM_SUFFIX}}',
|
||||
+ description: 'Path to apm executable.'
|
||||
+ },
|
||||
ignoredNames: {
|
||||
type: 'array',
|
||||
default: ['.git', '.hg', '.svn', '.DS_Store', '._*', 'Thumbs.db', 'desktop.ini'],
|
@ -0,0 +1,12 @@
|
||||
diff --git a/atom-application.js.orig b/atom-application.js
|
||||
index 92d985f..9a120e6 100644
|
||||
--- a/src/main-process/atom-application.js
|
||||
+++ b/src/main-process/atom-application.js
|
||||
@@ -1178,6 +1178,7 @@
|
||||
AtomApplication.prototype.restart = function() {
|
||||
var args;
|
||||
args = [];
|
||||
+ args.push("--app=" + this.resourcePath);
|
||||
if (this.safeMode) {
|
||||
args.push("--safe");
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
--- a/src/main-process/atom-application.js
|
||||
+++ b/src/main-process/atom-application.js
|
||||
@@ -406,7 +406,7 @@
|
||||
this.openPathOnEvent('application:open-your-keymap', 'atom://.atom/keymap');
|
||||
this.openPathOnEvent('application:open-your-snippets', 'atom://.atom/snippets');
|
||||
this.openPathOnEvent('application:open-your-stylesheet', 'atom://.atom/stylesheet');
|
||||
- this.openPathOnEvent('application:open-license', path.join(process.resourcesPath, 'LICENSE.md'));
|
||||
+ this.openPathOnEvent('application:open-license', '/usr/share/licenses/atom/LICENSE.md');
|
||||
this.disposable.add(ipcHelpers.on(app, 'before-quit', (function(_this) {
|
||||
return function(event) {
|
||||
if (!_this.quitting) {
|
@ -0,0 +1,11 @@
|
||||
--- a/node_modules/text-buffer/lib/marker-layer.js
|
||||
--- b/node_modules/text-buffer/lib/marker-layer.js
|
||||
@@ -192,7 +192,7 @@
|
||||
return function(markerId) {
|
||||
var marker;
|
||||
marker = _this.markersById[markerId];
|
||||
- if (!marker.matchesParams(params)) {
|
||||
+ if (marker == null || !marker.matchesParams(params)) {
|
||||
return;
|
||||
}
|
||||
return result.push(marker);
|
@ -0,0 +1,23 @@
|
||||
'use strict'
|
||||
|
||||
const CompileCache = require(process.env.ATOM_SRC_ROOT + '/src/compile-cache')
|
||||
const fs = require('fs')
|
||||
const glob = require('glob')
|
||||
const path = require('path')
|
||||
|
||||
module.exports = function () {
|
||||
let paths = new Set()
|
||||
|
||||
for (let pattern of process.argv.slice(2)) {
|
||||
for (let path of glob.sync(pattern, {nodir: true})) {
|
||||
paths.add(path)
|
||||
}
|
||||
}
|
||||
|
||||
for (let path of paths) {
|
||||
let jsPath = coffeePath.replace(/coffee$/g, 'js')
|
||||
fs.writeFileSync(
|
||||
jsPath, CompileCache.addPathToCache(coffeePath, process.env.ATOM_HOME))
|
||||
fs.unlinkSync(coffeePath)
|
||||
}
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
DIST VBoxGuestAdditions_5.0.16.iso 60063744 SHA256 8190f1e4031f8195971c2a97d2d3b1cf2d86fc83219f750d05cee9255c7dad85 SHA512 8a9d3fcb96a450163f357b92f8149f58700ec65c127fb872b103554417979fbe624a9e1bced3bb6cbf4b0bb6a5c3bbcae9581836cc5d3fde7a034d4032e519f9 WHIRLPOOL 89ed9064014a715a892388b5dbe3c4b577a5a813580be4fd2bd604672354f258b00a619980ba1369aeaceff6a77c6d370cc2b6bf3c17d2cd73a5c8fc9dcad1e8
|
||||
DIST VBoxGuestAdditions_5.0.40.iso 58466304 SHA256 df3a1849fe796b476b1095576fd72a27fd3f253d4770a2fb6bc792593ed9726b SHA512 f92dc50cfa0be3583c1b15e041d73948fba4d2a83dfd1a7a750feecede13a00e70b641da03533dd0f23f520cc5778cfeb824b3d8455042dcc85ee4f677f3d699 WHIRLPOOL 5e9d0a01bb1a065789b9a16416dde0156c9e3a0b28161f2944ad143e00905a2e328c93e2301f73ad518bac9c50dd5d3b946e1676fa3465a84f5c68bb52d56083
|
||||
DIST VBoxGuestAdditions_5.1.24.iso 59494400 SHA256 01a77500df9127d8d6aa27c7d784af8f773d8e84b2b252c9e866b9038ed8bd43 SHA512 4b266ccad53217d03eee7ebe0fbc52ca47ee9a70eb4f50ae9bf87ea3c0707d87e97e65b2a3e4616cc4ad1ab746e2fa88d9f5dbb234dbf1cd96487e231fd15870 WHIRLPOOL a432d973fabaf2da5db419b0229e9c1bb1037d89da43ae195f05f7cc8417f67101d182087537a3a27735e53d8c91c979e09408ffec6814183d9304baf1993062
|
||||
DIST VBoxGuestAdditions_5.1.26.iso 59496448 SHA256 6df8c8ab6e7ac3a70a5e29116f8a5dcdb7dfbd0b226ef849a5cd9502e956b06f SHA512 5329ce9bb787efed088a9f89412974cef3a982a351c0053b3daf15a9c95c55f99556e2b86cdcd39c168042503eb00eaa83fb99f8f5c4c97d177dd2b61bb33f5d WHIRLPOOL d8c2bd468673a0d9cee9b7f3630a6581c8124cd4b6bfe942b69ceff70cfa7096b7c1e947a86ed4fd00d7d4dac3eeae52b55bbed4bbb9c3268dd864fcd53068e9
|
||||
DIST VBoxGuestAdditions_5.1.28.iso 59494400 SHA256 66824ee3a0373da62b15f6687a68e2305d7e62d700e538cf32705227bb38c46d SHA512 68a1bcaa658bff040d18c5d59fe20bb0e6155186bdaea5cf30d673d8356fa33087a23280f3d571742ca1c144caef421d0c32a080fee0cb05c6046f361fbe2785 WHIRLPOOL 539994c2fa2271e425ba6b517e69906684f8a3d730899433d5de8ad5722152889fc3390035e66dd64646a9f10c611074cf95f820294a17e398c581b094536cb0
|
||||
|
@ -1,16 +1,16 @@
|
||||
DIST Oracle_VM_VirtualBox_Extension_Pack-5.0.16-105871.tar.gz 16896587 SHA256 c234e158c49f4f92c38e41918c117d756a81236ff1030a896e44faf88284ecc7 SHA512 39a7c6726e57c89a970e771f80369617c95e154498174deed025ca953e85197981215dd1250317285213a8e9bf6b7140e06311bd6df464613bfe90a37ef1c3c8 WHIRLPOOL 8bdf4a499e8d2d463249fb98ea35ee3a91d81004418e171396c0a26d91f3de9eda6fe632a1d85df58e1de1c32c5c939a365277ad836c685f83600277bd7282bf
|
||||
DIST Oracle_VM_VirtualBox_Extension_Pack-5.0.40-115130.tar.gz 19050961 SHA256 ebb29de8962d60760a2f25c318833a1fe163368b824b6b26802b6b284af70585 SHA512 fb27a8efa376b2a51558e0a8dfcb87a7116e950783030c1aab996675c776c46cdf4d4ff35d111f925f6b2b4c6fd070ff80a971fd2f6ce77b857b17898950f5a3 WHIRLPOOL db1ba8492abf791f2244d12b7a62643c02c8c7999c607464e117cc42360c876d9ee83d36ea8860e18912b52171d12291d93fdcc3d3ff18ff05c2b3a4cea5373c
|
||||
DIST Oracle_VM_VirtualBox_Extension_Pack-5.1.24-117012.tar.gz 19624088 SHA256 65198a2e048d30fc7d18cd4670fb84fed9a878cca1b77f416b4fea4efe8ca2a4 SHA512 fc821a446c67c4046dd2aa2078d6a71a63a490d59c96f76b29a5a46b26ad7e51588c1009efbafa448e73c799dc816de0b5f0ee17b10d306d3e701a15f69c595d WHIRLPOOL b86d40a08774cd56f612e4bd1edd1bea0e070185e9fab19ca21c0a08ffe092c73877a62dfa5be68e7a963145a84785330c935dd43b5c9ddcfbfc3ee2236f9e0a
|
||||
DIST Oracle_VM_VirtualBox_Extension_Pack-5.1.26-117224.tar.gz 19624237 SHA256 14f152228495a715f526eb74134d43c960919cc534d2bc67cfe34a63e6cf7721 SHA512 c6e31e8fb26b8ca32c423d14e85e15f6372a030ec40e9f06ce1e1234913d3586cc58d46819684c99cf3ced37f35d0a964339199cad5cf43580c88bf1afa63ef6 WHIRLPOOL 9b0ceb8ab21ce54a199ac312879ae4bf17b5bbf3bae6d28035436ae8dd8295ea6fa1d8bb3fc095867a017fdcc357b630436dca46d4875bcdd2aad1ce0cfd9d9f
|
||||
DIST Oracle_VM_VirtualBox_Extension_Pack-5.1.28-117968.tar.gz 19626161 SHA256 1a2551b204bd53a252a75a4653b983427bb15d473bc77b14149c7870ce049871 SHA512 71c6ce267c14303bbd9e386ea849d37aeb569afff848054deced4c74fd6fffca83c96b392d066f684b7101a786cc7d24cf9308114c08cbb77b26bb07bf23fcf8 WHIRLPOOL c6fd42f422dca4db4165ff18da0054aff5c0d275850dec4002fb70e8e4248f8f5cffc87697b0802343ebff29cf62938f298df365f9ce19523092d418206deff9
|
||||
DIST VirtualBox-5.0.16-105871-Linux_amd64.run 85913042 SHA256 2fc30af485c67162a8f1fafb5a0d9c6cbab4dc17ec362e6d8d2487071b4daa47 SHA512 706159c25ad144a489d7519dcc5a9fa6ee47415bac8fc48bb56fbbe72953f5e65fcdf9d045fbe686520ea676dbf511a19208adfd81f199c804e1b632de581f6b WHIRLPOOL 298235fe47a08136232916b990675b4b26dbab7155fd00c82d2405170fd7d255cfa5f93c07a13a89cdc0a129662f3a14d3386be17e11c02bbd3a564de554bcf3
|
||||
DIST VirtualBox-5.0.16-105871-Linux_x86.run 84909518 SHA256 46421f6ebed4de2466d32193597fbcfe71c2a89c5fd5ac1493856b509d6259e1 SHA512 a16e5a9ee4c643985d48c6ac8e7224074dd2a775bf05b9ef712fff898962493a2126bb1ced20b5ec525ddd86d0ce6c42c06e286f03758aad5d39d58b87db51a8 WHIRLPOOL dbc4af908d3e2879388426defd733539f3bbff10a4f957858f42ae7c328a5cbd0480667b50777a69e860be475d8c66a392badb79503d9f22c267688edc6a1e4e
|
||||
DIST VirtualBox-5.0.40-115130-Linux_amd64.run 84571603 SHA256 f633e88b22470b36b4586fbc8a14e0ee99dad5e094cb1ed73a77016fdbc616c8 SHA512 51e23c3b5eed256e799f9cd6be950a00d0c4f57276d8554cad8c1beb6310ee8625b6eaa364d47dab54274ef0ebd37114d3c6a1312313dce748ca9c985e08b59c WHIRLPOOL 2d6f465cee91be4637c84d65655c0b3c667d6f88af85c3c4b577ad416136d99094ad0fa089314730f7dce89224ed99f5be4ad6fd35db8bc2c23d1e0826400e76
|
||||
DIST VirtualBox-5.0.40-115130-Linux_x86.run 83793358 SHA256 1371ae3ceec0f2af5e31e569eab1ffd405a75bbf6fb8889a836d07167806d6cd SHA512 98f249e6a461b40856231f31ceb0914093dd97e513ff01fbeb308cb9d0e5d1fee98e69a9f5c1f73c082676c3273517ff2a1f3c658e57035c5d8d6b0cc0627a6b WHIRLPOOL f659c4edd9fa16e532f1c1729a2044b3ebb3a56c9d087c2310c0443e95545d96640b31b9f06f55529c765f4d52b835e528c3914e3a09d58f5cc62aa5cc4b9864
|
||||
DIST VirtualBox-5.1.24-117012-Linux_amd64.run 87971283 SHA256 6a01f975558707153cd95d6789e6d92f65751db26e9443ee8656cf9ee17a29b3 SHA512 31718701bdb44660923a2897c15d4943cf64cd99be44625751ac0829573a6dd2e63a497fede8511670e72b73c240b2cc7379fd9e3efff33fbe0d30e38b3ea07f WHIRLPOOL b28bdb1220b0c6be67a74c2042f499ac389812b53d5a31e22f7948f9116ce38d4a297f30bab135bf07aefc54cacc27e4cae40d0cf8e02e383af5baa06bcf0906
|
||||
DIST VirtualBox-5.1.24-117012-Linux_x86.run 87182799 SHA256 f4151be5c046b4271cba8c8f2bc776114ef8cad3b26f8880fe87f1302f500f64 SHA512 890fd9433f69e5dfb8854fbb1eb546b3ac558cedc121ebf346d6c20d1fc14cc2a9962be5bfff454bcd963f079395c720510b8ba3e119e52028e73d3885a6e202 WHIRLPOOL a33cd9f1f4bea0efe1a943176707348fa10601a06e667b1068a193b6af3d1f9d16a579a9753d7a84bac248d561cded59edbab09e48bed69feb4c38d5e79af0e1
|
||||
DIST VirtualBox-5.1.26-117224-Linux_amd64.run 87981522 SHA256 be541c9ad60655b436bb27dc91c482e2e1485da4fc0e632ec92bfbed625a48ed SHA512 9b486fd52918469fdffaa39bbef234d22fad9d3b562fa04443bf6c1040e744db6dc9bd103ead299127b82c5d4bc96c1e05f677cacd623affa6569408c8d26df5 WHIRLPOOL 3c3c7b8254f85223f06cdfdea6cb0cb982222889b899018ea03a6e7807243f5e85ec37ef4a5f829dc09d1fa0123c1c28738b0d1826cd381d4b550360efd9a268
|
||||
DIST VirtualBox-5.1.26-117224-Linux_x86.run 87090639 SHA256 05f82b704558efdda8a9c569b52fcf761793a54e8405d062fd20a4a56fffd5da SHA512 3aafad5374dc79c0fdd9bf1da6708ae4ce2f43d9fce3222326424bf03d6b73a7283ba5ebeb01a9ab6b24eeb8a8ec7c23af84e40f3edeb512c2101c329f4091e7 WHIRLPOOL 58c4ff741fed816f08c44af68eaae4fe0d206c59ea1300975d754781a44a8ab513054b5601cc23caefa7fbeb950bc41e8d544e6008e2de377e25661fadc9f9e1
|
||||
DIST VirtualBox-5.1.28-117968-Linux_amd64.run 88391123 SHA256 c3cbc56f5df1ff45c68094066dfc677d4d4f51f5df627b33a4d253db00ce12e4 SHA512 e84f002ed4804533832dfcc65f12ad4e72d6693de5af62bf26b702d19d8f17511335415968eac44ee3d98e87d5137c0004afa213b0bf75b89699cbe3bc20097c WHIRLPOOL cc686f6ed52a081e178aad6748703cd56f09adeac690f8a0ef9bb9aa1e3db394ad9e1187826d3f7b0d3a52df0314df82efcddd1fec2e9e72d968ab49b6687be6
|
||||
DIST VirtualBox-5.1.28-117968-Linux_x86.run 87582159 SHA256 8e9399547355eecc09b5866bc79813dcad9013172d09bca9e8f8aad01556f164 SHA512 96491961bfae60671b40f591151da26dab3135feaa3b9cf3838d7e74104cb4ae716eb5ff76ab75683c98ffba840cacaa045fa959f8e4eb4ab976801d38ebb917 WHIRLPOOL 287455f57191c8c567e34ba7047540cf443416fbdf4cb7e887d50582c15c9b31567871ee2112f782f513ae03584c95a3769596dc9ef5b8fe64030d71b41ab32a
|
||||
DIST VirtualBoxSDK-5.0.16-105871.zip 9639569 SHA256 df1bd5ed7f7fe9c401555498a1abed6f1f98e001c0069f16d401ccf3afe3061b SHA512 f4e1af1d97a26818722124fbbaffa6d61369b1a5f3b350b749284afdde038802f4a0e93e9bbb4c9ab0f49aad1f4fa19bbc4b0bdb04aa172a433a77a538816e25 WHIRLPOOL 0598061b47e5d0ef775665300ab61ad7b94638d32fb358a9c189536b00b2456ce4c90dfbcc00bac86da736289253e84a3b586b8b7d1da4087db76e8845a8ca33
|
||||
DIST VirtualBoxSDK-5.0.40-115130.zip 9674379 SHA256 9c27d4963f0afd9e11c0105739720b63df919162dfb6c88c52bb1f0e4f68c8ea SHA512 fc02623b5a4d288e37d8895f936f1552c284be2523762688e62d2fb57d3b2e83a2edb7193d0775bc481282e93242d8a691c408e931c8a42e2945a6507625f5f3 WHIRLPOOL b84f02c03e2de1baa3eda5ebc1d4de82d8c16205a2e624a9ecc7985ed70ccdfa8bc5cf066bcc9066cd4e82722600a76972dc472665ef576e6ac41045f5fa8047
|
||||
DIST VirtualBoxSDK-5.1.24-117012.zip 9862325 SHA256 559aa1805d8f341e9d17168bde70b1a6a50898432f4fd854be3a2212f978b6d2 SHA512 7b5f2b0b54bb895ffcc9bb8b391f0b5ca1eaf67fcad081fa9c4233a10beda9454350c2c3acea5ea336fc5155ca1758c30a1edc8b1b8567c273946f8259d91e63 WHIRLPOOL 801491377068d63d8ad611be2448a4f99b761e76ad82002304e1f559b148c9a427063526343f75f3e9f6e043ac71b5c41de63a3cfecbffafcc3039eab78e82a7
|
||||
DIST VirtualBoxSDK-5.1.26-117224.zip 9860247 SHA256 fb3e7e3cc425bd7ec3555cd4b1db6a69c85ae1744fb7df8060e4884ad26f09e5 SHA512 d2bef837d61bfb35ba550f004345c2c412c2f62da23ffded6dff8aa33281fdce7c0a8f6b70c131b35e04c34ca0a4221bf97a78e65a470c657980572ebedb0774 WHIRLPOOL 098de72faec934092150abe5a75dff3712b8b0e160eaba3c435d0131e323c74f584841ecbb5a14fd5c29fa2495d7717ef29ddad609939de8ad15752a6111cbf9
|
||||
DIST VirtualBoxSDK-5.1.28-117968.zip 9860778 SHA256 8eed55336c3c75bb925af14c720b880e2136cf2530f69ea0f087cd07081d13bf SHA512 d7e365c57a1179ccbba7e695b8b8fc4dcdf36b45fbb199000878ccb161b13208b14ad3fe963f99a9b680cba5a2c562e3d39cf9892acc16879919ddaa4d24c22b WHIRLPOOL 93fe7e6ce03f9be3d2b84c8d53c4632f8c01af5790d8d553fbd08ca45073725d3d961dcb26f4dd6c2c2007305f97a1c5753aaed27b3fb41687a87618887c24da
|
||||
|
@ -1,3 +1,3 @@
|
||||
DIST Oracle_VM_VirtualBox_Extension_Pack-5.0.40-115130.tar.gz 19050961 SHA256 ebb29de8962d60760a2f25c318833a1fe163368b824b6b26802b6b284af70585 SHA512 fb27a8efa376b2a51558e0a8dfcb87a7116e950783030c1aab996675c776c46cdf4d4ff35d111f925f6b2b4c6fd070ff80a971fd2f6ce77b857b17898950f5a3 WHIRLPOOL db1ba8492abf791f2244d12b7a62643c02c8c7999c607464e117cc42360c876d9ee83d36ea8860e18912b52171d12291d93fdcc3d3ff18ff05c2b3a4cea5373c
|
||||
DIST Oracle_VM_VirtualBox_Extension_Pack-5.1.24-117012.tar.gz 19624088 SHA256 65198a2e048d30fc7d18cd4670fb84fed9a878cca1b77f416b4fea4efe8ca2a4 SHA512 fc821a446c67c4046dd2aa2078d6a71a63a490d59c96f76b29a5a46b26ad7e51588c1009efbafa448e73c799dc816de0b5f0ee17b10d306d3e701a15f69c595d WHIRLPOOL b86d40a08774cd56f612e4bd1edd1bea0e070185e9fab19ca21c0a08ffe092c73877a62dfa5be68e7a963145a84785330c935dd43b5c9ddcfbfc3ee2236f9e0a
|
||||
DIST Oracle_VM_VirtualBox_Extension_Pack-5.1.26-117224.tar.gz 19624237 SHA256 14f152228495a715f526eb74134d43c960919cc534d2bc67cfe34a63e6cf7721 SHA512 c6e31e8fb26b8ca32c423d14e85e15f6372a030ec40e9f06ce1e1234913d3586cc58d46819684c99cf3ced37f35d0a964339199cad5cf43580c88bf1afa63ef6 WHIRLPOOL 9b0ceb8ab21ce54a199ac312879ae4bf17b5bbf3bae6d28035436ae8dd8295ea6fa1d8bb3fc095867a017fdcc357b630436dca46d4875bcdd2aad1ce0cfd9d9f
|
||||
DIST Oracle_VM_VirtualBox_Extension_Pack-5.1.28-117968.tar.gz 19626161 SHA256 1a2551b204bd53a252a75a4653b983427bb15d473bc77b14149c7870ce049871 SHA512 71c6ce267c14303bbd9e386ea849d37aeb569afff848054deced4c74fd6fffca83c96b392d066f684b7101a786cc7d24cf9308114c08cbb77b26bb07bf23fcf8 WHIRLPOOL c6fd42f422dca4db4165ff18da0054aff5c0d275850dec4002fb70e8e4248f8f5cffc87697b0802343ebff29cf62938f298df365f9ce19523092d418206deff9
|
||||
|
@ -1,5 +1,5 @@
|
||||
DIST VirtualBox-5.0.16.tar.bz2 111062984 SHA256 f5a44d33a1db911f445b2eb2d22d9293a96a535cba488b5a235577ef868fa63c SHA512 3da3a227360fb50d299e99770378f65e8cb99525377343fa8faff2360be66643d46f68323d6a8b8d4d26182082f171bb35ab2497167bf6df18827a5ea7742074 WHIRLPOOL ea709057c588f28820790c2b193decba9ee0c57e0f82aa4361ca87aef661315182e18b5ee29558e47ed92f6037eb91befa5390680661a7b9f2248c7819b4a85c
|
||||
DIST VirtualBox-5.0.40.tar.bz2 112997095 SHA256 e4275b7ada40b358e6e3bd1231b3a320aa06c72ae301283cac5adb42eaa8e4b5 SHA512 70cd4355591c5aed82148954bf55637a5dcdd1a5177dba78192e7c6eadfbf3f7023f352ba8f89d9eb3c3fc55b049f7c76af6bc94e04d1766d7fbe39e51a1393c WHIRLPOOL 9f471e63814c9d48063857f3b95410f5acdd4a3bd2716c525f2449f1eae95d0e91dbe5422374a49f31f8219daa155f716455f0259d131d93afb5cd9e13a7d467
|
||||
DIST VirtualBox-5.1.24.tar.bz2 116135442 SHA256 ee2db169a322bf0db3c3b6d8b84aa39236f36cbf37d0a4c10ab65902a396bb60 SHA512 3c9ad230a53f9159e648ae1f342bdb220ffd85f2ddd45ae4c61d6606f358e9343a4968b2a91784893fb1284288ad41c538b1ab299b3a49e7739bfc8c4fdea910 WHIRLPOOL aad73184e2d36928449e688fd86c6f42c061f77e86c7e6119a205154b307846ed25175f49e3f8e451844b48c0e71e9531902753f1fd917123c401ffbf7744a2d
|
||||
DIST VirtualBox-5.1.26.tar.bz2 115915813 SHA256 b5715035e681a11ef1475f83f9503d34a00f0276b89c572eebec363dda80c8a9 SHA512 680e9646a51a0a5923b3ded10007ee1c1e2a41c6d8a961d2b2540db6578bed2847154f4cac87e3cfe1118a62595b47c7df99da854f6c340e173b9eb8cacf2add WHIRLPOOL 9d7950ec3ec2cd9b8aaa0ea319f9f5089eed7d2cd2879d313426b448a27570b5582235aa46c5ad5a0fd4d0b967f8d58a963f001549232136d6a8609262af71d0
|
||||
DIST VirtualBox-5.1.28.tar.bz2 116427658 SHA256 ce7d4bf6535f70e3214abeb4866f7a8634aa3c7b6dedf8825e6ad80bd821398d SHA512 5c21fd535424d7fd9adbb51894ec6d37ecf00a63a850362bd7b61fedca5031e096641814130a97ad839c0bd7089dc3dc465509615aab2af3c5735ff71005670a WHIRLPOOL 2e3fbeb39083c2e69fb23200570781a8845780a6295553af48fa9155db132e37d0fc2fb26e8a45c52864f69f02e8a0d0cbd4c895e5fbb87ab9a51dd60c7c7904
|
||||
DIST virtualbox-5.1.24-patches-01.tar.xz 2708 SHA256 8ea5e08da07d555a4868abf6f4d689c2f6695bdb773010a01915fcc6c354f361 SHA512 0028e593818013f809831ac5a73eec63988c0aefb4b309fb3c928efbea8db8b8f46bd7c82f156396adc704f0567474df262dfe9bb6e09af0b2c23528fe2c6e2d WHIRLPOOL 5a1af78c2767608d2b1c2a4b262dbce038d2b6ed9d0499eb60ac1eb64fd6b832efdbafc2b85881ac67efd8794adcc3490fcbf61b74ad7ae576d52e8aff597b04
|
||||
|
@ -1,4 +1,4 @@
|
||||
DIST vbox-kernel-module-src-5.0.16.tar.xz 593944 SHA256 8905e174069a6caf0200808fda6726704a947ab56fc48c3b6ebbf8831dde4123 SHA512 5311f6cfd917c04bcb51182ad414c0930fb85a73a90d81156f08640cdb4e4d442ed46a10b62b5d07ed81aa1ad65430d5186e95cc64293502c9b84937a6470bb4 WHIRLPOOL daf741cd8465ce65ae0e3f304b7c49d55be828da5fc285ac3a2b8e6fc7e68865b184b738a79fa7fbf1e106d647200a40224902ef7041e4dd5ab2c9ef054e4199
|
||||
DIST vbox-kernel-module-src-5.0.40.tar.xz 601604 SHA256 fb5dd2a62e1a53266f32c35523fa5ccc1d7928d4867c92637ef7368686acb70d SHA512 1236b16f2138872233a1a4f8933ec8803c7a15370cfadc148d338c803da572480d978d6be4b2512c3c80f7ee77cfef3d0a939b876ba9c53afbd267b24e2bfa65 WHIRLPOOL 59916e48536e1711cf0d98fecd3fe3ea0cce4b2eec622d34e5e52f20b05adb45dc627f4de5e55cfc92e2669b0fe71d4e1ba361d911d51da5bad3d80c42a66d24
|
||||
DIST vbox-kernel-module-src-5.1.24.tar.xz 625508 SHA256 279e8ac5d5342896c63fd94dfe04d2462f759318b1dfc9eb3a617fbf8cc5e683 SHA512 2a2de8b4b328234470ed5f2209d792efef0c81251c20e45c13b923865fe5855d76512f17f8727daa17c10b09306748f70c1ec588a027c31645f7c676f96fca4c WHIRLPOOL eeaea483c46e0533053aff80af1f990fbaaeb073c7fbe535ec8425be6e73840c332dc3f22ccb0b6cd3b0f05a24fd206beb50dcdf8edf0245f4fa5be957bbb8d7
|
||||
DIST vbox-kernel-module-src-5.1.26.tar.xz 625384 SHA256 5ba4f728c5b62c3d93828d99c5b54b8fb24a16bc8674e704714c4f71eb95ddc4 SHA512 c77e0d8dfade2abac95162e7e7a424be4875e44d43bcf2a13e0e50caa69f5fd0d21c77f03bb2cd4cbd5df4ab31e9fbd49ecd9220a49af8cd10081b960e014010 WHIRLPOOL 519246aeae6637cb8eb4b841552dc5e63f9a3d761fa6bcec43601c8a3194264457e4e78d200e975e31266af2944aa81f7487cf389f43d93db08f60a700a7758e
|
||||
DIST vbox-kernel-module-src-5.1.28.tar.xz 625464 SHA256 d6f3b7afa98d2b526d8da3c8906addc307eea069db371d012ebbffc1ccdf9dd2 SHA512 c8ae6c065ad42e57eee9a54f288ba60fd9b32efe18cb74c8a035d547b30e7d857c9091307485a8dfc77eec45de29d3217c6871140e167e2438759c314c47680a WHIRLPOOL c6508d63cacfcd3ac901f276cd793dc83c595bc73965518baa544b5cf5157ea52363b759f03586f743d6c2e0fda7252b98136c96cef28ecfb31f6915d4ce5709
|
||||
|
@ -1,7 +1,7 @@
|
||||
DIST VirtualBox-5.0.16.tar.bz2 111062984 SHA256 f5a44d33a1db911f445b2eb2d22d9293a96a535cba488b5a235577ef868fa63c SHA512 3da3a227360fb50d299e99770378f65e8cb99525377343fa8faff2360be66643d46f68323d6a8b8d4d26182082f171bb35ab2497167bf6df18827a5ea7742074 WHIRLPOOL ea709057c588f28820790c2b193decba9ee0c57e0f82aa4361ca87aef661315182e18b5ee29558e47ed92f6037eb91befa5390680661a7b9f2248c7819b4a85c
|
||||
DIST VirtualBox-5.0.40.tar.bz2 112997095 SHA256 e4275b7ada40b358e6e3bd1231b3a320aa06c72ae301283cac5adb42eaa8e4b5 SHA512 70cd4355591c5aed82148954bf55637a5dcdd1a5177dba78192e7c6eadfbf3f7023f352ba8f89d9eb3c3fc55b049f7c76af6bc94e04d1766d7fbe39e51a1393c WHIRLPOOL 9f471e63814c9d48063857f3b95410f5acdd4a3bd2716c525f2449f1eae95d0e91dbe5422374a49f31f8219daa155f716455f0259d131d93afb5cd9e13a7d467
|
||||
DIST VirtualBox-5.1.24.tar.bz2 116135442 SHA256 ee2db169a322bf0db3c3b6d8b84aa39236f36cbf37d0a4c10ab65902a396bb60 SHA512 3c9ad230a53f9159e648ae1f342bdb220ffd85f2ddd45ae4c61d6606f358e9343a4968b2a91784893fb1284288ad41c538b1ab299b3a49e7739bfc8c4fdea910 WHIRLPOOL aad73184e2d36928449e688fd86c6f42c061f77e86c7e6119a205154b307846ed25175f49e3f8e451844b48c0e71e9531902753f1fd917123c401ffbf7744a2d
|
||||
DIST VirtualBox-5.1.26.tar.bz2 115915813 SHA256 b5715035e681a11ef1475f83f9503d34a00f0276b89c572eebec363dda80c8a9 SHA512 680e9646a51a0a5923b3ded10007ee1c1e2a41c6d8a961d2b2540db6578bed2847154f4cac87e3cfe1118a62595b47c7df99da854f6c340e173b9eb8cacf2add WHIRLPOOL 9d7950ec3ec2cd9b8aaa0ea319f9f5089eed7d2cd2879d313426b448a27570b5582235aa46c5ad5a0fd4d0b967f8d58a963f001549232136d6a8609262af71d0
|
||||
DIST VirtualBox-5.1.28.tar.bz2 116427658 SHA256 ce7d4bf6535f70e3214abeb4866f7a8634aa3c7b6dedf8825e6ad80bd821398d SHA512 5c21fd535424d7fd9adbb51894ec6d37ecf00a63a850362bd7b61fedca5031e096641814130a97ad839c0bd7089dc3dc465509615aab2af3c5735ff71005670a WHIRLPOOL 2e3fbeb39083c2e69fb23200570781a8845780a6295553af48fa9155db132e37d0fc2fb26e8a45c52864f69f02e8a0d0cbd4c895e5fbb87ab9a51dd60c7c7904
|
||||
DIST virtualbox-5.0.16-patches-01.tar.xz 4024 SHA256 200eb980a12323a61d0fa6dbf61ed64ee1e2bb5e18e16eabdf8668d8fd8be3e4 SHA512 4eed117253754abee9088d4c320b4a6f0b3e1c8313b98f354cb727001156fe68d553a677073d40b921437f4cc073420866d1533aad4e61a79607d8360abbfd4a WHIRLPOOL ab40851873d55ae873ca8ff88670a17476c0d502116f4abda7b766064a2daa71929eb69b4b68c64c3d2d0762134fe85d07044bdedde4bf15924520a604972aaa
|
||||
DIST virtualbox-5.0.32-patches-01.tar.xz 4400 SHA256 e5bf5b5b391b3402172b5a30952da50affacaeaf40a75df0430ad623fcd8ed6f SHA512 5df0ecb4f9190375edc62d231aacd381c36a1697cc33df48b2f2d68a05ca1c855d127e466eda62030736dbcee76f5c67a519a2f42b72eacaf7ed65a8cf991e8a WHIRLPOOL 4c11787951848aadacc0772df5a46ce8d54445e0120901be280f493d4cc6333e986d0376f33ac0217dbb23758240c025028ea1d21c360fc2840c8e3003a0ff62
|
||||
DIST virtualbox-5.1.24-patches-01.tar.xz 2708 SHA256 8ea5e08da07d555a4868abf6f4d689c2f6695bdb773010a01915fcc6c354f361 SHA512 0028e593818013f809831ac5a73eec63988c0aefb4b309fb3c928efbea8db8b8f46bd7c82f156396adc704f0567474df262dfe9bb6e09af0b2c23528fe2c6e2d WHIRLPOOL 5a1af78c2767608d2b1c2a4b262dbce038d2b6ed9d0499eb60ac1eb64fd6b832efdbafc2b85881ac67efd8794adcc3490fcbf61b74ad7ae576d52e8aff597b04
|
||||
|
@ -1,3 +1,5 @@
|
||||
DIST eix-0.32.10.tar.xz 600120 SHA256 4ecd6ed7e5bb8859c5e5548265e622bffd19800c889d49e75c0bad556830c5da SHA512 cf67889cb54c9b1453b626339038f8bc87ad9de1d3637caa56aa0de0580904cd0061c4d70c2a004e75fdc35e204e640917288a619653edb17ce7c495d20e4c4b WHIRLPOOL 96781b9324be20d081f43acca31ee1dd299ff1feed680346508fee0fba3b735f5b9f1c4b5c309875ffddfc75a7215dbf4f700117fa2afa27da66231635cf1766
|
||||
DIST eix-0.32.4.tar.xz 592284 SHA256 8132be9c496b5b19699c50d9aacd49560ca1f0466e3de4f47b896337f3527fc6 SHA512 382181d082648e9b236c3bf54fdf5d75a8575a7994e6a1d3380e80bcc36ff5779c660c5b5fc5f233cef79e48099fc53bb1c8b87e2ca919dcdb43d5fde276f553 WHIRLPOOL 0c8258d36a30a76fec2e7315e07776c277b2f098f6c0fb0a9a182f28827a659c334b190e10c52ea7ec8facd7a6e1f6124b3ffefd3ed2aade6da747e815276737
|
||||
DIST eix-0.32.5.tar.xz 595124 SHA256 1ebe07f46800f3f254d1385cd88eba328da9f07cc17731ad1b231a8b13450f6e SHA512 355c0daf81c349ceaa53a7253816a072578923f2044e53c9a8e98ceb9726b238f86f8b1d8ad96bb62851f887e50c1e5e443115dc12fcae7c8bca851caf9b9650 WHIRLPOOL 3b707ebeadc1653917269c81a594469ff2c603e5ad3772d1b19efb9fbd81dcf76b527c9d03975748e9cf0e1f011d1704ecd39f108ea166d78c9bb3be7370ada7
|
||||
DIST eix-0.32.9.tar.xz 599072 SHA256 0929581db3282a81a82ab9e17e6522a6517609de96f3a22ab7c081d0c3288edd SHA512 1a7c3d5f371150f5990fe1f1c4cadb0e3ee0a5810011702904aabd58ca250c10f820d6c64e7182096e0b7e2aa001cf573c5f2e83499ceb350cc59b599ec2ca5b WHIRLPOOL d22f2c536baeb2d2204800b6d8600d27c6933b1f89f1b09954fbc2945939d9981d26d8f20f05b066e2edae75dba6db5b41e37273d19d36481946e106699bc95f
|
||||
DIST eix-0.33.0.tar.xz 610600 SHA256 18e4f195d465a0fbecaf44c49d5ea6e63e14bdafe8aa7d32682f9f369ee648c2 SHA512 6fd4ca253ee908eb192ee35c4228bea0fa8a04030070b35489bddc639053c2e3f6a2faf32f539ffd2c7d9da0c664ff5f29ac0d732d9a47b6c9976a65dd402de2 WHIRLPOOL eb2517a7fde169d2e1359bca0bcea0bd273459af3ec83aff4f34aa7ee5624046ef1e5e91bec63a8ba69ec301d3eb50fabb9a7676501b65dd1137a8f837014c13
|
||||
|
@ -0,0 +1,112 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PLOCALES="de ru"
|
||||
inherit autotools bash-completion-r1 l10n systemd flag-o-matic
|
||||
|
||||
DESCRIPTION="Search and query ebuilds"
|
||||
HOMEPAGE="https://github.com/vaeth/eix/"
|
||||
SRC_URI="https://github.com/vaeth/eix/releases/download/v${PV}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="debug doc nls sqlite"
|
||||
|
||||
BOTHDEPEND="nls? ( virtual/libintl )
|
||||
sqlite? ( >=dev-db/sqlite-3:= )"
|
||||
RDEPEND="${BOTHDEPEND}
|
||||
>=app-shells/push-2.0-r1
|
||||
>=app-shells/quoter-3.0_p2-r1"
|
||||
DEPEND="${BOTHDEPEND}
|
||||
app-arch/xz-utils
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
pkg_setup() {
|
||||
# remove stale cache file to prevent collisions
|
||||
local old_cache=${EROOT%/}/var/cache/${PN}
|
||||
if [[ -f ${old_cache} ]]; then
|
||||
rm "${old_cache}" || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e "s:/:${EPREFIX}/:" tmpfiles.d/eix.conf || die
|
||||
|
||||
sed -e "/eixf_source=/s:push.sh:cat \"${EROOT}usr/share/push/push.sh\":" \
|
||||
-e "/eixf_source=/s:quoter_pipe.sh:cat \"${EROOT}usr/share/quoter/quoter_pipe.sh\":" \
|
||||
-i src/eix-functions.sh.in || die
|
||||
sed -e "s:'\$(bindir)/eix-functions.sh':cat \\\\\"${EROOT}usr/share/eix/eix-functions.sh\\\\\":" \
|
||||
-i src/Makefile.am || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
$(use_enable debug paranoicasserts)
|
||||
$(use_enable nls)
|
||||
$(use_with doc extra-doc)
|
||||
$(use_with sqlite)
|
||||
|
||||
# default configuration
|
||||
$(use_with prefix always-accept-keywords)
|
||||
--with-dep-default
|
||||
--with-required-use-default
|
||||
|
||||
# paths
|
||||
--with-portage-rootpath="${ROOTPATH}"
|
||||
--with-eprefix-default="${EPREFIX}"
|
||||
|
||||
# build a single executable with symlinks
|
||||
--disable-separate-binaries
|
||||
--disable-separate-tools
|
||||
|
||||
# used purely to control/disrespect *FLAGS
|
||||
--disable-debugging
|
||||
--disable-new_dialect
|
||||
--disable-optimization
|
||||
--disable-strong-optimization
|
||||
--disable-security
|
||||
--disable-nopie-security
|
||||
--disable-strong-security
|
||||
)
|
||||
|
||||
# https://github.com/vaeth/eix/issues/35
|
||||
append-cxxflags -std=c++11
|
||||
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dobashcomp bash/eix
|
||||
systemd_dotmpfilesd tmpfiles.d/eix.conf
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
doins "${ED}"/usr/bin/eix-functions.sh
|
||||
rm -r "${ED}"/usr/bin/eix-functions.sh || die
|
||||
|
||||
keepdir /var/cache/eix
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! use prefix; then
|
||||
# note: if this is done in src_install(), portage:portage
|
||||
# ownership may be reset to root
|
||||
chown portage:portage "${EROOT%/}"/var/cache/eix || die
|
||||
fi
|
||||
|
||||
local obs=${EROOT%/}/var/cache/eix.previous
|
||||
if [[ -f ${obs} ]]; then
|
||||
ewarn "Found obsolete ${obs}, please remove it"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if [[ ! -n ${REPLACED_BY_VERSION} ]]; then
|
||||
rm -rf "${EROOT%/}/var/cache/${PN}" || die
|
||||
fi
|
||||
}
|
@ -0,0 +1,112 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PLOCALES="de ru"
|
||||
inherit autotools bash-completion-r1 l10n systemd flag-o-matic
|
||||
|
||||
DESCRIPTION="Search and query ebuilds"
|
||||
HOMEPAGE="https://github.com/vaeth/eix/"
|
||||
SRC_URI="https://github.com/vaeth/eix/releases/download/v${PV}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="debug doc nls sqlite"
|
||||
|
||||
BOTHDEPEND="nls? ( virtual/libintl )
|
||||
sqlite? ( >=dev-db/sqlite-3:= )"
|
||||
RDEPEND="${BOTHDEPEND}
|
||||
>=app-shells/push-2.0-r1
|
||||
>=app-shells/quoter-3.0_p2-r1"
|
||||
DEPEND="${BOTHDEPEND}
|
||||
app-arch/xz-utils
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
pkg_setup() {
|
||||
# remove stale cache file to prevent collisions
|
||||
local old_cache=${EROOT%/}/var/cache/${PN}
|
||||
if [[ -f ${old_cache} ]]; then
|
||||
rm "${old_cache}" || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e "s:/:${EPREFIX}/:" tmpfiles.d/eix.conf || die
|
||||
|
||||
sed -e "/eixf_source=/s:push.sh:cat \"${EROOT}usr/share/push/push.sh\":" \
|
||||
-e "/eixf_source=/s:quoter_pipe.sh:cat \"${EROOT}usr/share/quoter/quoter_pipe.sh\":" \
|
||||
-i src/eix-functions.sh.in || die
|
||||
sed -e "s:'\$(bindir)/eix-functions.sh':cat \\\\\"${EROOT}usr/share/eix/eix-functions.sh\\\\\":" \
|
||||
-i src/Makefile.am || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
$(use_enable debug paranoic-assertsasserts)
|
||||
$(use_enable nls)
|
||||
$(use_with doc extra-doc)
|
||||
$(use_with sqlite)
|
||||
|
||||
# default configuration
|
||||
$(use_with prefix always-accept-keywords)
|
||||
--with-dep-default
|
||||
--with-required-use-default
|
||||
|
||||
# paths
|
||||
--with-portage-rootpath="${ROOTPATH}"
|
||||
--with-eprefix-default="${EPREFIX}"
|
||||
|
||||
# build a single executable with symlinks
|
||||
--disable-separate-binaries
|
||||
--disable-separate-tools
|
||||
|
||||
# used purely to control/disrespect *FLAGS
|
||||
--disable-debugging
|
||||
--disable-new_dialect
|
||||
--disable-optimization
|
||||
--disable-strong-optimization
|
||||
--disable-security
|
||||
--disable-nopie-security
|
||||
--disable-strong-security
|
||||
)
|
||||
|
||||
# https://github.com/vaeth/eix/issues/35
|
||||
append-cxxflags -std=c++11
|
||||
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dobashcomp bash/eix
|
||||
systemd_dotmpfilesd tmpfiles.d/eix.conf
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
doins "${ED}"/usr/bin/eix-functions.sh
|
||||
rm -r "${ED}"/usr/bin/eix-functions.sh || die
|
||||
|
||||
keepdir /var/cache/eix
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! use prefix; then
|
||||
# note: if this is done in src_install(), portage:portage
|
||||
# ownership may be reset to root
|
||||
chown portage:portage "${EROOT%/}"/var/cache/eix || die
|
||||
fi
|
||||
|
||||
local obs=${EROOT%/}/var/cache/eix.previous
|
||||
if [[ -f ${obs} ]]; then
|
||||
ewarn "Found obsolete ${obs}, please remove it"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if [[ ! -n ${REPLACED_BY_VERSION} ]]; then
|
||||
rm -rf "${EROOT%/}/var/cache/${PN}" || die
|
||||
fi
|
||||
}
|
@ -1,17 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>ahf@0x90.dkg</email>
|
||||
<name>Alexander Faeroy</name>
|
||||
<description>Proxied upstream</description>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>vim@gentoo.org</email>
|
||||
<name>Gentoo Vim Project</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,63 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit user systemd golang-vcs-snapshot
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
EGO_PN="github.com/coreos/etcd"
|
||||
DESCRIPTION="Highly-available key value store for shared configuration and service discovery"
|
||||
HOMEPAGE="https://github.com/coreos/etcd"
|
||||
SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="doc"
|
||||
DEPEND=">=dev-lang/go-1.8:="
|
||||
RDEPEND="!dev-db/etcdctl"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -e 's|GIT_SHA=.*|GIT_SHA=v${PV}|'\
|
||||
-i "${S}"/src/${EGO_PN}/build || die
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup ${PN}
|
||||
enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export GOPATH=${S}
|
||||
pushd src/${EGO_PN} || die
|
||||
./build || die
|
||||
popd || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
pushd src/${EGO_PN} || die
|
||||
insinto /etc/${PN}
|
||||
doins "${FILESDIR}/${PN}.conf"
|
||||
dobin bin/*
|
||||
dodoc README.md
|
||||
use doc && dodoc -r Documentation
|
||||
systemd_dounit "${FILESDIR}/${PN}.service"
|
||||
systemd_newtmpfilesd "${FILESDIR}/${PN}.tmpfiles.d.conf" ${PN}.conf
|
||||
newinitd "${FILESDIR}"/${PN}.initd ${PN}
|
||||
newconfd "${FILESDIR}"/${PN}.confd ${PN}
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/${PN}.logrotated" "${PN}"
|
||||
dodir /var/lib/${PN}
|
||||
fowners ${PN}:${PN} /var/lib/${PN}
|
||||
fperms 755 /var/lib/${PN}
|
||||
dodir /var/log/${PN}
|
||||
fowners ${PN}:${PN} /var/log/${PN}
|
||||
fperms 755 /var/log/${PN}
|
||||
popd || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
pushd src/${EGO_PN} || die
|
||||
./test || die
|
||||
popd || die
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST pcsc-cyberjack-3.99.5final.SP10.tar.bz2 958494 SHA256 910ac025b504a0407cee3d9f8a77655f3007871591113054bedede5f1aeae958 SHA512 d4094b531ab523db29856ea0cf784db925bece51a5c4b5c7fec259ff319d58a50443cabdfebc0a1f6818b678a1284500429274478bf1db780ff594612e307d56 WHIRLPOOL 8a80cbd2dc8e3597f169a0a16c963c4b02faba2909639c2a5affe85098cf4c63e244ed5076477b7b5032e446097c24da07dfc88fc1a68a9f48a64624d3a6cbc0
|
||||
DIST pcsc-cyberjack-3.99.5final.SP11.tar.bz2 965662 SHA256 5cd78f527596f2905500b210d066ece62a8ab36a0d4d3677463805f8f4d3aa0c SHA512 4d63ef0442c7e919456e8b6ab1d571ab621eb45fc34fc9b61a7a024f1ae2115f7474b4aa538ee7fb8bf4ce016067c876d9970b52e6b4e8b531e2d736677ab794 WHIRLPOOL 541e0cf4dc24848d1f2bd66f0fab2745b955610dc4d9f31dfac080341df2b2ea4362b4da4020d1a9b813437b3a6b3e835ae04e70923cf6b3a14b172aa01340ff
|
||||
DIST pcsc-cyberjack_3.99.5final.SP03.tar.gz 1485952 SHA256 fa5324d8a270d50aec20345cb57362f684ddadd3a50dbd0773ee13d2d87bc0a9 SHA512 a091a09b501d7a7c757f0a458007f44ac281cbeaaf5bc3c2aa89915ee7a39478e6f80b6f24fec77be753c8d77deeda2858b7a806e3c982f54c199bd797288e05 WHIRLPOOL 51429512a9037e6ec4a98cc33576176cafda5fe3a3b33c56b2d928c7a7bc06135ac93e92a713836e4dc20e90f6106f9ca3643de5baed7c25672c26f6fc4a6368
|
||||
|
@ -0,0 +1,74 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
inherit autotools versionator eutils linux-info toolchain-funcs udev
|
||||
|
||||
MY_PV="${PV/_p/_SP}"
|
||||
MY_PV2="${PV/_p/final.SP}"
|
||||
MY_P="pcsc-${PN}-${MY_PV2}"
|
||||
#MY_P2="${PN}-$(get_version_component_range 4 $MY_PV)"
|
||||
|
||||
DESCRIPTION="REINER SCT cyberJack pinpad/e-com USB user space driver library"
|
||||
HOMEPAGE="http://www.reiner-sct.de/"
|
||||
SRC_URI="http://support.reiner-sct.de/downloads/LINUX/V${MY_PV}/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="static-libs threads +udev +usb"
|
||||
|
||||
# FIXME:
|
||||
# xml is actually optional but the code is still used anyway. We'll have to wait
|
||||
# until upstream fixed it.
|
||||
COMMON_DEPEND="sys-apps/pcsc-lite
|
||||
usb? ( virtual/libusb:1 )"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
udev? ( virtual/udev )"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
#S=${WORKDIR}/${MY_P2}
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
DOCS="debian/changelog doc/README.txt"
|
||||
|
||||
pkg_setup() {
|
||||
CONFIG_CHECK="~USB_SERIAL_CYBERJACK"
|
||||
linux-info_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-manpages.patch"
|
||||
epatch "${FILESDIR}/${PN}-returnvalue.patch"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--sysconfdir=/etc/${PN} \
|
||||
--disable-hal \
|
||||
--enable-pcsc \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable usb nonserial) \
|
||||
$(use_enable threads) \
|
||||
--with-usbdropdir="$($(tc-getPKG_CONFIG) libpcsclite --variable=usbdropdir)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
prune_libtool_files --all
|
||||
|
||||
use udev && udev_newrules "${FILESDIR}"/${PN}-r1.rules 92-${PN}.rules #388329
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local conf="${EROOT}etc/${PN}/${PN}.conf"
|
||||
elog
|
||||
elog "To configure logging, key beep behaviour etc. you need to"
|
||||
elog "copy ${conf}.default"
|
||||
elog "to ${conf}"
|
||||
elog "and modify the latter as needed."
|
||||
elog
|
||||
}
|
@ -0,0 +1,107 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5} )
|
||||
DISTUTILS_OPTIONAL=1
|
||||
inherit distutils-r1 eutils libtool multilib multilib-minimal
|
||||
|
||||
LIBNL_P=${P/_/-}
|
||||
LIBNL_DIR=${PV/_/}
|
||||
LIBNL_DIR=${LIBNL_DIR//./_}
|
||||
|
||||
DESCRIPTION="Libraries providing APIs to netlink protocol based Linux kernel interfaces"
|
||||
HOMEPAGE="http://www.infradead.org/~tgr/libnl/ https://github.com/thom311/libnl"
|
||||
SRC_URI="
|
||||
https://github.com/thom311/${PN}/releases/download/${PN}${LIBNL_DIR}/${P/_rc/-rc}.tar.gz
|
||||
https://dev.gentoo.org/~jer/${P}.tar.xz
|
||||
"
|
||||
LICENSE="LGPL-2.1 utils? ( GPL-2 )"
|
||||
SLOT="3"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="static-libs python utils"
|
||||
|
||||
RDEPEND="
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
abi_x86_32? (
|
||||
!<=app-emulation/emul-linux-x86-baselibs-20140508-r5
|
||||
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
|
||||
)
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
python? ( dev-lang/swig )
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
"
|
||||
REQUIRED_USE="
|
||||
python? ( ${PYTHON_REQUIRED_USE} )
|
||||
"
|
||||
DOCS=(
|
||||
ChangeLog
|
||||
)
|
||||
|
||||
S=${WORKDIR}/${LIBNL_P}
|
||||
|
||||
MULTILIB_WRAPPED_HEADERS=(
|
||||
# we do not install CLI stuff for non-native
|
||||
/usr/include/libnl3/netlink/cli/addr.h
|
||||
/usr/include/libnl3/netlink/cli/class.h
|
||||
/usr/include/libnl3/netlink/cli/cls.h
|
||||
/usr/include/libnl3/netlink/cli/ct.h
|
||||
/usr/include/libnl3/netlink/cli/exp.h
|
||||
/usr/include/libnl3/netlink/cli/link.h
|
||||
/usr/include/libnl3/netlink/cli/neigh.h
|
||||
/usr/include/libnl3/netlink/cli/qdisc.h
|
||||
/usr/include/libnl3/netlink/cli/route.h
|
||||
/usr/include/libnl3/netlink/cli/rule.h
|
||||
/usr/include/libnl3/netlink/cli/tc.h
|
||||
/usr/include/libnl3/netlink/cli/utils.h
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
elibtoolize
|
||||
|
||||
if use python; then
|
||||
cd "${S}"/python || die
|
||||
distutils-r1_src_prepare
|
||||
fi
|
||||
|
||||
# out-of-source build broken
|
||||
# https://github.com/thom311/libnl/pull/58
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
econf \
|
||||
--disable-silent-rules \
|
||||
$(use_enable static-libs static) \
|
||||
$(multilib_native_use_enable utils cli)
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
default
|
||||
|
||||
if multilib_is_native_abi && use python; then
|
||||
cd python || die
|
||||
distutils-r1_src_compile
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
if multilib_is_native_abi && use python; then
|
||||
# Unset DOCS= since distutils-r1.eclass interferes
|
||||
local DOCS=()
|
||||
cd python || die
|
||||
distutils-r1_src_install
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
prune_libtool_files --modules
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST libsodium-1.0.11.tar.gz 1846782 SHA256 a14549db3c49f6ae2170cbbf4664bd48ace50681045e8dbea7c8d9fb96f9c765 SHA512 4b1293c4d0e52264beecdd05833857bc4d77d1c2a97eea0138fe04df383b9a2dfcad4a79ccd9aed8f6c0047ba67c49292b0d2ccf987ab0b5046b46b1586ccbd7 WHIRLPOOL ff02835e05a491695ba1b6d55d1b3168c15c9c6326377d2a24d1dbc9eaa3da538efcf22610c81d32297b057138162132e340b64ce980a199563d4101beb9d899
|
||||
DIST libsodium-1.0.13.tar.gz 1895139 SHA256 9c13accb1a9e59ab3affde0e60ef9a2149ed4d6e8f99c93c7a5b97499ee323fd SHA512 c619b12fdf0b2e59174b6e383a62d5499ebcd720fdbb2c1a41a98a46c285df075202423454b294fefee185432441e943805397d7656f7cd7837de425da623929 WHIRLPOOL 30f80a05eabe475dc42a6c1f9028cd6eec581b063385a5b789cc414c98efb5faddd451473f52059a05f8412d5b10d800ec60ad7801e086c7e9d3b119d8ce0e7c
|
||||
DIST libsodium-1.0.14.tar.gz 1876526 SHA256 3cfc84d097fdc891b40d291f2ac2c3f99f71a87e36b20cc755c6fa0e97a77ee7 SHA512 46663b05aab13ec4003ecc32c89bdaedf60824703be522661eeaa3db8013140bda434c19a759dc38bcbce757e9673a03e701c0eac1526a31a4b7a15608ae8696 WHIRLPOOL 76c32b5c3ea746744f7af17b6d335dc843276c51aef4bc69dc7871d8b9ea2e25972258aaab473827ec21177aac18e747d16aa0bd81499c77040104e22c906cec
|
||||
DIST libsodium-1.0.15.tar.gz 1866057 SHA256 fb6a9e879a2f674592e4328c5d9f79f082405ee4bb05cb6e679b90afe9e178f4 SHA512 299a208f8342793d13498e95b23f1749f5b5b13ec276db3ec401130615e837ef475b6a1283b6e87a5f8227d23e70e38ca721073dadd5dc88fe4aff342aa64adc WHIRLPOOL 193e804acd32a408b6c3e29689e427b061c68a5a8152a35167d618b350f8c08e64b751a808385d4307485e8ccdfdd36c814f6a63155cfd64b6a76d11424f0840
|
||||
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils autotools
|
||||
|
||||
DESCRIPTION="A portable fork of NaCl, a higher-level cryptographic library"
|
||||
HOMEPAGE="https://github.com/jedisct1/libsodium"
|
||||
SRC_URI="http://download.libsodium.org/${PN}/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0/23"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="+asm minimal static-libs +urandom cpu_flags_x86_sse4_1 cpu_flags_x86_aes"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-1.0.10-cpuflags.patch )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
# --disable-pie needed on x86, bug #512734
|
||||
use x86 && myconf="${myconf} --disable-pie"
|
||||
|
||||
econf \
|
||||
$(use_enable asm) \
|
||||
$(use_enable minimal) \
|
||||
$(use_enable !urandom blocking-random) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable cpu_flags_x86_sse4_1 sse4_1) \
|
||||
$(use_enable cpu_flags_x86_aes aesni) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
prune_libtool_files
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
--- util/mutex.h.orig 2013-09-22 13:24:25.126582479 -0500
|
||||
+++ util/mutex.h 2013-09-22 13:25:11.376179517 -0500
|
||||
@@ -10,6 +10,8 @@
|
||||
#ifndef RE2_UTIL_MUTEX_H_
|
||||
#define RE2_UTIL_MUTEX_H_
|
||||
|
||||
+#include <stdlib.h>
|
||||
+
|
||||
namespace re2 {
|
||||
|
||||
#define HAVE_PTHREAD 1
|
||||
@@ -102,7 +104,6 @@
|
||||
|
||||
#elif defined(HAVE_PTHREAD) && defined(HAVE_RWLOCK)
|
||||
|
||||
-#include <stdlib.h> // for abort()
|
||||
#define SAFE_PTHREAD(fncall) do { if ((fncall) != 0) abort(); } while (0)
|
||||
|
||||
Mutex::Mutex() { SAFE_PTHREAD(pthread_rwlock_init(&mutex_, NULL)); }
|
||||
@@ -117,7 +118,6 @@
|
||||
|
||||
#elif defined(HAVE_PTHREAD)
|
||||
|
||||
-#include <stdlib.h> // for abort()
|
||||
#define SAFE_PTHREAD(fncall) do { if ((fncall) != 0) abort(); } while (0)
|
||||
|
||||
Mutex::Mutex() { SAFE_PTHREAD(pthread_mutex_init(&mutex_, NULL)); }
|
@ -1,10 +0,0 @@
|
||||
--- libre2.symbols.orig 2012-11-07 04:45:57.000000000 +0100
|
||||
+++ libre2.symbols 2012-11-07 04:46:20.000000000 +0100
|
||||
@@ -10,6 +10,7 @@
|
||||
_ZlsRSoRKN3re211StringPieceE;
|
||||
# re2::FilteredRE2*
|
||||
_ZN3re211FilteredRE2*;
|
||||
+ _ZNK3re211FilteredRE2*;
|
||||
local:
|
||||
*;
|
||||
};
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=MLEHMANN
|
||||
DIST_VERSION=1.7
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Concise Binary Object Representation (CBOR, RFC7049)"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-perl/Types-Serialiser
|
||||
dev-perl/common-sense
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-perl/Canary-Stability
|
||||
>=virtual/perl-ExtUtils-MakeMaker-6.520.0
|
||||
"
|
@ -1 +1,2 @@
|
||||
DIST CBOR-XS-1.6.tar.gz 72681 SHA256 f5c7c2dbef8de9ecfc2793d5572400b750ff266f24b0e0b9fa2661bc3fb7f0ab SHA512 6060d7cfa77f75d3a900b3d2a6d3948e27677ee5c19f3c17061a66917ad6a1d34a20563a2bfc7a6fc2a0e0b4db2cbb3123d07ff77beae913f07b4a98b6955b85 WHIRLPOOL 310f5d4d1702d428eaeef9cfd1ddcf8e265512d3ece55231a60c3a54688cebb8c10357f112f80886a5e08537125d7aa5c26ee0ea9f7877e8372cfd9fc297e648
|
||||
DIST CBOR-XS-1.7.tar.gz 73429 SHA256 2dc5b7124bad3a9d0c6af8bd57a646e957d9973bf1b58e0eebae682fb35b65a3 SHA512 13f5a0db0e983929fe7a670caf23ef130ed18f1974cf471d77d20e9e5d78c8afcad9a3440f198906d8e30625da7f8cb1d3a8919fd896442101f3865f0af5614c WHIRLPOOL 5808568c53528517dbb0569faaee89af3f21d43c12ca945a9a7d25a80b3592e68deea013faa0477def836519dbd09adb755b3e644bd168daa3b838636cd7b65c
|
||||
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=LEEJO
|
||||
DIST_VERSION=2.12
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="CGI Interface for Fast CGI"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=dev-perl/CGI-4
|
||||
virtual/perl-Carp
|
||||
>=dev-perl/FCGI-0.670.0
|
||||
virtual/perl-if
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
"
|
||||
|
||||
src_test() {
|
||||
perl_rm_files t/006_changes.t
|
||||
perl-module_src_test
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST CGI-Fast-2.10.tar.gz 8627 SHA256 98263afcc9f5d88c7cbbd39651c5431b434c1c815fe284962d887ed7be3a1dd3 SHA512 55d05c742bf49045f917aa4a4efdab3e5ce2251ca61de0e7db0a586d8a592784989bc74fa43a3c6430a920f38b2aa818887e96c3e24c701d531dae94b247da2c WHIRLPOOL 5821043926fa707490819a7149e3c085ebf49314242dbd80393d46a400d21461245b46b5bb908390c0d1a6401a156e312193eb0652eaef08386f8fa94a1e2ead
|
||||
DIST CGI-Fast-2.11.tar.gz 8662 SHA256 c22d5dfbac2a5044863d2abce2bb04e911fedca193e950f9b8c764202c655901 SHA512 728d1cb2fb15ea4e894563625258bacdf31f7ffac5e8395fcd1dd1e66a2f3575c4fe342bf1cfdcfee736fe323bcdda1170f8ffbe9a37d30cb7ca6ba6484bc2f5 WHIRLPOOL 0e42d987ed4776a922be42908c966e6f45404ae89b67202609b8e017cc30d93a4ad68ed0be41ccceee8aae740cce6e2f1f682227ee8322abd989c3c352f84963
|
||||
DIST CGI-Fast-2.12.tar.gz 8807 SHA256 c3a3147dd6ef7236a1984653833e9af169cb548ff3cb655821b06f7139464387 SHA512 00452a2c31eb8fd877808764508a491894d87986bda493b2b15773cd29f2699184559f0c55af1af1684c851005b61eb1364bccae7ba4f4df3166d9020c15b40e WHIRLPOOL f278c48da7c181d686595985ecf05e6a601e7ccbcbce8da67e8f0360c6f9a627d637596e0ce51ea621d146918bd0f276429893242a0279d8fbbad05ff33ebede
|
||||
|
@ -0,0 +1,69 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=BIGPRESH
|
||||
DIST_VERSION=3.10
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Extremely fast, reliable form generation and processing module"
|
||||
HOMEPAGE="http://www.formbuilder.org/ ${HOMEPAGE}"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-3.90.0-rt81650.patch"
|
||||
)
|
||||
# Templates that can be used - but they are optional
|
||||
# >=dev-perl/CGI-SSI-0.920.0
|
||||
|
||||
RDEPEND="dev-perl/CGI"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
"
|
||||
|
||||
optdep_notice() {
|
||||
local i;
|
||||
elog "This package has support for optional features via the following packages"
|
||||
elog "which you may want to install separately:"
|
||||
elog
|
||||
i="$(if has_version '>=dev-perl/CGI-Session-3.950.0'; then echo '[I]'; else echo '[ ]'; fi)"
|
||||
elog " $i >=dev-perl/CGI-Session-3.950.0"
|
||||
elog " - Multi-page form persistence with CGI::FormBuilder::Multi";
|
||||
elog
|
||||
elog " Alternative Template Engines:"
|
||||
i="$(if has_version '>=dev-perl/CGI-FastTemplate-1.90.0'; then echo '[I]'; else echo '[ ]'; fi)"
|
||||
elog " $i >=dev-perl/CGI-FastTemplate-1.90.0"
|
||||
elog " - CGI::FastTemplate via CGI::FormBuilder::Template::Fast";
|
||||
|
||||
i="$(if has_version '>=dev-perl/HTML-Template-2.60.0'; then echo '[I]'; else echo '[ ]'; fi)"
|
||||
elog " $i >=dev-perl/HTML-Template-2.60.0"
|
||||
elog " - HTML::Template via CGI::FormBuilder::Template::HTML";
|
||||
|
||||
i="$(if has_version '>=dev-perl/Template-Toolkit-2.80.0'; then echo '[I]'; else echo '[ ]'; fi)"
|
||||
elog " $i >=dev-perl/Template-Toolkit-2.80.0"
|
||||
elog " - Template.pm via CGI::FormBuilder::Template::TT2";
|
||||
|
||||
i="$(if has_version '>=dev-perl/Text-Template-1.430.0'; then echo '[I]'; else echo '[ ]'; fi)"
|
||||
elog " $i >=dev-perl/Text-Template-1.430.0"
|
||||
elog " - Text::Template via CGI::FormBuilder::Template::Text";
|
||||
|
||||
if use test; then
|
||||
elog
|
||||
elog "This module will perform additonal tests if these dependencies are"
|
||||
elog "pre-installed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
optdep_notice;
|
||||
echo
|
||||
perl-module_src_test
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use test || optdep_notice;
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST CGI-FormBuilder-3.09.tgz 163526 SHA256 654907527717c3bbb169c739a9a817f14552054619ab3c93d6a5f808649fa863 SHA512 6907131de95ac0188a4a80e380fd81554bd9fb8d2566e961e5ff05a30e4498bccb157ecfdc77bdcd05427ebc5882caaea47b044aaaddae85f48231c0b7eef240 WHIRLPOOL 1424607dc1d931e9fc71717ccb05c8b42d12b9d65cecf3b36ace4e5b5bb79db9075abae6110ed59ee3f169c853a450c2c8f065e038f49dbb4b4386799db42a51
|
||||
DIST CGI-FormBuilder-3.10.tar.gz 162346 SHA256 aec99be0c0f067a7e7269c5378e5ae6c8d7dd39b368b4f12c0d8463b13ee7198 SHA512 38d8e6eb729e188074d872b979ad46133152877bb30b95329a2c7275154646a4afb62dc3539cb34781149f424b1d384d05230efe8b174967742625a81765bad5 WHIRLPOOL b26b819154b28223f088c4435d837e7433c0d0361b5113d212376cbb59351f6bb0ebf2563a1eaf4adbd668bb482802579987d6ef9917073efbad18ef65631417
|
||||
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=GBARR
|
||||
DIST_VERSION=0.12
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Extract distribution name and version from a distribution filename"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
test? (
|
||||
virtual/perl-Test-Simple
|
||||
)
|
||||
"
|
@ -0,0 +1 @@
|
||||
DIST CPAN-DistnameInfo-0.12.tar.gz 14523 SHA256 2f24fbe9f7eeacbc269d35fc61618322fc17be499ee0cd9018f370934a9f2435 SHA512 f52eb88b87ab732d13c2ee4e4770cf27c249d2b2446b51e75abe31f2a70b8dc7d8370f4c4426fa68cc8fa7a905668dfdcd1387cd98e239393bde90d1965929f1 WHIRLPOOL 7cb4c6a557bd6ca9c6214a7f47d224fdd17d0854928f24a56f4f9a13851dbfbea96f8833df68a1194294b9d8234f06174cf2e80cf0824cf7d7f3bc19069cb63f
|
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>perl@gentoo.org</email>
|
||||
<name>Gentoo Perl Project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="cpan">CPAN-DistnameInfo</remote-id>
|
||||
<remote-id type="cpan-module">CPAN::DistnameInfo</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=LEONT
|
||||
DIST_VERSION=0.014
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Verify requirements in a CPAN::Meta object"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="test"
|
||||
|
||||
# CPAN::Meta::Prereqs -> perl-CPAN-Meta
|
||||
RDEPEND="
|
||||
>=virtual/perl-CPAN-Meta-2.132.830
|
||||
>=virtual/perl-CPAN-Meta-Requirements-2.121.0
|
||||
virtual/perl-Exporter
|
||||
>=virtual/perl-Module-Metadata-1.0.23
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=virtual/perl-ExtUtils-MakeMaker-6.300.0
|
||||
test? (
|
||||
dev-perl/Test-Deep
|
||||
>=virtual/perl-Test-Simple-0.880.0
|
||||
)
|
||||
"
|
@ -1,2 +1,3 @@
|
||||
DIST CPAN-Meta-Check-0.012.tar.gz 12570 SHA256 4b4cd9a2ac788456fb43f32e40a380cb29122bb3b4082c70a008366d2881d5e7 SHA512 99ec6721dfb6be8fae7e5a4f6418d4d12d8d093df11f0596480ecc19a46ef3af3fc3da91ccdd7110f974e8f4d04e33166d76804b673a019bc4994f96b7078e7d WHIRLPOOL a3810564ce73e7ca303a76ee49f564bb625299b9cc77719cb98e08461eaef81a16bc7c1c63455c3b7f79221f9776e1551c5ad01d947882adaf2437f6c177c0de
|
||||
DIST CPAN-Meta-Check-0.013.tar.gz 12555 SHA256 4fca09a28066e7e134d691dc25c496c838043617a93b7eec4df807df8e7f73d5 SHA512 c7bb972ce6afd21f415d0bca03f9ebefe0298e8b7db32e42f0195ae5da535da079f482c9d2bf598cb39d234b467397eb4b949b93c34c4d02b113caf76fd5a9c5 WHIRLPOOL 76aac05c3264717f5b1371b295d59bb2235e757832cc5cb58ea9d69270baf4f52e4082fa691581714b2410566d40779f675a40264293eed6ad81b16544310b87
|
||||
DIST CPAN-Meta-Check-0.014.tar.gz 13187 SHA256 28a0572bfc1c0678d9ce7da48cf521097ada230f96eb3d063fcbae1cfe6a351f SHA512 a10af09a7ce771ca3983adea8053d141750fd09849609a28e7f973831fd3a3ece55281841aec93c099154bb59135986da4983bf612ae4e956c45dbb3f2770f5e WHIRLPOOL 54e058c06750f8d21df8179df80a29a16604b05fd6928606134f0be4c17cda27d6728de930bf0f2998472ef10c524b8a23b6a2a8d2ed7a9ea8e11f813362ce26
|
||||
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=MITHALDU
|
||||
DIST_VERSION=0.35
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Inject modules into a CPAN::Mini mirror"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~ppc-aix"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-perl/CPAN-Checksums
|
||||
>=dev-perl/CPAN-Mini-0.320.0
|
||||
virtual/perl-Carp
|
||||
>=dev-perl/Dist-Metadata-0.921.0
|
||||
>=virtual/perl-File-Path-2.70.0
|
||||
dev-perl/File-Slurp
|
||||
>=virtual/perl-File-Spec-2.70.0
|
||||
virtual/perl-File-Temp
|
||||
virtual/perl-Getopt-Long
|
||||
virtual/perl-IO-Compress
|
||||
virtual/perl-IO-Zlib
|
||||
dev-perl/libwww-perl
|
||||
dev-perl/YAML"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-perl/Module-Build-0.400.0
|
||||
test? (
|
||||
>=dev-perl/HTTP-Server-Simple-0.70.0
|
||||
dev-perl/Test-TCP
|
||||
virtual/perl-Test-Simple
|
||||
)
|
||||
"
|
||||
# Tests fail with parallel testing
|
||||
DIST_TEST="do"
|
||||
src_test() {
|
||||
perl_rm_files t/pod-coverage.t t/pod.t
|
||||
perl-module_src_test
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST CPAN-Mini-Inject-0.33.tar.gz 26931 SHA256 f50b029999d2671bfa3caa686b853e688e7c4025b35597ad7d487626d12f3aee SHA512 44a55a91c99aa11053ed9547cd0c857cfcef98a3844e0a3a721a19880bd12d3d99e35c528103a36b91e6b11ead89d727856a7b4c1e58aa7cb6cf1e76e675df27 WHIRLPOOL 8c82b4d5398b0295b4b9471d4b32a0b41ee56d6554dd8da9d6b41760d2ab9def33279e376c2813b4ea03c7c83fbcf0882045316fe9da739925f68b2855aed44c
|
||||
DIST CPAN-Mini-Inject-0.35.tar.gz 27156 SHA256 6041fda9e1dc8f9fe34a582381d21c0bbf1d1c22da3a01cf8bdc3ee5b05b85e6 SHA512 58e1fba755d6f13c40f46f3fe6d3c603512b4b0152ab18e69c838d91feab7757fff8175cb8d6b30893e0cd59ca39a513e8fef554c58cd7cc898fba7f490fdbaf WHIRLPOOL cae3d27ea4af1b97fb0389bb57a26604d20b4df6c12194c093bb799ca93937f10a9d937484efd2fd15faf2d4b822a412698e0a8efb9ab6480994cc3228d34d21
|
||||
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=BINGOS
|
||||
DIST_VERSION=3.38
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Mapping Perl releases on CPAN to the location of the tarballs"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
test? (
|
||||
virtual/perl-File-Spec
|
||||
virtual/perl-IO
|
||||
>=virtual/perl-Test-Simple-0.470.0
|
||||
)
|
||||
"
|
||||
src_test() {
|
||||
perl_rm_files t/author-pod-coverage.t t/author-pod-syntax.t
|
||||
perl-module_src_test
|
||||
}
|
@ -0,0 +1,19 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
DIST_AUTHOR=ROBM
|
||||
DIST_VERSION=1.46
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Uses an mmaped file to act as a shared memory interprocess cache"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
virtual/perl-Storable
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
"
|
@ -1,3 +1,4 @@
|
||||
DIST Cache-FastMmap-1.40.tar.gz 47952 SHA256 0d12bcf5bc53a43cb71c1c721a36186ef942f749955440e86ec63646409e6c40 SHA512 55c038cc99b4f6177f45f1610c72a57eb893bfc4598909a6f10352422b8c64376e938b1b175dd417667f7fb0732a420e23bb037ce51b16ee2db2d1a712c892d1 WHIRLPOOL ba3c3122feafccd5021f6c3f08df66000403300f3ccf60c85e929382481254334a3a33e6ab3fe7c7d8d348a75fed2bd3f9b76a8b5f3c01e89f480b3f610f2bbd
|
||||
DIST Cache-FastMmap-1.44.tar.gz 49451 SHA256 0597423c9bca4469b124d51dfd439eaacb2241d6a03b48191448fd457d8061d6 SHA512 35ac9ef19fe8f7857d3d999274fcfb8fb3b62524e29db5dde846ab51e77a0166b48e063ece4e1621f4ad53a3264ac607879e3a0ae4decaf1d3a16c4284b4b6ce WHIRLPOOL 29288a3eb4a64e68dfbde76fd01d67e0fec96256dbcb90f7ee6e775eed0a781f7ae135f2c280d77e252fa7a03d2a23362233afef1c0e276069395edb18925750
|
||||
DIST Cache-FastMmap-1.45.tar.gz 51306 SHA256 ad8fad2e6601002283757999cd3bcab730c0b05a0c336809adcccc42b28d4ba6 SHA512 7c35ec3dd991295f56f03eb2839d88bcf1cb741c6d9c873e0cabdd8f4ba17ed7c790f82a3843cd40fd200450e4080208893734ff49120ef633309a8686058f3f WHIRLPOOL 98497e72a71e32a4051aeac9f6ea8587b04e7049df3130a6219b2b0c183b48cc3b1d94fa14f6103cd263711032d19b70d573f876e4a356fc5ef75bf1ca794948
|
||||
DIST Cache-FastMmap-1.46.tar.gz 51820 SHA256 28e9ae034ad37f36a3a644266c9b5993385ca9c9a14fb0a058288dbd289fc100 SHA512 155c55dcbb05b83a7bf35ef70d4436b54ad0dc8684871c03048ac7dc364c5ce408152409fdc88d7c53f38ff7d767ec2c181da8c1e6118826ba0120ef20b77f59 WHIRLPOOL 3ec03090e61f47aad5628ad2c4c187d09aeaef0f94ce0df75d70f96bc495cfc0e151739eb619b977d6aa83b8e679b7f588f8a9a1ce1be7f190c211c24033ef30
|
||||
|
@ -0,0 +1,23 @@
|
||||
From 22b4a18d00c7080972341db2052041448391fbfe Mon Sep 17 00:00:00 2001
|
||||
From: Kent Fredric <kentnl@gentoo.org>
|
||||
Date: Sun, 11 Jun 2017 14:42:41 +1200
|
||||
Subject: Fix Makefile.PL for Perl 5.26 w/o "." in @INC
|
||||
|
||||
Bug: https://bugs.gentoo.org/613632
|
||||
Bug: https://rt.cpan.org/Ticket/Display.html?id=120714
|
||||
---
|
||||
Makefile.PL | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/Makefile.PL b/Makefile.PL
|
||||
index 8d4d686..3e87348 100644
|
||||
--- a/Makefile.PL
|
||||
+++ b/Makefile.PL
|
||||
@@ -1,3 +1,4 @@
|
||||
+use lib '.';
|
||||
use inc::Module::Install;
|
||||
name 'Convert-PEM';
|
||||
all_from 'lib/Convert/PEM.pm';
|
||||
--
|
||||
2.14.1
|
||||
|
@ -0,0 +1,70 @@
|
||||
From 9b8f76ece49348cfdc50c5e3b4098694e07184d6 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
|
||||
Date: Fri, 5 Sep 2014 11:04:30 +0200
|
||||
Subject: Do not test the reason for decryption failure on bad key
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Tests checking error message after using bad decryption key fails
|
||||
randomly.
|
||||
|
||||
Some bad keys can fool the "Bad key/passphrase" heuristic in the
|
||||
Convert::PEM::CBC::decode() because it's a feature a stream cipher to
|
||||
spit out bad output on bad key. So the heuristic is just a kind
|
||||
service to point to the cause of the decoding failure (i.e. bad key).
|
||||
By probabilistic nature of the heuristic, we cannot rely on the
|
||||
/^Decryption failed/ error message.
|
||||
|
||||
This patch removes these tests.
|
||||
|
||||
Bug: https://rt.cpan.org/Ticket/Display.html?id=27574
|
||||
Bug: https://bugs.gentoo.org/625652
|
||||
|
||||
Signed-off-by: Petr Písař <ppisar@redhat.com>
|
||||
---
|
||||
t/01-readwrite.t | 3 +--
|
||||
t/02-encode.t | 3 +--
|
||||
2 files changed, 2 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/t/01-readwrite.t b/t/01-readwrite.t
|
||||
index 42a4416..208eba1 100644
|
||||
--- a/t/01-readwrite.t
|
||||
+++ b/t/01-readwrite.t
|
||||
@@ -1,5 +1,5 @@
|
||||
use strict;
|
||||
-use Test::More tests => 16;
|
||||
+use Test::More tests => 15;
|
||||
use Test::Exception;
|
||||
|
||||
use Convert::PEM;
|
||||
@@ -29,7 +29,6 @@ lives_ok { $pem->write( Filename => $objfile, Content => $obj, Password => 'xx'
|
||||
ok -e $objfile, 'output file exists';
|
||||
lives_ok { $obj2 = $pem->read( Filename => $objfile ) } 'can read';
|
||||
ok !defined $obj2, 'cannot read encrypted file';
|
||||
-like $pem->errstr, qr/^Decryption failed/, 'errstr matches decryption failed';
|
||||
lives_ok { $obj2 = $pem->read( Filename => $objfile, Password => 'xx') } 'can read';
|
||||
is $obj->{TestObject}{int}, $obj2->{TestObject}{int}, 'input matches output';
|
||||
unlink $objfile;
|
||||
diff --git a/t/02-encode.t b/t/02-encode.t
|
||||
index 37aa987..9c6ab4c 100644
|
||||
--- a/t/02-encode.t
|
||||
+++ b/t/02-encode.t
|
||||
@@ -1,5 +1,5 @@
|
||||
use strict;
|
||||
-use Test::More tests => 9;
|
||||
+use Test::More tests => 8;
|
||||
|
||||
use Convert::PEM;
|
||||
use Math::BigInt;
|
||||
@@ -25,7 +25,6 @@ $blob = $pem->encode( Content => $obj, Password => 'xx' );
|
||||
ok $blob, 'encode gave us something';
|
||||
$obj2 = $pem->decode( Content => $blob );
|
||||
ok !defined $obj2, 'decode fails on encrypted input';
|
||||
-like $pem->errstr, qr/^Decryption failed/, 'errstr matches decrypt failed';
|
||||
$obj2 = $pem->decode( Content => $blob, Password => 'xx' );
|
||||
is $obj->{TestObject}{int}, $obj2->{TestObject}{int}, 'input matches output';
|
||||
|
||||
--
|
||||
2.14.1
|
||||
|
@ -0,0 +1,29 @@
|
||||
From 831b57ff2167e1192964c190271767e469dac48a Mon Sep 17 00:00:00 2001
|
||||
From: Kent Fredric <kentnl@gentoo.org>
|
||||
Date: Tue, 3 Oct 2017 05:01:21 +1300
|
||||
Subject: Fix Test::Builder warning
|
||||
|
||||
Ideally upstream should just stop bundling Test::Builder, but this
|
||||
is the smallest change that avoids the issue
|
||||
|
||||
Bug: https://rt.cpan.org/Ticket/Display.html?id=111009
|
||||
---
|
||||
inc/Test/Builder.pm | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/inc/Test/Builder.pm b/inc/Test/Builder.pm
|
||||
index 795361f..6b0c8c3 100644
|
||||
--- a/inc/Test/Builder.pm
|
||||
+++ b/inc/Test/Builder.pm
|
||||
@@ -589,7 +589,7 @@ sub _is_dualvar {
|
||||
|
||||
no warnings 'numeric';
|
||||
my $numval = $val + 0;
|
||||
- return $numval != 0 and $numval ne $val ? 1 : 0;
|
||||
+ return ($numval != 0 and $numval ne $val ? 1 : 0);
|
||||
}
|
||||
|
||||
#line 876
|
||||
--
|
||||
2.14.1
|
||||
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=CHROMATIC
|
||||
DIST_VERSION=1.01
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Perl module implementing CipherSaber encryption"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/perl-Scalar-List-Utils-1.4.2
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-perl/Module-Build
|
||||
test? (
|
||||
>=virtual/perl-Test-Simple-0.600.0
|
||||
>=dev-perl/Test-Warn-0.300.0
|
||||
)
|
||||
"
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-newline-iv.patch"
|
||||
)
|
@ -0,0 +1,118 @@
|
||||
From 966c275a76fa33b57f41cb66a908362b526629a8 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
|
||||
Date: Wed, 27 Aug 2014 15:38:54 +0200
|
||||
Subject: Fix reading IV with new-lines from a file
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Decrypting filehandle data by fh_crypt() could produce bad decrypted
|
||||
data if the initizalization vector read from the filehandle contained
|
||||
a new-line character. This caused random failures of 'autogenerating
|
||||
and autoreading IV should also round-trip' test in t/fh_encrypt.t.
|
||||
|
||||
This patch fixes it by reading first 10 characters regardless of
|
||||
current line separator.
|
||||
|
||||
Bug: https://rt.cpan.org/Ticket/Display.html?id=28370
|
||||
Bug: https://bugs.gentoo.org/632253
|
||||
|
||||
Signed-off-by: Petr Písař <ppisar@redhat.com>
|
||||
---
|
||||
lib/Crypt/CipherSaber.pm | 14 +++++++++-----
|
||||
t/fh_encrypt.t | 40 +++++++++++++++++++++++++++++++++++++++-
|
||||
2 files changed, 48 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/lib/Crypt/CipherSaber.pm b/lib/Crypt/CipherSaber.pm
|
||||
index 7cb7cc0..2db153c 100644
|
||||
--- a/lib/Crypt/CipherSaber.pm
|
||||
+++ b/lib/Crypt/CipherSaber.pm
|
||||
@@ -67,6 +67,15 @@ sub fh_crypt
|
||||
$iv = $self->_gen_iv() if length($iv) == 1;
|
||||
$self->_setup_key($iv);
|
||||
print OUT $iv;
|
||||
+ } else {
|
||||
+ if ( 10 != $in->read($iv, 10) )
|
||||
+ {
|
||||
+ require Carp;
|
||||
+ Carp::carp( 'Could not read IV from input filehandle' );
|
||||
+ return;
|
||||
+ }
|
||||
+ ( $iv ) = unpack( "a10", $iv );
|
||||
+ $self->_setup_key($iv);
|
||||
}
|
||||
|
||||
my $state = $self->[1];
|
||||
@@ -75,11 +84,6 @@ sub fh_crypt
|
||||
|
||||
while (<$in>)
|
||||
{
|
||||
- unless ($iv)
|
||||
- {
|
||||
- ( $iv, $_ ) = unpack( "a10a*", $_ );
|
||||
- $self->_setup_key($iv);
|
||||
- }
|
||||
my $line;
|
||||
( $line, $state, @vars ) = _do_crypt( $state, $_, @vars );
|
||||
print OUT $line;
|
||||
diff --git a/t/fh_encrypt.t b/t/fh_encrypt.t
|
||||
index 35a74fb..e595ff9 100644
|
||||
--- a/t/fh_encrypt.t
|
||||
+++ b/t/fh_encrypt.t
|
||||
@@ -6,7 +6,7 @@ BEGIN
|
||||
}
|
||||
|
||||
use strict;
|
||||
-use Test::More tests => 6;
|
||||
+use Test::More tests => 7;
|
||||
use_ok( 'Crypt::CipherSaber' );
|
||||
|
||||
# tests the fh_crypt() method
|
||||
@@ -114,6 +114,44 @@ while (<SOURCE>)
|
||||
|
||||
ok( ! $status, 'autogenerating and autoreading IV should also round-trip' );
|
||||
|
||||
+# IV retrieved from encrypted file can contain new-line characters. Check that
|
||||
+# fh_encrypt can deal with it
|
||||
+{
|
||||
+ local $/ = "\012";
|
||||
+
|
||||
+ open( IN, 'smiles.png' ) or die "Cannot read smiles.png: $!";
|
||||
+ open( OUT, '> smiles_2.cs1' ) or die "Cannot write to smiles_2.cs1: $!";
|
||||
+ binmode( IN );
|
||||
+ binmode( OUT );
|
||||
+ $cs->fh_crypt( \*IN, \*OUT, $/ x 10 );
|
||||
+ close IN;
|
||||
+ close OUT;
|
||||
+
|
||||
+ open( IN, 'smiles_2.cs1' ) or die "Cannot read smiles_2.cs1: $!";
|
||||
+ open( OUT, '> smiles_2.png' ) or die "Cannot write to smiles_2.png $!";
|
||||
+ binmode( IN );
|
||||
+ binmode( OUT );
|
||||
+ $cs->fh_crypt( \*IN, \*OUT );
|
||||
+ close IN;
|
||||
+ close OUT;
|
||||
+
|
||||
+ open( SOURCE, 'smiles.png' ) or die "Cannot read smiles.png: $!";
|
||||
+ open( DEST, 'smiles_2.png' ) or die "Cannot read smiles_2.png: $!";
|
||||
+ binmode SOURCE;
|
||||
+ binmode DEST;
|
||||
+ $status = 0;
|
||||
+ while (<SOURCE>)
|
||||
+ {
|
||||
+ unless ($_ eq <DEST>)
|
||||
+ {
|
||||
+ $status = 1;
|
||||
+ last;
|
||||
+ }
|
||||
+ }
|
||||
+ ok( ! $status, 'IV with new-lines in the encrypted file' );
|
||||
+}
|
||||
+
|
||||
+
|
||||
END
|
||||
{
|
||||
1 while unlink qw( smiles_2.cs1 smiles_2.png outsmiles.cs1 outsmiles.png );
|
||||
--
|
||||
2.14.1
|
||||
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=RWSTAUNER
|
||||
DIST_VERSION=0.927
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Information about a perl module distribution"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/perl-Archive-Tar-1.0.0
|
||||
>=dev-perl/Archive-Zip-1.300.0
|
||||
>=dev-perl/CPAN-DistnameInfo-0.120.0
|
||||
>=virtual/perl-CPAN-Meta-2.100.0
|
||||
virtual/perl-Carp
|
||||
>=virtual/perl-Digest-1.30.0
|
||||
>=virtual/perl-Digest-MD5-2.0.0
|
||||
>=virtual/perl-Digest-SHA-5.0.0
|
||||
>=dev-perl/File-Spec-Native-1.2.0
|
||||
>=virtual/perl-File-Temp-0.190.0
|
||||
virtual/perl-Module-Metadata
|
||||
>=dev-perl/Path-Class-0.240.0
|
||||
virtual/perl-Scalar-List-Utils
|
||||
>=dev-perl/Try-Tiny-0.90.0
|
||||
virtual/perl-parent
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
test? (
|
||||
>=virtual/perl-CPAN-Meta-2.120.900
|
||||
virtual/perl-File-Spec
|
||||
virtual/perl-IO
|
||||
dev-perl/Test-Fatal
|
||||
>=dev-perl/Test-MockObject-1.90.0
|
||||
>=virtual/perl-Test-Simple-0.960.0
|
||||
)
|
||||
"
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue