commit:     ee12e968b20ac1efdef5f66f392ae62b664978d2
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 14 19:53:12 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Aug 14 19:59:58 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee12e968

dev-db/recutils: Remove last-rited pkg, #600524

 dev-db/recutils/Manifest                           |   2 -
 dev-db/recutils/files/50recutils-gentoo.el         |   6 -
 dev-db/recutils/files/recutils-1.5-automagic.patch |  57 ---------
 .../recutils/files/recutils-1.5-glibc-2.16.patch   |  29 -----
 dev-db/recutils/files/recutils-1.7-automagic.patch | 130 ---------------------
 dev-db/recutils/metadata.xml                       |  10 --
 dev-db/recutils/recutils-1.5.ebuild                |  81 -------------
 dev-db/recutils/recutils-1.7.ebuild                |  87 --------------
 profiles/package.mask                              |   4 -
 9 files changed, 406 deletions(-)

diff --git a/dev-db/recutils/Manifest b/dev-db/recutils/Manifest
deleted file mode 100644
index 2aabf289982..00000000000
--- a/dev-db/recutils/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST recutils-1.5.tar.gz 1811121 SHA256 
7ed67e74468084f52ad9341e4b11c44e5fd9d5325b93b7eb2cb230c839ff5dec SHA512 
6c6091618474b5e54948370ef26db3cb446b0d8719d443fa1dbbdee75f046d536ab61ce803a9443f2e31ab7e46774aaf73c3d4fe2bf9da90a2c508dbbcc611be
 WHIRLPOOL 
25363ec7a03990d0114eb0f1cc161d1685ec7a3e4627b927ef8d0439a5e9998f3836915da12107ddb5bc759bca4b630dea25fa657b89b196c361a1156a3daef8
-DIST recutils-1.7.tar.gz 2252648 SHA256 
233dc6dedb1916b887de293454da7e36a74bed9ebea364f7e97e74920051bc31 SHA512 
80f6996f2bc02986695223db597cff75aae2bd47b88e81b0dfe44c33f79fc3320108e2715b1af086b167ff1124fe94deeec4e337b1ede99807d381927327bd68
 WHIRLPOOL 
5263e2a7ffec7681b00dccd0d6302a04e81f4c876ef2ebdd32bf3526cc010ae407b9267a7b9444bd21e552117a3b9b6d326f6782f1470c14125cade430c7f98f

diff --git a/dev-db/recutils/files/50recutils-gentoo.el 
b/dev-db/recutils/files/50recutils-gentoo.el
deleted file mode 100644
index 1b16da6bbcd..00000000000
--- a/dev-db/recutils/files/50recutils-gentoo.el
+++ /dev/null
@@ -1,6 +0,0 @@
-
-;; site-init for dev-db/recutils
-
-(add-to-list 'load-path "@SITELISP@")
-(autoload 'rec-mode "rec-mode" "A mode for viewing/editing rec files." t)
-(add-to-list 'auto-mode-alist '("\\.rec$" . rec-mode))

diff --git a/dev-db/recutils/files/recutils-1.5-automagic.patch 
b/dev-db/recutils/files/recutils-1.5-automagic.patch
deleted file mode 100644
index 5b928093ce5..00000000000
--- a/dev-db/recutils/files/recutils-1.5-automagic.patch
+++ /dev/null
@@ -1,57 +0,0 @@
---- recutils-1.5/configure.ac.orig
-+++ recutils-1.5/configure.ac
-@@ -85,17 +85,35 @@
- fi
- AC_SUBST([CHECKLIBS])
- 
-+AC_ARG_ENABLE([curl],
-+              AS_HELP_STRING([--enable-curl],
-+                             [Enable support for remote descriptors using 
libcurl (default is YES)]),
-+              [curl_enabled=$enableval], [curl_enabled=yes])
-+
- have_curl=no
--AC_CHECK_LIB([curl],[curl_global_init],[have_curl=yes],)
--if test "x$have_curl" = "xyes"; then
--   CURLLIBS=-lcurl
-+if test "x$curl_enabled" = "xyes"; then
-+      AC_CHECK_LIB([curl],[curl_global_init],[have_curl=yes],)
-+      if test "x$have_curl" = "xyes"; then
-+              CURLLIBS=-lcurl
-+      else
-+              AC_MSG_ERROR([curl support enabled but libcurl not found])
-+      fi
- fi
- AC_SUBST([CURLLIBS])
- 
-+AC_ARG_ENABLE([mdb],
-+              AS_HELP_STRING([--enable-mdb],
-+                             [Build the mdb2rec utility (default is YES)]),
-+              [mdb_enabled=$enableval], [mdb_enabled=yes])
-+
- have_mdb=no
--AC_CHECK_LIB([mdb],[mdb_init],[have_mdb=yes],)
--if test "x$have_mdb" = "xyes"; then
--   MDBLIBS=-lmdb
-+if test "x$mdb_enabled" = "xyes"; then
-+      AC_CHECK_LIB([mdb],[mdb_init],[have_mdb=yes],)
-+      if test "x$have_mdb" = "xyes"; then
-+              MDBLIBS=-lmdb
-+      else
-+              AC_MSG_ERROR([mdb support enabled but libmdb not found])
-+      fi
- fi
- AC_SUBST([MDBLIBS])
- 
-@@ -119,8 +137,10 @@
- AC_SUBST([crypt_support])
- 
- have_glib=no
--PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.0.0],
--                  [have_glib=yes], [have_glib=no])
-+if test "x$mdb_enabled" = "xyes"; then
-+      PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.0.0],
-+                                      [have_glib=yes], [have_glib=no])
-+fi
- 
- AM_CONDITIONAL([COMPILE_MDB2REC],
-                [test "x$have_glib" = "xyes" && test "x$have_mdb" = "xyes"])

diff --git a/dev-db/recutils/files/recutils-1.5-glibc-2.16.patch 
b/dev-db/recutils/files/recutils-1.5-glibc-2.16.patch
deleted file mode 100644
index 8b4997f099d..00000000000
--- a/dev-db/recutils/files/recutils-1.5-glibc-2.16.patch
+++ /dev/null
@@ -1,29 +0,0 @@
---- recutils-1.5/lib/stdio.in.h
-+++ recutils-1.5/lib/stdio.in.h
-@@ -699,22 +699,11 @@
- # endif
- #endif
- 
--#if @GNULIB_GETS@
--# if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@
--#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
--#   undef gets
--#   define gets rpl_gets
--#  endif
--_GL_FUNCDECL_RPL (gets, char *, (char *s) _GL_ARG_NONNULL ((1)));
--_GL_CXXALIAS_RPL (gets, char *, (char *s));
--# else
--_GL_CXXALIAS_SYS (gets, char *, (char *s));
--#  undef gets
--# endif
--_GL_CXXALIASWARN (gets);
- /* It is very rare that the developer ever has full control of stdin,
--   so any use of gets warrants an unconditional warning.  Assume it is
--   always declared, since it is required by C89.  */
-+   so any use of gets warrants an unconditional warning; besides, C11
-+   removed it.  */
-+#undef gets
-+#if HAVE_RAW_DECL_GETS
- _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
- #endif
- 

