Sync with portage [Sun Feb 5 00:13:01 MSK 2017].
This commit is contained in:
parent
5bc1f09e91
commit
93e0dba1bf
952 changed files with 5360 additions and 9426 deletions
|
@ -4,3 +4,5 @@ DIST puppet-agent_1.8.2-1xenial_amd64.deb 15179348 SHA256 5195af288ca014bcf65705
|
|||
DIST puppet-agent_1.8.2-1xenial_i386.deb 16609778 SHA256 48d4588ae8c87a3a3e41c5c4e6159cba7bf6484578ce0761b4abd76854f7bdad SHA512 b96e239906e75773a22c37a28c3c794b7293cab1a970ba5067064b120e12e0a6f0b620f06dfb3cc5b83e9140467fa552aa05ea46a33f3fb8b489ac7790cb7734 WHIRLPOOL 6daf05a7ae5e50ecb922ffa260101cc62e64267fd40ca6dd8d684ab1b3760eb45a4f797f9644b7fb351f70a86e88d5c88cd1cc5dd4d68341912846466ba72257
|
||||
DIST puppet-agent_1.8.3-1xenial_amd64.deb 15531434 SHA256 2a468846e4b31f07dce9bbbf96c3fe06a528512cbc37bedc7ab44715a6833e94 SHA512 11958f51b75e012484f332b49d66bba225fdc19634f3972dfe5117ce7971d187bd7bca36dff079cd898e48c3545d560f34ee57a3acb710427154875d9d99100a WHIRLPOOL 895050da0f52a1e977d58802dcc5e5db11c331d5ad30732b1ac80e799d8b3312034efa800e3489b789cc40e9c156a5fe66050264d01a33c4a85e489a647b6324
|
||||
DIST puppet-agent_1.8.3-1xenial_i386.deb 16564720 SHA256 c2d5a1fd91941031b375b59f85f323a38977cc526b33e73f93eae50ee036fd65 SHA512 bb617c351ba26d431a6f0d6aa150c8888ee822feb63ebb56557586547e8afc9d387c5af6a6c59e6a885bc6ab195c89b3ea9317de74440abe6df76870c3dca345 WHIRLPOOL cdfd414d9113add49f9b60d5efcd5f16ce0f71a1bb094a4e98c31486b8ff86b1f9dbe1b5da0724358aa78d8f75c3aed9c8247a62595cdde92eab74519b9d06ef
|
||||
DIST puppet-agent_1.9.0-1xenial_amd64.deb 15324700 SHA256 acdcdc314b39e404102b8e6d0a7d1fdeb5710efeb34f60c447afd95a17a230c4 SHA512 068e27aa59b7e60eb296a7d41435ae821559822f4e4136dae0af20445490a209baabfd0bbe5f91c8981091c999170c251310c5a6fdc0ffd9825f1d0ee7128e06 WHIRLPOOL b949befa1ad7f61877188828a90687f2a5957831af8a71723ab7424172d5df04b923f5241681a816f28382e3ac832fab2c7982c34f1f12db6f31ca9440f0ec2d
|
||||
DIST puppet-agent_1.9.0-1xenial_i386.deb 16775966 SHA256 c7c5303e411278d19eee798ab7ae68b51edc7256935e6637a58fbb8c035df6ed SHA512 00a29cf00840e8d75e5d858fe03a15338f21e9eead123a1bae5e2a8cca66e06a6bbdc4671a06a986ee8807851997459fc134c6ebb196674e6993fd12af5bbd47 WHIRLPOOL ebac057af1efeb692b6b56fe2a697a79ab45872639add7db903b24f176651e86dfc18651c25acef3b33682dda255562e357e0942b9121b232474dcf1f6617176
|
||||
|
|
106
app-admin/puppet-agent/puppet-agent-1.9.0.ebuild
Normal file
106
app-admin/puppet-agent/puppet-agent-1.9.0.ebuild
Normal file
|
@ -0,0 +1,106 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit eutils systemd unpacker user
|
||||
|
||||
DESCRIPTION="general puppet client utils along with mcollective hiera and facter"
|
||||
HOMEPAGE="https://puppetlabs.com/"
|
||||
SRC_BASE="http://apt.puppetlabs.com/pool/xenial/PC1/${PN:0:1}/${PN}/${PN}_${PV}-1xenial"
|
||||
SRC_URI="
|
||||
amd64? ( ${SRC_BASE}_amd64.deb )
|
||||
x86? ( ${SRC_BASE}_i386.deb )
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="puppetdb selinux"
|
||||
RESTRICT="strip"
|
||||
|
||||
CDEPEND="!app-admin/augeas
|
||||
!app-admin/mcollective
|
||||
!app-admin/puppet
|
||||
!dev-ruby/hiera
|
||||
!dev-ruby/facter
|
||||
!app-emulation/virt-what"
|
||||
|
||||
DEPEND="
|
||||
${CDEPEND}"
|
||||
RDEPEND="${CDEPEND}
|
||||
app-portage/eix
|
||||
sys-apps/dmidecode
|
||||
sys-libs/glibc
|
||||
>=sys-libs/readline-6.0
|
||||
<sys-libs/readline-7.0
|
||||
selinux? (
|
||||
sys-libs/libselinux[ruby]
|
||||
sec-policy/selinux-puppet
|
||||
)
|
||||
puppetdb? ( >=dev-ruby/puppetdb-termini-3.1.0 )"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
QA_PREBUILT="
|
||||
/opt/puppetlabs/puppet
|
||||
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/2.1.0/x86_64-linux/*
|
||||
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/mathn/*
|
||||
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/io/*
|
||||
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/dl/*
|
||||
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/racc/*
|
||||
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/enc/*
|
||||
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/json/ext/*
|
||||
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/rbconfig/*
|
||||
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/digest/*
|
||||
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/*
|
||||
/opt/puppetlabs/puppet/lib/engines/*
|
||||
/opt/puppetlabs/puppet/lib/virt-what/*
|
||||
/opt/puppetlabs/puppet/lib/*
|
||||
/opt/puppetlabs/puppet/bin/*"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup puppet
|
||||
enewuser puppet -1 -1 /var/run/puppet puppet
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# conf.d
|
||||
doconfd etc/default/puppet
|
||||
doconfd etc/default/mcollective
|
||||
doconfd etc/default/pxp-agent
|
||||
# logrotate.d
|
||||
insinto /etc/logrotate.d
|
||||
doins etc/logrotate.d/mcollective
|
||||
doins etc/logrotate.d/pxp-agent
|
||||
# puppet itself
|
||||
insinto /etc/puppetlabs
|
||||
doins -r etc/puppetlabs/*
|
||||
# logdir for systemd
|
||||
dodir var/log/puppetlabs/puppet/
|
||||
fperms 0750 var/log/puppetlabs/puppet/
|
||||
# the rest
|
||||
insinto /opt
|
||||
dodir opt/puppetlabs/puppet/cache
|
||||
doins -r opt/*
|
||||
fperms 0750 /opt/puppetlabs/puppet/cache
|
||||
# init
|
||||
newinitd "${FILESDIR}/puppet.initd" puppet
|
||||
newinitd "${FILESDIR}/mcollective.initd" mcollective
|
||||
systemd_dounit lib/systemd/system/puppet.service
|
||||
systemd_dounit lib/systemd/system/mcollective.service
|
||||
systemd_dounit lib/systemd/system/pxp-agent.service
|
||||
systemd_newtmpfilesd "${FILESDIR}/puppet-agent.conf.tmpfilesd" puppet-agent.conf
|
||||
# symlinks
|
||||
chmod 0755 -R "${D}/opt/puppetlabs/puppet/bin/"
|
||||
chmod 0755 "${D}//opt/puppetlabs/puppet/lib/virt-what/virt-what-cpuid-helper"
|
||||
dosym /opt/puppetlabs/bin/facter /usr/bin/facter
|
||||
dosym /opt/puppetlabs/bin/hiera /usr/bin/hiera
|
||||
dosym /opt/puppetlabs/bin/mco /usr/bin/mco
|
||||
dosym /opt/puppetlabs/bin/puppet /usr/bin/puppet
|
||||
dosym /opt/puppetlabs/puppet/bin/mcollectived /usr/sbin/mcollectived
|
||||
dosym /opt/puppetlabs/puppet/bin/virt-what /usr/bin/virt-what
|
||||
dosym /opt/puppetlabs/puppet/bin/augparse /usr/bin/augparse
|
||||
dosym /opt/puppetlabs/puppet/bin/augtool /usr/bin/augtool
|
||||
dosym /opt/puppetlabs/puppet/bin/extlookup2hiera /usr/bin/extlookup2hiera
|
||||
}
|
|
@ -2,3 +2,4 @@ DIST puppet-3.8.7.tar.gz 2650247 SHA256 50460a3dd8d25118e25eb01178d09743dabc01cd
|
|||
DIST puppet-4.4.2.tar.gz 2680253 SHA256 90ea74703b415965def15566a6d709fbd781a1e21589688c22d2f1bab4688860 SHA512 38c4e4e94693e8f3131aba44ad8b03437cd6896f8266e6f9d6434e355f044c87173034bbd336c33e5848692de60c5b4612141128a95a3d088947e72f90d13bc1 WHIRLPOOL c7d06954d1a9b46cc7f56e73da88dd3297179f1f7ede646601b6305940e200f29bf7047e494df3be12e76b0640673d616058055bc4887d3e296a5372daeab0fd
|
||||
DIST puppet-4.7.0.tar.gz 2822807 SHA256 9b5c00da165ba8570607097d5d494ecc8988829d9e066b0bd6103cf1fa903e4d SHA512 667b96c66f63befccc19cdd0e88d5c7b29feb2f3ba29f0faa74ac77b4e4f16e06a34b19114b27b36329a5964b37031e8c1430849c1673760a782d4e80b8df296 WHIRLPOOL 949cecc001179bfc81b589756718deb6a3b298ea314a9fb9eeb7d660ea9baa22f9f2c183b8992f70f95158db80a3a996075e36d365da845aef795b0ab897b9f8
|
||||
DIST puppet-4.8.1.tar.gz 2873371 SHA256 8b3ee6b60639e2a2839ad7403fab8f8ecc390a93e6e47b03f1b053aa262bcf17 SHA512 9ecde04c68874652b501e779764bb3227d226564e80f06c2c15bd982620529ec55f8e11911bcf68db994ee98287746761752538aa5aeee474ddf37f21976e2d1 WHIRLPOOL d3a4b0b4b15dceb75cb3f161b73843af53f5d21121ba1fb06fdae422ec458f62f5fa47d0f5c7bfb96e3e9b04eb62c4c1e1a97f7131101e4f6f4ff952127c0685
|
||||
DIST puppet-4.9.1.tar.gz 2912770 SHA256 db02cffb8339b349bd1ab2b15899511d3f5d449f0f591038256f0fb862f4c7db SHA512 db2bd324e4f58c583debe417ca233c613c296aa8824520c5373c8da45056ae9d09e54ceecba5c6b7d0250ea7228d6e1b83e5b690b1203de43dca8942c8f24ce2 WHIRLPOOL fd5554d5de319f8534fbada7ae6f4100d6de5a98f6646985e21c250a52a3d415ac31fc46c15c987bd7bcbc688bc8bb4d7dc9d37ebd93ecd183b3bd01d3426687
|
||||
|
|
175
app-admin/puppet/puppet-4.9.1.ebuild
Normal file
175
app-admin/puppet/puppet-4.9.1.ebuild
Normal file
|
@ -0,0 +1,175 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
USE_RUBY="ruby21"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||||
|
||||
inherit elisp-common xemacs-elisp-common eutils user ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="A system automation and configuration management software."
|
||||
HOMEPAGE="http://puppetlabs.com/"
|
||||
SRC_URI="http://downloads.puppetlabs.com/puppet/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~x86"
|
||||
IUSE="augeas diff doc emacs ldap rrdtool selinux shadow sqlite vim-syntax xemacs"
|
||||
RESTRICT="test"
|
||||
|
||||
ruby_add_rdepend "
|
||||
dev-ruby/hiera
|
||||
>=dev-ruby/rgen-0.6.5
|
||||
dev-ruby/json:=
|
||||
>=dev-ruby/facter-3.0.0
|
||||
augeas? ( dev-ruby/ruby-augeas )
|
||||
diff? ( dev-ruby/diff-lcs )
|
||||
doc? ( dev-ruby/rdoc )
|
||||
ldap? ( dev-ruby/ruby-ldap )
|
||||
shadow? ( dev-ruby/ruby-shadow )
|
||||
sqlite? ( dev-ruby/sqlite3 )
|
||||
virtual/ruby-ssl"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/mocha
|
||||
dev-ruby/rack
|
||||
dev-ruby/rspec-its
|
||||
)"
|
||||
# this should go in the above lists, but isn't because of test deps not being keyworded
|
||||
# dev-ruby/rspec-collection_matchers
|
||||
|
||||
DEPEND+=" ${DEPEND}
|
||||
emacs? ( virtual/emacs )
|
||||
xemacs? ( app-editors/xemacs )"
|
||||
RDEPEND+=" ${RDEPEND}
|
||||
rrdtool? ( >=net-analyzer/rrdtool-1.2.23[ruby] )
|
||||
selinux? (
|
||||
sys-libs/libselinux[ruby]
|
||||
sec-policy/selinux-puppet
|
||||
)
|
||||
vim-syntax? ( >=app-vim/puppet-syntax-3.0.1 )
|
||||
>=app-portage/eix-0.18.0"
|
||||
|
||||
SITEFILE="50${PN}-mode-gentoo.el"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup puppet
|
||||
enewuser puppet -1 -1 /var/lib/puppet puppet
|
||||
}
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Avoid spec that require unpackaged json-schema.
|
||||
rm spec/lib/matchers/json.rb $( grep -Rl matchers/json spec) || die
|
||||
|
||||
# can't be run within portage.
|
||||
epatch "${FILESDIR}/puppet-fix-tests-4.7.0.patch"
|
||||
|
||||
# Avoid specs that can only run in the puppet.git repository. This
|
||||
# should be narrowed down to the specific specs.
|
||||
rm spec/integration/parser/compiler_spec.rb || die
|
||||
|
||||
# Avoid failing spec that need further investigation.
|
||||
rm spec/unit/module_tool/metadata_spec.rb || die
|
||||
}
|
||||
|
||||
all_ruby_compile() {
|
||||
if use emacs ; then
|
||||
elisp-compile ext/emacs/puppet-mode.el
|
||||
fi
|
||||
|
||||
if use xemacs ; then
|
||||
# Create a separate version for xemacs to be able to install
|
||||
# emacs and xemacs in parallel.
|
||||
mkdir ext/xemacs
|
||||
cp ext/emacs/* ext/xemacs/
|
||||
xemacs-elisp-compile ext/xemacs/puppet-mode.el
|
||||
fi
|
||||
}
|
||||
|
||||
each_ruby_install() {
|
||||
each_fakegem_install
|
||||
# dosym "/usr/$(get_libdir)/ruby/gems/$(ruby_get_version)/gems/${P}" "/usr/$(get_libdir)/ruby/gems/$(ruby_get_version)/gems/${PN}"
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
# systemd stuffs
|
||||
insinto /usr/lib/systemd/system
|
||||
doins "${WORKDIR}/all/${P}/ext/systemd/puppet.service"
|
||||
|
||||
# tmpfiles stuff
|
||||
insinto /usr/lib/tmpfiles.d
|
||||
newins "${FILESDIR}/tmpfiles.d" "puppet.conf"
|
||||
|
||||
# openrc init stuff
|
||||
newinitd "${FILESDIR}"/puppet.init-4.x puppet
|
||||
newinitd "${FILESDIR}"/puppetmaster.init-4.x puppetmaster
|
||||
newconfd "${FILESDIR}"/puppetmaster.confd puppetmaster
|
||||
|
||||
keepdir /etc/puppetlabs/puppet/ssl
|
||||
|
||||
keepdir /var/lib/puppet/facts
|
||||
keepdir /var/lib/puppet/files
|
||||
fowners -R puppet:puppet /var/lib/puppet
|
||||
|
||||
fperms 0750 /var/lib/puppet
|
||||
|
||||
fperms 0750 /etc/puppetlabs
|
||||
fperms 0750 /etc/puppetlabs/puppet
|
||||
fperms 0750 /etc/puppetlabs/puppet/ssl
|
||||
fowners -R :puppet /etc/puppetlabs
|
||||
fowners -R :puppet /var/lib/puppet
|
||||
|
||||
if use emacs ; then
|
||||
elisp-install ${PN} ext/emacs/puppet-mode.el*
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
fi
|
||||
|
||||
if use xemacs ; then
|
||||
xemacs-elisp-install ${PN} ext/xemacs/puppet-mode.el*
|
||||
xemacs-elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
fi
|
||||
|
||||
if use ldap ; then
|
||||
insinto /etc/openldap/schema; doins ext/ldap/puppet.schema
|
||||
fi
|
||||
|
||||
# ext and examples files
|
||||
for f in $(find ext examples -type f) ; do
|
||||
docinto "$(dirname ${f})"; dodoc "${f}"
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "Please, *don't* include the --ask option in EMERGE_EXTRA_OPTS as this could"
|
||||
elog "cause puppet to hang while installing packages."
|
||||
elog
|
||||
elog "Portage Puppet module with Gentoo-specific resources:"
|
||||
elog "http://forge.puppetlabs.com/gentoo/portage"
|
||||
elog
|
||||
|
||||
if [ "$(get_major_version $REPLACING_VERSIONS)" = "3" ]; then
|
||||
elog
|
||||
elog "If you're upgrading from 3.x then please move everything in /etc/puppet to"
|
||||
elog "/etc/puppetlabs/puppet"
|
||||
elog "Also, puppet now uses config directories for modules and manifests."
|
||||
elog "See https://docs.puppetlabs.com/puppet/4.0/reference/upgrade_agent.html"
|
||||
elog "and https://docs.puppetlabs.com/puppet/4.0/reference/upgrade_server.html"
|
||||
elog "for more information."
|
||||
elog
|
||||
fi
|
||||
|
||||
use emacs && elisp-site-regen
|
||||
use xemacs && xemacs-elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
use xemacs && xemacs-elisp-site-regen
|
||||
}
|
|
@ -1,10 +1,10 @@
|
|||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=3
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Generate random passwords using the in-kernel cryptographically secure random number generator"
|
||||
DESCRIPTION="Generate random passwords using the in-kernel cryptographically"
|
||||
HOMEPAGE="https://www.kernel.org/pub/software/utils/admin/ranpwd/"
|
||||
SRC_URI="mirror://kernel/software/utils/admin/${PN}/${P}.tar.gz"
|
||||
|
||||
|
@ -25,5 +25,5 @@ src_test() {
|
|||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALLROOT="${D}" install || die
|
||||
emake INSTALLROOT="${D}" install
|
||||
}
|
||||
|
|
18
app-admin/setools/files/setools-4.1.0-remove-gui.patch
Normal file
18
app-admin/setools/files/setools-4.1.0-remove-gui.patch
Normal file
|
@ -0,0 +1,18 @@
|
|||
diff --git a/setup.py b/setup.py
|
||||
index 4e7645c..aa3895a 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -180,10 +180,10 @@ setup(name='setools',
|
||||
'build_lex': LexCommand,
|
||||
'build_ext': BuildExtCommand,
|
||||
'build_qhc': QtHelpCommand},
|
||||
- packages=['setools', 'setools.diff', 'setools.policyrep', 'setoolsgui', 'setoolsgui.apol'],
|
||||
- scripts=['apol', 'sediff', 'seinfo', 'seinfoflow', 'sesearch', 'sedta'],
|
||||
+ packages=['setools', 'setools.diff', 'setools.policyrep'],
|
||||
+ scripts=['sediff', 'seinfo', 'seinfoflow', 'sesearch', 'sedta'],
|
||||
data_files=[(join(sys.prefix, 'share/man/man1'), glob.glob("man/*.1"))],
|
||||
- package_data={'': ['*.ui', '*.qhc'], 'setools': ['perm_map']},
|
||||
+ package_data={'setools': ['perm_map']},
|
||||
ext_modules=ext_py_mods,
|
||||
test_suite='tests',
|
||||
license='GPLv2+, LGPLv2.1+',
|
|
@ -25,7 +25,6 @@ IUSE="X debug test"
|
|||
RDEPEND="${PYTHON_DEPS}
|
||||
>=sys-libs/libselinux-2.4:=[${PYTHON_USEDEP}]
|
||||
>=dev-python/networkx-1.8[${PYTHON_USEDEP}]
|
||||
app-arch/bzip2:=
|
||||
dev-libs/libpcre:=
|
||||
X? (
|
||||
dev-python/PyQt5[gui,widgets]
|
||||
|
@ -44,7 +43,7 @@ DEPEND="${RDEPEND}
|
|||
python_prepare_all() {
|
||||
sed -i "s/'-Werror', //" "${S}"/setup.py || die "failed to remove Werror"
|
||||
|
||||
use X || local PATCHES=( "${FILESDIR}"/setools-4.0.1-remove-gui.patch )
|
||||
use X || local PATCHES=( "${FILESDIR}"/setools-4.1.0-remove-gui.patch )
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
|
|
|
@ -25,7 +25,6 @@ IUSE="X debug test"
|
|||
RDEPEND="${PYTHON_DEPS}
|
||||
>=sys-libs/libselinux-2.4:=[${PYTHON_USEDEP}]
|
||||
>=dev-python/networkx-1.8[${PYTHON_USEDEP}]
|
||||
app-arch/bzip2:=
|
||||
dev-libs/libpcre:=
|
||||
X? (
|
||||
dev-python/PyQt5[gui,widgets]
|
||||
|
@ -44,7 +43,7 @@ DEPEND="${RDEPEND}
|
|||
python_prepare_all() {
|
||||
sed -i "s/'-Werror', //" "${S}"/setup.py || die "failed to remove Werror"
|
||||
|
||||
use X || local PATCHES=( "${FILESDIR}"/setools-4.0.1-remove-gui.patch )
|
||||
use X || local PATCHES=( "${FILESDIR}"/setools-4.1.0-remove-gui.patch )
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ SRC_URI="mirror://debian/pool/main/d/${PN}/${P/-/_}.tar.xz"
|
|||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-solaris ~x86-solaris"
|
||||
KEYWORDS="~alpha ~amd64 ~arm hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE="+bzip2 +lzma nls selinux test unicode +update-alternatives +zlib"
|
||||
|
||||
RDEPEND="
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
EAPI=6
|
||||
|
||||
inherit multilib eutils versionator toolchain-funcs udev autotools-utils
|
||||
inherit autotools versionator toolchain-funcs udev
|
||||
|
||||
MY_P=ACR38_LINUX_$(get_version_component_range 1)00$(get_version_component_range 2)$(get_version_component_range 3)_P
|
||||
|
||||
|
@ -33,11 +33,18 @@ S=${WORKDIR}/${MY_P}
|
|||
|
||||
IUSE=""
|
||||
|
||||
AUTOTOOLS_AUTORECONF=yes
|
||||
PATCHES=( "${FILESDIR}"/${P}-build.patch )
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-build.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-utils_src_install
|
||||
default
|
||||
prune_libtool_files --modules
|
||||
|
||||
# note: for eudev support this pkg may always need to install rules to /usr
|
||||
udev_newrules "${FILESDIR}"/${PV}-bis.rules 92-pcscd-acr38u.rules
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="ASEDriveIIIe USB Card Reader"
|
||||
HOMEPAGE="http://www.athena-scs.com"
|
||||
SRC_URI="http://www.athena-scs.com/downloads/${P}.tar.bz2"
|
||||
|
@ -10,16 +12,10 @@ SLOT="0"
|
|||
IUSE=""
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
RDEPEND=">=sys-apps/pcsc-lite-1.3.0
|
||||
=virtual/libusb-0*"
|
||||
virtual/libusb:0"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
|
||||
dodoc ChangeLog README
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "NOTICE:"
|
||||
elog "You should restart pcscd."
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
EAPI="6"
|
||||
|
||||
inherit eutils udev
|
||||
inherit udev
|
||||
|
||||
DESCRIPTION="ASEKey USB SIM Card Reader"
|
||||
HOMEPAGE="http://www.athena-scs.com/"
|
||||
|
@ -21,16 +21,15 @@ RDEPEND="${RDEPEND}
|
|||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-bundle.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-bundle.patch"
|
||||
default
|
||||
sed -i -e 's/GROUP="pcscd"/ENV{PCSCD}="1"/' "92_pcscd_${PN}.rules" || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf --with-udev-rules-dir="$(get_udevdir)/rules.d"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dodoc ChangeLog README
|
||||
}
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
EAPI="6"
|
||||
|
||||
inherit eutils versionator
|
||||
|
||||
|
@ -21,12 +21,12 @@ KEYWORDS="~amd64 ~arm ~ppc ~x86"
|
|||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.9.7-fix_warnings.patch"
|
||||
"${FILESDIR}/${PN}-1.9.8-fix-flags.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-1.9.7-fix_warnings.patch \
|
||||
"${FILESDIR}"/${PN}-1.9.8-fix-flags.patch
|
||||
}
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
src_test() {
|
||||
echo "abc123" >> testfile
|
||||
|
@ -37,13 +37,11 @@ src_test() {
|
|||
src_install() {
|
||||
default
|
||||
|
||||
if use doc ; then
|
||||
dohtml -r ../bcwipe-help
|
||||
fi
|
||||
use doc && dodoc -r ../bcwipe-help
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "The BestCrypt drivers are not free - Please purchace a license from "
|
||||
ewarn "http://www.jetico.com/"
|
||||
ewarn "full details /usr/share/doc/${PF}/html/bcwipe-help/wu_licen.htm"
|
||||
ewarn "full details /usr/share/doc/${PF}/bcwipe-help/wu_licen.htm"
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- schemes.c
|
||||
+++ schemes.c
|
||||
--- a/schemes.c
|
||||
+++ b/schemes.c
|
||||
@@ -15,6 +15,7 @@
|
||||
*
|
||||
*******************************************************************/
|
||||
|
@ -8,8 +8,8 @@
|
|||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
--- wipe.c
|
||||
+++ wipe.c
|
||||
--- a/wipe.c
|
||||
+++ b/wipe.c
|
||||
@@ -42,6 +42,7 @@
|
||||
#include <sys/ioctl.h>
|
||||
#include <signal.h>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- Makefile.in 2011-02-23 01:07:29.841894634 +0100
|
||||
+++ Makefile.in 2011-02-23 01:07:46.626793943 +0100
|
||||
--- a/Makefile.in 2011-02-23 01:07:29.841894634 +0100
|
||||
+++ b/Makefile.in 2011-02-23 01:07:46.626793943 +0100
|
||||
@@ -174,7 +174,7 @@
|
||||
bcwipe_SOURCES = wipe.c wipe.h options.c options.h schemes.c schemes.h sha1.c sha1.h sha1random.c sha1random.h log.c log.h standard.h rand.h rand.c prng.c
|
||||
man_MANS = bcwipe.1
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
EAPI="6"
|
||||
|
||||
inherit eutils linux-mod toolchain-funcs versionator
|
||||
|
||||
|
@ -22,6 +22,14 @@ RDEPEND=""
|
|||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
DOCS=(
|
||||
HIDDEN_PART README
|
||||
)
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-2.0.6-build.patch"
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
CONFIG_CHECK="MODULES"
|
||||
linux-mod_pkg_setup
|
||||
|
@ -41,10 +49,6 @@ pkg_setup() {
|
|||
BC_KERNEL_DIR=\"${KERNEL_DIR}\""
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-2.0.6-build.patch"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
MAKEOPTS="-j1" linux-mod_src_compile \
|
||||
CXX="$(tc-getCXX)"
|
||||
|
@ -63,7 +67,6 @@ src_install() {
|
|||
|
||||
newinitd "${FILESDIR}/bcrypt3" bcrypt
|
||||
sed -e '/\(bc_rc6\|bc_serpent\|bc_twofish\)/d' -i "${D}etc/init.d/bcrypt"
|
||||
dodoc HIDDEN_PART README
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit autotools flag-o-matic eutils toolchain-funcs
|
||||
EAPI=6
|
||||
inherit autotools flag-o-matic
|
||||
|
||||
DESCRIPTION="embed secure hashes (SHA1) and digital signatures (GNU Privacy Guard) into files"
|
||||
HOMEPAGE="http://packages.debian.org/sid/bsign"
|
||||
|
@ -14,10 +14,15 @@ SLOT="0"
|
|||
KEYWORDS="~amd64 ~ppc ~ppc-macos ~x86 ~x86-linux"
|
||||
IUSE="static-libs"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-non-gnu.patch # for Darwin, BSD, Solaris, etc.
|
||||
"${FILESDIR}"/${P}-build.patch
|
||||
"${FILESDIR}"/${P}-scripts.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-non-gnu.patch # for Darwin, BSD, Solaris, etc.
|
||||
epatch "${FILESDIR}"/${P}-build.patch
|
||||
epatch "${FILESDIR}"/${P}-scripts.patch
|
||||
default
|
||||
mv configure.in configure.ac
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
|
@ -27,8 +32,8 @@ src_configure() {
|
|||
}
|
||||
|
||||
src_install() {
|
||||
einstalldocs
|
||||
dobin bsign_sign bsign_verify bsign_hash bsign_check
|
||||
newbin o/bsign-unstripped bsign
|
||||
doman bsign.1
|
||||
dodoc README
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- Makefile.in
|
||||
+++ Makefile.in
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -62,7 +62,7 @@
|
||||
#LFLAGS=-g @LDFLAGS@ @LIBS@
|
||||
#LFLAGS=-pg ${LFLAGS}
|
||||
|
@ -14,12 +14,12 @@
|
|||
|
||||
.version: .version_major .version_minor .version_patch
|
||||
- @/bin/echo -n `cat .version_major`.`cat .version_minor`.`cat \
|
||||
+ @echo -n `cat .version_major`.`cat .version_minor`.`cat \
|
||||
+ @printf "%s" `cat .version_major`.`cat .version_minor`.`cat \
|
||||
.version_patch` > .version
|
||||
|
||||
_version.h: .version
|
||||
- @/bin/echo -e \#define SZ_VERSION \"`cat .version`\" > _version.h
|
||||
+ @echo -e \#define SZ_VERSION \"`cat .version`\" > _version.h
|
||||
+ @echo "#define SZ_VERSION \"`cat .version`\"" > _version.h
|
||||
|
||||
.PHONY: transmit
|
||||
transmit: # distribution-archive
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
EAPI=6
|
||||
|
||||
inherit eutils
|
||||
|
||||
|
@ -17,8 +17,7 @@ IUSE="libressl"
|
|||
|
||||
RDEPEND=">=x11-libs/gtk+-2.12:2
|
||||
sys-apps/pcsc-lite
|
||||
=dev-lang/lua-5.1*
|
||||
dev-libs/openssl
|
||||
dev-lang/lua:0
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )"
|
||||
|
||||
|
|
|
@ -1,10 +1,8 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Tool to read the contents of smartcards"
|
||||
HOMEPAGE="http://pannetrat.com/Cardpeek"
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
EAPI=6
|
||||
|
||||
STUPID_NUM="4205"
|
||||
|
||||
inherit eutils toolchain-funcs udev autotools-utils
|
||||
inherit eutils toolchain-funcs udev
|
||||
|
||||
DESCRIPTION="CCID free software driver"
|
||||
HOMEPAGE="http://pcsclite.alioth.debian.org/ccid.html"
|
||||
|
@ -25,25 +25,22 @@ DEPEND="${RDEPEND}
|
|||
DOCS=( README AUTHORS )
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
LEX=:
|
||||
$(use_enable twinserial)
|
||||
econf \
|
||||
LEX=: \
|
||||
$(use_enable twinserial) \
|
||||
$(use_enable usb libusb)
|
||||
)
|
||||
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
autotools-utils_src_compile
|
||||
use kobil-midentity && autotools-utils_src_compile contrib/Kobil_mIDentity_switch
|
||||
default
|
||||
use kobil-midentity && emake -C contrib/Kobil_mIDentity_switch
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-utils_src_install
|
||||
default
|
||||
|
||||
if use kobil-midentity; then
|
||||
dosbin "${BUILD_DIR}"/contrib/Kobil_mIDentity_switch/Kobil_mIDentity_switch
|
||||
dosbin contrib/Kobil_mIDentity_switch/Kobil_mIDentity_switch
|
||||
doman contrib/Kobil_mIDentity_switch/Kobil_mIDentity_switch.8
|
||||
fi
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="3"
|
||||
EAPI="6"
|
||||
|
||||
DESCRIPTION="Encryption and decryption"
|
||||
HOMEPAGE="http://ccrypt.sourceforge.net"
|
||||
|
@ -12,10 +12,6 @@ SLOT="0"
|
|||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
src_install () {
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
htmldir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
install || die "emake install failed"
|
||||
dodoc AUTHORS ChangeLog NEWS README
|
||||
}
|
||||
DOCS=(
|
||||
AUTHORS ChangeLog NEWS README
|
||||
)
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
EAPI=6
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
|
@ -21,7 +21,12 @@ DEPEND="${RDEPEND}
|
|||
app-arch/unzip
|
||||
static? ( dev-libs/openssl:0[static-libs] )"
|
||||
|
||||
DOCS=(
|
||||
HISTORY.txt README.txt regedit.txt WinReg.txt
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e '/-o/s:$(CC):$(CC) $(LDFLAGS):' Makefile || die
|
||||
|
||||
if ! use static ; then
|
||||
|
@ -39,11 +44,10 @@ src_compile() {
|
|||
}
|
||||
|
||||
src_install() {
|
||||
einstalldocs
|
||||
dobin chntpw cpnt reged
|
||||
|
||||
if use static; then
|
||||
dobin {chntpw,reged}.static
|
||||
fi
|
||||
|
||||
dodoc {HISTORY,README,regedit,WinReg}.txt
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
EAPI=6
|
||||
|
||||
inherit autotools eutils
|
||||
|
||||
|
@ -19,8 +19,27 @@ RDEPEND="sci-libs/gsl"
|
|||
DEPEND="${RDEPEND}
|
||||
doc? ( dev-tex/latex2html )"
|
||||
|
||||
DOCS=(
|
||||
NOTES
|
||||
)
|
||||
HTML_DOCS=()
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-build.patch"
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
use doc && DOCS+=(
|
||||
ChangeLog
|
||||
manual/dieharder.pdf manual/dieharder.ps
|
||||
)
|
||||
use doc && HTML_DOCS+=(
|
||||
dieharder.html
|
||||
)
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-build.patch"
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
|
@ -31,15 +50,9 @@ src_compile() {
|
|||
|
||||
src_install() {
|
||||
default
|
||||
dodoc NOTES
|
||||
|
||||
docinto "dieharder"
|
||||
dodoc dieharder/README dieharder/NOTES
|
||||
docinto "libdieharder"
|
||||
dodoc libdieharder/README libdieharder/NOTES
|
||||
|
||||
if use doc ; then
|
||||
dodoc ChangeLog dieharder.html
|
||||
docinto "manual"
|
||||
dodoc manual/dieharder.pdf manual/dieharder.ps
|
||||
fi
|
||||
}
|
||||
|
|
|
@ -1,4 +1 @@
|
|||
DIST eid-mw-4.1.18-v4.1.18.tar.gz 3480541 SHA256 abc9d3194008f05b2589ddd9a29c45d22d89716bdc8689fcec42b2aa8450ddbf SHA512 18825a06007f7c07609cee034896ebf64b589200e04b72fece2bd65004a738c01cf64475d59f2c94b7242aa1adfc433bf4af6cf8b5d809746f3e9357ac27b98c WHIRLPOOL 584817aff81a1e0b1af24e5b259fa7e40b5a43b27be701242430cdc480d8ba57205faeba6fb787f1321e02916e6f3efa722e01609151fa3798b8e37b13cb159e
|
||||
DIST eid-mw-4.1.4-v4.1.4.tar.gz 3475913 SHA256 2996960ea92504c7cee1953ccf4520ba78979c7771645e2b2c1207f94be0a308 SHA512 efcc4dbd0fa383896df9f5a7492b18beb5259cfa368a919ae18bd996e5976a67d0570c0fbccd5ab38ea95c31f48b92c145c526aa59866217a418a80a550d502f WHIRLPOOL 11e35b3649a0c3bd40e4c901ba4d922305dc2b4098018bd018ee71b963b08898e6295e4f71cb7180b0fc8e64d1afe01ce49bcaa36a60c065c2de84b81d19e398
|
||||
DIST eid-mw-4.1.9-v4.1.9.tar.gz 3475708 SHA256 0c46c73b805884dd4ae739eb6025c137c1055ad119eac1ab37cb83eb32d92953 SHA512 bc61b3f212bfedf6f47f2841bc6c9b1198be5e3c7b382e3e28635c9e6f5c4ed8ccb118b105f668969fba31e49750cb1c5b129cd5b67a2725af122a8eae491b1c WHIRLPOOL 06b1f9780e984ac6c562bacab03936cd759ea1fce45687f09ae314d4fa77edce02c7ba4db5a9bc3fd739392f8b7b182b19b2734c1d21d63f6995c3cd572695d9
|
||||
DIST eid-mw-4.2.0.tar.gz 8508064 SHA256 4d86f4750f973a8dcf700544b92ffc3069a85ff93086538b9f334d76dd5c9747 SHA512 c0785e25c8b3640d0b60110553a520df3c3c5a0774f4f3fba6a4d9329c0d6e6187b0837d8c254a3959ffa798dc6299399e6cb8edfc7a20dabca080b61f532a5f WHIRLPOOL b1dee0c0a1800b81a7f392bc0e13d070a1cbc7fa6eb2f26e9c50903e058f322ff0b2da69469f90bd38240f49520be29bb548ca6954bc052ef5b23bdb4cad2643
|
||||
|
|
|
@ -1,83 +0,0 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils autotools mozextension multilib
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="git://github.com/Fedict/${PN}.git
|
||||
https://github.com/Fedict/${PN}.git"
|
||||
inherit git-2
|
||||
SRC_URI=""
|
||||
else
|
||||
MY_P="${P}-v${PV}"
|
||||
SRC_URI="https://downloads.services.belgium.be/eid/${MY_P}.tar.gz"
|
||||
KEYWORDS="~x86 ~amd64 ~arm"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
fi
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="LGPL-3"
|
||||
DESCRIPTION="Electronic Identity Card middleware supplied by the Belgian Federal Government"
|
||||
|
||||
HOMEPAGE="http://eid.belgium.be"
|
||||
|
||||
IUSE="+gtk +xpi +dialogs"
|
||||
|
||||
REQUIRED_USE="
|
||||
dialogs? ( gtk )"
|
||||
|
||||
RDEPEND="gtk? ( x11-libs/gtk+:= )
|
||||
>=sys-apps/pcsc-lite-1.2.9
|
||||
xpi? ( || ( >=www-client/firefox-bin-3.6.24
|
||||
>=www-client/firefox-3.6.20 ) )
|
||||
!app-misc/beid-runtime"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
use gtk || epatch "${FILESDIR}"/gtk_not_required_4.1.4.patch
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
# Only in current git. Hopefully, in next release.
|
||||
sed -i -e 's:/beid/rsaref220:/rsaref220:' configure.ac || die
|
||||
sed -i -e 's:/beid::' cardcomm/pkcs11/src/libbeidpkcs11.pc.in || die
|
||||
fi
|
||||
|
||||
if [[ ${PV} == "9999" ]] || ! use gtk ; then
|
||||
eautoreconf
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable dialogs) \
|
||||
--with-gnu-ld \
|
||||
--disable-static \
|
||||
--disable-signed
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
if [[ ${PV} != "9999" ]] ; then
|
||||
# Automatically done in current git. Hopefully, in next release.
|
||||
rm doc/sdk/include/rsaref220/win32.h || die
|
||||
doheader -r doc/sdk/include/*
|
||||
fi
|
||||
if use xpi; then
|
||||
declare MOZILLA_FIVE_HOME
|
||||
if has_version '>=www-client/firefox-3.6.20'; then
|
||||
MOZILLA_FIVE_HOME="/usr/$(get_libdir)/firefox"
|
||||
xpi_install "${D}/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/belgiumeid@eid.belgium.be"
|
||||
fi
|
||||
if has_version '>=www-client/firefox-bin-3.6.24'; then
|
||||
MOZILLA_FIVE_HOME="/opt/firefox"
|
||||
xpi_install "${D}/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/belgiumeid@eid.belgium.be"
|
||||
fi
|
||||
fi
|
||||
rm -r "${D}/usr/share" "${D}"/usr/lib*/*.la || die
|
||||
}
|
|
@ -1,79 +0,0 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils autotools mozextension multilib
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="git://github.com/Fedict/${PN}.git
|
||||
https://github.com/Fedict/${PN}.git"
|
||||
inherit git-2
|
||||
SRC_URI=""
|
||||
else
|
||||
MY_P="${P}-v${PV}"
|
||||
SRC_URI="http://eid.belgium.be/en/binaries/${MY_P}.tar_tcm406-270730.gz -> ${MY_P}.tar.gz"
|
||||
KEYWORDS="~x86 ~amd64 ~arm"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
fi
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="LGPL-3"
|
||||
DESCRIPTION="Electronic Identity Card middleware supplied by the Belgian Federal Government"
|
||||
|
||||
HOMEPAGE="http://eid.belgium.be"
|
||||
|
||||
IUSE="+gtk +xpi +dialogs"
|
||||
|
||||
REQUIRED_USE="
|
||||
dialogs? ( gtk )"
|
||||
|
||||
RDEPEND="gtk? ( x11-libs/gtk+:= )
|
||||
>=sys-apps/pcsc-lite-1.2.9
|
||||
xpi? ( || ( >=www-client/firefox-bin-3.6.24
|
||||
>=www-client/firefox-3.6.20 ) )
|
||||
!app-misc/beid-runtime"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
use gtk || epatch "${FILESDIR}"/gtk_not_required_${PV}.patch
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
# Only in current git. Hopefully, in next release.
|
||||
sed -i -e 's:/beid/rsaref220:/rsaref220:' configure.ac || die
|
||||
sed -i -e 's:/beid::' cardcomm/pkcs11/src/libbeidpkcs11.pc.in || die
|
||||
fi
|
||||
|
||||
if [[ ${PV} == "9999" ]] || ! use gtk ; then
|
||||
eautoreconf
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable dialogs) --disable-static
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
if [[ ${PV} != "9999" ]] ; then
|
||||
# Automatically done in current git. Hopefully, in next release.
|
||||
rm doc/sdk/include/rsaref220/win32.h || die
|
||||
doheader -r doc/sdk/include/*
|
||||
fi
|
||||
if use xpi; then
|
||||
declare MOZILLA_FIVE_HOME
|
||||
if has_version '>=www-client/firefox-3.6.20'; then
|
||||
MOZILLA_FIVE_HOME="/usr/$(get_libdir)/firefox"
|
||||
xpi_install "${D}/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/belgiumeid@eid.belgium.be"
|
||||
fi
|
||||
if has_version '>=www-client/firefox-bin-3.6.24'; then
|
||||
MOZILLA_FIVE_HOME="/opt/firefox"
|
||||
xpi_install "${D}/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/belgiumeid@eid.belgium.be"
|
||||
fi
|
||||
fi
|
||||
rm -r "${D}/usr/share" "${D}"/usr/lib*/*.la || die
|
||||
}
|
|
@ -1,79 +0,0 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils autotools mozextension multilib
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="git://github.com/Fedict/${PN}.git
|
||||
https://github.com/Fedict/${PN}.git"
|
||||
inherit git-2
|
||||
SRC_URI=""
|
||||
else
|
||||
MY_P="${P}-v${PV}"
|
||||
SRC_URI="https://downloads.services.belgium.be/eid/${MY_P}.tar.gz"
|
||||
KEYWORDS="~x86 ~amd64 ~arm"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
fi
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="LGPL-3"
|
||||
DESCRIPTION="Electronic Identity Card middleware supplied by the Belgian Federal Government"
|
||||
|
||||
HOMEPAGE="http://eid.belgium.be"
|
||||
|
||||
IUSE="+gtk +xpi +dialogs"
|
||||
|
||||
REQUIRED_USE="
|
||||
dialogs? ( gtk )"
|
||||
|
||||
RDEPEND="gtk? ( x11-libs/gtk+:= )
|
||||
>=sys-apps/pcsc-lite-1.2.9
|
||||
xpi? ( || ( >=www-client/firefox-bin-3.6.24
|
||||
>=www-client/firefox-3.6.20 ) )
|
||||
!app-misc/beid-runtime"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
use gtk || epatch "${FILESDIR}"/gtk_not_required_4.1.4.patch
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
# Only in current git. Hopefully, in next release.
|
||||
sed -i -e 's:/beid/rsaref220:/rsaref220:' configure.ac || die
|
||||
sed -i -e 's:/beid::' cardcomm/pkcs11/src/libbeidpkcs11.pc.in || die
|
||||
fi
|
||||
|
||||
if [[ ${PV} == "9999" ]] || ! use gtk ; then
|
||||
eautoreconf
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable dialogs) --disable-static
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
if [[ ${PV} != "9999" ]] ; then
|
||||
# Automatically done in current git. Hopefully, in next release.
|
||||
rm doc/sdk/include/rsaref220/win32.h || die
|
||||
doheader -r doc/sdk/include/*
|
||||
fi
|
||||
if use xpi; then
|
||||
declare MOZILLA_FIVE_HOME
|
||||
if has_version '>=www-client/firefox-3.6.20'; then
|
||||
MOZILLA_FIVE_HOME="/usr/$(get_libdir)/firefox"
|
||||
xpi_install "${D}/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/belgiumeid@eid.belgium.be"
|
||||
fi
|
||||
if has_version '>=www-client/firefox-bin-3.6.24'; then
|
||||
MOZILLA_FIVE_HOME="/opt/firefox"
|
||||
xpi_install "${D}/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/belgiumeid@eid.belgium.be"
|
||||
fi
|
||||
fi
|
||||
rm -r "${D}/usr/share" "${D}"/usr/lib*/*.la || die
|
||||
}
|
|
@ -1,60 +0,0 @@
|
|||
diff -ur eid-mw-4.1.4-v4.1.4-a/cardcomm/pkcs11/src/Makefile.am eid-mw-4.1.4-v4.1.4-b/cardcomm/pkcs11/src/Makefile.am
|
||||
--- eid-mw-4.1.4-v4.1.4-a/cardcomm/pkcs11/src/Makefile.am 2015-07-27 10:30:34.638418958 +0200
|
||||
+++ eid-mw-4.1.4-v4.1.4-b/cardcomm/pkcs11/src/Makefile.am 2015-08-13 14:12:43.827586821 +0200
|
||||
@@ -164,29 +164,3 @@
|
||||
dialogs/dialogsgtk/dlgs_gtk.cpp \
|
||||
dialogs/dialogsgtk/single_dialog.c
|
||||
endif
|
||||
-
|
||||
-libexec_PROGRAMS = beid-askpin beid-changepin beid-badpin beid-askaccess beid-spr-askpin beid-spr-changepin
|
||||
-
|
||||
-beid_askpin_SOURCES = dialogs/dialogsgtk/parent.c dialogs/dialogsgtk/beid-askpin.c
|
||||
-beid_askpin_CPPFLAGS = -I$(srcdir)/dialogsgtk -I$(srcdir)/../common/src -I$(srcdir)/src @GTK_CFLAGS@
|
||||
-beid_askpin_LDADD = @GTK_LIBS@
|
||||
-
|
||||
-beid_changepin_SOURCES = dialogs/dialogsgtk/parent.c dialogs/dialogsgtk/beid-changepin.c
|
||||
-beid_changepin_CPPFLAGS = -I$(dialogsdir)/dialogsgtk -I$(dialogsdir)/../common/dialogs -I$(dialogsdir)/dialogs @GTK_CFLAGS@
|
||||
-beid_changepin_LDADD = @GTK_LIBS@
|
||||
-
|
||||
-beid_badpin_SOURCES = dialogs/dialogsgtk/parent.c dialogs/dialogsgtk/beid-badpin.c
|
||||
-beid_badpin_CPPFLAGS = -I$(dialogsdir)/dialogsgtk -I$(dialogsdir)/../common/dialogs -I$(dialogsdir)/dialogs @GTK_CFLAGS@
|
||||
-beid_badpin_LDADD = @GTK_LIBS@
|
||||
-
|
||||
-beid_askaccess_SOURCES = dialogs/dialogsgtk/parent.c dialogs/dialogsgtk/beid-askaccess.c
|
||||
-beid_askaccess_CPPFLAGS = -I$(dialogsdir)/dialogsgtk -I$(dialogsdir)/../common/dialogs -I$(dialogsdir)/dialogs @GTK_CFLAGS@
|
||||
-beid_askaccess_LDADD = @GTK_LIBS@
|
||||
-
|
||||
-beid_spr_askpin_SOURCES = dialogs/dialogsgtk/parent.c dialogs/dialogsgtk/beid-spr-askpin.c
|
||||
-beid_spr_askpin_CPPFLAGS = -I$(dialogsdir)/dialogsgtk -I$(dialogsdir)/../common/dialogs -I$(dialogsdir)/dialogs @GTK_CFLAGS@
|
||||
-beid_spr_askpin_LDADD = @GTK_LIBS@
|
||||
-
|
||||
-beid_spr_changepin_SOURCES = dialogs/dialogsgtk/parent.c dialogs/dialogsgtk/beid-spr-changepin.c
|
||||
-beid_spr_changepin_CPPFLAGS = -I$(dialogsdir)/dialogsgtk -I$(dialogsdir)/../common/dialogs -I$(dialogsdir)/dialogs @GTK_CFLAGS@
|
||||
-beid_spr_changepin_LDADD = @GTK_LIBS@
|
||||
diff -ur eid-mw-4.1.4-v4.1.4-a/configure.ac eid-mw-4.1.4-v4.1.4-b/configure.ac
|
||||
--- eid-mw-4.1.4-v4.1.4-a/configure.ac 2015-07-27 10:30:34.641752294 +0200
|
||||
+++ eid-mw-4.1.4-v4.1.4-b/configure.ac 2015-08-13 14:13:51.456736608 +0200
|
||||
@@ -55,11 +55,6 @@
|
||||
fi
|
||||
fi
|
||||
|
||||
-if test x"$have_gtk" = "xno"
|
||||
-then
|
||||
- AC_MSG_ERROR([At least one version of GTK is required.])
|
||||
-fi
|
||||
-
|
||||
###########################################################################
|
||||
####### read user-specific requests from --enable directives ######
|
||||
###########################################################################
|
||||
diff -ur eid-mw-4.1.4-v4.1.4-a/Makefile.am eid-mw-4.1.4-v4.1.4-b/Makefile.am
|
||||
--- eid-mw-4.1.4-v4.1.4-a/Makefile.am 2015-07-27 10:30:34.638418958 +0200
|
||||
+++ eid-mw-4.1.4-v4.1.4-b/Makefile.am 2015-08-13 14:11:43.878340486 +0200
|
||||
@@ -1,7 +1,7 @@
|
||||
ACLOCAL_AMFLAGS = -I scripts/m4
|
||||
EXTRA_DIST = scripts/build-aux/config.rpath debian build-debian.sh rpm doc
|
||||
|
||||
-SUBDIRS=cardcomm/pkcs11/src tests/unit plugins_tools/xpi plugins_tools/aboutmw/gtk
|
||||
+SUBDIRS=cardcomm/pkcs11/src tests/unit plugins_tools/xpi
|
||||
|
||||
xpipackage:
|
||||
$(MAKE) -C plugins_tools/xpi xpipackage
|
|
@ -1,27 +0,0 @@
|
|||
--- eid-mw-4.1.18-v4.1.18-a/plugins_tools/xpi/src/Makefile.in 2016-05-20 12:58:46.184002742 +0200
|
||||
+++ eid-mw-4.1.18-v4.1.18-b/plugins_tools/xpi/src/Makefile.in 2016-06-18 16:18:57.467199895 +0200
|
||||
@@ -724,24 +724,6 @@
|
||||
@SIGNED_TRUE@ cp $(srcdir)/belgiumeid-1.0.18.1-signed.1-signed.xpi $(XPI_ID).xpi
|
||||
|
||||
@SIGNED_FALSE@xpipackage: $(xpi_files)
|
||||
-# Create a temporary directory $tmp in $TMPDIR (default /tmp).
|
||||
-# Use mktemp if possible; otherwise fall back on mkdir,
|
||||
-# with $RANDOM to make collisions less likely.
|
||||
-@SIGNED_FALSE@ { \
|
||||
-@SIGNED_FALSE@ tmp=` \
|
||||
-@SIGNED_FALSE@ (umask 077 && mktemp -t -d "xpiXXXXXX") 2>/dev/null \
|
||||
-@SIGNED_FALSE@ ` && \
|
||||
-@SIGNED_FALSE@ test -n "$$tmp" && test -d "$$tmp"; \
|
||||
-@SIGNED_FALSE@ } || { \
|
||||
-@SIGNED_FALSE@ tmp=$$TMPDIR/xpi$$RANDOM; \
|
||||
-@SIGNED_FALSE@ umask 077 && $(mkinstalldirs) "$$tmp"; \
|
||||
-@SIGNED_FALSE@ } || exit $$?; \
|
||||
-@SIGNED_FALSE@ $(MAKE) DESTDIR=$$tmp extensionrootdir=/ install; \
|
||||
-@SIGNED_FALSE@ cd $$tmp; \
|
||||
-@SIGNED_FALSE@ rm -f $(abs_builddir)/$(XPI_NAME); \
|
||||
-@SIGNED_FALSE@ @ZIP@ -rq $(abs_builddir)/$(XPI_NAME) .; \
|
||||
-@SIGNED_FALSE@ cd -; \
|
||||
-@SIGNED_FALSE@ rm -rf $$tmp;
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
|
@ -1,8 +1,8 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="a zip password cracker"
|
||||
HOMEPAGE="http://oldhome.schmorp.de/marc/fcrackzip.html"
|
||||
|
@ -17,6 +17,7 @@ RDEPEND="app-arch/unzip"
|
|||
DEPEND=""
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e '/funroll/d' configure || die
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- Makefile
|
||||
+++ Makefile
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -1,16 +1,18 @@
|
||||
VERSION=0.5
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="2"
|
||||
EAPI="6"
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
|
@ -16,14 +16,15 @@ IUSE=""
|
|||
RDEPEND="app-crypt/gpgme"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-flags.patch"
|
||||
}
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-flags.patch"
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" DEBUG= || die "emake failed"
|
||||
emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" DEBUG=
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin gpgstats || die "dobin gpgstas failed"
|
||||
einstalldocs
|
||||
dobin gpgstats
|
||||
}
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit eutils multilib
|
||||
EAPI=6
|
||||
inherit multilib-minimal
|
||||
|
||||
DESCRIPTION="Tools for computing and checking HMAC values for files"
|
||||
HOMEPAGE="https://fedorahosted.org/hmaccalc/"
|
||||
|
@ -18,14 +18,8 @@ DEPEND="dev-libs/nss
|
|||
sys-devel/prelink"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE="${S}" econf \
|
||||
--enable-sum-directory=/usr/$(get_libdir)/${PN}/ \
|
||||
$(use_enable !fips non-fips) \
|
||||
|| die "econf failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" || die "emake install failed"
|
||||
dodoc README
|
||||
$(use_enable !fips non-fips)
|
||||
}
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
EAPI=6
|
||||
|
||||
inherit autotools-utils linux-info udev user
|
||||
inherit linux-info udev user
|
||||
|
||||
DESCRIPTION="Yubico Universal 2nd Factor (U2F) Host C Library"
|
||||
HOMEPAGE="https://developers.yubico.com/libu2f-host/"
|
||||
|
@ -34,19 +34,13 @@ pkg_setup() {
|
|||
}
|
||||
|
||||
src_prepare() {
|
||||
autotools-utils_src_prepare
|
||||
|
||||
default
|
||||
sed -e 's:TAG+="uaccess":MODE="0664", GROUP="plugdev":g' \
|
||||
70-u2f.rules > 70-u2f-udev.rules || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-utils_src_install
|
||||
|
||||
default
|
||||
if use kernel_linux; then
|
||||
if use systemd; then
|
||||
udev_dorules 70-u2f.rules
|
||||
|
|
|
@ -1,4 +1,2 @@
|
|||
DIST util-linux-2.21-20120228.diff.bz2 43809 SHA256 fc28d4f0e2737b53a4db59072ab0fcf4180a8ece28c79219a21780124798572a SHA512 94135ed18699efd949f5937576da2721957177bbef9be8234ae48ee34f30f4cb65361a541f79c636ed6d6bb5c2786e1096d096407834e1421d82ee78ae0790e9 WHIRLPOOL ba23dccc56fc49d7ad9075537317ad4580ace2a4cd8f6b0250f42035c03ba910f3cafa8e8b1da4c7e5a0960d74c42f2706fda579a3b4a6cadc61dccd2fff3ff0
|
||||
DIST util-linux-2.21.tar.xz 2954504 SHA256 5192e8ba7dcf3cf0dc447f07b3d177f6cb3fb49dfae54ac45d6c8c7d86eeab0f SHA512 aab384db2d1a3e08fd560a3e4d7ed7d6b2ceac61386db94eecae65bd540200a8549e141b99d8dad5c6f96587940b574d0544984acef6a35d1f24870e0072c552 WHIRLPOOL 1968ddd63fd21ef9542bb8afc77292ed2bad6f83e1cd67aa4159db8b320abd80ee0d20a062df35ae2ad91e0bc9068168b9f9e44aa39eaf4861d436dd855bea5d
|
||||
DIST util-linux-2.26-20150310.diff.bz2 41017 SHA256 18d88810d5d6e95313c23162566bcf7e1a7b785bed5dd395127c144127c9e9ef SHA512 c8e7d7a4795d2ed75af5e0513c19510ca649682df86655ecabe1563586bdb46f32bb9abd6cfb09df230f935cfa396e0d63b1545a40a5f4ce47524a82e7dd7ca6 WHIRLPOOL 2ca00b9ec52b64ce1e083b9a706003d1f0445fb5d7f391e28b698c684dba5cb8bc2a590565dcc23ac6527b8099838435b86e7a78097ab8a19491fe14b6c50ca6
|
||||
DIST util-linux-2.26.tar.xz 3847960 SHA256 a23c6f39dea0ed215ccd589509ffc7bb6f706f6e1a04760f493fb0fd7e93c489 SHA512 af07d49a433fce683da7bdf9aea5693ad108aa16166e0147716175bd779fe5090029617dd7db153bc0f5efcf7bdd377761a616efd4cca90a87bf317132ede88c WHIRLPOOL 4f7c9463bfe1523819671824de26e051c496c86884ca34b25208762179345c799fe61e566228ebfcbca2f2b63163539e37b06e438a58f562cf7b53f954564150
|
||||
|
|
|
@ -1,96 +0,0 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
|
||||
EGIT_REPO_URI="git://git.kernel.org/pub/scm/utils/util-linux/util-linux.git"
|
||||
inherit eutils toolchain-funcs flag-o-matic autotools
|
||||
|
||||
MY_PV="${PV/_/-}"
|
||||
MY_P="util-linux-${MY_PV}"
|
||||
LOOPAES_PV="${PV}-20120228"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
DESCRIPTION="Loop-AES losetup utility"
|
||||
HOMEPAGE="https://www.kernel.org/pub/linux/utils/util-linux/"
|
||||
SRC_URI="mirror://kernel/linux/utils/util-linux/v${PV:0:4}/${MY_P}.tar.xz
|
||||
http://loop-aes.sourceforge.net/updates/util-linux-${LOOPAES_PV}.diff.bz2"
|
||||
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~x86-linux"
|
||||
|
||||
LICENSE="GPL-2 GPL-3 LGPL-2.1 BSD-4 MIT public-domain"
|
||||
SLOT="0"
|
||||
IUSE="nls selinux uclibc static"
|
||||
|
||||
RDEPEND="selinux? ( sys-libs/libselinux )"
|
||||
DEPEND="${RDEPEND}
|
||||
nls? ( sys-devel/gettext )
|
||||
virtual/os-headers"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${WORKDIR}"/util-linux-*.diff
|
||||
use uclibc && sed -i -e s/versionsort/alphasort/g -e s/strverscmp.h/dirent.h/g mount/lomount.c
|
||||
eautoreconf
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
lfs_fallocate_test() {
|
||||
# Make sure we can use fallocate with LFS #300307
|
||||
cat <<-EOF > "${T}"/fallocate.c
|
||||
#define _GNU_SOURCE
|
||||
#include <fcntl.h>
|
||||
main() { return fallocate(0, 0, 0, 0); }
|
||||
EOF
|
||||
append-lfs-flags
|
||||
$(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} "${T}"/fallocate.c -o /dev/null >/dev/null 2>&1 \
|
||||
|| export ac_cv_func_fallocate=no
|
||||
rm -f "${T}"/fallocate.c
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
lfs_fallocate_test
|
||||
econf \
|
||||
--disable-agetty \
|
||||
--disable-chsh-only-listed \
|
||||
--disable-cramfs \
|
||||
--disable-fallocate \
|
||||
--disable-fsck \
|
||||
--disable-kill \
|
||||
--disable-last \
|
||||
--disable-libmount \
|
||||
--disable-libmount-mount \
|
||||
--disable-libuuid \
|
||||
--disable-login-utils \
|
||||
--disable-makeinstall-chown \
|
||||
--disable-makeinstall-setuid \
|
||||
--disable-mesg \
|
||||
--disable-mountpoint \
|
||||
--disable-partx \
|
||||
--disable-pg-bell \
|
||||
--disable-pivot_root \
|
||||
--disable-raw \
|
||||
--disable-rename \
|
||||
--disable-require-password \
|
||||
--disable-reset \
|
||||
--disable-schedutils \
|
||||
--disable-switch_root \
|
||||
--disable-unshare \
|
||||
--disable-use-tty-group \
|
||||
--disable-uuidd \
|
||||
--disable-wall \
|
||||
--disable-write \
|
||||
--enable-libblkid \
|
||||
--enable-mount \
|
||||
--without-ncurses \
|
||||
--without-udev \
|
||||
$(use_enable nls) \
|
||||
$(use_with selinux) \
|
||||
$(tc-has-tls || echo --disable-tls) \
|
||||
$(use static && echo --enable-static-programs=losetup)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${T}/root"
|
||||
newsbin "${T}/root/sbin/losetup" loop-aes-losetup
|
||||
use static && newsbin "${T}/root/bin/losetup.static" loop-aes-losetup.static
|
||||
}
|
|
@ -2,7 +2,7 @@
|
|||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
EAPI="6"
|
||||
|
||||
inherit eutils toolchain-funcs libtool flag-o-matic
|
||||
|
||||
|
@ -27,6 +27,7 @@ DEPEND="${RDEPEND}
|
|||
virtual/os-headers"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
epatch "${WORKDIR}"/util-linux-*.diff
|
||||
elibtoolize
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- Makefile.in 2012-11-07 22:04:51.207982344 -0500
|
||||
+++ Makefile.in.new 2012-11-07 22:06:00.905977580 -0500
|
||||
--- a/Makefile.in 2012-11-07 22:04:51.207982344 -0500
|
||||
+++ b/Makefile.in 2012-11-07 22:06:00.905977580 -0500
|
||||
@@ -18,19 +18,19 @@
|
||||
all: md6sum
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
EAPI="6"
|
||||
|
||||
inherit eutils
|
||||
|
||||
|
@ -15,13 +15,8 @@ SLOT="0"
|
|||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-ldflags.patch"
|
||||
epatch "${FILESDIR}/${P}-cflags.patch"
|
||||
epatch "${FILESDIR}/${P}-format-security.patch"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
newdoc README_Reference.txt README
|
||||
}
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-ldflags.patch"
|
||||
"${FILESDIR}/${P}-cflags.patch"
|
||||
"${FILESDIR}/${P}-format-security.patch"
|
||||
)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- Makefile.orig 2009-02-10 17:06:52.786706429 +0100
|
||||
+++ Makefile 2009-02-10 17:07:15.947791244 +0100
|
||||
--- a/Makefile 2009-02-10 17:06:52.786706429 +0100
|
||||
+++ b/Makefile 2009-02-10 17:07:15.947791244 +0100
|
||||
@@ -56,7 +56,7 @@
|
||||
NCURSES=-DNCURSES
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- Makefile 2010-06-28 22:19:55.000000000 -0400
|
||||
+++ myMakefile 2010-06-28 22:20:03.000000000 -0400
|
||||
--- a/Makefile 2010-06-28 22:19:55.000000000 -0400
|
||||
+++ b/Makefile 2010-06-28 22:20:03.000000000 -0400
|
||||
@@ -47,7 +47,6 @@
|
||||
BLOCK=-DBLOCKSIZE=50
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="2"
|
||||
EAPI="6"
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
|
@ -15,11 +15,18 @@ LICENSE="GPL-2"
|
|||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="ncurses"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-gcc4.diff \
|
||||
"${FILESDIR}"/${P}-asneeded.patch \
|
||||
"${FILESDIR}"/${P}-remove-interactive-test.diff
|
||||
DOCS=(
|
||||
BENCHMARKS CREDITS FAQ README TODO VERSIONS WWW
|
||||
)
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-gcc4.diff"
|
||||
"${FILESDIR}/${P}-asneeded.patch"
|
||||
"${FILESDIR}/${P}-remove-interactive-test.diff"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
use ncurses || \
|
||||
sed -i -e 's/^NCURSES/#NCURSES/g' \
|
||||
-e 's/^LIBS/#LIBS/g' Makefile
|
||||
|
@ -29,13 +36,13 @@ src_prepare() {
|
|||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)" little || die "emake failed"
|
||||
emake CC="$(tc-getCC)" little
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local failure=false
|
||||
|
||||
make CC="$(tc-getCC)" fulltest || die "self test failed"
|
||||
emake CC="$(tc-getCC)" fulltest
|
||||
|
||||
for i in {1..20}; do
|
||||
if grep "Collision found" out$i ; then
|
||||
|
@ -52,6 +59,6 @@ src_test() {
|
|||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/mdcrack || die "dobin failed"
|
||||
dodoc BENCHMARKS CREDITS FAQ README TODO VERSIONS WWW || die
|
||||
einstalldocs
|
||||
dobin bin/mdcrack
|
||||
}
|
||||
|
|
|
@ -16,6 +16,10 @@ IUSE=""
|
|||
RDEPEND="app-crypt/gpgme"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS=(
|
||||
readme.txt
|
||||
)
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-flags.patch"
|
||||
)
|
||||
|
@ -25,6 +29,6 @@ src_compile() {
|
|||
}
|
||||
|
||||
src_install() {
|
||||
einstalldocs
|
||||
dobin nasty
|
||||
dodoc readme.txt
|
||||
}
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Securely erase disks using a variety of recognized methods"
|
||||
HOMEPAGE="https://sourceforge.net/projects/nwipe/"
|
||||
|
@ -14,8 +14,6 @@ KEYWORDS="~amd64 ~x86"
|
|||
IUSE=""
|
||||
|
||||
RDEPEND=">=sys-block/parted-2.3
|
||||
>=sys-libs/ncurses-5.7-r7"
|
||||
>=sys-libs/ncurses-5.7-r7:="
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS="README"
|
||||
|
|
47
app-crypt/p11-kit/p11-kit-0.23.2-r1.ebuild
Normal file
47
app-crypt/p11-kit/p11-kit-0.23.2-r1.ebuild
Normal file
|
@ -0,0 +1,47 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils multilib-minimal
|
||||
|
||||
DESCRIPTION="Provides a standard configuration setup for installing PKCS#11"
|
||||
HOMEPAGE="https://p11-glue.freedesktop.org/p11-kit.html"
|
||||
SRC_URI="https://p11-glue.freedesktop.org/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="+asn1 debug +libffi +trust"
|
||||
REQUIRED_USE="trust? ( asn1 )"
|
||||
|
||||
RDEPEND="asn1? ( >=dev-libs/libtasn1-3.4[${MULTILIB_USEDEP}] )
|
||||
libffi? ( >=dev-libs/libffi-3.0.0[${MULTILIB_USEDEP}] )
|
||||
trust? ( app-misc/ca-certificates )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
pkg_setup() {
|
||||
# disable unsafe tests, bug#502088
|
||||
export FAKED_MODE=1
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE="${S}" econf \
|
||||
$(use_enable trust trust-module) \
|
||||
$(use_with trust trust-paths ${EPREFIX}/etc/ssl/certs/ca-certificates.crt) \
|
||||
$(use_enable debug) \
|
||||
$(use_with libffi) \
|
||||
$(use_with asn1 libtasn1)
|
||||
|
||||
if multilib_is_native_abi; then
|
||||
# re-use provided documentation
|
||||
ln -s "${S}"/doc/manual/html doc/manual/html || die
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
prune_libtool_files --modules
|
||||
}
|
|
@ -1,8 +1,8 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
EAPI="6"
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="PkZip cipher breaker"
|
||||
|
@ -17,8 +17,21 @@ IUSE="test"
|
|||
DEPEND="test? ( app-arch/zip[crypt] )"
|
||||
RDEPEND="!<app-text/html-xml-utils-5.3"
|
||||
|
||||
DOCS=(
|
||||
../doc/KNOWN_BUGS
|
||||
../doc/appnote.iz.txt
|
||||
../doc/README.W32
|
||||
../doc/pkzip.ps.gz
|
||||
../doc/CHANGES
|
||||
../doc/LIESMICH
|
||||
../doc/README.html
|
||||
../doc/README
|
||||
)
|
||||
|
||||
S="${WORKDIR}/${P}/src"
|
||||
|
||||
src_prepare() {
|
||||
cd "${S}/src"
|
||||
default
|
||||
sed -i -e "s/^CC=.*/CC=$(tc-getCC)/" \
|
||||
-e "/^CFLAGS=.*/d" \
|
||||
-e "s/CFLAGS/LDFLAGS/" \
|
||||
|
@ -26,34 +39,18 @@ src_prepare() {
|
|||
sed -i -e "s:void main:int main:" *.c
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${S}/src"
|
||||
emake
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${S}/test"
|
||||
cd "${S}/../test"
|
||||
make CC="$(tc-getCC)" all
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${S}/src"
|
||||
einstalldocs
|
||||
dobin pkcrack zipdecrypt findkey makekey
|
||||
newbin extract "$PN-extract"
|
||||
dodoc "${S}/doc/"*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Author DEMANDS :-) a postcard be sent to:"
|
||||
elog
|
||||
elog " Peter Conrad"
|
||||
elog " Am Heckenberg 1"
|
||||
elog " 56727 Mayen"
|
||||
elog " Germany"
|
||||
elog
|
||||
elog "See: http://www.unix-ag.uni-kl.de/~conrad/krypto/pkcrack/pkcrack-readme.html"
|
||||
|
||||
ewarn
|
||||
ewarn "Due to file collision, extract utility was renamed to $PN-extract,"
|
||||
ewarn "see bug#247394"
|
||||
}
|
||||
|
|
|
@ -19,7 +19,11 @@ DEPEND=">=dev-lang/perl-5.6
|
|||
virtual/perl-Digest-MD5"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=(
|
||||
README BUGS
|
||||
)
|
||||
|
||||
src_install() {
|
||||
einstalldocs
|
||||
dobin quickcrypt
|
||||
dodoc README BUGS
|
||||
}
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="A simple password-based encryption utility using the scrypt key derivation function"
|
||||
HOMEPAGE="http://www.tarsnap.com/scrypt.html"
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
EAPI=6
|
||||
|
||||
inherit autotools eutils libtool multilib
|
||||
inherit autotools eutils libtool
|
||||
|
||||
DESCRIPTION="A PKCS #11 module for OpenPGP smartcards"
|
||||
HOMEPAGE="http://www.scute.org/"
|
||||
|
@ -26,14 +26,17 @@ DEPEND="
|
|||
>=app-crypt/gnupg-2.0.17-r1[smartcard]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
PATCHES=(
|
||||
# We need no ABI versioning, reduce the number of symlinks installed
|
||||
epatch "${FILESDIR}"/scute-1.2.0-noversion.patch
|
||||
# Don't build tests during src_compile.
|
||||
epatch "${FILESDIR}"/scute-1.4.0-tests.patch
|
||||
"${FILESDIR}/scute-1.2.0-noversion.patch"
|
||||
|
||||
# Don't build tests during src_compile.
|
||||
"${FILESDIR}/scute-1.4.0-tests.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
|
@ -44,7 +47,6 @@ src_configure() {
|
|||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
find "${D}" -name '*.la' -delete
|
||||
dodoc AUTHORS ChangeLog NEWS README TODO
|
||||
default
|
||||
prune_libtool_files --modules
|
||||
}
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
EAPI="6"
|
||||
|
||||
inherit eutils toolchain-funcs autotools
|
||||
|
||||
|
@ -15,10 +15,12 @@ SLOT="0"
|
|||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-lang/perl"
|
||||
DEPEND="
|
||||
dev-lang/perl
|
||||
app-crypt/libmd
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
>=app-crypt/gnupg-1.3.92
|
||||
app-crypt/libmd
|
||||
dev-perl/GnuPG-Interface
|
||||
dev-perl/Text-Template
|
||||
dev-perl/MIME-tools
|
||||
|
@ -32,9 +34,11 @@ RDEPEND="${DEPEND}
|
|||
dev-perl/Text-Iconv
|
||||
app-text/recode
|
||||
)"
|
||||
S=$WORKDIR
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# app-crypt/keylookup
|
||||
rm -r keylookup || die
|
||||
# media-gfx/springgraph
|
||||
|
@ -63,6 +67,8 @@ src_compile() {
|
|||
}
|
||||
|
||||
src_install() {
|
||||
einstalldocs
|
||||
|
||||
# Check Makefile when a new tool is introduced to this package.
|
||||
# caff
|
||||
dobin caff/caff caff/pgp-clean caff/pgp-fixkey
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
EAPI=6
|
||||
|
||||
inherit autotools-multilib
|
||||
inherit autotools multilib-minimal
|
||||
|
||||
DESCRIPTION="Computes context triggered piecewise hashes (fuzzy hashes)"
|
||||
HOMEPAGE="http://ssdeep.sourceforge.net/"
|
||||
|
@ -16,6 +15,20 @@ SLOT="0"
|
|||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="static-libs"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog FILEFORMAT NEWS README TODO )
|
||||
DOCS=(
|
||||
AUTHORS ChangeLog FILEFORMAT NEWS README TODO
|
||||
)
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-2.10-shared.patch )
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-2.10-shared.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE=${S} \
|
||||
econf
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- src/data.c.orig 2005-12-05 13:23:44.000000000 +0200
|
||||
+++ src/data.c 2005-12-05 13:24:31.000000000 +0200
|
||||
--- a/src/data.c 2005-12-05 13:23:44.000000000 +0200
|
||||
+++ b/src/data.c 2005-12-05 13:24:31.000000000 +0200
|
||||
@@ -55,7 +55,9 @@
|
||||
#include <stats.h>
|
||||
#include <config.h>
|
||||
|
@ -11,8 +11,8 @@
|
|||
extern tnode_t **treap;
|
||||
extern bnode_t *bintree;
|
||||
size_t size = 0;
|
||||
--- src/stan.c.orig 2005-12-05 13:23:49.000000000 +0200
|
||||
+++ src/stan.c 2005-12-05 13:24:57.000000000 +0200
|
||||
--- a/src/stan.c 2005-12-05 13:23:49.000000000 +0200
|
||||
+++ b/src/stan.c 2005-12-05 13:24:57.000000000 +0200
|
||||
@@ -46,7 +46,9 @@
|
||||
#include <bits.h>
|
||||
#include <config.h>
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
inherit autotools eutils
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="Stan analyzes binary streams and calculates statistical information"
|
||||
HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
|
||||
|
@ -14,13 +14,16 @@ SLOT="0"
|
|||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-errno.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
eapply -p0 "${FILESDIR}/${P}-errno.patch"
|
||||
# Update autotools deprecated file name and macro for bug 468750
|
||||
default
|
||||
|
||||
mv configure.{in,ac} || die
|
||||
sed -i \
|
||||
-e "s/-O3/${CFLAGS}/" \
|
||||
-e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g" configure.ac || die
|
||||
eautoreconf
|
||||
default
|
||||
}
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
EAPI=6
|
||||
|
||||
inherit toolchain-funcs multilib
|
||||
inherit toolchain-funcs multilib-minimal
|
||||
|
||||
DESCRIPTION="a free, pretty much fully featured and stable TrueCrypt implementation"
|
||||
HOMEPAGE="https://github.com/bwalex/tc-play"
|
||||
|
@ -27,6 +27,10 @@ DEPEND="
|
|||
)"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=(
|
||||
README.md
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
local backend="openssl"
|
||||
use gnutls && local backend="gcrypt"
|
||||
|
@ -52,5 +56,4 @@ src_install() {
|
|||
"${EXTRA_MAKE_FLAGS[@]}" \
|
||||
install_program \
|
||||
DESTDIR="${ED}"
|
||||
dodoc README.md
|
||||
}
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
EAPI=6
|
||||
inherit user linux-mod cmake-utils udev
|
||||
|
||||
MY_P=${P/-/_}
|
||||
|
@ -35,6 +35,7 @@ pkg_setup() {
|
|||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# do not build and install the kernel module
|
||||
sed -i 's/COMMAND ${tpmd_dev_BUILD_CMD}//' tpmd_dev/CMakeLists.txt || die
|
||||
sed -i 's/install(CODE.*//' tpmd_dev/CMakeLists.txt || die
|
||||
|
@ -42,7 +43,7 @@ src_prepare() {
|
|||
|
||||
src_configure() {
|
||||
mycmakeargs=(
|
||||
$(cmake-utils_use_use ssl OPENSSL)
|
||||
-DUSE_OPENSSL=$(usex ssl)
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
inherit distutils-r1 eutils
|
||||
|
||||
DESCRIPTION="Cross platform personalization tool for the YubiKey NEO"
|
||||
HOMEPAGE="https://developers.yubico.com/yubikey-neo-manager/"
|
||||
|
|
|
@ -55,6 +55,7 @@ RESTRICT="test"
|
|||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.8.9.1-empty-line-sigsegv.patch" #454348
|
||||
"${FILESDIR}/${PN}-1.8.12-link_with_pthread.patch"
|
||||
"${FILESDIR}/${PN}-1.8.13-NULL-dereference.patch"
|
||||
)
|
||||
|
||||
DOCS=( LANGUAGE.HOWTO README.md )
|
||||
|
@ -64,7 +65,7 @@ pkg_setup() {
|
|||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
cmake-utils_src_prepare
|
||||
|
||||
# Ensure we link to -liconv
|
||||
if use elibc_FreeBSD && has_version dev-libs/libiconv || use elibc_uclibc; then
|
||||
|
@ -82,12 +83,13 @@ src_prepare() {
|
|||
doc/maintainers.txt || die
|
||||
|
||||
if is-flagq "-O3" ; then
|
||||
echo
|
||||
ewarn
|
||||
ewarn "Compiling with -O3 is known to produce incorrectly"
|
||||
ewarn "optimized code which breaks doxygen."
|
||||
echo
|
||||
ewarn
|
||||
elog
|
||||
elog "Continuing with -O2 instead ..."
|
||||
echo
|
||||
elog
|
||||
replace-flags "-O3" "-O2"
|
||||
fi
|
||||
}
|
24
app-doc/doxygen/files/doxygen-1.8.13-NULL-dereference.patch
Normal file
24
app-doc/doxygen/files/doxygen-1.8.13-NULL-dereference.patch
Normal file
|
@ -0,0 +1,24 @@
|
|||
From 0f02761a158a5e9ddbd5801682482af8986dbc35 Mon Sep 17 00:00:00 2001
|
||||
From: albert-github <albert.tests@gmail.com>
|
||||
Date: Wed, 4 Jan 2017 12:24:55 +0100
|
||||
Subject: [PATCH] Bug 776791 - [1.8.13 Regression] Segfault building the
|
||||
breathe docs
|
||||
|
||||
Protected against NULL pointer of variable al
|
||||
---
|
||||
src/xmlgen.cpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/xmlgen.cpp b/src/xmlgen.cpp
|
||||
index fe95c7a..70e198a 100644
|
||||
--- a/src/xmlgen.cpp
|
||||
+++ b/src/xmlgen.cpp
|
||||
@@ -620,7 +620,7 @@ static void generateXMLForMember(MemberDef *md,FTextStream &ti,FTextStream &t,De
|
||||
if (md->isInline()) t << "yes"; else t << "no";
|
||||
t << "\"";
|
||||
|
||||
- if (al->refQualifier!=RefQualifierNone)
|
||||
+ if (al!=0 && al->refQualifier!=RefQualifierNone)
|
||||
{
|
||||
t << " refqual=\"";
|
||||
if (al->refQualifier==RefQualifierLValue) t << "lvalue"; else t << "rvalue";
|
|
@ -32,7 +32,7 @@ SLOT="25"
|
|||
IUSE="acl alsa aqua athena cairo dbus games gconf gfile gif gpm gsettings gtk +gtk3 gzip-el hesiod imagemagick +inotify jpeg kerberos libxml2 livecd m17n-lib motif pax_kernel png selinux sound source ssl svg tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm xwidgets zlib"
|
||||
REQUIRED_USE="?? ( aqua X )"
|
||||
|
||||
RDEPEND="sys-libs/ncurses:0
|
||||
RDEPEND="sys-libs/ncurses:0=
|
||||
>=app-eselect/eselect-emacs-1.16
|
||||
>=app-emacs/emacs-common-gentoo-1.5[games?,X?]
|
||||
net-libs/liblockfile
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
|
@ -32,7 +32,7 @@ SLOT="25"
|
|||
IUSE="acl alsa aqua athena cairo dbus games gconf gfile gif gpm gsettings gtk +gtk3 gzip-el hesiod imagemagick +inotify jpeg kerberos libxml2 livecd m17n-lib motif pax_kernel png selinux sound source ssl svg tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm xwidgets zlib"
|
||||
REQUIRED_USE="?? ( aqua X )"
|
||||
|
||||
RDEPEND="sys-libs/ncurses:0
|
||||
RDEPEND="sys-libs/ncurses:0=
|
||||
>=app-eselect/eselect-emacs-1.16
|
||||
>=app-emacs/emacs-common-gentoo-1.5[games?,X?]
|
||||
net-libs/liblockfile
|
||||
|
@ -100,6 +100,9 @@ DEPEND="${RDEPEND}
|
|||
if [[ ${PV##*.} = 9999 ]]; then
|
||||
DEPEND="${DEPEND}
|
||||
sys-apps/texinfo"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
!=app-editors/emacs-${PV%.*}*"
|
||||
fi
|
||||
|
||||
EMACS_SUFFIX="${PN/emacs/emacs-${SLOT}}"
|
|
@ -32,7 +32,7 @@ SLOT="26"
|
|||
IUSE="acl alsa aqua athena cairo dbus games gconf gfile gif gpm gsettings gtk +gtk3 gzip-el hesiod imagemagick +inotify jpeg kerberos libxml2 livecd m17n-lib motif pax_kernel png selinux sound source ssl svg tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm xwidgets zlib"
|
||||
REQUIRED_USE="?? ( aqua X )"
|
||||
|
||||
RDEPEND="sys-libs/ncurses:0
|
||||
RDEPEND="sys-libs/ncurses:0=
|
||||
>=app-eselect/eselect-emacs-1.16
|
||||
>=app-emacs/emacs-common-gentoo-1.5[games?,X?]
|
||||
net-libs/liblockfile
|
||||
|
@ -73,7 +73,7 @@ RDEPEND="sys-libs/ncurses:0
|
|||
gtk? (
|
||||
xwidgets? (
|
||||
x11-libs/gtk+:3
|
||||
net-libs/webkit-gtk:3=
|
||||
net-libs/webkit-gtk:4=
|
||||
)
|
||||
!xwidgets? (
|
||||
gtk3? ( x11-libs/gtk+:3 )
|
||||
|
@ -271,6 +271,7 @@ src_install () {
|
|||
# avoid collision between slots, see bug #169033 e.g.
|
||||
rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el
|
||||
rm -rf "${ED}"/usr/share/{appdata,applications,icons}
|
||||
rm -rf "${ED}/usr/$(get_libdir)"
|
||||
rm -rf "${ED}"/var
|
||||
|
||||
# remove unused <version>/site-lisp dir
|
||||
|
|
|
@ -8,3 +8,4 @@ DIST emacs-24.4.tar.xz 39733124 SHA256 47e391170db4ca0a3c724530c7050655f6d573a71
|
|||
DIST emacs-24.5-patches-2.tar.xz 11876 SHA256 16c313ed0fe718cc8505d4276d0b8b18564db5a96745b215c42e21f062a91f9e SHA512 58efc75749842738c6585f7d39d79dee6ef030f589341b4cce6d02623173384f84e1005a7de27be6f759a564ce762dd472c6061579a16a63916b3dfa711697de WHIRLPOOL 41eaaae10df709b28c1f9dae442d59b62281b92e622efb7dbfd62625814338e64dbf116a2373d136637e12461c15133c02bd3dd76c7a7236f53a715a973eb292
|
||||
DIST emacs-24.5.tar.xz 39759804 SHA256 dd47d71dd2a526cf6b47cb49af793ec2e26af69a0951cc40e43ae290eacfc34e SHA512 89dee4c3aadb6e505c523f84c65b5e40e5bf28a586cc8a4518a59581c22972f942bb6f3c772df0d5b2685c3e78247c545c6bb2576e981d1ef0f9298c18ad1677 WHIRLPOOL 3d9f8fb840f4c846246e642369f967ba0ec357c7cf718ed865523a3cd39605ba14b8c15fc9ae3f076c27e5b6e41fcb681d15f1c6ffc5934430c0a2bf47c233a3
|
||||
DIST emacs-25.1.tar.xz 42498944 SHA256 19f2798ee3bc26c95dca3303e7ab141e7ad65d6ea2b6945eeba4dbea7df48f33 SHA512 67442b9027869c44430e1d4c3e92e74601e667c9aef7e3da16f20a562b5e3fa8c64efdd4b4055919550523093d32eac73c094b644f6573fed41b4e0938668922 WHIRLPOOL 77cf4e126580634ec5aa2d2252a5d3334b6880a2abc32c54543b8df1a7dc9687bf41c54994044be7517b397bcfc2fc1094286ff4c05a7d6f64a8ef8376a4abfb
|
||||
DIST emacs-25.2-rc1.tar.xz 43010432 SHA256 a94e8e190992627c9b7ef5683d267663bb4c9c2880ef5093988ba42cf8aeae2b SHA512 717cd9b058e4e9d6d8abe7d78a7538745c9a2e29f7f61fa58f3502584a755bb6d4b2d74ce912878e3730f5a72eabf63be1ce1cbb8fa99e1372763ec77df09384 WHIRLPOOL 747c743e4662a37361a5b040bb82a4b835f9ace76068c7e95eb97b1614725ad58acbff6d8607532c4158925c8443a42449b71f47d82e067c0cdf2492f5f5fdce
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
|
@ -18,10 +18,10 @@ KEYWORDS="amd64 x86"
|
|||
IUSE="abi_x86_x32"
|
||||
|
||||
RDEPEND=">=app-eselect/eselect-emacs-1.16
|
||||
sys-libs/ncurses:0
|
||||
sys-libs/ncurses:0=
|
||||
amd64? (
|
||||
abi_x86_x32? ( >=sys-libs/ncurses-5.9-r3:0[abi_x86_x32(-)?] )
|
||||
!abi_x86_x32? ( >=sys-libs/ncurses-5.9-r3:0[abi_x86_32(-)] )
|
||||
abi_x86_x32? ( >=sys-libs/ncurses-5.9-r3:0=[abi_x86_x32(-)?] )
|
||||
!abi_x86_x32? ( >=sys-libs/ncurses-5.9-r3:0=[abi_x86_32(-)] )
|
||||
)"
|
||||
# X? ( x11-libs/libX11[-xcb] )
|
||||
DEPEND="${RDEPEND}
|
||||
|
|
|
@ -18,7 +18,7 @@ KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-f
|
|||
IUSE="alsa aqua athena dbus games gconf gif gpm gtk gzip-el hesiod jpeg kerberos livecd m17n-lib motif pax_kernel png sound source svg tiff toolkit-scroll-bars X Xaw3d xft +xpm"
|
||||
REQUIRED_USE="?? ( aqua X )"
|
||||
|
||||
RDEPEND="sys-libs/ncurses:0
|
||||
RDEPEND="sys-libs/ncurses:0=
|
||||
>=app-eselect/eselect-emacs-1.16
|
||||
>=app-emacs/emacs-common-gentoo-1.5[games?,X?]
|
||||
net-libs/liblockfile
|
||||
|
|
|
@ -17,7 +17,7 @@ KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-f
|
|||
IUSE="acl alsa aqua athena dbus games gconf gfile gif gnutls gpm gsettings gtk +gtk3 gzip-el hesiod imagemagick +inotify jpeg kerberos libxml2 livecd m17n-lib motif pax_kernel png selinux sound source svg tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm zlib"
|
||||
REQUIRED_USE="?? ( aqua X )"
|
||||
|
||||
RDEPEND="sys-libs/ncurses:0
|
||||
RDEPEND="sys-libs/ncurses:0=
|
||||
>=app-eselect/eselect-emacs-1.16
|
||||
>=app-emacs/emacs-common-gentoo-1.5[games?,X?]
|
||||
net-libs/liblockfile
|
||||
|
|
|
@ -17,7 +17,7 @@ KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-f
|
|||
IUSE="acl alsa aqua athena dbus games gconf gfile gif gpm gsettings gtk +gtk3 gzip-el hesiod imagemagick +inotify jpeg kerberos libxml2 livecd m17n-lib motif pax_kernel png selinux sound source ssl svg tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm zlib"
|
||||
REQUIRED_USE="?? ( aqua X )"
|
||||
|
||||
RDEPEND="sys-libs/ncurses:0
|
||||
RDEPEND="sys-libs/ncurses:0=
|
||||
>=app-eselect/eselect-emacs-1.16
|
||||
>=app-emacs/emacs-common-gentoo-1.5[games?,X?]
|
||||
net-libs/liblockfile
|
||||
|
|
|
@ -16,7 +16,7 @@ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86
|
|||
IUSE="acl alsa aqua athena cairo dbus games gconf gfile gif gpm gsettings gtk +gtk3 gzip-el hesiod imagemagick +inotify jpeg kerberos libxml2 livecd m17n-lib motif pax_kernel png selinux sound source ssl svg tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm xwidgets zlib"
|
||||
REQUIRED_USE="?? ( aqua X )"
|
||||
|
||||
RDEPEND="sys-libs/ncurses:0
|
||||
RDEPEND="sys-libs/ncurses:0=
|
||||
>=app-eselect/eselect-emacs-1.16
|
||||
>=app-emacs/emacs-common-gentoo-1.5[games?,X?]
|
||||
net-libs/liblockfile
|
||||
|
|
358
app-editors/emacs/emacs-25.2_rc1.ebuild
Normal file
358
app-editors/emacs/emacs-25.2_rc1.ebuild
Normal file
|
@ -0,0 +1,358 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit elisp-common flag-o-matic multilib readme.gentoo-r1
|
||||
|
||||
DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
|
||||
HOMEPAGE="https://www.gnu.org/software/emacs/"
|
||||
SRC_URI="mirror://gnu-alpha/emacs/pretest/emacs-${PV/_/-}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
|
||||
SLOT="25"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="acl alsa aqua athena cairo dbus games gconf gfile gif gpm gsettings gtk +gtk3 gzip-el hesiod imagemagick +inotify jpeg kerberos libxml2 livecd m17n-lib motif pax_kernel png selinux sound source ssl svg tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm xwidgets zlib"
|
||||
REQUIRED_USE="?? ( aqua X )"
|
||||
|
||||
RDEPEND="sys-libs/ncurses:0=
|
||||
>=app-eselect/eselect-emacs-1.16
|
||||
>=app-emacs/emacs-common-gentoo-1.5[games?,X?]
|
||||
net-libs/liblockfile
|
||||
acl? ( virtual/acl )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
dbus? ( sys-apps/dbus )
|
||||
gpm? ( sys-libs/gpm )
|
||||
hesiod? ( net-dns/hesiod )
|
||||
!inotify? ( gfile? ( >=dev-libs/glib-2.28.6 ) )
|
||||
kerberos? ( virtual/krb5 )
|
||||
libxml2? ( >=dev-libs/libxml2-2.2.0 )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
ssl? ( net-libs/gnutls )
|
||||
zlib? ( sys-libs/zlib )
|
||||
X? (
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXt
|
||||
x11-misc/xbitmaps
|
||||
gconf? ( >=gnome-base/gconf-2.26.2 )
|
||||
gsettings? ( >=dev-libs/glib-2.28.6 )
|
||||
gif? ( media-libs/giflib:0= )
|
||||
jpeg? ( virtual/jpeg:0= )
|
||||
png? ( >=media-libs/libpng-1.4:0= )
|
||||
svg? ( >=gnome-base/librsvg-2.0 )
|
||||
tiff? ( media-libs/tiff:0 )
|
||||
xpm? ( x11-libs/libXpm )
|
||||
imagemagick? ( >=media-gfx/imagemagick-6.6.2:0= )
|
||||
xft? (
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
x11-libs/libXft
|
||||
cairo? ( >=x11-libs/cairo-1.12.18 )
|
||||
m17n-lib? (
|
||||
>=dev-libs/libotf-0.9.4
|
||||
>=dev-libs/m17n-lib-1.5.1
|
||||
)
|
||||
)
|
||||
gtk? (
|
||||
xwidgets? (
|
||||
x11-libs/gtk+:3
|
||||
net-libs/webkit-gtk:3=
|
||||
)
|
||||
!xwidgets? (
|
||||
gtk3? ( x11-libs/gtk+:3 )
|
||||
!gtk3? ( x11-libs/gtk+:2 )
|
||||
)
|
||||
)
|
||||
!gtk? (
|
||||
motif? ( >=x11-libs/motif-2.3:0 )
|
||||
!motif? (
|
||||
Xaw3d? ( x11-libs/libXaw3d )
|
||||
!Xaw3d? ( athena? ( x11-libs/libXaw ) )
|
||||
)
|
||||
)
|
||||
)"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
gzip-el? ( app-arch/gzip )
|
||||
pax_kernel? (
|
||||
sys-apps/attr
|
||||
sys-apps/paxctl
|
||||
)"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
!<app-editors/emacs-vcs-${PV}"
|
||||
|
||||
EMACS_SUFFIX="${PN/emacs/emacs-${SLOT}}"
|
||||
SITEFILE="20${PN}-${SLOT}-gentoo.el"
|
||||
# FULL_VERSION keeps the full version number, which is needed in
|
||||
# order to determine some path information correctly for copy/move
|
||||
# operations later on
|
||||
FULL_VERSION="${PV%%_*}"
|
||||
S="${WORKDIR}/emacs-${FULL_VERSION}"
|
||||
|
||||
src_prepare() {
|
||||
eapply_user
|
||||
|
||||
# Fix filename reference in redirected man page
|
||||
sed -i -e "/^\\.so/s/etags/&-${EMACS_SUFFIX}/" doc/man/ctags.1 \
|
||||
|| die "unable to sed ctags.1"
|
||||
|
||||
#AT_M4DIR=m4 eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
strip-flags
|
||||
filter-flags -pie #526948
|
||||
|
||||
if use sh; then
|
||||
replace-flags "-O[1-9]" -O0 #262359
|
||||
elif use ia64; then
|
||||
replace-flags "-O[2-9]" -O1 #325373
|
||||
else
|
||||
replace-flags "-O[3-9]" -O2
|
||||
fi
|
||||
|
||||
local myconf
|
||||
|
||||
if use alsa; then
|
||||
use sound || ewarn \
|
||||
"USE flag \"alsa\" overrides \"-sound\"; enabling sound support."
|
||||
myconf+=" --with-sound=alsa"
|
||||
else
|
||||
myconf+=" --with-sound=$(usex sound oss)"
|
||||
fi
|
||||
|
||||
if use X; then
|
||||
myconf+=" --with-x --without-ns"
|
||||
myconf+=" $(use_with gconf)"
|
||||
myconf+=" $(use_with gsettings)"
|
||||
myconf+=" $(use_with toolkit-scroll-bars)"
|
||||
myconf+=" $(use_with gif)"
|
||||
myconf+=" $(use_with jpeg)"
|
||||
myconf+=" $(use_with png)"
|
||||
myconf+=" $(use_with svg rsvg)"
|
||||
myconf+=" $(use_with tiff)"
|
||||
myconf+=" $(use_with xpm)"
|
||||
myconf+=" $(use_with imagemagick)"
|
||||
|
||||
if use xft; then
|
||||
myconf+=" --with-xft"
|
||||
myconf+=" $(use_with cairo)"
|
||||
myconf+=" $(use_with m17n-lib libotf)"
|
||||
myconf+=" $(use_with m17n-lib m17n-flt)"
|
||||
else
|
||||
myconf+=" --without-xft"
|
||||
myconf+=" --without-cairo"
|
||||
myconf+=" --without-libotf --without-m17n-flt"
|
||||
use cairo && ewarn \
|
||||
"USE flag \"cairo\" has no effect if \"xft\" is not set."
|
||||
use m17n-lib && ewarn \
|
||||
"USE flag \"m17n-lib\" has no effect if \"xft\" is not set."
|
||||
fi
|
||||
|
||||
local f
|
||||
if use gtk; then
|
||||
einfo "Configuring to build with GIMP Toolkit (GTK+)"
|
||||
while read line; do ewarn "${line}"; done <<-EOF
|
||||
Your version of GTK+ will have problems with closing open
|
||||
displays. This is no problem if you just use one display, but
|
||||
if you use more than one and close one of them Emacs may crash.
|
||||
See <https://bugzilla.gnome.org/show_bug.cgi?id=85715>.
|
||||
If you intend to use more than one display, then it is strongly
|
||||
recommended that you compile Emacs with the Athena/Lucid or the
|
||||
Motif toolkit instead.
|
||||
EOF
|
||||
if use xwidgets; then
|
||||
myconf+=" --with-x-toolkit=gtk3 --with-xwidgets"
|
||||
else
|
||||
myconf+=" --with-x-toolkit=$(usex gtk3 gtk3 gtk2)"
|
||||
myconf+=" --without-xwidgets"
|
||||
fi
|
||||
for f in motif Xaw3d athena; do
|
||||
use ${f} && ewarn \
|
||||
"USE flag \"${f}\" has no effect if \"gtk\" is set."
|
||||
done
|
||||
elif use motif; then
|
||||
einfo "Configuring to build with Motif toolkit"
|
||||
myconf+=" --with-x-toolkit=motif"
|
||||
for f in Xaw3d athena; do
|
||||
use ${f} && ewarn \
|
||||
"USE flag \"${f}\" has no effect if \"motif\" is set."
|
||||
done
|
||||
elif use athena || use Xaw3d; then
|
||||
einfo "Configuring to build with Athena/Lucid toolkit"
|
||||
myconf+=" --with-x-toolkit=lucid $(use_with Xaw3d xaw3d)"
|
||||
else
|
||||
einfo "Configuring to build with no toolkit"
|
||||
myconf+=" --with-x-toolkit=no"
|
||||
fi
|
||||
! use gtk && use xwidgets && ewarn \
|
||||
"USE flag \"xwidgets\" has no effect if \"gtk\" is not set."
|
||||
elif use aqua; then
|
||||
einfo "Configuring to build with Nextstep (Cocoa) support"
|
||||
myconf+=" --with-ns --disable-ns-self-contained"
|
||||
myconf+=" --without-x"
|
||||
else
|
||||
myconf+=" --without-x --without-ns"
|
||||
fi
|
||||
|
||||
# Save version information in the Emacs binary. It will be available
|
||||
# in variable "system-configuration-options".
|
||||
myconf+=" GENTOO_PACKAGE=${CATEGORY}/${PF}"
|
||||
|
||||
econf \
|
||||
--program-suffix="-${EMACS_SUFFIX}" \
|
||||
--infodir="${EPREFIX}"/usr/share/info/${EMACS_SUFFIX} \
|
||||
--localstatedir="${EPREFIX}"/var \
|
||||
--enable-locallisppath="${EPREFIX}/etc/emacs:${EPREFIX}${SITELISP}" \
|
||||
--with-gameuser=":gamestat" \
|
||||
--without-compress-install \
|
||||
--with-file-notification=$(usev inotify || usev gfile || echo no) \
|
||||
$(use_enable acl) \
|
||||
$(use_with dbus) \
|
||||
$(use_with gpm) \
|
||||
$(use_with hesiod) \
|
||||
$(use_with kerberos) $(use_with kerberos kerberos5) \
|
||||
$(use_with libxml2 xml2) \
|
||||
$(use_with selinux) \
|
||||
$(use_with ssl gnutls) \
|
||||
$(use_with wide-int) \
|
||||
$(use_with zlib) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export SANDBOX_ON=0 # for the unbelievers, see Bug #131505
|
||||
emake
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake DESTDIR="${D}" NO_BIN_LINK=t install
|
||||
|
||||
mv "${ED}"/usr/bin/{emacs-${FULL_VERSION}-,}${EMACS_SUFFIX} \
|
||||
|| die "moving emacs executable failed"
|
||||
mv "${ED}"/usr/share/man/man1/{emacs-,}${EMACS_SUFFIX}.1 \
|
||||
|| die "moving emacs man page failed"
|
||||
|
||||
# move info dir to avoid collisions with the dir file generated by portage
|
||||
mv "${ED}"/usr/share/info/${EMACS_SUFFIX}/dir{,.orig} \
|
||||
|| die "moving info dir failed"
|
||||
touch "${ED}"/usr/share/info/${EMACS_SUFFIX}/.keepinfodir
|
||||
docompress -x /usr/share/info/${EMACS_SUFFIX}/dir.orig
|
||||
|
||||
# avoid collision between slots, see bug #169033 e.g.
|
||||
rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el
|
||||
rm -rf "${ED}"/usr/share/{appdata,applications,icons}
|
||||
rm -rf "${ED}"/var
|
||||
|
||||
# remove unused <version>/site-lisp dir
|
||||
rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp
|
||||
|
||||
# remove COPYING file (except for etc/COPYING used by describe-copying)
|
||||
rm "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp/COPYING
|
||||
|
||||
if use gzip-el; then
|
||||
# compress .el files when a corresponding .elc exists
|
||||
find "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp -type f \
|
||||
-name "*.elc" -print | sed 's/\.elc$/.el/' | xargs gzip -9n
|
||||
assert "gzip .el failed"
|
||||
fi
|
||||
|
||||
local cdir
|
||||
if use source; then
|
||||
cdir="/usr/share/emacs/${FULL_VERSION}/src"
|
||||
insinto "${cdir}"
|
||||
# This is not meant to install all the source -- just the
|
||||
# C source you might find via find-function
|
||||
doins src/*.{c,h,m}
|
||||
elif has installsources ${FEATURES}; then
|
||||
cdir="/usr/src/debug/${CATEGORY}/${PF}/${S#"${WORKDIR}/"}/src"
|
||||
fi
|
||||
|
||||
sed -e "${cdir:+#}/^Y/d" -e "s/^[XY]//" >"${T}/${SITEFILE}" <<-EOF
|
||||
X
|
||||
;;; ${PN}-${SLOT} site-lisp configuration
|
||||
X
|
||||
(when (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version)
|
||||
Y (setq find-function-C-source-directory
|
||||
Y "${EPREFIX}${cdir}")
|
||||
X (let ((path (getenv "INFOPATH"))
|
||||
X (dir "${EPREFIX}/usr/share/info/${EMACS_SUFFIX}")
|
||||
X (re "\\\\\`${EPREFIX}/usr/share/info\\\\>"))
|
||||
X (and path
|
||||
X ;; move Emacs Info dir before anything else in /usr/share/info
|
||||
X (let* ((p (cons nil (split-string path ":" t))) (q p))
|
||||
X (while (and (cdr q) (not (string-match re (cadr q))))
|
||||
X (setq q (cdr q)))
|
||||
X (setcdr q (cons dir (delete dir (cdr q))))
|
||||
X (setq Info-directory-list (prune-directory-list (cdr p)))))))
|
||||
EOF
|
||||
elisp-site-file-install "${T}/${SITEFILE}" || die
|
||||
|
||||
dodoc README BUGS CONTRIBUTE
|
||||
|
||||
if use aqua; then
|
||||
dodir /Applications/Gentoo
|
||||
rm -rf "${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app
|
||||
mv nextstep/Emacs.app \
|
||||
"${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app || die
|
||||
fi
|
||||
|
||||
DOC_CONTENTS="You can set the version to be started by /usr/bin/emacs
|
||||
through the Emacs eselect module, which also redirects man and info
|
||||
pages. Therefore, several Emacs versions can be installed at the
|
||||
same time. \"man emacs.eselect\" for details.
|
||||
\\n\\nIf you upgrade from Emacs version 24.2 or earlier, then it is
|
||||
strongly recommended that you use app-admin/emacs-updater to rebuild
|
||||
all byte-compiled elisp files of the installed Emacs packages."
|
||||
use X && DOC_CONTENTS+="\\n\\nYou need to install some fonts for Emacs.
|
||||
Installing media-fonts/font-adobe-{75,100}dpi on the X server's
|
||||
machine would satisfy basic Emacs requirements under X11.
|
||||
See also https://wiki.gentoo.org/wiki/Xft_support_for_GNU_Emacs
|
||||
for how to enable anti-aliased fonts."
|
||||
use aqua && DOC_CONTENTS+="\\n\\nEmacs${EMACS_SUFFIX#emacs}.app is in
|
||||
\"${EPREFIX}/Applications/Gentoo\". You may want to copy or symlink
|
||||
it into /Applications by yourself."
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# move Info dir file to correct name
|
||||
local infodir=/usr/share/info/${EMACS_SUFFIX} f
|
||||
if [[ -f ${ED}${infodir}/dir.orig ]]; then
|
||||
mv "${ED}"${infodir}/dir{.orig,} || die "moving info dir failed"
|
||||
elif [[ -d "${ED}"${infodir} ]]; then
|
||||
# this should not happen in EAPI 4
|
||||
ewarn "Regenerating Info directory index in ${infodir} ..."
|
||||
rm -f "${ED}"${infodir}/dir{,.*}
|
||||
for f in "${ED}"${infodir}/*; do
|
||||
if [[ ${f##*/} != *-[0-9]* && -e ${f} ]]; then
|
||||
install-info --info-dir="${ED}"${infodir} "${f}" \
|
||||
|| die "install-info failed"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elisp-site-regen
|
||||
readme.gentoo_print_elog
|
||||
|
||||
if use livecd; then
|
||||
# force an update of the emacs symlink for the livecd/dvd,
|
||||
# because some microemacs packages set it with USE=livecd
|
||||
eselect emacs update
|
||||
elif [[ $(readlink "${EROOT}"/usr/bin/emacs) = ${EMACS_SUFFIX} ]]; then
|
||||
# refresh symlinks in case any installed files have changed
|
||||
eselect emacs set ${EMACS_SUFFIX}
|
||||
else
|
||||
eselect emacs update ifunset
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
elisp-site-regen
|
||||
eselect emacs update ifunset
|
||||
}
|
|
@ -25,7 +25,8 @@ RDEPEND="${DEPEND}
|
|||
$(add_kdeapps_dep kdebase-data)
|
||||
$(add_kdeapps_dep konsolepart)
|
||||
|| (
|
||||
$(add_kdeapps_dep okular 'pdf?,postscript')
|
||||
kde-apps/okular[pdf?,postscript]
|
||||
app-text/evince
|
||||
app-text/acroread
|
||||
)
|
||||
virtual/latex-base
|
||||
|
@ -39,7 +40,10 @@ RDEPEND="${DEPEND}
|
|||
)
|
||||
png? (
|
||||
app-text/dvipng
|
||||
|| ( media-gfx/imagemagick[png] media-gfx/graphicsmagick[imagemagick,png] )
|
||||
|| (
|
||||
media-gfx/imagemagick[png]
|
||||
media-gfx/graphicsmagick[imagemagick,png]
|
||||
)
|
||||
)
|
||||
"
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ SRC_URI="http://homepage.boetes.org/software/mg/${P}.tar.gz"
|
|||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ~arm ~hppa ppc ~ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd"
|
||||
KEYWORDS="alpha amd64 ~arm hppa ppc ~ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="livecd"
|
||||
|
||||
RDEPEND="sys-libs/ncurses:0
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
DIST emacs-common-gentoo-1.5.tar.xz 40844 SHA256 fbec52de8552c6b22f56382a28d469d9346c02c7569c05cdb0db6a54b39995a1 SHA512 61ac2a1bb8bc449480137789f4d93228d81d2a7ea87a255a7fd82072ce98eecf5f585d102db95f0deda06102e27efbd5d9fce8cd21d6b58239f7a2b6d4ee4d55 WHIRLPOOL bb6d58d8afb55c9d6204f82553962190cd50f64d25ea5fb50308827f88ea3b1c42dc0e072155567391ffc7745b8871c733c9aee5042b57bfcbef5e5419d0b6cf
|
||||
DIST emacs-common-gentoo-1.6.tar.xz 61224 SHA256 7f43a198068abba9e0735f7dee3bb642dd1531e33563ded364751319bea8f9ec SHA512 a7daed2241d778ab283482ecc016801e25084eed10fcbbc50e187d5f842df5a0d278a77f94ae950b086c8651e8ca1a18f89c11dffdde9cf9168755288aae926a WHIRLPOOL 7112026dda683d6282807181e7a6e1d666c90df0858b63ae704db05b40ff59b10ab984dd066eeb91fc670cff71eb9bc94cac7b19571409ac166d53a6cec16e39
|
||||
|
|
114
app-emacs/emacs-common-gentoo/emacs-common-gentoo-1.6.ebuild
Normal file
114
app-emacs/emacs-common-gentoo/emacs-common-gentoo-1.6.ebuild
Normal file
|
@ -0,0 +1,114 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit elisp-common eutils fdo-mime gnome2-utils readme.gentoo-r1 user
|
||||
|
||||
DESCRIPTION="Common files needed by all GNU Emacs versions"
|
||||
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Emacs"
|
||||
SRC_URI="https://dev.gentoo.org/~ulm/emacs/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="games X"
|
||||
|
||||
PDEPEND="virtual/emacs"
|
||||
|
||||
pkg_setup() {
|
||||
use games && enewgroup gamestat 36
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "${SITELISP}"
|
||||
doins subdirs.el
|
||||
newins site-gentoo.el{,.orig}
|
||||
|
||||
keepdir /etc/emacs
|
||||
insinto /etc/emacs
|
||||
doins site-start.el
|
||||
|
||||
if use games; then
|
||||
keepdir /var/games/emacs
|
||||
fowners 0:gamestat /var/games/emacs
|
||||
fperms g+w /var/games/emacs
|
||||
fi
|
||||
|
||||
if use X; then
|
||||
local i
|
||||
domenu emacs.desktop emacsclient.desktop || die
|
||||
|
||||
pushd icons || die
|
||||
newicon sink.png emacs-sink.png
|
||||
newicon emacs25_48.png emacs.png
|
||||
for i in 16 24 32 48 128; do
|
||||
[[ ${i} -le 48 ]] && newicon -s ${i} emacs22_${i}.png emacs22.png
|
||||
newicon -s ${i} emacs23_${i}.png emacs23.png
|
||||
newicon -s ${i} emacs25_${i}.png emacs.png
|
||||
done
|
||||
doicon -s scalable emacs23.svg
|
||||
newicon -s scalable emacs25.svg emacs.svg
|
||||
popd
|
||||
|
||||
gnome2_icon_savelist
|
||||
fi
|
||||
|
||||
DOC_CONTENTS="All site initialisation for Gentoo-installed packages is
|
||||
added to ${SITELISP}/site-gentoo.el. In order for this site
|
||||
initialisation to be loaded for all users automatically, a default
|
||||
site startup file /etc/emacs/site-start.el is installed. You are
|
||||
responsible for maintenance of this file.
|
||||
\n\nAlternatively, individual users can add the following command:
|
||||
\n\n(require 'site-gentoo)
|
||||
\n\nto their ~/.emacs initialisation files, or, for greater
|
||||
flexibility, users may load single package-specific initialisation
|
||||
files from the ${SITELISP}/site-gentoo.d/ directory."
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# make sure that site-gentoo.el exists since site-start.el requires it
|
||||
if [[ ! -f ${ED}${SITELISP}/site-gentoo.el ]]; then #554518
|
||||
mv "${ED}${SITELISP}"/site-gentoo.el{.orig,} || die
|
||||
fi
|
||||
if [[ -d ${EROOT}${SITELISP} ]]; then
|
||||
elisp-site-regen
|
||||
cp "${EROOT}${SITELISP}/site-gentoo.el" "${ED}${SITELISP}/" || die
|
||||
fi
|
||||
|
||||
if use games; then
|
||||
local f
|
||||
for f in /var/games/emacs/{snake,tetris}-scores; do
|
||||
if [[ -e ${EROOT}${f} ]]; then
|
||||
cp "${EROOT}${f}" "${ED}${f}" || die
|
||||
fi
|
||||
touch "${ED}${f}" || die
|
||||
chgrp gamestat "${ED}${f}" || die
|
||||
chmod g+w "${ED}${f}" || die
|
||||
done
|
||||
|
||||
if has 1.4-r1 ${REPLACING_VERSIONS} \
|
||||
&& [[ -d ${EROOT}/var/games/emacs ]]; then
|
||||
elog "Updating owner and permissions of score file directory."
|
||||
chown 0:gamestat "${EROOT}"/var/games/emacs || die
|
||||
chmod 775 "${EROOT}"/var/games/emacs || die
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use X; then
|
||||
fdo-mime_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
fi
|
||||
readme.gentoo_print_elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if use X; then
|
||||
fdo-mime_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
fi
|
||||
}
|
|
@ -1 +1,2 @@
|
|||
DIST diskimage-builder-1.26.1.tar.gz 260140 SHA256 dd842a364124a59aaa3751fe178f8799c39e29badbc69d1459d2ed35b9042660 SHA512 698c97b7e016a87c2acd83d27400bd009e8148bb76efc737fae3344aa2c860fdf4060f1608eaa38566c24fa68c5fdbf51559ab64f9d9ef26d0adbe3a1b69325f WHIRLPOOL 83e86a6b5a1629041465be971657968fbdad3377ba9c3bb60ce29b2dd658165541f6e3b5a67eaa13727221e0a44032aafb26b30e042453e2a4c4e085cb26f3da
|
||||
DIST diskimage-builder-1.27.0.tar.gz 264590 SHA256 108e6fa41cbab88a018e43b19f5706b20a984b94131d6451876eedc26a26a892 SHA512 63e98c95452f9ddb9ae21f208b7dc840a9a10a02e9dee8d313cac531854b706f7662ea7b907f38a72c58d6ecdead324782d4cbda32fb7a4861b8c4bef9412a56 WHIRLPOOL 586b62729a5577a0ed804c7f457297e0624d1e491ab82ee95c29443ba46d5769814fded9ae88e2b6f7e2ec8d69b208851f24f26f04667717055944d296ccdb9f
|
||||
|
|
|
@ -0,0 +1,32 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Golden Disk Image builder."
|
||||
HOMEPAGE="http://docs.openstack.org/developer/diskimage-builder/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
CDEPEND=">=dev-python/pbr-1.8[${PYTHON_USEDEP}]"
|
||||
DEPEND="${CDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${CDEPEND}
|
||||
>=dev-python/Babel-2.3.4[${PYTHON_USEDEP}]
|
||||
dev-python/dib-utils[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-3.10.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/flake8-2.5.4[${PYTHON_USEDEP}]
|
||||
<dev-python/flake8-2.6.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-sphinx-4.7.0[${PYTHON_USEDEP}]
|
||||
app-emulation/qemu
|
||||
sys-block/parted
|
||||
sys-fs/multipath-tools"
|
79
app-emulation/xtrs/xtrs-4.9d-r4.ebuild
Normal file
79
app-emulation/xtrs/xtrs-4.9d-r4.ebuild
Normal file
|
@ -0,0 +1,79 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit flag-o-matic toolchain-funcs readme.gentoo-r1
|
||||
|
||||
DESCRIPTION="Radio Shack TRS-80 emulator"
|
||||
HOMEPAGE="http://www.tim-mann.org/xtrs.html"
|
||||
SRC_URI="http://www.tim-mann.org/trs80/${P}.tar.gz
|
||||
ls-dos? (
|
||||
http://www.tim-mann.org/trs80/ld4-631.zip
|
||||
https://dev.gentoo.org/~ulm/distfiles/ld4-631l.xd3
|
||||
)"
|
||||
|
||||
LICENSE="xtrs ls-dos? ( freedist )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
|
||||
IUSE="ls-dos"
|
||||
RESTRICT="ls-dos? ( bindist )"
|
||||
|
||||
RDEPEND="sys-libs/ncurses:0=
|
||||
sys-libs/readline:0=
|
||||
x11-libs/libX11"
|
||||
DEPEND="${RDEPEND}
|
||||
ls-dos? ( app-arch/unzip dev-util/xdelta:3 )"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's/$(CC) -o/$(CC) $(LDFLAGS) -o/' Makefile || die
|
||||
eapply_user
|
||||
if use ls-dos; then
|
||||
cd "${WORKDIR}" || die
|
||||
xdelta3 -d -s ld4-631.dsk "${DISTDIR}"/ld4-631l.xd3 out.dsk || die
|
||||
mv out.dsk ld4-631.dsk || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
case $(tc-endian) in
|
||||
little) ;;
|
||||
big) append-flags -Dbig_endian ;;
|
||||
*) die ;;
|
||||
esac
|
||||
emake CC="$(tc-getCC)" DEBUG="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /usr/bin /usr/share/xtrs/disks /usr/share/man/man1
|
||||
emake PREFIX="${D}"/usr install
|
||||
|
||||
insopts -m0444
|
||||
insinto /usr/share/xtrs/disks
|
||||
doins cpmutil.dsk utility.dsk
|
||||
|
||||
if use ls-dos; then
|
||||
doins "${WORKDIR}"/ld4-631.dsk
|
||||
dosym disks/ld4-631.dsk /usr/share/xtrs/disk4p-0
|
||||
dosym disks/utility.dsk /usr/share/xtrs/disk4p-1
|
||||
fi
|
||||
|
||||
dodoc ChangeLog README xtrsrom4p.README cpmutil.html dskspec.html
|
||||
|
||||
DOC_CONTENTS="For copyright reasons, xtrs does not include actual ROM
|
||||
images. Because of this, unless you supply your own ROM, xtrs will
|
||||
not function in any mode except 'Model 4p' mode (a minimal free ROM
|
||||
is included for this), which can be run like this:
|
||||
\n\nxtrs -model 4p -diskdir /usr/share/xtrs
|
||||
\n\nIf you already own a copy of the ROM software (e.g., if you have
|
||||
a TRS-80 with this ROM), then you can make yourself a copy of this
|
||||
for use with xtrs, using utilities available on the web. To load
|
||||
your own ROM, specify the '-romfile' option, or the 'Xtrs.romfile'
|
||||
X resource. ROM files can be in Intel hex or binary format."
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
readme.gentoo_print_elog
|
||||
}
|
|
@ -1,3 +1 @@
|
|||
DIST enca-1.13.tar.bz2 532000 SHA256 6c091455d524b3ddae3533fe9bb375092f60ad6fe252e0777c873bd7869c7432 SHA512 7c5cb7b28eea271c4c94135082c1aa3f312bf790aaa4f51c954fd87ed734fae04ec07be99b20e7dfa3a668349c17d97f1eeea1ee553f9b841e74bfafc5a5906a WHIRLPOOL 0080ce92c22c5ad8b34eea767133602d73e3ebcbcb5084794e5e5da37edceab1bba9785f3884aa5c84749be89116eecf7bc59faa0ebb7118e97411f97e97e4a8
|
||||
DIST enca-1.14.tar.bz2 560982 SHA256 7f33e3953fbbdac8ed144b31bbab1bb3bf181150db6ba4cd812fd958ce5f4b58 SHA512 9d0582cc8187f3e868339c3e13ca2c654359b240dd564b64a31615aeffb0ec7ae025659576cc72f6cab73b0bfa22286060f665f2c952f8dfe702cf97a39d2245 WHIRLPOOL 921038e3c6a612b38820d7314a7afe83c231e48396cd801dcbeb3f64afe157b0b5009ada00ae59f35ee4a882c4a40f46ac3346139c99da00611b073b561cfbee
|
||||
DIST enca-1.19.tar.xz 465412 SHA256 3a487eca40b41021e2e4b7a6440b97d822e6532db5464471f572ecf77295e8b8 SHA512 6678639992685180457bbef7b0da6e475071ec6935dfd672188fc242ef80b906e75eff9a206e07989893d0ef4ae5eb500f1d0bbd6b4d58146c94bb143b5fb296 WHIRLPOOL 56a4ed0027ae2f68d769f1bf3201b57127be5b7e42ca35fa2e92dd755cf0691163ec0fbc7cdee57e6a2b528b36d0471bdd1666a42224e82e1d157b4f92598c1d
|
||||
|
|
|
@ -1,52 +0,0 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
|
||||
AUTOTOOLS_AUTORECONF=2.52
|
||||
inherit eutils toolchain-funcs autotools-utils
|
||||
|
||||
DESCRIPTION="ENCA detects the character coding of a file and converts it if desired"
|
||||
HOMEPAGE="http://gitorious.org/enca"
|
||||
SRC_URI="http://dl.cihar.com/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="doc +recode"
|
||||
|
||||
DEPEND="recode? ( >=app-text/recode-3.6_p15 )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-remove-dirty-path-hack.patch
|
||||
# fix crosscompilation, bug #424473
|
||||
if tc-is-cross-compiler; then
|
||||
sed -e "s#./make_hash#./native_make_hash#" -i tools/Makefile.am || die
|
||||
fi
|
||||
autotools-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--enable-external
|
||||
--disable-static
|
||||
$(use_with recode librecode "${EPREFIX}"/usr)
|
||||
$(use_enable doc gtk-doc)
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if tc-is-cross-compiler; then
|
||||
pushd "${AUTOTOOLS_BUILD_DIR}"/tools > /dev/null
|
||||
$(tc-getBUILD_CC) -o native_make_hash "${S}"/tools/make_hash.c || die "native make_hash failed"
|
||||
popd > /dev/null
|
||||
fi
|
||||
autotools-utils_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-utils_src_install
|
||||
}
|
|
@ -1,58 +0,0 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
|
||||
AUTOTOOLS_AUTORECONF=2.52
|
||||
|
||||
inherit eutils toolchain-funcs autotools-multilib
|
||||
|
||||
DESCRIPTION="ENCA detects the character coding of a file and converts it if desired"
|
||||
HOMEPAGE="http://gitorious.org/enca"
|
||||
SRC_URI="http://dl.cihar.com/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ~ppc64 ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="doc +recode"
|
||||
|
||||
DEPEND="recode? ( >=app-text/recode-3.6_p15 )
|
||||
sys-devel/gettext"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-remove-dirty-path-hack.patch
|
||||
epatch "${FILESDIR}"/${P}-automake-1.13.patch
|
||||
rm missing # too old, automake will update it
|
||||
# fix crosscompilation, bug #424473
|
||||
if tc-is-cross-compiler; then
|
||||
sed -e "s#./make_hash#./native_make_hash#" -i tools/Makefile.am || die
|
||||
fi
|
||||
autotools-multilib_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--enable-external
|
||||
--disable-static
|
||||
$(use_with recode librecode "${EPREFIX}"/usr)
|
||||
$(use_enable doc gtk-doc)
|
||||
)
|
||||
autotools-multilib_src_configure
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
if tc-is-cross-compiler; then
|
||||
pushd "${BUILD_DIR}"/tools > /dev/null
|
||||
$(tc-getBUILD_CC) -o native_make_hash "${S}"/tools/make_hash.c || die "native make_hash failed"
|
||||
popd > /dev/null
|
||||
fi
|
||||
# It will fail if we run these twice...
|
||||
if ! multilib_is_native_abi ; then
|
||||
sed -i -e 's/ src / /' Makefile || die
|
||||
sed -i -e '/SUBDIRS/s/ test//' Makefile || die
|
||||
sed -i -e 's/install-data-hook:/install-data-hook:\n\ndisabled:/' Makefile || die
|
||||
fi
|
||||
autotools-utils_src_compile
|
||||
}
|
|
@ -1,59 +0,0 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
AUTOTOOLS_AUTORECONF=2.52
|
||||
|
||||
inherit eutils toolchain-funcs autotools-multilib
|
||||
|
||||
DESCRIPTION="ENCA detects the character coding of a file and converts it if desired"
|
||||
HOMEPAGE="http://gitorious.org/enca"
|
||||
SRC_URI="http://dl.cihar.com/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~mips ~ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="doc +recode"
|
||||
|
||||
RDEPEND="recode? ( >=app-text/recode-3.6_p15 )"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/gettext"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-remove-dirty-path-hack.patch \
|
||||
"${FILESDIR}"/${P}-automake-1.13.patch \
|
||||
"${FILESDIR}"/${P}-gcc4.8-avx-bug.patch
|
||||
rm missing # too old, automake will update it
|
||||
# fix crosscompilation, bug #424473
|
||||
if tc-is-cross-compiler; then
|
||||
sed -e "s#./make_hash#./native_make_hash#" -i tools/Makefile.am || die
|
||||
fi
|
||||
autotools-multilib_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--enable-external
|
||||
--disable-static
|
||||
$(use_with recode librecode "${EPREFIX}"/usr)
|
||||
$(use_enable doc gtk-doc)
|
||||
)
|
||||
autotools-multilib_src_configure
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
if tc-is-cross-compiler; then
|
||||
pushd "${BUILD_DIR}"/tools > /dev/null
|
||||
$(tc-getBUILD_CC) -o native_make_hash "${S}"/tools/make_hash.c || die "native make_hash failed"
|
||||
popd > /dev/null
|
||||
fi
|
||||
# It will fail if we run these twice...
|
||||
if ! multilib_is_native_abi ; then
|
||||
sed -i -e 's/ src / /'\
|
||||
-e '/SUBDIRS/s/ test//' Makefile\
|
||||
-e 's/install-data-hook:/install-data-hook:\n\ndisabled:/' Makefile || die
|
||||
fi
|
||||
autotools-utils_src_compile
|
||||
}
|
|
@ -12,7 +12,7 @@ SRC_URI="https://dl.cihar.com/${PN}/${P}.tar.xz"
|
|||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="doc +iconv recode static-libs"
|
||||
|
||||
RDEPEND="
|
||||
|
|
|
@ -1,34 +0,0 @@
|
|||
diff --git a/configure.ac b/configure.ac
|
||||
index 956763d..6a624ab 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -24,7 +24,7 @@ AC_CONFIG_FILES( \
|
||||
test/Makefile \
|
||||
tools/Makefile)
|
||||
|
||||
-AM_CONFIG_HEADER(config.h)
|
||||
+AC_CONFIG_HEADERS(config.h)
|
||||
AM_INIT_AUTOMAKE([1.8 gnits check-news dist-bzip2])
|
||||
AM_ACLOCAL_INCLUDE(m4)
|
||||
AM_MAINTAINER_MODE
|
||||
@@ -40,7 +40,7 @@ AC_GNU_SOURCE
|
||||
AC_AIX
|
||||
AC_ISC_POSIX
|
||||
AC_PROG_LIBTOOL
|
||||
-AM_PROG_CC_STDC
|
||||
+AC_PROG_CC
|
||||
AM_PROG_CC_C_O
|
||||
AC_PROG_INSTALL
|
||||
AC_PROG_LN_S
|
||||
diff --git a/m4/typevar.m4 b/m4/typevar.m4
|
||||
index ce9578d..66077eb 100644
|
||||
--- a/m4/typevar.m4
|
||||
+++ b/m4/typevar.m4
|
||||
@@ -6,7 +6,6 @@
|
||||
## defined in errno.h
|
||||
AC_DEFUN([ye_CHECK_VAR_PROGRAM_INVOCATION_SHORT_NAME],
|
||||
[AC_REQUIRE([AC_PROG_CC])dnl
|
||||
-AC_REQUIRE([AM_PROG_CC_STDC])dnl
|
||||
dnl
|
||||
|
||||
dnl Check for program_invocation_short_name (present on GNU systems only?)
|
|
@ -1,15 +0,0 @@
|
|||
Avoid gcc-4.8.4 bug when built with -O3 -march=core-avx2
|
||||
https://bugs.gentoo.org/501386
|
||||
diff --git a/lib/multibyte.c b/lib/multibyte.c
|
||||
index d0d0680..d511f88 100644
|
||||
--- a/lib/multibyte.c
|
||||
+++ b/lib/multibyte.c
|
||||
@@ -520,7 +520,7 @@ looks_like_ucs2(EncaAnalyserState *analyser)
|
||||
static int
|
||||
looks_like_ucs4(EncaAnalyserState *analyser)
|
||||
{
|
||||
- static const EncaSurface PERMS[] = {
|
||||
+ /*static*/ const EncaSurface PERMS[] = {
|
||||
ENCA_SURFACE_PERM_4321,
|
||||
ENCA_SURFACE_PERM_21
|
||||
};
|
|
@ -1,19 +0,0 @@
|
|||
diff -Naur enca-1.13.orig//configure.ac enca-1.13/configure.ac
|
||||
--- enca-1.13.orig//configure.ac 2010-02-09 05:23:03.000000000 -0500
|
||||
+++ enca-1.13/configure.ac 2012-06-29 18:04:51.000000000 -0400
|
||||
@@ -97,15 +97,6 @@
|
||||
dnl Check for good random number sources
|
||||
AC_CHECK_FILES(/dev/random /dev/urandom /dev/srandom /dev/arandom)
|
||||
|
||||
-dnl Dirty path hack. Helps some people with badly set up search paths.
|
||||
-if test "$prefix" = "NONE"; then
|
||||
- LDFLAGS="$LDFLAGS -L$ac_default_prefix/lib"
|
||||
- CPPFLAGS="$CPPFLAGS -I$ac_default_prefix/include"
|
||||
-else
|
||||
- LDFLAGS="$LDFLAGS -L$prefix/lib"
|
||||
- CPPFLAGS="$CPPFLAGS -I$prefix/include"
|
||||
-fi
|
||||
-
|
||||
dnl Checks for libraries.
|
||||
ye_CHECK_LIBM
|
||||
|
|
@ -1,3 +1,2 @@
|
|||
DIST opencc-0.3.0_pre20120819.tar.xz 363528 SHA256 3ed46594547b86f1326b07c3ea910148b1c58b74c9d21c8d4e11ec30e2254fae SHA512 0ca231b5fd7b314111a76bfaa8e288fc2d43e02dbbb2a7c7e9312c1f1f0aed1a0d3b67b04b0cc3634d1b48b8fe6983e6219db053f3a2114abadec1af00b9f8d5 WHIRLPOOL 268d331479bffefdc6e1f58600422a36a32abb7d4dd873eeb216977daca05f4a4775ca547bb301bc16ea8fc702ef04cfd5d8f88c90d10e224a585575129e67c6
|
||||
DIST opencc-0.4.3.tar.gz 535151 SHA256 7bdcf9e38ac05a16750d5276494d810db107c8a8b5f8b87e2357ee167a13a587 SHA512 ac31c3c018467cf047e077d399903560feb0f8c214accd1ef45d0b1477d011af8e9bf2dbde4497c133daef61b6508460e9b2b04c0b5f336c2d67fc840a1d07e6 WHIRLPOOL 316857e7720e962c9fde27c04327c0c6b5137ca7290b170cc1ead86dcd0c6f14202ac2386f6e565ad12ebca99c939a511447902054792203edeabed88e149a2e
|
||||
DIST opencc-1.0.4.tar.gz 1597309 SHA256 0553b7461ebd379d118d45d7f40f8a6e272750115bdbc49267595a05ee3481ac SHA512 682cc621fddb6495f26675863faefe7c9f584d2c60676cee0a3ff2120828a09a5e71671f5537030c2cc874f55b7f22af70d9d376f17b83e30cb04dcd5f6bba8a WHIRLPOOL 964180d27db85df6ffb4310ea6cae7b6c294c163bce68d05a5a21e8e736be6c11b44f8a2a856481b47e14c8c1104d244fc294259cbfa2f3160912743ac933cd6
|
||||
|
|
|
@ -1,36 +0,0 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit cmake-utils multilib eutils
|
||||
|
||||
DESCRIPTION="Libraries for conversion between Traditional and Simplified Chinese"
|
||||
HOMEPAGE="https://github.com/BYVoid/OpenCC"
|
||||
SRC_URI="https://opencc.googlecode.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
|
||||
IUSE="+nls static-libs"
|
||||
|
||||
DEPEND="nls? ( sys-devel/gettext )"
|
||||
RDEPEND="nls? ( virtual/libintl )"
|
||||
|
||||
DOCS="AUTHORS NEWS.md README.md"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
"$(cmake-utils_use_enable nls GETTEXT)"
|
||||
-DCMAKE_INSTALL_LIBDIR="${EPREFIX}"/usr/$(get_libdir)
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
use static-libs || find "${ED}" -name '*.la' -o -name '*.a' -exec rm {} +
|
||||
}
|
|
@ -12,7 +12,7 @@ SRC_URI="https://github.com/BYVoid/OpenCC/archive/ver.${PV}.tar.gz -> ${P}.tar.g
|
|||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~hppa ~ppc ~ppc64 x86"
|
||||
KEYWORDS="amd64 hppa ~ppc ppc64 x86"
|
||||
IUSE="doc static-libs"
|
||||
|
||||
DEPEND="doc? ( app-doc/doxygen )"
|
||||
|
|
|
@ -101,7 +101,9 @@ src_configure() {
|
|||
|
||||
src_install() {
|
||||
# Parallel installation fails from time to time, bug #359123
|
||||
gnome2_src_install -j1 GNC_DOC_INSTALL_DIR=/usr/share/doc/${PF}
|
||||
# Usually reproducible after removing any gnucash installed copy
|
||||
MAKEOPTS="${MAKEOPTS} -j1" GNC_DOC_INSTALL_DIR=/usr/share/doc/${PF} \
|
||||
gnome2_src_install
|
||||
|
||||
rm -rf "${ED}"/usr/share/doc/${PF}/{examples/,COPYING,INSTALL,*win32-bin.txt,projects.html}
|
||||
mv "${ED}"/usr/share/doc/${PF} "${T}"/cantuseprepalldocs || die
|
||||
|
|
|
@ -102,7 +102,9 @@ src_configure() {
|
|||
|
||||
src_install() {
|
||||
# Parallel installation fails from time to time, bug #359123
|
||||
gnome2_src_install -j1 GNC_DOC_INSTALL_DIR=/usr/share/doc/${PF}
|
||||
# Usually reproducible after removing any gnucash installed copy
|
||||
MAKEOPTS="${MAKEOPTS} -j1" GNC_DOC_INSTALL_DIR=/usr/share/doc/${PF} \
|
||||
gnome2_src_install
|
||||
|
||||
rm -rf "${ED}"/usr/share/doc/${PF}/{examples/,COPYING,INSTALL,*win32-bin.txt,projects.html}
|
||||
mv "${ED}"/usr/share/doc/${PF} "${T}"/cantuseprepalldocs || die
|
||||
|
|
|
@ -11,7 +11,7 @@ inherit readme.gentoo python-single-r1
|
|||
DESCRIPTION="AsciiDoc is a plain text human readable/writable document format"
|
||||
HOMEPAGE="http://asciidoc.org/"
|
||||
SRC_URI="mirror://sourceforge/project/${PN}/${PN}/${PV}/${P}.tar.gz"
|
||||
KEYWORDS="alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
||||
KEYWORDS="alpha amd64 arm ~arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby20 ruby21 ruby22"
|
||||
USE_RUBY="ruby21 ruby22 ruby23"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
|
@ -21,10 +21,12 @@ IUSE=""
|
|||
|
||||
ruby_add_rdepend "dev-ruby/json:*"
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/webmock )"
|
||||
ruby_add_bdepend "test? ( dev-ruby/webmock:0 )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Avoid failing test (due to webmock version?)
|
||||
# We did not run any tests previously
|
||||
rm -f spec/shorten_spec.rb || die
|
||||
|
||||
sed -i -e '1igem "webmock", "~>1.0"' spec/spec_helper.rb || die
|
||||
}
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
DIST webgen-1.3.0.gem 198656 SHA256 0e50e515d1cd0f07b8d1bb72735b7a8fa162906d36541f9bcf10c41d2b1695a6 SHA512 921ffe9788ccf719eab7e8225b328990762ff04e928fbc699d4ab40170b437b54fe526887fd0de7209c6b7c2f50e0791ffe88eaebd73f77ef5a3df4c2235ba11 WHIRLPOOL be0bc1d3d1189847548b4aae83811d5f429badb724d21f5880c67d06d4ca21b7ca668c02f3b879344a123e5f2ed9f0cd949ab4c2c99002e0444360c09ddecb9b
|
||||
DIST webgen-1.4.0.gem 200192 SHA256 76be494c1eee2d1afdbff9f9d8f5bab694f5700c6c6573e7f7b9f850726271cb SHA512 4f18c247b96a159925769c44379e8fce1ff55d4a901f55e81ba102cb57b4a59c5f7428c491391f23fab4450dc3884463924274e34d4c40fe9487efbe25e4fac1 WHIRLPOOL 3ff7522acbd2a792d7d39f18bd07bc78351537a11efe5ef6f0ef41e7516ac68221d9c708fd34e1857d77b6d924306565a1bad194427619c5755df09e62c057e2
|
||||
|
|
|
@ -1,39 +0,0 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="htmldoc/rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOC="AUTHORS THANKS"
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="data"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A template-based static website generator"
|
||||
HOMEPAGE="http://webgen.gettalong.org"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="builder highlight markdown"
|
||||
|
||||
ruby_add_bdepend "doc? ( dev-ruby/rdoc )
|
||||
test? ( dev-ruby/kramdown
|
||||
dev-ruby/minitest:5
|
||||
dev-ruby/rdiscount
|
||||
>=dev-ruby/sass-3.2:0 )"
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/cmdparse-2.0.0:0
|
||||
dev-ruby/systemu
|
||||
dev-ruby/kramdown
|
||||
builder? ( >=dev-ruby/builder-2.1.0 )
|
||||
highlight? ( >=dev-ruby/coderay-0.8.312 )
|
||||
markdown? ( dev-ruby/maruku )"
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
doman man/man1/webgen.1
|
||||
}
|
|
@ -10,7 +10,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
|||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ~arm ~hppa ~mips ppc ppc64 sparc x86 ~x86-fbsd"
|
||||
KEYWORDS="alpha amd64 ~arm hppa ~mips ppc ppc64 sparc x86 ~x86-fbsd"
|
||||
IUSE="static-libs"
|
||||
|
||||
RDEPEND=""
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
DIST Firebird-2.5.3.26780-0.tar.bz2 13798872 SHA256 0c4b500d189aa9b4c12a7d2cf310a0b770118967c37ebe0edf8581cbcdad7aad SHA512 b8a0bef492d15739ea9a156225ac738687241a11571ce52ee6c644e5017dcff03007945aeb19b0537aadd1de01b339645871ff1905edf41c65679db377c69e98 WHIRLPOOL 0321763e79882dcdd2175191e1cbf6c82d656bb16e5ebd4a3bf0f08c77ee0494f06ffb08205b583c4a9990c33d652ac2fa73683e4c7ccebe900236975c8d60a5
|
||||
DIST Firebird-2.5.6.27020-0.tar.bz2 13610463 SHA256 8e416f2f9a8f1fce2aa872925ca2016010878265ec56fe0a32a73e0080378826 SHA512 db336877bf53503f882f18fbd4c1ef080543d617432c48340a3ac2a9970d960e99d1ca76609c0b3037b2f457ac7c6e23f119e618919b86b52cff89db8aaf3062 WHIRLPOOL c6264f68e917def39eb1ea2ce167e24e6a5903593cb174da656ea7739fbef6ea0a5928a68c772336df10e69440f0cdb6a37c09c98cee6898a43b2f9dc85af671
|
||||
DIST ib_b60_doc.zip 10530848 SHA256 8c0158678b2a2fe3ba3abfea1f5487fc5af2644d66837ab8a558f5ad6b6cfd6d SHA512 59eccf1d6b1f0410eddbc5967fd77a3d00e09749640b3f81e2f8b624f5a45461dffad4af5ec61488e941fb3d3af266fe86c0b56e6b7e023239537cb6557a145a WHIRLPOOL 5c3e17eec64d835bac8832a51acefe04c3a5ff818d1d1e69a032bae1a730fd73996a2be073d2e22bcd4ad4ee1ba2247da8271cd3a03c0326acf46eef1073033f
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
diff -Naur Firebird-2.5.5.26952-0_orig/src/burp/burp.cpp Firebird-2.5.5.26952-0/src/burp/burp.cpp
|
||||
--- Firebird-2.5.5.26952-0_orig/src/burp/burp.cpp 2016-03-01 16:46:48.418536462 -0500
|
||||
+++ Firebird-2.5.5.26952-0/src/burp/burp.cpp 2016-03-01 16:48:19.511690164 -0500
|
||||
@@ -460,7 +460,7 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
- BURP_print(true, 137, sw.c_str());
|
||||
+ BURP_error(137, true, sw.c_str());
|
||||
// msg 137 unknown switch %s
|
||||
}
|
||||
}
|
284
dev-db/firebird/firebird-2.5.6.27020.0.ebuild
Normal file
284
dev-db/firebird/firebird-2.5.6.27020.0.ebuild
Normal file
|
@ -0,0 +1,284 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools flag-o-matic user versionator
|
||||
|
||||
MY_P=${PN/f/F}-$(replace_version_separator 4 -)
|
||||
|
||||
DESCRIPTION="Relational database offering many ANSI SQL:2003 and some SQL:2008 features"
|
||||
HOMEPAGE="https://www.firebirdsql.org/"
|
||||
SRC_URI="
|
||||
mirror://sourceforge/firebird/${MY_P}.tar.bz2
|
||||
doc? ( ftp://ftpc.inprise.com/pub/interbase/techpubs/ib_b60_doc.zip )"
|
||||
|
||||
LICENSE="IDPL Interbase-1.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="debug doc examples +superserver xinetd"
|
||||
REQUIRED_USE="?? ( superserver xinetd )"
|
||||
|
||||
CDEPEND="
|
||||
dev-libs/icu:=
|
||||
dev-libs/libedit
|
||||
"
|
||||
DEPEND="${CDEPEND}
|
||||
>=dev-util/btyacc-3.0-r2
|
||||
doc? ( app-arch/unzip )
|
||||
"
|
||||
RDEPEND="${CDEPEND}
|
||||
xinetd? ( virtual/inetd )
|
||||
!sys-cluster/ganglia
|
||||
"
|
||||
|
||||
RESTRICT="userpriv"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.5.3.26780.0-deps-flags.patch
|
||||
"${FILESDIR}"/${P}-CVE-2016-1569.patch
|
||||
)
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup firebird 450
|
||||
enewuser firebird 450 /bin/sh /usr/$(get_libdir)/firebird firebird
|
||||
}
|
||||
|
||||
check_sed() {
|
||||
MSG="sed of $3, required $2 line(s) modified $1"
|
||||
einfo "${MSG}"
|
||||
[[ $1 -ge $2 ]] || die "${MSG}"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack "${MY_P}.tar.bz2"
|
||||
if use doc; then
|
||||
# Unpack docs
|
||||
mkdir "manuals" || die
|
||||
cd "manuals" || die
|
||||
unpack ib_b60_doc.zip
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
! use xinetd && eapply "${FILESDIR}"/${PN}-2.5.1.26351.0-superclassic.patch
|
||||
|
||||
default
|
||||
|
||||
# Rename references to isql to fbsql
|
||||
# sed vs patch for portability and addtional location changes
|
||||
check_sed "$(sed -i -e 's:"isql :"fbsql :w /dev/stdout' \
|
||||
src/isql/isql.epp | wc -l)" "1" "src/isql/isql.epp" # 1 line
|
||||
check_sed "$(sed -i -e 's:isql :fbsql :w /dev/stdout' \
|
||||
src/msgs/history2.sql | wc -l)" "4" "src/msgs/history2.sql" # 4 lines
|
||||
check_sed "$(sed -i -e 's:--- ISQL:--- FBSQL:w /dev/stdout' \
|
||||
-e 's:isql :fbsql :w /dev/stdout' \
|
||||
-e 's:ISQL :FBSQL :w /dev/stdout' \
|
||||
src/msgs/messages2.sql | wc -l)" "6" "src/msgs/messages2.sql" # 6 lines
|
||||
|
||||
# Fix libfbintl SONAME which clashes with libintl
|
||||
check_sed "$(sed -i -e \
|
||||
's:LIB_LINK_SONAME,libintl.\$(SHRLIB_EXT):LIB_LINK_SONAME,libfbintl.\$(SHRLIB_EXT):w /dev/stdout' \
|
||||
builds/posix/make.defaults | wc -l)" "1" "builds/posix/make.defaults" # 1 line
|
||||
|
||||
find "${S}" -name \*.sh -exec chmod +x {} + || die
|
||||
rm -r "${S}"/extern/{btyacc,editline,icu} || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
filter-flags -fprefetch-loop-arrays
|
||||
filter-mfpmath sse
|
||||
|
||||
econf \
|
||||
--prefix=/usr/$(get_libdir)/firebird \
|
||||
$(use_enable superserver) \
|
||||
$(use_enable debug) \
|
||||
--with-editline \
|
||||
--with-system-editline \
|
||||
--with-system-icu \
|
||||
--with-fbbin=/usr/bin \
|
||||
--with-fbsbin=/usr/sbin \
|
||||
--with-fbconf=/etc/${PN} \
|
||||
--with-fblib=/usr/$(get_libdir) \
|
||||
--with-fbinclude=/usr/include \
|
||||
--with-fbdoc=/usr/share/doc/${P} \
|
||||
--with-fbudf=/usr/$(get_libdir)/${PN}/UDF \
|
||||
--with-fbsample=/usr/share/doc/${P}/examples \
|
||||
--with-fbsample-db=/usr/share/doc/${P}/examples/db \
|
||||
--with-fbhelp=/usr/$(get_libdir)/${PN}/help \
|
||||
--with-fbintl=/usr/$(get_libdir)/${PN}/intl \
|
||||
--with-fbmisc=/usr/share/${PN} \
|
||||
--with-fbsecure-db=/etc/${PN} \
|
||||
--with-fbmsg=/usr/$(get_libdir)/${PN} \
|
||||
--with-fblog=/var/log/${PN}/ \
|
||||
--with-fbglock=/var/run/${PN} \
|
||||
--with-fbplugins=/usr/$(get_libdir)/${PN}/plugins \
|
||||
--with-gnu-ld \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
MAKEOPTS="${MAKEOPTS/-j*/-j1} ${MAKEOPTS/-j/CPU=}"
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "gen/${PN}" || die
|
||||
|
||||
if use doc; then
|
||||
dodoc "${S}"/doc/*.pdf
|
||||
find "${WORKDIR}"/manuals -type f -iname "*.pdf" -exec dodoc '{}' + || die
|
||||
fi
|
||||
|
||||
doheader include/*
|
||||
|
||||
rm lib/libfbstatic.a || die "failed to remove libfbstatic.a"
|
||||
|
||||
insinto /usr/$(get_libdir)
|
||||
dolib.so lib/*.so*
|
||||
|
||||
# links for backwards compatibility
|
||||
dosym libfbclient.so /usr/$(get_libdir)/libgds.so
|
||||
dosym libfbclient.so /usr/$(get_libdir)/libgds.so.0
|
||||
dosym libfbclient.so /usr/$(get_libdir)/libfbclient.so.1
|
||||
|
||||
insinto /usr/$(get_libdir)/${PN}
|
||||
doins *.msg
|
||||
|
||||
einfo "Renaming isql -> fbsql"
|
||||
mv bin/isql bin/fbsql || die "failed to rename isql -> fbsql"
|
||||
|
||||
local bins="fbsql fbsvcmgr fbtracemgr gbak gdef gfix gpre gsec gstat nbackup qli"
|
||||
for bin in ${bins}; do
|
||||
dobin bin/${bin}
|
||||
done
|
||||
|
||||
dosbin bin/fb_lock_print
|
||||
# SuperServer
|
||||
if use superserver ; then
|
||||
dosbin bin/{fbguard,fbserver}
|
||||
# ClassicServer
|
||||
elif use xinetd ; then
|
||||
dosbin bin/fb_inet_server
|
||||
# SuperClassic
|
||||
else
|
||||
dosbin bin/{fbguard,fb_smp_server}
|
||||
|
||||
#Temp should not be necessary, need to patch/fix
|
||||
dosym ../../libib_util.so /usr/$(get_libdir)/${PN}/lib/libib_util.so
|
||||
fi
|
||||
|
||||
exeinto /usr/bin/${PN}
|
||||
exeopts -m0755
|
||||
doexe bin/{changeRunUser,restoreRootRunUser,changeDBAPassword}.sh
|
||||
|
||||
insinto /usr/$(get_libdir)/${PN}/help
|
||||
doins help/help.fdb
|
||||
|
||||
exeinto /usr/$(get_libdir)/firebird/intl
|
||||
dolib.so intl/libfbintl.so
|
||||
dosym ../../libfbintl.so /usr/$(get_libdir)/${PN}/intl/fbintl
|
||||
dosym libfbintl.so /usr/$(get_libdir)/libfbintl.so.1
|
||||
dosym /etc/firebird/fbintl.conf /usr/$(get_libdir)/${PN}/intl/fbintl.conf
|
||||
|
||||
exeinto /usr/$(get_libdir)/${PN}/plugins
|
||||
dolib.so plugins/libfbtrace.so
|
||||
dosym ../../libfbtrace.so /usr/$(get_libdir)/${PN}/plugins/libfbtrace.so
|
||||
dosym libfbtrace.so /usr/$(get_libdir)/libfbtrace.so.0
|
||||
|
||||
exeinto /usr/$(get_libdir)/${PN}/UDF
|
||||
doexe UDF/*.so
|
||||
|
||||
insinto /usr/share/${PN}/upgrade
|
||||
doins -r "${S}"/src/misc/upgrade/v2/*
|
||||
|
||||
insinto /etc/${PN}
|
||||
insopts -m0644 -o firebird -g firebird
|
||||
doins ../install/misc/*.conf
|
||||
insopts -m0660 -o firebird -g firebird
|
||||
doins security2.fdb
|
||||
|
||||
if use xinetd ; then
|
||||
insinto /etc/xinetd.d
|
||||
newins "${FILESDIR}/${PN}.xinetd" ${PN}
|
||||
else
|
||||
newinitd "${FILESDIR}/${PN}.init.d.2.5" ${PN}
|
||||
newconfd "${FILESDIR}/${PN}.conf.d.2.5" ${PN}
|
||||
fperms 640 /etc/conf.d/${PN}
|
||||
fi
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/${PN}.logrotate" ${PN}
|
||||
fperms 0644 /etc/logrotate.d/${PN}
|
||||
|
||||
diropts -m 755 -o firebird -g firebird
|
||||
dodir /var/log/${PN}
|
||||
keepdir /var/log/${PN}
|
||||
|
||||
use examples && docinto examples
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Hack to fix ownership/perms
|
||||
chown -fR firebird:firebird "${ROOT}/etc/${PN}" "${ROOT}/usr/$(get_libdir)/${PN}"
|
||||
chmod 750 "${ROOT}/etc/${PN}"
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
# if found /etc/security.gdb from previous install, backup, and restore as
|
||||
# /etc/security2.fdb
|
||||
if [[ -f "${ROOT}/etc/firebird/security.gdb" ]] ; then
|
||||
# if we have scurity2.fdb already, back it 1st
|
||||
if [[ -f "${ROOT}/etc/firebird/security2.fdb" ]] ; then
|
||||
cp "${ROOT}/etc/firebird/security2.fdb" "${ROOT}/etc/firebird/security2.fdb.old" || die
|
||||
fi
|
||||
gbak -B "${ROOT}/etc/firebird/security.gdb" "${ROOT}/etc/firebird/security.gbk" || die
|
||||
gbak -R "${ROOT}/etc/firebird/security.gbk" "${ROOT}/etc/firebird/security2.fdb" || die
|
||||
mv "${ROOT}/etc/firebird/security.gdb" "${ROOT}/etc/firebird/security.gdb.old" || die
|
||||
rm "${ROOT}/etc/firebird/security.gbk" || die
|
||||
|
||||
# make sure they are readable only to firebird
|
||||
chown firebird:firebird "${ROOT}/etc/firebird/{security.*,security2.*}" || die
|
||||
chmod 660 "${ROOT}/etc/firebird/{security.*,security2.*}" || die
|
||||
|
||||
echo
|
||||
einfo "Converted old security.gdb to security2.fdb, security.gdb has been "
|
||||
einfo "renamed to security.gdb.old. if you had previous security2.fdb, "
|
||||
einfo "it's backed to security2.fdb.old (all under ${ROOT}/etc/firebird)."
|
||||
echo
|
||||
fi
|
||||
|
||||
# we need to enable local access to the server
|
||||
if [[ ! -f "${ROOT}/etc/hosts.equiv" ]] ; then
|
||||
touch "${ROOT}/etc/hosts.equiv" || die
|
||||
chown root:0 "${ROOT}/etc/hosts.equiv" || die
|
||||
chmod u=rw,go=r "${ROOT}/etc/hosts.equiv" || die
|
||||
fi
|
||||
|
||||
# add 'localhost.localdomain' to the hosts.equiv file...
|
||||
if grep -q 'localhost.localdomain$' "${ROOT}/etc/hosts.equiv" ; then
|
||||
echo "localhost.localdomain" >> "${ROOT}/etc/hosts.equiv" || die
|
||||
einfo "Added localhost.localdomain to ${ROOT}/etc/hosts.equiv"
|
||||
fi
|
||||
|
||||
# add 'localhost' to the hosts.equiv file...
|
||||
if grep -q 'localhost$' "${ROOT}/etc/hosts.equiv" ; then
|
||||
echo "localhost" >> "${ROOT}/etc/hosts.equiv" || die
|
||||
einfo "Added localhost to ${ROOT}/etc/hosts.equiv"
|
||||
fi
|
||||
|
||||
HS_NAME=`hostname`
|
||||
if grep -q ${HS_NAME} "${ROOT}/etc/hosts.equiv" ; then
|
||||
echo "${HS_NAME}" >> "${ROOT}/etc/hosts.equiv" || die
|
||||
einfo "Added ${HS_NAME} to ${ROOT}/etc/hosts.equiv"
|
||||
fi
|
||||
|
||||
einfo "If you're using UDFs, please remember to move them"
|
||||
einfo "to /usr/$(get_libdir)/firebird/UDF"
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
|
@ -11,7 +11,7 @@ HOMEPAGE="http://www.pgadmin.org/"
|
|||
SRC_URI="mirror://postgresql/${PN}/release/v${PV}/src/${P}.tar.gz"
|
||||
|
||||
LICENSE="POSTGRESQL"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
|
||||
KEYWORDS="amd64 ~ppc ~x86 ~x86-fbsd"
|
||||
SLOT="0"
|
||||
IUSE="debug +databasedesigner"
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ SRC_URI="http://icculus.org/physfs/downloads/${P}.tar.bz2"
|
|||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc x86 ~x86-fbsd"
|
||||
KEYWORDS="alpha amd64 ~arm hppa ~ppc ~ppc64 ~sparc x86 ~x86-fbsd"
|
||||
IUSE="doc grp hog mvl qpak static-libs wad +zip"
|
||||
|
||||
RDEPEND=""
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue