diff options
author | Aaron W. Swenson <titanofold@gentoo.org> | 2015-12-09 07:44:49 -0500 |
---|---|---|
committer | Aaron W. Swenson <titanofold@gentoo.org> | 2015-12-09 07:51:42 -0500 |
commit | 0d8a9523b9092a2065a3d65f95e109d17d332cec (patch) | |
tree | a8b72e03592c62256e75b5bf4f6778e1ffea78b8 | |
parent | c20f39cdcba8d3f75fcd7d6c09e80d2ee0655e40 (diff) | |
parent | 8ec0e33e70a40f62dc1a3fc7a6620858963f6bb6 (diff) | |
download | gentoo-0d8a9523b9092a2065a3d65f95e109d17d332cec.tar.gz gentoo-0d8a9523b9092a2065a3d65f95e109d17d332cec.tar.xz |
Merge branch 'master' of git+ssh://git.gentoo.org/repo/gentoo
-rw-r--r-- | app-admin/webmin/Manifest | 4 | ||||
-rw-r--r-- | app-admin/webmin/files/gentoo-setup | 16 | ||||
-rw-r--r-- | app-admin/webmin/webmin-1.770.ebuild (renamed from app-admin/webmin/webmin-1.760.ebuild) | 7 | ||||
-rw-r--r-- | net-dns/avahi/avahi-0.6.31-r11.ebuild (renamed from net-dns/avahi/avahi-0.6.31-r8.ebuild) | 10 | ||||
-rw-r--r-- | net-dns/avahi/avahi-0.6.31-r6.ebuild | 248 | ||||
-rw-r--r-- | net-dns/avahi/avahi-0.6.32_rc.ebuild | 6 | ||||
-rw-r--r-- | x11-themes/fvwm-crystal/fvwm-crystal-3.2.5.ebuild | 2 |
7 files changed, 28 insertions, 265 deletions
diff --git a/app-admin/webmin/Manifest b/app-admin/webmin/Manifest index 8832186a3e8..b6a050595a6 100644 --- a/app-admin/webmin/Manifest +++ b/app-admin/webmin/Manifest @@ -1,2 +1,2 @@ -DIST webmin-1.760-minimal.tar.gz 2601515 SHA256 1a9faf4d765f7356a2db39bee22f7030daa95be1f2f06d1de40a9dbbeecc4d9c SHA512 c6e1b5fae3921a368b9341d21285e0b3c2366331250849846d1ebb221958b809bce83d96f0506972cc9b2f474fd4059ecb935b80b6593d09a65947cdc47950d4 WHIRLPOOL d4c0c1215419b700fad742904fdd55918955bfe0447d8b7c2278303abbd54d20e4bd22af726ed6645639ef81dcaef2c4ccd8aa7f3f1bafccbee8f36022da3ff5 -DIST webmin-1.760.tar.gz 26885420 SHA256 6e7adefe2a8349487484a15b94914ab7e540404b43f97dc49b21a618c9b1776e SHA512 8d7ce0b88dd561e91ba36dc97d4f0ab6da616726cefd6b53d642641eb82a906bddd9f0a5b8b5e3875336ac9f6a70bda9595e74d062952d653e72dae226db6e8f WHIRLPOOL b1fc7e4719b384ee5f1b3c6e023bc9d5790b0e30320c726942bcd5b72c4afbaf380526dfee05eb515a5a3280fea35143f5ed2be50621c7e7977dc01f91700a7e +DIST webmin-1.770-minimal.tar.gz 2612198 SHA256 e976091dcf0a68dfb02d5633d09da2ce9dc69d8ea2bde95c3cc57a0a25384488 SHA512 3661e37bbeb9f814862ff208d32ec4bfa15e8e826c15833e47c3a39cb0bb47d1f227c0c942f72aed4f3e9344556cc0ef8de42a5961c6795ef01986abafe9949b WHIRLPOOL 92a89623da8ba09d921ffec38c45c2c4bf04c8249178d9d13d34339ecc902d8d7184396ce29c04bfb6e9eba463c2942dc5d9d10d05af463b4dbf9337891bcc02 +DIST webmin-1.770.tar.gz 28441983 SHA256 eb84f1adbb099d0a2e633fbc4ea4838d1ddbcc84135d6a897803fbd0284719ba SHA512 460d9e06379df8d950874906589938077fd0fc70ed12948a685c1386c9995538d92387e252373398319469406b8ef0daab67dabe8c71b2f1961a5d5cb6848a7f WHIRLPOOL 4556f51001d010b66c6af265904b3f634f7bccf1afeb74be6de0824fefb2a5b2a5508d751bfa4abcfd0cb8b670659474ecf4e564505e446ed36a737e4f100dc0 diff --git a/app-admin/webmin/files/gentoo-setup b/app-admin/webmin/files/gentoo-setup index 0c2dd2d186d..47d6127a56c 100644 --- a/app-admin/webmin/files/gentoo-setup +++ b/app-admin/webmin/files/gentoo-setup @@ -94,13 +94,15 @@ if [ "$upgrading" = 1 ]; then real_os_type=`grep "^real_os_type=" $config_dir/config | sed -e 's/real_os_type=//g'` real_os_version=`grep "^real_os_version=" $config_dir/config | sed -e 's/real_os_version=//g'` - # Get port, ssl, no_ssl2, no_ssl3, ssl_redirect, no_sslcompression and keyfile + # Get port, ssl, no_ssl2, no_ssl3, ssl_redirect, no_sslcompression, no_tls1, no_tls1_1 and keyfile port=`grep "^port=" $config_dir/miniserv.conf | sed -e 's/port=//g'` ssl=`grep "^ssl=" $config_dir/miniserv.conf | sed -e 's/ssl=//g'` no_ssl2=`grep "^no_ssl2=" $config_dir/miniserv.conf | sed -e 's/no_ssl2=//g'` no_ssl3=`grep "^no_ssl3=" $config_dir/miniserv.conf | sed -e 's/no_ssl3=//g'` ssl_redirect=`grep "^ssl_redirect=" $config_dir/miniserv.conf | sed -e 's/ssl_redirect=//g'` no_sslcompression=`grep "^no_sslcompression=" $config_dir/miniserv.conf | sed -e 's/no_sslcompression=//g'` + no_tls1=`grep "^no_tls1=" $config_dir/miniserv.conf | sed -e 's/no_tls1=//g'` + no_tls1_1=`grep "^no_tls1_1=" $config_dir/miniserv.conf | sed -e 's/no_tls1_1=//g'` keyfile=`grep "^keyfile=" $config_dir/miniserv.conf | sed -e 's/keyfile=//g'` # Update ACLs @@ -145,6 +147,8 @@ else echo "no_ssl3=$no_ssl3" >> $cfile echo "ssl_redirect=$ssl_redirect" >> $cfile echo "no_sslcompression=$no_sslcompression" >> $cfile + echo "no_tls1=$no_tls1" >> $cfile + echo "no_tls1_1=$no_tls1_1" >> $cfile echo "keyfile=$keyfile" >> $cfile echo "env_WEBMIN_CONFIG=$config_dir" >> $cfile echo "env_WEBMIN_VAR=$var_dir" >> $cfile @@ -320,6 +324,16 @@ if [ "$?" != "0" ]; then echo no_ssl3=1 >> $config_dir/miniserv.conf fi +grep no_tls1= $config_dir/miniserv.conf >/dev/null +if [ "$?" != "0" ]; then + echo no_tls1=1 >> $config_dir/miniserv.conf +fi + +grep no_tls1_1= $config_dir/miniserv.conf >/dev/null +if [ "$?" != "0" ]; then + echo no_tls1_1=1 >> $config_dir/miniserv.conf +fi + # Make Perl crypt MD5 the default grep md5pass= $config_dir/config >/dev/null if [ "$?" != "0" ]; then diff --git a/app-admin/webmin/webmin-1.760.ebuild b/app-admin/webmin/webmin-1.770.ebuild index 54f23b10a37..eb7f7a9fb00 100644 --- a/app-admin/webmin/webmin-1.760.ebuild +++ b/app-admin/webmin/webmin-1.770.ebuild @@ -129,7 +129,7 @@ src_install() { -e "s:%conf%:${EROOT}etc/webmin/miniserv.conf:" \ -e "s:%config%:${EROOT}etc/webmin/config:" \ -e "s:%perllib%:${EROOT}usr/libexec/webmin:" \ - "${ED}$(_systemd_get_unitdir)/webmin.service" \ + "${ED}$(_systemd_get_systemunitdir)/webmin.service" \ || die "Failed to patch the webmin systemd service file" # Setup pam @@ -286,12 +286,15 @@ pkg_config(){ export os_version='*' export real_os_type='Gentoo Linux' export real_os_version='Any version' - # Forcing 'ssl', 'no_ssl2', 'no_ssl3', 'ssl_redirect' and 'no_sslcompression' for tightening security + # Forcing 'ssl', 'no_ssl2', 'no_ssl3', 'ssl_redirect', 'no_sslcompression', + # 'no_tls1' and 'no_tls1_1' for tightening security export ssl=1 export no_ssl2=1 export no_ssl3=1 export ssl_redirect=1 export no_sslcompression=1 + export no_tls1=1 + export no_tls1_1=1 export keyfile="${EROOT}etc/ssl/webmin/server.pem" export port=10000 diff --git a/net-dns/avahi/avahi-0.6.31-r8.ebuild b/net-dns/avahi/avahi-0.6.31-r11.ebuild index 18e272e0de7..b76edae3416 100644 --- a/net-dns/avahi/avahi-0.6.31-r8.ebuild +++ b/net-dns/avahi/avahi-0.6.31-r11.ebuild @@ -18,7 +18,7 @@ SRC_URI="http://avahi.org/download/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-linux" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-linux" IUSE="autoipd bookmarks dbus doc gdbm gtk gtk3 howl-compat +introspection ipv6 kernel_linux mdnsresponder-compat mono nls python qt4 selinux test utils" REQUIRED_USE=" @@ -120,6 +120,9 @@ src_prepare() { # Fix build under various locales, bug #501664 epatch "${FILESDIR}"/${P}-fix-locale-build.patch + # Fix "Invalid response packet from host", bug #559408. + epatch "${FILESDIR}"/${P}-invalid_packet.patch + # Drop DEPRECATED flags, bug #384743 sed -i -e 's:-D[A-Z_]*DISABLE_DEPRECATED=1::g' avahi-ui/Makefile.am || die @@ -214,11 +217,6 @@ multilib_src_install() { use howl-compat && dosym avahi-compat-howl.pc /usr/$(get_libdir)/pkgconfig/howl.pc use mdnsresponder-compat && dosym avahi-compat-libdns_sd/dns_sd.h /usr/include/dns_sd.h - # Needed for running on systemd properly, bug #537000 - if multilib_is_native_abi; then - ln -s avahi-daemon.service "${D}$(systemd_get_unitdir)"/dbus-org.freedesktop.Avahi.service || die - fi - if multilib_is_native_abi && use doc; then dohtml -r doxygen/html/. || die insinto /usr/share/devhelp/books/avahi diff --git a/net-dns/avahi/avahi-0.6.31-r6.ebuild b/net-dns/avahi/avahi-0.6.31-r6.ebuild deleted file mode 100644 index a6e13444156..00000000000 --- a/net-dns/avahi/avahi-0.6.31-r6.ebuild +++ /dev/null @@ -1,248 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="5" - -PYTHON_COMPAT=( python2_7 ) -PYTHON_REQ_USE="gdbm" - -WANT_AUTOMAKE=1.11 - -inherit autotools eutils flag-o-matic multilib multilib-minimal mono-env \ - python-r1 systemd user - -DESCRIPTION="System which facilitates service discovery on a local network" -HOMEPAGE="http://avahi.org/" -SRC_URI="http://avahi.org/download/${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-linux" -IUSE="autoipd bookmarks dbus doc gdbm gtk gtk3 howl-compat +introspection ipv6 kernel_linux mdnsresponder-compat mono nls python qt4 selinux test utils" - -REQUIRED_USE=" - utils? ( || ( gtk gtk3 ) ) - python? ( dbus gdbm ) - mono? ( dbus ) - howl-compat? ( dbus ) - mdnsresponder-compat? ( dbus ) -" - -COMMON_DEPEND=" - dev-libs/libdaemon - dev-libs/expat - >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}] - gdbm? ( >=sys-libs/gdbm-1.10-r1[${MULTILIB_USEDEP}] ) - qt4? ( dev-qt/qtcore:4 ) - gtk? ( x11-libs/gtk+:2 ) - gtk3? ( x11-libs/gtk+:3 ) - dbus? ( >=sys-apps/dbus-1.6.18-r1[${MULTILIB_USEDEP}] ) - kernel_linux? ( sys-libs/libcap ) - introspection? ( dev-libs/gobject-introspection ) - mono? ( - dev-lang/mono - gtk? ( dev-dotnet/gtk-sharp ) - ) - python? ( - ${PYTHON_DEPS} - gtk? ( dev-python/pygtk ) - dbus? ( dev-python/dbus-python ) - ) - bookmarks? ( - dev-python/twisted-core - dev-python/twisted-web - ) -" - -DEPEND=" - ${COMMON_DEPEND} - dev-util/intltool - >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] - doc? ( - app-doc/doxygen - ) -" - -RDEPEND=" - ${COMMON_DEPEND} - howl-compat? ( !net-misc/howl ) - mdnsresponder-compat? ( !net-misc/mDNSResponder ) - selinux? ( sec-policy/selinux-avahi ) -" - -MULTILIB_WRAPPED_HEADERS=( - # necessary until the UI libraries are ported - /usr/include/avahi-qt4/qt-watch.h - /usr/include/avahi-ui/avahi-ui.h -) - -pkg_preinst() { - enewgroup netdev - enewgroup avahi - enewuser avahi -1 -1 -1 avahi - - if use autoipd; then - enewgroup avahi-autoipd - enewuser avahi-autoipd -1 -1 -1 avahi-autoipd - fi -} - -pkg_setup() { - use mono && mono-env_pkg_setup -} - -src_prepare() { - if use ipv6; then - sed -i \ - -e s/use-ipv6=no/use-ipv6=yes/ \ - avahi-daemon/avahi-daemon.conf || die - fi - - sed -i\ - -e "s:\\.\\./\\.\\./\\.\\./doc/avahi-docs/html/:../../../doc/${PF}/html/:" \ - doxygen_to_devhelp.xsl || die - - # Make gtk utils optional - epatch "${FILESDIR}"/${PN}-0.6.30-optional-gtk-utils.patch - - # Fix init scripts for >=openrc-0.9.0, bug #383641 - epatch "${FILESDIR}"/${PN}-0.6.x-openrc-0.9.x-init-scripts-fixes.patch - - # install-exec-local -> install-exec-hook - epatch "${FILESDIR}"/${P}-install-exec-hook.patch - - # Backport host-name-from-machine-id patch, bug #466134 - epatch "${FILESDIR}"/${P}-host-name-from-machine-id.patch - - # Don't install avahi-discover unless ENABLE_GTK_UTILS, bug #359575 - epatch "${FILESDIR}"/${P}-fix-install-avahi-discover.patch - - epatch "${FILESDIR}"/${P}-so_reuseport-may-not-exist-in-running-kernel.patch - - # allow building client without the daemon - epatch "${FILESDIR}"/${P}-build-client-without-daemon.patch - - # Fix build under various locales, bug #501664 - epatch "${FILESDIR}"/${P}-fix-locale-build.patch - - # Drop DEPRECATED flags, bug #384743 - sed -i -e 's:-D[A-Z_]*DISABLE_DEPRECATED=1::g' avahi-ui/Makefile.am || die - - # Fix references to Lennart's home directory, bug #466210 - sed -i -e 's/\/home\/lennart\/tmp\/avahi//g' man/* || die - - # Prevent .pyc files in DESTDIR - >py-compile - - eautoreconf - - # bundled manpages - multilib_copy_sources -} - -src_configure() { - # those steps should be done once-per-ebuild rather than per-ABI - use sh && replace-flags -O? -O0 - use python && python_export_best - - # We need to unset DISPLAY, else the configure script might have problems detecting the pygtk module - unset DISPLAY - - multilib-minimal_src_configure -} - -multilib_src_configure() { - local myconf=( --disable-static ) - - if use python; then - myconf+=( - $(multilib_native_use_enable dbus python-dbus) - $(multilib_native_use_enable gtk pygtk) - ) - fi - - if use mono; then - myconf+=( $(multilib_native_use_enable doc monodoc) ) - fi - - if ! multilib_is_native_abi; then - myconf+=( - # used by daemons only - --disable-libdaemon - --with-xml=none - ) - fi - - econf \ - --localstatedir="${EPREFIX}/var" \ - --with-distro=gentoo \ - --disable-python-dbus \ - --disable-pygtk \ - --disable-xmltoman \ - --disable-monodoc \ - --enable-glib \ - --enable-gobject \ - $(multilib_native_use_enable test tests) \ - $(multilib_native_use_enable autoipd) \ - $(use_enable mdnsresponder-compat compat-libdns_sd) \ - $(use_enable howl-compat compat-howl) \ - $(multilib_native_use_enable doc doxygen-doc) \ - $(multilib_native_use_enable mono) \ - $(use_enable dbus) \ - $(multilib_native_use_enable python) \ - $(multilib_native_use_enable gtk) \ - $(multilib_native_use_enable gtk3) \ - $(use_enable nls) \ - $(multilib_native_use_enable introspection) \ - $(multilib_native_use_enable utils gtk-utils) \ - --disable-qt3 \ - $(multilib_native_use_enable qt4) \ - $(use_enable gdbm) \ - $(systemd_with_unitdir) \ - "${myconf[@]}" -} - -multilib_src_compile() { - emake - - multilib_is_native_abi && use doc && emake avahi.devhelp -} - -multilib_src_install() { - emake install DESTDIR="${D}" - use bookmarks && use python && use dbus && use gtk || \ - rm -f "${ED}"/usr/bin/avahi-bookmarks - - use howl-compat && dosym avahi-compat-howl.pc /usr/$(get_libdir)/pkgconfig/howl.pc - use mdnsresponder-compat && dosym avahi-compat-libdns_sd/dns_sd.h /usr/include/dns_sd.h - - if multilib_is_native_abi && use doc; then - dohtml -r doxygen/html/. || die - insinto /usr/share/devhelp/books/avahi - doins avahi.devhelp || die - fi -} - -multilib_src_install_all() { - if use autoipd; then - insinto /$(get_libdir)/rcscripts/net - doins "${FILESDIR}"/autoipd.sh - - insinto /$(get_libdir)/netifrc/net - newins "${FILESDIR}"/autoipd-openrc.sh autoipd.sh - fi - - dodoc docs/{AUTHORS,NEWS,README,TODO} - - prune_libtool_files --all -} - -pkg_postinst() { - if use autoipd; then - elog - elog "To use avahi-autoipd to configure your interfaces with IPv4LL (RFC3927)" - elog "addresses, just set config_<interface>=( autoipd ) in /etc/conf.d/net!" - elog - fi -} diff --git a/net-dns/avahi/avahi-0.6.32_rc.ebuild b/net-dns/avahi/avahi-0.6.32_rc.ebuild index f3b222a7565..dc9cd67709f 100644 --- a/net-dns/avahi/avahi-0.6.32_rc.ebuild +++ b/net-dns/avahi/avahi-0.6.32_rc.ebuild @@ -208,12 +208,6 @@ multilib_src_install() { use howl-compat && dosym avahi-compat-howl.pc /usr/$(get_libdir)/pkgconfig/howl.pc use mdnsresponder-compat && dosym avahi-compat-libdns_sd/dns_sd.h /usr/include/dns_sd.h - # Needed for running on systemd properly, bug #537000 - # https://github.com/lathiat/avahi/issues/29 - if multilib_is_native_abi; then - ln -s avahi-daemon.service "${D}$(systemd_get_unitdir)"/dbus-org.freedesktop.Avahi.service || die - fi - if multilib_is_native_abi && use doc; then dohtml -r doxygen/html/. || die insinto /usr/share/devhelp/books/avahi diff --git a/x11-themes/fvwm-crystal/fvwm-crystal-3.2.5.ebuild b/x11-themes/fvwm-crystal/fvwm-crystal-3.2.5.ebuild index f76c9fc3ee2..4826ce23c66 100644 --- a/x11-themes/fvwm-crystal/fvwm-crystal-3.2.5.ebuild +++ b/x11-themes/fvwm-crystal/fvwm-crystal-3.2.5.ebuild @@ -25,6 +25,8 @@ RDEPEND="${PYTHON_DEPS} virtual/awk x11-apps/xwd" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + src_install() { emake \ DESTDIR="${D}" \ |