diff --git a/dev-db/recutils/files/recutils-1.7-automagic.patch 
b/dev-db/recutils/files/recutils-1.7-automagic.patch
deleted file mode 100644
index e5d33bf8749..00000000000
--- a/dev-db/recutils/files/recutils-1.7-automagic.patch
+++ /dev/null
@@ -1,130 +0,0 @@
---- recutils-1.7/configure.ac
-+++ recutils-1.7/configure.ac
-@@ -85,17 +85,32 @@
- fi
- AC_SUBST([CHECKLIBS])
- 
-+AC_ARG_ENABLE([curl],
-+              AS_HELP_STRING([--enable-curl],
-+                             [Enable support for remote descriptors using 
libcurl (default is YES)]),
-+              [curl_enabled=$enableval], [curl_enabled=yes])
- have_curl=no
--AC_CHECK_LIB([curl],[curl_global_init],[have_curl=yes],)
--if test "x$have_curl" = "xyes"; then
--   CURLLIBS=-lcurl
-+if test "x$curl_enabled" = "xyes"; then
-+   AC_CHECK_LIB([curl],[curl_global_init],[have_curl=yes],)
-+   if test "x$have_curl" = "xyes"; then
-+       CURLLIBS=-lcurl
-+   else
-+       AC_MSG_ERROR([curl support enabled but libcurl not found])
-+   fi
- fi
- AC_SUBST([CURLLIBS])
- 
-+AC_ARG_ENABLE([uuid],
-+              AS_HELP_STRING([--enable-uuid],
-+                             [Compile recutils with support for uuid types 
(default is YES)]),
-+              [uuid_enabled=$enableval], [uuid_enabled=yes])
-+
- have_uuid=no
--AC_CHECK_LIB([uuid],[uuid_generate],[have_uuid=yes],)
--if test "x$have_uuid" = "xyes"; then
--   UUIDLIBS=-luuid
-+if test "x$uuid_enabled" = "xyes"; then
-+   AC_CHECK_LIB([uuid],[uuid_generate],[have_uuid=yes],)
-+      if test "x$have_uuid" = "xyes"; then
-+         UUIDLIBS=-luuid
-+      fi
- fi
- AC_SUBST([UUIDLIBS])
- AC_SUBST([have_uuid])
-@@ -119,32 +134,42 @@
- AM_CONDITIONAL([CRYPT], [test "x$crypt_support" = "xyes"])
- AC_SUBST([crypt_support])
- 
--have_glib=no
--PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.0.0],
--                  [have_glib=yes], [have_glib=no])
--
-+AC_ARG_ENABLE([mdb],
-+              AS_HELP_STRING([--enable-mdb],
-+                             [Build the mdb2rec utility (default is YES)]),
-+              [mdb_enabled=$enableval], [mdb_enabled=yes])
- have_mdb=no
--AC_CHECK_LIB([mdb],[mdb_init],[have_mdb=yes],)
--if test "x$have_mdb" = "xyes"; then
--   MDBLIBS=-lmdb
--
--   OLD_CFLAGS=$CFLAGS
--   CFLAGS="$CFLAGS $pkg_cv_GLIB_CFLAGS"
--   mdb_uses_sdatetime=no
--   AC_CHECK_DECL([MDB_SDATETIME],[mdb_uses_sdatetime=yes],,[#include <glib.h>
-+if test "x$mdb_enabled" = "xyes"; then
-+   AC_CHECK_LIB([mdb],[mdb_init],[have_mdb=yes],)
-+   if test "x$have_mdb" = "xyes"; then
-+       MDBLIBS=-lmdb
-+
-+       OLD_CFLAGS=$CFLAGS
-+       CFLAGS="$CFLAGS $pkg_cv_GLIB_CFLAGS"
-+       mdb_uses_sdatetime=no
-+       AC_CHECK_DECL([MDB_SDATETIME],[mdb_uses_sdatetime=yes],,[#include 
<glib.h>
- #include <mdbtools.h>])
--   CFLAGS=$OLD_CFLAGS
-+       CFLAGS=$OLD_CFLAGS
- 
--   if test "x$mdb_uses_sdatetime" = "xyes"; then
--      MDB_DATETIME="MDB_SDATETIME"
-+       if test "x$mdb_uses_sdatetime" = "xyes"; then
-+          MDB_DATETIME="MDB_SDATETIME"
-+       else
-+        MDB_DATETIME="MDB_DATETIME"
-+       fi
-    else
--      MDB_DATETIME="MDB_DATETIME"
-+       AC_MSG_ERROR([mdb support enabled but libmdb not found])
-    fi
- 
-    AC_SUBST([MDB_DATETIME])
- fi
- AC_SUBST([MDBLIBS])
- 
-+have_glib=no
-+if test "x$mdb_enabled" = "xyes"; then
-+    PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.0.0],
-+                      [have_glib=yes], [have_glib=no])
-+fi
-+
- AM_CONDITIONAL([COMPILE_MDB2REC],
-                [test "x$have_glib" = "xyes" && test "x$have_mdb" = "xyes"])
- AM_CONDITIONAL([REMOTE_DESCRIPTORS], [test "x$have_curl" = "xyes"])
-@@ -233,29 +258,6 @@
- 
- dnl Report warnings
- 
--if test "x$have_check" = "xno"; then
--   echo "warning: libcheck was not found in the system."
--   echo "warning: unit tests wont be compiled and executed upon make check."
--fi
--
--if test "x$have_mdb" = "xno"; then
--   echo "warning: libmdb was not found in the system."
--   echo "warning: the mdb2rec utility won't get built."
--fi
--
--if test "x$have_glib" = "xno"; then
--   echo "warning: glib was not found in the system."
--   echo "warning: the mdb2rec utility won't get built."
--fi
--
--if test "x$crypt_support" = "xno"; then
--   echo "warning: building recutils without encryption support."
--fi
--
--if test "x$have_uuid" = "xno"; then
--   echo "warning: building recutils without support for uuid types."
--fi
--
- if test "x$bash_headers_available" = "xno" || test "x$bash_builtins_enabled" 
= "xno"; then
-    echo "warning: not building the recutils bash builtins."
- fi

diff --git a/dev-db/recutils/metadata.xml b/dev-db/recutils/metadata.xml
deleted file mode 100644
index dd3c76d2b0c..00000000000
--- a/dev-db/recutils/metadata.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
-<pkgmetadata>
-       <!-- maintainer-needed -->
-       <use>
-               <flag name="curl">Enable support for remote descriptors using 
libcurl</flag>
-               <flag name="mdb">Build the mdb2rec utility</flag>
-               <flag name="uuid">Enable support for uuid types</flag>
-       </use>
-</pkgmetadata>

diff --git a/dev-db/recutils/recutils-1.5.ebuild 
b/dev-db/recutils/recutils-1.5.ebuild
deleted file mode 100644
index c27400ef2c3..00000000000
--- a/dev-db/recutils/recutils-1.5.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-
-inherit autotools eutils elisp-common
-
-DESCRIPTION="Tools and libraries to access human-editable, plain text 
databases"
-HOMEPAGE="https://www.gnu.org/software/recutils/";
-SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="crypt curl emacs mdb nls static-libs"
-
-RDEPEND="sys-libs/readline
-       crypt? (
-               dev-libs/libgcrypt:0
-               dev-libs/libgpg-error
-       )
-       curl? ( net-misc/curl )
-       emacs? (
-               app-emacs/org-mode
-               virtual/emacs
-       )
-       mdb? (
-               app-office/mdbtools
-               dev-libs/glib:2
-       )
-       nls? ( virtual/libintl )"
-DEPEND="${RDEPEND}
-       virtual/pkgconfig
-       nls? ( sys-devel/gettext )"
-
-SITEFILE="50${PN}-gentoo.el"
-
-src_prepare() {
-       epatch "${FILESDIR}"/${P}-automagic.patch
-       epatch "${FILESDIR}"/${P}-glibc-2.16.patch
-
-       # Don't unconditionally install emacs files
-       sed -i -e "/^dist_lisp_DATA/d" etc/Makefile.am || die
-
-       eautoreconf
-}
-
-src_configure() {
-       econf \
-               $(use_enable crypt encryption) \
-               $(use_enable curl) \
-               $(use_enable mdb) \
-               $(use_enable nls) \
-               $(use_enable static-libs static)
-}
-
-src_compile() {
-       default
-
-       if use emacs ; then
-               elisp-compile etc/*.el || die
-       fi
-}
-
-src_install() {
-       default
-       use static-libs || find "${D}" -name '*.la' -delete
-
-       if use emacs ; then
-               elisp-install ${PN} etc/*.{el,elc} || die
-               elisp-site-file-install "${FILESDIR}"/${SITEFILE} || die
-       fi
-}
-
-pkg_postinst() {
-       use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
-       use emacs && elisp-site-regen
-}

diff --git a/dev-db/recutils/recutils-1.7.ebuild 
b/dev-db/recutils/recutils-1.7.ebuild
deleted file mode 100644
index 3b2aa1b69aa..00000000000
--- a/dev-db/recutils/recutils-1.7.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit autotools eutils elisp-common
-
-DESCRIPTION="Tools and libraries to access human-editable, plain text 
databases"
-HOMEPAGE="https://www.gnu.org/software/recutils/";
-SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="crypt curl emacs mdb nls static-libs +uuid"
-
-RDEPEND="sys-libs/readline
-       crypt? (
-               dev-libs/libgcrypt:0=
-               dev-libs/libgpg-error
-       )
-       curl? ( net-misc/curl )
-       emacs? (
-               app-emacs/org-mode
-               virtual/emacs
-       )
-       mdb? (
-               app-office/mdbtools
-               dev-libs/glib:2
-       )
-       nls? ( virtual/libintl )
-       uuid? ( sys-apps/util-linux )"
-DEPEND="${RDEPEND}
-       virtual/pkgconfig
-       nls? ( sys-devel/gettext )"
-
-SITEFILE="50${PN}-gentoo.el"
-
-src_prepare() {
-       epatch "${FILESDIR}"/${P}-automagic.patch
-
-       # don't unconditionally install emacs files
-       sed -i "/^dist_lisp_DATA/d" etc/Makefile.am || die
-
-       eautoreconf
-}
-
-src_configure() {
-       econf \
-               $(use_enable crypt encryption) \
-               $(use_enable curl) \
-               $(use_enable mdb) \
-               $(use_enable nls) \
-               $(use_enable uuid) \
-               $(use_enable static-libs static)
-}
-
-src_compile() {
-       default
-
-       if use emacs ; then
-               elisp-compile etc/*.el || die
-       fi
-}
-
-src_test() {
-       # tests have parallel issues
-       emake -j1 check
-}
-
-src_install() {
-       default
-       prune_libtool_files
-
-       if use emacs ; then
-               elisp-install ${PN} etc/*.{el,elc} || die
-               elisp-site-file-install "${FILESDIR}"/${SITEFILE} || die
-       fi
-}
-
-pkg_postinst() {
-       use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
-       use emacs && elisp-site-regen
-}

diff --git a/profiles/package.mask b/profiles/package.mask
index a45020df388..da8607bd363 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -324,10 +324,6 @@ app-pda/fusepod
 dev-util/lorax
 
 # Pacho Ramos <pa...@gentoo.org> (14 Jul 2017)
-# Security issues (#600524), upstream dead, removal in a month.
-dev-db/recutils
-
-# Pacho Ramos <pa...@gentoo.org> (14 Jul 2017)
 # Multiple unresolved bugs (#600680), need major version bumps and a
 # maintainer, removal in 2 months.
 dev-libs/libRocket

Reply via email to