parent
5d8894e2f3
commit
2528cf7e89
@ -1 +1 @@
|
||||
DIST calamares-3.1.0.tar.gz 2215820 SHA256 7b4c74fc350624a17eb8b8187ade490711bfdc608d2be07322c8a3fc0a449276 SHA512 17c15aafbc811f42246f8300f64ffe7d44b43ac24f5b6ced15c83715c5fff9644060964de82cc3e7021c710e6eebbc124785d9d7b85613c5f190ec0f8d5d5389 WHIRLPOOL 6c8e46aff3700d26e876dd6f02bf28e55ea59cebe46438e64a8d04e921df9e35d0c1c3077479767b67284805103c16cda7ef5e1a2ec50d9e735093cb9e04b886
|
||||
DIST calamares-3.1.1.tar.gz 4895018 SHA256 1644f28f0ee166411dafc849d1d1c9b5bf4f7346ebaf430ee3cf1a7d330a85aa SHA512 4c45f949075a46c6b1de14b322f7d124b4346b11c112b410a216359530d055d21ae8357609d2279614da5490f72f38aebf7844942a2e8a8c2a244cf31350720c WHIRLPOOL 8be229cdcbea88c396a98f42232b0dcb30df81895f927ef45c815be618f5d094f85e2b0fdda7cdf93d6a953d785a7c45bd3f0eae70d2e8775a0bccb8d0a19b3e
|
||||
|
@ -1,5 +1,6 @@
|
||||
DIST puppet-3.8.7.tar.gz 2650247 SHA256 50460a3dd8d25118e25eb01178d09743dabc01cd185f6b2cc723bae21ff023c2 SHA512 f86568d4f33c8c18da270e089e1274ce2e3c705c116b078531bb66656f0bbb9a2fc95effbb8bf5355a082d4f32ce5b44e7f6e316937164aa0d71dd47e654c618 WHIRLPOOL 6e3b754f9e6f40c6037652dc7d746e616871a653640e2a91ab7dd3e70b4240c0b377d0f79c543ca95c5d661046c6431e30f263e0f18998cac0ca3089a4634273
|
||||
DIST puppet-4.10.1.tar.gz 2954351 SHA256 271738d2b5aaec8faafd543076ac0d9012fcd6051bccd2f70a66cd479362c605 SHA512 d232f062b93485f7eea8abb9c5420462e313e6050e7335159f051f7c7af86338c006ae4edc09e0e1370784ee7b076911ca563a4cfc6a1f2afc7179bed08d2032 WHIRLPOOL 1a5b8c3fc87fdb4e23196cc13ad46c963cdb6314cfc0e4d3a6d44adad4545289cf41886c6150ee14fcd0d30d9b29f32987c6e31a7c39077a2c53aac7147c69dd
|
||||
DIST puppet-4.10.4.tar.gz 2968202 SHA256 59b8510ddf2f49342a39ccbe26bc7b2ea5e16d79de9dd572d929de58967aab90 SHA512 e7a47c95a30ccfe31ff6a245ce5df0e2aa1d6b1f07fd70623e40e1822c3df9322a87bcd6e624b4483c7b90756ef3ed34242aa9c6a880df57ff65918c4d31267f WHIRLPOOL f808cb84cebae7294f887fdb3ac0005b4129fca368cc58dcc0e558fa2dbd185b1f416ace96b7428ad7577fc3df45edf1fab0c150880d1205e0e3d1a9afcc7072
|
||||
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
|
||||
DIST puppet-5.0.0.tar.gz 2706319 SHA256 09ae5b56ff799ccfd78e3a1999aa27d6f2bf69a7a5ed19bd758cf88c17a004ab SHA512 4423001340623d00a72de16e7b585ce3874019b020b91abd4edb9b9a524bd0d709107bee4dfcdf20b2eaf99e67b3401e2883ea297659ad1debfea8fb33a665bd WHIRLPOOL 66bbb279fb9d646ada78ce28af3d2377abf63ce059b9e61ee15fc0b3b48796ea0f708f5f2c380e5dd986d4469f6a8b73606c61dfc3280aca5913d9c7fffa4f2f
|
||||
|
@ -0,0 +1,189 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
USE_RUBY="ruby21 ruby22 ruby23"
|
||||
|
||||
#RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||||
|
||||
inherit 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 experimental 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:0.14
|
||||
# =dev-ruby/rack-1*
|
||||
# dev-ruby/rspec-its
|
||||
# dev-ruby/rspec-collection_matchers
|
||||
# >=dev-ruby/vcr-2.9:2
|
||||
# >=dev-ruby/webmock-1.24:0
|
||||
# )"
|
||||
|
||||
DEPEND+=" ${DEPEND}
|
||||
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"
|
||||
PDEPEND="emacs? ( >=app-emacs/puppet-mode-0.3-r1 )"
|
||||
|
||||
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"
|
||||
|
||||
# fix systemd path
|
||||
epatch "${FILESDIR}/puppet-systemd.patch"
|
||||
|
||||
if use experimental; then
|
||||
epatch "${FILESDIR}/43e2c935252b995134ce353e5e6312cf77aea480.patch"
|
||||
fi
|
||||
|
||||
# Use working version of mocha
|
||||
sed -i -e '1igem "mocha", "~>0.14.0"; gem "rack", "~>1.0"' spec/spec_helper.rb || die
|
||||
|
||||
# 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 specs that need further investigation.
|
||||
sed -i -e '/should resolve external facts/,/^ end/ s:^:#:' \
|
||||
spec/integration/indirector/facts/facter_spec.rb || die
|
||||
sed -i -e "/describe 'cfacter'/,/^ end/ s:^:#:" spec/unit/defaults_spec.rb || die
|
||||
rm -f spec/unit/indirector/ldap_spec.rb \
|
||||
spec/unit/parser/functions/create_resources_spec.rb || die
|
||||
|
||||
# Avoid specs that rely on tools from other OSs
|
||||
rm -f spec/unit/provider/package/{dnf,tdnf,yum}_spec.rb \
|
||||
spec/unit/provider/user/directoryservice_spec.rb || die
|
||||
|
||||
# Avoid specs that depend on hiera-eyaml to avoid circular
|
||||
# dependencies
|
||||
rm -f spec/unit/functions/lookup_spec.rb || die
|
||||
|
||||
# Avoid specs that fail due to an unpackaged file
|
||||
sed -i -e '/when loading pp resource types using auto loading/,/^ end/ s:^:#:' spec/unit/pops/loaders/loaders_spec.rb || die
|
||||
}
|
||||
|
||||
all_ruby_compile() {
|
||||
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 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 xemacs && xemacs-elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use xemacs && xemacs-elisp-site-regen
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST dump-0.4b44.tar.gz 296691 SHA256 78cb75632ac5e99dca38af3a2574303eee3c5a7af464011d279421d8b0e64f96 SHA512 3db828bac026d872913f0e010378366919fbb523d22f1863c06017581e4f4a1c5a239199794ca1158b04e7e3ecbb596d77b131b3278bed29fcfcd3835a3351d4 WHIRLPOOL 43dfc8fb996b443b9d9a9d9ecbf7d01f3db6eaba7acc92ab35ee0930ebdc7666855fc6b78b25450ae3790c6f10093036e0fc733385d7e8dc808bb614b681135a
|
||||
DIST dump-0.4b45.tar.gz 579802 SHA256 f2feef14e9b764f8763879f044957564926f493a5ecd69cefa79a258c1e66c8a SHA512 8bb961cfbec7b06a0a796c15e35342b694a0a5e4214be6b0093a3b016340bce8d76b86cad64ca80301a3cbaebb7ec23b32c5145069f793266f4f8c60d98933cf WHIRLPOOL 0b8beb09bf0c9ddd9399f25a989117759ef6ec578a148897de14904292885cf9a30e0a8d1f0cd2bdab852fac3653f43d26393236260568f11c16813d4f27b5ce
|
||||
DIST dump-0.4b46.tar.gz 578200 SHA256 8061d927dd1ae98e0a1bd70406cde5ecbced154507460629be174c55822f2f97 SHA512 a30e72ab6c4d18497dffe3d25634c2e55ca90861d1cd8a6c0fd44709e735a217dbf4cdabb8c80e02053def94d9a22cf1d685ee0d0f24f5b748ee5f0de19cf17d WHIRLPOOL fb0b083e1f6f0904b1f5d433c47f0d25078637719a11542efd7d0d166609e64a62afaf94056dbec5cd93fa61f690ca3fdd5ffe16c9687263d08a3677b4617e31
|
||||
|
@ -1,63 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="4"
|
||||
inherit eutils autotools
|
||||
|
||||
MY_P=${P/4./4b}
|
||||
S=${WORKDIR}/${MY_P}
|
||||
DESCRIPTION="Dump/restore ext2fs backup utilities"
|
||||
HOMEPAGE="http://dump.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/dump/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ~hppa ia64 ppc ppc64 sparc x86"
|
||||
IUSE="debug ermt readline selinux static"
|
||||
|
||||
RDEPEND=">=sys-fs/e2fsprogs-1.27
|
||||
>=app-arch/bzip2-1.0.2
|
||||
>=sys-libs/zlib-1.1.4
|
||||
ermt? ( dev-libs/openssl )
|
||||
readline? ( sys-libs/readline
|
||||
sys-libs/ncurses
|
||||
static? ( sys-libs/ncurses[static-libs] ) )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
virtual/os-headers"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-underlinking.patch"
|
||||
epatch "${FILESDIR}/${P}-rl_completion_matches-detection.patch"
|
||||
epatch "${FILESDIR}/${P}-fix-pointers-aliasing.patch"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--with-dumpdatespath=/etc/dumpdates \
|
||||
--with-{bin,man}owner=root \
|
||||
--with-{bin,man}grp=root \
|
||||
--enable-largefile \
|
||||
$(use_enable selinux transselinux) \
|
||||
$(use_enable ermt) \
|
||||
$(use_enable static) \
|
||||
$(use_enable readline) \
|
||||
$(use_enable debug)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# built on old autotools, no DESTDIR support
|
||||
einstall MANDIR="${D}"/usr/share/man/man8
|
||||
mv "${ED}"/usr/sbin/{,dump-}rmt || die
|
||||
mv "${ED}"/usr/share/man/man8/{,dump-}rmt.8 || die
|
||||
use ermt && newsbin rmt/ermt dump-ermt
|
||||
|
||||
dodoc CHANGES KNOWNBUGS MAINTAINERS README REPORTING-BUGS THANKS TODO
|
||||
dodoc -r examples/*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "app-arch/dump installs 'rmt' as 'dump-rmt'."
|
||||
ewarn "This is to avoid conflicts with app-arch/tar 'rmt'."
|
||||
}
|
@ -1,69 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
inherit eutils autotools
|
||||
|
||||
MY_P=${P/4./4b}
|
||||
S=${WORKDIR}/${MY_P}
|
||||
DESCRIPTION="Dump/restore ext2fs backup utilities"
|
||||
HOMEPAGE="http://dump.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/dump/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="debug ermt libressl readline selinux static"
|
||||
|
||||
RDEPEND=">=sys-fs/e2fsprogs-1.27
|
||||
>=app-arch/bzip2-1.0.2
|
||||
>=sys-libs/zlib-1.1.4
|
||||
ermt? (
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
)
|
||||
readline? (
|
||||
sys-libs/readline:0=
|
||||
sys-libs/ncurses:=
|
||||
static? ( sys-libs/ncurses:=[static-libs] )
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
virtual/os-headers"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-underlinking.patch"
|
||||
epatch "${FILESDIR}/${P}-rl_completion_matches-detection.patch"
|
||||
epatch "${FILESDIR}/${P}-fix-pointers-aliasing.patch"
|
||||
epatch "${FILESDIR}/${P}-sysmacros.patch" #580204
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--with-dumpdatespath=/etc/dumpdates \
|
||||
--with-{bin,man}owner=root \
|
||||
--with-{bin,man}grp=root \
|
||||
--enable-largefile \
|
||||
$(use_enable selinux transselinux) \
|
||||
$(use_enable ermt) \
|
||||
$(use_enable static) \
|
||||
$(use_enable readline) \
|
||||
$(use_enable debug)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# built on old autotools, no DESTDIR support
|
||||
einstall MANDIR="${D}"/usr/share/man/man8
|
||||
mv "${ED}"/usr/sbin/{,dump-}rmt || die
|
||||
mv "${ED}"/usr/share/man/man8/{,dump-}rmt.8 || die
|
||||
use ermt && newsbin rmt/ermt dump-ermt
|
||||
|
||||
dodoc CHANGES KNOWNBUGS MAINTAINERS README REPORTING-BUGS THANKS TODO
|
||||
dodoc -r examples/*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "app-arch/dump installs 'rmt' as 'dump-rmt'."
|
||||
ewarn "This is to avoid conflicts with app-arch/tar 'rmt'."
|
||||
}
|
@ -1,78 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
MY_P=${P/4./4b}
|
||||
S=${WORKDIR}/${MY_P}
|
||||
DESCRIPTION="Dump/restore ext2fs backup utilities"
|
||||
HOMEPAGE="http://dump.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/dump/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="bzip2 debug ermt libressl lzo readline selinux sqlite ssl static zlib"
|
||||
REQUIRED_USE="
|
||||
ermt? ( ssl )
|
||||
ssl? ( zlib )
|
||||
"
|
||||
|
||||
RDEPEND=">=sys-fs/e2fsprogs-1.27:=
|
||||
>=sys-libs/e2fsprogs-libs-1.27:=
|
||||
sys-apps/util-linux
|
||||
bzip2? ( >=app-arch/bzip2-1.0.2:= )
|
||||
zlib? ( >=sys-libs/zlib-1.1.4:= )
|
||||
lzo? ( dev-libs/lzo:2= )
|
||||
sqlite? ( dev-db/sqlite:3= )
|
||||
ermt? (
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
)
|
||||
ssl? (
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
)
|
||||
readline? (
|
||||
sys-libs/readline:0=
|
||||
sys-libs/ncurses:=
|
||||
static? ( sys-libs/ncurses:=[static-libs] )
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
virtual/os-headers"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--with-dumpdatespath=/etc/dumpdates \
|
||||
--with-rmtpath='$(sbindir)/rmt' \
|
||||
--enable-blkid \
|
||||
--disable-uuid \
|
||||
$(use_enable selinux) \
|
||||
$(use_enable ermt) \
|
||||
$(use_enable static static-progs) \
|
||||
$(use_enable readline) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable sqlite) \
|
||||
$(use_enable bzip2) \
|
||||
$(use_enable zlib) \
|
||||
$(use_enable lzo) \
|
||||
$(use_enable ssl)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
mv "${ED}"/usr/sbin/{,dump-}rmt || die
|
||||
mv "${ED}"/usr/share/man/man8/{,dump-}rmt.8 || die
|
||||
use ermt && newsbin rmt/ermt dump-ermt
|
||||
|
||||
dodoc KNOWNBUGS MAINTAINERS REPORTING-BUGS
|
||||
dodoc -r examples
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]] ; then
|
||||
ewarn "app-arch/dump installs 'rmt' as 'dump-rmt'."
|
||||
ewarn "This is to avoid conflicts with app-arch/tar 'rmt'."
|
||||
fi
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST gnupg-pkcs11-scd-0.7.6.tar.bz2 130210 SHA256 2962dc39a80c5aa9e71f0b847de8f66a9f02b620696d213bb138c17ffec9f7af SHA512 593fdd1320f12173afdec48debea7231006ffd7416e7343f0ff9f92b460245e30d69717784820628473ec782dc47a83d13dc6aa67db94693c462b60a400641e5 WHIRLPOOL ef3b9bc57832452dd9318731fa2ee8f1b24e423c58eb58a403891232a1c296be3f15010dcbbcc1e58803b09add32c346981fee8902e2ff7d563443ab43b2fdb2
|
||||
DIST gnupg-pkcs11-scd-0.8.0.tar.bz2 130726 SHA256 391d16c1a8c9a4771963b72fca04becdf8953a3223e23db738a4c94c62beb834 SHA512 efd19a5c353a3285a5d9fd86241295a4c964b8a26cc1d3d43a579ad526ca23dcb79db028c6cdd40a3dc869e751e7d8580979c5e477217b61fdcc477e5bd00f19 WHIRLPOOL c31b3d3a32617370b943b3b94fdc24e19df38db0cfc9b412cab1bd36f4484b60c4f497089abb573bb7559a34c8274d5674b9f860267d759c61c3ba1ef1538377
|
||||
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
DESCRIPTION="PKCS#11 support for GnuPG"
|
||||
HOMEPAGE="http://gnupg-pkcs11.sourceforge.net"
|
||||
SRC_URI="https://github.com/alonbl/${PN}/releases/download/${P}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="libressl"
|
||||
|
||||
RDEPEND="
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
dev-libs/libassuan:=
|
||||
>=dev-libs/libgcrypt-1.2.2:=
|
||||
>=dev-libs/libgpg-error-1.3:=
|
||||
>=dev-libs/pkcs11-helper-1.02:="
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
@ -1 +1,2 @@
|
||||
DIST php-mode-1.18.2.tar.gz 81772 SHA256 16b26a5584139db2dbc05414a686f54173d7505d7aa041ca12238188c23ea90c SHA512 39c00216c6a1801ae0be016eadc95bf9574ab285dd6125a343cf4c3a5c3ef5b8e579877513c94843a836b97a969402fa0a3714a8cf2f68f7007d629e86834bc3 WHIRLPOOL a1f49e40895b7c00969efe4b61616414d494e66cdd559c3c35e8c2918ab9ca34263d2d22b3fd431efde7025dbc137c295b452f7029ca0c9675b0c6decb0312f4
|
||||
DIST php-mode-1.5.0.tar.gz 42687 SHA256 d8b179941141994d9cc9e77d244e91df3b4d845f4c6e1818eeefc59bc97bcead SHA512 e05cf9eeff3d17f6af29b03d08f279e4c04f79a2c018de5ddcf097adbf9e67978eeb9f0f9e67b9406c1f33c494597ab1bfa629bdab131d668de40b81d68e796f WHIRLPOOL fd5a92af5c006abc00d10803770a64452f49d803c16c3b57a77f3f87ebf984ad3db951304d6ece9fad395cd46ac4a0e7ec2d256e3dbe7c75d68b276bc178ab74
|
||||
|
@ -0,0 +1,18 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
NEED_EMACS=24
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="GNU Emacs major mode for editing PHP code"
|
||||
HOMEPAGE="https://github.com/ejmr/php-mode"
|
||||
SRC_URI="https://github.com/ejmr/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
DOCS="README.md Changelog.md"
|
@ -1,2 +1 @@
|
||||
DIST bochs-2.6.8.tar.gz 5075617 SHA256 79700ef0914a0973f62d9908ff700ef7def62d4a28ed5de418ef61f3576585ce SHA512 5e7438a6a09417cbc0b311810a485374bb9b10be452edd9daff0afacd487ada66f37b8189d4868d3420dae82ef6c38fe279d541d24f8a41bf1ca59359572e7bd WHIRLPOOL 798a40aafad7269e4708b443d6511d86236289b7b19b14d2ed33f2c80618b5b3251a7294c70433cfd0f63ebdbcf8d34fc4aa407f70c9874ff1ce2f226d72c4a0
|
||||
DIST bochs-2.6.9.tar.gz 5169187 SHA256 ee5b677fd9b1b9f484b5aeb4614f43df21993088c0c0571187f93acb0866e98c SHA512 dfecf3a1bad07f06c2f7bb989d146e4a8eaeca493b598d415f5a4aec2a85eb5524ba417422157608c8b0828832611df487c6923c8f4ad98a147ac089fc514c46 WHIRLPOOL 9bd7c7c171d93ad2ca517bc4d02f77a617541583818c77f29eb6b4f80ec92d53a5e7126d7287f148ac501a49a5358e5a18f2a7592949acf21291182e0049adf4
|
||||
|
@ -1,85 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
WX_GTK_VER=2.8
|
||||
|
||||
inherit eutils wxwidgets
|
||||
|
||||
DESCRIPTION="LGPL-ed pc emulator"
|
||||
HOMEPAGE="http://bochs.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/bochs/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE="3dnow avx debugger doc gdb ncurses readline svga sdl +smp wxwidgets vnc X +x86-64"
|
||||
REQUIRED_USE="avx? ( x86-64 )
|
||||
gdb? ( !debugger !smp )
|
||||
debugger? ( !gdb )"
|
||||
|
||||
RDEPEND="X? ( x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libX11
|
||||
x11-libs/libXpm )
|
||||
sdl? ( media-libs/libsdl )
|
||||
svga? ( media-libs/svgalib )
|
||||
wxwidgets? ( x11-libs/wxGTK:2.8[X] )
|
||||
readline? ( sys-libs/readline:= )
|
||||
ncurses? ( sys-libs/ncurses:= )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-text/docbook-sgml-utils )
|
||||
X? ( x11-proto/xproto )
|
||||
sys-apps/sed
|
||||
>=app-text/opensp-1.5"
|
||||
|
||||
src_prepare() {
|
||||
sed -i "s:^docdir.*:docdir = ${EPREFIX}/usr/share/doc/${PF}:" \
|
||||
Makefile.in || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use wxwidgets && \
|
||||
need-wxwidgets unicode
|
||||
|
||||
econf \
|
||||
--enable-all-optimizations \
|
||||
--enable-idle-hack \
|
||||
--enable-cdrom \
|
||||
--enable-clgd54xx \
|
||||
--enable-cpu-level=6 \
|
||||
--enable-disasm \
|
||||
--enable-e1000 \
|
||||
--enable-gameport \
|
||||
--enable-iodebug \
|
||||
--enable-monitor-mwait \
|
||||
--enable-ne2000 \
|
||||
--enable-plugins \
|
||||
--enable-pci \
|
||||
--enable-pnic \
|
||||
--enable-raw-serial \
|
||||
--enable-sb16=linux \
|
||||
--enable-usb \
|
||||
--enable-usb-ohci \
|
||||
--enable-usb-xhci \
|
||||
--prefix=/usr \
|
||||
--with-nogui \
|
||||
$(use_enable 3dnow) \
|
||||
$(use_enable avx) \
|
||||
$(use_enable debugger) \
|
||||
$(use_enable doc docbook) \
|
||||
$(use_enable gdb gdb-stub) \
|
||||
$(use_enable readline) \
|
||||
$(use_enable smp) \
|
||||
$(use_enable x86-64) \
|
||||
$(use_with ncurses term) \
|
||||
$(use_with sdl) \
|
||||
$(use_with svga) \
|
||||
$(use_with vnc rfb) \
|
||||
$(use_with wxwidgets wx) \
|
||||
$(use_with X x) \
|
||||
$(use_with X x11) \
|
||||
${myconf}
|
||||
}
|
@ -0,0 +1,312 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
EGO_PN="github.com/docker/docker-ce"
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
# Docker cannot be fetched via "go get", thanks to autogenerated code
|
||||
EGIT_REPO_URI="https://${EGO_PN}.git"
|
||||
EGIT_CHECKOUT_DIR="${WORKDIR}/${P}/src/${EGO_PN}"
|
||||
inherit git-r3
|
||||
else
|
||||
inherit versionator
|
||||
if [ "$(get_version_component_count)" = 4 ]; then
|
||||
MY_PV="$(replace_version_separator 3 '-ce-')"
|
||||
else
|
||||
MY_PV="$PV-ce"
|
||||
fi
|
||||
DOCKER_GITCOMMIT="02c1d87"
|
||||
EGIT_COMMIT="v${MY_PV}"
|
||||
SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
[ "$DOCKER_GITCOMMIT" ] || die "DOCKER_GITCOMMIT must be added manually for each bump!"
|
||||
inherit golang-vcs-snapshot
|
||||
fi
|
||||
inherit bash-completion-r1 golang-base linux-info systemd udev user
|
||||
|
||||
DESCRIPTION="The core functions you need to create Docker images and run Docker containers"
|
||||
HOMEPAGE="https://dockerproject.org"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="apparmor aufs btrfs +container-init +device-mapper hardened overlay pkcs11 seccomp"
|
||||
|
||||
# https://github.com/docker/docker/blob/master/project/PACKAGERS.md#build-dependencies
|
||||
CDEPEND="
|
||||
>=dev-db/sqlite-3.7.9:3
|
||||
device-mapper? (
|
||||
>=sys-fs/lvm2-2.02.89[thin]
|
||||
)
|
||||
seccomp? ( >=sys-libs/libseccomp-2.2.1 )
|
||||
apparmor? ( sys-libs/libapparmor )
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
|
||||
dev-go/go-md2man
|
||||
|
||||
btrfs? (
|
||||
>=sys-fs/btrfs-progs-3.16.1
|
||||
)
|
||||
"
|
||||
|
||||
# https://github.com/docker/docker/blob/master/project/PACKAGERS.md#runtime-dependencies
|
||||
# https://github.com/docker/docker/blob/master/project/PACKAGERS.md#optional-dependencies
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
>=net-firewall/iptables-1.4
|
||||
sys-process/procps
|
||||
>=dev-vcs/git-1.7
|
||||
>=app-arch/xz-utils-4.9
|
||||
|
||||
~app-emulation/containerd-0.2.9
|
||||
~app-emulation/docker-runc-1.0.0_rc3_p20170607[apparmor?,seccomp?]
|
||||
app-emulation/docker-proxy
|
||||
container-init? ( >=sys-process/tini-0.13.1[static] )
|
||||
"
|
||||
|
||||
RESTRICT="installsources strip"
|
||||
|
||||
S="${WORKDIR}/${P}/src/${EGO_PN}"
|
||||
|
||||
# see "contrib/check-config.sh" from upstream's sources
|
||||
CONFIG_CHECK="
|
||||
~NAMESPACES ~NET_NS ~PID_NS ~IPC_NS ~UTS_NS
|
||||
~CGROUPS ~CGROUP_CPUACCT ~CGROUP_DEVICE ~CGROUP_FREEZER ~CGROUP_SCHED ~CPUSETS ~MEMCG
|
||||
~KEYS
|
||||
~VETH ~BRIDGE ~BRIDGE_NETFILTER
|
||||
~NF_NAT_IPV4 ~IP_NF_FILTER ~IP_NF_TARGET_MASQUERADE
|
||||
~NETFILTER_XT_MATCH_ADDRTYPE ~NETFILTER_XT_MATCH_CONNTRACK
|
||||
~NF_NAT ~NF_NAT_NEEDED
|
||||
~POSIX_MQUEUE
|
||||
|
||||
~USER_NS
|
||||
~SECCOMP
|
||||
~CGROUP_PIDS
|
||||
~MEMCG_SWAP ~MEMCG_SWAP_ENABLED
|
||||
|
||||
~BLK_CGROUP ~BLK_DEV_THROTTLING ~IOSCHED_CFQ ~CFQ_GROUP_IOSCHED
|
||||
~CGROUP_PERF
|
||||
~CGROUP_HUGETLB
|
||||
~NET_CLS_CGROUP
|
||||
~CFS_BANDWIDTH ~FAIR_GROUP_SCHED ~RT_GROUP_SCHED
|
||||
~IP_VS ~IP_VS_PROTO_TCP ~IP_VS_PROTO_UDP ~IP_VS_NFCT ~IP_VS_RR
|
||||
|
||||
~VXLAN
|
||||
~XFRM_ALGO ~XFRM_USER
|
||||
~IPVLAN
|
||||
~MACVLAN ~DUMMY
|
||||
"
|
||||
|
||||
ERROR_KEYS="CONFIG_KEYS: is mandatory"
|
||||
ERROR_MEMCG_SWAP="CONFIG_MEMCG_SWAP: is required if you wish to limit swap usage of containers"
|
||||
ERROR_RESOURCE_COUNTERS="CONFIG_RESOURCE_COUNTERS: is optional for container statistics gathering"
|
||||
|
||||
ERROR_BLK_CGROUP="CONFIG_BLK_CGROUP: is optional for container statistics gathering"
|
||||
ERROR_IOSCHED_CFQ="CONFIG_IOSCHED_CFQ: is optional for container statistics gathering"
|
||||
ERROR_CGROUP_PERF="CONFIG_CGROUP_PERF: is optional for container statistics gathering"
|
||||
ERROR_CFS_BANDWIDTH="CONFIG_CFS_BANDWIDTH: is optional for container statistics gathering"
|
||||
ERROR_XFRM_ALGO="CONFIG_XFRM_ALGO: is optional for secure networks"
|
||||
ERROR_XFRM_USER="CONFIG_XFRM_USER: is optional for secure networks"
|
||||
|
||||
pkg_setup() {
|
||||
if kernel_is lt 3 10; then
|
||||
ewarn ""
|
||||
ewarn "Using Docker with kernels older than 3.10 is unstable and unsupported."
|
||||
ewarn " - http://docs.docker.com/engine/installation/binaries/#check-kernel-dependencies"
|
||||
fi
|
||||
|
||||
# for where these kernel versions come from, see:
|
||||
# https://www.google.com/search?q=945b2b2d259d1a4364a2799e80e8ff32f8c6ee6f+site%3Akernel.org%2Fpub%2Flinux%2Fkernel+file%3AChangeLog*
|
||||
if ! {
|
||||
kernel_is ge 3 16 \
|
||||
|| { kernel_is 3 15 && kernel_is ge 3 15 5; } \
|
||||
|| { kernel_is 3 14 && kernel_is ge 3 14 12; } \
|
||||
|| { kernel_is 3 12 && kernel_is ge 3 12 25; }
|
||||
}; then
|
||||
ewarn ""
|
||||
ewarn "There is a serious Docker-related kernel panic that has been fixed in 3.16+"
|
||||
ewarn " (and was backported to 3.15.5+, 3.14.12+, and 3.12.25+)"
|
||||
ewarn ""
|
||||
ewarn "See also https://github.com/docker/docker/issues/2960"
|
||||
fi
|
||||
|
||||
if kernel_is le 3 18; then
|
||||
CONFIG_CHECK+="
|
||||
~RESOURCE_COUNTERS
|
||||
"
|
||||
fi
|
||||
|
||||
if kernel_is le 3 13; then
|
||||
CONFIG_CHECK+="
|
||||
~NETPRIO_CGROUP
|
||||
"
|
||||
else
|
||||
CONFIG_CHECK+="
|
||||
~CGROUP_NET_PRIO
|
||||
"
|
||||
fi
|
||||
|
||||
if kernel_is lt 4 5; then
|
||||
CONFIG_CHECK+="
|
||||
~MEMCG_KMEM
|
||||
"
|
||||
ERROR_MEMCG_KMEM="CONFIG_MEMCG_KMEM: is optional"
|
||||
fi
|
||||
|
||||
if kernel_is lt 4 7; then
|
||||
CONFIG_CHECK+="
|
||||
~DEVPTS_MULTIPLE_INSTANCES
|
||||
"
|
||||
fi
|
||||
|
||||
if use aufs; then
|
||||
CONFIG_CHECK+="
|
||||
~AUFS_FS
|
||||
~EXT4_FS_POSIX_ACL ~EXT4_FS_SECURITY
|
||||
"
|
||||
ERROR_AUFS_FS="CONFIG_AUFS_FS: is required to be set if and only if aufs-sources are used instead of aufs4/aufs3"
|
||||
fi
|
||||
|
||||
if use btrfs; then
|
||||
CONFIG_CHECK+="
|
||||
~BTRFS_FS
|
||||
~BTRFS_FS_POSIX_ACL
|
||||
"
|
||||
fi
|
||||
|
||||
if use device-mapper; then
|
||||
CONFIG_CHECK+="
|
||||
~BLK_DEV_DM ~DM_THIN_PROVISIONING ~EXT4_FS ~EXT4_FS_POSIX_ACL ~EXT4_FS_SECURITY
|
||||
"
|
||||
fi
|
||||
|
||||
if use overlay; then
|
||||
CONFIG_CHECK+="
|
||||
~OVERLAY_FS ~EXT4_FS_SECURITY ~EXT4_FS_POSIX_ACL
|
||||
"
|
||||
fi
|
||||
|
||||
linux-info_pkg_setup
|
||||
|
||||
# create docker group for the code checking for it in /etc/group
|
||||
enewgroup docker
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export GOPATH="${WORKDIR}/${P}"
|
||||
|
||||
# setup CFLAGS and LDFLAGS for separate build target
|
||||
# see https://github.com/tianon/docker-overlay/pull/10
|
||||
export CGO_CFLAGS="-I${ROOT}/usr/include"
|
||||
export CGO_LDFLAGS="-L${ROOT}/usr/$(get_libdir)"
|
||||
|
||||
# if we're building from a tarball, we need the GITCOMMIT value
|
||||
[ "$DOCKER_GITCOMMIT" ] && export DOCKER_GITCOMMIT
|
||||
|
||||
# fake golang layout
|
||||
ln -s docker-ce/components/engine ../docker || die
|
||||
ln -s docker-ce/components/cli ../cli || die
|
||||
|
||||
# let's set up some optional features :)
|
||||
export DOCKER_BUILDTAGS=''
|
||||
for gd in aufs btrfs device-mapper overlay; do
|
||||
if ! use $gd; then
|
||||
DOCKER_BUILDTAGS+=" exclude_graphdriver_${gd//-/}"
|
||||
fi
|
||||
done
|
||||
|
||||
for tag in apparmor pkcs11 seccomp; do
|
||||
if use $tag; then
|
||||
DOCKER_BUILDTAGS+=" $tag"
|
||||
fi
|
||||
done
|
||||
|
||||
pushd components/engine || die
|
||||
|
||||
if use hardened; then
|
||||
sed -i "s/EXTLDFLAGS_STATIC='/&-fno-PIC /" hack/make.sh || die
|
||||
grep -q -- '-fno-PIC' hack/make.sh || die 'hardened sed failed'
|
||||
sed "s/LDFLAGS_STATIC_DOCKER='/&-extldflags -fno-PIC /" \
|
||||
-i hack/make/dynbinary-daemon || die
|
||||
grep -q -- '-fno-PIC' hack/make/dynbinary-daemon || die 'hardened sed failed'
|
||||
fi
|
||||
|
||||
# build daemon
|
||||
./hack/make.sh dynbinary || die 'dynbinary failed'
|
||||
|
||||
# build man pages
|
||||
./man/md2man-all.sh || die "unable to generate man pages"
|
||||
|
||||
popd || die # components/engine
|
||||
|
||||
pushd components/cli || die
|
||||
|
||||
# build cli
|
||||
emake \
|
||||
LDFLAGS="$(usex hardened '-extldflags -fno-PIC' '')" \
|
||||
VERSION="$(cat ../../VERSION)" \
|
||||
GITCOMMIT="${DOCKER_GITCOMMIT}" \
|
||||
dynbinary || die
|
||||
|
||||
popd || die # components/cli
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dosym containerd /usr/bin/docker-containerd
|
||||
dosym containerd-shim /usr/bin/docker-containerd-shim
|
||||
dosym runc /usr/bin/docker-runc
|
||||
use container-init && dosym tini /usr/bin/docker-init
|
||||
|
||||
pushd components/engine || die
|
||||
newbin "$(readlink -f bundles/latest/dynbinary-daemon/dockerd)" dockerd
|
||||
|
||||
newinitd contrib/init/openrc/docker.initd docker
|
||||
newconfd contrib/init/openrc/docker.confd docker
|
||||
|
||||
systemd_dounit contrib/init/systemd/docker.{service,socket}
|
||||
|
||||
udev_dorules contrib/udev/*.rules
|
||||
|
||||
dodoc AUTHORS CONTRIBUTING.md CHANGELOG.md NOTICE README.md
|
||||
dodoc -r docs/*
|
||||
doman man/man*/*
|
||||
|
||||
dobashcomp contrib/completion/bash/*
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins contrib/completion/zsh/_*
|
||||
|
||||
insinto /usr/share/vim/vimfiles
|
||||
doins -r contrib/syntax/vim/ftdetect
|
||||
doins -r contrib/syntax/vim/syntax
|
||||
|
||||
# note: intentionally not using "doins" so that we preserve +x bits
|
||||
dodir /usr/share/${PN}/contrib
|
||||
cp -R contrib/* "${ED}/usr/share/${PN}/contrib"
|
||||
popd || die # components/engine
|
||||
|
||||
pushd components/cli || die
|
||||
newbin build/docker-* docker
|
||||
dobashcomp contrib/completion/bash/*
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins contrib/completion/zsh/_*
|
||||
popd || die # components/cli
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
udev_reload
|
||||
|
||||
elog
|
||||
elog "To use Docker, the Docker daemon must be running as root. To automatically"
|
||||
elog "start the Docker daemon at boot, add Docker to the default runlevel:"
|
||||
elog " rc-update add docker default"
|
||||
elog "Similarly for systemd:"
|
||||
elog " systemctl enable docker.service"
|
||||
elog
|
||||
elog "To use Docker as a non-root user, add yourself to the 'docker' group:"
|
||||
elog " usermod -aG docker youruser"
|
||||
elog
|
||||
}
|
@ -1,115 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit gnome2-utils python-single-r1
|
||||
|
||||
MY_PN="PlayOnLinux"
|
||||
|
||||
DESCRIPTION="Set of scripts to easily install and use Windows games and software"
|
||||
HOMEPAGE="http://playonlinux.com/"
|
||||
SRC_URI="http://www.playonlinux.com/script_files/${MY_PN}/${PV}/${MY_PN}_${PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="winbind"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
app-arch/cabextract
|
||||
app-arch/p7zip
|
||||
app-arch/unzip
|
||||
app-crypt/gnupg
|
||||
app-emulation/wine
|
||||
dev-python/wxpython:2.8[${PYTHON_USEDEP}]
|
||||
net-misc/wget
|
||||
x11-apps/mesa-progs
|
||||
x11-terms/xterm
|
||||
media-gfx/icoutils
|
||||
|| ( net-analyzer/netcat net-analyzer/netcat6 )
|
||||
virtual/imagemagick-tools
|
||||
winbind? ( net-fs/samba[winbind] ) "
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
# TODO:
|
||||
# Having a real install script
|
||||
# It will let using LANGUAGES easily
|
||||
# How to deal with Microsoft Fonts installation asked every time ?
|
||||
# How to deal with wine version installed ? (have a better mgmt of system one)
|
||||
# Look at debian pkg: http://packages.debian.org/sid/playonlinux
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-4.2.4-pol-bash.patch"
|
||||
"${FILESDIR}/${PN}-4.2.4-binary-plugin.patch"
|
||||
"${FILESDIR}/${PN}-4.2.6-stop-update-warning.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
python_fix_shebang .
|
||||
|
||||
# remove playonmac
|
||||
rm etc/{playonmac.icns,terminal.applescript} || die
|
||||
|
||||
# remove desktop integration
|
||||
rm etc/{PlayOnLinux.desktop,PlayOnLinux.directory,playonlinux-Programmes.menu} || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# all things without exec permissions
|
||||
insinto "/usr/share/${PN}"
|
||||
doins -r resources lang lib etc plugins
|
||||
|
||||
# bash/ install
|
||||
exeinto "/usr/share/${PN}/bash"
|
||||
find "${S}/bash" -type f -exec doexe '{}' +
|
||||
exeinto "/usr/share/${PN}/bash/expert"
|
||||
find "${S}/bash/expert" -type f -exec doexe '{}' +
|
||||
|
||||
# python/ install
|
||||
python_moduleinto "/usr/share/${PN}"
|
||||
python_domodule python
|
||||
|
||||
# main executable files
|
||||
exeinto "/usr/share/${PN}"
|
||||
doexe ${PN}{,-pkg,-bash,-shell,-url_handler}
|
||||
|
||||
# icons
|
||||
doicon -s 128 etc/${PN}.png
|
||||
for size in 16 22 32; do
|
||||
newicon -s $size etc/${PN}$size.png ${PN}.png
|
||||
done
|
||||
|
||||
doman "${FILESDIR}"/playonlinux{,-pkg}.1
|
||||
dodoc CHANGELOG.md
|
||||
|
||||
make_wrapper ${PN} "./${PN}" "/usr/share/${PN}"
|
||||
make_wrapper ${PN}-pkg "./${PN}-pkg" "/usr/share/${PN}"
|
||||
make_desktop_entry ${PN} ${MY_PN} ${PN} Game
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]]; then
|
||||
elog "Installed software and games with playonlinux have not been removed."
|
||||
elog "To remove them, you can re-install playonlinux and remove them using it,"
|
||||
elog "or do it manually by removing .PlayOnLinux/ in your home directory."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1,116 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit gnome2-utils python-single-r1
|
||||
|
||||
MY_PN="PlayOnLinux"
|
||||
|
||||
DESCRIPTION="Set of scripts to easily install and use Windows games and software"
|
||||
HOMEPAGE="http://playonlinux.com/"
|
||||
SRC_URI="http://www.playonlinux.com/script_files/${MY_PN}/${PV}/${MY_PN}_${PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="winbind"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
app-arch/cabextract
|
||||
app-arch/p7zip
|
||||
app-arch/unzip
|
||||
app-crypt/gnupg
|
||||
|| ( app-emulation/wine virtual/wine )
|
||||
dev-python/wxpython:3.0[${PYTHON_USEDEP}]
|
||||
net-misc/wget
|
||||
x11-apps/mesa-progs
|
||||
x11-terms/xterm
|
||||
media-gfx/icoutils
|
||||
|| ( net-analyzer/netcat net-analyzer/netcat6 )
|
||||
virtual/imagemagick-tools
|
||||
winbind? ( net-fs/samba[winbind] )
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
# TODO:
|
||||
# Having a real install script
|
||||
# It will let using LANGUAGES easily
|
||||
# How to deal with Microsoft Fonts installation asked every time ?
|
||||
# How to deal with wine version installed ? (have a better mgmt of system one)
|
||||
# Look at debian pkg: http://packages.debian.org/sid/playonlinux
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-4.2.4-pol-bash.patch"
|
||||
"${FILESDIR}/${PN}-4.2.4-binary-plugin.patch"
|
||||
"${FILESDIR}/${PN}-4.2.6-stop-update-warning.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
python_fix_shebang .
|
||||
|
||||
# remove playonmac
|
||||
rm etc/{playonmac.icns,terminal.applescript} || die
|
||||
|
||||
# remove desktop integration
|
||||
rm etc/{PlayOnLinux.desktop,PlayOnLinux.directory,playonlinux-Programs.menu} || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# all things without exec permissions
|
||||
insinto "/usr/share/${PN}"
|
||||
doins -r resources lang lib etc plugins
|
||||
|
||||
# bash/ install
|
||||
exeinto "/usr/share/${PN}/bash"
|
||||
find "${S}/bash" -type f -exec doexe '{}' +
|
||||
exeinto "/usr/share/${PN}/bash/expert"
|
||||
find "${S}/bash/expert" -type f -exec doexe '{}' +
|
||||
|
||||
# python/ install
|
||||
python_moduleinto "/usr/share/${PN}"
|
||||
python_domodule python
|
||||
|
||||
# main executable files
|
||||
exeinto "/usr/share/${PN}"
|
||||
doexe ${PN}{,-pkg,-bash,-shell,-url_handler}
|
||||
|
||||
# icons
|
||||
doicon -s 128 etc/${PN}.png
|
||||
for size in 16 22 32; do
|
||||
newicon -s $size etc/${PN}$size.png ${PN}.png
|
||||
done
|
||||
|
||||
doman "${FILESDIR}"/playonlinux{,-pkg}.1
|
||||
dodoc CHANGELOG.md
|
||||
|
||||
make_wrapper ${PN} "./${PN}" "/usr/share/${PN}"
|
||||
make_wrapper ${PN}-pkg "./${PN}-pkg" "/usr/share/${PN}"
|
||||
make_desktop_entry ${PN} ${MY_PN} ${PN} Game
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]]; then
|
||||
elog "Installed software and games with playonlinux have not been removed."
|
||||
elog "To remove them, you can re-install playonlinux and remove them using it,"
|
||||
elog "or do it manually by removing .PlayOnLinux/ in your home directory."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1,119 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit gnome2-utils python-single-r1 games
|
||||
|
||||
MY_PN="PlayOnLinux"
|
||||
|
||||
DESCRIPTION="Set of scripts to easily install and use Windows games and software"
|
||||
HOMEPAGE="http://playonlinux.com/"
|
||||
SRC_URI="http://www.playonlinux.com/script_files/${MY_PN}/${PV}/${MY_PN}_${PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="winbind"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
app-emulation/wine
|
||||
app-arch/cabextract
|
||||
app-arch/p7zip
|
||||
app-arch/unzip
|
||||
app-crypt/gnupg
|
||||
dev-python/wxpython:2.8[${PYTHON_USEDEP}]
|
||||
net-misc/wget
|
||||
x11-apps/mesa-progs
|
||||
x11-terms/xterm
|
||||
media-gfx/icoutils
|
||||
|| ( net-analyzer/netcat net-analyzer/netcat6 )
|
||||
virtual/imagemagick-tools
|
||||
winbind? ( net-fs/samba[winbind] ) "
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
# TODO:
|
||||
# Having a real install script and let playonlinux use standard filesystem
|
||||
# architecture to prevent having everything installed into GAMES_DATADIR
|
||||
# It will let using LANGUAGES easily
|
||||
# How to deal with Microsoft Fonts installation asked every time ?
|
||||
# How to deal with wine version installed ? (have a better mgmt of system one)
|
||||
# Look at debian pkg: http://packages.debian.org/sid/playonlinux
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
games_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-4.2.4-pol-bash.patch"
|
||||
epatch "${FILESDIR}/${PN}-4.2.4-binary-plugin.patch"
|
||||
|
||||
python_fix_shebang .
|
||||
|
||||
# remove playonmac
|
||||
rm etc/{playonmac.icns,terminal.applescript} || die
|
||||
|
||||
# remove desktop integration
|
||||
rm etc/{PlayOnLinux.desktop,PlayOnLinux.directory,playonlinux-Programmes.menu} || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# all things without exec permissions
|
||||
insinto "${GAMES_DATADIR}/${PN}"
|
||||
doins -r resources lang lib etc plugins
|
||||
|
||||
# bash/ install
|
||||
exeinto "${GAMES_DATADIR}/${PN}/bash"
|
||||
find "${S}/bash" -type f -exec doexe '{}' +
|
||||
exeinto "${GAMES_DATADIR}/${PN}/bash/expert"
|
||||
find "${S}/bash/expert" -type f -exec doexe '{}' +
|
||||
|
||||
# python/ install
|
||||
python_moduleinto "${GAMES_DATADIR}/${PN}"
|
||||
python_domodule python
|
||||
|
||||
# main executable files
|
||||
exeinto "${GAMES_DATADIR}/${PN}"
|
||||
doexe ${PN}{,-pkg,-bash,-shell,-url_handler}
|
||||
|
||||
# icons
|
||||
doicon -s 128 etc/${PN}.png
|
||||
for size in 16 22 32; do
|
||||
newicon -s $size etc/${PN}$size.png ${PN}.png
|
||||
done
|
||||
|
||||
doman "${FILESDIR}"/playonlinux{,-pkg}.1
|
||||
dodoc CHANGELOG.md
|
||||
|
||||
games_make_wrapper ${PN} "./${PN}" "${GAMES_DATADIR}/${PN}"
|
||||
games_make_wrapper ${PN}-pkg "./${PN}-pkg" "${GAMES_DATADIR}/${PN}"
|
||||
make_desktop_entry ${PN} ${MY_PN} ${PN} Game
|
||||
|
||||
prepgamesdirs
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
games_pkg_postinst
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]]; then
|
||||
elog "Installed softwares and games with playonlinux have not been removed."
|
||||
elog "To remove them, you can re-install playonlinux and remove them using it"
|
||||
elog "or do it manually by removing .PlayOnLinux/ in your home directory."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1,120 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit gnome2-utils python-single-r1 games
|
||||
|
||||
MY_PN="PlayOnLinux"
|
||||
|
||||
DESCRIPTION="Set of scripts to easily install and use Windows games and software"
|
||||
HOMEPAGE="http://playonlinux.com/"
|
||||
SRC_URI="http://www.playonlinux.com/script_files/${MY_PN}/${PV}/${MY_PN}_${PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="winbind"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
app-emulation/wine
|
||||
app-arch/cabextract
|
||||
app-arch/p7zip
|
||||
app-arch/unzip
|
||||
app-crypt/gnupg
|
||||
dev-python/wxpython:2.8[${PYTHON_USEDEP}]
|
||||
net-misc/wget
|
||||
x11-apps/mesa-progs
|
||||
x11-terms/xterm
|
||||
media-gfx/icoutils
|
||||
|| ( net-analyzer/netcat net-analyzer/netcat6 )
|
||||
virtual/imagemagick-tools
|
||||
winbind? ( net-fs/samba[winbind] ) "
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
# TODO:
|
||||
# Having a real install script and let playonlinux use standard filesystem
|
||||
# architecture to prevent having everything installed into GAMES_DATADIR
|
||||
# It will let using LANGUAGES easily
|
||||
# How to deal with Microsoft Fonts installation asked every time ?
|
||||
# How to deal with wine version installed ? (have a better mgmt of system one)
|
||||
# Look at debian pkg: http://packages.debian.org/sid/playonlinux
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
games_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-4.2.4-pol-bash.patch"
|
||||
epatch "${FILESDIR}/${PN}-4.2.4-binary-plugin.patch"
|
||||
epatch "${FILESDIR}/${PN}-4.2.6-stop-update-warning.patch"
|
||||
|
||||
python_fix_shebang .
|
||||
|
||||
# remove playonmac
|
||||
rm etc/{playonmac.icns,terminal.applescript} || die
|
||||
|
||||
# remove desktop integration
|
||||
rm etc/{PlayOnLinux.desktop,PlayOnLinux.directory,playonlinux-Programmes.menu} || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# all things without exec permissions
|
||||
insinto "${GAMES_DATADIR}/${PN}"
|
||||
doins -r resources lang lib etc plugins
|
||||
|
||||
# bash/ install
|
||||
exeinto "${GAMES_DATADIR}/${PN}/bash"
|
||||
find "${S}/bash" -type f -exec doexe '{}' +
|
||||
exeinto "${GAMES_DATADIR}/${PN}/bash/expert"
|
||||
find "${S}/bash/expert" -type f -exec doexe '{}' +
|
||||
|
||||
# python/ install
|
||||
python_moduleinto "${GAMES_DATADIR}/${PN}"
|
||||
python_domodule python
|
||||
|
||||
# main executable files
|
||||
exeinto "${GAMES_DATADIR}/${PN}"
|
||||
doexe ${PN}{,-pkg,-bash,-shell,-url_handler}
|
||||
|
||||
# icons
|
||||
doicon -s 128 etc/${PN}.png
|
||||
for size in 16 22 32; do
|
||||
newicon -s $size etc/${PN}$size.png ${PN}.png
|
||||
done
|
||||
|
||||
doman "${FILESDIR}"/playonlinux{,-pkg}.1
|
||||
dodoc CHANGELOG.md
|
||||
|
||||
games_make_wrapper ${PN} "./${PN}" "${GAMES_DATADIR}/${PN}"
|
||||
games_make_wrapper ${PN}-pkg "./${PN}-pkg" "${GAMES_DATADIR}/${PN}"
|
||||
make_desktop_entry ${PN} ${MY_PN} ${PN} Game
|
||||
|
||||
prepgamesdirs
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
games_pkg_postinst
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]]; then
|
||||
elog "Installed softwares and games with playonlinux have not been removed."
|
||||
elog "To remove them, you can re-install playonlinux and remove them using it"
|
||||
elog "or do it manually by removing .PlayOnLinux/ in your home directory."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1,120 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit gnome2-utils python-single-r1 games
|
||||
|
||||
MY_PN="PlayOnLinux"
|
||||
|
||||
DESCRIPTION="Set of scripts to easily install and use Windows games and software"
|
||||
HOMEPAGE="http://playonlinux.com/"
|
||||
SRC_URI="http://www.playonlinux.com/script_files/${MY_PN}/${PV}/${MY_PN}_${PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="winbind"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
app-emulation/wine
|
||||
app-arch/cabextract
|
||||
app-arch/p7zip
|
||||
app-arch/unzip
|
||||
app-crypt/gnupg
|
||||
dev-python/wxpython:2.8[${PYTHON_USEDEP}]
|
||||
net-misc/wget
|
||||
x11-apps/mesa-progs
|
||||
x11-terms/xterm
|
||||
media-gfx/icoutils
|
||||
|| ( net-analyzer/netcat net-analyzer/netcat6 )
|
||||
virtual/imagemagick-tools
|
||||
winbind? ( net-fs/samba[winbind] ) "
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
# TODO:
|
||||
# Having a real install script and let playonlinux use standard filesystem
|
||||
# architecture to prevent having everything installed into GAMES_DATADIR
|
||||
# It will let using LANGUAGES easily
|
||||
# How to deal with Microsoft Fonts installation asked every time ?
|
||||
# How to deal with wine version installed ? (have a better mgmt of system one)
|
||||
# Look at debian pkg: http://packages.debian.org/sid/playonlinux
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
games_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-4.2.4-pol-bash.patch"
|
||||
epatch "${FILESDIR}/${PN}-4.2.4-binary-plugin.patch"
|
||||
epatch "${FILESDIR}/${PN}-4.2.6-stop-update-warning.patch"
|
||||
|
||||
python_fix_shebang .
|
||||
|
||||
# remove playonmac
|
||||
rm etc/{playonmac.icns,terminal.applescript} || die
|
||||
|
||||
# remove desktop integration
|
||||
rm etc/{PlayOnLinux.desktop,PlayOnLinux.directory,playonlinux-Programmes.menu} || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# all things without exec permissions
|
||||
insinto "${GAMES_DATADIR}/${PN}"
|
||||
doins -r resources lang lib etc plugins
|
||||
|
||||
# bash/ install
|
||||
exeinto "${GAMES_DATADIR}/${PN}/bash"
|
||||
find "${S}/bash" -type f -exec doexe '{}' +
|
||||
exeinto "${GAMES_DATADIR}/${PN}/bash/expert"
|
||||
find "${S}/bash/expert" -type f -exec doexe '{}' +
|
||||
|
||||
# python/ install
|
||||
python_moduleinto "${GAMES_DATADIR}/${PN}"
|
||||
python_domodule python
|
||||
|
||||
# main executable files
|
||||
exeinto "${GAMES_DATADIR}/${PN}"
|
||||
doexe ${PN}{,-pkg,-bash,-shell,-url_handler}
|
||||
|
||||
# icons
|
||||
doicon -s 128 etc/${PN}.png
|
||||
for size in 16 22 32; do
|
||||
newicon -s $size etc/${PN}$size.png ${PN}.png
|
||||
done
|
||||
|
||||
doman "${FILESDIR}"/playonlinux{,-pkg}.1
|
||||
dodoc CHANGELOG.md
|
||||
|
||||
games_make_wrapper ${PN} "./${PN}" "${GAMES_DATADIR}/${PN}"
|
||||
games_make_wrapper ${PN}-pkg "./${PN}-pkg" "${GAMES_DATADIR}/${PN}"
|
||||
make_desktop_entry ${PN} ${MY_PN} ${PN} Game
|
||||
|
||||
prepgamesdirs
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
games_pkg_postinst
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]]; then
|
||||
elog "Installed softwares and games with playonlinux have not been removed."
|
||||
elog "To remove them, you can re-install playonlinux and remove them using it"
|
||||
elog "or do it manually by removing .PlayOnLinux/ in your home directory."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -0,0 +1,56 @@
|
||||
diff --git a/gourmet/sound.py b/gourmet/sound.py
|
||||
index 2dea6bb7..c232d258 100644
|
||||
--- a/gourmet/sound.py
|
||||
+++ b/gourmet/sound.py
|
||||
@@ -1,15 +1,19 @@
|
||||
try:
|
||||
- from sound_gst import Player
|
||||
+ from sound_pyglet import Player
|
||||
except ImportError:
|
||||
- print 'No gst player'
|
||||
+ print 'No pyglet player'
|
||||
try:
|
||||
- from sound_windows import Player
|
||||
+ from sound_gst import Player
|
||||
except ImportError:
|
||||
- print 'No windows player'
|
||||
- import sys
|
||||
- class Player:
|
||||
- """Fallback player"""
|
||||
- def play_file (self,path):
|
||||
- print 'No player installed -- beeping instead'
|
||||
- for n in range(5): sys.stdout.write('\a'); sys.stdout.flush()
|
||||
+ print 'No gst player'
|
||||
+ try:
|
||||
+ from sound_windows import Player
|
||||
+ except ImportError:
|
||||
+ print 'No windows player'
|
||||
+ import sys
|
||||
+ class Player:
|
||||
+ """Fallback player"""
|
||||
+ def play_file (self,path):
|
||||
+ print 'No player installed -- beeping instead'
|
||||
+ for n in range(5): sys.stdout.write('\a'); sys.stdout.flush()
|
||||
|
||||
diff --git a/gourmet/sound_pyglet.py b/gourmet/sound_pyglet.py
|
||||
new file mode 100644
|
||||
index 00000000..41da613a
|
||||
--- /dev/null
|
||||
+++ b/gourmet/sound_pyglet.py
|
||||
@@ -0,0 +1,16 @@
|
||||
+import pyglet
|
||||
+
|
||||
+class Player:
|
||||
+ def __init__ (self):
|
||||
+ pass
|
||||
+
|
||||
+ def play_file (self,path):
|
||||
+ self.source = pyglet.media.load(path,streaming=False)
|
||||
+ self.source.play()
|
||||
+
|
||||
+ def stop_play (self,path):
|
||||
+ pass
|
||||
+
|
||||
+if __name__ == '__main__':
|
||||
+ p = Player()
|
||||
+ p.play_file('../data/sound/phone.wav')
|
@ -0,0 +1,62 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE="sqlite"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Recipe Organizer and Shopping List Generator for Gnome"
|
||||
HOMEPAGE="https://thinkle.github.com/gourmet/"
|
||||
SRC_URI="https://github.com/thinkle/gourmet/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="-i18n -ipython pdf print spell sound web"
|
||||
|
||||
RDEPEND=">=dev-python/pygtk-2.22.0:2[${PYTHON_USEDEP}]
|
||||
>=dev-python/sqlalchemy-0.7.9-r1[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
i18n? ( dev-python/elib-intl[${PYTHON_USEDEP}] )
|
||||
ipython? ( >=dev-python/ipython-0.13.2[${PYTHON_USEDEP}] )
|
||||
pdf? (
|
||||
>=dev-python/reportlab-2.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-poppler-0.12.1-r4[${PYTHON_USEDEP}]
|
||||
)
|
||||
print? (
|
||||
>=dev-python/reportlab-2.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-poppler-0.12.1-r4[${PYTHON_USEDEP}]
|
||||
)
|
||||
spell? ( >=dev-python/gtkspell-python-2.25.3-r1[${PYTHON_USEDEP}] )
|
||||
sound? ( dev-python/pyglet[${PYTHON_USEDEP}] )
|
||||
web? ( >=dev-python/beautifulsoup-3.2.1-r1:python-2[${PYTHON_USEDEP}] )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/intltool
|
||||
>=dev-python/python-distutils-extra-2.37-r1[${PYTHON_USEDEP}]"
|
||||
|
||||
PATCHES=( ${FILESDIR}/no-docs-0.17.0.patch \
|
||||
${FILESDIR}/tostring-to-tobytes.patch \
|
||||
${FILESDIR}/${PN}-${PV}-pyglet.patch )
|
||||
DOCS=( ChangeLog CODING.md FAQ README.md TESTS TODO.md )
|
||||
|
||||
python_prepare_all() {
|
||||
# Modify these lines before copying them out
|
||||
sed -i "s:base_dir = '..':base_dir = '/usr/share':" gourmet/settings.py || die
|
||||
sed -i 's:data_dir = os.path.join(base_dir, "gourmet", "data"):data_dir = os.path.join(base_dir, "gourmet"):' gourmet/settings.py || die
|
||||
sed -i 's:\(icon_base = os.path.join(data_dir,\) "icons",:\1 "gourmet",:' gourmet/settings.py || die
|
||||
sed -i 's:\(locale_base = os.path.join(base_dir, "gourmet",\) "build",:\1:' gourmet/settings.py || die
|
||||
sed -i 's:\(plugin_base = os.path.join(base_dir,\) "gourmet", "build", "share",:\1:' gourmet/settings.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_prepare() {
|
||||
distutils-r1_python_prepare
|
||||
sed -i "s:\(lib_dir = \)'../gourmet':\1'$(python_get_sitedir)':" gourmet/settings.py || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
doman gourmet.1
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST wammu-0.40.tar.bz2 687062 SHA256 cffd4fc6cc7b9433b3f589d51671a5ac5e188abbf676ebe0ce94011933fdb2ff SHA512 2ed5d5cdd63b3731808c5fa8cc36caf394c4ccf714eb4ef39a25f1e7967d8ccf8b69db5aeff37ff0d1bbf7cefec51fe070a5f0b90d0cb8271f1a3d243eaf06fd WHIRLPOOL b05dac88593c5ae3c01f63984824690991a347e4efff2bf3595b1088d9903843e018690845391ab48f62ab7d17f11d0b3a801103a1c408822b1c9afdd88f7150
|
||||
DIST wammu-0.43.tar.xz 563832 SHA256 1595d120c7e18674538663d6471ce8fd5b975baf9682ab594f6303b1cf520796 SHA512 c8f0aad8d8fc2c852638a77b45d48ba3c512a1e1cf8f8dc54b99a614f7338f366494ef88d786143defd77e55ab9597d9c705569c4e0fceb856f29a05b9c6a843 WHIRLPOOL 63f1c3f7c347ffab592d2ef4a386dbf1ae42e4d1d92c945ad21a14be25b449a73380021c896205eda5288f41bec492e292e464ec82c4a81a5419060b4340874d
|
||||
|
@ -0,0 +1,65 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Front-end for gammu to access mobile phones easily"
|
||||
HOMEPAGE="http://www.wammu.eu/"
|
||||
SRC_URI="http://dl.cihar.com/wammu/v0/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="bluetooth gnome"
|
||||
|
||||
RDEPEND="
|
||||
>=app-mobilephone/gammu-1.36
|
||||
dev-python/python-gammu
|
||||
>=dev-python/wxpython-2.8:*[${PYTHON_USEDEP}]
|
||||
bluetooth? (
|
||||
dev-python/pybluez[${PYTHON_USEDEP}]
|
||||
gnome? ( net-wireless/gnome-bluetooth )
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
# Supported languages and translated documentation
|
||||
# Be sure all languages are prefixed with a single space!
|
||||
MY_AVAILABLE_LINGUAS=" af ar bg bn ca cs da de el en_GB es et fi fr gl he hu id it ko nl pl pt_BR ro ru sk sv sw tr uk zh_CN zh_TW"
|
||||
IUSE="${IUSE} ${MY_AVAILABLE_LINGUAS// / linguas_}"
|
||||
|
||||
# Required to source locale content out of the box
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
src_prepare() {
|
||||
local lang support_linguas=no
|
||||
for lang in ${MY_AVAILABLE_LINGUAS} ; do
|
||||
if use linguas_${lang} ; then
|
||||
support_linguas=yes
|
||||
break
|
||||
fi
|
||||
done
|
||||
# install all languages when all selected LINGUAS aren't supported
|
||||
if [ "${support_linguas}" = "yes" ]; then
|
||||
for lang in ${MY_AVAILABLE_LINGUAS} ; do
|
||||
if ! use linguas_${lang} ; then
|
||||
rm -r locale/${lang} || die
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# SKIPWXCHECK: else 'import wx' results in
|
||||
# Xlib: connection to ":0.0" refused by server
|
||||
SKIPWXCHECK=yes distutils-r1_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
SKIPWXCHECK=yes distutils-r1_src_install
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST evince-3.22.1.tar.xz 3365004 SHA256 f3d439db3b5a5745d26175d615a71dffa1535235b1e3aa0b85d397ea33ab231c SHA512 c36a90bf98f25b4f9f05536f1a09c38be30b814529e17a4ab159ba7c1e952402a211f335d4cdf1928ace8a5b46d6d019fbbd457ce11c2ffa264d8bb7c32d5a18 WHIRLPOOL 7b646bab40f9c05b7689de70b1de2e313b0576a772887187d71b51b00c456251169b7e5bb85f44f443a0dcce5199a405dc303c49a4be3d62c244225493c58749
|
||||
DIST evince-3.24.0.tar.xz 3507256 SHA256 043895af7bbd6f1b57f9ab8778e78cf9c0af5dfcc347eaa94a17bf864c04dc8f SHA512 b793c44b2976abe58461adfdb0b1874af8d6bafaf9b80a851d94b776f9d50f6a81774bcb5b35cd59a9ad3afeea9a8b88018aa85d670373c7c2fa9617407a09c4 WHIRLPOOL 944a9622802d2ab99140115f65922cf79baefcabf43be08b9b3f9654fe095ef57909a03ba20ad6cfe1f396878674265d7198e48669168b288e4b21ace1172a69
|
||||
|
@ -0,0 +1,102 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
inherit gnome2 systemd
|
||||
|
||||
DESCRIPTION="Simple document viewer for GNOME"
|
||||
HOMEPAGE="https://wiki.gnome.org/Apps/Evince"
|
||||
|
||||
LICENSE="GPL-2+ CC-BY-SA-3.0"
|
||||
# subslot = evd3.(suffix of libevdocument3)-evv3.(suffix of libevview3)
|
||||
SLOT="0/evd3.4-evv3.3"
|
||||
IUSE="djvu dvi gstreamer gnome gnome-keyring +introspection nautilus nsplugin +postscript t1lib tiff xps"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x64-solaris"
|
||||
|
||||
# atk used in libview
|
||||
# gdk-pixbuf used all over the place
|
||||
COMMON_DEPEND="
|
||||
dev-libs/atk
|
||||
>=dev-libs/glib-2.36:2[dbus]
|
||||
>=dev-libs/libxml2-2.5:2
|
||||
sys-libs/zlib:=
|
||||
x11-libs/gdk-pixbuf:2
|
||||
>=x11-libs/gtk+-3.16.0:3[introspection?]
|
||||
gnome-base/gsettings-desktop-schemas
|
||||
>=x11-libs/cairo-1.10:=
|
||||
>=app-text/poppler-0.33[cairo]
|
||||
djvu? ( >=app-text/djvu-3.5.22:= )
|
||||
dvi? (
|
||||
virtual/tex-base
|
||||
dev-libs/kpathsea:=
|
||||
t1lib? ( >=media-libs/t1lib-5:= ) )
|
||||
gstreamer? (
|
||||
media-libs/gstreamer:1.0
|
||||
media-libs/gst-plugins-base:1.0
|
||||
media-libs/gst-plugins-good:1.0 )
|
||||
gnome? ( gnome-base/gnome-desktop:3= )
|
||||
gnome-keyring? ( >=app-crypt/libsecret-0.5 )
|
||||
introspection? ( >=dev-libs/gobject-introspection-1:= )
|
||||
nautilus? ( >=gnome-base/nautilus-2.91.4[introspection?] )
|
||||
postscript? ( >=app-text/libspectre-0.2:= )
|
||||
tiff? ( >=media-libs/tiff-3.6:0= )
|
||||
xps? ( >=app-text/libgxps-0.2.1:= )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
gnome-base/gvfs
|
||||
gnome-base/librsvg
|
||||
|| (
|
||||
>=x11-themes/adwaita-icon-theme-2.17.1
|
||||
>=x11-themes/hicolor-icon-theme-0.10 )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
app-text/docbook-xml-dtd:4.3
|
||||
app-text/yelp-tools
|
||||
dev-util/gdbus-codegen
|
||||
>=dev-util/gtk-doc-am-1.13
|
||||
>=dev-util/intltool-0.35
|
||||
dev-util/itstool
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
"
|
||||
# eautoreconf needs:
|
||||
# app-text/yelp-tools
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/3.22.1-CVE-2017-1000083.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
gnome2_src_prepare
|
||||
|
||||
# Do not depend on adwaita-icon-theme, bug #326855, #391859
|
||||
# https://bugs.freedesktop.org/show_bug.cgi?id=29942
|
||||
sed -e 's/adwaita-icon-theme >= $ADWAITA_ICON_THEME_REQUIRED//g' \
|
||||
-i configure || die "sed failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
gnome2_src_configure \
|
||||
--disable-static \
|
||||
--enable-pdf \
|
||||
--enable-comics \
|
||||
--enable-thumbnailer \
|
||||
--with-platform=gnome \
|
||||
--enable-dbus \
|
||||
$(use_enable djvu) \
|
||||
$(use_enable dvi) \
|
||||
$(use_enable gstreamer multimedia) \
|
||||
$(use_enable gnome libgnome-desktop) \
|
||||
$(use_with gnome-keyring keyring) \
|
||||
$(use_enable introspection) \
|
||||
$(use_enable nautilus) \
|
||||
$(use_enable nsplugin browser-plugin) \
|
||||
$(use_enable postscript ps) \
|
||||
$(use_enable t1lib) \
|
||||
$(use_enable tiff) \
|
||||
$(use_enable xps) \
|
||||
BROWSER_PLUGIN_DIR="${EPREFIX}"/usr/$(get_libdir)/nsbrowser/plugins \
|
||||
--with-systemduserunitdir="$(systemd_get_userunitdir)"
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST lout-3.38.tar.gz 2147395 SHA256 6a2adc64a8b4a81ed39893328778da284a6ab0da3e5e20f678425f2d53dad80a SHA512 ad396dc885e904e26c31498123f4e6e5dd1356da7fe623b2a812e9ae8442ee4c68ed3925854f8116687f46c9cc0084b6d39a3130d8b9d8a3ee0ee25d5b9b1f5e WHIRLPOOL 59c8d99710fbc5096f84e75be13a1e64213e0c783c0bff30594ff0d23148aab3a619f6c2064bd62f059a7593d92b34f4689266d80eeb42d559fcd468d37412d5
|
||||
DIST lout-3.40.tar.gz 2172651 SHA256 3d16f1ce3373ed96419ba57399c2e4d94f88613c2cb4968cb0331ecac3da68bd SHA512 adffbb44b9328f0d64b1c8f08fe0217307b1cca870827ca54e0aaae5a2258f519e3e6f0adc715ba6d192dd731ab26c2cc86aa8611d991d5665503842e599c061 WHIRLPOOL 6a39cf906cadd48404f60efe0cfe3adf5126ee2f9372b8019edaae21be0a5f4f1430b51d6567486be13c302841e1e0f393e7e03060cd9853273f2c23d69b1b95
|
||||
|
@ -1,85 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=3
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
IUSE="zlib doc"
|
||||
|
||||
DESCRIPTION="high-level language for document formatting"
|
||||
HOMEPAGE="http://lout.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/lout/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
|
||||
DEPEND="zlib? ( >=sys-libs/zlib-1.1.4 )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-makefile.patch"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
||||
local myconf
|
||||
use zlib && myconf="$myconf PDF_COMPRESSION=1 ZLIB=-lz"
|
||||
emake COPTS="${CFLAGS}" BINDIR="${EPREFIX}"/usr/bin \
|
||||
LOUTLIBDIR="${EPREFIX}"/usr/share/lout \
|
||||
LOUTDOCDIR="${EPREFIX}"/usr/share/doc/${PF} \
|
||||
MANDIR="${EPREFIX}"/usr/share/man/man1 \
|
||||
${myconf} lout prg2lout || die "emake prg2lout lout failed"
|
||||
}
|
||||
|
||||
compile_doc() {
|
||||
#
|
||||
# SYNOPSIS: compile_doc file times
|
||||
#
|
||||
|
||||
einfo "${1}:"
|
||||
# yes, it *is* necessary to run this 6 times...
|
||||
for i in $(seq 1 $(expr $2 - 1)) ; do
|
||||
einfo " pass $i"
|
||||
lout all -o ${docdir}/$1 -e /dev/null
|
||||
done
|
||||
# in the last one, let errors be reported
|
||||
einfo " final pass"
|
||||
lout all -o ${docdir}/$1 || die "final pass failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local bindir libdir docdir mandir
|
||||
bindir=${ED}usr/bin
|
||||
libdir=${ED}usr/share/lout
|
||||
docdir=${ED}usr/share/doc/${PF}
|
||||
mandir=${ED}usr/share/man/man1
|
||||
export LOUTLIB=${libdir}
|
||||
export PATH="${bindir}:${PATH}"
|
||||
|
||||
mkdir -p ${bindir} ${docdir} ${mandir}
|
||||
|
||||
make BINDIR=${bindir} \
|
||||
LOUTLIBDIR=${libdir} \
|
||||
LOUTDOCDIR=${docdir} \
|
||||
MANDIR=${mandir} \
|
||||
install installdoc installman || die "make install failed"
|
||||
|
||||
lout -x -s "${ED}"usr/share/lout/include/init || die "lout init failed"
|
||||
|
||||
mv ${docdir}/README{,.docs}
|
||||
dodoc README READMEPDF blurb blurb.short whatsnew
|
||||
|
||||
if use doc ; then
|
||||
einfo "building postscript documentation (may take a while)"
|
||||
cd doc/user
|
||||
compile_doc user.ps 6
|
||||
cd ../design
|
||||
compile_doc design.ps 3
|
||||
cd ../expert
|
||||
compile_doc expert.ps 4
|
||||
cd ../slides
|
||||
compile_doc slides.ps 2
|
||||
fi
|
||||
}
|
@ -1,5 +1,6 @@
|
||||
DIST etcd-2.3.8.tar.gz 2206562 SHA256 6a138b2005e42b0961a12886cc641b792e991cd631fdb502ec5c614b65231cd1 SHA512 4268de32797cab23e9e47784d31d5abd6982068c53d3cc9735a06719740dba45b73f4e067cbc7aa8aef5ca7c56d8be067f1076685ac82f64012b760d8b7f2bfc WHIRLPOOL 4db1b4fe6d0ff917adfc53bd959bb7ac2937da794483e4a4a95e5fb557cf4fbfd43d5bb3c5e21e499432f80f6606407accaa69bc03a3982621276deb529c07da
|
||||
DIST etcd-3.0.17.tar.gz 2208002 SHA256 c56c68a8cd5d120a51432f3a79a2c19082a6824493e4bb08c4e440aefbf73d8f SHA512 6eb6a61210f225b6fe7e911ad135e5014f80f71a04adccc3f382ca7b5e1b1b692b12dde26335ecac176cb8b8f4586732cb6e650b32730ec68ef7fbcbba7ab160 WHIRLPOOL 102dc47d120a1f4173b67168e5e51f64025da280ca41161131a6bd2ef9521605ef19e03166848f6c32862a3adbfc0a026f547dc7764018e85f6ac28f89c8d256
|
||||
DIST etcd-3.1.10.tar.gz 2532936 SHA256 22b25185571cf72409d35e28b9f15ea12cef02cffb552bc4efb7b74ffb62c0e7 SHA512 feb0745c2377248f9ad62359fbd6c2f0b3afbd94f89919963edf56965c98b5666f7b24fcf698599b35483b89b773dcbd647696eabc0436db6a88c68dbfc6dd6b WHIRLPOOL 0c922f1114753e126063689ebe722db59dace7715f7631ec6ca2f92438c405d9184bdebe277f2b808f5194bf2cf42904180bc7b80da051941ee3db2620b82ab7
|
||||
DIST etcd-3.1.9.tar.gz 2524517 SHA256 94cf6a970ca707eec16e3264b8cd20ef8963d0683958ef087b52f490ab784a6f SHA512 e4727f2bafaf38c139608726947258f3ae3aa91452b145710ff527f5b57cbda18474902450581882e668befc422f6a1b9f1232a23e3eeedefae2ed2da1814cfc WHIRLPOOL c0241b76220cfccc331db3caf19c1ab33485b0219d31656a26e577c0ae9ae606f17f05b34a1c58644b24a2a712b61982429c25489923892ccb09806ac0a2eb24
|
||||
DIST etcd-3.2.0.tar.gz 2869095 SHA256 b047756eea4d1592d373582e3300c0aec58c508e6a08bf6582c08d3571f3578d SHA512 a5d119eace3ffb441b847613bed0f011f53666eba0130b0da48b4511b61918228412f1caa93775c5b4e32f9c9cb549382f922257fd1b93f844967521686b86c6 WHIRLPOOL 95df6f3f271016bdf8288a6cd3424f7706a8695e473a7828eac625b1b810af9d9e10b2e164755659d989744e7d041db96839e94d748152184a65c6e8391565bc
|
||||
DIST etcd-3.2.1.tar.gz 2872401 SHA256 de5064e6ed2902b2fbc177726eafe6023ce7cebc9f0ce68c633eae61c4b86934 SHA512 cf2f6e1633b43739edae74daaf2550c665b6fed0c94bac57636e3f02f9d54f467d674a70972649443ae9545abc0f3ba11675a478293f678812f4fe722d8c0964 WHIRLPOOL 1ddce741de5a58d79947b6d8af891f35efeacf2c9965704438007cf2a6b62ec0b8e9bb00b438296aec3db847be8ea17cc414ef78fa8251b5ceb15f6b99fb2890
|
||||
DIST etcd-3.2.3.tar.gz 2881665 SHA256 f7f70ec0a5d32522ed2599444671554aa4116196cb5298f89b5c34beae45f54b SHA512 645c88a344d0b85071974f0983dd0496080030121505dab583383afb841d49fb71f545e5cc4a491ba876cbca5c6414b980c5c644c7cde76dc877047c5551187c WHIRLPOOL 8412e93aa15dcca280dbd88cf353b3e89ea446a18edd002ee33b963051440cef7229e643963d44079312724453774db17716347b876badd1e4002e05df320412
|
||||
|
@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit user systemd golang-vcs-snapshot
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
EGO_PN=github.com/coreos/etcd
|
||||
DESCRIPTION="Highly-available key value store for shared configuration and service discovery"
|
||||
HOMEPAGE="https://github.com/coreos/etcd"
|
||||
SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="doc"
|
||||
DEPEND=">=dev-lang/go-1.6:="
|
||||
RDEPEND="!dev-db/etcdctl"
|
||||
|
||||
src_prepare() {
|
||||
eapply_user
|
||||
sed -e 's|GIT_SHA=.*|GIT_SHA=v${PV}|'\
|
||||
-i "${S}"/src/${EGO_PN}/build || die
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup ${PN}
|
||||
enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export GOPATH=${S}
|
||||
cd "${S}"/src/${EGO_PN} || die
|
||||
./build || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${S}"/src/${EGO_PN} || die
|
||||
insinto /etc/${PN}
|
||||
doins "${FILESDIR}/${PN}.conf"
|
||||
dobin bin/*
|
||||
dodoc README.md
|
||||
use doc && dodoc -r Documentation
|
||||
systemd_dounit "${FILESDIR}/${PN}.service"
|
||||
systemd_newtmpfilesd "${FILESDIR}/${PN}.tmpfiles.d.conf" ${PN}.conf
|
||||
newinitd "${FILESDIR}"/${PN}.initd ${PN}
|
||||
newconfd "${FILESDIR}"/${PN}.confd ${PN}
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/${PN}.logrotated" "${PN}"
|
||||
dodir /var/lib/${PN}
|
||||
fowners ${PN}:${PN} /var/lib/${PN}
|
||||
fperms 755 /var/lib/${PN}
|
||||
dodir /var/log/${PN}
|
||||
fowners ${PN}:${PN} /var/log/${PN}
|
||||
fperms 755 /var/log/${PN}
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${S}"/src/${EGO_PN} || die
|
||||
./test || die
|
||||
}
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
JAVA_PKG_IUSE="source"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
MY_A="apache-${P}-src"
|
||||
MY_P="${MY_A/-servlet-api/}"
|
||||
DESCRIPTION="Tomcat's Servlet API 3.0/JSP API 2.2 implementation"
|
||||
HOMEPAGE="http://tomcat.apache.org/"
|
||||
SRC_URI="mirror://apache/tomcat/tomcat-7/v${PV}/src/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="3.0"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=virtual/jdk-1.6"
|
||||
RDEPEND=">=virtual/jre-1.6"
|
||||
|
||||
S="${WORKDIR}/${MY_P}/"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
cp "${FILESDIR}/${SLOT}-build.xml" build.xml || die "Could not replace build.xml"
|
||||
rm -fR */*/build.xml ||die
|
||||
java-pkg_clean
|
||||
|
||||
java-pkg-2_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar "${S}"/output/build/lib/*.jar
|
||||
use source && java-pkg_dosrc java/javax/servlet/
|
||||
}
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
JAVA_PKG_IUSE="source"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
MY_A="apache-${P}-src"
|
||||
MY_P="${MY_A/-servlet-api/}"
|
||||
DESCRIPTION="Tomcat's Servlet API 3.1/JSP API 2.3/EL API 3.0 implementation"
|
||||
HOMEPAGE="http://tomcat.apache.org/"
|
||||
SRC_URI="mirror://apache/tomcat/tomcat-8/v${PV}/src/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="3.1"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=virtual/jdk-1.7"
|
||||
RDEPEND=">=virtual/jre-1.7"
|
||||
|
||||
S="${WORKDIR}/${MY_P}/"
|
||||
|
||||
java_prepare() {
|
||||
cp "${FILESDIR}/${SLOT}-build.xml" build.xml || die "Could not replace build.xml"
|
||||
rm -fR */*/build.xml
|
||||
einfo "Removing bundled jars and classes"
|
||||
find "${S}" '(' -name '*.class' -o -name '*.jar' ')' -exec rm -frv {} +
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar "${S}"/output/build/lib/*.jar
|
||||
use source && java-pkg_dosrc java/javax/servlet/
|
||||
}
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
JAVA_PKG_IUSE="source"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
MY_A="apache-${P}-src"
|
||||
MY_P="${MY_A/-servlet-api/}"
|
||||
DESCRIPTION="Tomcat's Servlet API 3.1/JSP API 2.3/EL API 3.0 implementation"
|
||||
HOMEPAGE="http://tomcat.apache.org/"
|
||||
SRC_URI="mirror://apache/tomcat/tomcat-8/v${PV}/src/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="3.1"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=virtual/jdk-1.7"
|
||||
RDEPEND=">=virtual/jre-1.7"
|
||||
|
||||
S="${WORKDIR}/${MY_P}/"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
cp "${FILESDIR}/${SLOT}-build.xml" build.xml || die "Could not replace build.xml"
|
||||
rm -fR */*/build.xml
|
||||
einfo "Removing bundled jars and classes"
|
||||
find "${S}" '(' -name '*.class' -o -name '*.jar' ')' -exec rm -frv {} +
|
||||
|
||||
java-pkg-2_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar "${S}"/output/build/lib/*.jar
|
||||
use source && java-pkg_dosrc java/javax/servlet/
|
||||
}
|
@ -0,0 +1,243 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
#PATCHSET=1
|
||||
|
||||
inherit autotools eutils flag-o-matic multilib versionator
|
||||
|
||||
MY_P="${PN}-$(get_version_component_range 1-3)"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
SLOT=$(get_version_component_range 1-2)
|
||||
MY_SUFFIX=$(delete_version_separator 1 ${SLOT})
|
||||
RUBYVERSION=${SLOT}.0
|
||||
|
||||
if [[ -n ${PATCHSET} ]]; then
|
||||
if [[ ${PVR} == ${PV} ]]; then
|
||||
PATCHSET="${PV}-r0.${PATCHSET}"
|
||||
else
|
||||
PATCHSET="${PVR}.${PATCHSET}"
|
||||
fi
|
||||
else
|
||||
PATCHSET="${PVR}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="An object-oriented scripting language"
|
||||
HOMEPAGE="http://www.ruby-lang.org/"
|
||||
SRC_URI="mirror://ruby/${SLOT}/${MY_P}.tar.xz
|
||||
https://dev.gentoo.org/~graaff/ruby-team/${PN}-patches-${PATCHSET}.tar.bz2"
|
||||
|
||||
LICENSE="|| ( Ruby-BSD BSD-2 )"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="berkdb debug doc examples gdbm ipv6 jemalloc libressl +rdoc rubytests socks5 ssl static-libs tk xemacs"
|
||||
|
||||
RDEPEND="
|
||||
berkdb? ( sys-libs/db:= )
|
||||
gdbm? ( sys-libs/gdbm )
|
||||
jemalloc? ( dev-libs/jemalloc )
|
||||
ssl? (
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl )
|
||||
)
|
||||
socks5? ( >=net-proxy/dante-1.1.13 )
|
||||
tk? (
|
||||
dev-lang/tcl:0=[threads]
|
||||
dev-lang/tk:0=[threads]
|
||||
)
|
||||
dev-libs/libyaml
|
||||
virtual/libffi
|
||||
sys-libs/zlib
|
||||
>=app-eselect/eselect-ruby-20161226
|
||||
!<dev-ruby/rdoc-3.9.4
|
||||
!<dev-ruby/rubygems-1.8.10-r1"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
BUNDLED_GEMS="
|
||||
>=dev-ruby/did_you_mean-1.1.0:2.4[ruby_targets_ruby24]
|
||||
>=dev-ruby/minitest-5.10.1[ruby_targets_ruby24]
|
||||
>=dev-ruby/net-telnet-0.1.1[ruby_targets_ruby24]
|
||||
>=dev-ruby/power_assert-0.4.1[ruby_targets_ruby24]
|
||||
>=dev-ruby/rake-12.0.0[ruby_targets_ruby24]
|
||||
>=dev-ruby/test-unit-3.2.3[ruby_targets_ruby24]
|
||||
>=dev-ruby/xmlrpc-0.2.1[ruby_targets_ruby24]
|
||||
"
|
||||
|
||||
PDEPEND="
|
||||
${BUNDLED_GEMS}
|
||||
virtual/rubygems[ruby_targets_ruby24]
|
||||
>=dev-ruby/json-2.0.2[ruby_targets_ruby24]
|
||||
rdoc? ( >=dev-ruby/rdoc-5.1.0[ruby_targets_ruby24] )
|
||||
xemacs? ( app-xemacs/ruby-modes )"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_FORCE="yes" EPATCH_SUFFIX="patch" \
|
||||
epatch "${WORKDIR}/patches"
|
||||
|
||||
einfo "Unbundling gems..."
|
||||
cd "$S"
|
||||
# Remove bundled gems that we will install via PDEPEND, bug
|
||||
# 539700. Use explicit version numbers to ensure rm fails when they
|
||||
# change so we can update dependencies accordingly.
|
||||
rm -f gems/{did_you_mean-1.1.0,minitest-5.10.1,net-telnet-0.1.1,power_assert-0.4.1,rake-12.0.0,test-unit-3.2.3,xmlrpc-0.2.1}.gem || die
|
||||
|
||||
einfo "Removing bundled libraries..."
|
||||
rm -fr ext/fiddle/libffi-3.2.1 || die
|
||||
|
||||
# Fix a hardcoded lib path in configure script
|
||||
sed -i -e "s:\(RUBY_LIB_PREFIX=\"\${prefix}/\)lib:\1$(get_libdir):" \
|
||||
configure.in || die "sed failed"
|
||||
|
||||
eapply_user
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local modules= myconf=
|
||||
|
||||
# -fomit-frame-pointer makes ruby segfault, see bug #150413.
|
||||
filter-flags -fomit-frame-pointer
|
||||
# In many places aliasing rules are broken; play it safe
|
||||
# as it's risky with newer compilers to leave it as it is.
|
||||
append-flags -fno-strict-aliasing
|
||||
# SuperH needs this
|
||||
use sh && append-flags -mieee
|
||||
|
||||
# Socks support via dante
|
||||
if use socks5 ; then
|
||||
# Socks support can't be disabled as long as SOCKS_SERVER is
|
||||
# set and socks library is present, so need to unset
|
||||
# SOCKS_SERVER in that case.
|
||||
unset SOCKS_SERVER
|
||||
fi
|
||||
|
||||
# Increase GC_MALLOC_LIMIT if set (default is 8000000)
|
||||
if [ -n "${RUBY_GC_MALLOC_LIMIT}" ] ; then
|
||||
append-flags "-DGC_MALLOC_LIMIT=${RUBY_GC_MALLOC_LIMIT}"
|
||||
fi
|
||||
|
||||
# ipv6 hack, bug 168939. Needs --enable-ipv6.
|
||||
use ipv6 || myconf="${myconf} --with-lookup-order-hack=INET"
|
||||
|
||||
# Determine which modules *not* to build depending in the USE flags.
|
||||
if ! use berkdb ; then
|
||||
modules="${modules},dbm"
|
||||
fi
|
||||
if ! use gdbm ; then
|
||||
modules="${modules},gdbm"
|
||||
fi
|
||||
if ! use ssl ; then
|
||||
modules="${modules},openssl"
|
||||
fi
|
||||
if ! use tk ; then
|
||||
modules="${modules},tk"
|
||||
fi
|
||||
|
||||
# Provide an empty LIBPATHENV because we disable rpath but we do not
|
||||
# need LD_LIBRARY_PATH by default since that breaks USE=multitarget
|
||||
# #564272
|
||||
INSTALL="${EPREFIX}/usr/bin/install -c" LIBPATHENV="" econf \
|
||||
--program-suffix=${MY_SUFFIX} \
|
||||
--with-soname=ruby${MY_SUFFIX} \
|
||||
--docdir=${EPREFIX}/usr/share/doc/${P} \
|
||||
--enable-shared \
|
||||
--enable-pthread \
|
||||
--disable-rpath \
|
||||
--with-out-ext="${modules}" \
|
||||
$(use_with jemalloc jemalloc) \
|
||||
$(use_enable socks5 socks) \
|
||||
$(use_enable doc install-doc) \
|
||||
--enable-ipv6 \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable static-libs install-static-library) \
|
||||
$(use_with static-libs static-linked-ext) \
|
||||
$(use_enable debug) \
|
||||
${myconf} \
|
||||
--enable-option-checking=no \
|
||||
|| die "econf failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake V=1 EXTLDFLAGS="${LDFLAGS}" || die "emake failed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 V=1 test || die "make test failed"
|
||||
|
||||
elog "Ruby's make test has been run. Ruby also ships with a make check"
|
||||
elog "that cannot be run until after ruby has been installed."
|
||||
elog
|
||||
if use rubytests; then
|
||||
elog "You have enabled rubytests, so they will be installed to"
|
||||
elog "/usr/share/${PN}-${SLOT}/test. To run them you must be a user other"
|
||||
elog "than root, and you must place them into a writeable directory."
|
||||
elog "Then call: "
|
||||
elog
|
||||
elog "ruby${MY_SUFFIX} -C /location/of/tests runner.rb"
|
||||
else
|
||||
elog "Enable the rubytests USE flag to install the make check tests"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Remove the remaining bundled gems. We do this late in the process
|
||||
# since they are used during the build to e.g. create the
|
||||
# documentation.
|
||||
rm -rf ext/json || die
|
||||
|
||||
# Ruby is involved in the install process, we don't want interference here.
|
||||
unset RUBYOPT
|
||||
|
||||
local MINIRUBY=$(echo -e 'include Makefile\ngetminiruby:\n\t@echo $(MINIRUBY)'|make -f - getminiruby)
|
||||
|
||||
LD_LIBRARY_PATH="${S}:${D}/usr/$(get_libdir)${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}"
|
||||
RUBYLIB="${S}:${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"
|
||||
for d in $(find "${S}/ext" -type d) ; do
|
||||
RUBYLIB="${RUBYLIB}:$d"
|
||||
done
|
||||
export LD_LIBRARY_PATH RUBYLIB
|
||||
|
||||
emake V=1 DESTDIR="${D}" install || die "make install failed"
|
||||
|
||||
# Remove installed rubygems and rdoc copy
|
||||
rm -rf "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}/rubygems" || die "rm rubygems failed"
|
||||
rm -rf "${D}/usr/bin/"gem"${MY_SUFFIX}" || die "rm rdoc bins failed"
|
||||
rm -rf "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"/rdoc* || die "rm rdoc failed"
|
||||
rm -rf "${D}/usr/bin/"{ri,rdoc}"${MY_SUFFIX}" || die "rm rdoc bins failed"
|
||||
|
||||
if use doc; then
|
||||
make DESTDIR="${D}" install-doc || die "make install-doc failed"
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r sample
|
||||
fi
|
||||
|
||||
dodoc ChangeLog NEWS doc/NEWS* README* || die
|
||||
|
||||
if use rubytests; then
|
||||
pushd test
|
||||
insinto /usr/share/${PN}-${SLOT}/test
|
||||
doins -r .
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
|
||||
eselect ruby set ruby${MY_SUFFIX}
|
||||
fi
|
||||
|
||||
elog
|
||||
elog "To switch between available Ruby profiles, execute as root:"
|
||||
elog "\teselect ruby set ruby(19|20|...)"
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect ruby cleanup
|
||||
}
|
@ -1,122 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=2
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
# Map Gentoo IUSE expand vars to DirectFB drivers
|
||||
# echo `sed -n '/Possible gfxdrivers are:/,/^$/{/Possible/d;s:\[ *::;s:\].*::;s:,::g;p}' configure.in`
|
||||
I_TO_D_intel="i810,i830"
|
||||
I_TO_D_mga="matrox"
|
||||
I_TO_D_r128="ati128"
|
||||
I_TO_D_s3="unichrome"
|
||||
I_TO_D_sis="sis315"
|
||||
I_TO_D_via="cle266"
|
||||
# cyber5k davinci ep9x gl omap pxa3xx sh772x
|
||||
IUSE_VIDEO_CARDS=" intel mach64 mga neomagic nsc nvidia r128 radeon s3 savage sis tdfx via vmware"
|
||||
IUV=${IUSE_VIDEO_CARDS// / video_cards_}
|
||||
# echo `sed -n '/Possible inputdrivers are:/,/^$/{/\(Possible\|^input\)/d;s:\[ *::;s:\].*::;s:,::g;p}' configure.in`
|
||||
I_TO_D_elo2300="elo-input"
|
||||
I_TO_D_evdev="linuxinput"
|
||||
I_TO_D_mouse="ps2mouse serialmouse"
|
||||
# dbox2remote dreamboxremote gunze h3600_ts penmount sonypijogdial ucb1x00 wm97xx zytronic
|
||||
IUSE_INPUT_DEVICES=" dynapro elo2300 evdev joystick keyboard lirc mouse mutouch tslib"
|
||||
IUD=${IUSE_INPUT_DEVICES// / input_devices_}
|
||||
|
||||
DESCRIPTION="Thin library on top of the Linux framebuffer devices"
|
||||
HOMEPAGE="http://www.directfb.net/"
|
||||
SRC_URI="http://directfb.net/downloads/Core/${PN}-${PV:0:3}/${P}.tar.gz
|
||||
http://directfb.net/downloads/Old/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 -mips ppc ppc64 sh -sparc x86"
|
||||
IUSE="debug doc fbcon gif jpeg cpu_flags_x86_mmx png sdl cpu_flags_x86_sse static-libs truetype v4l X zlib ${IUV} ${IUD}"
|
||||
|
||||
RDEPEND="sdl? ( media-libs/libsdl )
|
||||
gif? ( media-libs/giflib )
|
||||
png? ( media-libs/libpng )
|
||||
jpeg? ( virtual/jpeg )
|
||||
zlib? ( sys-libs/zlib )
|
||||
truetype? ( >=media-libs/freetype-2.0.1 )
|
||||
X? ( x11-libs/libXext x11-libs/libX11 )"
|
||||
DEPEND="${RDEPEND}
|
||||
X? ( x11-proto/xextproto x11-proto/xproto )"
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-1.2.7-CFLAGS.patch \
|
||||
"${FILESDIR}"/${PN}-1.2.0-headers.patch \
|
||||
"${FILESDIR}"/${PN}-1.1.1-pkgconfig.patch \
|
||||
"${FILESDIR}"/${PN}-1.4.9-libpng-1.5.patch
|
||||
|
||||
# the media subdir uses sqrt(), so make sure it links in -lm
|
||||
sed -i \
|
||||
-e '/libdirectfb_media_la_LIBADD/s:$: -lm:' \
|
||||
src/media/Makefile.in || die
|
||||
|
||||
# Avoid invoking `ld` directly #300779
|
||||
find . -name Makefile.in -exec sed -i \
|
||||
'/[$](LD)/s:$(LD) -o $@ -r:$(CC) $(LDFLAGS) $(CFLAGS) -Wl,-r -nostdlib -o $@:' {} +
|
||||
}
|
||||
|
||||
driver_list() {
|
||||
local pfx=$1
|
||||
local dev devs map
|
||||
shift
|
||||
for dev in "$@" ; do
|
||||
use ${pfx}_${dev} || continue
|
||||
map="I_TO_D_${dev}"
|
||||
devs=${devs:+${devs},}${!map:-${dev}}
|
||||
done
|
||||
echo ${devs:-none}
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local sdlconf="--disable-sdl"
|
||||
if use sdl ; then
|
||||
# since SDL can link against DirectFB and trigger a
|
||||
# dependency loop, only link against SDL if it isn't
|
||||
# broken #61592
|
||||
echo 'int main(){}' > sdl-test.c
|
||||
$(tc-getCC) sdl-test.c -lSDL 2>/dev/null \
|
||||
&& sdlconf="--enable-sdl" \
|
||||
|| ewarn "Disabling SDL since libSDL.so is broken"
|
||||
fi
|
||||
|
||||
econf \
|
||||
--disable-dependency-tracking \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable X x11) \
|
||||
$(use_enable fbcon fbdev) \
|
||||
$(use_enable cpu_flags_x86_mmx mmx) \
|
||||
$(use_enable cpu_flags_x86_sse sse) \
|
||||
$(use_enable jpeg) \
|
||||
$(use_enable png) \
|
||||
$(use_enable gif) \
|
||||
$(use_enable truetype freetype) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable zlib) \
|
||||
--disable-video4linux \
|
||||
$(use_enable v4l video4linux2) \
|
||||
${sdlconf} \
|
||||
--with-gfxdrivers="$(driver_list video_cards ${IUSE_VIDEO_CARDS})" \
|
||||
--with-inputdrivers="$(driver_list input_devices ${IUSE_INPUT_DEVICES})" \
|
||||
--disable-vnc
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "make install failed"
|
||||
dodoc fb.modes AUTHORS ChangeLog NEWS README* TODO
|
||||
use doc && dohtml -r docs/html/*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "Each DirectFB update breaks DirectFB related applications."
|
||||
ewarn "Please run \"revdep-rebuild\" which can be"
|
||||
ewarn "found by emerging the package 'gentoolkit'."
|
||||
ewarn
|
||||
ewarn "If you have an ALPS touchpad, then you might get your mouse"
|
||||
ewarn "unexpectedly set in absolute mode in all DirectFB applications."
|
||||
ewarn "This can be fixed by removing linuxinput from INPUT_DEVICES."
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST DirectFB-1.4.9.tar.gz 3095137 SHA256 988a40dbc81fe1ecaf69a3581ed49bf4f6bbb584cb54de24cba154d3ada7a228 SHA512 ec7e03f9f3bfffafd0d84676b79845fabe59d61ac278adf4e3cd03562638529a24ff76bd606c881926cae335da00f71541e2245d0aecd4af957b95ea66c7d969 WHIRLPOOL 310c079e0f396828ddfdec0695e26a04fbea2a8a9fd90066212cf70e94a371c8b0f8b29141374db788ac247a92d01e19b0d1ddc36c78beefb6cef5aeefd173e1
|
||||
DIST DirectFB-1.7.6.tar.gz 5975444 SHA256 44f32bacfb842ea234599532f8481fe41b5bd2310d2bd101508eb3a5df26c9e1 SHA512 18cf1aad6c277a6de147a9b0aff1cd7408ddd7c7159ef21dab9a548db7399c681603624e7820b186a29e03edaa7737350a61e2abaec572887e9cc56658bf85a2 WHIRLPOOL 2868906bbd2b4e681c6702f164f7ba4f01a0f538aea0c744c6e77ce32b274a967232ef0046ec21b74c9c53c4824182e632159cca5ea0c7c27292cb258257d6a8
|
||||
|
@ -1 +1,2 @@
|
||||
DIST deviceatlas-enterprise-c-2.1.2_1.tgz 184432 SHA256 984e1ae3147459a4ed0a8d5053d83dd05ce8c5127cd3cb055be35a74e9217372 SHA512 4ff269c55e74688dc1c954a1d9b0fc28aa135eccd20089f4da390522644bd1c08e2bc38e4ad15a64308a0e91b007a820dcdc3998c262fa5a7cfe1038e9f0e969 WHIRLPOOL 73c1c7eec0daed7632e8a5a7ceda956ec91cc603fe45df2fdbf2b54ecc950bd72ff59fdd85ff6a0ee70d54b2099ecc3219ef55f4aecb308f254851f93fe57738
|
||||
DIST deviceatlas-enterprise-c-2.1.zip 504286 SHA256 a02fc29486d245b1c8d946c663b71ba981e88fee8d037f5bc1bf255deb287974 SHA512 99a8e89f3d1c084a93b184685108ea65d1fd925e0c8b52599a42dbe70af3126103da0a9fd284b14ddf59b996204334d360a12651025413bc4d7f76054779275b WHIRLPOOL 939733a58f352cbeee852ccfea3f2f022310ceb7363a15889d9a6366532102ee700271b6008e0a57ae4d86cafe6354409f9520105e46eaabb5c41f1a7827f1b4
|
||||
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit cmake-multilib
|
||||
|
||||
MY_P="deviceatlas-enterprise-c-${PV/_p/_}"
|
||||
|
||||
DESCRIPTION="API to detect devices based on the User-Agent HTTP header"
|
||||
HOMEPAGE="https://deviceatlas.com"
|
||||
SRC_URI="${MY_P}.tgz"
|
||||
|
||||
LICENSE="all-rights-reserved"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ppc x86"
|
||||
IUSE="doc examples"
|
||||
|
||||
RDEPEND="dev-libs/libpcre[${MULTILIB_USEDEP}]"
|
||||
DEPEND="
|
||||
${RDEPEND}"
|
||||
|
||||
RESTRICT="fetch mirror bindist"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PV}-src-cmakelists.patch"
|
||||
)
|
||||
|
||||
pkg_nofetch() {
|
||||
eerror "Please go to https://deviceatlas.com/deviceatlas-haproxy-module"
|
||||
eerror "And download DeviceAtlas C API"
|
||||
eerror "Then place the file in ${DISTDIR}/${MY_P}.zip"
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
if use doc ; then
|
||||
local -a HTML_DOCS=( Documentation )
|
||||
fi
|
||||
|
||||
if use examples ; then
|
||||
insinto /usr/share/doc/${P}/examples
|
||||
doins examples/daexutil.h
|
||||
doins examples/example{0,1,2,3}.c
|
||||
doins examples/util.c
|
||||
doins examples/EXAMPLES.USAGE
|
||||
fi
|
||||
|
||||
einstalldocs
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
--- a/Src/CMakeLists.txt.orig 2017-05-20 22:56:14.138401705 +0100
|
||||
+++ b/Src/CMakeLists.txt 2017-05-20 22:58:11.376354697 +0100
|
||||
@@ -18,6 +18,7 @@
|
||||
set(MODEL 64)
|
||||
endif()
|
||||
|
||||
+include(GNUInstallDirs)
|
||||
message(STATUS "${CMAKE_BUILD_TYPE} version")
|
||||
|
||||
include_directories(${PCRE_INCLUDE_DIR} ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
@@ -37,5 +38,5 @@
|
||||
set (CMAKE_SHARED_LINKER_FLAGS -m32)
|
||||
endif()
|
||||
|
||||
-install(FILES libda.so libda.so.${API_VERSION} DESTINATION /usr/local/lib)
|
||||
-install(FILES dac.h dac_json.h DESTINATION /usr/local/include)
|
||||
+install(TARGETS da DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||
+install(FILES dac.h dac_json.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue