Removed obsolete stuff
This commit is contained in:
parent
3e45e947ad
commit
96ed888ceb
@ -1,209 +0,0 @@
|
|||||||
# Copyright 1999-2017 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python2_7 )
|
|
||||||
inherit autotools gnome2-utils eutils python-single-r1
|
|
||||||
|
|
||||||
DESCRIPTION="An email client (and news reader) based on GTK+"
|
|
||||||
HOMEPAGE="http://www.claws-mail.org/"
|
|
||||||
|
|
||||||
SRC_URI="http://www.claws-mail.org/download.php?file=releases/${P}.tar.xz"
|
|
||||||
|
|
||||||
SLOT="0"
|
|
||||||
LICENSE="GPL-3"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~x86"
|
|
||||||
|
|
||||||
IUSE="archive bogofilter calendar clamav dbus debug doc gdata +gnutls gtk3 +imap ipv6 ldap +libcanberra +libindicate +libnotify networkmanager nls nntp +notification pda pdf perl +pgp python rss session sieve smime spamassassin spam-report spell startup-notification svg valgrind webkit xface"
|
|
||||||
REQUIRED_USE="libcanberra? ( notification )
|
|
||||||
libindicate? ( notification )
|
|
||||||
libnotify? ( notification )
|
|
||||||
networkmanager? ( dbus )
|
|
||||||
python? ( ${PYTHON_REQUIRED_USE} )
|
|
||||||
smime? ( pgp )"
|
|
||||||
|
|
||||||
COMMONDEPEND="
|
|
||||||
net-mail/ytnef
|
|
||||||
archive? (
|
|
||||||
app-arch/libarchive
|
|
||||||
>=net-misc/curl-7.9.7
|
|
||||||
)
|
|
||||||
bogofilter? ( mail-filter/bogofilter )
|
|
||||||
calendar? (
|
|
||||||
>=dev-libs/libical-2.0.0
|
|
||||||
>=net-misc/curl-7.9.7
|
|
||||||
)
|
|
||||||
dbus? ( >=dev-libs/dbus-glib-0.60 )
|
|
||||||
gdata? ( >=dev-libs/libgdata-0.17.2 )
|
|
||||||
gnutls? ( >=net-libs/gnutls-3.0 )
|
|
||||||
gtk3? ( x11-libs/gtk+:3 )
|
|
||||||
!gtk3? ( >=x11-libs/gtk+-2.20:2 )
|
|
||||||
imap? ( >=net-libs/libetpan-0.57 )
|
|
||||||
ldap? ( >=net-nds/openldap-2.0.7 )
|
|
||||||
nls? ( >=sys-devel/gettext-0.18 )
|
|
||||||
nntp? ( >=net-libs/libetpan-0.57 )
|
|
||||||
notification? (
|
|
||||||
dev-libs/glib:2
|
|
||||||
libcanberra? ( media-libs/libcanberra[gtk] )
|
|
||||||
libindicate? ( dev-libs/libindicate:3[gtk] )
|
|
||||||
libnotify? ( x11-libs/libnotify )
|
|
||||||
)
|
|
||||||
pda? ( >=app-pda/jpilot-0.99 )
|
|
||||||
pdf? ( app-text/poppler[cairo] )
|
|
||||||
pgp? ( >=app-crypt/gpgme-1.0.0 )
|
|
||||||
session? (
|
|
||||||
x11-libs/libICE
|
|
||||||
x11-libs/libSM
|
|
||||||
)
|
|
||||||
smime? ( >=app-crypt/gpgme-1.0.0 )
|
|
||||||
spam-report? ( >=net-misc/curl-7.9.7 )
|
|
||||||
spell? ( >=app-text/enchant-1.0.0 )
|
|
||||||
startup-notification? ( x11-libs/startup-notification )
|
|
||||||
svg? ( >=gnome-base/librsvg-2.40.5 )
|
|
||||||
valgrind? ( dev-util/valgrind )
|
|
||||||
webkit? ( net-libs/webkit-gtk:2 )
|
|
||||||
"
|
|
||||||
|
|
||||||
DEPEND="${COMMONDEPEND}
|
|
||||||
app-arch/xz-utils
|
|
||||||
virtual/pkgconfig
|
|
||||||
xface? ( >=media-libs/compface-1.4 )"
|
|
||||||
|
|
||||||
RDEPEND="${COMMONDEPEND}
|
|
||||||
app-misc/mime-types
|
|
||||||
x11-misc/shared-mime-info
|
|
||||||
clamav? ( app-antivirus/clamav )
|
|
||||||
networkmanager? ( net-misc/networkmanager )
|
|
||||||
pdf? ( app-text/ghostscript-gpl )
|
|
||||||
perl? ( dev-lang/perl:= )
|
|
||||||
python? (
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
>=dev-python/pygtk-2.10.3
|
|
||||||
)
|
|
||||||
rss? (
|
|
||||||
dev-libs/libxml2
|
|
||||||
net-misc/curl
|
|
||||||
)"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}/${P}-old_profile_segfault.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
use python && python-single-r1_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# Don't use libsoup-gnome (bug #565924)
|
|
||||||
export HAVE_LIBSOUP_GNOME=no
|
|
||||||
|
|
||||||
local myeconfargs=(
|
|
||||||
--disable-bsfilter-plugin
|
|
||||||
--disable-fancy-plugin
|
|
||||||
--disable-generic-umpc
|
|
||||||
--enable-acpi_notifier-plugin
|
|
||||||
--enable-address_keeper-plugin
|
|
||||||
--enable-alternate-addressbook
|
|
||||||
--enable-att_remover-plugin
|
|
||||||
--enable-attachwarner-plugin
|
|
||||||
--enable-fetchinfo-plugin
|
|
||||||
--enable-mailmbox-plugin
|
|
||||||
--enable-newmail-plugin
|
|
||||||
--enable-tnef_parse-plugin
|
|
||||||
--with-password-encryption=$(usex gnutls gnutls old)
|
|
||||||
$(use_enable archive archive-plugin)
|
|
||||||
$(use_enable bogofilter bogofilter-plugin)
|
|
||||||
$(use_enable calendar vcalendar-plugin)
|
|
||||||
$(use_enable clamav clamd-plugin)
|
|
||||||
$(use_enable dbus)
|
|
||||||
$(use_enable debug crash-dialog)
|
|
||||||
$(use_enable doc manual)
|
|
||||||
$(use_enable gdata gdata-plugin)
|
|
||||||
$(use_enable gnutls)
|
|
||||||
$(use_enable gtk3)
|
|
||||||
$(use_enable ipv6)
|
|
||||||
$(use_enable ldap)
|
|
||||||
$(use_enable networkmanager)
|
|
||||||
$(use_enable nls)
|
|
||||||
$(use_enable notification notification-plugin)
|
|
||||||
$(use_enable pda jpilot)
|
|
||||||
$(use_enable pdf pdf_viewer-plugin)
|
|
||||||
$(use_enable perl perl-plugin)
|
|
||||||
$(use_enable pgp pgpcore-plugin)
|
|
||||||
$(use_enable pgp pgpinline-plugin)
|
|
||||||
$(use_enable pgp pgpmime-plugin)
|
|
||||||
$(use_enable python python-plugin)
|
|
||||||
$(use_enable rss rssyl-plugin)
|
|
||||||
$(use_enable session libsm)
|
|
||||||
$(use_enable sieve managesieve-plugin)
|
|
||||||
$(use_enable smime smime-plugin)
|
|
||||||
$(use_enable spam-report spam_report-plugin)
|
|
||||||
$(use_enable spamassassin spamassassin-plugin)
|
|
||||||
$(use_enable spell enchant)
|
|
||||||
$(use_enable startup-notification)
|
|
||||||
$(use_enable svg)
|
|
||||||
$(use_enable valgrind valgrind)
|
|
||||||
$(use_enable webkit fancy-plugin)
|
|
||||||
$(use_enable xface compface)
|
|
||||||
)
|
|
||||||
|
|
||||||
# libetpan is needed if user wants nntp or imap functionality
|
|
||||||
if use imap || use nntp ; then
|
|
||||||
myeconfargs+=( --enable-libetpan )
|
|
||||||
else
|
|
||||||
myeconfargs+=( --disable-libetpan )
|
|
||||||
fi
|
|
||||||
|
|
||||||
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
local DOCS=( AUTHORS ChangeLog* INSTALL* NEWS README* TODO* )
|
|
||||||
default
|
|
||||||
|
|
||||||
# Makefile install claws-mail.png in /usr/share/icons/hicolor/48x48/apps
|
|
||||||
# => also install it in /usr/share/pixmaps for other desktop envs
|
|
||||||
# => also install higher resolution icons in /usr/share/icons/hicolor/...
|
|
||||||
insinto /usr/share/pixmaps
|
|
||||||
doins ${PN}.png
|
|
||||||
local size
|
|
||||||
for size in 64 128 ; do
|
|
||||||
newicon -s ${size} ${PN}-${size}x${size}.png ${PN}.png
|
|
||||||
done
|
|
||||||
|
|
||||||
docinto tools
|
|
||||||
dodoc tools/README*
|
|
||||||
|
|
||||||
domenu ${PN}.desktop
|
|
||||||
|
|
||||||
einfo "Installing extra tools"
|
|
||||||
cd "${S}"/tools
|
|
||||||
exeinto /usr/$(get_libdir)/${PN}/tools
|
|
||||||
doexe *.pl *.py *.conf *.sh
|
|
||||||
doexe tb2claws-mail update-po uudec uuooffice
|
|
||||||
|
|
||||||
# kill useless files
|
|
||||||
rm -f "${ED%/}"/usr/lib*/claws-mail/plugins/*.{a,la}
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_preinst() {
|
|
||||||
gnome2_icon_savelist
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
ewarn "When upgrading from version 3.9.0 or below some changes have happened:"
|
|
||||||
ewarn "- There are no individual plugins in mail-client/claws-mail-* anymore, but they are integrated mostly controlled through USE flags"
|
|
||||||
ewarn "- Plugins with no special dependencies are just built and can be loaded through the interface"
|
|
||||||
ewarn "- The gtkhtml2, dillo and trayicon plugins have been dropped entirely"
|
|
||||||
gnome2_icon_cache_update
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
gnome2_icon_cache_update
|
|
||||||
}
|
|
@ -1,203 +0,0 @@
|
|||||||
# Copyright 1999-2017 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python2_7 )
|
|
||||||
inherit autotools gnome2-utils eutils python-single-r1
|
|
||||||
|
|
||||||
DESCRIPTION="An email client (and news reader) based on GTK+"
|
|
||||||
HOMEPAGE="http://www.claws-mail.org/"
|
|
||||||
|
|
||||||
SRC_URI="http://www.claws-mail.org/download.php?file=releases/${P}.tar.xz"
|
|
||||||
|
|
||||||
SLOT="0"
|
|
||||||
LICENSE="GPL-3"
|
|
||||||
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
|
|
||||||
|
|
||||||
IUSE="archive bogofilter calendar clamav dbus debug doc gdata +gnutls gtk3 +imap ipv6 ldap +libcanberra +libindicate +libnotify networkmanager nls nntp +notification pda pdf perl +pgp python rss session sieve smime spamassassin spam-report spell startup-notification svg valgrind webkit xface"
|
|
||||||
REQUIRED_USE="libcanberra? ( notification )
|
|
||||||
libindicate? ( notification )
|
|
||||||
libnotify? ( notification )
|
|
||||||
networkmanager? ( dbus )
|
|
||||||
smime? ( pgp )"
|
|
||||||
|
|
||||||
COMMONDEPEND="
|
|
||||||
net-mail/ytnef
|
|
||||||
archive? (
|
|
||||||
app-arch/libarchive
|
|
||||||
>=net-misc/curl-7.9.7
|
|
||||||
)
|
|
||||||
bogofilter? ( mail-filter/bogofilter )
|
|
||||||
calendar? (
|
|
||||||
>=dev-libs/libical-2.0.0
|
|
||||||
>=net-misc/curl-7.9.7
|
|
||||||
)
|
|
||||||
dbus? ( >=dev-libs/dbus-glib-0.60 )
|
|
||||||
gdata? ( >=dev-libs/libgdata-0.17.2 )
|
|
||||||
gnutls? ( >=net-libs/gnutls-3.0 )
|
|
||||||
gtk3? ( x11-libs/gtk+:3 )
|
|
||||||
!gtk3? ( >=x11-libs/gtk+-2.20:2 )
|
|
||||||
imap? ( >=net-libs/libetpan-0.57 )
|
|
||||||
ldap? ( >=net-nds/openldap-2.0.7 )
|
|
||||||
nls? ( >=sys-devel/gettext-0.18 )
|
|
||||||
nntp? ( >=net-libs/libetpan-0.57 )
|
|
||||||
notification? (
|
|
||||||
dev-libs/glib:2
|
|
||||||
libcanberra? ( media-libs/libcanberra[gtk] )
|
|
||||||
libindicate? ( dev-libs/libindicate:3[gtk] )
|
|
||||||
libnotify? ( x11-libs/libnotify )
|
|
||||||
)
|
|
||||||
pda? ( >=app-pda/jpilot-0.99 )
|
|
||||||
pdf? ( app-text/poppler[cairo] )
|
|
||||||
pgp? ( >=app-crypt/gpgme-1.0.0 )
|
|
||||||
session? (
|
|
||||||
x11-libs/libICE
|
|
||||||
x11-libs/libSM
|
|
||||||
)
|
|
||||||
smime? ( >=app-crypt/gpgme-1.0.0 )
|
|
||||||
spam-report? ( >=net-misc/curl-7.9.7 )
|
|
||||||
spell? ( >=app-text/enchant-1.0.0 )
|
|
||||||
startup-notification? ( x11-libs/startup-notification )
|
|
||||||
svg? ( >=gnome-base/librsvg-2.40.5 )
|
|
||||||
valgrind? ( dev-util/valgrind )
|
|
||||||
webkit? ( net-libs/webkit-gtk:2 )
|
|
||||||
"
|
|
||||||
|
|
||||||
DEPEND="${COMMONDEPEND}
|
|
||||||
app-arch/xz-utils
|
|
||||||
virtual/pkgconfig
|
|
||||||
xface? ( >=media-libs/compface-1.4 )"
|
|
||||||
|
|
||||||
RDEPEND="${COMMONDEPEND}
|
|
||||||
app-misc/mime-types
|
|
||||||
x11-misc/shared-mime-info
|
|
||||||
clamav? ( app-antivirus/clamav )
|
|
||||||
networkmanager? ( net-misc/networkmanager )
|
|
||||||
pdf? ( app-text/ghostscript-gpl )
|
|
||||||
perl? ( dev-lang/perl:= )
|
|
||||||
python? (
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
>=dev-python/pygtk-2.10.3
|
|
||||||
)
|
|
||||||
rss? (
|
|
||||||
dev-libs/libxml2
|
|
||||||
net-misc/curl
|
|
||||||
)"
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
use python && python-single-r1_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# Don't use libsoup-gnome (bug #565924)
|
|
||||||
export HAVE_LIBSOUP_GNOME=no
|
|
||||||
|
|
||||||
local myeconfargs=(
|
|
||||||
--disable-bsfilter-plugin
|
|
||||||
--disable-generic-umpc
|
|
||||||
--enable-acpi_notifier-plugin
|
|
||||||
--enable-address_keeper-plugin
|
|
||||||
--enable-alternate-addressbook
|
|
||||||
--enable-att_remover-plugin
|
|
||||||
--enable-attachwarner-plugin
|
|
||||||
--enable-fetchinfo-plugin
|
|
||||||
--enable-mailmbox-plugin
|
|
||||||
--enable-newmail-plugin
|
|
||||||
--enable-tnef_parse-plugin
|
|
||||||
--with-password-encryption=$(usex gnutls gnutls old)
|
|
||||||
$(use_enable archive archive-plugin)
|
|
||||||
$(use_enable bogofilter bogofilter-plugin)
|
|
||||||
$(use_enable calendar vcalendar-plugin)
|
|
||||||
$(use_enable clamav clamd-plugin)
|
|
||||||
$(use_enable dbus)
|
|
||||||
$(use_enable debug crash-dialog)
|
|
||||||
$(use_enable doc manual)
|
|
||||||
$(use_enable gdata gdata-plugin)
|
|
||||||
$(use_enable gnutls)
|
|
||||||
$(use_enable gtk3)
|
|
||||||
$(use_enable ipv6)
|
|
||||||
$(use_enable ldap)
|
|
||||||
$(use_enable networkmanager)
|
|
||||||
$(use_enable nls)
|
|
||||||
$(use_enable notification notification-plugin)
|
|
||||||
$(use_enable pda jpilot)
|
|
||||||
$(use_enable pdf pdf_viewer-plugin)
|
|
||||||
$(use_enable perl perl-plugin)
|
|
||||||
$(use_enable pgp pgpcore-plugin)
|
|
||||||
$(use_enable pgp pgpinline-plugin)
|
|
||||||
$(use_enable pgp pgpmime-plugin)
|
|
||||||
$(use_enable python python-plugin)
|
|
||||||
$(use_enable rss rssyl-plugin)
|
|
||||||
$(use_enable session libsm)
|
|
||||||
$(use_enable sieve managesieve-plugin)
|
|
||||||
$(use_enable smime smime-plugin)
|
|
||||||
$(use_enable spam-report spam_report-plugin)
|
|
||||||
$(use_enable spamassassin spamassassin-plugin)
|
|
||||||
$(use_enable spell enchant)
|
|
||||||
$(use_enable startup-notification)
|
|
||||||
$(use_enable svg)
|
|
||||||
$(use_enable valgrind valgrind)
|
|
||||||
$(use_enable webkit fancy-plugin)
|
|
||||||
$(use_enable xface compface)
|
|
||||||
)
|
|
||||||
|
|
||||||
# libetpan is needed if user wants nntp or imap functionality
|
|
||||||
if use imap || use nntp; then
|
|
||||||
myeconfargs+=( --enable-libetpan )
|
|
||||||
else
|
|
||||||
myeconfargs+=( --disable-libetpan )
|
|
||||||
fi
|
|
||||||
|
|
||||||
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
local DOCS=( AUTHORS ChangeLog* INSTALL* NEWS README* TODO* )
|
|
||||||
default
|
|
||||||
|
|
||||||
# Makefile install claws-mail.png in /usr/share/icons/hicolor/48x48/apps
|
|
||||||
# => also install it in /usr/share/pixmaps for other desktop envs
|
|
||||||
# => also install higher resolution icons in /usr/share/icons/hicolor/...
|
|
||||||
insinto /usr/share/pixmaps
|
|
||||||
doins ${PN}.png
|
|
||||||
local size
|
|
||||||
for size in 64 128 ; do
|
|
||||||
newicon -s ${size} ${PN}-${size}x${size}.png ${PN}.png
|
|
||||||
done
|
|
||||||
|
|
||||||
docinto tools
|
|
||||||
dodoc tools/README*
|
|
||||||
|
|
||||||
domenu ${PN}.desktop
|
|
||||||
|
|
||||||
einfo "Installing extra tools"
|
|
||||||
cd "${S}"/tools
|
|
||||||
exeinto /usr/$(get_libdir)/${PN}/tools
|
|
||||||
doexe *.pl *.py *.conf *.sh
|
|
||||||
doexe tb2claws-mail update-po uudec uuooffice
|
|
||||||
|
|
||||||
# kill useless files
|
|
||||||
rm -f "${D}"/usr/lib*/claws-mail/plugins/*.{a,la}
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_preinst() {
|
|
||||||
gnome2_icon_savelist
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
ewarn "When upgrading from version 3.9.0 or below some changes have happened:"
|
|
||||||
ewarn "- There are no individual plugins in mail-client/claws-mail-* anymore, but they are integrated mostly controlled through USE flags"
|
|
||||||
ewarn "- Plugins with no special dependencies are just built and can be loaded through the interface"
|
|
||||||
ewarn "- The gtkhtml2, dillo and trayicon plugins have been dropped entirely"
|
|
||||||
gnome2_icon_cache_update
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
gnome2_icon_cache_update
|
|
||||||
}
|
|
@ -1,207 +0,0 @@
|
|||||||
# Copyright 1999-2017 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python2_7 )
|
|
||||||
inherit autotools gnome2-utils python-single-r1 xdg-utils
|
|
||||||
|
|
||||||
DESCRIPTION="An email client (and news reader) based on GTK+"
|
|
||||||
HOMEPAGE="http://www.claws-mail.org/"
|
|
||||||
|
|
||||||
SRC_URI="http://www.claws-mail.org/download.php?file=releases/${P}.tar.xz"
|
|
||||||
|
|
||||||
SLOT="0"
|
|
||||||
LICENSE="GPL-3"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~x86"
|
|
||||||
|
|
||||||
IUSE="archive bogofilter calendar clamav dbus debug doc gdata +gnutls gtk3 +imap ipv6 ldap +libcanberra +libindicate +libnotify networkmanager nls nntp +notification pda pdf perl +pgp python rss session sieve smime spamassassin spam-report spell startup-notification svg valgrind webkit xface"
|
|
||||||
REQUIRED_USE="libcanberra? ( notification )
|
|
||||||
libindicate? ( notification )
|
|
||||||
libnotify? ( notification )
|
|
||||||
networkmanager? ( dbus )
|
|
||||||
python? ( ${PYTHON_REQUIRED_USE} )
|
|
||||||
smime? ( pgp )"
|
|
||||||
|
|
||||||
COMMONDEPEND="
|
|
||||||
net-mail/ytnef
|
|
||||||
archive? (
|
|
||||||
app-arch/libarchive
|
|
||||||
>=net-misc/curl-7.9.7
|
|
||||||
)
|
|
||||||
bogofilter? ( mail-filter/bogofilter )
|
|
||||||
calendar? (
|
|
||||||
>=dev-libs/libical-2.0.0
|
|
||||||
>=net-misc/curl-7.9.7
|
|
||||||
)
|
|
||||||
dbus? ( >=dev-libs/dbus-glib-0.60 )
|
|
||||||
gdata? ( >=dev-libs/libgdata-0.17.2 )
|
|
||||||
gnutls? ( >=net-libs/gnutls-3.0 )
|
|
||||||
gtk3? ( x11-libs/gtk+:3 )
|
|
||||||
!gtk3? ( >=x11-libs/gtk+-2.20:2 )
|
|
||||||
imap? ( >=net-libs/libetpan-0.57 )
|
|
||||||
ldap? ( >=net-nds/openldap-2.0.7 )
|
|
||||||
nls? ( >=sys-devel/gettext-0.18 )
|
|
||||||
nntp? ( >=net-libs/libetpan-0.57 )
|
|
||||||
notification? (
|
|
||||||
dev-libs/glib:2
|
|
||||||
libcanberra? ( media-libs/libcanberra[gtk] )
|
|
||||||
libindicate? ( dev-libs/libindicate:3[gtk] )
|
|
||||||
libnotify? ( x11-libs/libnotify )
|
|
||||||
)
|
|
||||||
pda? ( >=app-pda/jpilot-0.99 )
|
|
||||||
pdf? ( app-text/poppler[cairo] )
|
|
||||||
pgp? ( >=app-crypt/gpgme-1.0.0 )
|
|
||||||
session? (
|
|
||||||
x11-libs/libICE
|
|
||||||
x11-libs/libSM
|
|
||||||
)
|
|
||||||
smime? ( >=app-crypt/gpgme-1.0.0 )
|
|
||||||
spam-report? ( >=net-misc/curl-7.9.7 )
|
|
||||||
spell? ( >=app-text/enchant-1.0.0 )
|
|
||||||
startup-notification? ( x11-libs/startup-notification )
|
|
||||||
svg? ( >=gnome-base/librsvg-2.40.5 )
|
|
||||||
valgrind? ( dev-util/valgrind )
|
|
||||||
webkit? ( net-libs/webkit-gtk:2 )
|
|
||||||
"
|
|
||||||
|
|
||||||
DEPEND="${COMMONDEPEND}
|
|
||||||
app-arch/xz-utils
|
|
||||||
virtual/pkgconfig
|
|
||||||
xface? ( >=media-libs/compface-1.4 )"
|
|
||||||
|
|
||||||
RDEPEND="${COMMONDEPEND}
|
|
||||||
app-misc/mime-types
|
|
||||||
x11-misc/shared-mime-info
|
|
||||||
clamav? ( app-antivirus/clamav )
|
|
||||||
networkmanager? ( net-misc/networkmanager )
|
|
||||||
pdf? ( app-text/ghostscript-gpl )
|
|
||||||
perl? ( dev-lang/perl:= )
|
|
||||||
python? (
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
>=dev-python/pygtk-2.10.3
|
|
||||||
)
|
|
||||||
rss? (
|
|
||||||
dev-libs/libxml2
|
|
||||||
net-misc/curl
|
|
||||||
)"
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
use python && python-single-r1_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# Don't use libsoup-gnome (bug #565924)
|
|
||||||
export HAVE_LIBSOUP_GNOME=no
|
|
||||||
|
|
||||||
local myeconfargs=(
|
|
||||||
--disable-bsfilter-plugin
|
|
||||||
--disable-fancy-plugin
|
|
||||||
--disable-generic-umpc
|
|
||||||
--enable-acpi_notifier-plugin
|
|
||||||
--enable-address_keeper-plugin
|
|
||||||
--enable-alternate-addressbook
|
|
||||||
--enable-att_remover-plugin
|
|
||||||
--enable-attachwarner-plugin
|
|
||||||
--enable-fetchinfo-plugin
|
|
||||||
--enable-mailmbox-plugin
|
|
||||||
--enable-newmail-plugin
|
|
||||||
--enable-tnef_parse-plugin
|
|
||||||
--with-password-encryption=$(usex gnutls gnutls old)
|
|
||||||
$(use_enable archive archive-plugin)
|
|
||||||
$(use_enable bogofilter bogofilter-plugin)
|
|
||||||
$(use_enable calendar vcalendar-plugin)
|
|
||||||
$(use_enable clamav clamd-plugin)
|
|
||||||
$(use_enable dbus)
|
|
||||||
$(use_enable debug crash-dialog)
|
|
||||||
$(use_enable doc manual)
|
|
||||||
$(use_enable gdata gdata-plugin)
|
|
||||||
$(use_enable gnutls)
|
|
||||||
$(use_enable gtk3)
|
|
||||||
$(use_enable ipv6)
|
|
||||||
$(use_enable ldap)
|
|
||||||
$(use_enable networkmanager)
|
|
||||||
$(use_enable nls)
|
|
||||||
$(use_enable notification notification-plugin)
|
|
||||||
$(use_enable pda jpilot)
|
|
||||||
$(use_enable pdf pdf_viewer-plugin)
|
|
||||||
$(use_enable perl perl-plugin)
|
|
||||||
$(use_enable pgp pgpcore-plugin)
|
|
||||||
$(use_enable pgp pgpinline-plugin)
|
|
||||||
$(use_enable pgp pgpmime-plugin)
|
|
||||||
$(use_enable python python-plugin)
|
|
||||||
$(use_enable rss rssyl-plugin)
|
|
||||||
$(use_enable session libsm)
|
|
||||||
$(use_enable sieve managesieve-plugin)
|
|
||||||
$(use_enable smime smime-plugin)
|
|
||||||
$(use_enable spam-report spam_report-plugin)
|
|
||||||
$(use_enable spamassassin spamassassin-plugin)
|
|
||||||
$(use_enable spell enchant)
|
|
||||||
$(use_enable startup-notification)
|
|
||||||
$(use_enable svg)
|
|
||||||
$(use_enable valgrind valgrind)
|
|
||||||
$(use_enable webkit fancy-plugin)
|
|
||||||
$(use_enable xface compface)
|
|
||||||
)
|
|
||||||
|
|
||||||
# libetpan is needed if user wants nntp or imap functionality
|
|
||||||
if use imap || use nntp ; then
|
|
||||||
myeconfargs+=( --enable-libetpan )
|
|
||||||
else
|
|
||||||
myeconfargs+=( --disable-libetpan )
|
|
||||||
fi
|
|
||||||
|
|
||||||
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
local DOCS=( AUTHORS ChangeLog* INSTALL* NEWS README* TODO* )
|
|
||||||
default
|
|
||||||
|
|
||||||
# Makefile install claws-mail.png in /usr/share/icons/hicolor/48x48/apps
|
|
||||||
# => also install it in /usr/share/pixmaps for other desktop envs
|
|
||||||
# => also install higher resolution icons in /usr/share/icons/hicolor/...
|
|
||||||
insinto /usr/share/pixmaps
|
|
||||||
doins ${PN}.png
|
|
||||||
local size
|
|
||||||
for size in 64 128 ; do
|
|
||||||
newicon -s ${size} ${PN}-${size}x${size}.png ${PN}.png
|
|
||||||
done
|
|
||||||
|
|
||||||
docinto tools
|
|
||||||
dodoc tools/README*
|
|
||||||
|
|
||||||
domenu ${PN}.desktop
|
|
||||||
|
|
||||||
einfo "Installing extra tools"
|
|
||||||
cd "${S}"/tools
|
|
||||||
exeinto /usr/$(get_libdir)/${PN}/tools
|
|
||||||
doexe *.pl *.py *.conf *.sh
|
|
||||||
doexe tb2claws-mail update-po uudec uuooffice
|
|
||||||
|
|
||||||
# kill useless files
|
|
||||||
rm -f "${ED%/}"/usr/lib*/claws-mail/plugins/*.{a,la}
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_preinst() {
|
|
||||||
gnome2_icon_savelist
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
ewarn "When upgrading from version 3.9.0 or below some changes have happened:"
|
|
||||||
ewarn "- There are no individual plugins in mail-client/claws-mail-* anymore, but they are integrated mostly controlled through USE flags"
|
|
||||||
ewarn "- Plugins with no special dependencies are just built and can be loaded through the interface"
|
|
||||||
ewarn "- The gtkhtml2, dillo and trayicon plugins have been dropped entirely"
|
|
||||||
gnome2_icon_cache_update
|
|
||||||
xdg_desktop_database_update
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
gnome2_icon_cache_update
|
|
||||||
xdg_desktop_database_update
|
|
||||||
}
|
|
@ -1,207 +0,0 @@
|
|||||||
# Copyright 1999-2017 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python2_7 )
|
|
||||||
inherit autotools gnome2-utils python-single-r1 xdg-utils
|
|
||||||
|
|
||||||
DESCRIPTION="An email client (and news reader) based on GTK+"
|
|
||||||
HOMEPAGE="http://www.claws-mail.org/"
|
|
||||||
|
|
||||||
SRC_URI="http://www.claws-mail.org/download.php?file=releases/${P}.tar.xz"
|
|
||||||
|
|
||||||
SLOT="0"
|
|
||||||
LICENSE="GPL-3"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~x86"
|
|
||||||
|
|
||||||
IUSE="archive bogofilter calendar clamav dbus debug doc gdata +gnutls gtk3 +imap ipv6 ldap +libcanberra +libindicate +libnotify networkmanager nls nntp +notification pda pdf perl +pgp python rss session sieve smime spamassassin spam-report spell startup-notification svg valgrind webkit xface"
|
|
||||||
REQUIRED_USE="libcanberra? ( notification )
|
|
||||||
libindicate? ( notification )
|
|
||||||
libnotify? ( notification )
|
|
||||||
networkmanager? ( dbus )
|
|
||||||
python? ( ${PYTHON_REQUIRED_USE} )
|
|
||||||
smime? ( pgp )"
|
|
||||||
|
|
||||||
COMMONDEPEND="
|
|
||||||
net-mail/ytnef
|
|
||||||
archive? (
|
|
||||||
app-arch/libarchive
|
|
||||||
>=net-misc/curl-7.9.7
|
|
||||||
)
|
|
||||||
bogofilter? ( mail-filter/bogofilter )
|
|
||||||
calendar? (
|
|
||||||
>=dev-libs/libical-2.0.0
|
|
||||||
>=net-misc/curl-7.9.7
|
|
||||||
)
|
|
||||||
dbus? ( >=dev-libs/dbus-glib-0.60 )
|
|
||||||
gdata? ( >=dev-libs/libgdata-0.17.2 )
|
|
||||||
gnutls? ( >=net-libs/gnutls-3.0 )
|
|
||||||
gtk3? ( x11-libs/gtk+:3 )
|
|
||||||
!gtk3? ( >=x11-libs/gtk+-2.20:2 )
|
|
||||||
imap? ( >=net-libs/libetpan-0.57 )
|
|
||||||
ldap? ( >=net-nds/openldap-2.0.7 )
|
|
||||||
nls? ( >=sys-devel/gettext-0.18 )
|
|
||||||
nntp? ( >=net-libs/libetpan-0.57 )
|
|
||||||
notification? (
|
|
||||||
dev-libs/glib:2
|
|
||||||
libcanberra? ( media-libs/libcanberra[gtk] )
|
|
||||||
libindicate? ( dev-libs/libindicate:3[gtk] )
|
|
||||||
libnotify? ( x11-libs/libnotify )
|
|
||||||
)
|
|
||||||
pda? ( >=app-pda/jpilot-0.99 )
|
|
||||||
pdf? ( app-text/poppler[cairo] )
|
|
||||||
pgp? ( >=app-crypt/gpgme-1.0.0 )
|
|
||||||
session? (
|
|
||||||
x11-libs/libICE
|
|
||||||
x11-libs/libSM
|
|
||||||
)
|
|
||||||
smime? ( >=app-crypt/gpgme-1.0.0 )
|
|
||||||
spam-report? ( >=net-misc/curl-7.9.7 )
|
|
||||||
spell? ( >=app-text/enchant-1.0.0 )
|
|
||||||
startup-notification? ( x11-libs/startup-notification )
|
|
||||||
svg? ( >=gnome-base/librsvg-2.40.5 )
|
|
||||||
valgrind? ( dev-util/valgrind )
|
|
||||||
webkit? ( net-libs/webkit-gtk:2 )
|
|
||||||
"
|
|
||||||
|
|
||||||
DEPEND="${COMMONDEPEND}
|
|
||||||
app-arch/xz-utils
|
|
||||||
virtual/pkgconfig
|
|
||||||
xface? ( >=media-libs/compface-1.4 )"
|
|
||||||
|
|
||||||
RDEPEND="${COMMONDEPEND}
|
|
||||||
app-misc/mime-types
|
|
||||||
x11-misc/shared-mime-info
|
|
||||||
clamav? ( app-antivirus/clamav )
|
|
||||||
networkmanager? ( net-misc/networkmanager )
|
|
||||||
pdf? ( app-text/ghostscript-gpl )
|
|
||||||
perl? ( dev-lang/perl:= )
|
|
||||||
python? (
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
>=dev-python/pygtk-2.10.3
|
|
||||||
)
|
|
||||||
rss? (
|
|
||||||
dev-libs/libxml2
|
|
||||||
net-misc/curl
|
|
||||||
)"
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
use python && python-single-r1_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# Don't use libsoup-gnome (bug #565924)
|
|
||||||
export HAVE_LIBSOUP_GNOME=no
|
|
||||||
|
|
||||||
local myeconfargs=(
|
|
||||||
--disable-bsfilter-plugin
|
|
||||||
--disable-fancy-plugin
|
|
||||||
--disable-generic-umpc
|
|
||||||
--enable-acpi_notifier-plugin
|
|
||||||
--enable-address_keeper-plugin
|
|
||||||
--enable-alternate-addressbook
|
|
||||||
--enable-att_remover-plugin
|
|
||||||
--enable-attachwarner-plugin
|
|
||||||
--enable-fetchinfo-plugin
|
|
||||||
--enable-mailmbox-plugin
|
|
||||||
--enable-newmail-plugin
|
|
||||||
--enable-tnef_parse-plugin
|
|
||||||
--with-password-encryption=$(usex gnutls gnutls old)
|
|
||||||
$(use_enable archive archive-plugin)
|
|
||||||
$(use_enable bogofilter bogofilter-plugin)
|
|
||||||
$(use_enable calendar vcalendar-plugin)
|
|
||||||
$(use_enable clamav clamd-plugin)
|
|
||||||
$(use_enable dbus)
|
|
||||||
$(use_enable debug crash-dialog)
|
|
||||||
$(use_enable doc manual)
|
|
||||||
$(use_enable gdata gdata-plugin)
|
|
||||||
$(use_enable gnutls)
|
|
||||||
$(use_enable gtk3)
|
|
||||||
$(use_enable ipv6)
|
|
||||||
$(use_enable ldap)
|
|
||||||
$(use_enable networkmanager)
|
|
||||||
$(use_enable nls)
|
|
||||||
$(use_enable notification notification-plugin)
|
|
||||||
$(use_enable pda jpilot)
|
|
||||||
$(use_enable pdf pdf_viewer-plugin)
|
|
||||||
$(use_enable perl perl-plugin)
|
|
||||||
$(use_enable pgp pgpcore-plugin)
|
|
||||||
$(use_enable pgp pgpinline-plugin)
|
|
||||||
$(use_enable pgp pgpmime-plugin)
|
|
||||||
$(use_enable python python-plugin)
|
|
||||||
$(use_enable rss rssyl-plugin)
|
|
||||||
$(use_enable session libsm)
|
|
||||||
$(use_enable sieve managesieve-plugin)
|
|
||||||
$(use_enable smime smime-plugin)
|
|
||||||
$(use_enable spam-report spam_report-plugin)
|
|
||||||
$(use_enable spamassassin spamassassin-plugin)
|
|
||||||
$(use_enable spell enchant)
|
|
||||||
$(use_enable startup-notification)
|
|
||||||
$(use_enable svg)
|
|
||||||
$(use_enable valgrind valgrind)
|
|
||||||
$(use_enable webkit fancy-plugin)
|
|
||||||
$(use_enable xface compface)
|
|
||||||
)
|
|
||||||
|
|
||||||
# libetpan is needed if user wants nntp or imap functionality
|
|
||||||
if use imap || use nntp ; then
|
|
||||||
myeconfargs+=( --enable-libetpan )
|
|
||||||
else
|
|
||||||
myeconfargs+=( --disable-libetpan )
|
|
||||||
fi
|
|
||||||
|
|
||||||
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
local DOCS=( AUTHORS ChangeLog* INSTALL* NEWS README* TODO* )
|
|
||||||
default
|
|
||||||
|
|
||||||
# Makefile install claws-mail.png in /usr/share/icons/hicolor/48x48/apps
|
|
||||||
# => also install it in /usr/share/pixmaps for other desktop envs
|
|
||||||
# => also install higher resolution icons in /usr/share/icons/hicolor/...
|
|
||||||
insinto /usr/share/pixmaps
|
|
||||||
doins ${PN}.png
|
|
||||||
local size
|
|
||||||
for size in 64 128 ; do
|
|
||||||
newicon -s ${size} ${PN}-${size}x${size}.png ${PN}.png
|
|
||||||
done
|
|
||||||
|
|
||||||
docinto tools
|
|
||||||
dodoc tools/README*
|
|
||||||
|
|
||||||
domenu ${PN}.desktop
|
|
||||||
|
|
||||||
einfo "Installing extra tools"
|
|
||||||
cd "${S}"/tools
|
|
||||||
exeinto /usr/$(get_libdir)/${PN}/tools
|
|
||||||
doexe *.pl *.py *.conf *.sh
|
|
||||||
doexe tb2claws-mail update-po uudec uuooffice
|
|
||||||
|
|
||||||
# kill useless files
|
|
||||||
rm -f "${ED%/}"/usr/lib*/claws-mail/plugins/*.{a,la}
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_preinst() {
|
|
||||||
gnome2_icon_savelist
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
ewarn "When upgrading from version 3.9.0 or below some changes have happened:"
|
|
||||||
ewarn "- There are no individual plugins in mail-client/claws-mail-* anymore, but they are integrated mostly controlled through USE flags"
|
|
||||||
ewarn "- Plugins with no special dependencies are just built and can be loaded through the interface"
|
|
||||||
ewarn "- The gtkhtml2, dillo and trayicon plugins have been dropped entirely"
|
|
||||||
gnome2_icon_cache_update
|
|
||||||
xdg_desktop_database_update
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
gnome2_icon_cache_update
|
|
||||||
xdg_desktop_database_update
|
|
||||||
}
|
|
@ -1,215 +0,0 @@
|
|||||||
# Copyright 1999-2018 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python2_7 )
|
|
||||||
inherit autotools gnome2-utils python-single-r1 xdg-utils
|
|
||||||
|
|
||||||
DESCRIPTION="An email client (and news reader) based on GTK+"
|
|
||||||
HOMEPAGE="https://www.claws-mail.org/"
|
|
||||||
|
|
||||||
if [[ "${PV}" == 9999 ]] ; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="git://git.claws-mail.org/claws.git"
|
|
||||||
else
|
|
||||||
SRC_URI="https://www.claws-mail.org/download.php?file=releases/${P}.tar.xz"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
|
|
||||||
fi
|
|
||||||
|
|
||||||
SLOT="0"
|
|
||||||
LICENSE="GPL-3"
|
|
||||||
|
|
||||||
IUSE="archive bogofilter calendar clamav dbus debug dillo doc gdata +gnutls gtk3 +imap ipv6 ldap +libcanberra +libindicate +libnotify networkmanager nls nntp +notification pda pdf perl +pgp python rss session sieve smime spamassassin spam-report spell startup-notification svg valgrind webkit xface"
|
|
||||||
REQUIRED_USE="libcanberra? ( notification )
|
|
||||||
libindicate? ( notification )
|
|
||||||
libnotify? ( notification )
|
|
||||||
networkmanager? ( dbus )
|
|
||||||
python? ( ${PYTHON_REQUIRED_USE} )
|
|
||||||
smime? ( pgp )"
|
|
||||||
|
|
||||||
COMMONDEPEND="
|
|
||||||
dev-libs/nettle
|
|
||||||
net-mail/ytnef
|
|
||||||
archive? (
|
|
||||||
app-arch/libarchive
|
|
||||||
>=net-misc/curl-7.9.7
|
|
||||||
)
|
|
||||||
bogofilter? ( mail-filter/bogofilter )
|
|
||||||
calendar? (
|
|
||||||
>=dev-libs/libical-2.0.0:=
|
|
||||||
>=net-misc/curl-7.9.7
|
|
||||||
)
|
|
||||||
dbus? ( >=dev-libs/dbus-glib-0.60 )
|
|
||||||
dillo? ( www-client/dillo )
|
|
||||||
gdata? ( >=dev-libs/libgdata-0.17.2 )
|
|
||||||
gnutls? ( >=net-libs/gnutls-3.0 )
|
|
||||||
gtk3? ( x11-libs/gtk+:3 )
|
|
||||||
!gtk3? ( >=x11-libs/gtk+-2.24:2 )
|
|
||||||
imap? ( >=net-libs/libetpan-0.57 )
|
|
||||||
ldap? ( >=net-nds/openldap-2.0.7 )
|
|
||||||
nls? ( >=sys-devel/gettext-0.18 )
|
|
||||||
nntp? ( >=net-libs/libetpan-0.57 )
|
|
||||||
notification? (
|
|
||||||
dev-libs/glib:2
|
|
||||||
libcanberra? ( media-libs/libcanberra[gtk] )
|
|
||||||
libindicate? ( dev-libs/libindicate:3[gtk] )
|
|
||||||
libnotify? ( x11-libs/libnotify )
|
|
||||||
)
|
|
||||||
pda? ( >=app-pda/jpilot-0.99 )
|
|
||||||
pdf? ( app-text/poppler[cairo] )
|
|
||||||
pgp? ( >=app-crypt/gpgme-1.0.0 )
|
|
||||||
session? (
|
|
||||||
x11-libs/libICE
|
|
||||||
x11-libs/libSM
|
|
||||||
)
|
|
||||||
smime? ( >=app-crypt/gpgme-1.0.0 )
|
|
||||||
spam-report? ( >=net-misc/curl-7.9.7 )
|
|
||||||
spell? ( >=app-text/enchant-1.0.0 )
|
|
||||||
startup-notification? ( x11-libs/startup-notification )
|
|
||||||
svg? ( >=gnome-base/librsvg-2.40.5 )
|
|
||||||
valgrind? ( dev-util/valgrind )
|
|
||||||
webkit? ( net-libs/webkit-gtk:2 )
|
|
||||||
"
|
|
||||||
|
|
||||||
DEPEND="${COMMONDEPEND}
|
|
||||||
app-arch/xz-utils
|
|
||||||
virtual/pkgconfig
|
|
||||||
xface? ( >=media-libs/compface-1.4 )"
|
|
||||||
|
|
||||||
RDEPEND="${COMMONDEPEND}
|
|
||||||
app-misc/mime-types
|
|
||||||
x11-misc/shared-mime-info
|
|
||||||
clamav? ( app-antivirus/clamav )
|
|
||||||
networkmanager? ( net-misc/networkmanager )
|
|
||||||
pdf? ( app-text/ghostscript-gpl )
|
|
||||||
perl? ( dev-lang/perl:= )
|
|
||||||
python? (
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
>=dev-python/pygtk-2.10.3
|
|
||||||
)
|
|
||||||
rss? (
|
|
||||||
dev-libs/libxml2
|
|
||||||
net-misc/curl
|
|
||||||
)"
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
use python && python-single-r1_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# Don't use libsoup-gnome (bug #565924)
|
|
||||||
export HAVE_LIBSOUP_GNOME=no
|
|
||||||
|
|
||||||
local myeconfargs=(
|
|
||||||
--disable-bsfilter-plugin
|
|
||||||
--disable-fancy-plugin
|
|
||||||
--disable-generic-umpc
|
|
||||||
--enable-acpi_notifier-plugin
|
|
||||||
--enable-address_keeper-plugin
|
|
||||||
--enable-alternate-addressbook
|
|
||||||
--enable-att_remover-plugin
|
|
||||||
--enable-attachwarner-plugin
|
|
||||||
--enable-fetchinfo-plugin
|
|
||||||
--enable-mailmbox-plugin
|
|
||||||
--enable-newmail-plugin
|
|
||||||
--enable-tnef_parse-plugin
|
|
||||||
--with-password-encryption=$(usex gnutls gnutls old)
|
|
||||||
$(use_enable archive archive-plugin)
|
|
||||||
$(use_enable bogofilter bogofilter-plugin)
|
|
||||||
$(use_enable calendar vcalendar-plugin)
|
|
||||||
$(use_enable clamav clamd-plugin)
|
|
||||||
$(use_enable dbus)
|
|
||||||
$(use_enable debug crash-dialog)
|
|
||||||
$(use_enable dillo dillo-plugin)
|
|
||||||
$(use_enable doc manual)
|
|
||||||
$(use_enable gdata gdata-plugin)
|
|
||||||
$(use_enable gnutls)
|
|
||||||
$(use_enable gtk3)
|
|
||||||
$(use_enable ipv6)
|
|
||||||
$(use_enable ldap)
|
|
||||||
$(use_enable networkmanager)
|
|
||||||
$(use_enable nls)
|
|
||||||
$(use_enable notification notification-plugin)
|
|
||||||
$(use_enable pda jpilot)
|
|
||||||
$(use_enable pdf pdf_viewer-plugin)
|
|
||||||
$(use_enable perl perl-plugin)
|
|
||||||
$(use_enable pgp pgpcore-plugin)
|
|
||||||
$(use_enable pgp pgpinline-plugin)
|
|
||||||
$(use_enable pgp pgpmime-plugin)
|
|
||||||
$(use_enable python python-plugin)
|
|
||||||
$(use_enable rss rssyl-plugin)
|
|
||||||
$(use_enable session libsm)
|
|
||||||
$(use_enable sieve managesieve-plugin)
|
|
||||||
$(use_enable smime smime-plugin)
|
|
||||||
$(use_enable spam-report spam_report-plugin)
|
|
||||||
$(use_enable spamassassin spamassassin-plugin)
|
|
||||||
$(use_enable spell enchant)
|
|
||||||
$(use_enable startup-notification)
|
|
||||||
$(use_enable svg)
|
|
||||||
$(use_enable valgrind valgrind)
|
|
||||||
$(use_enable webkit fancy-plugin)
|
|
||||||
$(use_enable xface compface)
|
|
||||||
)
|
|
||||||
|
|
||||||
# libetpan is needed if user wants nntp or imap functionality
|
|
||||||
if use imap || use nntp ; then
|
|
||||||
myeconfargs+=( --enable-libetpan )
|
|
||||||
else
|
|
||||||
myeconfargs+=( --disable-libetpan )
|
|
||||||
fi
|
|
||||||
|
|
||||||
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
local DOCS=( AUTHORS ChangeLog* INSTALL* NEWS README* TODO* )
|
|
||||||
default
|
|
||||||
|
|
||||||
# Makefile install claws-mail.png in /usr/share/icons/hicolor/48x48/apps
|
|
||||||
# => also install it in /usr/share/pixmaps for other desktop envs
|
|
||||||
# => also install higher resolution icons in /usr/share/icons/hicolor/...
|
|
||||||
insinto /usr/share/pixmaps
|
|
||||||
doins ${PN}.png
|
|
||||||
local size
|
|
||||||
for size in 64 128 ; do
|
|
||||||
newicon -s ${size} ${PN}-${size}x${size}.png ${PN}.png
|
|
||||||
done
|
|
||||||
|
|
||||||
docinto tools
|
|
||||||
dodoc tools/README*
|
|
||||||
|
|
||||||
domenu ${PN}.desktop
|
|
||||||
|
|
||||||
einfo "Installing extra tools"
|
|
||||||
cd "${S}"/tools || die
|
|
||||||
exeinto /usr/$(get_libdir)/${PN}/tools
|
|
||||||
doexe *.pl *.py *.conf *.sh
|
|
||||||
doexe tb2claws-mail update-po uudec uuooffice
|
|
||||||
|
|
||||||
# kill useless files
|
|
||||||
rm -f "${ED%/}"/usr/lib*/claws-mail/plugins/*.{a,la}
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_preinst() {
|
|
||||||
gnome2_icon_savelist
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
ewarn "When upgrading from version 3.9.0 or below some changes have happened:"
|
|
||||||
ewarn "- There are no individual plugins in mail-client/claws-mail-* anymore, but they are integrated mostly controlled through USE flags"
|
|
||||||
ewarn "- Plugins with no special dependencies are just built and can be loaded through the interface"
|
|
||||||
ewarn "- The gtkhtml2 and trayicon plugins have been dropped entirely"
|
|
||||||
gnome2_icon_cache_update
|
|
||||||
xdg_desktop_database_update
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
gnome2_icon_cache_update
|
|
||||||
xdg_desktop_database_update
|
|
||||||
}
|
|
@ -1,219 +0,0 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python2_7 )
|
|
||||||
inherit autotools desktop python-single-r1 xdg
|
|
||||||
|
|
||||||
DESCRIPTION="An email client (and news reader) based on GTK+"
|
|
||||||
HOMEPAGE="https://www.claws-mail.org/"
|
|
||||||
|
|
||||||
if [[ "${PV}" == 9999 ]] ; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="git://git.claws-mail.org/claws.git"
|
|
||||||
else
|
|
||||||
SRC_URI="https://www.claws-mail.org/download.php?file=releases/${P}.tar.xz"
|
|
||||||
KEYWORDS="alpha amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc x86"
|
|
||||||
fi
|
|
||||||
|
|
||||||
SLOT="0"
|
|
||||||
LICENSE="GPL-3"
|
|
||||||
|
|
||||||
IUSE="archive bogofilter calendar clamav dbus debug dillo doc gdata +gnutls +imap ipv6 ldap +libcanberra +libindicate +libnotify networkmanager nls nntp +notification pda pdf perl +pgp python rss session sieve smime spamassassin spam-report spell startup-notification svg valgrind webkit xface"
|
|
||||||
REQUIRED_USE="libcanberra? ( notification )
|
|
||||||
libindicate? ( notification )
|
|
||||||
libnotify? ( notification )
|
|
||||||
networkmanager? ( dbus )
|
|
||||||
python? ( ${PYTHON_REQUIRED_USE} )
|
|
||||||
smime? ( pgp )"
|
|
||||||
|
|
||||||
COMMONDEPEND="
|
|
||||||
dev-libs/nettle
|
|
||||||
net-mail/ytnef
|
|
||||||
sys-libs/zlib:=
|
|
||||||
x11-libs/cairo
|
|
||||||
x11-libs/gdk-pixbuf:2[jpeg]
|
|
||||||
>=x11-libs/gtk+-2.24:2
|
|
||||||
x11-libs/libX11
|
|
||||||
x11-libs/pango
|
|
||||||
archive? (
|
|
||||||
app-arch/libarchive
|
|
||||||
>=net-misc/curl-7.9.7
|
|
||||||
)
|
|
||||||
bogofilter? ( mail-filter/bogofilter )
|
|
||||||
calendar? (
|
|
||||||
>=dev-libs/libical-2.0.0:=
|
|
||||||
>=net-misc/curl-7.9.7
|
|
||||||
)
|
|
||||||
dbus? (
|
|
||||||
>=dev-libs/dbus-glib-0.60
|
|
||||||
sys-apps/dbus
|
|
||||||
)
|
|
||||||
gdata? ( >=dev-libs/libgdata-0.17.2 )
|
|
||||||
dillo? ( www-client/dillo )
|
|
||||||
gnutls? ( >=net-libs/gnutls-3.0 )
|
|
||||||
imap? ( >=net-libs/libetpan-0.57 )
|
|
||||||
ldap? ( >=net-nds/openldap-2.0.7 )
|
|
||||||
nls? ( >=sys-devel/gettext-0.18 )
|
|
||||||
nntp? ( >=net-libs/libetpan-0.57 )
|
|
||||||
notification? (
|
|
||||||
dev-libs/glib:2
|
|
||||||
libcanberra? ( media-libs/libcanberra[gtk] )
|
|
||||||
libindicate? ( dev-libs/libindicate:3[gtk] )
|
|
||||||
libnotify? ( x11-libs/libnotify )
|
|
||||||
)
|
|
||||||
pda? ( >=app-pda/jpilot-0.99 )
|
|
||||||
pdf? ( app-text/poppler[cairo] )
|
|
||||||
pgp? ( >=app-crypt/gpgme-1.0.0 )
|
|
||||||
session? (
|
|
||||||
x11-libs/libICE
|
|
||||||
x11-libs/libSM
|
|
||||||
)
|
|
||||||
smime? ( >=app-crypt/gpgme-1.0.0 )
|
|
||||||
spam-report? ( >=net-misc/curl-7.9.7 )
|
|
||||||
spell? ( >=app-text/enchant-1.0.0 )
|
|
||||||
startup-notification? ( x11-libs/startup-notification )
|
|
||||||
svg? ( >=gnome-base/librsvg-2.40.5 )
|
|
||||||
valgrind? ( dev-util/valgrind )
|
|
||||||
webkit? ( net-libs/webkit-gtk:2 )
|
|
||||||
"
|
|
||||||
|
|
||||||
DEPEND="${COMMONDEPEND}
|
|
||||||
app-arch/xz-utils
|
|
||||||
virtual/pkgconfig
|
|
||||||
xface? ( >=media-libs/compface-1.4 )"
|
|
||||||
|
|
||||||
RDEPEND="${COMMONDEPEND}
|
|
||||||
app-misc/mime-types
|
|
||||||
x11-misc/shared-mime-info
|
|
||||||
clamav? ( app-antivirus/clamav )
|
|
||||||
networkmanager? ( net-misc/networkmanager )
|
|
||||||
pdf? ( app-text/ghostscript-gpl )
|
|
||||||
perl? ( dev-lang/perl:= )
|
|
||||||
python? (
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
>=dev-python/pygtk-2.10.3
|
|
||||||
)
|
|
||||||
rss? (
|
|
||||||
dev-libs/libxml2
|
|
||||||
net-misc/curl
|
|
||||||
)"
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
use python && python-single-r1_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
xdg_src_prepare
|
|
||||||
eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# Don't use libsoup-gnome (bug #565924)
|
|
||||||
export HAVE_LIBSOUP_GNOME=no
|
|
||||||
|
|
||||||
local myeconfargs=(
|
|
||||||
--disable-bsfilter-plugin
|
|
||||||
--disable-fancy-plugin
|
|
||||||
--disable-generic-umpc
|
|
||||||
--enable-acpi_notifier-plugin
|
|
||||||
--enable-address_keeper-plugin
|
|
||||||
--enable-alternate-addressbook
|
|
||||||
--enable-att_remover-plugin
|
|
||||||
--enable-attachwarner-plugin
|
|
||||||
--enable-fetchinfo-plugin
|
|
||||||
--enable-mailmbox-plugin
|
|
||||||
--enable-newmail-plugin
|
|
||||||
--enable-tnef_parse-plugin
|
|
||||||
--with-password-encryption=$(usex gnutls gnutls old)
|
|
||||||
$(use_enable archive archive-plugin)
|
|
||||||
$(use_enable bogofilter bogofilter-plugin)
|
|
||||||
$(use_enable calendar vcalendar-plugin)
|
|
||||||
$(use_enable clamav clamd-plugin)
|
|
||||||
$(use_enable dbus)
|
|
||||||
$(use_enable debug crash-dialog)
|
|
||||||
$(use_enable dillo dillo-plugin)
|
|
||||||
$(use_enable doc manual)
|
|
||||||
$(use_enable gdata gdata-plugin)
|
|
||||||
$(use_enable gnutls)
|
|
||||||
$(use_enable ipv6)
|
|
||||||
$(use_enable ldap)
|
|
||||||
$(use_enable networkmanager)
|
|
||||||
$(use_enable nls)
|
|
||||||
$(use_enable notification notification-plugin)
|
|
||||||
$(use_enable pda jpilot)
|
|
||||||
$(use_enable pdf pdf_viewer-plugin)
|
|
||||||
$(use_enable perl perl-plugin)
|
|
||||||
$(use_enable pgp pgpcore-plugin)
|
|
||||||
$(use_enable pgp pgpinline-plugin)
|
|
||||||
$(use_enable pgp pgpmime-plugin)
|
|
||||||
$(use_enable python python-plugin)
|
|
||||||
$(use_enable rss rssyl-plugin)
|
|
||||||
$(use_enable session libsm)
|
|
||||||
$(use_enable sieve managesieve-plugin)
|
|
||||||
$(use_enable smime smime-plugin)
|
|
||||||
$(use_enable spam-report spam_report-plugin)
|
|
||||||
$(use_enable spamassassin spamassassin-plugin)
|
|
||||||
$(use_enable spell enchant)
|
|
||||||
$(use_enable startup-notification)
|
|
||||||
$(use_enable svg)
|
|
||||||
$(use_enable valgrind valgrind)
|
|
||||||
$(use_enable webkit fancy-plugin)
|
|
||||||
$(use_enable xface compface)
|
|
||||||
)
|
|
||||||
|
|
||||||
# libetpan is needed if user wants nntp or imap functionality
|
|
||||||
if use imap || use nntp ; then
|
|
||||||
myeconfargs+=( --enable-libetpan )
|
|
||||||
else
|
|
||||||
myeconfargs+=( --disable-libetpan )
|
|
||||||
fi
|
|
||||||
|
|
||||||
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
local DOCS=( AUTHORS ChangeLog* INSTALL* NEWS README* TODO* )
|
|
||||||
default
|
|
||||||
|
|
||||||
# Makefile install claws-mail.png in /usr/share/icons/hicolor/48x48/apps
|
|
||||||
# => also install it in /usr/share/pixmaps for other desktop envs
|
|
||||||
# => also install higher resolution icons in /usr/share/icons/hicolor/...
|
|
||||||
insinto /usr/share/pixmaps
|
|
||||||
doins ${PN}.png
|
|
||||||
local size
|
|
||||||
for size in 64 128 ; do
|
|
||||||
newicon -s ${size} ${PN}-${size}x${size}.png ${PN}.png
|
|
||||||
done
|
|
||||||
|
|
||||||
docinto tools
|
|
||||||
dodoc tools/README*
|
|
||||||
|
|
||||||
domenu ${PN}.desktop
|
|
||||||
|
|
||||||
einfo "Installing extra tools"
|
|
||||||
cd "${S}"/tools || die
|
|
||||||
exeinto /usr/$(get_libdir)/${PN}/tools
|
|
||||||
doexe *.pl *.py *.conf *.sh
|
|
||||||
doexe tb2claws-mail update-po uudec uuooffice
|
|
||||||
|
|
||||||
# kill useless files
|
|
||||||
rm -f "${ED%/}"/usr/lib*/claws-mail/plugins/*.{a,la}
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_preinst() {
|
|
||||||
xdg_pkg_preinst
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
ewarn "When upgrading from version 3.9.0 or below some changes have happened:"
|
|
||||||
ewarn "- There are no individual plugins in mail-client/claws-mail-* anymore, but they are integrated mostly controlled through USE flags"
|
|
||||||
ewarn "- Plugins with no special dependencies are just built and can be loaded through the interface"
|
|
||||||
ewarn "- The gtkhtml2 and trayicon plugins have been dropped entirely"
|
|
||||||
xdg_pkg_postinst
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
xdg_pkg_postrm
|
|
||||||
}
|
|
@ -1,227 +0,0 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python2_7 )
|
|
||||||
inherit autotools desktop python-single-r1 xdg
|
|
||||||
|
|
||||||
DESCRIPTION="An email client (and news reader) based on GTK+"
|
|
||||||
HOMEPAGE="https://www.claws-mail.org/"
|
|
||||||
|
|
||||||
if [[ "${PV}" == 9999 ]] ; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="git://git.claws-mail.org/claws.git"
|
|
||||||
else
|
|
||||||
SRC_URI="https://www.claws-mail.org/download.php?file=releases/${P}.tar.xz"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
|
|
||||||
fi
|
|
||||||
|
|
||||||
SLOT="0"
|
|
||||||
LICENSE="GPL-3"
|
|
||||||
|
|
||||||
IUSE="archive bogofilter calendar clamav dbus debug dillo doc gdata +gnutls +imap ipv6 ldap +libcanberra +libindicate +libnotify networkmanager nls nntp +notification pda pdf perl +pgp python rss session sieve smime spamassassin spam-report spell startup-notification svg valgrind webkit xface"
|
|
||||||
|
|
||||||
REQUIRED_USE="libcanberra? ( notification )
|
|
||||||
libindicate? ( notification )
|
|
||||||
libnotify? ( notification )
|
|
||||||
networkmanager? ( dbus )
|
|
||||||
python? ( ${PYTHON_REQUIRED_USE} )
|
|
||||||
smime? ( pgp )"
|
|
||||||
|
|
||||||
COMMONDEPEND="
|
|
||||||
dev-libs/nettle:=
|
|
||||||
net-mail/ytnef
|
|
||||||
sys-libs/zlib:=
|
|
||||||
x11-libs/cairo
|
|
||||||
x11-libs/gdk-pixbuf:2[jpeg]
|
|
||||||
>=x11-libs/gtk+-2.24:2
|
|
||||||
x11-libs/libX11
|
|
||||||
x11-libs/pango
|
|
||||||
archive? (
|
|
||||||
app-arch/libarchive
|
|
||||||
>=net-misc/curl-7.9.7
|
|
||||||
)
|
|
||||||
bogofilter? ( mail-filter/bogofilter )
|
|
||||||
calendar? (
|
|
||||||
>=dev-libs/libical-2.0.0:=
|
|
||||||
>=net-misc/curl-7.9.7
|
|
||||||
)
|
|
||||||
dbus? (
|
|
||||||
>=dev-libs/dbus-glib-0.60
|
|
||||||
sys-apps/dbus
|
|
||||||
)
|
|
||||||
gdata? ( >=dev-libs/libgdata-0.17.2 )
|
|
||||||
dillo? ( www-client/dillo )
|
|
||||||
gnutls? ( >=net-libs/gnutls-3.0 )
|
|
||||||
imap? ( >=net-libs/libetpan-0.57 )
|
|
||||||
ldap? ( >=net-nds/openldap-2.0.7 )
|
|
||||||
nls? ( >=sys-devel/gettext-0.18 )
|
|
||||||
nntp? ( >=net-libs/libetpan-0.57 )
|
|
||||||
notification? (
|
|
||||||
dev-libs/glib:2
|
|
||||||
libcanberra? ( media-libs/libcanberra[gtk] )
|
|
||||||
libindicate? ( dev-libs/libindicate:3[gtk] )
|
|
||||||
libnotify? ( x11-libs/libnotify )
|
|
||||||
)
|
|
||||||
pda? ( >=app-pda/jpilot-0.99 )
|
|
||||||
pdf? ( app-text/poppler[cairo] )
|
|
||||||
pgp? ( >=app-crypt/gpgme-1.0.0 )
|
|
||||||
session? (
|
|
||||||
x11-libs/libICE
|
|
||||||
x11-libs/libSM
|
|
||||||
)
|
|
||||||
smime? ( >=app-crypt/gpgme-1.0.0 )
|
|
||||||
spam-report? ( >=net-misc/curl-7.9.7 )
|
|
||||||
spell? ( >=app-text/enchant-1.0.0:= )
|
|
||||||
startup-notification? ( x11-libs/startup-notification )
|
|
||||||
svg? ( >=gnome-base/librsvg-2.40.5 )
|
|
||||||
valgrind? ( dev-util/valgrind )
|
|
||||||
webkit? ( net-libs/webkit-gtk:2 )
|
|
||||||
"
|
|
||||||
|
|
||||||
DEPEND="${COMMONDEPEND}
|
|
||||||
xface? ( >=media-libs/compface-1.4 )
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
app-arch/xz-utils
|
|
||||||
virtual/pkgconfig
|
|
||||||
"
|
|
||||||
RDEPEND="${COMMONDEPEND}
|
|
||||||
app-misc/mime-types
|
|
||||||
x11-misc/shared-mime-info
|
|
||||||
clamav? ( app-antivirus/clamav )
|
|
||||||
networkmanager? ( net-misc/networkmanager )
|
|
||||||
pdf? ( app-text/ghostscript-gpl )
|
|
||||||
perl? ( dev-lang/perl:= )
|
|
||||||
python? (
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
>=dev-python/pygtk-2.10.3
|
|
||||||
)
|
|
||||||
rss? (
|
|
||||||
dev-libs/libxml2
|
|
||||||
net-misc/curl
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/${P}-libetpan_pkgconfig.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
use python && python-single-r1_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
xdg_src_prepare
|
|
||||||
eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# Don't use libsoup-gnome (bug #565924)
|
|
||||||
export HAVE_LIBSOUP_GNOME=no
|
|
||||||
|
|
||||||
local myeconfargs=(
|
|
||||||
--disable-bsfilter-plugin
|
|
||||||
--disable-fancy-plugin
|
|
||||||
--disable-generic-umpc
|
|
||||||
--enable-acpi_notifier-plugin
|
|
||||||
--enable-address_keeper-plugin
|
|
||||||
--enable-alternate-addressbook
|
|
||||||
--enable-att_remover-plugin
|
|
||||||
--enable-attachwarner-plugin
|
|
||||||
--enable-fetchinfo-plugin
|
|
||||||
--enable-mailmbox-plugin
|
|
||||||
--enable-newmail-plugin
|
|
||||||
--enable-tnef_parse-plugin
|
|
||||||
--with-password-encryption=$(usex gnutls gnutls old)
|
|
||||||
$(use_enable archive archive-plugin)
|
|
||||||
$(use_enable bogofilter bogofilter-plugin)
|
|
||||||
$(use_enable calendar vcalendar-plugin)
|
|
||||||
$(use_enable clamav clamd-plugin)
|
|
||||||
$(use_enable dbus)
|
|
||||||
$(use_enable debug crash-dialog)
|
|
||||||
$(use_enable dillo dillo-plugin)
|
|
||||||
$(use_enable doc manual)
|
|
||||||
$(use_enable gdata gdata-plugin)
|
|
||||||
$(use_enable gnutls)
|
|
||||||
$(use_enable ipv6)
|
|
||||||
$(use_enable ldap)
|
|
||||||
$(use_enable networkmanager)
|
|
||||||
$(use_enable nls)
|
|
||||||
$(use_enable notification notification-plugin)
|
|
||||||
$(use_enable pda jpilot)
|
|
||||||
$(use_enable pdf pdf_viewer-plugin)
|
|
||||||
$(use_enable perl perl-plugin)
|
|
||||||
$(use_enable pgp pgpcore-plugin)
|
|
||||||
$(use_enable pgp pgpinline-plugin)
|
|
||||||
$(use_enable pgp pgpmime-plugin)
|
|
||||||
$(use_enable python python-plugin)
|
|
||||||
$(use_enable rss rssyl-plugin)
|
|
||||||
$(use_enable session libsm)
|
|
||||||
$(use_enable sieve managesieve-plugin)
|
|
||||||
$(use_enable smime smime-plugin)
|
|
||||||
$(use_enable spam-report spam_report-plugin)
|
|
||||||
$(use_enable spamassassin spamassassin-plugin)
|
|
||||||
$(use_enable spell enchant)
|
|
||||||
$(use_enable startup-notification)
|
|
||||||
$(use_enable svg)
|
|
||||||
$(use_enable valgrind valgrind)
|
|
||||||
$(use_enable webkit fancy-plugin)
|
|
||||||
$(use_enable xface compface)
|
|
||||||
)
|
|
||||||
|
|
||||||
# libetpan is needed if user wants nntp or imap functionality
|
|
||||||
if use imap || use nntp ; then
|
|
||||||
myeconfargs+=( --enable-libetpan )
|
|
||||||
else
|
|
||||||
myeconfargs+=( --disable-libetpan )
|
|
||||||
fi
|
|
||||||
|
|
||||||
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
local DOCS=( AUTHORS ChangeLog* INSTALL* NEWS README* TODO* )
|
|
||||||
default
|
|
||||||
|
|
||||||
# Makefile install claws-mail.png in /usr/share/icons/hicolor/48x48/apps
|
|
||||||
# => also install it in /usr/share/pixmaps for other desktop envs
|
|
||||||
# => also install higher resolution icons in /usr/share/icons/hicolor/...
|
|
||||||
insinto /usr/share/pixmaps
|
|
||||||
doins ${PN}.png
|
|
||||||
local size
|
|
||||||
for size in 64 128 ; do
|
|
||||||
newicon -s ${size} ${PN}-${size}x${size}.png ${PN}.png
|
|
||||||
done
|
|
||||||
|
|
||||||
docinto tools
|
|
||||||
dodoc tools/README*
|
|
||||||
|
|
||||||
domenu ${PN}.desktop
|
|
||||||
|
|
||||||
einfo "Installing extra tools"
|
|
||||||
cd "${S}"/tools || die
|
|
||||||
exeinto /usr/$(get_libdir)/${PN}/tools
|
|
||||||
doexe *.pl *.py *.conf *.sh
|
|
||||||
doexe tb2claws-mail update-po uudec uuooffice
|
|
||||||
|
|
||||||
# kill useless files
|
|
||||||
rm -f "${ED%/}"/usr/lib*/claws-mail/plugins/*.{a,la}
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_preinst() {
|
|
||||||
xdg_pkg_preinst
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
ewarn "When upgrading from version 3.9.0 or below some changes have happened:"
|
|
||||||
ewarn "- There are no individual plugins in mail-client/claws-mail-* anymore, but they are integrated mostly controlled through USE flags"
|
|
||||||
ewarn "- Plugins with no special dependencies are just built and can be loaded through the interface"
|
|
||||||
ewarn "- The gtkhtml2 and trayicon plugins have been dropped entirely"
|
|
||||||
xdg_pkg_postinst
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
xdg_pkg_postrm
|
|
||||||
}
|
|
@ -1,226 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python2_7 )
|
|
||||||
inherit autotools desktop python-single-r1 xdg
|
|
||||||
|
|
||||||
DESCRIPTION="An email client (and news reader) based on GTK+"
|
|
||||||
HOMEPAGE="https://www.claws-mail.org/"
|
|
||||||
|
|
||||||
if [[ "${PV}" == 9999 ]] ; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="git://git.claws-mail.org/claws.git"
|
|
||||||
else
|
|
||||||
SRC_URI="https://www.claws-mail.org/download.php?file=releases/${P}.tar.xz"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
|
|
||||||
fi
|
|
||||||
|
|
||||||
SLOT="0"
|
|
||||||
LICENSE="GPL-3"
|
|
||||||
|
|
||||||
IUSE="archive bogofilter calendar clamav dbus debug dillo doc gdata +gnutls +imap ipv6 ldap +libcanberra +libindicate +libnotify litehtml networkmanager nls nntp +notification pda pdf perl +pgp python rss session sieve smime spamassassin spam-report spell startup-notification svg valgrind webkit xface"
|
|
||||||
|
|
||||||
REQUIRED_USE="libcanberra? ( notification )
|
|
||||||
libindicate? ( notification )
|
|
||||||
libnotify? ( notification )
|
|
||||||
networkmanager? ( dbus )
|
|
||||||
python? ( ${PYTHON_REQUIRED_USE} )
|
|
||||||
smime? ( pgp )"
|
|
||||||
|
|
||||||
COMMONDEPEND="
|
|
||||||
dev-libs/nettle:=
|
|
||||||
net-mail/ytnef
|
|
||||||
sys-libs/zlib:=
|
|
||||||
x11-libs/cairo
|
|
||||||
x11-libs/gdk-pixbuf:2[jpeg]
|
|
||||||
>=x11-libs/gtk+-2.24:2
|
|
||||||
x11-libs/libX11
|
|
||||||
x11-libs/pango
|
|
||||||
archive? (
|
|
||||||
app-arch/libarchive
|
|
||||||
>=net-misc/curl-7.9.7
|
|
||||||
)
|
|
||||||
bogofilter? ( mail-filter/bogofilter )
|
|
||||||
calendar? (
|
|
||||||
>=dev-libs/libical-2.0.0:=
|
|
||||||
>=net-misc/curl-7.9.7
|
|
||||||
)
|
|
||||||
dbus? (
|
|
||||||
>=dev-libs/dbus-glib-0.60
|
|
||||||
sys-apps/dbus
|
|
||||||
)
|
|
||||||
gdata? ( >=dev-libs/libgdata-0.17.2 )
|
|
||||||
dillo? ( www-client/dillo )
|
|
||||||
gnutls? ( >=net-libs/gnutls-3.0 )
|
|
||||||
imap? ( >=net-libs/libetpan-0.57 )
|
|
||||||
ldap? ( >=net-nds/openldap-2.0.7 )
|
|
||||||
litehtml? (
|
|
||||||
>=dev-libs/glib-2.36:2
|
|
||||||
>=dev-libs/gumbo-0.10
|
|
||||||
net-misc/curl
|
|
||||||
media-libs/fontconfig
|
|
||||||
)
|
|
||||||
nls? ( >=sys-devel/gettext-0.18 )
|
|
||||||
nntp? ( >=net-libs/libetpan-0.57 )
|
|
||||||
notification? (
|
|
||||||
dev-libs/glib:2
|
|
||||||
libcanberra? ( media-libs/libcanberra[gtk] )
|
|
||||||
libindicate? ( dev-libs/libindicate:3[gtk] )
|
|
||||||
libnotify? ( x11-libs/libnotify )
|
|
||||||
)
|
|
||||||
pda? ( >=app-pda/jpilot-0.99 )
|
|
||||||
pdf? ( app-text/poppler[cairo] )
|
|
||||||
pgp? ( >=app-crypt/gpgme-1.0.0 )
|
|
||||||
session? (
|
|
||||||
x11-libs/libICE
|
|
||||||
x11-libs/libSM
|
|
||||||
)
|
|
||||||
smime? ( >=app-crypt/gpgme-1.0.0 )
|
|
||||||
spam-report? ( >=net-misc/curl-7.9.7 )
|
|
||||||
spell? ( >=app-text/enchant-2.0.0:2= )
|
|
||||||
startup-notification? ( x11-libs/startup-notification )
|
|
||||||
svg? ( >=gnome-base/librsvg-2.40.5 )
|
|
||||||
valgrind? ( dev-util/valgrind )
|
|
||||||
webkit? ( net-libs/webkit-gtk:2 )
|
|
||||||
"
|
|
||||||
|
|
||||||
DEPEND="${COMMONDEPEND}
|
|
||||||
xface? ( >=media-libs/compface-1.4 )
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
app-arch/xz-utils
|
|
||||||
virtual/pkgconfig
|
|
||||||
"
|
|
||||||
RDEPEND="${COMMONDEPEND}
|
|
||||||
app-misc/mime-types
|
|
||||||
x11-misc/shared-mime-info
|
|
||||||
clamav? ( app-antivirus/clamav )
|
|
||||||
networkmanager? ( net-misc/networkmanager )
|
|
||||||
pdf? ( app-text/ghostscript-gpl )
|
|
||||||
perl? ( dev-lang/perl:= )
|
|
||||||
python? (
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
>=dev-python/pygtk-2.10.3
|
|
||||||
)
|
|
||||||
rss? (
|
|
||||||
dev-libs/libxml2
|
|
||||||
net-misc/curl
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}/${PN}-3.17.5-enchant-2_default.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
use python && python-single-r1_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
xdg_src_prepare
|
|
||||||
eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# Don't use libsoup-gnome (bug #565924)
|
|
||||||
export HAVE_LIBSOUP_GNOME=no
|
|
||||||
|
|
||||||
local myeconfargs=(
|
|
||||||
--disable-bsfilter-plugin
|
|
||||||
--disable-fancy-plugin
|
|
||||||
--disable-generic-umpc
|
|
||||||
--enable-acpi_notifier-plugin
|
|
||||||
--enable-address_keeper-plugin
|
|
||||||
--enable-alternate-addressbook
|
|
||||||
--enable-att_remover-plugin
|
|
||||||
--enable-attachwarner-plugin
|
|
||||||
--enable-fetchinfo-plugin
|
|
||||||
--enable-mailmbox-plugin
|
|
||||||
--enable-newmail-plugin
|
|
||||||
--enable-tnef_parse-plugin
|
|
||||||
--with-password-encryption=$(usex gnutls gnutls old)
|
|
||||||
$(use_enable archive archive-plugin)
|
|
||||||
$(use_enable bogofilter bogofilter-plugin)
|
|
||||||
$(use_enable calendar vcalendar-plugin)
|
|
||||||
$(use_enable clamav clamd-plugin)
|
|
||||||
$(use_enable dbus)
|
|
||||||
$(use_enable debug crash-dialog)
|
|
||||||
$(use_enable dillo dillo-plugin)
|
|
||||||
$(use_enable doc manual)
|
|
||||||
$(use_enable gdata gdata-plugin)
|
|
||||||
$(use_enable gnutls)
|
|
||||||
$(use_enable ipv6)
|
|
||||||
$(use_enable ldap)
|
|
||||||
$(use_enable litehtml litehtml_viewer-plugin)
|
|
||||||
$(use_enable networkmanager)
|
|
||||||
$(use_enable nls)
|
|
||||||
$(use_enable notification notification-plugin)
|
|
||||||
$(use_enable pda jpilot)
|
|
||||||
$(use_enable pdf pdf_viewer-plugin)
|
|
||||||
$(use_enable perl perl-plugin)
|
|
||||||
$(use_enable pgp pgpcore-plugin)
|
|
||||||
$(use_enable pgp pgpinline-plugin)
|
|
||||||
$(use_enable pgp pgpmime-plugin)
|
|
||||||
$(use_enable python python-plugin)
|
|
||||||
$(use_enable rss rssyl-plugin)
|
|
||||||
$(use_enable session libsm)
|
|
||||||
$(use_enable sieve managesieve-plugin)
|
|
||||||
$(use_enable smime smime-plugin)
|
|
||||||
$(use_enable spam-report spam_report-plugin)
|
|
||||||
$(use_enable spamassassin spamassassin-plugin)
|
|
||||||
$(use_enable spell enchant)
|
|
||||||
$(use_enable startup-notification)
|
|
||||||
$(use_enable svg)
|
|
||||||
$(use_enable valgrind valgrind)
|
|
||||||
$(use_enable webkit fancy-plugin)
|
|
||||||
$(use_enable xface compface)
|
|
||||||
)
|
|
||||||
|
|
||||||
# libetpan is needed if user wants nntp or imap functionality
|
|
||||||
if use imap || use nntp ; then
|
|
||||||
myeconfargs+=( --enable-libetpan )
|
|
||||||
else
|
|
||||||
myeconfargs+=( --disable-libetpan )
|
|
||||||
fi
|
|
||||||
|
|
||||||
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
local DOCS=( AUTHORS ChangeLog* INSTALL* NEWS README* TODO* )
|
|
||||||
default
|
|
||||||
|
|
||||||
# Makefile install claws-mail.png in /usr/share/icons/hicolor/48x48/apps
|
|
||||||
# => also install it in /usr/share/pixmaps for other desktop envs
|
|
||||||
# => also install higher resolution icons in /usr/share/icons/hicolor/...
|
|
||||||
insinto /usr/share/pixmaps
|
|
||||||
doins ${PN}.png
|
|
||||||
local size
|
|
||||||
for size in 64 128 ; do
|
|
||||||
newicon -s ${size} ${PN}-${size}x${size}.png ${PN}.png
|
|
||||||
done
|
|
||||||
|
|
||||||
docinto tools
|
|
||||||
dodoc tools/README*
|
|
||||||
|
|
||||||
domenu ${PN}.desktop
|
|
||||||
|
|
||||||
einfo "Installing extra tools"
|
|
||||||
cd "${S}"/tools || die
|
|
||||||
exeinto /usr/$(get_libdir)/${PN}/tools
|
|
||||||
doexe *.pl *.py *.conf *.sh
|
|
||||||
doexe tb2claws-mail update-po uudec uuooffice
|
|
||||||
|
|
||||||
# kill useless files
|
|
||||||
rm -f "${ED}"/usr/lib*/claws-mail/plugins/*.{a,la}
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
ewarn "When upgrading from version 3.9.0 or below some changes have happened:"
|
|
||||||
ewarn "- There are no individual plugins in mail-client/claws-mail-* anymore, but they are integrated mostly controlled through USE flags"
|
|
||||||
ewarn "- Plugins with no special dependencies are just built and can be loaded through the interface"
|
|
||||||
ewarn "- The gtkhtml2 and trayicon plugins have been dropped entirely"
|
|
||||||
xdg_pkg_postinst
|
|
||||||
}
|
|
@ -1,2 +0,0 @@
|
|||||||
EBUILD openscad-9999.ebuild 1078 BLAKE2B 1e7a71ddd28bbac2746b0eeaaf9b5dd249dce535af5d6ae4928cb572395c06923b9e55e04752b0e5078bbb8dc6c5479d09328997df8b3ed8107496bbbcc6a489 SHA512 46f09e3bb6d738ded79e07468d76ad0fe14db6616275137e75dc5cf291db50aa6117e3b354e75fcce9a8d179ad2a05391c7df7f4d9c5715dd19aef4f4ded127b
|
|
||||||
MISC metadata.xml 839 BLAKE2B 9a1245757665769e41645cf86d7b71c8688014aecf4e0574c6f3ea22e2b9af2bdd150e98fc7df95c79289db23a6c8c0a6fadc2f62ce9c8fbe058945e00741c5f SHA512 f13910d4339e820344e1c70edc384c4522ad506c50ffc80e843358199b0d2e27f9eafe99e4613f258a62abc4683b462d001fe71e19d849845f6f4cf75324ffd3
|
|
@ -1,13 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<maintainer type="person">
|
|
||||||
<email>mattm@gentoo.org</email>
|
|
||||||
<name>Matthew Marlowe</name>
|
|
||||||
</maintainer>
|
|
||||||
<longdescription>
|
|
||||||
OpenSCAD is a software for creating solid 3D CAD objects. Unlike most free software for creating 3D models (such as the famous application Blender) it does not focus on the artistic aspects of 3D modelling but instead on the CAD aspects. Thus it might be the application you are looking for when you are planning to create 3D models of machine parts but pretty sure is not what you are looking for when you are more interested in creating computer-animated movies. OpenSCAD is free software and available for Linux/UNIX, MS Windows and Mac OS X.
|
|
||||||
</longdescription>
|
|
||||||
<use>
|
|
||||||
</use>
|
|
||||||
</pkgmetadata>
|
|
@ -1,57 +0,0 @@
|
|||||||
# Copyright 1999-2015 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
inherit eutils qmake-utils
|
|
||||||
|
|
||||||
if [[ ${PV} == "9999" ]] ; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://github.com/openscad/openscad.git"
|
|
||||||
else
|
|
||||||
SRC_URI="http://files.openscad.org/${P}.src.tar.gz"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="The Programmers Solid 3D CAD Modeller"
|
|
||||||
HOMEPAGE="http://www.openscad.org/"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
CDEPEND="dev-util/ccache
|
|
||||||
media-gfx/opencsg
|
|
||||||
sci-mathematics/cgal
|
|
||||||
dev-qt/qtcore:5
|
|
||||||
dev-qt/qtgui:5
|
|
||||||
dev-qt/qtopengl:5
|
|
||||||
dev-cpp/eigen:3
|
|
||||||
dev-libs/gmp:0
|
|
||||||
dev-libs/mpfr:0
|
|
||||||
dev-libs/boost:=
|
|
||||||
>=x11-libs/qscintilla-2.10.7
|
|
||||||
"
|
|
||||||
DEPEND="${CDEPEND}"
|
|
||||||
RDEPEND="${CDEPEND}"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
#Use our CFLAGS (specifically don't force x86)
|
|
||||||
sed -i "s/QMAKE_CXXFLAGS_RELEASE = .*//g" ${PN}.pro || die
|
|
||||||
|
|
||||||
sed -i "s/\/usr\/local/\/usr/g" ${PN}.pro || die
|
|
||||||
|
|
||||||
default
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local myqmakeargs=(
|
|
||||||
openscad.pro
|
|
||||||
)
|
|
||||||
eqmake5 "${myqmakeargs[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake INSTALL_ROOT="${D}" install
|
|
||||||
}
|
|
@ -1,15 +0,0 @@
|
|||||||
AUX 4.4/samba4.confd 1783 SHA256 53755809cc27fdbaf98752cd3da45b5c2bda62dd46fcc37570c6e237f7954ffa SHA512 6fc7edf192957f97b171c97482317bf563385917cfdbf950ed28d9387961bd16f82844c6f9b5c430508ec6dc7331ecdf5f81fa3135663316061c1d0b1808f53d WHIRLPOOL 868539ecf658f9da3574847cb1447dafe422c60a9208de5580cf7f53e4346e9c7d1c6b3e7ea5c684b83e613dd912c5245ffce6a43bc8bd9bf8417a9c7a5f2557
|
|
||||||
AUX 4.4/samba4.initd-r1 1110 SHA256 44b53a5d5f516cb944a308613579b3e8e2716651961274b0b01afc70feede342 SHA512 f69c400d08be6f19864d06ea2a0b3518804b5ad64deac0279b2ad17827b51ef2170bb5b7ef57e8b7041170c66dc7c362f847d2eca0275b74c13adfa156055253 WHIRLPOOL f45d26e8e3f3b86459ee0b4447eab4d585ed025e1f62971dfa48013921d1473c50f0c7aab5b002b7ec6e41281a6638a86ec7188b19773407d15ff1da05215801
|
|
||||||
AUX nmbd.service 224 SHA256 a5e25c11714206c4fb129333dd45152c5753716c6445cbe78c28275df1a1cb77 SHA512 098dfb270c5a5c29f59b4fd8d51b17931771e25e481124832f1a086677825527e2afa7276e8614e5007fbf044d253ce2eaf3a7caf7461ad5d90d0b1c7f157f9d WHIRLPOOL 2f7c342a60c09d5e40e968a026aa17d8c2fe3fd032331c7bb26599bb0f8ec8a77c2a3e329498ed16b1602451fd85a8ef076c436e8a092740cfbd01a82ca52e30
|
|
||||||
AUX samba-4.4.0-pam.patch 895 SHA256 a7f91da7da039346e9497addef7e644ef1290b5915a43fb9cc76200294022eb7 SHA512 5a00c6131c372fc1cc9e23e4a37314442bf9af8e420a040a7b20ec3d76a357959d456437ed13e2e17f938eb6dcb4e7c5d899ff3d670526b0a444f63e35d5262c WHIRLPOOL 48e4853bb284ba0bf54262a951ae8045075179c51dbb27689a31c0eba61f1ddb707e1adf62e5e67940c239ea7bc4d1691e6eb8d21781fd9fb30cb76a32cc229b
|
|
||||||
AUX samba-4.5.1-compile_et_fix.patch 762 SHA256 49039beb8e96139b32c733e876f6dbdfb764dc51fc3b963d5485aad33641628b SHA512 9605751653dcbbce41be807a9b4f8e5f657db6622f843e91c4df9c4b3e4ad621b6e8e3891f2b970208d55a80801355988f253e3c844ca51a658cd6de8c373e24 WHIRLPOOL 93e57f6c5cff7a1b24a71cce6c584f2a12560b38a5841bf888e6f5d8323801b4aa7ac5fe1bf06cdd7739d284509c07f465c03a07de1b9aa03d7c9988a59cb4c2
|
|
||||||
AUX samba.conf 61 SHA256 e4fc68bc14a44e3c452e767d996ff693d131da317eb513de10d752dd96cb6f12 SHA512 4a75185762c90d110c399215fbfc939d30804b558ffdb11cc68dee6f87a94c86cadbcd63935884db1266cf40fe24fefb75f9067fe4751ad9838d7a43e8973b9e WHIRLPOOL ad21bc3738c2ec721ad3be746c66719385390835c7f4da881fc0cc1c982bb6821a56300157b1169d1a35264e44dab1a0c29cd9919455a02a8f4c53c665a4bed3
|
|
||||||
AUX samba.service 199 SHA256 0ae738fa2a15b476dbca016dfa4e1cf4b8c4a575e13edf518eb70b615c02a059 SHA512 eb277917f15de958f4a0404b66c6d2cc82ae4319b85f2f442489988d523bf92e2a9d23a6051ee693cd4bcfbc67947e8028c59906ad3e537578daf5caee8a6f16 WHIRLPOOL 1132081b63b1e0e1a9342d59493ebfe1d918133a4091e48c42dae7845dcaa24a0b8e7a1183d5a41b0173c3f6dbc17838a9b7a6297fc8ea0775ab150a22ae3151
|
|
||||||
AUX smbd.service 250 SHA256 e1f5da902cd97891852f6463b2c7eddbc61e7fbd3e3c281028a806319627fc68 SHA512 a54e3c337f7c27766a81f68ad6d8f4eb6ddb1d1aec3303f274e419a49114755bc5dd711701d5e64954ae7153a8be4a7063371af286696c0b81d543b9276703c3 WHIRLPOOL 18b6a57603a41303d207249fdb46cb4f6e887f8b9bd4921dca6b4f28a59951368d6abead2dc9d3be2c09cb2c9f295087ef5f20d121a309791b9031e3fad28b13
|
|
||||||
AUX smbd.socket 121 SHA256 d62a239cba39ae03dbb7a291843b2c202973341c85d93ffc87b4e78813be44c2 SHA512 2db4a707fcc6ef1928ac010e5e92cdaf0f6ff3ffa8aef918e0db1ce910abfb481d6a19082337f9c8444cd780d1d442fa8df2bb65e6142fc109d29657532572ed WHIRLPOOL aef792f27a7cd91ee258b6137015269cf2e6310c24a060acb7c6a97162aaebe37f32f66e46f4399cd1160bcc65e5608da7bc87bf933bccd2ffdfe51a6a7cdd8d
|
|
||||||
AUX smbd_at.service 145 SHA256 909dddfd80982035739081d86d2c524f6a25440d9c10b8a80626d9b4eee424cd SHA512 e6486c35dfa6f77ad46547a78fcae55fb71e4dad7dc7b4580c2b8c1be232c0a870f56714b2b103a1fd8717298f41347d7178fbebb90f0f2d0324fe5233f0f9f3 WHIRLPOOL f5ac03a1e7b653458d49fa2c2afe674e9d8f1e5a81e72a5e49781de3e5111bbe23eedc38c78a6f5e7edc4c32300ddaf76caf889de256fc799cf117edcd6ce6fb
|
|
||||||
AUX winbindd.service 240 SHA256 755036bc419cce90200ac3c04986fbb7cf718c128c2a1288c634658bb779bf3a SHA512 f1ce6d035e8e0fcdc73f14e3b60c9647043777ff6b2a982a81ed07eb4df5ff245a9511e3e4a9d8163f9c8f3fb86d2a39a67621ace68392eb7c2f2e2a55d587f7 WHIRLPOOL eb4d7f30b4ce3341e3d24a6c05965bdce9ded78a7327b44d3d04d00837d6e8109857b1fb1b78c8325680588cf9abe94158755a962fb8f7e8dac04b336308c268
|
|
||||||
DIST samba-4.5.4.tar.gz 20958348 SHA256 1800d10ea14cabef67c83cc56a0f37f4f30ba5df218b3a1e7c874069a08c0f40 SHA512 7b24227e17ab091e6165c605f28af19fa846de63f3f24508411db2b509d942e599702dd278c8430481d7a404c5a97005148286ea4e94a35b57a1ec303b1a4409 WHIRLPOOL a1b84726b0a0addb1ca2de8d84429280a82001bf2fb0fbd7524dd2499fb18370d19e099b0852b93cb105b3db45583688b107533d404703ac635c2e6e8e2cb81b
|
|
||||||
DIST samba-disable-python-patches-4.5.0_rc1.tar.xz 6204 SHA256 fa0d776e04e3222c0dc4761e376717f4154937cdcb85f4117b8978dfb770a78e SHA512 920089ba3c6e8e7d913b1d7ef1017262a19d1af41215adb30cfc98a57556efc4b0116931d4ef774c01124149d8eca2be3a23814ce7e11daf0180d2c111799927 WHIRLPOOL 6d55710895435ad012e23f8c252e5276966241014710349ca7fa9cf037e8742030b8e053f7cb71309a0a45f48d2235d55393243bf4d19476a22dd39bb1b7748d
|
|
||||||
EBUILD samba-4.5.4.ebuild 7506 SHA256 b3b70dc2a41d5eb90ccccaf99a05d8824d71bfcfd1b3630356332071c80d2f02 SHA512 616022ab6a48452f086301e58245e493bc24c5b493b4c0a2bc545d065e38bf332d57faa6a40243f993fcde5a2c4d58ec2d6fb19340e0487cd76f8cf0b21d8a1a WHIRLPOOL d7df368fd054ec31668f6ace844b638caa2f124d46ee840c114a5655d30038a7cd203132eae97069d9aa1871889a809ac88a43b11c8428b514bb79ec63367aff
|
|
||||||
MISC metadata.xml 1535 SHA256 e52ce6fb55ee494bc4ed348148a75f496df1fcc5282795c58155d3d770816a4e SHA512 478534265c8b41cc907fd27b7bfdba056a5949d9a6d1c0dec16572eebd7c9eefed24cb625a15f36f457fad0bd321063f0ffe2ed764415f3c09c61458b0751baf WHIRLPOOL dd7e58a5eda413342d65e117d1020c2a11befe5b1577c0569a4c4749b0ca4592a6d086b03079f1e271b375f700868b57e5a9ed7d404e8d3201d1b73c558e7f76
|
|
@ -1,38 +0,0 @@
|
|||||||
# Add "winbind" to the daemon_list if you also want winbind to start.
|
|
||||||
# Replace "smbd nmbd" by "samba4" if you want the active directory domain controller part or the ntvfs
|
|
||||||
# file server part or the rpc proxy to start.
|
|
||||||
# Note that samba4 controls 'smbd' by itself, thus it can't be started manually. You can, however,
|
|
||||||
# tweak the behaviour of a samba4-controlled smbd by modifying your '/etc/samba/smb.conf' file
|
|
||||||
# accordingly.
|
|
||||||
daemon_list="smbd nmbd"
|
|
||||||
|
|
||||||
#----------------------------------------------------------------------------
|
|
||||||
# Daemons calls: <daemon_name>_<command_option>
|
|
||||||
#----------------------------------------------------------------------------
|
|
||||||
my_service_name="samba"
|
|
||||||
my_service_PRE="unset TMP TMPDIR"
|
|
||||||
my_service_POST=""
|
|
||||||
|
|
||||||
#----------------------------------------------------------------------------
|
|
||||||
# Daemons calls: <daemon_name>_<command_option>
|
|
||||||
#----------------------------------------------------------------------------
|
|
||||||
smbd_start_options="-D"
|
|
||||||
smbd_start="start-stop-daemon --start --exec /usr/sbin/smbd -- ${smbd_start_options}"
|
|
||||||
smbd_stop="start-stop-daemon --stop --exec /usr/sbin/smbd"
|
|
||||||
smbd_reload="killall -HUP smbd"
|
|
||||||
|
|
||||||
nmbd_start_options="-D"
|
|
||||||
nmbd_start="start-stop-daemon --start --exec /usr/sbin/nmbd -- ${nmbd_start_options}"
|
|
||||||
nmbd_stop="start-stop-daemon --stop --exec /usr/sbin/nmbd"
|
|
||||||
nmbd_reload="killall -HUP nmbd"
|
|
||||||
|
|
||||||
samba4_start_options=""
|
|
||||||
samba4_start="start-stop-daemon --start --exec /usr/sbin/samba -- ${samba4_start_options}"
|
|
||||||
samba4_stop="start-stop-daemon --stop --exec /usr/sbin/samba"
|
|
||||||
samba4_reload="killall -HUP samba"
|
|
||||||
|
|
||||||
winbind_start_options=""
|
|
||||||
winbind_start="start-stop-daemon --start --exec /usr/sbin/winbindd -- ${winbind_start_options}"
|
|
||||||
winbind_stop="start-stop-daemon --stop --exec /usr/sbin/winbindd"
|
|
||||||
winbind_reload="killall -HUP winbindd"
|
|
||||||
|
|
@ -1,56 +0,0 @@
|
|||||||
#!/sbin/openrc-run
|
|
||||||
# Copyright 1999-2016 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License, v2 or later
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
extra_started_commands="reload"
|
|
||||||
piddir="/run/samba"
|
|
||||||
|
|
||||||
depend() {
|
|
||||||
after slapd
|
|
||||||
need net
|
|
||||||
use cupsd
|
|
||||||
}
|
|
||||||
|
|
||||||
DAEMONNAME="${SVCNAME##samba.}"
|
|
||||||
[ "${DAEMONNAME}" != "samba" ] && daemon_list=${DAEMONNAME}
|
|
||||||
|
|
||||||
signal_do() {
|
|
||||||
local signal="$1"
|
|
||||||
[ -z "${signal}" ] && return 0
|
|
||||||
|
|
||||||
local result=0 last_result=0 daemon= cmd_exec=
|
|
||||||
for daemon in ${daemon_list} ; do
|
|
||||||
eval cmd_exec=\$${daemon}_${signal}
|
|
||||||
if [ -n "${cmd_exec}" ]; then
|
|
||||||
ebegin "${my_service_name} -> ${signal}: ${daemon}"
|
|
||||||
#echo ${cmd} '->' ${!cmd}
|
|
||||||
${cmd_exec} > /dev/null
|
|
||||||
last_result=$?
|
|
||||||
eend ${last_result}
|
|
||||||
fi
|
|
||||||
result=$(( ${result} + ${last_result} ))
|
|
||||||
done
|
|
||||||
return ${result}
|
|
||||||
}
|
|
||||||
|
|
||||||
start() {
|
|
||||||
${my_service_PRE}
|
|
||||||
[ -d "${piddir}" ] || mkdir -p "${piddir}"
|
|
||||||
signal_do start && return 0
|
|
||||||
|
|
||||||
eerror "Error: starting services (see system logs)"
|
|
||||||
signal_do stop
|
|
||||||
return 1
|
|
||||||
}
|
|
||||||
stop() {
|
|
||||||
${my_service_PRE}
|
|
||||||
if signal_do stop ; then
|
|
||||||
${my_service_POST}
|
|
||||||
return 0
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
reload() {
|
|
||||||
${my_service_PRE}
|
|
||||||
signal_do reload
|
|
||||||
}
|
|
@ -1,12 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Samba NetBIOS name server
|
|
||||||
After=network.target
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=forking
|
|
||||||
PIDFile=/var/run/samba/nmbd.pid
|
|
||||||
ExecStart=/usr/sbin/nmbd -D
|
|
||||||
ExecReload=/bin/kill -HUP $MAINPID
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
@ -1,29 +0,0 @@
|
|||||||
--- samba-4.4.0rc2/source3/wscript
|
|
||||||
+++ samba-4.4.0rc2/source3/wscript
|
|
||||||
@@ -870,7 +870,7 @@
|
|
||||||
if conf.env.with_iconv:
|
|
||||||
conf.DEFINE('HAVE_ICONV', 1)
|
|
||||||
|
|
||||||
- if Options.options.with_pam:
|
|
||||||
+ if Options.options.with_pam != False:
|
|
||||||
use_pam=True
|
|
||||||
conf.CHECK_HEADERS('security/pam_appl.h pam/pam_appl.h')
|
|
||||||
if not conf.CONFIG_SET('HAVE_SECURITY_PAM_APPL_H') and not conf.CONFIG_SET('HAVE_PAM_PAM_APPL_H'):
|
|
||||||
@@ -943,6 +943,17 @@
|
|
||||||
conf.DEFINE('WITH_PAM', 1)
|
|
||||||
conf.DEFINE('WITH_PAM_MODULES', 1)
|
|
||||||
|
|
||||||
+ else:
|
|
||||||
+ Logs.warn("PAM disabled")
|
|
||||||
+ use_pam=False
|
|
||||||
+ conf.undefine('WITH_PAM')
|
|
||||||
+ conf.undefine('WITH_PAM_MODULES')
|
|
||||||
+ conf.undefine('HAVE_SECURITY_PAM_APPL_H')
|
|
||||||
+ conf.undefine('PAM_RHOST')
|
|
||||||
+ conf.undefine('PAM_TTY')
|
|
||||||
+ conf.undefine('HAVE_PAM_PAM_APPL_H')
|
|
||||||
+
|
|
||||||
+
|
|
||||||
seteuid = False
|
|
||||||
|
|
||||||
#
|
|
@ -1,16 +0,0 @@
|
|||||||
--- samba-4.5.1/source4/heimdal_build/wscript_configure
|
|
||||||
+++ samba-4.5.1/source4/heimdal_build/wscript_configure
|
|
||||||
@@ -258,7 +258,11 @@
|
|
||||||
|
|
||||||
# With the proper checks in place we should be able to build against the system libtommath.
|
|
||||||
#if conf.CHECK_BUNDLED_SYSTEM('tommath', checkfunctions='mp_init', headers='tommath.h'):
|
|
||||||
# conf.define('USING_SYSTEM_TOMMATH', 1)
|
|
||||||
|
|
||||||
-check_system_heimdal_binary("compile_et")
|
|
||||||
-check_system_heimdal_binary("asn1_compile")
|
|
||||||
+# comment out next line to stop Gentoo Samba build from using the compile_et in e2fsprogs-libs
|
|
||||||
+# to compile the error tables. This produces a compile error later on.
|
|
||||||
+#check_system_heimdal_binary("compile_et")
|
|
||||||
+#
|
|
||||||
+# As a precaution do the same for asn1_compile
|
|
||||||
+#check_system_heimdal_binary("asn1_compile")
|
|
@ -1,2 +0,0 @@
|
|||||||
D /run/samba 0755 root root
|
|
||||||
D /run/lock/samba 0755 root root
|
|
@ -1,10 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Samba AD server
|
|
||||||
After=network.target winbindd.service
|
|
||||||
Conflicts=nmbd.service smbd.service
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
ExecStart=/usr/sbin/samba --interactive
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
@ -1,12 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Samba SMB/CIFS server
|
|
||||||
After=network.target nmbd.service winbindd.service
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=forking
|
|
||||||
PIDFile=/var/run/samba/smbd.pid
|
|
||||||
ExecStart=/usr/sbin/smbd -D
|
|
||||||
ExecReload=/bin/kill -HUP $MAINPID
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
@ -1,9 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Samba SMB/CIFS server socket
|
|
||||||
|
|
||||||
[Socket]
|
|
||||||
ListenStream=445
|
|
||||||
Accept=yes
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=sockets.target
|
|
@ -1,7 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Samba SMB/CIFS server instance
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
ExecStart=/usr/sbin/smbd -F
|
|
||||||
ExecReload=/bin/kill -HUP $MAINPID
|
|
||||||
StandardInput=socket
|
|
@ -1,12 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Samba Winbind daemon
|
|
||||||
After=network.target nmbd.service
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=forking
|
|
||||||
PIDFile=/var/run/samba/winbindd.pid
|
|
||||||
ExecStart=/usr/sbin/winbindd -D
|
|
||||||
ExecReload=/bin/kill -HUP $MAINPID
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
@ -1,31 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<maintainer type="project">
|
|
||||||
<email>samba@gentoo.org</email>
|
|
||||||
<name>Samba Team</name>
|
|
||||||
</maintainer>
|
|
||||||
<longdescription>
|
|
||||||
Samba is an Open Source/Free Software suite that provides seamless file and print services to SMB/CIFS clients. Integration with various accounting and antivirus backends. License: GNU General Public License.
|
|
||||||
</longdescription>
|
|
||||||
<use>
|
|
||||||
<flag name="addc">Enable Active Directory Domain Controller support</flag>
|
|
||||||
<flag name="addns">Enable AD DNS integration</flag>
|
|
||||||
<flag name="ads">Enable Active Directory support</flag>
|
|
||||||
<flag name="aio">Enable asynchronous IO support</flag>
|
|
||||||
<flag name="client">Enables the client part</flag>
|
|
||||||
<flag name="cluster">Enable support for clustering</flag>
|
|
||||||
<flag name="dmapi">Enable support for DMAPI. This currently works only in combination with XFS.</flag>
|
|
||||||
<flag name="gpg">Use <pkg>app-crypt/gpgme</pkg> for AD DC</flag>
|
|
||||||
<flag name="iprint">Enabling iPrint technology by Novell</flag>
|
|
||||||
<flag name="quota">Enables support for user quotas</flag>
|
|
||||||
<flag name="system-heimdal">Use <pkg>app-crypt/heimdal</pkg> instead of
|
|
||||||
bundled heimdal.</flag>
|
|
||||||
<flag name="system-mitkrb5">Use <pkg>app-crypt/mit-krb5</pkg> instead of
|
|
||||||
<pkg>app-crypt/heimdal</pkg>.</flag>
|
|
||||||
<flag name="winbind">Enables support for the winbind auth daemon</flag>
|
|
||||||
</use>
|
|
||||||
<upstream>
|
|
||||||
<remote-id type="cpe">cpe:/a:samba:samba</remote-id>
|
|
||||||
</upstream>
|
|
||||||
</pkgmetadata>
|
|
@ -1,271 +0,0 @@
|
|||||||
# Copyright 1999-2017 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
PYTHON_COMPAT=( python2_7 )
|
|
||||||
PYTHON_REQ_USE='threads(+),xml(+)'
|
|
||||||
|
|
||||||
inherit python-single-r1 waf-utils multilib-minimal linux-info systemd eutils
|
|
||||||
|
|
||||||
MY_PV="${PV/_rc/rc}"
|
|
||||||
MY_P="${PN}-${MY_PV}"
|
|
||||||
|
|
||||||
SRC_PATH="stable"
|
|
||||||
[[ ${PV} = *_rc* ]] && SRC_PATH="rc"
|
|
||||||
|
|
||||||
SRC_URI="mirror://samba/${SRC_PATH}/${MY_P}.tar.gz
|
|
||||||
https://dev.gentoo.org/~polynomial-c/samba-disable-python-patches-4.5.0_rc1.tar.xz"
|
|
||||||
[[ ${PV} = *_rc* ]] || \
|
|
||||||
KEYWORDS="~amd64 ~hppa ~x86"
|
|
||||||
|
|
||||||
DESCRIPTION="Samba Suite Version 4"
|
|
||||||
HOMEPAGE="http://www.samba.org/"
|
|
||||||
LICENSE="GPL-3"
|
|
||||||
|
|
||||||
SLOT="0"
|
|
||||||
|
|
||||||
IUSE="acl addc addns ads client cluster cups dmapi fam gnutls gpg iprint ldap pam
|
|
||||||
quota selinux syslog system-heimdal +system-mitkrb5 systemd test winbind zeroconf"
|
|
||||||
|
|
||||||
MULTILIB_WRAPPED_HEADERS=(
|
|
||||||
/usr/include/samba-4.0/policy.h
|
|
||||||
/usr/include/samba-4.0/dcerpc_server.h
|
|
||||||
/usr/include/samba-4.0/ctdb.h
|
|
||||||
/usr/include/samba-4.0/ctdb_client.h
|
|
||||||
/usr/include/samba-4.0/ctdb_protocol.h
|
|
||||||
/usr/include/samba-4.0/ctdb_private.h
|
|
||||||
/usr/include/samba-4.0/ctdb_typesafe_cb.h
|
|
||||||
/usr/include/samba-4.0/ctdb_version.h
|
|
||||||
)
|
|
||||||
|
|
||||||
# sys-apps/attr is an automagic dependency (see bug #489748)
|
|
||||||
CDEPEND="${PYTHON_DEPS}
|
|
||||||
>=app-arch/libarchive-3.1.2[${MULTILIB_USEDEP}]
|
|
||||||
dev-lang/perl:=
|
|
||||||
dev-libs/libaio[${MULTILIB_USEDEP}]
|
|
||||||
dev-libs/libbsd[${MULTILIB_USEDEP}]
|
|
||||||
dev-libs/iniparser:0
|
|
||||||
dev-libs/popt[${MULTILIB_USEDEP}]
|
|
||||||
dev-python/subunit[${PYTHON_USEDEP},${MULTILIB_USEDEP}]
|
|
||||||
sys-apps/attr[${MULTILIB_USEDEP}]
|
|
||||||
>=sys-libs/ldb-1.1.27[ldap(+)?,${MULTILIB_USEDEP}]
|
|
||||||
sys-libs/libcap
|
|
||||||
sys-libs/ncurses:0=[${MULTILIB_USEDEP}]
|
|
||||||
sys-libs/readline:0=
|
|
||||||
>=sys-libs/talloc-2.1.8[python,${PYTHON_USEDEP},${MULTILIB_USEDEP}]
|
|
||||||
>=sys-libs/tdb-1.3.10[python,${PYTHON_USEDEP},${MULTILIB_USEDEP}]
|
|
||||||
>=sys-libs/tevent-0.9.31-r1[${MULTILIB_USEDEP}]
|
|
||||||
sys-libs/zlib[${MULTILIB_USEDEP}]
|
|
||||||
virtual/libiconv
|
|
||||||
pam? ( virtual/pam )
|
|
||||||
acl? ( virtual/acl )
|
|
||||||
addns? ( net-dns/bind-tools[gssapi] )
|
|
||||||
cluster? ( !dev-db/ctdb )
|
|
||||||
cups? ( net-print/cups )
|
|
||||||
dmapi? ( sys-apps/dmapi )
|
|
||||||
fam? ( virtual/fam )
|
|
||||||
gnutls? (
|
|
||||||
dev-libs/libgcrypt:0
|
|
||||||
>=net-libs/gnutls-1.4.0
|
|
||||||
)
|
|
||||||
gpg? ( app-crypt/gpgme )
|
|
||||||
ldap? ( net-nds/openldap[${MULTILIB_USEDEP}] )
|
|
||||||
system-heimdal? ( >=app-crypt/heimdal-1.5[-ssl,${MULTILIB_USEDEP}] )
|
|
||||||
system-mitkrb5? ( app-crypt/mit-krb5[${MULTILIB_USEDEP}] )
|
|
||||||
systemd? ( sys-apps/systemd:0= )"
|
|
||||||
DEPEND="${CDEPEND}
|
|
||||||
virtual/pkgconfig"
|
|
||||||
RDEPEND="${CDEPEND}
|
|
||||||
client? ( net-fs/cifs-utils[ads?] )
|
|
||||||
selinux? ( sec-policy/selinux-samba )
|
|
||||||
!dev-perl/Parse-Yapp
|
|
||||||
"
|
|
||||||
|
|
||||||
REQUIRED_USE="addc? ( gnutls !system-mitkrb5 )
|
|
||||||
ads? ( acl gnutls ldap )
|
|
||||||
gpg? ( addc )
|
|
||||||
?? ( system-heimdal system-mitkrb5 )
|
|
||||||
${PYTHON_REQUIRED_USE}"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${MY_P}"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}/${PN}-4.4.0-pam.patch"
|
|
||||||
"${FILESDIR}/${PN}-4.5.1-compile_et_fix.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
#CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)"
|
|
||||||
CONFDIR="${FILESDIR}/4.4"
|
|
||||||
|
|
||||||
WAF_BINARY="${S}/buildtools/bin/waf"
|
|
||||||
|
|
||||||
SHAREDMODS=""
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
python-single-r1_pkg_setup
|
|
||||||
if use cluster ; then
|
|
||||||
SHAREDMODS="idmap_rid,idmap_tdb2,idmap_ad"
|
|
||||||
elif use ads ; then
|
|
||||||
SHAREDMODS="idmap_ad"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
# install the patches from tarball(s)
|
|
||||||
eapply "${WORKDIR}/patches"
|
|
||||||
|
|
||||||
# ugly hackaround for bug #592502
|
|
||||||
cp /usr/include/tevent_internal.h "${S}"/lib/tevent/ || die
|
|
||||||
|
|
||||||
sed -e 's:<gpgme\.h>:<gpgme/gpgme.h>:' \
|
|
||||||
-i source4/dsdb/samdb/ldb_modules/password_hash.c \
|
|
||||||
|| die
|
|
||||||
|
|
||||||
# workaround for bug #603570
|
|
||||||
rm -f "${S}/source4/heimdal_build/krb5-types.h"
|
|
||||||
|
|
||||||
# Friggin' WAF shit
|
|
||||||
multilib_copy_sources
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_configure() {
|
|
||||||
# when specifying libs for samba build you must append NONE to the end to
|
|
||||||
# stop it automatically including things
|
|
||||||
local bundled_libs="NONE"
|
|
||||||
if use addc && ! use system-heimdal ; then
|
|
||||||
bundled_libs="heimbase,heimntlm,hdb,kdc,krb5,wind,gssapi,hcrypto,hx509,roken,asn1,com_err,NONE"
|
|
||||||
#bundled_libs="heimdal,NONE"
|
|
||||||
fi
|
|
||||||
|
|
||||||
local myconf=()
|
|
||||||
myconf=(
|
|
||||||
--enable-fhs
|
|
||||||
--sysconfdir="${EPREFIX}/etc"
|
|
||||||
--localstatedir="${EPREFIX}/var"
|
|
||||||
--with-modulesdir="${EPREFIX}/usr/$(get_libdir)/samba"
|
|
||||||
--with-piddir="${EPREFIX}/run/${PN}"
|
|
||||||
--bundled-libraries="${bundled_libs}"
|
|
||||||
--builtin-libraries=NONE
|
|
||||||
--disable-rpath
|
|
||||||
--disable-rpath-install
|
|
||||||
--nopyc
|
|
||||||
--nopyo
|
|
||||||
)
|
|
||||||
if multilib_is_native_abi ; then
|
|
||||||
myconf+=(
|
|
||||||
$(use_with acl acl-support)
|
|
||||||
$(usex addc '' '--without-ad-dc')
|
|
||||||
$(use_with addns dnsupdate)
|
|
||||||
$(use_with ads)
|
|
||||||
$(use_with cluster cluster-support)
|
|
||||||
$(use_enable cups)
|
|
||||||
$(use_with dmapi)
|
|
||||||
$(use_with fam)
|
|
||||||
$(use_enable gnutls)
|
|
||||||
$(use_with gpg gpgme)
|
|
||||||
$(use_enable iprint)
|
|
||||||
$(use_with ldap)
|
|
||||||
$(use_with pam)
|
|
||||||
$(usex pam "--with-pammodulesdir=${EPREFIX}/$(get_libdir)/security" '')
|
|
||||||
$(use_with quota quotas)
|
|
||||||
$(use_with syslog)
|
|
||||||
$(use_with systemd)
|
|
||||||
$(usex system-mitkrb5 '--with-system-mitkrb5' '')
|
|
||||||
$(use_with winbind)
|
|
||||||
$(usex test '--enable-selftest' '')
|
|
||||||
$(use_enable zeroconf avahi)
|
|
||||||
--with-shared-modules=${SHAREDMODS}
|
|
||||||
)
|
|
||||||
else
|
|
||||||
myconf+=(
|
|
||||||
--without-acl-support
|
|
||||||
--without-ad-dc
|
|
||||||
--without-dnsupdate
|
|
||||||
--without-ads
|
|
||||||
--disable-avahi
|
|
||||||
--without-cluster-support
|
|
||||||
--disable-cups
|
|
||||||
--without-dmapi
|
|
||||||
--without-fam
|
|
||||||
--disable-gnutls
|
|
||||||
--without-gpgme
|
|
||||||
--disable-iprint
|
|
||||||
$(use_with ldap)
|
|
||||||
--without-pam
|
|
||||||
--without-quotas
|
|
||||||
--without-syslog
|
|
||||||
--without-systemd
|
|
||||||
$(usex system-mitkrb5 '--with-system-mitkrb5' '')
|
|
||||||
--without-winbind
|
|
||||||
--disable-python
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
|
|
||||||
CPPFLAGS="-I${SYSROOT}${EPREFIX}/usr/include/et ${CPPFLAGS}" \
|
|
||||||
waf-utils_src_configure ${myconf[@]}
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_install() {
|
|
||||||
waf-utils_src_install
|
|
||||||
|
|
||||||
# Make all .so files executable
|
|
||||||
find "${D}" -type f -name "*.so" -exec chmod +x {} +
|
|
||||||
|
|
||||||
if multilib_is_native_abi; then
|
|
||||||
# install ldap schema for server (bug #491002)
|
|
||||||
if use ldap ; then
|
|
||||||
insinto /etc/openldap/schema
|
|
||||||
doins examples/LDAP/samba.schema
|
|
||||||
fi
|
|
||||||
|
|
||||||
# create symlink for cups (bug #552310)
|
|
||||||
if use cups ; then
|
|
||||||
dosym /usr/bin/smbspool /usr/libexec/cups/backend/smb
|
|
||||||
fi
|
|
||||||
|
|
||||||
# install example config file
|
|
||||||
insinto /etc/samba
|
|
||||||
doins examples/smb.conf.default
|
|
||||||
|
|
||||||
# Fix paths in example file (#603964)
|
|
||||||
sed \
|
|
||||||
-e '/log file =/s@/usr/local/samba/var/@/var/log/samba/@' \
|
|
||||||
-e '/include =/s@/usr/local/samba/lib/@/etc/samba/@' \
|
|
||||||
-e '/path =/s@/usr/local/samba/lib/@/var/lib/samba/@' \
|
|
||||||
-e '/path =/s@/usr/local/samba/@/var/lib/samba/@' \
|
|
||||||
-e '/path =/s@/usr/spool/samba@/var/spool/samba@' \
|
|
||||||
-i "${ED%/}"/etc/samba/smb.conf.default || die
|
|
||||||
|
|
||||||
# Install init script and conf.d file
|
|
||||||
newinitd "${CONFDIR}/samba4.initd-r1" samba
|
|
||||||
newconfd "${CONFDIR}/samba4.confd" samba
|
|
||||||
|
|
||||||
systemd_dotmpfilesd "${FILESDIR}"/samba.conf
|
|
||||||
systemd_dounit "${FILESDIR}"/nmbd.service
|
|
||||||
systemd_dounit "${FILESDIR}"/smbd.{service,socket}
|
|
||||||
systemd_newunit "${FILESDIR}"/smbd_at.service 'smbd@.service'
|
|
||||||
systemd_dounit "${FILESDIR}"/winbindd.service
|
|
||||||
systemd_dounit "${FILESDIR}"/samba.service
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_test() {
|
|
||||||
if multilib_is_native_abi ; then
|
|
||||||
"${WAF_BINARY}" test || die "test failed"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
ewarn "Be aware the this release contains the best of all of Samba's"
|
|
||||||
ewarn "technology parts, both a file server (that you can reasonably expect"
|
|
||||||
ewarn "to upgrade existing Samba 3.x releases to) and the AD domain"
|
|
||||||
ewarn "controller work previously known as 'samba4'."
|
|
||||||
|
|
||||||
elog "For further information and migration steps make sure to read "
|
|
||||||
elog "http://samba.org/samba/history/${P}.html "
|
|
||||||
elog "http://samba.org/samba/history/${PN}-4.5.0.html and"
|
|
||||||
elog "http://wiki.samba.org/index.php/Samba4/HOWTO "
|
|
||||||
}
|
|
@ -1,5 +1,7 @@
|
|||||||
DIST teams_1.3.00.16851_amd64.deb 70105596 BLAKE2B cbadd17aac8722248eb01a51ee709ea51aad4a88a5e1b4e13ba86608af41b409f556d010dfcb03deb63a672730d96b92cb835d533183525e7a7b87f273cac175 SHA512 be2f9f37e1eb283c6f2c57fede83482eb5f2bbe0f5107ab2fb9054135375de6fcf43cf128fe3b43a21353d0105f092e5b5755ff708c0874d40c7eb4153a3b3a4
|
DIST teams_1.3.00.16851_amd64.deb 70105596 BLAKE2B cbadd17aac8722248eb01a51ee709ea51aad4a88a5e1b4e13ba86608af41b409f556d010dfcb03deb63a672730d96b92cb835d533183525e7a7b87f273cac175 SHA512 be2f9f37e1eb283c6f2c57fede83482eb5f2bbe0f5107ab2fb9054135375de6fcf43cf128fe3b43a21353d0105f092e5b5755ff708c0874d40c7eb4153a3b3a4
|
||||||
DIST teams_1.3.00.30857_amd64.deb 76334658 BLAKE2B 486ee2945f46e7a7c7bfe1d2a6edf29f8cac5a7827c0a8bcf121d25ce95fde2caf31fed520c2f036e27b399c986ac1acc1531aaa1a9caf5a5d6848b10ac0d204 SHA512 5a8be75bfe752347bd36bf2abc2de74ad069cbf4a6430bfcad9ca7396d5b5bf8196a74798a0595908a33ebcb2fcdbedc403c7ff31eec76d07246a3d1c46eeab4
|
DIST teams_1.3.00.30857_amd64.deb 76334658 BLAKE2B 486ee2945f46e7a7c7bfe1d2a6edf29f8cac5a7827c0a8bcf121d25ce95fde2caf31fed520c2f036e27b399c986ac1acc1531aaa1a9caf5a5d6848b10ac0d204 SHA512 5a8be75bfe752347bd36bf2abc2de74ad069cbf4a6430bfcad9ca7396d5b5bf8196a74798a0595908a33ebcb2fcdbedc403c7ff31eec76d07246a3d1c46eeab4
|
||||||
|
DIST teams_1.4.00.4855_amd64.deb 76579552 BLAKE2B 3b03451d5a333a0e3736fd48d21252498a0b08041104a97b33a6166263ee8a5d2149f138e5598356bb42aa0c8d7a0619c6b1cd954d2ac5793b063c9bdbb3b929 SHA512 5596db57e8019068e8dac94cc6da8df2b1b6c813e8b67b4a61717fb7775f28973b09b49d77d001ab2dfd65ffe99ef2aaeaba8bc722f1348a474677b3d7a84df8
|
||||||
EBUILD teams-1.3.00.16851.ebuild 2759 BLAKE2B 4632904d295c314769bf449be3d50f7b3aff7ec2a78d7e4cd97615bcc65771c3cf9c15900e501236b87ccdda0c78d0c7f13f6a3bb6266394d9d064e2104ebbca SHA512 68834a6dfbcd86d7a40b3832e4afd36b52546376c5b0b28d99d4da58c71452d0d1b0794510cb9aace7479a937934f767262b9886271c3f9ff944c87f47edc6e7
|
EBUILD teams-1.3.00.16851.ebuild 2759 BLAKE2B 4632904d295c314769bf449be3d50f7b3aff7ec2a78d7e4cd97615bcc65771c3cf9c15900e501236b87ccdda0c78d0c7f13f6a3bb6266394d9d064e2104ebbca SHA512 68834a6dfbcd86d7a40b3832e4afd36b52546376c5b0b28d99d4da58c71452d0d1b0794510cb9aace7479a937934f767262b9886271c3f9ff944c87f47edc6e7
|
||||||
EBUILD teams-1.3.00.30857.ebuild 3066 BLAKE2B ef03a90372ff5656324941c85a914e88b34afe53559e23a72e1a9c7a7a0c575328fccc07d91ff05a5598bce3fcea8a2a7b429c2e8088b6fd3761c00bc666b1c4 SHA512 296f01c8cccc3b2336be234f91339b44016c41c8eb21e0d988e4b027f6ca53b429c97a4add3fd83fe67a1474c37e1b8b6d8134b3ea45c6de2b76cda0c938ed76
|
EBUILD teams-1.3.00.30857.ebuild 3066 BLAKE2B ef03a90372ff5656324941c85a914e88b34afe53559e23a72e1a9c7a7a0c575328fccc07d91ff05a5598bce3fcea8a2a7b429c2e8088b6fd3761c00bc666b1c4 SHA512 296f01c8cccc3b2336be234f91339b44016c41c8eb21e0d988e4b027f6ca53b429c97a4add3fd83fe67a1474c37e1b8b6d8134b3ea45c6de2b76cda0c938ed76
|
||||||
|
EBUILD teams-1.4.00.4855.ebuild 3212 BLAKE2B 1f2ef2fe7193200b0ff0eabddc7ad0766b9dddb974c6fd48428a1f2dea3ace7cc0a13a32131e26b193ffd81a4a3e3d1ed67d0a5976745e2c459ac2ad4100dd24 SHA512 26a97d7d21c5834497917e9d4e70d39e690997c4dd647b6b0940c4a3eec40fef28a1ae5b7c6ec9d1a1644bf64a45312d57d5e6416083c2484db7d6a2a63d20cf
|
||||||
MISC metadata.xml 260 BLAKE2B 5eb8d87919aaab2f101cfc899ccb00b8efb723b67cb102ce580e0e69781639708cb8523b8967f9fb169e00455c548cff19d2827ce711c3f36d5ae58a1d3777ee SHA512 b6369aad1615446c9a4e1740a51a49d843868e114e49bc526e7b00cefdc795a601b9c508d866b065cc4ed750b85f48f136ee5925b9511a80f4056d7ef832eab2
|
MISC metadata.xml 260 BLAKE2B 5eb8d87919aaab2f101cfc899ccb00b8efb723b67cb102ce580e0e69781639708cb8523b8967f9fb169e00455c548cff19d2827ce711c3f36d5ae58a1d3777ee SHA512 b6369aad1615446c9a4e1740a51a49d843868e114e49bc526e7b00cefdc795a601b9c508d866b065cc4ed750b85f48f136ee5925b9511a80f4056d7ef832eab2
|
||||||
|
110
net-im/teams/teams-1.4.00.4855.ebuild
Normal file
110
net-im/teams/teams-1.4.00.4855.ebuild
Normal file
@ -0,0 +1,110 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit desktop unpacker xdg-utils chromium-2
|
||||||
|
|
||||||
|
DESCRIPTION="Microsoft Teams, an Office 365 multimedia collaboration client, pre-release"
|
||||||
|
HOMEPAGE="https://products.office.com/en-us/microsoft-teams/group-chat-software/"
|
||||||
|
SRC_URI="https://packages.microsoft.com/repos/ms-teams/pool/main/t/${PN}/${PN}_${PV}_amd64.deb"
|
||||||
|
|
||||||
|
LICENSE="ms-teams-pre"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="-* ~amd64"
|
||||||
|
RESTRICT="bindist mirror splitdebug test"
|
||||||
|
IUSE="system-ffmpeg system-mesa"
|
||||||
|
|
||||||
|
QA_PREBUILT="*"
|
||||||
|
|
||||||
|
# libasound2 (>= 1.0.16), libatk-bridge2.0-0 (>= 2.5.3), libatk1.0-0 (>= 1.12.4), libc6 (>= 2.17), libcairo2 (>= 1.6.0), libcups2 (>= 1.4.0),
|
||||||
|
# libexpat1 (>= 2.0.1), libgcc1 (>= 1:3.0), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.35.8), libgtk-3-0 (>= 3.9.10), libnspr4 (>= 2:4.9-2~), libnss3
|
||||||
|
# (>= 2:3.22), libpango-1.0-0 (>= 1.14.0), libpangocairo-1.0-0 (>= 1.14.0), libsecret-1-0 (>= 0.7), libuuid1 (>= 2.16), libx11-6 (>= 2:1.4.99.1), libx11-xcb1,
|
||||||
|
# libxcb1 (>= 1.6), libxcomposite1 (>= 1:0.3-1), libxcursor1 (>> 1.1.2), libxdamage1 (>= 1:1.1), libxext6, libxfixes3, libxi6 (>= 2:1.2.99.4), libxkbfile1,
|
||||||
|
# libxrandr2 (>= 2:1.2.99.3), libxrender1, libxss1, libxtst6, apt-transport-https, libfontconfig1 (>= 2.11.0), libdbus-1-3 (>= 1.6.18), libstdc++6 (>= 4.8.1)
|
||||||
|
RDEPEND="
|
||||||
|
app-accessibility/at-spi2-atk
|
||||||
|
app-crypt/libsecret
|
||||||
|
dev-libs/atk
|
||||||
|
dev-libs/expat
|
||||||
|
dev-libs/glib
|
||||||
|
dev-libs/nspr
|
||||||
|
dev-libs/nss
|
||||||
|
media-libs/alsa-lib
|
||||||
|
media-libs/fontconfig
|
||||||
|
net-print/cups
|
||||||
|
sys-apps/dbus
|
||||||
|
sys-apps/util-linux
|
||||||
|
x11-libs/cairo
|
||||||
|
x11-libs/cairo
|
||||||
|
x11-libs/gdk-pixbuf
|
||||||
|
x11-libs/gtk+:3
|
||||||
|
x11-libs/libX11
|
||||||
|
x11-libs/libXScrnSaver
|
||||||
|
x11-libs/libXcomposite
|
||||||
|
x11-libs/libXcursor
|
||||||
|
x11-libs/libXdamage
|
||||||
|
x11-libs/libXext
|
||||||
|
x11-libs/libXfixes
|
||||||
|
x11-libs/libXi
|
||||||
|
x11-libs/libXrandr
|
||||||
|
x11-libs/libXrender
|
||||||
|
x11-libs/libXtst
|
||||||
|
x11-libs/libxcb
|
||||||
|
x11-libs/libxkbfile
|
||||||
|
x11-libs/pango
|
||||||
|
system-mesa? ( media-libs/mesa )
|
||||||
|
system-ffmpeg? ( <media-video/ffmpeg-4.3[chromium] )
|
||||||
|
"
|
||||||
|
|
||||||
|
S="${WORKDIR}"
|
||||||
|
|
||||||
|
pkg_pretend() {
|
||||||
|
chromium_suid_sandbox_check_kernel_config
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
chromium_suid_sandbox_check_kernel_config
|
||||||
|
default
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
rm _gpgorigin || die
|
||||||
|
doins -r .
|
||||||
|
|
||||||
|
fperms +x /usr/bin/teams
|
||||||
|
fperms +x /usr/share/teams/teams
|
||||||
|
|
||||||
|
if use system-ffmpeg ; then
|
||||||
|
rm -f "${D}"/usr/share/teams/libffmpeg.so || die
|
||||||
|
|
||||||
|
cat > 99teams <<-EOF
|
||||||
|
LDPATH=${EROOT}/usr/$(get_libdir)/chromium
|
||||||
|
EOF
|
||||||
|
doenvd 99teams
|
||||||
|
elog "Using system ffmpeg. This is experimental and may lead to crashes."
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use system-mesa ; then
|
||||||
|
rm -f "${D}"/usr/share/teams/libEGL.so || die
|
||||||
|
rm -f "${D}"/usr/share/teams/libGLESv2.so || die
|
||||||
|
rm -f "${D}"/usr/share/teams/swiftshader/libEGL.so || die
|
||||||
|
rm -f "${D}"/usr/share/teams/swiftshader/libGLESv2.so || die
|
||||||
|
elog "Using system mesa. This is experimental and may lead to crashes."
|
||||||
|
fi
|
||||||
|
|
||||||
|
rm -rf "${D}"/usr/share/teams/resources/app.asar.unpacked/node_modules/keytar3 || die
|
||||||
|
|
||||||
|
sed -i '/OnlyShowIn=/d' "${S}"/usr/share/applications/teams.desktop || die
|
||||||
|
domenu usr/share/applications/teams.desktop
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
xdg_desktop_database_update
|
||||||
|
xdg_icon_cache_update
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
xdg_desktop_database_update
|
||||||
|
xdg_icon_cache_update
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user