parent
5f058d9179
commit
a5aa01d038
@ -1,3 +1 @@
|
||||
DIST eselect-emacs-1.16.tar.xz 8720 SHA256 f4d789d611db71bc5ce949a3e05b911e7ec34ad9a596cc9f1f2af210314d96bb SHA512 5c3fdc6426ccfc162b4bb7805d2b183bd69a240542547a6d43715103692e931d4e7e2d5d4932ab00169e74dabc2208cec98d626e2b6d4b0434daf45ede300913 WHIRLPOOL 0c9776cd9f95ca0060443e7edba027c094223ed3335d4a1e3450ab48284d7073f43e8dc85906a3a6c861763b0fe6edd4f2a245b17f21e3ad0c0e7faa8353cdab
|
||||
DIST eselect-emacs-1.17.tar.xz 8792 SHA256 93dc2688671a933478ca9b1fc8c3ecb20653bcaec1d55e313e9d34f7e4e1a217 SHA512 fb367e6c583a19c532a8cbeb38b1f9f4770f3884fa375f66b22e2798c3d79a20e2a794b5e6626b9c9c0205008ad3ccd88fad257a7d82d87cdd298a26175bb964 WHIRLPOOL 2e2713c6be67f913a2a4f510f5ea8fdb688fbf6f9a43e0edfb58098f0a513527098f2403a56adbf52cbf43c83879e5ee5bfb2537dd7e7acc7eb078a3036d3b1e
|
||||
DIST eselect-emacs-1.18.tar.xz 8964 SHA256 72e59fc780bfe18aa782862609e2651a0fd14bf381a4529bf5a1d6ab1c1b90df SHA512 9e346dc2331e577716945360de199848606d6b67776c1e7875d1437ff7e03796ac64cd0a3656109be87c0578b45bee1175f0ba4af2be96d0e27442d51bf182aa WHIRLPOOL 6812d8a4e79fc2286715219f5f443ed0aa662249bea3d381e293dd21324b1887bc674f3f7fa7bc94643f555bbd341969b1198f305a60043183e9fdcab31759f9
|
||||
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-ctags/eselect-ctags-1.16.ebuild,v 1.5 2014/06/06 05:57:03 vapier Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MY_P="eselect-emacs-${PV}"
|
||||
DESCRIPTION="Manages ctags implementations"
|
||||
HOMEPAGE="http://wiki.gentoo.org/wiki/Project:Emacs"
|
||||
SRC_URI="http://dev.gentoo.org/~ulm/emacs/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
RDEPEND=">=app-admin/eselect-1.2.3"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/eselect/modules
|
||||
doins ctags.eselect
|
||||
doman ctags.eselect.5
|
||||
}
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-ctags/eselect-ctags-1.17.ebuild,v 1.1 2014/10/28 18:52:14 ulm Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MY_P="eselect-emacs-${PV}"
|
||||
DESCRIPTION="Manages ctags implementations"
|
||||
HOMEPAGE="http://wiki.gentoo.org/wiki/Project:Emacs"
|
||||
SRC_URI="http://dev.gentoo.org/~ulm/emacs/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
RDEPEND=">=app-admin/eselect-1.2.3"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/eselect/modules
|
||||
doins ctags.eselect
|
||||
doman ctags.eselect.5
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST eselect-emacs-1.16.tar.xz 8720 SHA256 f4d789d611db71bc5ce949a3e05b911e7ec34ad9a596cc9f1f2af210314d96bb SHA512 5c3fdc6426ccfc162b4bb7805d2b183bd69a240542547a6d43715103692e931d4e7e2d5d4932ab00169e74dabc2208cec98d626e2b6d4b0434daf45ede300913 WHIRLPOOL 0c9776cd9f95ca0060443e7edba027c094223ed3335d4a1e3450ab48284d7073f43e8dc85906a3a6c861763b0fe6edd4f2a245b17f21e3ad0c0e7faa8353cdab
|
||||
DIST eselect-emacs-1.17.tar.xz 8792 SHA256 93dc2688671a933478ca9b1fc8c3ecb20653bcaec1d55e313e9d34f7e4e1a217 SHA512 fb367e6c583a19c532a8cbeb38b1f9f4770f3884fa375f66b22e2798c3d79a20e2a794b5e6626b9c9c0205008ad3ccd88fad257a7d82d87cdd298a26175bb964 WHIRLPOOL 2e2713c6be67f913a2a4f510f5ea8fdb688fbf6f9a43e0edfb58098f0a513527098f2403a56adbf52cbf43c83879e5ee5bfb2537dd7e7acc7eb078a3036d3b1e
|
||||
DIST eselect-emacs-1.18.tar.xz 8964 SHA256 72e59fc780bfe18aa782862609e2651a0fd14bf381a4529bf5a1d6ab1c1b90df SHA512 9e346dc2331e577716945360de199848606d6b67776c1e7875d1437ff7e03796ac64cd0a3656109be87c0578b45bee1175f0ba4af2be96d0e27442d51bf182aa WHIRLPOOL 6812d8a4e79fc2286715219f5f443ed0aa662249bea3d381e293dd21324b1887bc674f3f7fa7bc94643f555bbd341969b1198f305a60043183e9fdcab31759f9
|
||||
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-emacs/eselect-emacs-1.16.ebuild,v 1.9 2014/06/08 10:51:05 ago Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="Manage multiple Emacs versions on one system"
|
||||
HOMEPAGE="http://wiki.gentoo.org/wiki/Project:Emacs"
|
||||
SRC_URI="http://dev.gentoo.org/~ulm/emacs/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
|
||||
RDEPEND=">=app-admin/eselect-1.2.6
|
||||
~app-admin/eselect-ctags-${PV}"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/eselect/modules
|
||||
doins {emacs,etags,gnuclient}.eselect
|
||||
doman {emacs,etags,gnuclient}.eselect.5
|
||||
dodoc ChangeLog
|
||||
}
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-emacs/eselect-emacs-1.17.ebuild,v 1.1 2014/10/28 18:52:55 ulm Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="Manage multiple Emacs versions on one system"
|
||||
HOMEPAGE="http://wiki.gentoo.org/wiki/Project:Emacs"
|
||||
SRC_URI="http://dev.gentoo.org/~ulm/emacs/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
|
||||
RDEPEND=">=app-admin/eselect-1.2.6
|
||||
~app-admin/eselect-ctags-${PV}"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/eselect/modules
|
||||
doins {emacs,etags,gnuclient}.eselect
|
||||
doman {emacs,etags,gnuclient}.eselect.5
|
||||
dodoc ChangeLog
|
||||
}
|
@ -0,0 +1,75 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-opengl/eselect-opengl-1.3.1-r4.ebuild,v 1.1 2015/03/01 10:12:23 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils multilib
|
||||
|
||||
DESCRIPTION="Utility to change the OpenGL interface being used"
|
||||
HOMEPAGE="http://www.gentoo.org/"
|
||||
|
||||
# Source:
|
||||
# http://www.opengl.org/registry/api/glext.h
|
||||
# http://www.opengl.org/registry/api/glxext.h
|
||||
GLEXT="85"
|
||||
GLXEXT="34"
|
||||
|
||||
MIRROR="http://dev.gentoo.org/~mattst88/distfiles"
|
||||
SRC_URI="http://dev.gentoo.org/~mgorny/dist/opengl.eselect-${PV}.xz"
|
||||
# ${MIRROR}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-arch/xz-utils"
|
||||
RDEPEND=">=app-admin/eselect-1.2.4
|
||||
!<media-libs/mesa-10.3.4-r1
|
||||
!=media-libs/mesa-10.3.5
|
||||
!=media-libs/mesa-10.3.7-r1
|
||||
!<x11-proto/glproto-1.4.17-r1
|
||||
!<x11-base/xorg-server-1.16.4-r1
|
||||
!~x11-base/xorg-server-1.17.0
|
||||
!=x11-base/xorg-server-1.17.1
|
||||
!<x11-drivers/ati-drivers-14.9-r2
|
||||
!=x11-drivers/ati-drivers-14.12
|
||||
!<=app-emulation/emul-linux-x86-opengl-20140508"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
pkg_preinst() {
|
||||
# we may be moving the config file, so get it early
|
||||
OLD_IMPL=$(eselect opengl show)
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if path_exists "${EROOT}"/usr/lib*/opengl; then
|
||||
# delete broken symlinks
|
||||
find "${EROOT}"/usr/lib*/opengl -xtype l -delete
|
||||
# delete empty leftover directories (they confuse eselect)
|
||||
find "${EROOT}"/usr/lib*/opengl -depth -type d -empty -exec rmdir -v {} +
|
||||
fi
|
||||
|
||||
if [[ -n "${OLD_IMPL}" && "${OLD_IMPL}" != '(none)' ]] ; then
|
||||
eselect opengl set "${OLD_IMPL}"
|
||||
fi
|
||||
if [[ -f ${EROOT}/etc/env.d/03opengl ]]; then
|
||||
# remove the old file, moved now
|
||||
rm -vf "${EROOT}"/etc/env.d/03opengl
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# don't die on Darwin users
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
sed -i -e 's/libGL\.so/libGL.dylib/' opengl.eselect || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/eselect/modules"
|
||||
newins opengl.eselect-${PV} opengl.eselect
|
||||
# doman opengl.eselect.5
|
||||
}
|
@ -1,4 +1,3 @@
|
||||
DIST fleet-0.5.3.tar.gz 359305 SHA256 10cc25190df66fa407d06570b9d42248b7bb59b98a1c37fa9b6a8816f26fb9b5 SHA512 c321eb29a4ef383103e45dd62d91516d98f025d5d63e363f119d27906b49f8bb2791e0c40fdbd2e130b40c3a9a3de0c9d08ec6c98768b1badb76818257d11248 WHIRLPOOL 90d738de2b2e78b7c07e010fa0ac593bd26192b7cacef3d8853a8ca6b3573ed765f87f3a7e50bb8296d2c825152689dfdfa5e0fd9afd634da4fab55dd95fafcd
|
||||
DIST fleet-0.5.4.tar.gz 362695 SHA256 a293afa0c0fe0819fe40feff2650503a59831816aaad03f39866e8ecf30c00be SHA512 a67210ccc62cc7805f280fd1c61bc98460cb336ba9e97897f6ec49fcd88522bedf0b26ad5bce362abd0292a9adaf8f374b8923d8fa4630d5c06d9a171d29bb0f WHIRLPOOL 246dde2734da93eed044f9a783dd61d00ee3d5dbcd8783067844b30abda8458e7f34e89c25fe7917f609c32942bfc8c74237a3dd50012f66323672790b8b7183
|
||||
DIST fleet-0.8.3.tar.gz 390950 SHA256 bedfcfa77fa655f0eadb522ca45d1ecdb7d7fbd3285e8e50e090dba65dac6cd8 SHA512 0557e663c0c007d2bdc2a736db4675761251a56ed190a58e529d0caf3f55a50f75e6c6ccb7b56601df7f657a0920158233bd95dcd0f66477794230c9ebc78158 WHIRLPOOL 2c54dbd219c946e661523e383486e63042ac1659afd33c8629e50e8d31cfce6501810171bb11c43918c1163ebe7bac10b1cb4770fd2ed6d5438c2ecfe9698d5b
|
||||
DIST fleet-0.9.0.tar.gz 405482 SHA256 3198e19e038a4a4f2f7d2f36aa7ffd3cdf2cfdaed0e7c255b33c465deded90e8 SHA512 cbff807f38cad108112216751fd0aa1ab402062d0cb68245c177fc89d88bb6a43c10d8b6ba577b493f1b16c910f6cf1e209bec96da550a3e44fad5ce004ab1d3 WHIRLPOOL 5b1cafe5bd48a30c3a523d00fbeb311db4ecafe7737564389f4223f5deedbc5e4056f001084e652a1e9c61e5fff25b8cc1e2ee32930b6a514c5ca8f41aefbcca
|
||||
DIST fleet-0.9.1.tar.gz 404954 SHA256 573387652fb5b4d6fad99ec344502edd575550bc649ffb6bf43b38309cd85ce7 SHA512 acc80707a6a0142b731c963474a7b31d43790007a28eb05e05f229bc1fb7775cbd64e0ff8cb469954ec76a0219f7501f4b8b51dce4b772ea5db7b3afb97fe50c WHIRLPOOL 8536f5d92090ac20aa2da26153f1c0769ca3288016b27619921036126dd94611e59a678d5f78847e1df61328e6aa4e89f5a2b001a4ce2ebe7a2a3067b57498e7
|
||||
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/fleet/fleet-0.5.3.ebuild,v 1.1 2014/07/19 19:43:53 alunduil Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit systemd vcs-snapshot
|
||||
|
||||
DESCRIPTION="A Distributed init System"
|
||||
HOMEPAGE="https://github.com/coreos/fleet"
|
||||
SRC_URI="https://github.com/coreos/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/go-1.2"
|
||||
|
||||
src_compile() {
|
||||
./build || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin "${S}"/bin/fleet
|
||||
dobin "${S}"/bin/fleetctl
|
||||
|
||||
systemd_dounit "${FILESDIR}"/${PN}.service
|
||||
}
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/fleet/fleet-0.5.4.ebuild,v 1.1 2014/07/19 19:43:53 alunduil Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit systemd vcs-snapshot
|
||||
|
||||
DESCRIPTION="A Distributed init System"
|
||||
HOMEPAGE="https://github.com/coreos/fleet"
|
||||
SRC_URI="https://github.com/coreos/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/go-1.2"
|
||||
|
||||
src_compile() {
|
||||
./build || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin "${S}"/bin/fleet
|
||||
dobin "${S}"/bin/fleetctl
|
||||
|
||||
systemd_dounit "${FILESDIR}"/${PN}.service
|
||||
}
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/fleet/fleet-0.9.1.ebuild,v 1.1 2015/02/28 21:42:53 alunduil Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit systemd vcs-snapshot
|
||||
|
||||
DESCRIPTION="A Distributed init System"
|
||||
HOMEPAGE="https://github.com/coreos/fleet"
|
||||
SRC_URI="https://github.com/coreos/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="doc examples"
|
||||
|
||||
DEPEND=">=dev-lang/go-1.3"
|
||||
RDEPEND=""
|
||||
|
||||
src_compile() {
|
||||
./build || die 'Build failed'
|
||||
}
|
||||
|
||||
RESTRICT="test" # Tests fail due to Gentoo bug #500452
|
||||
src_test() {
|
||||
./test || die 'Tests failed'
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin "${S}"/bin/fleetd
|
||||
dobin "${S}"/bin/fleetctl
|
||||
|
||||
systemd_dounit "${FILESDIR}"/fleetd.service
|
||||
|
||||
dodoc README.md
|
||||
use doc && dodoc -r Documentation
|
||||
use examples && dodoc -r examples
|
||||
|
||||
keepdir /etc/${PN}
|
||||
insinto /etc/${PN}
|
||||
newins "${PN}".conf.sample "${PN}".conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "If you're upgrading from a version less than 0.8.0, please read the messages!"
|
||||
elog "The fleet binary name changed to fleetd."
|
||||
elog "If you're using systemd, update your configuration:"
|
||||
elog " systemctl disable fleet && systemctl enable fleetd"
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST logrotate-3.8.7.tar.gz 58898 SHA256 f6ba691f40e30e640efa2752c1f9499a3f9738257660994de70a45fe00d12b64 SHA512 6c0dc106e2a9e9d2cd7ac12af869bc152db7d046a1c6d1b75810fb2fc7a7f382b3c3f1dc54b9fb9a9eee248c1c66a9f5ce86804f15b49ac0210313c231b49e7f WHIRLPOOL 6ba7fd7eca8435575c96a5534fe9dbe098235ee2319f2ab8e279d94fa6de3ea0e53cd78eeabd643e4da049f585df9a901681b61d0d339131f45fe580aa0eb198
|
||||
DIST logrotate-3.8.8.tar.gz 72014 SHA256 46a1510ef4a1f4359edd5f361112cfd1523942e85ff28e6cbb0c81bad1829d0f SHA512 2b7b5fe587b3a5cbe98b8035a541b5e272e6e4c40669f65ff6c43d1524b686eca9abc0b93bc00c8eb6da4d189f14a9b79905fcc0fadb914276d884ad7493bb4b WHIRLPOOL b145d51cdcf0214e4f4b6a97aed7b9e1375c2848efecbc16181eaa6e1105ac8892c57248c89b92eb080d6cd6b23958085f39a894df7f5dce0bea6516e2d583c4
|
||||
DIST logrotate-3.8.9.tar.gz 77408 SHA256 700ed7ce9072a1cca324779a74797dfaefdae37ac50a817134b947c4ded1dfa7 SHA512 342533f321a1d77c0ca389fd0a393377ba73f10654aae163cbd35f8d5df25673f1aa6e44d0af42be5419d152a7dae11024d9005076bce0a3b3dad1f0e12b9c0d WHIRLPOOL 005621b5dc7f6954e505876eece76e3adf03b9b89b724e5c28b845c8af3ebb8e978d20e3a82c8a503c32bfd8758517625207e23518d6d08068e237c22fe7212d
|
||||
|
@ -0,0 +1,12 @@
|
||||
diff -Nuar a/Makefile.am b/Makefile.am
|
||||
--- a/Makefile.am 2015-02-13 07:11:21.000000000 +0100
|
||||
+++ b/Makefile.am 2015-03-01 11:19:47.279999912 +0100
|
||||
@@ -1,7 +1,7 @@
|
||||
MAN = logrotate.8
|
||||
MAN5 = logrotate.conf.5
|
||||
|
||||
-AM_CFLAGS = -Wall -Werror
|
||||
+AM_CFLAGS = -Wall
|
||||
sbin_PROGRAMS = logrotate
|
||||
logrotate_SOURCES = logrotate.c log.c config.c basenames.c
|
||||
|
@ -0,0 +1,43 @@
|
||||
diff -Nuar a/logrotate.c b/logrotate.c
|
||||
--- a/logrotate.c 2015-03-01 11:50:36.569999862 +0100
|
||||
+++ b/logrotate.c 2015-03-01 11:56:26.329999853 +0100
|
||||
@@ -372,15 +372,18 @@
|
||||
int createOutputFile(char *fileName, int flags, struct stat *sb, acl_type acl, int force_mode)
|
||||
{
|
||||
int fd;
|
||||
- struct stat sb_create;
|
||||
- int acl_set = 0;
|
||||
-
|
||||
- fd = open(fileName, (flags | O_EXCL | O_NOFOLLOW),
|
||||
- (S_IRUSR | S_IWUSR) & sb->st_mode);
|
||||
+ int acl_set = 0;
|
||||
+ struct stat sb_create;
|
||||
+ char template[PATH_MAX + 1];
|
||||
+ mode_t umask_value;
|
||||
+ snprintf(template, PATH_MAX, "%s/logrotate_temp.XXXXXX", ourDirName(fileName));
|
||||
+ umask_value = umask(0000);
|
||||
+ fd = mkostemp(template, (flags | O_EXCL | O_NOFOLLOW));
|
||||
+ umask(umask_value);
|
||||
|
||||
if (fd < 0) {
|
||||
- message(MESS_ERROR, "error creating output file %s: %s\n",
|
||||
- fileName, strerror(errno));
|
||||
+ message(MESS_ERROR, "error creating unique temp file: %s\n",
|
||||
+ strerror(errno));
|
||||
return -1;
|
||||
}
|
||||
if (fchmod(fd, (S_IRUSR | S_IWUSR) & sb->st_mode)) {
|
||||
@@ -431,6 +434,13 @@
|
||||
}
|
||||
}
|
||||
|
||||
+ if (rename(template, fileName)) {
|
||||
+ message(MESS_ERROR, "error renaming temp file to %s: %s\n",
|
||||
+ fileName, strerror(errno));
|
||||
+ close(fd);
|
||||
+ return -1;
|
||||
+ }
|
||||
+
|
||||
return fd;
|
||||
}
|
||||
|
@ -0,0 +1,57 @@
|
||||
diff -Nuar a/config.c b/config.c
|
||||
--- a/config.c 2015-03-01 11:25:37.489999902 +0100
|
||||
+++ b/config.c 2015-03-01 11:26:31.129999901 +0100
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "queue.h"
|
||||
/* Alloca is defined in stdlib.h in NetBSD */
|
||||
-#ifndef __NetBSD__
|
||||
+#if !defined(__NetBSD__) && !defined(__FreeBSD__)
|
||||
#include <alloca.h>
|
||||
#endif
|
||||
#include <limits.h>
|
||||
@@ -24,6 +24,10 @@
|
||||
#include <fnmatch.h>
|
||||
#include <sys/mman.h>
|
||||
|
||||
+#if !defined(PATH_MAX) && defined(__FreeBSD__)
|
||||
+#include <sys/param.h>
|
||||
+#endif
|
||||
+
|
||||
#include "basenames.h"
|
||||
#include "log.h"
|
||||
#include "logrotate.h"
|
||||
diff -Nuar a/logrotate.c b/logrotate.c
|
||||
--- a/logrotate.c 2015-02-13 07:11:21.000000000 +0100
|
||||
+++ b/logrotate.c 2015-03-01 11:27:05.769999900 +0100
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "queue.h"
|
||||
/* alloca() is defined in stdlib.h in NetBSD */
|
||||
-#ifndef __NetBSD__
|
||||
+#if !defined(__NetBSD__) && !defined(__FreeBSD__)
|
||||
#include <alloca.h>
|
||||
#endif
|
||||
#include <limits.h>
|
||||
@@ -25,6 +25,10 @@
|
||||
#include <limits.h>
|
||||
#endif
|
||||
|
||||
+#if !defined(PATH_MAX) && defined(__FreeBSD__)
|
||||
+#include <sys/param.h>
|
||||
+#endif
|
||||
+
|
||||
#include "basenames.h"
|
||||
#include "log.h"
|
||||
#include "logrotate.h"
|
||||
diff -Nuar a/Makefile b/Makefile
|
||||
--- a/Makefile 2015-02-13 07:11:21.000000000 +0100
|
||||
+++ b/Makefile 2015-03-01 11:27:27.209999900 +0100
|
||||
@@ -22,7 +22,9 @@
|
||||
|
||||
ifeq ($(WITH_ACL),yes)
|
||||
CFLAGS += -DWITH_ACL
|
||||
+ifneq ($(OS_NAME),FreeBSD)
|
||||
LOADLIBES += -lacl
|
||||
+endif
|
||||
# See pretest
|
||||
TEST_ACL=1
|
||||
else
|
@ -0,0 +1,14 @@
|
||||
diff -Nuar a/config.c b/config.c
|
||||
--- a/config.c 2015-02-13 07:11:21.000000000 +0100
|
||||
+++ b/config.c 2015-03-01 10:51:09.669999958 +0100
|
||||
@@ -359,7 +359,9 @@
|
||||
char *pattern;
|
||||
|
||||
/* Check if fname is '.' or '..'; if so, return false */
|
||||
- if (fname[0] == '.' && (!fname[1] || (fname[1] == '.' && !fname[2])))
|
||||
+ /* Don't include 'hidden' files either; this breaks Gentoo
|
||||
+ portage config file management http://bugs.gentoo.org/87683 */
|
||||
+ if (fname[0] == '.')
|
||||
return 0;
|
||||
|
||||
/* Check if fname is ending in a taboo-extension; if so, return false */
|
@ -0,0 +1,55 @@
|
||||
diff -Nuar a/config.c b/config.c
|
||||
--- a/config.c 2015-03-01 10:58:18.689999946 +0100
|
||||
+++ b/config.c 2015-03-01 11:04:20.899999937 +0100
|
||||
@@ -49,39 +49,6 @@
|
||||
#include "asprintf.c"
|
||||
#endif
|
||||
|
||||
-#if !defined(asprintf) && !defined(_FORTIFY_SOURCE)
|
||||
-#include <stdarg.h>
|
||||
-
|
||||
-int asprintf(char **string_ptr, const char *format, ...)
|
||||
-{
|
||||
- va_list arg;
|
||||
- char *str;
|
||||
- int size;
|
||||
- int rv;
|
||||
-
|
||||
- va_start(arg, format);
|
||||
- size = vsnprintf(NULL, 0, format, arg);
|
||||
- size++;
|
||||
- va_start(arg, format);
|
||||
- str = malloc(size);
|
||||
- if (str == NULL) {
|
||||
- va_end(arg);
|
||||
- /*
|
||||
- * Strictly speaking, GNU asprintf doesn't do this,
|
||||
- * but the caller isn't checking the return value.
|
||||
- */
|
||||
- fprintf(stderr, "failed to allocate memory\\n");
|
||||
- exit(1);
|
||||
- }
|
||||
- rv = vsnprintf(str, size, format, arg);
|
||||
- va_end(arg);
|
||||
-
|
||||
- *string_ptr = str;
|
||||
- return (rv);
|
||||
-}
|
||||
-
|
||||
-#endif
|
||||
-
|
||||
#if !defined(strndup)
|
||||
char *strndup(const char *s, size_t n)
|
||||
{
|
||||
diff -Nuar a/logrotate.h b/logrotate.h
|
||||
--- a/logrotate.h 2015-02-13 07:11:21.000000000 +0100
|
||||
+++ b/logrotate.h 2015-03-01 11:04:55.739999936 +0100
|
||||
@@ -80,8 +80,5 @@
|
||||
extern int debug;
|
||||
|
||||
int readAllConfigPaths(const char **paths);
|
||||
-#if !defined(asprintf) && !defined(_FORTIFY_SOURCE)
|
||||
-int asprintf(char **string_ptr, const char *format, ...);
|
||||
-#endif
|
||||
|
||||
#endif
|
@ -0,0 +1,78 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/logrotate/logrotate-3.8.9.ebuild,v 1.1 2015/03/01 11:05:42 nimiux Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools eutils toolchain-funcs flag-o-matic
|
||||
|
||||
DESCRIPTION="Rotates, compresses, and mails system logs"
|
||||
HOMEPAGE="https://fedorahosted.org/logrotate/"
|
||||
SRC_URI="https://fedorahosted.org/releases/l/o/logrotate/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="acl selinux"
|
||||
|
||||
CDEPEND="
|
||||
>=dev-libs/popt-1.5
|
||||
selinux? (
|
||||
sys-libs/libselinux
|
||||
)
|
||||
acl? ( virtual/acl )"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
>=sys-apps/sed-4
|
||||
"
|
||||
RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-logrotate )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}-ignore-hidden.patch \
|
||||
"${FILESDIR}"/${P}-fbsd.patch \
|
||||
"${FILESDIR}"/${P}-noasprintf.patch \
|
||||
"${FILESDIR}"/${P}-atomic-create.patch \
|
||||
"${FILESDIR}"/${P}-Werror.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf
|
||||
myconf="CC=$(tc-getCC)"
|
||||
use selinux && myconf="${myconf} WITH_SELINUX=yes"
|
||||
use acl && myconf="${myconf} WITH_ACL=yes"
|
||||
emake ${myconf} RPM_OPT_FLAGS="${CFLAGS}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr
|
||||
dosbin logrotate
|
||||
doman logrotate.8
|
||||
dodoc CHANGES examples/logrotate*
|
||||
|
||||
exeinto /etc/cron.daily
|
||||
newexe "${S}"/examples/logrotate.cron "${PN}"
|
||||
|
||||
insinto /etc
|
||||
doins "${FILESDIR}"/logrotate.conf
|
||||
|
||||
keepdir /etc/logrotate.d
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]] ; then
|
||||
elog "If you wish to have logrotate e-mail you updates, please"
|
||||
elog "emerge virtual/mailx and configure logrotate in"
|
||||
elog "/etc/logrotate.conf appropriately"
|
||||
elog
|
||||
elog "Additionally, /etc/logrotate.conf may need to be modified"
|
||||
elog "for your particular needs. See man logrotate for details."
|
||||
fi
|
||||
}
|
@ -1,5 +1,6 @@
|
||||
DIST monit-5.10.tar.gz 1162409 SHA256 3791155a1b1b6b51a4a104dfe6f17b37d7c346081889f1bec9339565348d9453 SHA512 f8615ad3b5ac304e7f84d70631a81f0d458ef11b6662b5892a112d5e8af5a83d7675b79cefe5f3b1cae68b8998a1b0b31b4fa2d32e9b46c05654220d546c2ff9 WHIRLPOOL dd06c437ce7a5fd8a1879f2774041cd6722fd6f6fc9c74dc74ca1ce70508180e3e130ec593e1ec8428f75bb8621c6f59105273663e28efb54d665eccf9e346da
|
||||
DIST monit-5.11.tar.gz 1223927 SHA256 d507957b1e18e6f45af5a4d3f94529ab22b26f522f5f62287919bc905c44283a SHA512 d3bffd0fa5326d7783259af5f14beaed510d06644ec865e933e63aab2c35d47e2f859a9e490b0193ae62c9174a065c216cfa0ae3708d5a06a2d92e9c384f4151 WHIRLPOOL 55d63f7fc3ac197ab71b95b76c4c2362ea640f80a61c3bfa1238ca80a6566c057c1728f29f358aee998a6c30801fa4ed42e230f0cff3bb28e0396c749357c966
|
||||
DIST monit-5.12.tar.gz 1200917 SHA256 43075396203569f87b67f7bffd1de739aa2fba302956237a2b0dc7aaf62da343 SHA512 c8335a4055a2bd9c0df2a0aa926f61121038b779b183265d69bc6603a12679f5441c9e0ce176189cf5174d291bff78cf01050741159eac40311b3466c4ac5a6e WHIRLPOOL 7532cb5645ff286eed4338a97d42609f7fcb1be6960ec1620babbe0bfffebc9ef6f279378c889d91d2c08e35cd4037f9a7144228a1942e4f67dfb80904567a05
|
||||
DIST monit-5.8.1.tar.gz 1212491 SHA256 a25e4b79257ac29ebaf46605dccb7ed693c8e001669c0ccc8feb22e7d4c870e5 SHA512 0cf8b46ea5a5ab42beac4aab649d4fa324b03e02aaceee6a86968849db46b129cd8f20e314c855653620a0bd4b4aa105e2c812a386ddd2be3196ff956f1e7e11 WHIRLPOOL 8134017da3c1f0dc2675df9cb2d7ecd0905765a92a248701a4de2b9ba449a548ae28cf661019e882a1992c027095360f14d1b2378c924623937c85b691c6056c
|
||||
DIST monit-5.8.tar.gz 1237958 SHA256 0c00573ebc0156c534a5952f392c2a7bedde194f8261c05497322055938847f5 SHA512 61f2cb4a6b2da8617adfd16ace4d9b246957385109fee9a3312272ac271003cd89a12872ac3a07b0148ad7bdbe544e447745033d2a9fab19908ef19b7a106dda WHIRLPOOL 0eb1f5b778264d7881281f7139037fa07c225a5c7ece7cae2149460036a58c008e16a3d883e1876a2dc08f092900e05d164e37714ec5fc19960d4127e13c6eeb
|
||||
DIST monit-5.9.tar.gz 1161683 SHA256 274044485170b7498de29e7876cd86488378f50d69df4303a14930ba1f5e4a11 SHA512 915d548d5a4e043b346ec32d9fd3131d7eafd8ed1167e4fca3d4918df9ff87a166dbb2b3398d59a8510c7190c43fe26043568742a27828257140683bea349c83 WHIRLPOOL d5bde04202b066665feeef7bca5e0ec23c18c0bf5a6940ac30b8bfc8cc01056a802b3beae8e0caac861770e167b7b48254fe08fbb9294554e25102bec620f508
|
||||
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/monit/monit-5.12.ebuild,v 1.1 2015/02/28 06:05:10 patrick Exp $
|
||||
|
||||
EAPI="5"
|
||||
inherit pam systemd
|
||||
|
||||
DESCRIPTION="a utility for monitoring and managing daemons or similar programs running on a Unix system"
|
||||
HOMEPAGE="http://mmonit.com/monit/"
|
||||
SRC_URI="http://mmonit.com/monit/dist/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux"
|
||||
IUSE="pam ssl"
|
||||
|
||||
RDEPEND="ssl? ( dev-libs/openssl )"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/flex
|
||||
sys-devel/bison
|
||||
pam? ( virtual/pam )"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e '/^INSTALL_PROG/s/-s//' Makefile.in || die "sed failed in Makefile.in"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_with ssl) $(use_with pam)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
dodoc README*
|
||||
dohtml -r doc/*
|
||||
|
||||
insinto /etc; insopts -m600; doins monitrc
|
||||
newinitd "${FILESDIR}"/monit.initd-5.0-r1 monit
|
||||
systemd_dounit "${FILESDIR}"/${PN}.service
|
||||
|
||||
use pam && newpamd "${FILESDIR}"/${PN}.pamd ${PN}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Sample configurations are available at:"
|
||||
elog "http://mmonit.com/monit/documentation/"
|
||||
}
|
@ -1,4 +1,5 @@
|
||||
DIST gnupg-1.4.18.tar.bz2 3649557 SHA256 b7b5fdda78849955e0cdbc5a085f3a08f8b7fba126c622085debb62def5d6388 SHA512 f9619ede8e0d2844774e07fb42359444c5ab8e15565a87f419f76cc3d781940c564f35f429131686fdd7559c5c2edb49506b3c0a1feecbd95438743075be3e63 WHIRLPOOL 780876be0603fd0605b192721e2bbb770ad67d98acba8ef0fd769ab3241467696da5f49a189d89600d076691bf2cedb1294ffade5c44f6d24512d6a93a6f8981
|
||||
DIST gnupg-1.4.19.tar.bz2 3713811 SHA256 7f09319d044b0f6ee71fe3587bb873be701723ac0952cff5069046a78de8fd86 SHA512 cce2a83efb05f963ad0f8afd04999cc852889d46b4cad4cf399a37fd6e69f0911a5ccaa0192cb891a941cfa93125349b481efa789a127e3c0aa2c5ba53672741 WHIRLPOOL 14eaddca0981f05757aa0751b9563837efd3f5943a422d5f29e0de94eb6233b85b8848a1f4816ab7e897d6e656c7c08705115d53ed89f554604ffd2009c3c39f
|
||||
DIST gnupg-2.0.26.tar.bz2 4303384 SHA256 7758e30dc382ae7a7167ed41b7f936aa50af5ea2d6fccdef663b5b750b65b8e0 SHA512 5dd23baaac764fd48abd235ed52a85a2c7fd68b98fcde45c0f294ddb3b5629e8b1bd894585fbed4e6a6cb2bc4a5552c098c3cf1a849fffa469424fd0a4fee726 WHIRLPOOL 8d9b30337957f6bfeddea29116d862ef0c0ddd06d59bc2799db236b91b2c6767aad6f37f2166fc431c5d9454eb41f49f3e261bc38d0e89361f0c467f4591cd5a
|
||||
DIST gnupg-2.0.27.tar.bz2 4424679 SHA256 57646d3e4b919fa1e5c8f1c0cf5fe1215333041c493a5ebc4b8f2978dbe930f2 SHA512 b05e75f5ef9881df9472818743c175cfe3254088086f36dc0fcf3d34e61f648f1775d90d404f6c622561df5066d972aadbf99ea8ec1290e5d7f7310f4ef2989e WHIRLPOOL abb353b20655002a0957e38d2b889fb5e6a47ba7b7546e1c70fc1f97cf42deeca8f2b061678983f3a160210f4eaf7529441246df1f9f1d875f5cc090456fdfb7
|
||||
DIST gnupg-2.1.2.tar.bz2 4832996 SHA256 404f5a43d591dfe41f0ffb204b49a1533b67d77bc1fd68febd7e447575616792 SHA512 a12187d32a0d75e4e8ecabe87cd2a49de047dc0d5e601f73779303e0b2f3dad6c2874a665278319e50debd8acb724232be1f1122286ee82c82751063fef07ceb WHIRLPOOL 33f9e7306eb87b35a28489260b2c599164f8c8ac9d4e77d30145402df697a2705062dee02e6d1b904323df953c4b311e9d809216e8657145edd1cf8b1e63a37e
|
||||
|
@ -0,0 +1,115 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/gnupg-1.4.19.ebuild,v 1.2 2015/03/01 11:11:24 alonbl Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs
|
||||
|
||||
ECCVER="0.2.0"
|
||||
ECCVER_GNUPG="1.4.9"
|
||||
ECC_PATCH="${PN}-${ECCVER_GNUPG}-ecc${ECCVER}.diff"
|
||||
MY_P=${P/_/}
|
||||
|
||||
DESCRIPTION="The GNU Privacy Guard, a GPL pgp replacement"
|
||||
HOMEPAGE="http://www.gnupg.org/"
|
||||
SRC_URI="mirror://gnupg/gnupg/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos"
|
||||
IUSE="bzip2 curl ldap mta nls readline selinux smartcard static usb zlib"
|
||||
|
||||
COMMON_DEPEND="
|
||||
ldap? ( net-nds/openldap )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
zlib? ( sys-libs/zlib )
|
||||
curl? ( net-misc/curl )
|
||||
mta? ( virtual/mta )
|
||||
readline? ( sys-libs/readline )
|
||||
smartcard? ( =virtual/libusb-0* )
|
||||
usb? ( =virtual/libusb-0* )"
|
||||
|
||||
RDEPEND="!static? ( ${COMMON_DEPEND} )
|
||||
selinux? ( sec-policy/selinux-gpg )
|
||||
nls? ( virtual/libintl )"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-lang/perl
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
# bug#469388
|
||||
sed -i -e 's/--batch --dearmor/--homedir . --batch --dearmor/' checks/Makefile.in
|
||||
|
||||
# Fix PIC definitions
|
||||
sed -i -e 's:PIC:__PIC__:' mpi/i386/mpih-{add,sub}1.S intl/relocatable.c \
|
||||
|| die "sed PIC failed"
|
||||
sed -i -e 's:if PIC:ifdef __PIC__:' mpi/sparc32v8/mpih-mul{1,2}.S || \
|
||||
die "sed PIC failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Certain sparc32 machines seem to have trouble building correctly with
|
||||
# -mcpu enabled. While this is not a gnupg problem, it is a temporary
|
||||
# fix until the gcc problem can be tracked down.
|
||||
if [ "${ARCH}" == "sparc" ] && [ "${PROFILE_ARCH}" == "sparc" ]; then
|
||||
filter-flags -mcpu=supersparc -mcpu=v8 -mcpu=v7
|
||||
fi
|
||||
|
||||
# 'USE=static' support was requested in #29299
|
||||
use static && append-ldflags -static
|
||||
|
||||
econf \
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
$(use_enable ldap) \
|
||||
$(use_enable mta mailto) \
|
||||
--enable-hkp \
|
||||
--enable-finger \
|
||||
$(use_with !zlib included-zlib) \
|
||||
$(use_with curl libcurl /usr) \
|
||||
$(use_enable nls) \
|
||||
$(use_enable bzip2) \
|
||||
$(use_enable smartcard card-support) \
|
||||
$(use_enable selinux selinux-support) \
|
||||
--without-capabilities \
|
||||
$(use_with readline) \
|
||||
$(use_with usb libusb /usr) \
|
||||
--enable-static-rnd=linux \
|
||||
--libexecdir="${EPREFIX}/usr/libexec" \
|
||||
--enable-noexecstack \
|
||||
CC_FOR_BUILD=$(tc-getBUILD_CC) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# keep the documentation in /usr/share/doc/...
|
||||
rm -rf "${ED}usr/share/gnupg/FAQ" "${ED}usr/share/gnupg/faq.html" || die
|
||||
|
||||
dodoc AUTHORS BUGS ChangeLog NEWS PROJECTS README THANKS \
|
||||
TODO VERSION doc/{FAQ,HACKING,DETAILS,OpenPGP}
|
||||
|
||||
exeinto /usr/libexec/gnupg
|
||||
doexe tools/make-dns-cert
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "If you are using a non-Linux system, or a kernel older than 2.6.9,"
|
||||
ewarn "you MUST make the gpg binary setuid."
|
||||
echo
|
||||
# if use !bindist && use ecc; then
|
||||
# ewarn
|
||||
# ewarn "The elliptical curves patch is experimental"
|
||||
# ewarn "Further info available at http://alumnes.eps.udl.es/%7Ed4372211/index.en.html"
|
||||
# fi
|
||||
elog
|
||||
elog "See http://www.gentoo.org/doc/en/gnupg-user.xml for documentation on gnupg"
|
||||
elog
|
||||
elog "If you wish to view images emerge:"
|
||||
elog "media-gfx/xloadimage, media-gfx/xli or any other viewer"
|
||||
elog "Remember to use photo-viewer option in configuration file to activate the right viewer"
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST hashcat-0.46.7z 1581813 SHA256 bf8ba2ef197199b3be156aa85fb5d085ebf5e29e76f18cf66e81830fe654e84f SHA512 e313af6e0edc27a7fbf93c89eda862579868b80c36b4c0237991321ebe55ca0bc5b62afe35eba7852212e97c28c5a07d73929a2a503a683bf3f2c9e8a6891a82 WHIRLPOOL 766b69a34e6ffbed22c1e23d0c1bb2a4073c431c9e5dfd6a640691d021d298e6a3de8a778eab6fd7a666f626feb1bea85a7fbf37ec88868dd21045732190ef9a
|
||||
DIST hashcat-0.47.7z 1651995 SHA256 239acb25b88d529314f2f98af0d6a66772e886c9efbb4ed2b94b7587c9a68455 SHA512 a43b3534fdb6fbe6bcb49d48430f13e77c7ead33da2dad281fd84aa8f0f7be28e30f938339f59a37d690deb7167d6d5ad9d29d987feb9528006483136642c934 WHIRLPOOL 75d0d3c9a26358a872c08e48fd24ea29c8bf85ce36e7cd6d04135e2a4ed6ab82f4df59a3855b84318784a12ff73775b30f82112c0840dd7f4dcd9ca168932b10
|
||||
DIST hashcat-0.49.7z 2423049 SHA256 02ca88393ecf33aaa0905592ca71e90671338c9540f212b3ad0f4666a93b406d SHA512 3e51a803c87de4f659ad3f72337234392140cd714a40eb221cb7697aa6f8df4da92ed7a7852deae5fdf36439c46fe4eaa312ed45a72dedbf13eaa6d9767e95bb WHIRLPOOL 5cbf4b4bca8371a47c5349a0e4ab825e7401a2363558eeeea9942d0652b133cc9fc11229e6ea676fbd6a179864abadfdfa5bb16a4fb9387ea74111d3ccda4bff
|
||||
|
@ -0,0 +1,111 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/hashcat-bin/hashcat-bin-0.49.ebuild,v 1.1 2015/02/28 21:59:15 alonbl Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MY_P="hashcat-${PV}"
|
||||
|
||||
inherit eutils pax-utils
|
||||
DESCRIPTION="An multi-threaded multihash cracker"
|
||||
HOMEPAGE="http://hashcat.net/hashcat/"
|
||||
|
||||
SRC_URI="http://hashcat.net/files/${MY_P}.7z"
|
||||
|
||||
#license applies to this version per http://hashcat.net/forum/thread-1348.html
|
||||
LICENSE="hashcat"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~amd64-linux ~x64-macos ~x86 ~x86-linux"
|
||||
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/p7zip"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
RESTRICT="strip"
|
||||
QA_PREBUILT="opt/${PN}/hashcat-cli*.bin
|
||||
opt/${PN}/hashcat-cli64.app"
|
||||
|
||||
has_xop() {
|
||||
echo | $(tc-getCC) ${CFLAGS} -E -dM - | grep -q "#define __XOP__ 1"
|
||||
}
|
||||
|
||||
has_avx() {
|
||||
echo | $(tc-getCC) ${CFLAGS} -E -dM - | grep -q "#define __AVX__ 1"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc docs/*
|
||||
rm -r *.exe docs || die
|
||||
use x86 || { rm hashcat-cli32.bin || die; }
|
||||
use amd64 || { rm hashcat-cli64.bin || die; }
|
||||
use x64-macos || { rm hashcat-cli64.app || die; }
|
||||
has_avx || { rm hashcat-cliAVX.bin || die; }
|
||||
has_xop || { rm hashcat-cliXOP.bin || die; }
|
||||
|
||||
#I assume this is needed but I didn't check
|
||||
pax-mark m hashcat-cli*.bin
|
||||
|
||||
insinto /opt/${PN}
|
||||
doins -r "${S}"/*
|
||||
|
||||
dodir /opt/bin
|
||||
if [ -f "${ED}"/opt/${PN}/hashcat-cli32.bin ]
|
||||
then
|
||||
fperms +x /opt/${PN}/hashcat-cli32.bin
|
||||
cat <<-EOF > "${ED}"/opt/bin/hashcat-cli32.bin
|
||||
#! /bin/sh
|
||||
cd "${EPREFIX}"/opt/${PN}
|
||||
echo "Warning: hashcat-cli32.bin is running from ${EPREFIX}/opt/${PN} so be careful of relative paths."
|
||||
exec ./hashcat-cli32.bin \$@
|
||||
EOF
|
||||
fperms +x /opt/bin/hashcat-cli32.bin
|
||||
fi
|
||||
if [ -f "${ED}"/opt/${PN}/hashcat-cli64.bin ]
|
||||
then
|
||||
fperms +x /opt/${PN}/hashcat-cli64.bin
|
||||
cat <<-EOF > "${ED}"/opt/bin/hashcat-cli64.bin
|
||||
#! /bin/sh
|
||||
cd "${EPREFIX}"/opt/${PN}
|
||||
echo "Warning: hashcat-cli64.bin is running from ${EPREFIX}/opt/${PN} so be careful of relative paths."
|
||||
exec ./hashcat-cli64.bin \$@
|
||||
EOF
|
||||
fperms +x /opt/bin/hashcat-cli64.bin
|
||||
fi
|
||||
if [ -f "${ED}"/opt/${PN}/hashcat-cliAVX.bin ]
|
||||
then
|
||||
fperms +x /opt/${PN}/hashcat-cliAVX.bin
|
||||
cat <<-EOF > "${ED}"/opt/bin/hashcat-cliAVX.bin
|
||||
#! /bin/sh
|
||||
cd "${EPREFIX}"/opt/${PN}
|
||||
echo "Warning: hashcat-cliAVX.bin is running from ${EPREFIX}/opt/${PN} so be careful of relative paths."
|
||||
exec ./hashcat-cliAVX.bin \$@
|
||||
EOF
|
||||
fperms +x /opt/bin/hashcat-cliAVX.bin
|
||||
fi
|
||||
if [ -f "${ED}"/opt/${PN}/hashcat-cliXOP.bin ]
|
||||
then
|
||||
fperms +x /opt/${PN}/hashcat-cliXOP.bin
|
||||
cat <<-EOF > "${ED}"/opt/bin/hashcat-cliXOP.bin
|
||||
#! /bin/sh
|
||||
cd "${EPREFIX}"/opt/${PN}
|
||||
echo "Warning: hashcat-cliXOP.bin is running from ${EPREFIX}/opt/${PN} so be careful of relative paths."
|
||||
exec ./hashcat-cliXOP.bin \$@
|
||||
EOF
|
||||
fperms +x /opt/bin/hashcat-cliXOP.bin
|
||||
fi
|
||||
if [ -f "${ED}"/opt/${PN}/hashcat-cli64.app ]
|
||||
then
|
||||
fperms +x /opt/${PN}/hashcat-cli64.app
|
||||
cat <<-EOF > "${ED}"/opt/bin/hashcat-cli64.app
|
||||
#! /bin/sh
|
||||
cd "${EPREFIX}"/opt/${PN}
|
||||
echo "Warning: hashcat-cli64.app is running from ${EPREFIX}/opt/${PN} so be careful of relative paths."
|
||||
exec ./hashcat-cli64.app \$@
|
||||
EOF
|
||||
fperms +x /opt/bin/hashcat-cli64.app
|
||||
fi
|
||||
}
|
@ -1,4 +1 @@
|
||||
DIST pinentry-0.8.2.tar.bz2 428514 SHA256 5084b7b6aac5725303f3b0185f126daa8b33ee78ade538edf1e20034594a39b1 SHA512 f012ed163b8905e10714e8667a4434eb192e9519e0fa91a686b097224252bf2e73c3b35d682b6fd4a9df80eefcb3afbf2ec763aef58a3ab5a1e71268fd83e158 WHIRLPOOL 0a17bf30390895dddbaad14bcf07b3064fb7e3c1ed97ba22231e13201f24cfc194a8ef110da7316f137ed3942c094c1990aa51a80b352c5572748b42f40a77d7
|
||||
DIST pinentry-0.8.3.tar.bz2 430753 SHA256 568b0b09b50b2388a4f94d704d5bcb28718ecd4654ed1acc43ab1f97d921a0ad SHA512 942aad8db63d5e2f7b576ef6286edf6ce5fdb7c2a0a82deb864fa22963b183dd12a235f12277a6dade9d914b5e76302f1ab35ae78b0f595e84fff77d8f417a18 WHIRLPOOL 0d0e905b79eb6d7727f1de57be058b3c3885b577124cb1fdebca4e0b81d085070f1953b307b506a602de4055bdca6886e7f56e17b5d6978e161eaedf170785e2
|
||||
DIST pinentry-0.8.4.tar.bz2 516975 SHA256 359db3bf46cb743ba0b3aeef259f6107271ca888ba3e22c1cba525c9aca35612 SHA512 2538630e238e9b4f8263d20a23eea2c79610ad661bd55e82180ab78fd783c7d32b755b2831ea6806d24216bc3075f2fd400411452e3cae6536210d8f38cfe079 WHIRLPOOL 779e8ff0ef6e44303e6a2fdeed91103efc99c89b6cd28bce661867a211a9bb3af1a3c0ae13516dea138c89f4c6f5f1c31537525d4000caa6a06cc9d27009fbf5
|
||||
DIST pinentry-0.9.0.tar.bz2 464272 SHA256 90045a07ab8e1a8e1ecf5d19b51691f195525e579fa5d71d7e92c120b05490ab SHA512 2cc53a5c3852edaf6e940228d9b43fe4709344eba5fe230b7afd22b2c0239d0b258917d75661d80590b2d61c6fe9dac8ad15a0b4a0a0e7fba90a9e1c07364edd WHIRLPOOL 3f77a8aa2d44c7206d877e31088ec927473441e61f06e788330545d75ac489e6e9d5bf0026b23d0824304dad54ce8e61c4571d186df7ad0edc2d644ca3af04ac
|
||||
|
@ -1,96 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/pinentry/pinentry-0.8.2.ebuild,v 1.19 2014/01/20 20:25:47 vapier Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools multilib eutils flag-o-matic
|
||||
|
||||
DESCRIPTION="Collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol"
|
||||
HOMEPAGE="http://gnupg.org/aegypten2/index.html"
|
||||
SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="gtk ncurses qt4 caps static"
|
||||
|
||||
RDEPEND="
|
||||
app-admin/eselect-pinentry
|
||||
caps? ( sys-libs/libcap )
|
||||
gtk? ( x11-libs/gtk+:2 )
|
||||
ncurses? ( sys-libs/ncurses )
|
||||
qt4? ( >=dev-qt/qtgui-4.4.1:4 )
|
||||
static? ( >=sys-libs/ncurses-5.7-r5[static-libs,-gpm] )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/gettext
|
||||
gtk? ( virtual/pkgconfig )
|
||||
qt4? ( virtual/pkgconfig )
|
||||
"
|
||||
REQUIRED_USE="
|
||||
|| ( ncurses gtk qt4 )
|
||||
gtk? ( !static )
|
||||
qt4? ( !static )
|
||||
static? ( ncurses )
|
||||
"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
|
||||
|
||||
src_prepare() {
|
||||
if use qt4; then
|
||||
local f
|
||||
for f in qt4/*.moc; do
|
||||
"${EPREFIX}"/usr/bin/moc ${f/.moc/.h} > ${f} || die
|
||||
done
|
||||
fi
|
||||
epatch "${FILESDIR}/${P}-ncurses.patch"
|
||||
epatch "${FILESDIR}/${P}-texi.patch"
|
||||
sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.ac || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use static && append-ldflags -static
|
||||
|
||||
# Issues finding qt on multilib systems
|
||||
export QTLIB="${QTDIR}/$(get_libdir)"
|
||||
|
||||
econf \
|
||||
--disable-dependency-tracking \
|
||||
--enable-maintainer-mode \
|
||||
--disable-pinentry-gtk \
|
||||
$(use_enable gtk pinentry-gtk2) \
|
||||
--disable-pinentry-qt \
|
||||
$(use_enable ncurses pinentry-curses) \
|
||||
$(use_enable ncurses fallback-curses) \
|
||||
$(use_enable qt4 pinentry-qt4) \
|
||||
$(use_with caps libcap) \
|
||||
--without-x
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake AR="$(tc-getAR)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
rm -f "${ED}"/usr/bin/pinentry || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! has_version 'app-crypt/pinentry' || has_version '<app-crypt/pinentry-0.7.3'; then
|
||||
elog "We no longer install pinentry-curses and pinentry-qt SUID root by default."
|
||||
elog "Linux kernels >=2.6.9 support memory locking for unprivileged processes."
|
||||
elog "The soft resource limit for memory locking specifies the limit an"
|
||||
elog "unprivileged process may lock into memory. You can also use POSIX"
|
||||
elog "capabilities to allow pinentry to lock memory. To do so activate the caps"
|
||||
elog "USE flag and add the CAP_IPC_LOCK capability to the permitted set of"
|
||||
elog "your users."
|
||||
fi
|
||||
eselect pinentry update ifunset
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect pinentry update ifunset
|
||||
}
|
@ -1,103 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/pinentry/pinentry-0.8.3.ebuild,v 1.5 2014/04/03 19:40:59 haubi Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools multilib eutils flag-o-matic
|
||||
|
||||
DESCRIPTION="Collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol"
|
||||
HOMEPAGE="http://gnupg.org/aegypten2/index.html"
|
||||
SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="gtk ncurses qt4 caps static"
|
||||
|
||||
RDEPEND="
|
||||
app-admin/eselect-pinentry
|
||||
caps? ( sys-libs/libcap )
|
||||
gtk? ( x11-libs/gtk+:2 )
|
||||
ncurses? ( sys-libs/ncurses )
|
||||
qt4? ( >=dev-qt/qtgui-4.4.1:4 )
|
||||
static? ( >=sys-libs/ncurses-5.7-r5[static-libs,-gpm] )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/gettext
|
||||
gtk? ( virtual/pkgconfig )
|
||||
qt4? ( virtual/pkgconfig )
|
||||
ppc-aix? ( dev-libs/gnulib )
|
||||
"
|
||||
REQUIRED_USE="
|
||||
|| ( ncurses gtk qt4 )
|
||||
gtk? ( !static )
|
||||
qt4? ( !static )
|
||||
static? ( ncurses )
|
||||
"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
|
||||
|
||||
src_prepare() {
|
||||
if use qt4; then
|
||||
local f
|
||||
for f in qt4/*.moc; do
|
||||
"${EPREFIX}"/usr/bin/moc ${f/.moc/.h} > ${f} || die
|
||||
done
|
||||
fi
|
||||
epatch "${FILESDIR}/${PN}-0.8.2-ncurses.patch"
|
||||
epatch "${FILESDIR}/${PN}-0.8.2-texi.patch"
|
||||
sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.ac || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use static && append-ldflags -static
|
||||
|
||||
if [[ ${CHOST} == *-aix* ]] ; then
|
||||
append-flags -I"${EPREFIX}/usr/$(get_libdir)/gnulib/include"
|
||||
append-ldflags -L"${EPREFIX}/usr/$(get_libdir)/gnulib/$(get_libdir)"
|
||||
append-libs -lgnu
|
||||
fi
|
||||
|
||||
# Issues finding qt on multilib systems
|
||||
export QTLIB="${QTDIR}/$(get_libdir)"
|
||||
|
||||
econf \
|
||||
--disable-dependency-tracking \
|
||||
--enable-maintainer-mode \
|
||||
--disable-pinentry-gtk \
|
||||
$(use_enable gtk pinentry-gtk2) \
|
||||
--disable-pinentry-qt \
|
||||
$(use_enable ncurses pinentry-curses) \
|
||||
$(use_enable ncurses fallback-curses) \
|
||||
$(use_enable qt4 pinentry-qt4) \
|
||||
$(use_with caps libcap) \
|
||||
--without-x
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake AR="$(tc-getAR)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
rm -f "${ED}"/usr/bin/pinentry || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! has_version 'app-crypt/pinentry' || has_version '<app-crypt/pinentry-0.7.3'; then
|
||||
elog "We no longer install pinentry-curses and pinentry-qt SUID root by default."
|
||||
elog "Linux kernels >=2.6.9 support memory locking for unprivileged processes."
|
||||
elog "The soft resource limit for memory locking specifies the limit an"
|
||||
elog "unprivileged process may lock into memory. You can also use POSIX"
|
||||
elog "capabilities to allow pinentry to lock memory. To do so activate the caps"
|
||||
elog "USE flag and add the CAP_IPC_LOCK capability to the permitted set of"
|
||||
elog "your users."
|
||||
fi
|
||||
eselect pinentry update ifunset
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect pinentry update ifunset
|
||||
}
|
@ -1,101 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/pinentry/pinentry-0.8.4.ebuild,v 1.1 2014/10/08 06:39:06 alonbl Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools multilib eutils flag-o-matic
|
||||
|
||||
DESCRIPTION="Collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol"
|
||||
HOMEPAGE="http://gnupg.org/aegypten2/index.html"
|
||||
SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="gtk ncurses qt4 caps static"
|
||||
|
||||
RDEPEND="
|
||||
app-admin/eselect-pinentry
|
||||
caps? ( sys-libs/libcap )
|
||||
gtk? ( x11-libs/gtk+:2 )
|
||||
ncurses? ( sys-libs/ncurses )
|
||||
qt4? ( >=dev-qt/qtgui-4.4.1:4 )
|
||||
static? ( >=sys-libs/ncurses-5.7-r5[static-libs,-gpm] )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/gettext
|
||||
gtk? ( virtual/pkgconfig )
|
||||
qt4? ( virtual/pkgconfig )
|
||||
ppc-aix? ( dev-libs/gnulib )
|
||||
"
|
||||
REQUIRED_USE="
|
||||
|| ( ncurses gtk qt4 )
|
||||
gtk? ( !static )
|
||||
qt4? ( !static )
|
||||
static? ( ncurses )
|
||||
"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
|
||||
|
||||
src_prepare() {
|
||||
if use qt4; then
|
||||
local f
|
||||
for f in qt4/*.moc; do
|
||||
"${EPREFIX}"/usr/bin/moc ${f/.moc/.h} > ${f} || die
|
||||
done
|
||||
fi
|
||||
epatch "${FILESDIR}/${PN}-0.8.2-ncurses.patch"
|
||||
epatch "${FILESDIR}/${PN}-0.8.2-texi.patch"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use static && append-ldflags -static
|
||||
|
||||
if [[ ${CHOST} == *-aix* ]] ; then
|
||||
append-flags -I"${EPREFIX}/usr/$(get_libdir)/gnulib/include"
|
||||
append-ldflags -L"${EPREFIX}/usr/$(get_libdir)/gnulib/$(get_libdir)"
|
||||
append-libs -lgnu
|
||||
fi
|
||||
|
||||
# Issues finding qt on multilib systems
|
||||
export QTLIB="${QTDIR}/$(get_libdir)"
|
||||
|
||||
econf \
|
||||
--disable-pinentry-gtk \
|
||||
--disable-pinentry-qt \
|
||||
--enable-pinentry-tty \
|
||||
$(use_enable gtk pinentry-gtk2) \
|
||||
$(use_enable ncurses pinentry-curses) \
|
||||
$(use_enable ncurses fallback-curses) \
|
||||
$(use_enable qt4 pinentry-qt4) \
|
||||
$(use_with caps libcap) \
|
||||
--without-x
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake AR="$(tc-getAR)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
rm -f "${ED}"/usr/bin/pinentry || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! has_version 'app-crypt/pinentry' || has_version '<app-crypt/pinentry-0.7.3'; then
|
||||
elog "We no longer install pinentry-curses and pinentry-qt SUID root by default."
|
||||
elog "Linux kernels >=2.6.9 support memory locking for unprivileged processes."
|
||||
elog "The soft resource limit for memory locking specifies the limit an"
|
||||
elog "unprivileged process may lock into memory. You can also use POSIX"
|
||||
elog "capabilities to allow pinentry to lock memory. To do so activate the caps"
|
||||
elog "USE flag and add the CAP_IPC_LOCK capability to the permitted set of"
|
||||
elog "your users."
|
||||
fi
|
||||
eselect pinentry update ifunset
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect pinentry update ifunset
|
||||
}
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-dicts/myspell-de-alt/myspell-de-alt-20061123.ebuild,v 1.1 2012/06/17 10:50:18 scarabeus Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MYSPELL_DICT=(
|
||||
"de_DE_1901.aff"
|
||||
"de_DE_1901.dic"
|
||||
)
|
||||
|
||||
MYSPELL_HYPH=(
|
||||
"hyph_de_DE_1901.dic"
|
||||
)
|
||||
|
||||
MYSPELL_THES=(
|
||||
)
|
||||
|
||||
inherit myspell-r2
|
||||
|
||||
DESCRIPTION="German dictionaries for myspell/hunspell"
|
||||
HOMEPAGE="http://www.j3e.de/myspell/"
|
||||
# No version, determined by the date of the files on the web.
|
||||
SRC_URI="
|
||||
${HOMEPAGE}/de_OLDSPELL.zip -> ${P}.zip
|
||||
${HOMEPAGE}/hyph_de_OLDSPELL.zip -> ${P}-hyphen.zip
|
||||
|
||||
"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
# Nicely rename; http://www.iana.org/assignments/language-subtag-registry
|
||||
mv de_OLDSPELL.aff de_DE_1901.aff || die
|
||||
mv de_OLDSPELL.dic de_DE_1901.dic || die
|
||||
mv hyph_de_OLD.dic hyph_de_DE_1901.dic || die
|
||||
}
|
@ -1,6 +1,3 @@
|
||||
DIST dict-de_at-frami_2012-06-17.oxt 4606452 SHA256 e99e078eff379aa1fd5af66a5668d0ba128bac74a4b5fae15685a5b82a1d2283 SHA512 cceabaedae4443b20995ae17d0620ce3ba5129cbe9064a7d02af773d0c272c9a09e07b104a068a26b70ebd6a3260626f41004bb5060f42efce0f5f7898ed415b WHIRLPOOL 8ac3e86cc8ba7519d21770bd04cb0169916ed59949cfb3ddb829f6e5e1dc959e4519810a3875eb933196e8dd10326d518104eba95a7e750f7b7db90b85eb3fdc
|
||||
DIST dict-de_at-frami_2013-12-06.oxt 5923995 SHA256 3e1d962188a9a5d49388231d5bd6b286f3c64ba7ed39a2ce84e579ebf40019b5 SHA512 a37e061be99ba074ff52b3e0320bbb814d3f504ad353c4e562ea9617d0b60f9b2feb4d1453b55c78a6b659420c7baf0e7601e66489c9c25df9a8bad92d9aebb5 WHIRLPOOL 61c356dd5ea765ebb470861394aaf7939c30b2006e9a0d2fa78938a3d700b6adb07d2a4a158a0d3cc9ffab8189c7792c244ae587611168fb91f79f5f5f7c2bb3
|
||||
DIST dict-de_ch-frami_2012-06-17.oxt 4600209 SHA256 c2c4eccfba404b7b3adea5df850b715fd31660394b69d94d1ebb4a48ff48c639 SHA512 53123157bb4161b24a63f79680488bf7f5a820a380d10b002e746b7ba35d623229255ef72ded18311d31e1e891f58dfa7ff849bf2087d5f1b3f114717c1b332f WHIRLPOOL d510a3d70dc793763acd16aaa20bbeec05dd58021292e3a84970cd3db01319c7382df09492287d70f76e4af0c08e7b8fb4654e2c03620b5d6c07a9b994205275
|
||||
DIST dict-de_ch-frami_2013-12-06.oxt 5914138 SHA256 b053ba0f63b276bafbc1910414a735d099b59955d592f01feedbb8faf6af4ad6 SHA512 d93107b639fc9630ccd0f2afa5a9d639ea444f14e08bd4ebe5ba7c082d7cb516c2a59aa8c3ef7c743872687cc47c45b5ffb5f4be70d2449e61bf65e5cf6c84d6 WHIRLPOOL 2573ae9008191182dabbe06b67910aa82bcd76c6ef5d55757bac402f177e8c4ca105104c04dbba0b68447d6e25c0730f9c71fb3247f14c931b3503967b81c6db
|
||||
DIST dict-de_de-frami_2012-06-17.oxt 4606812 SHA256 103e633dcc4dc51dfe39885320cb6e3b497059366951d96b4809e7f2c0ddf9c8 SHA512 62a2cf684c90dfbcaa41eb283d9e2077f3282687893fdb7e50e56349e46672546eebc74d1620d62f70271316f29673901012e802ec619701df63e3e234c0e921 WHIRLPOOL 5dbd61cb099c94c6cf3f234b7e75ad22ecade00a434e1b300c165ff07292d0e986424937ff0d80b0c513edb358e1b8718e710bad47e82642aae6276e5122cbd5
|
||||
DIST dict-de_de-frami_2013-12-06.oxt 5924352 SHA256 c82ebfc13b047c5acb28a7b12b42447a7e7c07fbdf24ab5ef77bf099cfbab0a9 SHA512 bf852bd6be13ee02673d9011cabb6ac89b4095e529b3c44651473a06c5c0b1f9ad1261934c157654933b1ce35470e9b900f381219654d6ecc81bb3ebb221ab6f WHIRLPOOL 273da46a23667c59092f33a584f559368f1b82149fc78ec5eef78bef9bde0246252affc3097090fa076a3037da88f2fba9b16bd961041e3efea89a2c021a5d74
|
||||
|
@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-dicts/myspell-de/myspell-de-2012.06.17-r1.ebuild,v 1.6 2013/06/30 21:11:34 ago Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MYSPELL_DICT=(
|
||||
"de_AT.aff"
|
||||
"de_AT.dic"
|
||||
"de_DE.aff"
|
||||
"de_DE.dic"
|
||||
"de_CH.aff"
|
||||
"de_CH.dic"
|
||||
)
|
||||
|
||||
MYSPELL_HYPH=(
|
||||
"hyph_de_AT.dic"
|
||||
"hyph_de_DE.dic"
|
||||
"hyph_de_CH.dic"
|
||||
)
|
||||
|
||||
MYSPELL_THES=(
|
||||
"th_de_AT_v2.dat"
|
||||
"th_de_AT_v2.idx"
|
||||
"th_de_DE_v2.dat"
|
||||
"th_de_DE_v2.idx"
|
||||
"th_de_CH_v2.dat"
|
||||
"th_de_CH_v2.idx"
|
||||
)
|
||||
|
||||
inherit myspell-r2
|
||||
|
||||
DESCRIPTION="German dictionaries for myspell/hunspell"
|
||||
HOMEPAGE="
|
||||
http://extensions.libreoffice.org/extension-center/german-de-at-frami-dictionaries
|
||||
http://extensions.libreoffice.org/extension-center/german-de-de-frami-dictionaries
|
||||
http://extensions.libreoffice.org/extension-center/german-de-ch-frami-dictionaries
|
||||
"
|
||||
SRC_URI="
|
||||
http://extensions.libreoffice.org/extension-center/german-de-at-frami-dictionaries/pscreleasefolder.2011-11-05.7614737245/${PV}/dict-de_at-frami_${PV//./-}.oxt
|
||||
http://extensions.libreoffice.org/extension-center/german-de-de-frami-dictionaries/releases/${PV}/dict-de_de-frami_${PV//./-}.oxt
|
||||
http://extensions.libreoffice.org/extension-center/german-de-ch-frami-dictionaries/pscreleasefolder.2011-11-05.5296069116/${PV}/dict-de_ch-frami_${PV//./-}.oxt
|
||||
"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ppc ~ppc64 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
# rename the tarballs
|
||||
for i in *_frami.*; do
|
||||
mv "${i}" "${i/_frami}" || die
|
||||
done
|
||||
}
|
@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-dicts/myspell-de/myspell-de-2012.06.17.ebuild,v 1.4 2013/01/10 07:58:56 scarabeus Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MYSPELL_DICT=(
|
||||
"de_AT_frami.aff"
|
||||
"de_AT_frami.dic"
|
||||
"de_DE_frami.aff"
|
||||
"de_DE_frami.dic"
|
||||
"de_CH_frami.aff"
|
||||
"de_CH_frami.dic"
|
||||
)
|
||||
|
||||
MYSPELL_HYPH=(
|
||||
"hyph_de_AT.dic"
|
||||
"hyph_de_DE.dic"
|
||||
"hyph_de_CH.dic"
|
||||
)
|
||||
|
||||
MYSPELL_THES=(
|
||||
"th_de_AT_v2.dat"
|
||||
"th_de_AT_v2.idx"
|
||||
"th_de_DE_v2.dat"
|
||||
"th_de_DE_v2.idx"
|
||||
"th_de_CH_v2.dat"
|
||||
"th_de_CH_v2.idx"
|
||||
)
|
||||
|
||||
inherit myspell-r2
|
||||
|
||||
DESCRIPTION="German dictionaries for myspell/hunspell"
|
||||
HOMEPAGE="
|
||||
http://extensions.libreoffice.org/extension-center/german-de-at-frami-dictionaries
|
||||
http://extensions.libreoffice.org/extension-center/german-de-de-frami-dictionaries
|
||||
http://extensions.libreoffice.org/extension-center/german-de-ch-frami-dictionaries
|
||||
"
|
||||
SRC_URI="
|
||||
http://extensions.libreoffice.org/extension-center/german-de-at-frami-dictionaries/pscreleasefolder.2011-11-05.7614737245/${PV}/dict-de_at-frami_${PV//./-}.oxt
|
||||
http://extensions.libreoffice.org/extension-center/german-de-de-frami-dictionaries/releases/${PV}/dict-de_de-frami_${PV//./-}.oxt
|
||||
http://extensions.libreoffice.org/extension-center/german-de-ch-frami-dictionaries/pscreleasefolder.2011-11-05.5296069116/${PV}/dict-de_ch-frami_${PV//./-}.oxt
|
||||
"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE=""
|
@ -1,2 +1 @@
|
||||
DIST myspell-id-1.0.oxt 147065 SHA256 0fdc92f9979a233661a1608b045f320770f3eea48ee20c107813260f87ee24ff SHA512 eabc771a3a1b152592f4f7838afce14d5747203d57038217660240c740c0a06cb73c869d4d99dff44665fc26e5ee0f55cdc2d1cc2c32ba105021ac442d49fa6a WHIRLPOOL 816faf3f0479788ee7c2589460ec35d2b67c2e7654f776710307c948fd4a88e5ada9824a395f169dfb6637329d0f047b391c59d9818ea0211dcaed3532af9541
|
||||
DIST myspell-id-2.0.oxt 135667 SHA256 9a2464273c985dd21bb265d3797fc82e98fbbb2ca943eb9e521625ef49aa63da SHA512 43d5e0ba4d582528d15d0f533d7bc1ef89023d1155cf5959d3df9fbaf7a1fc48c35402b774e1b8aa7475edbe5ddb2fefebbef596c3cfd73021215ac210bc47df WHIRLPOOL b4bcf5d4aed2e2634b44de43fdba50d8b3f39b8674ff8182c34fb862d708ed8ef1e5d78ccb659c3e60de256567c12e90db67d5ff4b8b9f9d50c05be453c01d27
|
||||
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-dicts/myspell-id/myspell-id-1.0.ebuild,v 1.1 2012/07/23 13:58:45 scarabeus Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MYSPELL_DICT=(
|
||||
"id.aff"
|
||||
"id.dic"
|
||||
)
|
||||
|
||||
MYSPELL_HYPH=(
|
||||
"hyph_id.dic"
|
||||
)
|
||||
|
||||
MYSPELL_THES=(
|
||||
)
|
||||
|
||||
inherit myspell-r2
|
||||
|
||||
DESCRIPTION="Indonesian dictionaries for myspell/hunspell"
|
||||
HOMEPAGE="http://extensions.libreoffice.org/extension-center/indonesian-dictionary-kamus-indonesia-by-benitius"
|
||||
SRC_URI="http://extensions.libreoffice.org/extension-center/indonesian-dictionary-kamus-indonesia-by-benitius/releases/${PV}/id.oxt -> ${P}.oxt"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE=""
|
@ -1,2 +1 @@
|
||||
DIST lv_LV-0.9.4.zip 683549 SHA256 c65829b2a58642391dcbc2fd337f78f4652cefbaeb0435f66f11ee6cfc61b368 SHA512 a054c1fe7ae55e4e5fb233d486cadacf6652574cea296dbaf4ec5c0dcf2364c6ae49e5ecf2c415364db106da887adf73e337ad5c9fa40860e5e22637f84c5cb6 WHIRLPOOL 902aeedc9fd953e2903db75720e35ca8f984e5c6f199e3a1134e78356b108361f8d7d809bd552403f3d6e0240a7597e71b15f136616b789e9d577ef7e943914d
|
||||
DIST lv_LV-1.0.0.zip 369295 SHA256 6756180a7cde97b20b440857a9a7b9df411723dfd3165adab40865f82b249957 SHA512 c97509edc3e1c018f6a5237fe56d4fc4da4f18a69b3003284bbff6dbb13f57a575c59d0763266af2d83ec0cf51b0e8ae67b20a383f41251e0002cf01538b823d WHIRLPOOL d40fe66f95d8b906937081c26bf77fb5a683f4630f4c87447647676818ca35a23d29558bd48ad39dcc19a9d2c6a070ccb75bf140f11dbdb184aa8c84d944c7b0
|
||||
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-dicts/myspell-lv/myspell-lv-0.9.4-r1.ebuild,v 1.2 2012/08/24 17:23:44 scarabeus Exp $
|
||||
|
||||
MYSPELL_DICT=(
|
||||
"lv_LV.aff"
|
||||
"lv_LV.dic"
|
||||
)
|
||||
|
||||
MYSPELL_HYPH=(
|
||||
"hyph_lv_LV.dic"
|
||||
)
|
||||
|
||||
MYSPELL_THES=(
|
||||
)
|
||||
|
||||
inherit myspell-r2
|
||||
|
||||
DESCRIPTION="Latvian dictionaries for myspell/hunspell"
|
||||
HOMEPAGE="http://extensions.libreoffice.org/extension-center/latviesu-valodas-pareizrakstibas-parbaudes-modulis"
|
||||
SRC_URI="http://dict.dv.lv/download/lv_LV-${PV}.zip"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE=""
|
@ -1,5 +1,3 @@
|
||||
DIST hyph_ro_RO.3.3.10.zip 18504 SHA256 55df3ee202e76ab13026e8255cebdd8386fb7db8a68185c437dd5b68ae8f2a1f SHA512 0901b514a5dd287f87e53c50b59df3fe61ef8e169ab1baee48d65f18bf8f400d2437539f1ae12f8afbc691e13650b0fd2367c466d30096d46d90d0d5d926206a WHIRLPOOL 4fcbcf4f9cb36ddce54ade3b15022ac2369ec19aa382030fb2fa6a289dfdf1cbf9dcb21280d440262353a66e0d07427d645b4ac8f12efdaabfd6f5a173abaa70
|
||||
DIST hyph_ro_RO.3.3.6.zip 18439 SHA256 80a7bd5abd2a0339272ce4e2be897ae7bc4458292e762cf5f9ca9cc641b2b381 SHA512 f98857b99933ba52855a0e31483a7649591459b13c7a1abd4145736c78986e9c6c59c32fd62d171793569946b4af49be70d20b1eb33522d7d012104340360247 WHIRLPOOL 43b802ee31f83980ca1fa3f211310ff61b55fe3da51c50b0a94c185fcdb6f6b7424f3885c30a191aa7cbd5932ff4bd41d418cc4a9ba14ac97f95b6b26dbbdc6f
|
||||
DIST ro_RO.3.3.10.zip 1216442 SHA256 7f128d64ea06c9e6711c30b118c0afeefb014d8f33c92daccdf455aba2d04519 SHA512 192d53fc087fb96306c46092a2b5cac9c28528f741c686d3b5e80c11c7bfdd16e1e406cfc1c32a99d72e2db01722e539b28c716379f38a3703e6954c8f9f2170 WHIRLPOOL 16c097b30cac5c0247c7827e02ff2fd5052f286bb118750a622032a8e3f4c418661313cad9369fae4dad46567b1be87fd749c75592d24c10a711900356d15dea
|
||||
DIST ro_RO.3.3.8.zip 1212983 SHA256 cae4910b0a1f143abafef43de60926b95f8d1d64e475f4b1923aa87aba50ad80 SHA512 60e8cbd37b0218d7b49043ede4e469db5cdcae5f245f8900dd0f7b720babd1bc0cebb6180a7717c8fcad58af495d764d6eca09931ecf5947cb2f7546010aa7ba WHIRLPOOL 169bac80381ce247741251eec5f3ced8b53c09af93dbc4af8eac4a2d1ee27f3f9dab2361622fb12f3de63c0febd26ded70a8da9e7d4663f8f1f880c7b0cc8a24
|
||||
DIST th_ro_RO.3.3.zip 1235156 SHA256 097f0a58be60859292fb0c8109669d579abd19a500b9d93bda3c16b9aa446be0 SHA512 6204706c2b325a08ac31205e0c6834e1720a7bab9231859e3ae33d58e516607a338631c6a8cb52fe79ffc79297529e8b2a509c28df6e45766a56054a54d180e4 WHIRLPOOL 6c5d83500f7403adfa1ec05e790e904652ba1d28124227bad6a8c0e9f7e1541920516b8f472c4e57e2f1093351787fc5b3423db32cefac630dddc4b53a6528bc
|
||||
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-dicts/myspell-ro/myspell-ro-3.3.8.ebuild,v 1.10 2013/08/07 13:24:45 ago Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MY_P="ro_RO.${PV}"
|
||||
|
||||
MYSPELL_DICT=(
|
||||
"ro_RO.aff"
|
||||
"ro_RO.dic"
|
||||
)
|
||||
|
||||
MYSPELL_HYPH=(
|
||||
"hyph_ro_RO.dic"
|
||||
)
|
||||
|
||||
MYSPELL_THES=(
|
||||
"th_ro_RO.dat"
|
||||
"th_ro_RO.idx"
|
||||
)
|
||||
|
||||
inherit myspell-r2
|
||||
|
||||
DESCRIPTION="Romanian dictionaries for myspell/hunspell"
|
||||
HOMEPAGE="http://rospell.sourceforge.net/index_en.html"
|
||||
SRC_URI="
|
||||
mirror://sourceforge/rospell/${MY_P}.zip
|
||||
mirror://sourceforge/rospell/hyph_ro_RO.3.3.6.zip
|
||||
mirror://sourceforge/rospell/th_ro_RO.3.3.zip
|
||||
"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1 MPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE=""
|
@ -1,5 +1,4 @@
|
||||
DIST emacs-24.4-patches-4.tar.xz 4652 SHA256 8b97fe775ed120df42e6f3afbe3ce503c0fedd8957caa759649323ac340f2922 SHA512 b8f8aea92472b5c074fc4cb2198b329e7b0496a70ba04d76eea4f420e398f3882b89d848020750659f60828217ea3155f4d53078edc8dc715b2946b8a239157a WHIRLPOOL e5e92ce3fba0e62ba3135e89ab8de9b6196f9a342048dbe679e06c3530a305311a1b300b72abdee50416d989cb55ca053ea1e0b259e63cc56260bfd58d43894a
|
||||
DIST emacs-24.4.90.tar.xz 39752368 SHA256 cec2204ec0134dfac9987dde3aff95e4a02538d4ce63e8d7c55b6a409aa04b36 SHA512 c7fe2ab40b1a28a97342753afb7fd5c24751ad51a144c723c6c1be517b81006b4641f1f4e833b8424ac00107992934f4e4520dd7aa92074e44ab98a148a17eed WHIRLPOOL b20c133381617f15ee2babca36164a104f18da0f38ae310db4cbc539fa988832a4b7d78acc0e023e4b8c92a877decbce44d45028c8b8ecee708c092dfe27e39d
|
||||
DIST emacs-25.0.50_pre20141110.tar.xz 24564108 SHA256 ed5a3600a2434fa6c43fbbb711c9ad682f76bcaeba5632031a0053d1fa7c0020 SHA512 db2add52e31be1d696e3634c92f993db124eaa8f3a727d04603cf47ed4c581643594571177d812d6c86584dce357eec6c86a7c9df1b07b09cb6faac4c699daf2 WHIRLPOOL 91cdba50d7ad9f41859d3247b1b839d1a42cb8004e209b1afe8d86f3c27abdfd3f2b1cf767b480f2ea271871b79886c878a899918056c1abb100bfa0eab87668
|
||||
DIST emacs-25.0.50_pre20141231.tar.xz 24688612 SHA256 15bc6b8e1923bb6c1e18e3a8d89652c6594d72fbd1e3c15898ab9df03d19ad77 SHA512 b544f3530c707927c8ef4614b0804505e6cb32d8d6cef45f7aff56f67d632906d447d381a374ef37c6c46660cba1bb53dc7adead308bd902951abcc475593c75 WHIRLPOOL 0f373c4ef413a88e91e41b707686413a93661121453f3a80bff1cba75a17271dd30cd8dc64037487d2dcb2e3f4681af3bc989668c931b006a1bb2742eb5a9d5b
|
||||
DIST emacs-25.0.50_pre20150131.tar.xz 24719944 SHA256 fa21415c14d724c6cbd92ea8b76bfbc157757baf1446492b5f72062ff0017076 SHA512 85629851ba93d25050e0590b8c00ea9417e2c6839d306276ec3f02ce4d6bba14fe407f32eb07dcc2d42c79fade0678e9e5c098cf1562831a0a715373629a9d40 WHIRLPOOL e58589ac54577800e971232e814212b2954c93c42d701c137283590833420680968f71b46c6e087c4b3d900f96fb1c99edc6420ffbd336740e9b079e01e9ef4a
|
||||
DIST emacs-25.0.50_pre20150228.tar.xz 24749116 SHA256 8e442cbb27e0b39aee9ebcd981512870a7030ecdd4f7941c3ea43dfbb0635635 SHA512 a9f3f3fe5bb2d662c06317c630af40c48b47b33f5cfdbc2a3fa592ac27cb9b9e1c91524326def931b931fc4a35056bac45b7836e24e550088965783dad2c3188 WHIRLPOOL 9349f8f94873a2addc75af295852434a6609bc88f2acb9ef45b24947a8d5f2b058b2e3a0d461eb2ce34816b4895225fdbd939c4ed366608949ca13c354a74185
|
||||
|
@ -1,367 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/emacs-vcs-25.0.50_pre20141110.ebuild,v 1.3 2015/02/17 08:23:32 ulm Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools elisp-common eutils flag-o-matic multilib readme.gentoo
|
||||
|
||||
if [[ ${PV##*.} = 9999 ]]; then
|
||||
EBZR_PROJECT="emacs"
|
||||
EBZR_BRANCH="trunk"
|
||||
EBZR_REPO_URI="bzr://bzr.savannah.gnu.org/emacs/${EBZR_BRANCH}/"
|
||||
# "Nosmart" is much faster for initial branching.
|
||||
EBZR_INITIAL_URI="nosmart+${EBZR_REPO_URI}"
|
||||
EBZR_UNPACK_DIR="${WORKDIR}/emacs"
|
||||
EBZR_WORKDIR_CHECKOUT="t" #434746
|
||||
inherit bzr
|
||||
S="${EBZR_UNPACK_DIR}"
|
||||
else
|
||||
SRC_URI="http://dev.gentoo.org/~ulm/distfiles/emacs-${PV}.tar.xz
|
||||
mirror://gnu-alpha/emacs/pretest/emacs-${PV}.tar.xz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
# FULL_VERSION keeps the full version number, which is needed in
|
||||
# order to determine some path information correctly for copy/move
|
||||
# operations later on
|
||||
FULL_VERSION="${PV%%_*}"
|
||||
#S="${WORKDIR}/emacs-${FULL_VERSION}"
|
||||
S="${WORKDIR}/emacs"
|
||||
fi
|
||||
|
||||
DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
|
||||
HOMEPAGE="http://www.gnu.org/software/emacs/"
|
||||
|
||||
LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
|
||||
SLOT="25"
|
||||
IUSE="acl alsa aqua athena dbus games gconf gfile gif gnutls gpm gsettings gtk +gtk3 gzip-el hesiod imagemagick +inotify jpeg kerberos libxml2 livecd m17n-lib motif pax_kernel png selinux sound source svg tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm zlib"
|
||||
REQUIRED_USE="?? ( aqua X )"
|
||||
|
||||
RDEPEND="sys-libs/ncurses
|
||||
>=app-admin/eselect-emacs-1.16
|
||||
>=app-emacs/emacs-common-gentoo-1.4-r1[games?,X?]
|
||||
net-libs/liblockfile
|
||||
acl? ( virtual/acl )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
dbus? ( sys-apps/dbus )
|
||||
gfile? ( >=dev-libs/glib-2.28.6 )
|
||||
gnutls? ( net-libs/gnutls )
|
||||
gpm? ( sys-libs/gpm )
|
||||
hesiod? ( net-dns/hesiod )
|
||||
kerberos? ( virtual/krb5 )
|
||||
libxml2? ( >=dev-libs/libxml2-2.2.0 )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
zlib? ( sys-libs/zlib )
|
||||
X? (
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXt
|
||||
x11-misc/xbitmaps
|
||||
gconf? ( >=gnome-base/gconf-2.26.2 )
|
||||
gsettings? ( >=dev-libs/glib-2.28.6 )
|
||||
gif? ( media-libs/giflib )
|
||||
jpeg? ( virtual/jpeg:0= )
|
||||
png? ( >=media-libs/libpng-1.4:0= )
|
||||
svg? ( >=gnome-base/librsvg-2.0 )
|
||||
tiff? ( media-libs/tiff:0 )
|
||||
xpm? ( x11-libs/libXpm )
|
||||
imagemagick? ( >=media-gfx/imagemagick-6.6.2 )
|
||||
xft? (
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
x11-libs/libXft
|
||||
m17n-lib? (
|
||||
>=dev-libs/libotf-0.9.4
|
||||
>=dev-libs/m17n-lib-1.5.1
|
||||
)
|
||||
)
|
||||
gtk? (
|
||||
gtk3? ( x11-libs/gtk+:3 )
|
||||
!gtk3? ( x11-libs/gtk+:2 )
|
||||
)
|
||||
!gtk? (
|
||||
motif? ( >=x11-libs/motif-2.3:0 )
|
||||
!motif? (
|
||||
Xaw3d? ( x11-libs/libXaw3d )
|
||||
!Xaw3d? ( athena? ( x11-libs/libXaw ) )
|
||||
)
|
||||
)
|
||||
)"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
gzip-el? ( app-arch/gzip )
|
||||
pax_kernel? (
|
||||
sys-apps/attr
|
||||
sys-apps/paxctl
|
||||
)"
|
||||
|
||||
if [[ ${PV##*.} = 9999 ]]; then
|
||||
DEPEND="${DEPEND}
|
||||
sys-apps/texinfo"
|
||||
fi
|
||||
|
||||
EMACS_SUFFIX="${PN/emacs/emacs-${SLOT}}"
|
||||
SITEFILE="20${PN}-${SLOT}-gentoo.el"
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV##*.} = 9999 ]]; then
|
||||
FULL_VERSION=$(sed -n 's/^AC_INIT([^,]*,[ \t]*\([^ \t,)]*\).*/\1/p' \
|
||||
configure.ac)
|
||||
[[ ${FULL_VERSION} ]] || die "Cannot determine current Emacs version"
|
||||
einfo "Emacs branch: ${EBZR_BRANCH}"
|
||||
einfo "Revision: ${EBZR_REVISION:-${EBZR_REVNO}}"
|
||||
einfo "Emacs version number: ${FULL_VERSION}"
|
||||
[[ ${FULL_VERSION} =~ ^${PV%.*}(\..*)?$ ]] \
|
||||
|| die "Upstream version number changed to ${FULL_VERSION}"
|
||||
fi
|
||||
|
||||
epatch_user
|
||||
|
||||
# Fix filename reference in redirected man page
|
||||
sed -i -e "/^\\.so/s/etags/&-${EMACS_SUFFIX}/" doc/man/ctags.1 \
|
||||
|| die "unable to sed ctags.1"
|
||||
|
||||
AT_M4DIR=m4 eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
strip-flags
|
||||
filter-flags -pie #526948
|
||||
|
||||
if use sh; then
|
||||
replace-flags "-O[1-9]" -O0 #262359
|
||||
elif use ia64; then
|
||||
replace-flags "-O[2-9]" -O1 #325373
|
||||
else
|
||||
replace-flags "-O[3-9]" -O2
|
||||
fi
|
||||
|
||||
local myconf
|
||||
|
||||
if use alsa; then
|
||||
use sound || ewarn \
|
||||
"USE flag \"alsa\" overrides \"-sound\"; enabling sound support."
|
||||
myconf+=" --with-sound=alsa"
|
||||
else
|
||||
myconf+=" --with-sound=$(usex sound oss)"
|
||||
fi
|
||||
|
||||
if use X; then
|
||||
myconf+=" --with-x --without-ns"
|
||||
myconf+=" $(use_with gconf)"
|
||||
myconf+=" $(use_with gsettings)"
|
||||
myconf+=" $(use_with toolkit-scroll-bars)"
|
||||
myconf+=" $(use_with gif)"
|
||||
myconf+=" $(use_with jpeg)"
|
||||
myconf+=" $(use_with png)"
|
||||
myconf+=" $(use_with svg rsvg)"
|
||||
myconf+=" $(use_with tiff)"
|
||||
myconf+=" $(use_with xpm)"
|
||||
myconf+=" $(use_with imagemagick)"
|
||||
|
||||
if use xft; then
|
||||
myconf+=" --with-xft"
|
||||
myconf+=" $(use_with m17n-lib libotf)"
|
||||
myconf+=" $(use_with m17n-lib m17n-flt)"
|
||||
else
|
||||
myconf+=" --without-xft"
|
||||
myconf+=" --without-libotf --without-m17n-flt"
|
||||
use m17n-lib && ewarn \
|
||||
"USE flag \"m17n-lib\" has no effect if \"xft\" is not set."
|
||||
fi
|
||||
|
||||
local f
|
||||
if use gtk; then
|
||||
einfo "Configuring to build with GIMP Toolkit (GTK+)"
|
||||
myconf+=" --with-x-toolkit=$(usex gtk3 gtk3 gtk2)"
|
||||
for f in motif Xaw3d athena; do
|
||||
use ${f} && ewarn \
|
||||
"USE flag \"${f}\" has no effect if \"gtk\" is set."
|
||||
done
|
||||
elif use motif; then
|
||||
einfo "Configuring to build with Motif toolkit"
|
||||
myconf+=" --with-x-toolkit=motif"
|
||||
for f in Xaw3d athena; do
|
||||
use ${f} && ewarn \
|
||||
"USE flag \"${f}\" has no effect if \"motif\" is set."
|
||||
done
|
||||
elif use athena || use Xaw3d; then
|
||||
einfo "Configuring to build with Athena/Lucid toolkit"
|
||||
myconf+=" --with-x-toolkit=lucid $(use_with Xaw3d xaw3d)"
|
||||
else
|
||||
einfo "Configuring to build with no toolkit"
|
||||
myconf+=" --with-x-toolkit=no"
|
||||
fi
|
||||
elif use aqua; then
|
||||
einfo "Configuring to build with Nextstep (Cocoa) support"
|
||||
myconf+=" --with-ns --disable-ns-self-contained"
|
||||
myconf+=" --without-x"
|
||||
else
|
||||
myconf+=" --without-x --without-ns"
|
||||
fi
|
||||
|
||||
# Save version information in the Emacs binary. It will be available
|
||||
# in variable "system-configuration-options".
|
||||
myconf+=" GENTOO_PACKAGE=${CATEGORY}/${PF}"
|
||||
if [[ ${PV##*.} = 9999 ]]; then
|
||||
myconf+=" EBZR_BRANCH=${EBZR_BRANCH} EBZR_REVNO=${EBZR_REVNO}"
|
||||
fi
|
||||
|
||||
econf \
|
||||
--program-suffix="-${EMACS_SUFFIX}" \
|
||||
--infodir="${EPREFIX}"/usr/share/info/${EMACS_SUFFIX} \
|
||||
--localstatedir="${EPREFIX}"/var \
|
||||
--enable-locallisppath="${EPREFIX}/etc/emacs:${EPREFIX}${SITELISP}" \
|
||||
--with-gameuser="${GAMES_USER_DED:-games}" \
|
||||
--without-compress-install \
|
||||
--with-file-notification=$(usev gfile || usev inotify || echo no) \
|
||||
$(use_enable acl) \
|
||||
$(use_with dbus) \
|
||||
$(use_with gnutls) \
|
||||
$(use_with gpm) \
|
||||
$(use_with hesiod) \
|
||||
$(use_with kerberos) $(use_with kerberos kerberos5) \
|
||||
$(use_with libxml2 xml2) \
|
||||
$(use_with selinux) \
|
||||
$(use_with wide-int) \
|
||||
$(use_with zlib) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export SANDBOX_ON=0 # for the unbelievers, see Bug #131505
|
||||
emake
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake DESTDIR="${D}" NO_BIN_LINK=t install
|
||||
|
||||
mv "${ED}"/usr/bin/{emacs-${FULL_VERSION}-,}${EMACS_SUFFIX} \
|
||||
|| die "moving emacs executable failed"
|
||||
mv "${ED}"/usr/share/man/man1/{emacs-,}${EMACS_SUFFIX}.1 \
|
||||
|| die "moving emacs man page failed"
|
||||
|
||||
# move info dir to avoid collisions with the dir file generated by portage
|
||||
mv "${ED}"/usr/share/info/${EMACS_SUFFIX}/dir{,.orig} \
|
||||
|| die "moving info dir failed"
|
||||
touch "${ED}"/usr/share/info/${EMACS_SUFFIX}/.keepinfodir
|
||||
docompress -x /usr/share/info/${EMACS_SUFFIX}/dir.orig
|
||||
|
||||
# avoid collision between slots, see bug #169033 e.g.
|
||||
rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el
|
||||
rm -rf "${ED}"/usr/share/{appdata,applications,icons}
|
||||
rm -rf "${ED}"/var
|
||||
|
||||
# remove unused <version>/site-lisp dir
|
||||
rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp
|
||||
|
||||
# remove COPYING file (except for etc/COPYING used by describe-copying)
|
||||
rm "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp/COPYING
|
||||
|
||||
if use gzip-el; then
|
||||
# compress .el files when a corresponding .elc exists
|
||||
find "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp -type f \
|
||||
-name "*.elc" -print | sed 's/\.elc$/.el/' | xargs gzip -9n
|
||||
assert "gzip .el failed"
|
||||
fi
|
||||
|
||||
local cdir
|
||||
if use source; then
|
||||
cdir="/usr/share/emacs/${FULL_VERSION}/src"
|
||||
insinto "${cdir}"
|
||||
# This is not meant to install all the source -- just the
|
||||
# C source you might find via find-function
|
||||
doins src/*.{c,h,m}
|
||||
elif has installsources ${FEATURES}; then
|
||||
cdir="/usr/src/debug/${CATEGORY}/${PF}/${S#"${WORKDIR}/"}/src"
|
||||
fi
|
||||
|
||||
sed -e "${cdir:+#}/^Y/d" -e "s/^[XY]//" >"${T}/${SITEFILE}" <<-EOF
|
||||
X
|
||||
;;; ${PN}-${SLOT} site-lisp configuration
|
||||
X
|
||||
(when (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version)
|
||||
Y (setq find-function-C-source-directory
|
||||
Y "${EPREFIX}${cdir}")
|
||||
X (let ((path (getenv "INFOPATH"))
|
||||
X (dir "${EPREFIX}/usr/share/info/${EMACS_SUFFIX}")
|
||||
X (re "\\\\\`${EPREFIX}/usr/share/info\\\\>"))
|
||||
X (and path
|
||||
X ;; move Emacs Info dir before anything else in /usr/share/info
|
||||
X (let* ((p (cons nil (split-string path ":" t))) (q p))
|
||||
X (while (and (cdr q) (not (string-match re (cadr q))))
|
||||
X (setq q (cdr q)))
|
||||
X (setcdr q (cons dir (delete dir (cdr q))))
|
||||
X (setq Info-directory-list (prune-directory-list (cdr p)))))))
|
||||
EOF
|
||||
elisp-site-file-install "${T}/${SITEFILE}" || die
|
||||
|
||||
dodoc README BUGS
|
||||
|
||||
if use aqua; then
|
||||
dodir /Applications/Gentoo
|
||||
rm -rf "${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app
|
||||
mv nextstep/Emacs.app \
|
||||
"${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app || die
|
||||
fi
|
||||
|
||||
DOC_CONTENTS="You can set the version to be started by /usr/bin/emacs
|
||||
through the Emacs eselect module, which also redirects man and info
|
||||
pages. Therefore, several Emacs versions can be installed at the
|
||||
same time. \"man emacs.eselect\" for details.
|
||||
\\n\\nIf you upgrade from Emacs version 24.2 or earlier, then it is
|
||||
strongly recommended that you use app-admin/emacs-updater to rebuild
|
||||
all byte-compiled elisp files of the installed Emacs packages."
|
||||
use X && DOC_CONTENTS+="\\n\\nYou need to install some fonts for Emacs.
|
||||
Installing media-fonts/font-adobe-{75,100}dpi on the X server's
|
||||
machine would satisfy basic Emacs requirements under X11.
|
||||
See also https://wiki.gentoo.org/wiki/Xft_support_for_GNU_Emacs
|
||||
for how to enable anti-aliased fonts."
|
||||
use aqua && DOC_CONTENTS+="\\n\\nEmacs${EMACS_SUFFIX#emacs}.app is in
|
||||
\"${EPREFIX}/Applications/Gentoo\". You may want to copy or symlink
|
||||
it into /Applications by yourself."
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# move Info dir file to correct name
|
||||
local infodir=/usr/share/info/${EMACS_SUFFIX} f
|
||||
if [[ -f ${ED}${infodir}/dir.orig ]]; then
|
||||
mv "${ED}"${infodir}/dir{.orig,} || die "moving info dir failed"
|
||||
elif [[ -d "${ED}"${infodir} ]]; then
|
||||
# this should not happen in EAPI 4
|
||||
ewarn "Regenerating Info directory index in ${infodir} ..."
|
||||
rm -f "${ED}"${infodir}/dir{,.*}
|
||||
for f in "${ED}"${infodir}/*; do
|
||||
if [[ ${f##*/} != *-[0-9]* && -e ${f} ]]; then
|
||||
install-info --info-dir="${ED}"${infodir} "${f}" \
|
||||
|| die "install-info failed"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elisp-site-regen
|
||||
|
||||
local pvr
|
||||
for pvr in ${REPLACING_VERSIONS}; do
|
||||
[[ ${pvr%%[-_]*} = 24.[12] ]] && FORCE_PRINT_ELOG=1
|
||||
done
|
||||
readme.gentoo_print_elog
|
||||
|
||||
if use livecd; then
|
||||
# force an update of the emacs symlink for the livecd/dvd,
|
||||
# because some microemacs packages set it with USE=livecd
|
||||
eselect emacs update
|
||||
elif [[ $(readlink "${EROOT}"/usr/bin/emacs) = ${EMACS_SUFFIX} ]]; then
|
||||
# refresh symlinks in case any installed files have changed
|
||||
eselect emacs set ${EMACS_SUFFIX}
|
||||
else
|
||||
eselect emacs update ifunset
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
elisp-site-regen
|
||||
eselect emacs update ifunset
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST ebuild-mode-1.26.tar.xz 28636 SHA256 dbcf352575f478a2c68435863c9b14ebc2b4039608ec8af19905b649210fe45d SHA512 fa24435d5f7dca1bfb66478bbceefe2dc8f32aaeb03c7900da8d4c825e4a791c2186ac1ee44c401ff82d4a93fca718f3959318ab14bceb166c1794dd74dcd347 WHIRLPOOL fc510adbb071dae2855c34537c7ad726f35c6bfca9cbd480c407bb5461a23b2ec58f3502aaccaa1735398b6196aa98fbede8d6e6fca5da5b895583029ac8be1d
|
||||
DIST ebuild-mode-1.27.tar.xz 29040 SHA256 06b682c5132f513d1a22ad96beca8bbb7d632aa73b094cc79cd1109c7a5bcfe2 SHA512 7f8608f66bb5fd665059019cccbae4729e1fd3389628428c8c83d0a8694b3de78217da255b5858c91df40925c7c859d1cb1806adf98f97c2441c6e71444713ec WHIRLPOOL 364f35d89c8137f6c6c9c257a99780e69dce93cd077b9e12ef4944c924f042fb3bc1da9fddae08ede385f3faf13e5c22533c5a566ce891ff93d39bae758a7b62
|
||||
|
@ -1,21 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/ebuild-mode/ebuild-mode-1.26.ebuild,v 1.10 2014/03/23 17:53:35 ago Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit readme.gentoo elisp
|
||||
|
||||
DESCRIPTION="Emacs modes for editing ebuilds and other Gentoo specific files"
|
||||
HOMEPAGE="http://wiki.gentoo.org/wiki/Project:Emacs"
|
||||
SRC_URI="http://dev.gentoo.org/~ulm/emacs/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
|
||||
DOCS="ChangeLog keyword-generation.sh"
|
||||
ELISP_TEXINFO="${PN}.texi"
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
DOC_CONTENTS="Some optional features may require installation of additional
|
||||
packages, like app-portage/gentoolkit-dev for echangelog."
|
@ -1 +1,2 @@
|
||||
DIST ibus-cangjie-2.1.tar.xz 147796 SHA256 00563b16fdbc8033e019b37e3ee17f62fb5dd05c68fd67b114909d7261cd433c SHA512 8ac4b7d9ecd91f9a04190db2aeda595f0740c10afe49aa7f5961eb30962fec5874131c4831b3bf473b008549bb2bb51195c6ab81f32008edbe4f3239e69afadf WHIRLPOOL 6def3a79d6f38382844340e1a1bb5a66911c5db3e260f295c7d5db66b1e4d314ec23f5df184cb4eb6a236688bffad54e61df6604c4a758a622aab4e6c86f4d99
|
||||
DIST ibus-cangjie-2.2.tar.xz 148012 SHA256 7c816173d8f79072ada988d7770928572d28be5dd375b4f7e690c9f57dd49018 SHA512 847e6bcc6e89fa864073937b34d5abf26a598b867881fd45d962b107a84470585040afcac5152f4f237be4175a53acad3ac8e7eb48fd8bae8ff2cdd04e2de70b WHIRLPOOL 278b125a9ef1c95c92a5a7a39a7c742bac3fca92b021dffeb156814be5a71fd0d0a3ec1f3fbb141d40a703626914ffc2b26e6d8741cf29415473b293ce8ab56d
|
||||
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-cangjie/ibus-cangjie-2.2.ebuild,v 1.1 2015/02/28 07:57:50 dlan Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{3_2,3_3,3_4} )
|
||||
|
||||
inherit autotools-utils gnome2-utils python-r1 eutils
|
||||
|
||||
DESCRIPTION="The IBus engine for users of the Cangjie and Quick input methods"
|
||||
HOMEPAGE="http://cangjians.github.io"
|
||||
SRC_URI="https://github.com/Cangjians/ibus-cangjie/releases/download/v${PV}/ibus-cangjie-${PV}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
>=app-i18n/ibus-1.4.1
|
||||
app-i18n/libcangjie
|
||||
dev-python/cangjie[${PYTHON_USEDEP}]
|
||||
dev-util/intltool
|
||||
sys-devel/gettext"
|
||||
|
||||
RDEPEND=">=app-i18n/ibus-1.4.1
|
||||
app-i18n/libcangjie
|
||||
dev-python/cangjie[${PYTHON_USEDEP}]
|
||||
virtual/libintl
|
||||
${PYTHON_DEPS}"
|
||||
|
||||
src_configure() {
|
||||
python_foreach_impl autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
python_foreach_impl autotools-utils_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_foreach_impl autotools-utils_src_install
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST libcangjie-1.1.tar.xz 573924 SHA256 2909722abb9d85e83ad43c8ebd555d057c079014eb8e883c8d0f69b72d23031a SHA512 99c2dd055830bbaf6e2ef26cc285dd3edec780561af0799b450cc2fa44c8590217bbf38cd3d087c01cca1b467c7fff722c548b83fcb7c9177cd7c681a22f2901 WHIRLPOOL 9f5c72769dff9a09231ae3209b53e3427ad4e2b92a0143f4c43803624540038d4e58505b7bdc417e70f7bb53edcc11cdea31f8a2ecc5eadc578223cbf6bb3380
|
||||
DIST libcangjie-1.3.tar.xz 575240 SHA256 f4b9a0cf8673f49adb22b675992360799d66eb8d5bce2bd603358de78509d30b SHA512 216ad965cb265d700cc94e6b7892dd9a7d814eba364b7700870b7e704d17d8dc75be4c7af0a7a7fc0088a32e389e62822a05d089f1df714c5ffd347ece8b9f35 WHIRLPOOL 6f83df0dc10630f52ecbab5178c520dabcb19511fcac673484512193eeb5542d8d7daea1b5671f856f2898d4c6d97f1cc3125bc90c3567bfba46fe5da214fa0c
|
||||
|
@ -0,0 +1,17 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/libcangjie/libcangjie-1.3.ebuild,v 1.1 2015/02/28 07:49:58 dlan Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="The library implementing the Cangjie input method"
|
||||
HOMEPAGE="http://cangjians.github.io"
|
||||
SRC_URI="https://github.com/Cangjians/libcangjie/releases/download/v${PV}/libcangjie-${PV}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="dev-db/sqlite:3="
|
||||
|
||||
RDEPEND="${DEPEND}"
|
@ -1,2 +1 @@
|
||||
DIST fdupes-1.50-PR2.tar.gz 19436 SHA256 5af2c71206fece42e0f9554427e323bef96653a4dceb5130bc8ac63e2ceb1619 SHA512 2a2f849110e6c55a372354c6ce556561bc38525459503d3c80ce07fa76f0cdf62a1900474dc021c913ae0f67b49cd2f2607de08b8f937f641eb4200a03a0a43d WHIRLPOOL 1e34e1e44fa6b769a05a7b4811cf956caaad7b0ba24957d170a34c93179d19789138dd3efcb9dafdca9d56a98f2eb10b0c486df033baa7a515641d1e058d71ec
|
||||
DIST fdupes-1.51.tar.gz 48942 SHA256 87dbc85b7b9cdb9626e713dd8078bd7487bceb58d47ceaff5404a9e6fd062881 SHA512 7cbc414f25427793317667b8d5494f7247a08ba402855929de77d1db01eb3dce41ea608f8dcca047c4a7856e02b10261982cf2acd7f6a79ab726b3009c710a8d WHIRLPOOL 49c4ac195270972246e54f1249749afde889926067e6a3c88f14dbe738b1ba40c085c4b6c9fc0bcbb3fa83de0bf21c54a24eea91307143083648b333c50d7305
|
||||
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/fdupes/fdupes-1.50_pre2-r1.ebuild,v 1.2 2013/11/18 19:54:43 jlec Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs
|
||||
|
||||
MY_P="${PN}-${PV/_pre/-PR}"
|
||||
|
||||
DESCRIPTION="Identify/delete duplicate files residing within specified directories"
|
||||
HOMEPAGE="https://code.google.com/p/fdupes/"
|
||||
SRC_URI="http://netdial.caribe.net/~adrian2/programs/${PN}/beta/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}-makefile.patch \
|
||||
"${FILESDIR}"/${P}-compare-file.patch \
|
||||
"${FILESDIR}"/${P}-lfs.patch \
|
||||
"${FILESDIR}"/${P}-typo.patch
|
||||
|
||||
append-lfs-flags
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC=$(tc-getCC)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin fdupes
|
||||
doman fdupes.1
|
||||
dodoc CHANGES CONTRIBUTORS README TODO
|
||||
}
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/fdupes/fdupes-1.50_pre2.ebuild,v 1.12 2013/11/18 19:54:43 jlec Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
MY_P="${PN}-${PV/_pre/-PR}"
|
||||
|
||||
DESCRIPTION="Identify/delete duplicate files residing within specified directories"
|
||||
HOMEPAGE="https://code.google.com/p/fdupes/"
|
||||
SRC_URI="http://netdial.caribe.net/~adrian2/programs/${PN}/beta/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-makefile.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC=$(tc-getCC)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin fdupes
|
||||
doman fdupes.1
|
||||
dodoc CHANGES CONTRIBUTORS README TODO
|
||||
}
|
@ -1,6 +1,4 @@
|
||||
DIST lyx-1.6.10.tar.bz2 12559454 SHA256 dcfb6fc0f6880e706d45ea16459ed2206265179f3882b4685e4955c18adaf569 SHA512 c6d3f18f555e45ef86e22f42f7c8727ad0e1ad2cc4cbf87557f3ef235d894d46c5a87fc5923e2c02a5d9ba342389bf213af156a12c17e3b5f2308b9602b182dc WHIRLPOOL 0543590df1cc353fee939fee83db55aa146418c36c9422faa07cf9a1723002b83deb92f7ff89d49abb4144fe62d0fcf917257c07aaeb0d6e016b39393a8ab542
|
||||
DIST lyx-2.0.6.tar.xz 10390452 SHA256 a5cb2bedee6e154b50881acd2316cf9d79162d6754e3aa159a6d579f5a828ad2 SHA512 644b69ad591a244ca7ebf4107c2a8dfd58757f7acc942b11e3f9ce253a775f5a713f47f5e430612d3a9e91cb202ad6da17aafbca012d66bdf9bdbb875a26de35 WHIRLPOOL 2ac79a6ec7b9a460ffd84644e6ae3da014028677555678b23c8925b8faccf39166e62ee52907212ee0082dad03c358804290b10b4092a276a0dd7fe30509aaa0
|
||||
DIST lyx-2.0.7.1.tar.xz 10449732 SHA256 ad77914a96692b4dbbf7bebaddd5f5cea0f1b729458b7475ce55965eb09e4777 SHA512 0314400c13d0a6b02d57521a9ceecfdd7aa0d8d89c527d8b48d36dcc807c6142fb225f4ba2c03ddd83a34b41ecf6ed185a8425b58e9e143973a639044e33f520 WHIRLPOOL dcdc98004120dfb37e68729027d2c8a21fcf9579e5254f1e56447afc43369e2efc8d7a1b769a4c6e9b9938e78e0fe4f1e66a761206c2f21f83cb4a76e6903bbf
|
||||
DIST lyx-2.0.8.1.tar.xz 10481988 SHA256 fa0a9c6070554e0d12d24e9b3c4a1e5fc2ee853b3fbe83e2a415635cdc973c59 SHA512 17e313d3118dfe439f5251384f2fffdb45ffef5ec515953b7af0762d35c8e156a9338de698cea91cf8b3cedca1fc08364d8f3c50c9345f304d57004af695f901 WHIRLPOOL 6a9ef2df39861d373e1c6288f5443f910632a09ed4d84e409efe06459f2f39d3c30462b3a26aafe37c5216b765882e7ab5189e7d164b71def97f50877784754c
|
||||
DIST lyx-2.1.1.tar.xz 10638872 SHA256 ca5bf218bc86deadc9eca22030a96e911b0642b3fa0e359c14891dff7f0b39ba SHA512 72a8b6c4fc1435541aef659ded44fee2f42862c3b02ec168cc5d989e3caa94f277341ede859e37f523e09c36915405cb753d8d8b0cf82d4663473a427f82ba74 WHIRLPOOL adf65c269a062913f64da156796778768849ffa67f325fbb97fba5fedb2374f32fb535ba77e868e150d3dac92fdd1895f56904044d3526b40b97c5a2d712a158
|
||||
DIST lyx-2.1.2.tar.xz 10669264 SHA256 c8783822341e95cc2a6b5da1b0e838542fd875017d8775f237b17c1790b1bba5 SHA512 3e7234673e302343e26f70a11d0f078436f89929749e6c9b8a5ba74fe32d6c0b7418142783715abd8115d014f146db8115ffdd0bcd77cacb38fce23f3c0844cc WHIRLPOOL 83915cfa3dc8fc6b51d8ed2ebcb7b56ac9a5f2d8d7acb12dba8457838a3e57d4f50b161ee964562c068acf02129fff38f8ae75d377e4c0928f9f17f0d7a6ac2b
|
||||
DIST lyx-2.1.3.tar.xz 10778624 SHA256 2fd52e7e5ee372983eb6b0a7f04765cb0df6f8c1f3420081d9f7761acfc75682 SHA512 c2930d0ff1dfb7dc23e07be7141cd50c4fa023f32fc3653745b4f5031460c6fe5acfc955c0af5b3bf9505d7958b0d1e301eefd0a894bd02bb4c3f966f54332db WHIRLPOOL 818bba837ed7e63609c1067e94f3281a9d9ef2049ba1792a010372cb544e6ead8bab0ec1906f083e8fa27f8ae8145c1cf7a4772cf3952caccf5bbd2a2c1026be
|
||||
|
@ -1,177 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/lyx/lyx-2.0.6.ebuild,v 1.11 2013/08/11 13:42:25 aballier Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
PYTHON_DEPEND="2"
|
||||
|
||||
inherit gnome2-utils qt4-r2 eutils flag-o-matic font python toolchain-funcs
|
||||
|
||||
MY_P="${P/_}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
FONT_S="${S}/lib/fonts"
|
||||
FONT_SUFFIX="ttf"
|
||||
DESCRIPTION="WYSIWYM frontend for LaTeX, DocBook, etc."
|
||||
HOMEPAGE="http://www.lyx.org/"
|
||||
SRC_URI="ftp://ftp.lyx.org/pub/lyx/stable/2.0.x/${P}.tar.xz"
|
||||
#SRC_URI="ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.0/rc3/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x64-macos ~x86-macos"
|
||||
IUSE="cups debug nls +latex monolithic-build html rtf dot docbook dia subversion rcs svg gnumeric +hunspell aspell enchant"
|
||||
|
||||
LANGS="ar ca cs de da el en es eu fi fr gl he hu ia id it ja nb nn pl pt ro ru sk sr sv tr uk zh_CN zh_TW"
|
||||
|
||||
for X in ${LANGS}; do
|
||||
IUSE="${IUSE} linguas_${X}"
|
||||
done
|
||||
|
||||
COMMONDEPEND="dev-qt/qtgui:4
|
||||
dev-qt/qtcore:4
|
||||
>=dev-libs/boost-1.34"
|
||||
|
||||
RDEPEND="${COMMONDEPEND}
|
||||
dev-texlive/texlive-fontsextra
|
||||
|| ( media-gfx/imagemagick[png] media-gfx/graphicsmagick[png] )
|
||||
cups? ( net-print/cups )
|
||||
latex? (
|
||||
app-text/texlive
|
||||
app-text/ghostscript-gpl
|
||||
app-text/noweb
|
||||
app-text/dvipng
|
||||
dev-tex/dvipost
|
||||
dev-tex/chktex
|
||||
app-text/ps2eps
|
||||
dev-texlive/texlive-latexextra
|
||||
dev-texlive/texlive-pictures
|
||||
dev-texlive/texlive-science
|
||||
dev-texlive/texlive-genericextra
|
||||
dev-texlive/texlive-fontsrecommended
|
||||
|| (
|
||||
dev-tex/latex2html
|
||||
dev-tex/tth
|
||||
dev-tex/hevea
|
||||
dev-tex/tex4ht
|
||||
)
|
||||
)
|
||||
html? ( dev-tex/html2latex )
|
||||
rtf? (
|
||||
dev-tex/latex2rtf
|
||||
app-text/unrtf
|
||||
dev-tex/html2latex
|
||||
)
|
||||
linguas_he? ( dev-tex/culmus-latex )
|
||||
docbook? ( app-text/sgmltools-lite )
|
||||
dot? ( media-gfx/graphviz )
|
||||
dia? ( app-office/dia )
|
||||
subversion? ( <dev-vcs/subversion-1.7.0 )
|
||||
rcs? ( dev-vcs/rcs )
|
||||
svg? ( || ( media-gfx/imagemagick[svg] media-gfx/graphicsmagick[svg] )
|
||||
|| ( gnome-base/librsvg media-gfx/inkscape )
|
||||
)
|
||||
gnumeric? ( app-office/gnumeric )
|
||||
hunspell? ( app-text/hunspell )
|
||||
aspell? ( app-text/aspell )
|
||||
enchant? ( app-text/enchant )"
|
||||
|
||||
DEPEND="${COMMONDEPEND}
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
font_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/2.0-python.patch
|
||||
echo "#!/bin/sh" > config/py-compile
|
||||
sed "s:python -tt:$(PYTHON) -tt:g" -i lib/configure.py || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export CXX
|
||||
#bug 221921
|
||||
export VARTEXFONTS=${T}/fonts
|
||||
|
||||
econf \
|
||||
$(use_enable nls) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable monolithic-build) \
|
||||
$(use_with hunspell) \
|
||||
$(use_with aspell) \
|
||||
$(use_with enchant) \
|
||||
--without-included-boost \
|
||||
--disable-stdlib-debug \
|
||||
--with-packaging=posix
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
|
||||
dodoc ANNOUNCE NEWS README RELEASE-NOTES UPGRADING "${FONT_S}"/*.txt || die
|
||||
|
||||
if use linguas_he ; then
|
||||
echo "\bind_file cua" > "${T}"/hebrew.bind
|
||||
echo "\bind \"F12\" \"language hebrew\"" >> "${T}"/hebrew.bind
|
||||
|
||||
insinto /usr/share/lyx/bind
|
||||
doins "${T}"/hebrew.bind || die
|
||||
fi
|
||||
|
||||
newicon -s 32 "${S}/development/Win32/packaging/icons/lyx_32x32.png" ${PN}.png
|
||||
doicon -s 48 "${S}/lib/images/lyx.png"
|
||||
doicon -s scalable "${S}/lib/images/lyx.svg"
|
||||
make_desktop_entry ${PN} "LyX" "${PN}" "Office" "MimeType=application/x-lyx;"
|
||||
|
||||
# fix for bug 91108
|
||||
if use latex ; then
|
||||
dosym ../../../lyx/tex /usr/share/texmf-site/tex/latex/lyx || die
|
||||
fi
|
||||
|
||||
# fonts needed for proper math display, see also bug #15629
|
||||
font_src_install
|
||||
|
||||
python_convert_shebangs -r 2 "${ED}"/usr/share/${PN}
|
||||
|
||||
if use hunspell ; then
|
||||
dosym /usr/share/myspell /usr/share/lyx/dicts
|
||||
dosym /usr/share/myspell /usr/share/lyx/thes
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
font_pkg_postinst
|
||||
gnome2_icon_cache_update
|
||||
|
||||
# fix for bug 91108
|
||||
if use latex ; then
|
||||
texhash
|
||||
fi
|
||||
|
||||
# instructions for RTL support. See also bug 168331.
|
||||
if use linguas_he || use linguas_ar; then
|
||||
elog
|
||||
elog "Enabling RTL support in LyX:"
|
||||
elog "If you intend to use a RTL language (such as Hebrew or Arabic)"
|
||||
elog "You must enable RTL support in LyX. To do so start LyX and go to"
|
||||
elog "Tools->Preferences->Language settings->Language"
|
||||
elog "and make sure the \"Right-to-left language support\" is checked"
|
||||
elog
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
|
||||
if use latex ; then
|
||||
texhash
|
||||
fi
|
||||
}
|
@ -1,179 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/lyx/lyx-2.0.7.1-r2.ebuild,v 1.5 2014/08/02 17:59:04 armin76 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
inherit gnome2-utils eutils fdo-mime flag-o-matic font python-single-r1 toolchain-funcs
|
||||
|
||||
MY_P="${P/_}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
FONT_S="${S}/lib/fonts"
|
||||
FONT_SUFFIX="ttf"
|
||||
DESCRIPTION="WYSIWYM frontend for LaTeX, DocBook, etc."
|
||||
HOMEPAGE="http://www.lyx.org/"
|
||||
SRC_URI="ftp://ftp.lyx.org/pub/lyx/stable/2.0.x/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 hppa ia64 ~ppc ~ppc64 sparc x86 ~x64-macos ~x86-macos"
|
||||
IUSE="cups debug nls +latex monolithic-build html rtf dot docbook dia subversion rcs svg gnumeric +hunspell aspell enchant"
|
||||
|
||||
LANGS="ar ca cs de da el en es eu fi fr gl he hu ia id it ja nb nn pl pt ro ru sk sr sv tr uk zh_CN zh_TW"
|
||||
|
||||
for X in ${LANGS}; do
|
||||
IUSE="${IUSE} linguas_${X}"
|
||||
done
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DOCS=( ANNOUNCE NEWS README RELEASE-NOTES UPGRADING )
|
||||
|
||||
COMMONDEPEND="dev-qt/qtgui:4
|
||||
dev-qt/qtcore:4
|
||||
>=dev-libs/boost-1.34
|
||||
${PYTHON_DEPS}"
|
||||
|
||||
RDEPEND="${COMMONDEPEND}
|
||||
dev-texlive/texlive-fontsextra
|
||||
|| ( media-gfx/imagemagick[png] media-gfx/graphicsmagick[png] )
|
||||
cups? ( net-print/cups )
|
||||
latex? (
|
||||
app-text/texlive
|
||||
app-text/ghostscript-gpl
|
||||
app-text/noweb
|
||||
app-text/dvipng
|
||||
dev-tex/dvipost
|
||||
dev-tex/chktex
|
||||
app-text/ps2eps
|
||||
dev-texlive/texlive-latexextra
|
||||
dev-texlive/texlive-pictures
|
||||
dev-texlive/texlive-science
|
||||
dev-texlive/texlive-genericextra
|
||||
dev-texlive/texlive-fontsrecommended
|
||||
|| (
|
||||
dev-tex/latex2html
|
||||
dev-tex/tth
|
||||
dev-tex/hevea
|
||||
dev-tex/tex4ht[java]
|
||||
)
|
||||
)
|
||||
html? ( dev-tex/html2latex )
|
||||
rtf? (
|
||||
dev-tex/latex2rtf
|
||||
app-text/unrtf
|
||||
dev-tex/html2latex
|
||||
)
|
||||
linguas_he? ( dev-tex/culmus-latex )
|
||||
docbook? ( app-text/sgmltools-lite )
|
||||
dot? ( media-gfx/graphviz )
|
||||
dia? ( app-office/dia )
|
||||
subversion? ( <dev-vcs/subversion-1.7.0 )
|
||||
rcs? ( dev-vcs/rcs )
|
||||
svg? ( || ( media-gfx/imagemagick[svg] media-gfx/graphicsmagick[svg] )
|
||||
|| ( gnome-base/librsvg media-gfx/inkscape )
|
||||
)
|
||||
gnumeric? ( app-office/gnumeric )
|
||||
hunspell? ( app-text/hunspell )
|
||||
aspell? ( app-text/aspell )
|
||||
enchant? ( app-text/enchant )"
|
||||
|
||||
DEPEND="${COMMONDEPEND}
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
font_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/2.0-python.patch
|
||||
sed "s:python -tt:${EPYTHON} -tt:g" -i lib/configure.py || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export CXX
|
||||
#bug 221921
|
||||
export VARTEXFONTS=${T}/fonts
|
||||
|
||||
econf \
|
||||
$(use_enable nls) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable monolithic-build) \
|
||||
$(use_with hunspell) \
|
||||
$(use_with aspell) \
|
||||
$(use_with enchant) \
|
||||
--without-included-boost \
|
||||
--disable-stdlib-debug \
|
||||
--with-packaging=posix
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use linguas_he ; then
|
||||
echo "\bind_file cua" > "${T}"/hebrew.bind
|
||||
echo "\bind \"F12\" \"language hebrew\"" >> "${T}"/hebrew.bind
|
||||
|
||||
insinto /usr/share/lyx/bind
|
||||
doins "${T}"/hebrew.bind || die
|
||||
fi
|
||||
|
||||
newicon -s 32 "${S}/development/Win32/packaging/icons/lyx_32x32.png" ${PN}.png
|
||||
doicon -s 48 "${S}/lib/images/lyx.png"
|
||||
doicon -s scalable "${S}/lib/images/lyx.svg"
|
||||
make_desktop_entry ${PN} "LyX" "${PN}" "Office" "MimeType=application/x-lyx;"
|
||||
|
||||
# fix for bug 91108
|
||||
if use latex ; then
|
||||
dosym ../../../lyx/tex /usr/share/texmf-site/tex/latex/lyx || die
|
||||
fi
|
||||
|
||||
# fonts needed for proper math display, see also bug #15629
|
||||
font_src_install
|
||||
|
||||
python_fix_shebang "${ED}"/usr/share/${PN}
|
||||
|
||||
if use hunspell ; then
|
||||
dosym /usr/share/myspell /usr/share/lyx/dicts
|
||||
dosym /usr/share/myspell /usr/share/lyx/thes
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
font_pkg_postinst
|
||||
gnome2_icon_cache_update
|
||||
fdo-mime_desktop_database_update
|
||||
|
||||
# fix for bug 91108
|
||||
if use latex ; then
|
||||
texhash
|
||||
fi
|
||||
|
||||
# instructions for RTL support. See also bug 168331.
|
||||
if use linguas_he || use linguas_ar; then
|
||||
elog
|
||||
elog "Enabling RTL support in LyX:"
|
||||
elog "If you intend to use a RTL language (such as Hebrew or Arabic)"
|
||||
elog "You must enable RTL support in LyX. To do so start LyX and go to"
|
||||
elog "Tools->Preferences->Language settings->Language"
|
||||
elog "and make sure the \"Right-to-left language support\" is checked"
|
||||
elog
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
fdo-mime_desktop_database_update
|
||||
|
||||
if use latex ; then
|
||||
texhash
|
||||
fi
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue