mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
dev-db/freetds: security cleanup (drop <1.2.18)
Bug: https://bugs.gentoo.org/718950 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: John Helmert III <jchelmert3@posteo.net> Closes: https://github.com/gentoo/gentoo/pull/19198 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
a7a5f5daa8
commit
d23495f13d
@@ -1,2 +1 @@
|
||||
DIST freetds-dev.1.00.558.tar.gz 3151542 BLAKE2B e7b7eb1d4bad1472a675e7657d524837a27ba18176cf410ebad6dcb949cd59bb50e932526790c816c05cf0ba02fb750a1cfbcda10073e5cbf8908bdc4ceb9cc5 SHA512 763f04ae36be8385f9be955defd2d91698389836e80e19019f0da0ee15515d8b7e3733f7659362a307b492dc83830f0a7f27d2a68cb5b56e2ef171ac1dcfeeca
|
||||
DIST freetds-dev.1.2.18.tar.gz 3406990 BLAKE2B f0134ee0a322cb9e7a7fefbf9e85c60b826318b546febde78e53d5ec22dc2c8e269b7e830da6d84267d16a2dc2cf367a54354765017a40e07af2c3c6be54676e SHA512 315f40ba0d97281f852ec99fac457ec4b2a30879a2384bfa2d7c680aad6c056b6ae23fc192c18db4fba75caff552ef86de7bbfc5d7b608ea5a12531bf9eadc4c
|
||||
|
||||
@@ -1,73 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
# This is from the "current" release series, because the "stable" series
|
||||
# is a little too stable for us (missing bug fixes, and so on).
|
||||
MY_PN="${PN}-dev"
|
||||
|
||||
DESCRIPTION="Tabular Datastream Library"
|
||||
HOMEPAGE="https://www.freetds.org/"
|
||||
SRC_URI="ftp://ftp.freetds.org/pub/${PN}/current/${MY_PN}.${PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 ~ppc-macos"
|
||||
|
||||
IUSE="debug gnutls iconv kerberos libressl mssql iodbc odbc ssl static-libs"
|
||||
# iODBC and unixODBC are mutually-exclusive choices for
|
||||
# the ODBC driver manager. Future versions of FreeTDS
|
||||
# will throw an error if you specify both.
|
||||
REQUIRED_USE="?? ( iodbc odbc )"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
# sed, grep, and awk are used by the build system and the osql script.
|
||||
COMMON_DEPEND="
|
||||
sys-apps/sed
|
||||
sys-apps/grep
|
||||
virtual/awk
|
||||
gnutls? ( net-libs/gnutls:= )
|
||||
iconv? ( virtual/libiconv )
|
||||
iodbc? ( dev-db/libiodbc )
|
||||
kerberos? ( virtual/krb5 )
|
||||
odbc? ( dev-db/unixODBC )
|
||||
ssl? (
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
)
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}"
|
||||
|
||||
# bind-tools is needed because the osql script calls "host".
|
||||
# binutils is for "strings".
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
sys-devel/binutils
|
||||
net-dns/bind-tools
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}.${PV}"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--enable-shared \
|
||||
$(use_enable debug) \
|
||||
$(use_enable iconv libiconv) \
|
||||
$(use_enable kerberos krb5) \
|
||||
$(use_enable mssql msdblib) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_with iodbc) \
|
||||
$(use_with odbc unixodbc "${EPREFIX}/usr") \
|
||||
$(use_with iconv libiconv-prefix "${EPREFIX}/usr") \
|
||||
$(use_with gnutls) \
|
||||
$(use_with ssl openssl "${EPREFIX}/usr")
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if ! use static-libs; then
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user