parent
8011b3eea7
commit
7dbc7b5263
@ -1,2 +1,3 @@
|
||||
DIST gnupg-1.4.18.tar.bz2 3649557 SHA256 b7b5fdda78849955e0cdbc5a085f3a08f8b7fba126c622085debb62def5d6388 SHA512 f9619ede8e0d2844774e07fb42359444c5ab8e15565a87f419f76cc3d781940c564f35f429131686fdd7559c5c2edb49506b3c0a1feecbd95438743075be3e63 WHIRLPOOL 780876be0603fd0605b192721e2bbb770ad67d98acba8ef0fd769ab3241467696da5f49a189d89600d076691bf2cedb1294ffade5c44f6d24512d6a93a6f8981
|
||||
DIST gnupg-2.0.25.tar.bz2 4301689 SHA256 b3abe97df096cf53d6a422ac922f3c48e688bc892b7ccf669b92f0b7fc6c5823 SHA512 8b80c86ec53ed3b82d15a8e316baf175691e06e1bcac28d66c61fd37d07e26196a7ee7855e6eb958c301cee764866cc3cf00e5ec0aef23abddf7427bb3d23fb1 WHIRLPOOL 786f3db3af0c96249e128ce3a30dee7e9fbec38d75ed29138f0dfdcbe4f4377c39d4152844087cec0147921eed73c1a01382b542c6a27e86e8bd9265f67e65e2
|
||||
DIST gnupg-2.1.0-beta751.tar.bz2 3078612 SHA256 5abd2bc02365ba3007ed484a256651341a87a1f2a03970bac4015809de09ade5 SHA512 230a2e37eea401465017053e3c5e47187a5963f06dc5528c9a3ff6c76ee9e2ff857cb9e4ddf0b72d8d79eadb50834858f5340c02625279c403f30ed709da4869 WHIRLPOOL ccf8426c4f11df69dc3ee96bb4444df1479228f2b1ed2a7da98fc0000f9a5b8c7d82624a36e9de78e5b87bf4296c6ca17c3351f29e1752b58ae73433b1b7d9ee
|
||||
|
@ -0,0 +1,161 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/gnupg-2.1.0_beta751.ebuild,v 1.2 2014/07/25 03:53:22 zx2c4 Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="The GNU Privacy Guard, a GPL pgp replacement"
|
||||
HOMEPAGE="http://www.gnupg.org/"
|
||||
MY_P="${P/_/-}"
|
||||
#SRC_URI="mirror://gnupg/gnupg/${PN}/unstable/${MY_P}.tar.bz2"
|
||||
SRC_URI="ftp://ftp.gnupg.org/gcrypt/${PN}/unstable/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE="adns bzip2 doc nls readline static selinux smartcard usb"
|
||||
|
||||
COMMON_DEPEND_LIBS="
|
||||
dev-libs/npth
|
||||
>=dev-libs/libassuan-2
|
||||
>=dev-libs/libgcrypt-1.6.1
|
||||
>=dev-libs/libgpg-error-1.13
|
||||
>=dev-libs/libksba-1.0.7
|
||||
>=net-misc/curl-7.10
|
||||
sys-libs/zlib
|
||||
adns? ( >=net-libs/adns-1.4 )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
readline? ( sys-libs/readline )
|
||||
smartcard? ( usb? ( virtual/libusb:0 ) )
|
||||
"
|
||||
COMMON_DEPEND_BINS="|| ( app-crypt/pinentry app-crypt/pinentry-qt )"
|
||||
|
||||
# Existence of executables is checked during configuration.
|
||||
DEPEND="${COMMON_DEPEND_LIBS}
|
||||
${COMMON_DEPEND_BINS}
|
||||
static? (
|
||||
>=dev-libs/libassuan-2[static-libs]
|
||||
>=dev-libs/libgcrypt-1.4[static-libs]
|
||||
>=dev-libs/libgpg-error-1.7[static-libs]
|
||||
>=dev-libs/libksba-1.0.7[static-libs]
|
||||
>=dev-libs/pth-1.3.7[static-libs]
|
||||
>=net-misc/curl-7.10[static-libs]
|
||||
sys-libs/zlib[static-libs]
|
||||
bzip2? ( app-arch/bzip2[static-libs] )
|
||||
)
|
||||
nls? ( sys-devel/gettext )
|
||||
doc? ( sys-apps/texinfo )"
|
||||
|
||||
RDEPEND="!static? ( ${COMMON_DEPEND_LIBS} )
|
||||
${COMMON_DEPEND_BINS}
|
||||
!<=app-crypt/gnupg-2.0.1
|
||||
selinux? ( sec-policy/selinux-gpg )
|
||||
nls? ( virtual/libintl )"
|
||||
|
||||
REQUIRED_USE="smartcard? ( !static )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-2.0.17-gpgsm-gencert.patch"
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=()
|
||||
|
||||
# 'USE=static' support was requested:
|
||||
# gnupg1: bug #29299
|
||||
# gnupg2: bug #159623
|
||||
use static && append-ldflags -static
|
||||
|
||||
if use smartcard; then
|
||||
myconf+=(
|
||||
--enable-scdaemon
|
||||
$(use_enable usb ccid-driver)
|
||||
)
|
||||
else
|
||||
myconf+=( --disable-scdaemon )
|
||||
fi
|
||||
|
||||
if use elibc_SunOS || use elibc_AIX; then
|
||||
myconf+=( --disable-symcryptrun )
|
||||
else
|
||||
myconf+=( --enable-symcryptrun )
|
||||
fi
|
||||
|
||||
econf \
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
--enable-gpg \
|
||||
--enable-gpgsm \
|
||||
--enable-agent \
|
||||
"${myconf[@]}" \
|
||||
$(use_with adns) \
|
||||
$(use_enable bzip2) \
|
||||
$(use_enable nls) \
|
||||
$(use_with readline) \
|
||||
CC_FOR_BUILD="$(tc-getBUILD_CC)"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if use doc; then
|
||||
cd doc
|
||||
emake html
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# bug#192151
|
||||
dobin tools/gpgsplit tools/gpg-zip
|
||||
|
||||
emake DESTDIR="${D}" -f doc/Makefile uninstall-nobase_dist_docDATA
|
||||
rm "${ED}"/usr/share/gnupg/help* || die
|
||||
|
||||
dodoc ChangeLog NEWS README THANKS TODO VERSION doc/FAQ doc/DETAILS \
|
||||
doc/HACKING doc/TRANSLATE doc/OpenPGP doc/KEYSERVER doc/help*
|
||||
|
||||
dosym gpg2 /usr/bin/gpg
|
||||
dosym gpgv2 /usr/bin/gpgv
|
||||
dosym gpg2keys_hkp /usr/libexec/gpgkeys_hkp
|
||||
dosym gpg2keys_finger /usr/libexec/gpgkeys_finger
|
||||
dosym gpg2keys_curl /usr/libexec/gpgkeys_curl
|
||||
echo ".so man1/gpg2.1" > "${ED}"/usr/share/man/man1/gpg.1
|
||||
echo ".so man1/gpgv2.1" > "${ED}"/usr/share/man/man1/gpgv.1
|
||||
|
||||
dodir /etc/env.d
|
||||
echo "CONFIG_PROTECT=/usr/share/gnupg/qualified.txt" >> "${ED}"/etc/env.d/30gnupg
|
||||
|
||||
if use doc; then
|
||||
dohtml doc/gnupg.html/* doc/*.png
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
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"
|
||||
elog "the right viewer."
|
||||
elog
|
||||
|
||||
if use smartcard; then
|
||||
elog "To use your OpenPGP smartcard (or token) with GnuPG you need one of"
|
||||
use usb && elog " - a CCID-compatible reader, used directly through libusb;"
|
||||
elog " - sys-apps/pcsc-lite and a compatible reader device;"
|
||||
elog " - dev-libs/openct and a compatible reader device;"
|
||||
elog " - a reader device and drivers exporting either PC/SC or CT-API interfaces."
|
||||
elog ""
|
||||
elog "General hint: you probably want to try installing sys-apps/pcsc-lite and"
|
||||
elog "app-crypt/ccid first."
|
||||
fi
|
||||
|
||||
ewarn "Please remember to restart gpg-agent if a different version"
|
||||
ewarn "of the agent is currently used. If you are unsure of the gpg"
|
||||
ewarn "agent you are using please run 'killall gpg-agent',"
|
||||
ewarn "and to start a fresh daemon just run 'gpg-agent --daemon'."
|
||||
}
|
@ -1,5 +1,2 @@
|
||||
DIST geierlein-0.4.1.tar.gz 805387 SHA256 8f036ce307d4693827b3ccfc3634da37f7841ba2efada74a2b8ccdff4d26cc95 SHA512 2844b1fe4b219936a028cb53d16638487629a49545c15467391c85eb23dd4924ef1ddd52f79ded82eb1cdf0551cff507ac122b4448ccdb3c49249577b5011c6c WHIRLPOOL bb18cebc35b8e6c78a65976c63cdb781dd840ebc539ccbb792bd05394761f6dae2d065a15851b4a760f2ff26f6312cbc12afbfd848a1e296ef93db6b493e924c
|
||||
DIST geierlein-0.4.2.tar.gz 804902 SHA256 3df2b8c9f708cfc6e2d490c22c283a99b12add86fe529ab826a896f66bd5fc9b SHA512 963d42e3a5344fc1681adeea6b92fed8d623b8c80d2c317f0eecddcd1edcbfe3b94bb7f1f62e2f97039a52e69bb8b3a9cfdd370682d1bc22a9ea8889debaae21 WHIRLPOOL b180ff0999fb7a9faa04e0a31772541d8d4dd397542b173e7ea0b512f2e37dc7425f93a84ad7dc6261e7a415cfe845328950a5aa888a51e83014005acd40cec1
|
||||
DIST geierlein-0.5.1.tar.gz 817701 SHA256 2811e034ca1d2f9c224c0505baec87802fce65cb0baa75f4fc82d2941762a744 SHA512 2ebc6ef9df246cc9578eda5f2d49f95ebd7a557f84465a8f9ce6955c606e5de32ee6f24eb0be85ab543d2cbdebeba7dc9975f049ca48d4006e945ba4dd6a4f33 WHIRLPOOL 9f02fcdba320d52fc9f286d836d6ec8b9786a727895d9d93286dd9fa3c6cbc23fcb5e5db8881230370c80d4ef474bf61630fff4f51f3cc65bd27d4fd01713fed
|
||||
DIST geierlein-0.6.0.tar.gz 994928 SHA256 c795111bea6e472978fee2718908af889e6d76d0eec233ba0dd5ff342377812d SHA512 ed58366394d5f19fdf1202718c9d1ff44fd3ce87179fc3127f5595d47086fae10ddaefb69afb5aeea5f7adccb6a336d4ffb4a8a69ae8172572d593a54e81fd25 WHIRLPOOL 7b324db744b54b784db4470cd39179dc965228148aa121cd38da9a6cd8f67003ba990e88e729dc344842706b4b88ada5c516a40750dc629659d09abe0f8e3d86
|
||||
DIST geierlein-0.6.1.tar.gz 994969 SHA256 f7f66b3c4fba41b071cc5c7339ec76854d12e515f45be185f83a84e2ab015474 SHA512 6810baed24999c069922488fd2efa6b0095174621088f48245927b8a3a89dd6a683db76016649ba143e3cc0cff29ff3699c3afa12a00fce067ddcab61197bfe3 WHIRLPOOL 3b1358f2c71bf337179a0dee4259e3358d963be832ec9d8e4e4d328530cf729478543a990351a1b98eb58e3c885c4d3c46515ce86cdd843c0af340109613be7c
|
||||
DIST geierlein-0.6.2.tar.gz 994962 SHA256 1a247c95122758f86fdebd5b3f55bcdd9c6c04cdf58d33eb874c9cc4cc7dc731 SHA512 3eacf273d85fb23bd763cea9db0e09fecbf410b6e75eec30fd0a44df68a43d478e1555b6f64468b4a3acf26bc6cb5a9c67f7a39ed30ef3a42255ff740a883c5c WHIRLPOOL acb5375d03547be8a49e58f71011c485c88cc65b640a16d630a5fc773056744b53ff38766dddc91d2bc86f198c85f647a3b39b7adcbc05dfe2edb84d8760f21c
|
||||
|
@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/geierlein/geierlein-0.4.1.ebuild,v 1.1 2012/12/18 22:15:30 hanno Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Submit tax forms (Umsatzsteuervoranmeldung) to the german digital tax project ELSTER."
|
||||
HOMEPAGE="http://stesie.github.com/geierlein/"
|
||||
SRC_URI="https://github.com/stesie/geierlein/archive/V0.4.1.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
RDEPEND="www-client/firefox"
|
||||
DEPEND=""
|
||||
|
||||
# needs nodejs and a couple of modules we don't have packaged
|
||||
RESTRICT="test"
|
||||
|
||||
src_compile() {
|
||||
emake prefix=/usr
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
prefix=/usr \
|
||||
install || die
|
||||
dodoc README.md
|
||||
}
|
@ -1,30 +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/geierlein/geierlein-0.4.2.ebuild,v 1.1 2013/01/13 23:15:29 hanno Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="Submit tax forms (Umsatzsteuervoranmeldung) to the german digital tax project ELSTER."
|
||||
HOMEPAGE="http://stesie.github.com/geierlein/"
|
||||
SRC_URI="https://github.com/stesie/geierlein/archive/V${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
RDEPEND="www-client/firefox"
|
||||
DEPEND=""
|
||||
|
||||
# needs nodejs and a couple of modules we don't have packaged
|
||||
RESTRICT="test"
|
||||
|
||||
src_compile() {
|
||||
emake prefix=/usr
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
prefix=/usr \
|
||||
install || die
|
||||
dodoc README.md
|
||||
}
|
@ -1,30 +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/geierlein/geierlein-0.5.1.ebuild,v 1.1 2013/07/02 21:03:28 hanno Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="Submit tax forms (Umsatzsteuervoranmeldung) to the german digital tax project ELSTER."
|
||||
HOMEPAGE="http://stesie.github.com/geierlein/"
|
||||
SRC_URI="https://github.com/stesie/geierlein/archive/V${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
RDEPEND="www-client/firefox"
|
||||
DEPEND=""
|
||||
|
||||
# needs nodejs and a couple of modules we don't have packaged
|
||||
RESTRICT="test"
|
||||
|
||||
src_compile() {
|
||||
emake prefix=/usr
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
prefix=/usr \
|
||||
install || die
|
||||
dodoc README.md
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/geierlein/geierlein-0.6.0.ebuild,v 1.1 2013/09/29 19:29:45 hanno Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/geierlein/geierlein-0.6.2.ebuild,v 1.1 2014/07/24 17:54:55 hanno Exp $
|
||||
|
||||
EAPI=5
|
||||
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/elogviewer/elogviewer-0.6.2-r3.ebuild,v 1.1 2014/07/24 16:00:50 fuzzyray Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit eutils python-r1
|
||||
|
||||
DESCRIPTION="GTK+ based utility to parse the contents of elogs created by Portage"
|
||||
HOMEPAGE="http://sourceforge.net/projects/elogviewer/"
|
||||
|
||||
SRC_URI="mirror://sourceforge/elogviewer/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=">=sys-apps/portage-2.1
|
||||
>=dev-python/pygtk-2.0"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_prepare() {
|
||||
# Apply patch from Bug 349071 to restore missing newline
|
||||
epatch "${FILESDIR}/${P}-missing_newline.patch"
|
||||
# Fix bug #453016
|
||||
sed -e 's|is not ""|!= ""|' -i elogviewer || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_foreach_impl python_doscript "${WORKDIR}"/elogviewer
|
||||
dodoc "${WORKDIR}"/CHANGELOG
|
||||
doman "${WORKDIR}"/elogviewer.1
|
||||
make_desktop_entry elogviewer Elogviewer "" "System" ||
|
||||
die "Couldn't make desktop entry"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "In order to use this software, you need to activate"
|
||||
elog "Portage's elog features. Required is"
|
||||
elog " PORTAGE_ELOG_SYSTEM=\"save\" "
|
||||
elog "and at least one out of "
|
||||
elog " PORTAGE_ELOG_CLASSES=\"warn error info log qa\""
|
||||
elog "More information on the elog system can be found"
|
||||
elog "in /etc/make.conf.example"
|
||||
elog
|
||||
elog "To operate properly this software needs the directory"
|
||||
elog "${PORT_LOGDIR:-/var/log/portage}/elog created, belonging to group portage."
|
||||
elog "To start the software as a user, add yourself to the portage"
|
||||
elog "group."
|
||||
elog
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST layman-2.0.0.tar.gz 81184 SHA256 5843035ae4cc069693c05cf9821dae3d89d3ea7e2115b8137ea5a4a6c2807f33 SHA512 30756464d71ab1e047036550b6500d7e57999d808ebe3efba1d1ae6c037f8ca777ba704a4981d75a90285133635027a7bc13f1890f34823de33ae991ed99e2da WHIRLPOOL ec362189c4757ee032dc93e079ea0f5b291d5652231a84f1175fb308ca5622882d5008f23fd6a3d5143ff0dc98c91632d19c2e6604dcaa9b6a550bc902d79c1a
|
||||
DIST layman-2.1.0.tar.gz 94150 SHA256 cb96306c84da1d49ff54a31f7511c62c859565361bd59164516cd2812c439987 SHA512 1fa21392157c811c7751b8e3a11b858308c48720e377871bdd5afc525ebb50a92772064aa1148a4c20e3019f77b676ff65552439a71361d498952e362398c67f WHIRLPOOL 77643bedb4167eb371357444328d439c8b433cfc22a8bf9e39693feb68b701ec158064db8d22da0e6eb5260f27d5604d8b252a67930b38d8bed5921822f71c29
|
||||
|
@ -0,0 +1,71 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/layman/layman-2.1.0.ebuild,v 1.1 2014/07/24 19:01:48 twitch153 Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
|
||||
PYTHON_REQ_USE="xml(+)"
|
||||
|
||||
inherit eutils distutils-r1 prefix
|
||||
|
||||
DESCRIPTION="Tool to manage Gentoo overlays"
|
||||
HOMEPAGE="http://layman.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~s390 ~sh ~x86 ~ppc-aix ~x86-fbsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="bazaar cvs darcs +git mercurial subversion test"
|
||||
|
||||
DEPEND="test? ( dev-vcs/subversion )
|
||||
app-text/asciidoc"
|
||||
|
||||
RDEPEND="
|
||||
bazaar? ( dev-vcs/bzr )
|
||||
cvs? ( dev-vcs/cvs )
|
||||
darcs? ( dev-vcs/darcs )
|
||||
git? ( dev-vcs/git )
|
||||
mercurial? ( dev-vcs/mercurial )
|
||||
subversion? (
|
||||
|| (
|
||||
>=dev-vcs/subversion-1.5.4[http]
|
||||
>=dev-vcs/subversion-1.5.4[webdav-neon]
|
||||
>=dev-vcs/subversion-1.5.4[webdav-serf]
|
||||
)
|
||||
)
|
||||
sys-apps/portage[${PYTHON_USEDEP}]
|
||||
>=dev-python/ssl-fetch-0.2[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
python_prepare_all() {
|
||||
distutils-r1_python_prepare_all
|
||||
eprefixify etc/layman.cfg layman/config.py
|
||||
}
|
||||
|
||||
python_test() {
|
||||
for suite in layman/tests/{dtest,external}.py ; do
|
||||
PYTHONPATH="." "${PYTHON}" ${suite} \
|
||||
|| die "test suite '${suite}' failed"
|
||||
done
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
insinto /etc/layman
|
||||
doins etc/layman.cfg
|
||||
|
||||
doman doc/layman.8
|
||||
dohtml doc/layman.8.html
|
||||
|
||||
keepdir /var/lib/layman
|
||||
keepdir /etc/layman/overlays
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# now run layman's update utility
|
||||
einfo "Running layman-updater..."
|
||||
"${EROOT}"/usr/bin/layman-updater
|
||||
einfo
|
||||
}
|
@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/angelscript/angelscript-2.29.1.ebuild,v 1.1 2014/07/24 20:12:56 hasufell Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit toolchain-funcs multilib-minimal
|
||||
|
||||
DESCRIPTION="A flexible, cross-platform scripting library"
|
||||
HOMEPAGE="http://www.angelcode.com/angelscript/"
|
||||
SRC_URI="http://www.angelcode.com/angelscript/sdk/files/angelscript_${PV}.zip"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc static-libs"
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
|
||||
S=${WORKDIR}/sdk
|
||||
S2=${WORKDIR}/sdk_static
|
||||
|
||||
pkg_setup() {
|
||||
tc-export CXX AR RANLIB
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if use static-libs ; then
|
||||
cp -pR "${WORKDIR}"/sdk "${S2}"/ || die
|
||||
fi
|
||||
epatch "${FILESDIR}"/${P}-execstack.patch
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
einfo "Shared build"
|
||||
emake -C ${PN}/projects/gnuc SHARED=1 VERSION=${PV}
|
||||
|
||||
if use static-libs ; then
|
||||
einfo "Static build"
|
||||
emake -C ${PN}/projects/gnuc
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
doheader ${PN}/include/angelscript.h
|
||||
dolib.so ${PN}/lib/libangelscript-${PV}.so
|
||||
dosym libangelscript-${PV}.so /usr/$(get_libdir)/libangelscript.so
|
||||
|
||||
if use static-libs ; then
|
||||
dolib.a ${PN}/lib/libangelscript.a
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
use doc && dohtml -r "${WORKDIR}"/sdk/docs/*
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
From: Julian Ospald <hasufell@gentoo.org>
|
||||
Date: Sun Mar 23 13:45:39 UTC 2014
|
||||
Subject: fix RWX sections
|
||||
|
||||
--- a/sdk/angelscript/source/as_callfunc_arm_gcc.S
|
||||
+++ b/sdk/angelscript/source/as_callfunc_arm_gcc.S
|
||||
@@ -696,3 +696,6 @@
|
||||
|
||||
#endif /* arm */
|
||||
|
||||
+#if defined(__linux__) && defined(__ELF__)
|
||||
+.section .note.GNU-stack,"",%progbits
|
||||
+#endif
|
@ -0,0 +1 @@
|
||||
DIST npth-0.91.tar.bz2 299702 SHA256 caef86ced4a331e162897818a5b924860c8d6003e52da5bdf76da00e8e0dfae1 SHA512 728ae7d5dadb253f0ca77fea455f81eed5fa437c6a85d3846d0bb00efd105a433d046a7b64df51f5de5f5535d983ac95d9f9f217b0c1b8b6321e6640eed71f83 WHIRLPOOL af61b2bda371eed6a6a6f4295532bf60f8e5cd0aeb8172c90b0630de6f364d816f6a7e05f0be134d39f5ad52990987f43d1a1ef8a5372a8cd8f8d3e9adc5c47c
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>crypto</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,17 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/npth/npth-0.91.ebuild,v 1.1 2014/07/25 03:11:15 zx2c4 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="New GNU Portable Threads Library"
|
||||
HOMEPAGE="http://thread.gmane.org/gmane.comp.encryption.gpg.announce/179"
|
||||
SRC_URI="ftp://ftp.gnupg.org/gcrypt/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/jedi/jedi-0.8.1.ebuild,v 1.1 2014/07/24 20:19:41 hasufell Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_2 python3_3 )
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PV="${PV/_beta/b}-final0"
|
||||
|
||||
DESCRIPTION="Awesome autocompletion library for python"
|
||||
HOMEPAGE="https://github.com/davidhalter/jedi"
|
||||
SRC_URI="mirror://pypi/j/jedi/jedi-${MY_PV}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc test"
|
||||
|
||||
DEPEND="app-arch/xz-utils
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx )
|
||||
test? (
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/tox[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
S=${WORKDIR}/${PN}-${MY_PV}
|
||||
|
||||
python_test() {
|
||||
PYTHONPATH="${PYTHONPATH%:}${PYTHONPATH+:}${S}/test" py.test test || die "Tests failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if use doc ; then
|
||||
emake -C docs html
|
||||
fi
|
||||
distutils-r1_src_compile
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && dohtml -r "${S}"/docs/_build/html/*
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST pgpdump-1.5.tar.gz 69446 SHA256 1c4700857bf7ba735b08cfe4101aa3a4f5fd839657af249c17b2697c20829668 SHA512 b9fc7f78b920296301acaad2dbbafefff7b5f1658cbb65f5892a28d0b4d5110581bba984ad5cdabde3330025e3828387d7127c689cb86a7163c0b5ac0d0d2de0 WHIRLPOOL 81b3bfc26f89419261d0104d848f584b602f280efa62b078c902224f3c545b757d2864c946adea7800df08ab693b9dd182a9ed43aa617480f9e04865f7372a81
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>python</herd>
|
||||
<maintainer>
|
||||
<email>jlec@gentoo.org</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,18 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pgpdump/pgpdump-1.5.ebuild,v 1.1 2014/07/24 15:05:03 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="PGP packet parser library"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/pgpdump https://github.com/toofishes/python-pgpdump"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
@ -1,2 +1 @@
|
||||
DIST acts_as_list-0.3.0.gem 15360 SHA256 1efb325faab47c5cc2caec6ac13fc062391741d7129169d4f6d6e6b89f29979f SHA512 cac4f9e1c8aae491f0c66c1d871cba18c28e607c1a0c9cc2742946217a3ea7c40fe7bb8d779e672a27642af3a01277ebaf7cffbc9b8c4ce8f2bfdf2641d19708 WHIRLPOOL 34fe416bb72aa0c665eca236911a7e9dc6889a108ab12fa2e5318997d4cf5821eac3d4fc3e5099b67069a6284e14758b078cf51410508fbb084ea20dfd0854ca
|
||||
DIST acts_as_list-0.4.0.gem 16384 SHA256 504aa7ebbcf9dcec2929ac4f94bfb11aae52b6210ad573c07ec1897d8e865276 SHA512 14ac5b48b78a50f69f2c97d2c42e588ec9402499a8169c217b27e0b914a17a2bc58c91610ecb14de02482d0b72a96add9bb86d498d91198788b0738825b054d2 WHIRLPOOL 78d894f12a90bd0d687e27241eab1c3711a05462d2d98bbc4d22341bcc8b9b6b586273daed81eeb95167d3127b6dcec7427e4111c5e0fb2ca449063c8806453d
|
||||
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/acts_as_list/acts_as_list-0.3.0.ebuild,v 1.1 2013/08/22 05:53:11 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="none"
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="init.rb"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
DESCRIPTION="Capabilities for sorting and reordering a number of objects in a list."
|
||||
HOMEPAGE="http://rake.rubyforge.org/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="3"
|
||||
KEYWORDS="~amd64 ~x86 ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/test-unit:2
|
||||
dev-ruby/activerecord[sqlite3]
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
rm Gemfile || die
|
||||
sed -i -e '/[Bb]undler/d' Rakefile || die
|
||||
sed -i -e '1,9d' test/helper.rb || die
|
||||
sed -i -e '/git ls/d' ${RUBY_FAKEGEM_GEMSPEC} || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
ruby-ng_testrb-2 -Ilib test/test_*.rb
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/maruku/maruku-0.7.2-r1.ebuild,v 1.1 2014/07/25 01:53:39 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby19 ruby20 ruby21 jruby"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="docs/div_syntax.md docs/entity_test.md
|
||||
docs/markdown_syntax.md docs/maruku.md docs/math.md docs/other_stuff.md
|
||||
docs/proposal.md"
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="data"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A Markdown-superset interpreter written in Ruby"
|
||||
HOMEPAGE="https://github.com/bhollis/maruku"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
IUSE="highlight test"
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/nokogiri-diff )"
|
||||
ruby_add_rdepend "highlight? ( dev-ruby/syntax )"
|
||||
|
||||
DEPEND+=" test? ( app-text/blahtexml )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/[Ss]imple[Cc]ov/ s:^:#:' spec/spec_helper.rb || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "You need to emerge app-text/texlive and dev-texlive/texlive-latexextra if"
|
||||
elog "you want to use --pdf with Maruku. You may also want to emerge"
|
||||
elog "dev-texlive/texlive-latexrecommended to enable LaTeX syntax highlighting."
|
||||
elog
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/method_source/method_source-0.8.2-r3.ebuild,v 1.1 2014/07/25 01:17:59 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="none"
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README.markdown"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Retrieve the source code for a method"
|
||||
HOMEPAGE="http://github.com/banister/method_source"
|
||||
IUSE=""
|
||||
SLOT="0"
|
||||
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86"
|
||||
|
||||
ruby_add_bdepend "test? ( >=dev-ruby/bacon-1.1.0 )"
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -I. -S bacon -k test/test.rb || die "Tests failed."
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
From 42e7ae47c2dac2d98272ac99239e40bd59398891 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?V=C3=ADt=20Ondruch?= <v.ondruch@tiscali.cz>
|
||||
Date: Tue, 9 Apr 2013 11:12:02 +0300
|
||||
Subject: [PATCH] Fix Ruby 2.0.0 compatibility
|
||||
|
||||
#respond_to? now exclude protected methods.
|
||||
---
|
||||
lib/rack/mount/multimap.rb | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/lib/rack/mount/multimap.rb b/lib/rack/mount/multimap.rb
|
||||
index 6b773e2..b88630b 100644
|
||||
--- a/lib/rack/mount/multimap.rb
|
||||
+++ b/lib/rack/mount/multimap.rb
|
||||
@@ -125,7 +125,7 @@ def update_container(key)
|
||||
end
|
||||
|
||||
def iterate_over_container(container)
|
||||
- if container.respond_to?(:each_container_with_default)
|
||||
+ if container.respond_to?(:each_container_with_default, true)
|
||||
container.each_container_with_default do |value|
|
||||
yield value
|
||||
end
|
||||
--
|
||||
1.9.3
|
||||
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack-mount/rack-mount-0.8.3-r2.ebuild,v 1.1 2014/07/25 03:05:31 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README.rdoc"
|
||||
|
||||
inherit versionator ruby-fakegem
|
||||
|
||||
DESCRIPTION="A stackable dynamic tree based Rack router."
|
||||
HOMEPAGE="https://github.com/josh/rack-mount"
|
||||
SRC_URI="https://github.com/josh/rack-mount/tarball/v${PV} -> ${P}.tgz"
|
||||
RUBY_S="josh-${PN}-*"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/rack-1.0.0"
|
||||
|
||||
RUBY_PATCHES=( ${PN}-fix-ruby20.patch )
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Avoid fragile test depending on hash ordering.
|
||||
sed -i -e '/foo=1&bar=2/ s:^:#:' test/test_utils.rb || die
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdtool/rdtool-0.6.38-r1.ebuild,v 1.1 2014/07/25 03:08:55 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="HISTORY README.*"
|
||||
|
||||
inherit elisp-common ruby-fakegem
|
||||
|
||||
DESCRIPTION="A multipurpose documentation format for Ruby"
|
||||
HOMEPAGE="https://github.com/uwabami/rdtool"
|
||||
|
||||
LICENSE="Ruby GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="emacs"
|
||||
|
||||
RDEPEND="${RDEPEND} emacs? ( virtual/emacs )"
|
||||
|
||||
SITEFILE=50${PN}-gentoo.el
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
if use emacs ; then
|
||||
elisp-install ${PN} utils/rd-mode.el
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/slop/slop-3.5.0-r1.ebuild,v 1.1 2014/07/25 01:14:36 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A simple option parser with an easy to remember syntax and friendly API"
|
||||
HOMEPAGE="https://github.com/injekt/slop"
|
||||
SRC_URI="https://github.com/injekt/${PN}/archive/v${PV}.tar.gz -> ${P}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="3"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86"
|
||||
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/minitest )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/git ls-files/d' slop.gemspec || die
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST crash-6.1.4.tar.gz 26781448 SHA256 e9275d4225b414a1ddf63336cff7160997660d7d382b5ec6c47af993bafbb5a2 SHA512 b9f2e2a84dcf5765422e2aad845c292955455793284b9a8fd32b59836ca220b861645646a3c15b33f29e7bffa4916a692fbcbe02b2274aa0279d21d51605bd4e WHIRLPOOL a2821a8fa95c85eb0023edb37296e023f90d1f173787b50db7206f53ddbddcac1275aabb3a4f9e41e424a5753e8c97adb693dba9ab790a74e5c1c35ae3d11e79
|
||||
DIST crash-7.0.0.tar.gz 32007997 SHA256 3ee1c7c7552a31683bb13881b7ee98fde9b4eea260af44a7a4bd22e5c27c9c2e SHA512 29f59b73a7cd17f6f6473511831d2c8610e2464057e260c1673b52f5e3476bc64bdd0cdcfff36ead16957b98b985dbd19b7d7a6daa29e115eea2e5271c4aeb4f WHIRLPOOL 7b5017789819c6e7cd4f34d81d37944782d1ac099a0439c0557fec08e1f3cb163d069cb618385a980b09f886bf7b49fcc118211d188afb08dea3d8b3ba43b835
|
||||
DIST crash-7.0.3.tar.gz 32020508 SHA256 fdf1ee8d21cae4eaa25f60fde14e1caf259e59dcdb6e1ed4e555f1d73805fab0 SHA512 bff8781589709a161975954abf5dc2fde6f937cbe334bf23aa889d32114eb2337d918c4c3e7b5e26beb437bfa9d6939339941af8542296ab69c8c51245be76ec WHIRLPOOL ad8e03ab78e53c7fc85faaba73cbc24e96c2092d76477ceec2825e99038d055ddf8f6ef803dfc9e28c4bc98f657a51526ebe69f7a27b96e0eb71411fa842225f
|
||||
DIST crash-7.0.7.tar.gz 32041666 SHA256 c473ea9623787bee8fecf2e4d0caa9301a9462c26243e897ad202bf0dc3e9a07 SHA512 51ac33705c8b40117d67797a6f03b78fdaa1be08035f32162816abea906d5193a6fde5f2c826d962047c1ece871ff403e91700c757fe91fd4f940b9bb75c936f WHIRLPOOL c783548368a1acae12b7afa67ff38a9674668205e0345686036df0d0f8fb5a8484b2d7feee96988136f8e13854fe2792aa309b7129bdb574187abc4a629402b4
|
||||
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/crash/crash-7.0.7.ebuild,v 1.1 2014/07/24 20:06:05 hanno Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Red Hat crash utility. Used for analyzing kernel core dumps"
|
||||
HOMEPAGE="http://people.redhat.com/anderson/"
|
||||
SRC_URI="http://people.redhat.com/anderson/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~alpha ~amd64 ~arm ~ia64 ~ppc64 ~s390 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-5.1.1-install-fix.patch
|
||||
}
|
@ -1,6 +1 @@
|
||||
DIST umockdev-0.4.7.tar.xz 717056 SHA256 d6dac2b10fdaaa7a6affd266bb2d902e1235538ec410648e14e26fc88bc56aad SHA512 a026e2d4026807d8bd7c372f1edd86a6ed8db9bef21291eead397b53b10aeff00a2203e2b77a1f48afb9c3963ac11ce9da5c393d554eeaa84fc254d90ffafb93 WHIRLPOOL c869b6ca78d700e1093d73a1dfba5aebade1b3661ced64e42ea9e9a6d48d3e22cb29ada5f8a082388219436e217133585a337271095c447b20a82c7689215962
|
||||
DIST umockdev-0.5.1.tar.xz 718680 SHA256 470688ef58679d4163e690ced8aac9220dacbe46266932704138951c8e8e5c9c SHA512 2adea1a4b84563c2fafe275664f813d30a8a7de0389909fbe409c49a4909cda8b7fedd8a6e10db486c1e8a5aca4a8a2bb40b3ff4d73c0198d6a88c063fedc7a6 WHIRLPOOL 7d7caaf7926a07777fc9a19d6a42b475a06fa6f5d778ce40921c87f1fc3d0667511b840bd587420e5159898d96353ed42732cc2a7b5b2bc3adeac2756c21a6f4
|
||||
DIST umockdev-0.6.tar.xz 720616 SHA256 5af26b5b23cb978681404a577561db349cbf7a2bfa8e412fc3142045b08aec15 SHA512 4408339b7015eada3613074942c5e5537a39cd3d67235dd79e22bebf449a7912202c8ecd24787d08dce9e40c53b38e22764e806528d88b4a5f28b807c24982dc WHIRLPOOL f5dbdd678ee48082bcac784d186426506e3f577affe560852421231ed25121d24623f921b23ce37a91a095c77b4afde0312c9299b9dcbb830ab7dc8bdf270626
|
||||
DIST umockdev-0.7.tar.xz 724648 SHA256 b8f1a0a3873dde81314f1cf5b8dbb61148ce30e026a0c5c56bc961e648a1c2b6 SHA512 b5af71c1e1a5058b351710e3f255d862b78653648fd70eb74625f9c82f3385d75c53402190b61ea62ee79179e120c95ef52cbf9bc142986af096449ab96f7923 WHIRLPOOL 1c2d5d92ed8d99040a92e25f79cac23529f22271b70410fc826e9e7fb9b067c32c897d2103e228533b20d206eff0c3de7273f741847d323e31cad18dc80a7f08
|
||||
DIST umockdev-0.8.1.tar.xz 732800 SHA256 56468bf2b96673db8f902ee1b9f21bc1297b8aad49217e0e321b9af4346e8cf6 SHA512 c6e4962033e07e16f854d54faa37f5edd2f70f62f424353e32e33158bd0255d4bdc6d40ff39679f55ea266946a0d22f15a1b03178bed58b5271f0dc4311888d9 WHIRLPOOL fc05d4ae0434dccda786ef0dc4a90f64ae6bd53630f1f827300491f443e9797339013a6fdcffbb8b436daf6674a522067a8aa8ecba2b483f4f08dd99d9211862
|
||||
DIST umockdev-0.8.2.tar.xz 733196 SHA256 8d7dad9ec6f9105773d1bb57eb844310e7a05ba850c0f28b9b520f848b2a2719 SHA512 a7674abcde7f570d92da4e54bbe7448ffde99515577c05664ea11ed45dcab7345e62b96d42f6e851b8dc5199dfaf7955a54156ae4bc9ffc983a5ccf312755514 WHIRLPOOL 0774f85f09d6e2d03fd500143a0b56a31cbda561e693b46b236d8641f336edc91d05206a36f408911baddce42c9a0aede9a4d6a71830b2e0f17a0859170ba028
|
||||
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/umockdev/umockdev-0.4.7.ebuild,v 1.1 2013/12/02 09:57:30 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
|
||||
|
||||
inherit python-any-r1 autotools-utils
|
||||
|
||||
DESCRIPTION="Mock hardware devices for creating unit tests"
|
||||
HOMEPAGE="https://github.com/martinpitt/umockdev/"
|
||||
SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="static-libs test"
|
||||
|
||||
RDEPEND="virtual/udev[gudev]
|
||||
>=dev-libs/glib-2.32:2"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( ${PYTHON_DEPS} )
|
||||
app-arch/xz-utils
|
||||
virtual/pkgconfig"
|
||||
|
||||
RESTRICT="test"
|
@ -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/dev-util/umockdev/umockdev-0.5.1.ebuild,v 1.1 2014/01/23 00:42:13 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
|
||||
|
||||
inherit python-any-r1 autotools-utils
|
||||
|
||||
DESCRIPTION="Mock hardware devices for creating unit tests"
|
||||
HOMEPAGE="https://github.com/martinpitt/umockdev/"
|
||||
SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="static-libs test"
|
||||
|
||||
RDEPEND="virtual/udev[gudev]
|
||||
>=dev-libs/glib-2.32:2"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( ${PYTHON_DEPS} )
|
||||
app-arch/xz-utils
|
||||
virtual/pkgconfig"
|
||||
|
||||
RESTRICT="test"
|
@ -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/dev-util/umockdev/umockdev-0.6.ebuild,v 1.1 2014/03/01 07:15:30 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
|
||||
|
||||
inherit python-any-r1 autotools-utils
|
||||
|
||||
DESCRIPTION="Mock hardware devices for creating unit tests"
|
||||
HOMEPAGE="https://github.com/martinpitt/umockdev/"
|
||||
SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="static-libs test"
|
||||
|
||||
RDEPEND="virtual/udev[gudev]
|
||||
>=dev-libs/glib-2.32:2"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( ${PYTHON_DEPS} )
|
||||
app-arch/xz-utils
|
||||
virtual/pkgconfig"
|
||||
|
||||
RESTRICT="test"
|
@ -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/dev-util/umockdev/umockdev-0.7.ebuild,v 1.1 2014/03/06 02:46:02 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
|
||||
|
||||
inherit python-any-r1 autotools-utils
|
||||
|
||||
DESCRIPTION="Mock hardware devices for creating unit tests"
|
||||
HOMEPAGE="https://github.com/martinpitt/umockdev/"
|
||||
SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="static-libs test"
|
||||
|
||||
RDEPEND="virtual/udev[gudev]
|
||||
>=dev-libs/glib-2.32:2"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( ${PYTHON_DEPS} )
|
||||
app-arch/xz-utils
|
||||
virtual/pkgconfig"
|
||||
|
||||
RESTRICT="test"
|
@ -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/dev-util/umockdev/umockdev-0.8.1.ebuild,v 1.1 2014/04/25 05:12:37 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3,3_4} )
|
||||
|
||||
inherit python-any-r1 autotools-utils
|
||||
|
||||
DESCRIPTION="Mock hardware devices for creating unit tests"
|
||||
HOMEPAGE="https://github.com/martinpitt/umockdev/"
|
||||
SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="static-libs test"
|
||||
|
||||
RDEPEND="virtual/udev[gudev]
|
||||
>=dev-libs/glib-2.32:2"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( ${PYTHON_DEPS} )
|
||||
app-arch/xz-utils
|
||||
virtual/pkgconfig"
|
||||
|
||||
RESTRICT="test"
|
@ -1,2 +1 @@
|
||||
DIST peg-e-1.1.0-src.tar.bz2 57510 SHA256 ecd82c94a628161d014700d19c36f9299995c0963b053fb096e3f3b173d2655b
|
||||
DIST peg-e-1.1.2-src.tar.bz2 151224 SHA256 2eefce91eea0f3a412fa79193ed5f66b25d5eb86b8e35e58c3a4f3b62e7cf59d SHA512 d4a09dfb528cfb46222a9ee788de88b4804762125a9dc13203be29a6ec26d01f23249ebbcd25bfe207ab8c40d8bce060fc2f7f131bb1e5b263e19b97852cee53 WHIRLPOOL f7a4c383853712485a6b1ccd96af60d5cf4f29e59603bea93e845d72d19819665ced9e119b8dd7304723e353feb11f67a7c79e8250e6728ac4201d3acfd03911
|
||||
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-board/peg-e/peg-e-1.1.0.ebuild,v 1.4 2013/03/02 21:12:54 hwoarang Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit eutils qt4-r2 games
|
||||
|
||||
DESCRIPTION="A peg solitaire game"
|
||||
HOMEPAGE="http://gottcode.org/peg-e/"
|
||||
SRC_URI="http://gottcode.org/${PN}/${P}-src.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-qt/qtgui:4"
|
||||
|
||||
src_configure() {
|
||||
eqmake4
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dogamesbin ${PN} || die
|
||||
doicon icons/${PN}.png
|
||||
domenu icons/${PN}.desktop
|
||||
dodoc README
|
||||
prepgamesdirs
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST advancescan-1.14.tar.gz 303166 SHA256 9a49f95d2a946f73dace5ecdb97e1913400e3214785a6362e9af3f42dc9ca869 SHA512 763a740c4d3e13dc064c4cdd6c732231d4629a379f6810c685958f68b14eaaaac18231fb582be5dd93c5de0afd78f9e6f8374b43f5628639ae4b60291f2331d0 WHIRLPOOL 5f73e74b427eafd51f438cc16c5ab032c33bc728dede9850db4fc47f2480d44e03c2b6cb251ff895da4df0c39b701e653cc5392ca7fbba4c87cab3640659d536
|
||||
DIST advancescan-1.16.tar.gz 316895 SHA256 2fe238442f82bdb2b45704898183b7ae3297bf9d75a4d33dbbd8cacec0c70fc2 SHA512 6d359c160d54a0a1cd13db10f5fc9986fae4f1151e205024e40c21b0f933723351907156faec22a92561ad523151e3b7d4ff70a6eebbb6152bd3767063a31031 WHIRLPOOL 8772c7e0d8fc3fbeb333fd2bf79191e745c1f979d9ac2d798419448b844c15d5e926fc30cc6d4353a119142f9657816d749ab11eb4e7c1d85a0e0ccee4ea403f
|
||||
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-emulation/advancescan/advancescan-1.14.ebuild,v 1.3 2012/10/24 10:57:46 ago Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit autotools eutils games
|
||||
|
||||
DESCRIPTION="A command line rom manager for MAME, MESS, AdvanceMAME, AdvanceMESS and Raine"
|
||||
HOMEPAGE="http://advancemame.sourceforge.net/scan-readme.html"
|
||||
SRC_URI="mirror://sourceforge/advancemame/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-libs/expat"
|
||||
|
||||
src_prepare() {
|
||||
rm -rf expat
|
||||
epatch "${FILESDIR}"/${P}-sys-expat.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dogamesbin advscan advdiff || die "dogamesbin failed"
|
||||
dodoc AUTHORS HISTORY README doc/*.txt advscan.rc.linux
|
||||
doman doc/{advscan,advdiff}.1
|
||||
dohtml doc/*.html
|
||||
prepgamesdirs
|
||||
}
|
@ -1,77 +0,0 @@
|
||||
--- configure.ac
|
||||
+++ configure.ac
|
||||
@@ -30,6 +30,7 @@
|
||||
|
||||
# Checks for libraries.
|
||||
AC_CHECK_LIB([z], [adler32], [], [AC_MSG_ERROR([the libz library is missing])])
|
||||
+AC_CHECK_LIB([expat], [XML_Parse], [], [AC_MSG_ERROR([the expat library is missing])])
|
||||
|
||||
# Checks for header files.
|
||||
AC_HEADER_STDC
|
||||
--- gamexml.cc
|
||||
+++ gamexml.cc
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
#include "game.h"
|
||||
#include "strcov.h"
|
||||
-#include "expat/expat.h"
|
||||
+#include <expat.h>
|
||||
|
||||
#include <string>
|
||||
#include <iostream>
|
||||
--- Makefile.am
|
||||
+++ Makefile.am
|
||||
@@ -18,10 +18,7 @@
|
||||
siglock.cc \
|
||||
getopt.c \
|
||||
snprintf.c \
|
||||
- lib/readinfo.c \
|
||||
- expat/xmlrole.c \
|
||||
- expat/xmlparse.c \
|
||||
- expat/xmltok.c
|
||||
+ lib/readinfo.c
|
||||
|
||||
advscan_SOURCES = \
|
||||
scan.cc \
|
||||
@@ -43,10 +40,7 @@
|
||||
siglock.cc \
|
||||
getopt.c \
|
||||
snprintf.c \
|
||||
- lib/readinfo.c \
|
||||
- expat/xmlrole.c \
|
||||
- expat/xmlparse.c \
|
||||
- expat/xmltok.c
|
||||
+ lib/readinfo.c
|
||||
|
||||
EXTRA_DIST = advscan.rc.linux advscan.rc.dos \
|
||||
README AUTHORS HISTORY INSTALL COPYING \
|
||||
@@ -82,28 +76,7 @@
|
||||
portable.h \
|
||||
lib/readinfo.h \
|
||||
lib/endianrw.h \
|
||||
- lib/extra.h \
|
||||
- expat/COPYING \
|
||||
- expat/README \
|
||||
- expat/ascii.h \
|
||||
- expat/asciitab.h \
|
||||
- expat/expat-1.95.8.diff \
|
||||
- expat/expat.h \
|
||||
- expat/iasciitab.h \
|
||||
- expat/expatcfg.h \
|
||||
- expat/expat_external.h \
|
||||
- expat/internal.h \
|
||||
- expat/latin1tab.h \
|
||||
- expat/nametab.h \
|
||||
- expat/utf8tab.h \
|
||||
- expat/xmlparse.c \
|
||||
- expat/xmlrole.c \
|
||||
- expat/xmlrole.h \
|
||||
- expat/xmltok.c \
|
||||
- expat/xmltok.h \
|
||||
- expat/xmltok_impl.c \
|
||||
- expat/xmltok_impl.h \
|
||||
- expat/xmltok_ns.c
|
||||
+ lib/extra.h
|
||||
|
||||
man_MANS = doc/advscan.1 doc/advdiff.1
|
||||
|
@ -1,2 +1 @@
|
||||
DIST zoom-1.1.4.tar.gz 2177409 SHA256 886b5db011314d2e4b4bd3e3ebd2aa3884f4e31f7cf68d6eea45407b8296cc6c SHA512 fa609dcfb1ce2e47f44dd25802c62cb560a00685b629010dcccb592170f150409b8d9e0770f1de8a5f8c32c75500b4df9a154d7b99009b6783150bdd08c26689 WHIRLPOOL a1890f49a7a12581a24612dcae7d1bb976b0367d031677f6f63188633048ae750249e262b48deb6e5c5a33aea13f06674720a96b62892559c7a5f2f3eac99f38
|
||||
DIST zoom-1.1.5.tar.gz 2185098 SHA256 f2967f1c0555df8d4ae90443502d14cf33b6ac65b602f499fbe3e9e38e55dbbc SHA512 800b29e3517ce39000d8c05148d6af0d7c8666db20a06867e35076ffa1914b845e8fa0153571975e59842672572b80826ee8dbe3b2d4bc98c07394054e9bd7ca WHIRLPOOL efe20c16d98874241c421197093819e8929b1a11c11ca6eb6c0ba14966ad062b9489d2e5b793f8ceeef687e9a4cca0af83c4bbeb46ca32aea6f8e1b7c9bb82bd
|
||||
|
@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-engines/zoom/zoom-1.1.4.ebuild,v 1.3 2010/01/06 07:05:30 josejx Exp $
|
||||
|
||||
inherit games
|
||||
|
||||
DESCRIPTION="A fast, clean, modern Z-code interpreter for X"
|
||||
HOMEPAGE="http://www.logicalshift.co.uk/unix/zoom/"
|
||||
SRC_URI="http://www.logicalshift.co.uk/unix/zoom/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ppc x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="x11-libs/libSM
|
||||
x11-libs/libXft
|
||||
media-libs/fontconfig
|
||||
>=media-libs/t1lib-5
|
||||
media-libs/libpng"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/perl
|
||||
x11-proto/xextproto"
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
dodoc AUTHORS ChangeLog NEWS README THANKS TODO
|
||||
dohtml -r manual/*
|
||||
prepgamesdirs
|
||||
}
|
@ -1,147 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-fps/doomsday/doomsday-1.9.8-r1.ebuild,v 1.4 2014/05/15 16:44:21 ulm Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_6 python2_7 )
|
||||
inherit python-r1 confutils eutils qt4-r2 games
|
||||
|
||||
DESCRIPTION="A modern gaming engine for Doom, Heretic, and Hexen"
|
||||
HOMEPAGE="http://www.dengine.net/"
|
||||
SRC_URI="mirror://sourceforge/deng/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="openal snowberry +doom demo freedoom heretic hexen resources"
|
||||
|
||||
DEPEND="
|
||||
virtual/opengl
|
||||
virtual/glu
|
||||
media-libs/libsdl[joystick,sound]
|
||||
media-libs/sdl-mixer
|
||||
media-libs/libpng:0
|
||||
dev-qt/qtopengl:4
|
||||
dev-qt/qtgui:4
|
||||
net-misc/curl
|
||||
openal? ( media-libs/openal )
|
||||
snowberry? ( ${PYTHON_DEPS} )"
|
||||
RDEPEND="${DEPEND}
|
||||
snowberry? ( dev-python/wxpython )"
|
||||
PDEPEND="
|
||||
demo? ( games-fps/doom-data )
|
||||
freedoom? ( games-fps/freedoom )
|
||||
resources? ( games-fps/doomsday-resources )"
|
||||
|
||||
S=${S}/${PN}
|
||||
|
||||
REQUIRED_USE="demo? ( doom ) freedoom? ( doom ) resources? ( doom )"
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-openal-64bit-fix.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
games_pkg_setup
|
||||
python_export_best
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e "/^DENG_BASE_DIR =/s:\$\$PREFIX/share:${GAMES_DATADIR}:" \
|
||||
config_unix.pri || die
|
||||
echo "CONFIG += nostrip" > config_user.pri
|
||||
echo "PREFIX=/usr/games" >> config_user.pri
|
||||
use snowberry && \
|
||||
echo "CONFIG += deng_snowberry" >> config_user.pri || \
|
||||
echo "CONFIG += deng_nosnowberry" >> config_user.pri
|
||||
|
||||
if use openal; then
|
||||
echo "CONFIG += deng_openal" >> config_user.pri
|
||||
sed -i \
|
||||
-e 's:\# Generic Unix.:LIBS += -lopenal:' \
|
||||
dep_openal.pri || die
|
||||
epatch "${FILESDIR}"/${P}-openal-link.patch
|
||||
fi
|
||||
|
||||
qt4-r2_src_prepare
|
||||
}
|
||||
|
||||
#Usage: doom_make_wrapper <name> <game> <icon> <desktop entry title> [args]
|
||||
doom_make_wrapper() {
|
||||
local name=$1 game=$2 icon=$3 de_title=$4
|
||||
shift 4
|
||||
games_make_wrapper $name \
|
||||
"doomsday -game ${game} $@"
|
||||
make_desktop_entry $name "${de_title}" ${icon}
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
qt4-r2_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
qt4-r2_src_install
|
||||
|
||||
mv "${D}/${GAMES_DATADIR}"/{${PN}/data/jdoom,doom-data} || die
|
||||
dosym "${GAMES_DATADIR}"/doom-data "${GAMES_DATADIR}"/${PN}/data/jdoom
|
||||
|
||||
if use snowberry; then
|
||||
python_replicate_script "${D}"/"${GAMES_BINDIR}"/launch-doomsday
|
||||
|
||||
installmodules() {
|
||||
# relocate snowberry module directory recursively into site-packages
|
||||
python_domodule "${D}/${GAMES_DATADIR}"/${PN}/snowberry
|
||||
# hack around improper path handling
|
||||
sed -i \
|
||||
-e "s:os.chdir.*$:os.chdir('$(python_get_sitedir)/snowberry'):" \
|
||||
"${D}"/"${GAMES_BINDIR}"/launch-doomsday-${EPYTHON} || die
|
||||
}
|
||||
python_foreach_impl installmodules
|
||||
# remove old module dir
|
||||
rm -r "${D}/${GAMES_DATADIR}"/${PN}/snowberry || die
|
||||
|
||||
make_desktop_entry launch-doomsday "Snowberry DoomsDay" snowberry
|
||||
doicon ../snowberry/graphics/snowberry.png
|
||||
fi
|
||||
|
||||
if use doom; then
|
||||
local res_arg
|
||||
if use resources; then
|
||||
res_arg="-def \"${GAMES_DATADIR}\"/${PN}/defs/jdoom/jDRP.ded"
|
||||
fi
|
||||
|
||||
doicon ../snowberry/graphics/orb-doom.png
|
||||
doom_make_wrapper jdoom doom1 orb-doom "DoomsDay Engine: Doom 1" "${res_arg}"
|
||||
elog "Created jdoom launcher. To play Doom place your doom.wad to"
|
||||
elog "\"${GAMES_DATADIR}\"/doom-data"
|
||||
elog
|
||||
|
||||
if use demo; then
|
||||
doom_make_wrapper jdoom-demo doom1-share orb-doom "DoomsDay Engine: Doom 1 Demo" \
|
||||
"-iwad \"${GAMES_DATADIR}\"/doom-data/doom1.wad ${res_arg}"
|
||||
fi
|
||||
if use freedoom; then
|
||||
doom_make_wrapper jdoom-freedoom doom1-share orb-doom "DoomsDay Engine: FreeDoom" \
|
||||
"-iwad \"${GAMES_DATADIR}\"/doom-data/freedoom/doom1.wad"
|
||||
fi
|
||||
fi
|
||||
if use hexen; then
|
||||
doicon ../snowberry/graphics/orb-hexen.png
|
||||
doom_make_wrapper jhexen hexen orb-hexen "DoomsDay Engine: Hexen"
|
||||
|
||||
elog "Created jhexen launcher. To play Hexen place your hexen.wad to"
|
||||
elog "\"${GAMES_DATADIR}\"/${PN}/data/jhexen"
|
||||
elog
|
||||
fi
|
||||
if use heretic; then
|
||||
doicon ../snowberry/graphics/orb-heretic.png
|
||||
doom_make_wrapper jheretic heretic orb-heretic "DoomsDay Engine: Heretic"
|
||||
|
||||
elog "Created jheretic launcher. To play Heretic place your heretic.wad to"
|
||||
elog "\"${GAMES_DATADIR}\"/${PN}/data/jheretic"
|
||||
elog
|
||||
fi
|
||||
|
||||
prepgamesdirs
|
||||
}
|
@ -1 +1 @@
|
||||
DIST gtklife-5.1.tar.gz 809542 RMD160 ad565e98aa622de4a3392add1271ad90209ff17e SHA1 a23aaccaaa327e40cb2fd025d5bbcdcd07dc669e SHA256 fcf5a6515595d1822291fd6da4fec93dcfb5162cfce48445686ba73ab4a98191
|
||||
DIST gtklife-5.1.tar.gz 809542 SHA256 fcf5a6515595d1822291fd6da4fec93dcfb5162cfce48445686ba73ab4a98191 SHA512 b80a2f0fc41583c2905e84e00baf689870c22262a55af25dfc2fe9e914d214f9c01b6800125e68516b63067005d25338ee7edf0c63ee37327479411693840025 WHIRLPOOL 6553956c570bd83d4237c02055d77a82944f30c9a6760c8dd6bbaafbca97633589c94ede839ea7abb4c2e3537856c6733de4fc1f369c8bd56e40361bc6469d27
|
||||
|
@ -0,0 +1,20 @@
|
||||
--- Makefile.in.old 2014-07-24 21:25:09.072431615 +0200
|
||||
+++ Makefile.in 2014-07-24 21:26:34.898037740 +0200
|
||||
@@ -22,7 +22,7 @@
|
||||
# Preprocessor and linking flags
|
||||
|
||||
CPPFLAGS:=$(CPPFLAGS) $(GTK_CFLAGS) -DVERSION=\"$(VERSION)\" -DDATADIR=\"$(pkgdatadir)\" -DDOCDIR=\"$(docdir)\"
|
||||
-LDFLAGS:=$(LDFLAGS) $(GTK_LIBS)
|
||||
+LDLIBS:=$(GTK_LIBS) -lX11
|
||||
|
||||
# Object files
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
$(INSTALL_DATA) doc/* $(docdir)
|
||||
|
||||
gtklife: $(OBJS)
|
||||
- $(CC) -o gtklife $(OBJS) $(LDFLAGS)
|
||||
+ $(CC) -o gtklife $(OBJS) $(LDFLAGS) $(LDLIBS)
|
||||
|
||||
create_lookup: $(CL_OBJS)
|
||||
$(CC) -o create_lookup $(CL_OBJS)
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/java-virtuals/servlet-api/servlet-api-2.5.ebuild,v 1.14 2012/10/04 17:40:04 sera Exp $
|
||||
|
||||
EAPI=1
|
||||
|
||||
inherit java-virtuals-2
|
||||
|
||||
DESCRIPTION="Virtual for servlet api"
|
||||
HOMEPAGE="http://java.sun.com/products/servlet/"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="${PV}"
|
||||
KEYWORDS="amd64 ~ia64 ppc ppc64 x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="|| (
|
||||
dev-java/tomcat-servlet-api:${SLOT}
|
||||
dev-java/resin-servlet-api:${SLOT}
|
||||
dev-java/glassfish-servlet-api:${SLOT}
|
||||
)"
|
||||
DEPEND=""
|
||||
|
||||
JAVA_VIRTUAL_PROVIDES="tomcat-servlet-api-${SLOT} resin-servlet-api-${SLOT}"
|
@ -0,0 +1,104 @@
|
||||
Use accountsservice instead of calling chfn directly.
|
||||
|
||||
This avoids a potential error or crash when changing user account information.
|
||||
Backported 77275f50241eb2f4e38051152074c379fa96fe84 and
|
||||
23bbe79912ec21ded8fdfc595935f48a6d2298ea from Plasma 5.
|
||||
|
||||
Gentoo bug #380899
|
||||
KDE bug #156396
|
||||
|
||||
--- a/kdepasswd/kcm/CMakeLists.txt
|
||||
+++ b/kdepasswd/kcm/CMakeLists.txt
|
||||
@@ -1,7 +1,6 @@
|
||||
add_subdirectory(pics)
|
||||
|
||||
set(kcm_useraccount_PART_SRCS
|
||||
- chfnprocess.cpp
|
||||
main.cpp
|
||||
chfacedlg.cpp)
|
||||
|
||||
--- a/kdepasswd/kcm/main.cpp
|
||||
+++ b/kdepasswd/kcm/main.cpp
|
||||
@@ -49,7 +49,6 @@
|
||||
|
||||
#include "settings.h"
|
||||
#include "pass.h"
|
||||
-#include "chfnprocess.h"
|
||||
#include <KPluginFactory>
|
||||
#include <KPluginLoader>
|
||||
|
||||
@@ -181,36 +180,27 @@ void KCMUserAccount::save()
|
||||
/* Save realname to /etc/passwd */
|
||||
if ( _mw->leRealname->isModified() )
|
||||
{
|
||||
- KPasswordDialog dlg( _mw );
|
||||
- dlg.setPrompt(i18n("Please enter your password in order to save your settings:"));
|
||||
- if ( !dlg.exec() )
|
||||
- {
|
||||
- KMessageBox::sorry( this, i18n("You must enter "
|
||||
- "your password in order to change your information."));
|
||||
- return;
|
||||
- }
|
||||
-
|
||||
- ChfnProcess *proc = new ChfnProcess();
|
||||
- int ret = proc->exec(dlg.password().toLocal8Bit() , _mw->leRealname->text().toLocal8Bit() );
|
||||
- if ( ret )
|
||||
- {
|
||||
- if ( ret == ChfnProcess::PasswordError )
|
||||
- KMessageBox::sorry( this, i18n("You must enter a correct password."));
|
||||
-
|
||||
- else
|
||||
- {
|
||||
- KMessageBox::sorry( this, i18n("An error occurred and your name has "
|
||||
- "probably not been changed. The error "
|
||||
- "message was:\n%1", QString::fromLocal8Bit(proc->error())));
|
||||
- kDebug() << "ChfnProcess->exec() failed. Error code: " << ret
|
||||
- << "\nOutput:" << proc->error() << endl;
|
||||
- }
|
||||
-
|
||||
- delete proc;
|
||||
- return;
|
||||
- }
|
||||
-
|
||||
- delete proc;
|
||||
+ // save icon file also with accountsservice
|
||||
+ QDBusInterface ainterface("org.freedesktop.Accounts",
|
||||
+ "/org/freedesktop/Accounts",
|
||||
+ "org.freedesktop.Accounts",
|
||||
+ QDBusConnection::systemBus());
|
||||
+ QDBusReply<QDBusObjectPath> reply = ainterface.call("FindUserById", qlonglong(_ku->uid()));
|
||||
+ if (reply.isValid() && !reply.error().isValid()) {
|
||||
+ QDBusInterface uinterface("org.freedesktop.Accounts",
|
||||
+ reply.value().path(),
|
||||
+ "org.freedesktop.Accounts.User",
|
||||
+ QDBusConnection::systemBus(),
|
||||
+ this);
|
||||
+
|
||||
+ QString name = _mw->leRealname->text();
|
||||
+ QDBusReply<void> ureply = uinterface.call("SetRealName", name);
|
||||
+ if (!ureply.isValid() || ureply.error().isValid()) {
|
||||
+ kDebug() << ureply.error().message();
|
||||
+ KMessageBox::error( this, i18n("There was an error setting the name: %1" ,
|
||||
+ name) );
|
||||
+ }
|
||||
+ }
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -243,10 +233,12 @@ void KCMUserAccount::save()
|
||||
}
|
||||
}
|
||||
else { // delete existing image
|
||||
- if ( !KIO::NetAccess::del(KCFGUserAccount::faceFile(), this) ) {
|
||||
- KMessageBox::error( this, i18n("There was an error deleting the image: %1" ,
|
||||
- KCFGUserAccount::faceFile()) );
|
||||
- }
|
||||
+ if (QFile::exists(KCFGUserAccount::faceFile())) {
|
||||
+ if ( !KIO::NetAccess::del(KCFGUserAccount::faceFile(), this) ) {
|
||||
+ KMessageBox::error( this, i18n("There was an error deleting the image: %1" ,
|
||||
+ KCFGUserAccount::faceFile()) );
|
||||
+ }
|
||||
+ }
|
||||
}
|
||||
|
||||
/* Save KDE's homebrewn settings */
|
@ -1 +1,2 @@
|
||||
DIST 148737-redshift-plasmoid-0.6.2.tar.bz2 85071 SHA256 57c12d5acff0c5d32d56de6805de679780b85e69b11ed60a277999e991cf5299 SHA512 d1c78be0952716ac01b99582e828f4293dcf26e0efd8820e745354a74e428e5153699d00a4a182d976a5c1b5187dcebf9474210a2ecc3db307cccdc52f0b8588 WHIRLPOOL 01167fdcd8fe0f3879cea15132c45ea88aa97686c29e8f8c57659e2dae7d38085a80a883815859d743ad22bf8ff18330aa0a9cee819c83c670005c9dc56dee8f
|
||||
DIST 148737-redshift-plasmoid-1.0.tar.bz2 115490 SHA256 d0b1799d551b4151b7649142d4cf91de8fdba27ffe2c9c3c00536f56f809f57f SHA512 9927ce436bc9b4bad7cc3d9fa7cb0ae9c2cde01720bd7e694149a248f595d1535e08903750d34a7c51a008e7a1ddaab03612775fd1ccd39f35a86eeed9edcf91 WHIRLPOOL 4d50dbbfe92226b2f915cf14b2fff1eda5859bed1c3fe354c9e01ec825564f891fb6d96abafaf6dea8656d542954c8621ecd3abacadb1a087bc5705c841b4f1c
|
||||
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-misc/redshift-plasmoid/redshift-plasmoid-1.0.ebuild,v 1.1 2014/07/25 02:08:07 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
KDE_LINGUAS="cs de es fr it"
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="KDE4 plasmoid for redshift."
|
||||
HOMEPAGE="http://kde-apps.org/content/show.php/Redshift+Plasmoid?content=148737 https://github.com/simgunz/redshift-plasmoid/"
|
||||
SRC_URI="http://www.kde-look.org/CONTENT/content-files/148737-${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="4"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="$(add_kdebase_dep plasma-workspace)"
|
||||
RDEPEND="${DEPEND}
|
||||
x11-misc/redshift"
|
@ -1,2 +1,3 @@
|
||||
DIST geary-0.6.0.tar.xz 761408 SHA256 44ad1dc2c81c50006c751f8e72aa817f07002188da4c29e158060524a1962715 SHA512 636f8a75041aa710b989fb50097f17e45550f42aa4c0043b0b6f9176e503c3d4921a8255efeecf6d60199164e509071263cb4ca6690c8043c57fb456fbcb76c0 WHIRLPOOL c8cabafd2a9884663c3a5e2293b90beb685b1e7fa4c6c124c5d9dee536f27e9021906d213e98fbf327b0e1e6e052b87f1d2a5da5cac1ff19a93fe1103881e380
|
||||
DIST geary-0.6.1.tar.xz 779208 SHA256 7078dd9353b9ed2d404cb6a6d9b7d461614b283fc5a3a30630647a8c4a37a6f9 SHA512 d2cab979328551ed497fae80c5480f0b1f096f20703131c0abbe7ea0f0339c3d5c1b2c72902ad59a163a4608ac954e14ac5243ca752844739969a5b8f78f1075 WHIRLPOOL 921fbf30090cf8ec9d44f7941f090cd52549c759c2765053b3d710665ea11849edb83c1bdcc35b0a805abc7ae43541d64c39d91c3f7c249b373990529ee964f1
|
||||
DIST geary-0.7.0.tar.xz 791656 SHA256 d6a0d584a1542ab358b1999478dc94ea0a920ce0ec6da5aa7c7d02d0d0b5cafd SHA512 23696d7104933a3406dca79e882286b290042eadcf8d37a2cb87bd64d4c9ff92721818c774eb62d9857823879e76a4217cca8e57dd6c587a36039cfb630eb841 WHIRLPOOL d8747cd2793b0bf36466d60f7b2db0ff1b0aa13de22d98829624ed5b954fe6af712a6c477c4ade90761921f83a569959b4e467b40210644e772d7ba061159e5e
|
||||
|
@ -0,0 +1,99 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-client/geary/geary-0.7.0.ebuild,v 1.1 2014/07/24 20:56:54 hasufell Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
VALA_MIN_API_VERSION=0.22
|
||||
|
||||
inherit eutils fdo-mime gnome2-utils vala cmake-utils
|
||||
|
||||
MY_P=${P/_pre/pr}
|
||||
DESCRIPTION="A lightweight, easy-to-use, feature-rich email client"
|
||||
HOMEPAGE="http://www.yorba.org/projects/geary/"
|
||||
SRC_URI="ftp://ftp.gnome.org/pub/GNOME/sources/geary/${PV:0:3}/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="nls"
|
||||
|
||||
DEPEND="
|
||||
app-crypt/libsecret
|
||||
dev-db/sqlite:3
|
||||
dev-libs/glib:2
|
||||
>=dev-libs/libgee-0.8.5:0.8
|
||||
dev-libs/libxml2:2
|
||||
dev-libs/gmime:2.6
|
||||
media-libs/libcanberra
|
||||
>=net-libs/webkit-gtk-1.10.0:3[introspection]
|
||||
>=x11-libs/gtk+-3.10.0:3[introspection]
|
||||
x11-libs/libnotify"
|
||||
RDEPEND="${DEPEND}
|
||||
gnome-base/gsettings-desktop-schemas
|
||||
nls? ( virtual/libintl )"
|
||||
DEPEND="${DEPEND}
|
||||
app-text/gnome-doc-utils
|
||||
dev-util/desktop-file-utils
|
||||
nls? ( sys-devel/gettext )
|
||||
$(vala_depend)
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS=( AUTHORS MAINTAINERS README NEWS THANKS )
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-0.5.3-{cflags,vapigen}.patch \
|
||||
"${FILESDIR}"/${PN}-0.6.0-desktopfile.patch
|
||||
|
||||
local i
|
||||
if use nls ; then
|
||||
if [[ -n "${LINGUAS+x}" ]] ; then
|
||||
for i in $(cd po ; echo *.po) ; do
|
||||
if ! has ${i%.po} ${LINGUAS} ; then
|
||||
sed -i -e "/^${i%.po}$/d" po/LINGUAS || die
|
||||
fi
|
||||
done
|
||||
fi
|
||||
else
|
||||
sed -i -e 's#add_subdirectory(po)##' CMakeLists.txt || die
|
||||
fi
|
||||
|
||||
cmake-utils_src_prepare
|
||||
vala_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DDESKTOP_UPDATE=OFF
|
||||
-DGSETTINGS_COMPILE=OFF
|
||||
-DICON_UPDATE=OFF
|
||||
-DVALA_EXECUTABLE="${VALAC}"
|
||||
-DWITH_UNITY=OFF
|
||||
-DDESKTOP_VALIDATE=OFF
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
gnome2_schemas_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "For libnotify sounds you will need"
|
||||
elog "\"alsa\" or \"pulseaudio\" useflag of media-libs/libcanberra"
|
||||
elog "enabled."
|
||||
|
||||
fdo-mime_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
gnome2_schemas_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
gnome2_schemas_update
|
||||
}
|
@ -0,0 +1,398 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-client/thunderbird/thunderbird-24.7.0.ebuild,v 1.1 2014/07/24 20:32:45 axs Exp $
|
||||
|
||||
EAPI=5
|
||||
WANT_AUTOCONF="2.1"
|
||||
MOZ_ESR=""
|
||||
MOZ_LIGHTNING_VER="2.6.5"
|
||||
MOZ_LIGHTNING_GDATA_VER="2.6.3"
|
||||
|
||||
# This list can be updated using scripts/get_langs.sh from the mozilla overlay
|
||||
MOZ_LANGS=(ar ast be bg bn-BD br ca cs da de el en en-GB en-US es-AR
|
||||
es-ES et eu fi fr fy-NL ga-IE gd gl he hr hu hy-AM id is it ja ko lt nb-NO
|
||||
nl nn-NO pa-IN pl pt-BR pt-PT rm ro ru si sk sl sq sr sv-SE ta-LK tr uk vi
|
||||
zh-CN zh-TW )
|
||||
|
||||
# Convert the ebuild version to th firefox-24.0-patches-0.4.tar.xze upstream mozilla version, used by mozlinguas
|
||||
MOZ_PV="${PV/_beta/b}"
|
||||
# ESR releases have slightly version numbers
|
||||
if [[ ${MOZ_ESR} == 1 ]]; then
|
||||
MOZ_PV="${MOZ_PV}esr"
|
||||
fi
|
||||
MOZ_P="${PN}-${MOZ_PV}"
|
||||
|
||||
# Enigmail version
|
||||
EMVER="1.6"
|
||||
# Upstream ftp release URI that's used by mozlinguas.eclass
|
||||
# We don't use the http mirror because it deletes old tarballs.
|
||||
MOZ_FTP_URI="ftp://ftp.mozilla.org/pub/${PN}/releases/"
|
||||
MOZ_HTTP_URI="http://ftp.mozilla.org/pub/${PN}/releases/"
|
||||
|
||||
inherit flag-o-matic toolchain-funcs mozconfig-3 makeedit multilib autotools pax-utils check-reqs nsplugins mozlinguas
|
||||
|
||||
DESCRIPTION="Thunderbird Mail Client"
|
||||
HOMEPAGE="http://www.mozilla.com/en-US/thunderbird/"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
SLOT="0"
|
||||
LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
|
||||
IUSE="bindist crypt gstreamer +jit ldap +lightning +minimal mozdom pulseaudio selinux system-cairo system-icu system-jpeg system-sqlite"
|
||||
|
||||
PATCH="thunderbird-24.0-patches-0.1"
|
||||
PATCHFF="firefox-24.0-patches-0.9"
|
||||
|
||||
SRC_URI="${SRC_URI}
|
||||
${MOZ_FTP_URI}${MOZ_PV}/source/${MOZ_P}.source.tar.bz2
|
||||
${MOZ_HTTP_URI}${MOZ_PV}/source/${MOZ_P}.source.tar.bz2
|
||||
crypt? ( http://www.enigmail.net/download/source/enigmail-${EMVER}.tar.gz )
|
||||
lightning? (
|
||||
${MOZ_HTTP_URI/${PN}/calendar/lightning}${MOZ_LIGHTNING_VER}/linux/lightning.xpi -> lightning-${MOZ_LIGHTNING_VER}.xpi
|
||||
${MOZ_HTTP_URI/${PN}/calendar/lightning}${MOZ_LIGHTNING_GDATA_VER}/linux/gdata-provider.xpi -> gdata-provider-${MOZ_LIGHTNING_GDATA_VER}.xpi
|
||||
)
|
||||
http://dev.gentoo.org/~anarchy/mozilla/patchsets/${PATCH}.tar.xz
|
||||
http://dev.gentoo.org/~anarchy/mozilla/patchsets/${PATCHFF}.tar.xz
|
||||
http://dev.gentoo.org/~polynomial-c/mozilla/patchsets/${PATCH}.tar.xz"
|
||||
|
||||
ASM_DEPEND=">=dev-lang/yasm-1.1"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/nss-3.16
|
||||
>=dev-libs/nspr-4.10.4
|
||||
>=dev-libs/glib-2.26:2
|
||||
>=media-libs/mesa-7.10
|
||||
>=media-libs/libpng-1.6.6[apng]
|
||||
virtual/libffi
|
||||
gstreamer? ( media-plugins/gst-plugins-meta:0.10[ffmpeg] )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
system-cairo? ( >=x11-libs/cairo-1.12[X] )
|
||||
system-icu? ( >=dev-libs/icu-51.1 )
|
||||
system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 )
|
||||
system-sqlite? ( >=dev-db/sqlite-3.8.0.2:3[secure-delete,debug=] )
|
||||
>=media-libs/libvpx-1.0.0
|
||||
kernel_linux? ( media-libs/alsa-lib )
|
||||
selinux? ( sec-policy/selinux-thunderbird )
|
||||
!x11-plugins/enigmail
|
||||
crypt? ( || (
|
||||
( >=app-crypt/gnupg-2.0
|
||||
|| (
|
||||
app-crypt/pinentry[gtk]
|
||||
app-crypt/pinentry[qt4]
|
||||
)
|
||||
)
|
||||
=app-crypt/gnupg-1.4*
|
||||
) )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
>=sys-devel/binutils-2.16.1
|
||||
virtual/pkgconfig
|
||||
amd64? ( ${ASM_DEPEND}
|
||||
virtual/opengl )
|
||||
x86? ( ${ASM_DEPEND}
|
||||
virtual/opengl )"
|
||||
|
||||
if [[ ${PV} =~ beta ]]; then
|
||||
S="${WORKDIR}/comm-beta"
|
||||
else
|
||||
S="${WORKDIR}/comm-esr${PV%%.*}"
|
||||
fi
|
||||
|
||||
pkg_setup() {
|
||||
moz_pkgsetup
|
||||
|
||||
export MOZILLA_DIR="${S}/mozilla"
|
||||
|
||||
if ! use bindist ; then
|
||||
elog "You are enabling official branding. You may not redistribute this build"
|
||||
elog "to any users on your network or the internet. Doing so puts yourself into"
|
||||
elog "a legal problem with Mozilla Foundation"
|
||||
elog "You can disable it by emerging ${PN} _with_ the bindist USE-flag"
|
||||
elog
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
# Ensure we have enough disk space to compile
|
||||
CHECKREQS_DISK_BUILD="4G"
|
||||
check-reqs_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
|
||||
# Unpack language packs
|
||||
mozlinguas_src_unpack
|
||||
|
||||
# Unpack lightning for calendar locales
|
||||
if use lightning ; then
|
||||
xpi_unpack lightning-${MOZ_LIGHTNING_VER}.xpi
|
||||
xpi_unpack gdata-provider-${MOZ_LIGHTNING_GDATA_VER}.xpi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Apply our Thunderbird patchset
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}/thunderbird"
|
||||
|
||||
# Apply our patchset from firefox to thunderbird as well
|
||||
pushd "${S}"/mozilla &>/dev/null || die
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}/firefox"
|
||||
popd &>/dev/null || die
|
||||
|
||||
if use crypt ; then
|
||||
mv "${WORKDIR}"/enigmail "${S}"/mailnews/extensions/enigmail
|
||||
pushd "${S}"/mailnews/extensions/enigmail &>/dev/null || die
|
||||
epatch "${FILESDIR}"/enigmail-1.6.0-parallel-fix.patch
|
||||
popd &>/dev/null || die
|
||||
fi
|
||||
|
||||
# Ensure that are plugins dir is enabled as default
|
||||
sed -i -e "s:/usr/lib/mozilla/plugins:/usr/lib/nsbrowser/plugins:" \
|
||||
"${S}"/mozilla/xpcom/io/nsAppFileLocationProvider.cpp || die "sed failed to replace plugin path for 32bit!"
|
||||
sed -i -e "s:/usr/lib64/mozilla/plugins:/usr/lib64/nsbrowser/plugins:" \
|
||||
"${S}"/mozilla/xpcom/io/nsAppFileLocationProvider.cpp || die "sed failed to replace plugin path for 64bit!"
|
||||
|
||||
# Don't exit with error when some libs are missing which we have in
|
||||
# system.
|
||||
sed '/^MOZ_PKG_FATAL_WARNINGS/s@= 1@= 0@' \
|
||||
-i "${S}"/mail/installer/Makefile.in || die
|
||||
|
||||
# Don't error out when there's no files to be removed:
|
||||
sed 's@\(xargs rm\)$@\1 -f@' \
|
||||
-i "${S}"/mozilla/toolkit/mozapps/installer/packager.mk || die
|
||||
|
||||
# Shell scripts sometimes contain DOS line endings; bug 391889
|
||||
grep -rlZ --include="*.sh" $'\r$' . |
|
||||
while read -r -d $'\0' file ; do
|
||||
einfo edos2unix "${file}"
|
||||
edos2unix "${file}"
|
||||
done
|
||||
|
||||
# Confirm the version of lightning being grabbed for langpacks is the same
|
||||
# as that used in thunderbird
|
||||
local THIS_MOZ_LIGHTNING_VER=$(cat "${S}"/calendar/sunbird/config/version.txt)
|
||||
if [[ ${MOZ_LIGHTNING_VER} != ${THIS_MOZ_LIGHTNING_VER} ]]; then
|
||||
eqawarn "The version of lightning used for localization differs from the version"
|
||||
eqawarn "in thunderbird. Please update MOZ_LIGHTNING_VER in the ebuild from ${MOZ_LIGHTNING_VER}"
|
||||
eqawarn "to ${THIS_MOZ_LIGHTNING_VER}"
|
||||
fi
|
||||
|
||||
# Allow user to apply any additional patches without modifing ebuild
|
||||
epatch_user
|
||||
|
||||
eautoreconf
|
||||
# Ensure we run eautoreconf in mozilla to regenerate configure
|
||||
cd "${S}"/mozilla
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
|
||||
MEXTENSIONS="default"
|
||||
|
||||
####################################
|
||||
#
|
||||
# mozconfig, CFLAGS and CXXFLAGS setup
|
||||
#
|
||||
####################################
|
||||
|
||||
mozconfig_init
|
||||
mozconfig_config
|
||||
|
||||
# It doesn't compile on alpha without this LDFLAGS
|
||||
use alpha && append-ldflags "-Wl,--no-relax"
|
||||
|
||||
# We must force enable jemalloc 3 threw .mozconfig
|
||||
echo "export MOZ_JEMALLOC=1" >> ${S}/.mozconfig
|
||||
|
||||
mozconfig_annotate '' --enable-jemalloc
|
||||
mozconfig_annotate '' --enable-replace-malloc
|
||||
mozconfig_annotate '' --prefix="${EPREFIX}"/usr
|
||||
mozconfig_annotate '' --libdir="${EPREFIX}"/usr/$(get_libdir)
|
||||
mozconfig_annotate '' --enable-extensions="${MEXTENSIONS}"
|
||||
mozconfig_annotate '' --disable-gconf
|
||||
mozconfig_annotate '' --disable-mailnews
|
||||
mozconfig_annotate '' --with-system-png
|
||||
mozconfig_annotate '' --enable-system-ffi
|
||||
|
||||
# Other ff-specific settings
|
||||
mozconfig_annotate '' --with-default-mozilla-five-home=${MOZILLA_FIVE_HOME}
|
||||
mozconfig_annotate '' --with-user-appdir=.thunderbird
|
||||
mozconfig_annotate '' --target="${CTARGET:-${CHOST}}"
|
||||
mozconfig_annotate '' --build="${CTARGET:-${CHOST}}"
|
||||
|
||||
# Use enable features
|
||||
mozconfig_use_enable gstreamer
|
||||
mozconfig_use_enable pulseaudio
|
||||
mozconfig_use_enable system-cairo
|
||||
mozconfig_use_enable system-sqlite
|
||||
mozconfig_use_with system-jpeg
|
||||
mozconfig_use_with system-icu
|
||||
mozconfig_use_enable system-icu intl-api
|
||||
mozconfig_use_enable lightning calendar
|
||||
mozconfig_use_enable ldap
|
||||
# Feature is know to cause problems on hardened
|
||||
mozconfig_use_enable jit ion
|
||||
|
||||
# Bug #72667
|
||||
if use mozdom; then
|
||||
MEXTENSIONS="${MEXTENSIONS},inspector"
|
||||
fi
|
||||
|
||||
# Use an objdir to keep things organized.
|
||||
echo "mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/tbird" >> "${S}"/.mozconfig
|
||||
|
||||
# Finalize and report settings
|
||||
mozconfig_final
|
||||
|
||||
####################################
|
||||
#
|
||||
# Configure and build
|
||||
#
|
||||
####################################
|
||||
|
||||
# Disable no-print-directory
|
||||
MAKEOPTS=${MAKEOPTS/--no-print-directory/}
|
||||
|
||||
if [[ $(gcc-major-version) -lt 4 ]]; then
|
||||
append-cxxflags -fno-stack-protector
|
||||
elif [[ $(gcc-major-version) -gt 4 || $(gcc-minor-version) -gt 3 ]]; then
|
||||
if use amd64 || use x86; then
|
||||
append-flags -mno-avx
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \
|
||||
MOZ_MAKE_FLAGS="${MAKEOPTS}" SHELL="${SHELL}" \
|
||||
emake -f client.mk
|
||||
|
||||
# Only build enigmail extension if crypt enabled.
|
||||
if use crypt ; then
|
||||
cd "${S}"/mailnews/extensions/enigmail || die
|
||||
./makemake -r 2&> /dev/null
|
||||
cd "${S}"/tbird/mailnews/extensions/enigmail
|
||||
emake
|
||||
emake xpi
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
|
||||
DICTPATH="\"${EPREFIX}/usr/share/myspell\""
|
||||
|
||||
declare emid
|
||||
local obj_dir="tbird"
|
||||
cd "${S}/${obj_dir}"
|
||||
|
||||
# Copy our preference before omnijar is created.
|
||||
cp "${FILESDIR}"/thunderbird-gentoo-default-prefs-1.js-1 \
|
||||
"${S}/${obj_dir}/mozilla/dist/bin/defaults/pref/all-gentoo.js" \
|
||||
|| die
|
||||
|
||||
# Set default path to search for dictionaries.
|
||||
echo "pref(\"spellchecker.dictionary_path\", ${DICTPATH});" \
|
||||
>> "${S}/${obj_dir}/mozilla/dist/bin/defaults/pref/all-gentoo.js" \
|
||||
|| die
|
||||
|
||||
# Pax mark xpcshell for hardened support, only used for startupcache creation.
|
||||
pax-mark m "${S}"/${obj_dir}/mozilla/dist/bin/xpcshell
|
||||
|
||||
MOZ_MAKE_FLAGS="${MAKEOPTS}" \
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
# Install language packs
|
||||
mozlinguas_src_install
|
||||
|
||||
if ! use bindist; then
|
||||
newicon "${S}"/other-licenses/branding/thunderbird/content/icon48.png thunderbird-icon.png
|
||||
domenu "${FILESDIR}"/icon/${PN}.desktop
|
||||
else
|
||||
newicon "${S}"/mail/branding/aurora/content/icon48.png thunderbird-icon-unbranded.png
|
||||
newmenu "${FILESDIR}"/icon/${PN}-unbranded.desktop \
|
||||
${PN}.desktop
|
||||
|
||||
sed -i -e "s:Mozilla\ Thunderbird:EarlyBird:g" \
|
||||
"${ED}"/usr/share/applications/${PN}.desktop
|
||||
fi
|
||||
|
||||
if use crypt ; then
|
||||
cd "${T}" || die
|
||||
unzip "${S}"/${obj_dir}/mozilla/dist/bin/enigmail*.xpi install.rdf \
|
||||
|| die
|
||||
emid=$(sed -n '/<em:id>/!d; s/.*\({.*}\).*/\1/; p; q' install.rdf)
|
||||
|
||||
dodir ${MOZILLA_FIVE_HOME}/extensions/${emid} || die
|
||||
cd "${D}"${MOZILLA_FIVE_HOME}/extensions/${emid} || die
|
||||
unzip "${S}"/${obj_dir}/mozilla/dist/bin/enigmail*.xpi || die
|
||||
fi
|
||||
|
||||
if use lightning ; then
|
||||
local l c
|
||||
mozlinguas_export
|
||||
|
||||
emid="{a62ef8ec-5fdc-40c2-873c-223b8a6925cc}"
|
||||
dodir ${MOZILLA_FIVE_HOME}/extensions/${emid}
|
||||
cd "${ED}"${MOZILLA_FIVE_HOME}/extensions/${emid}
|
||||
unzip "${S}"/${obj_dir}/mozilla/dist/xpi-stage/gdata-provider-*.xpi
|
||||
# Install locales for gdata-provider -- each locale is a directory tree
|
||||
insinto ${MOZILLA_FIVE_HOME}/extensions/${emid}/chrome
|
||||
cd "${WORKDIR}"/gdata-provider-${MOZ_LIGHTNING_GDATA_VER}/chrome
|
||||
for l in "${mozlinguas[@]}"; do if [[ -d gdata-provider-${l} ]]; then
|
||||
doins -r gdata-provider-${l}
|
||||
echo "locale gdata-provider ${l} chrome/gdata-provider-${l}/locale/${l}/" \
|
||||
>> "${ED}"/${MOZILLA_FIVE_HOME}/extensions/${emid}/chrome.manifest \
|
||||
|| die "Error adding gdata-provider-${l} to chrome.manifest"
|
||||
else
|
||||
ewarn "Sorry, but lightning gdata-provider in ${P} does not support the ${l} locale"
|
||||
fi; done
|
||||
|
||||
emid="{e2fda1a4-762b-4020-b5ad-a41df1933103}"
|
||||
dodir ${MOZILLA_FIVE_HOME}/extensions/${emid}
|
||||
cd "${ED}"${MOZILLA_FIVE_HOME}/extensions/${emid} || die
|
||||
unzip "${S}"/${obj_dir}/mozilla/dist/xpi-stage/lightning-*.xpi \
|
||||
|| die
|
||||
# Install locales for lightning - each locale is a jar file
|
||||
insinto ${MOZILLA_FIVE_HOME}/extensions/${emid}/chrome
|
||||
cd "${WORKDIR}"/lightning-${MOZ_LIGHTNING_VER}/chrome || die
|
||||
for l in "${mozlinguas[@]}"; do if [[ -e calendar-${l}.jar ]]; then
|
||||
for c in calendar lightning; do
|
||||
doins ${c}-${l}.jar
|
||||
echo "locale ${c} $l jar:chrome/${c}-${l}.jar!/locale/${l}/${c}/" \
|
||||
>> "${ED}"/${MOZILLA_FIVE_HOME}/extensions/${emid}/chrome.manifest \
|
||||
|| die "Error adding ${c}-${l} to chrome.manifest"
|
||||
done
|
||||
else
|
||||
ewarn "Sorry, but lightning calendar in ${P} does not support the ${l} locale"
|
||||
fi; done
|
||||
|
||||
# Fix mimetype so it shows up as a calendar application in GNOME 3
|
||||
# This requires that the .desktop file was already installed earlier
|
||||
sed -e "s:^\(MimeType=\):\1text/calendar;:" \
|
||||
-e "s:^\(Categories=\):\1Calendar;:" \
|
||||
-i "${ED}"/usr/share/applications/${PN}.desktop || die
|
||||
fi
|
||||
|
||||
pax-mark m "${ED}"/${MOZILLA_FIVE_HOME}/{thunderbird-bin,thunderbird}
|
||||
|
||||
# Plugin-container needs to be pax-marked for hardened to ensure plugins such as flash
|
||||
# continue to work as expected.
|
||||
pax-mark m "${ED}"${MOZILLA_FIVE_HOME}/plugin-container
|
||||
|
||||
if use minimal; then
|
||||
rm -r "${ED}"/usr/include "${ED}"${MOZILLA_FIVE_HOME}/{idl,include,lib,sdk} || \
|
||||
die "Failed to remove sdk and headers"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "If you experience problems with plugins please issue the"
|
||||
elog "following command : rm \${HOME}/.thunderbird/*/extensions.sqlite ,"
|
||||
elog "then restart thunderbird"
|
||||
}
|
@ -1,80 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-mta/qpsmtpd/qpsmtpd-0.84-r1.ebuild,v 1.2 2013/04/15 23:19:22 robbat2 Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit eutils perl-app user
|
||||
|
||||
DESCRIPTION="qpsmtpd is a flexible smtpd daemon written in Perl"
|
||||
HOMEPAGE="http://smtpd.develooper.com"
|
||||
SRC_URI="http://smtpd.develooper.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="postfix ipv6 syslog"
|
||||
|
||||
RDEPEND=">=dev-lang/perl-5.8.0
|
||||
<dev-perl/Net-DNS-0.690.0
|
||||
virtual/perl-MIME-Base64
|
||||
dev-perl/MailTools
|
||||
dev-perl/IPC-Shareable
|
||||
dev-perl/Socket6
|
||||
dev-perl/Danga-Socket
|
||||
dev-perl/ParaDNS
|
||||
ipv6? ( dev-perl/IO-Socket-INET6 )
|
||||
syslog? ( virtual/perl-Sys-Syslog )
|
||||
virtual/inetd"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup smtpd
|
||||
local additional_groups
|
||||
if use postfix; then
|
||||
additional_groups="${additional_groups},postdrop"
|
||||
fi
|
||||
enewuser smtpd -1 -1 /var/spool/qpsmtpd smtpd${additional_groups}
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-0.40-badrcptto_allowrelay.patch
|
||||
#epatch "${FILESDIR}"/${PN}-0.83-clamd_conf.patch
|
||||
epatch "${FILESDIR}"/${PN}-0.83-accept-empty-email.patch
|
||||
}
|
||||
|
||||
src_install() {
|
||||
perl-module_src_install
|
||||
|
||||
insinto /etc/xinetd.d
|
||||
newins "${FILESDIR}"/qpsmtpd.xinetd qpsmtpd
|
||||
|
||||
dodir /usr/share/qpsmtpd
|
||||
cp -Rf plugins "${D}"/usr/share/qpsmtpd/
|
||||
|
||||
insinto /etc/qpsmtpd
|
||||
doins config.sample/*
|
||||
|
||||
echo "/usr/share/qpsmtpd/plugins" > "${D}"/etc/qpsmtpd/plugin_dirs
|
||||
echo "/var/spool/qpsmtpd" > "${D}"/etc/qpsmtpd/spool_dir
|
||||
cat >"${D}"/etc/qpsmtpd/logging <<-EOF
|
||||
#logging/syslog loglevel LOGINFO priority LOG_NOTICE
|
||||
#logging/file loglevel LOGINFO /var/log/qpsmtpd/%Y-%m-%d
|
||||
EOF
|
||||
if use syslog; then
|
||||
sed -i -e '/^#logging\/syslog/s,^#,,g' "${D}"/etc/qpsmtpd/logging
|
||||
else
|
||||
sed -i -e '/^#logging\/file/s,^#,,g' "${D}"/etc/qpsmtpd/logging
|
||||
fi
|
||||
|
||||
newenvd "${FILESDIR}"/qpsmtpd.envd 99qpsmtpd
|
||||
|
||||
newconfd "${FILESDIR}"/qpsmtpd.confd qpsmtpd || die "Installing conf.d file"
|
||||
newinitd "${FILESDIR}"/qpsmtpd.initd-r1 qpsmtpd || die "Installing init.d file"
|
||||
|
||||
dodoc CREDITS Changes README README.plugins STATUS
|
||||
|
||||
diropts -m 0755 -o smtpd -g smtpd
|
||||
dodir /var/spool/qpsmtpd /var/log/qpsmtpd
|
||||
keepdir /var/spool/qpsmtpd /var/log/qpsmtpd
|
||||
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue