diff options
author | Stuart Shelton <stuart@shelton.me> | 2017-03-16 23:59:13 +0000 |
---|---|---|
committer | Stuart Shelton <stuart@shelton.me> | 2017-03-16 23:59:13 +0000 |
commit | 3a07a3a0353d96786a5e7633fa0e5e303cb22bc9 (patch) | |
tree | 58c4dbd085f7862e0da23b0b0be9143c7ac1bf76 /sys-libs | |
parent | Update net-misc/wget-1.19.1-r1 (diff) | |
download | srcshelton-3a07a3a0353d96786a5e7633fa0e5e303cb22bc9.tar.gz srcshelton-3a07a3a0353d96786a5e7633fa0e5e303cb22bc9.tar.bz2 srcshelton-3a07a3a0353d96786a5e7633fa0e5e303cb22bc9.zip |
Add sys-libs/gdbm-1.13
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/gdbm/Manifest | 3 | ||||
-rw-r--r-- | sys-libs/gdbm/gdbm-1.13.ebuild | 73 |
2 files changed, 76 insertions, 0 deletions
diff --git a/sys-libs/gdbm/Manifest b/sys-libs/gdbm/Manifest index 2d2c42b6..dbda1237 100644 --- a/sys-libs/gdbm/Manifest +++ b/sys-libs/gdbm/Manifest @@ -1,3 +1,4 @@ +AUX Manifest.gentoo 196 SHA256 dd272d8468446d7a88f0f6f9c25d1b497dbd9b597c242127f67c7fa608a5a01e SHA512 520d085c30e5063a1048ee623ec44e0788628a5742ca15b59708be4e7fadfe133ec269be29a533c2835e40721fe74c8b0e2c6bd1b44aa8c3d7ea24efb739c40d WHIRLPOOL 02cfb48a4df4896da728e3ebf46db89e26f5ba93c0e51eccffc006650e4da957280164b6940aa4b3c6640213c54250e8e5ff6e3c23207e76f40df6367cd582fe AUX gdbm-1.11-variable_unset.patch 424 SHA256 fc1d76a1efbf233ca31f60b20a88a13b9b59338293f13e2c8f848403af43013c SHA512 b4eadb40ed028b5ec3e7e09c05220c6e1e945602b4385231dae063f1447c0353b514cd99177513f9f22e494ff40de2839147ac38f2a819191fe71232f038e627 WHIRLPOOL d4464bc561acf851ac062595088f2102ce381fa4866b5f910c28bb4f878f7b500a7e0d5e8aa3a71bed59f126bda92a725dc1207773f96bc28705fc5edcc4cecc AUX gdbm-1.8.3-build.patch 691 SHA256 be5b2a90e85bdfd1c2e24937510f303ed06def19ba074be502a9edc9c3eff4ca SHA512 36966cc1bf703ef891a24185846b3514d8a767555f1577906566d96cea18b7f007fdd960b027db09e1eafbad14c3a763fd695a71e07af6fa2a51f99ceea0b685 WHIRLPOOL a2d768c16bcd276665bf4a252eaf48c3fe5061038d0471b107edbe2799dc04613e4eaf54edd8b9c35fbd59693bb70b179bd87ea7fa00563384e6970f9b4fc6a7 AUX gdbm-1.8.3-compat-linking.patch 611 SHA256 832cfffff5d1cb26cf3f2618014e8e1ff4d30153f34abda8db074788abef7dac SHA512 b8a6d2afa27c273710d5d1a7273d8f78f4068e3e89f3c24e304cc4e677a7f91c01a37f7db67cb0859266a4ddad1042cbab6c25f431efa130f348428a8bdbf193 WHIRLPOOL fcdfc61d44ea4bec721b86847c304dce83a708503bf12561f4b6afd1475d277963d6df3f70ea2a9e403bc6f78d7d7cbc41f7d0b4efd7394966320e63f77ee28f @@ -5,6 +6,8 @@ AUX gdbm-1.8.3-fix-install-ownership.patch 1567 SHA256 e08df8b252176475c47615fbe AUX gdbm-1.9.1-compat-link.patch 915 SHA256 a730f1f17713d1716cd68c20efd2d704b175348213ee322a45e5aab9873e0779 SHA512 583b1596abbe168d91440172708f091778d2bc6a86df87ef69f8a482a8811afd21dcd8a28ba2b67f2f36f81ae7e754a2ea8a9244fc9448963540a13867988556 WHIRLPOOL b5d62e4261b121274455180b3822662aa6b00b46c61e3a91bb1a84c01f18759ec50ace2055518abadb758bc3bedac93ec233c246807f02f870378c1d2b3b39ce DIST gdbm-1.11.tar.gz 811662 SHA256 8d912f44f05d0b15a4a5d96a76f852e905d051bb88022fcdfd98b43be093e3c3 SHA512 272fb65ab9ca0a21e9f0dcfb2c638457e87cbb938c65ee850123474d11f2858496f84d3fa9edca27cd91c7220160cfdb59f90bd46ddc45395514addc9fd4151c WHIRLPOOL 827f100826273fb8e6d8fdc88fffdb81e5630a7d07bdbeeb7d25759809c5165613446567b0b48bf862d4a4b231e5db921e28c9d6915e669fd0ce795f4a9f150a DIST gdbm-1.12.tar.gz 841213 SHA256 d97b2166ee867fd6ca5c022efee80702d6f30dd66af0e03ed092285c3af9bcea SHA512 25e03dceed6986f1977d304a5ad059ac6c603a88ad4aa18c831ec42df82d68006f2e04b8a3cc400d0a4970750c78ba24a3f84cdff70de9f278cfd854c059699e WHIRLPOOL 63f6592eafc5332cb754a1def412beaecaa21d751a41eab90be84ea0100846efa088c2a10f223238a17a48109e880d945db1f19eb62b8ddea673b413021f8669 +DIST gdbm-1.13.tar.gz 891987 SHA256 9d252cbd7d793f7b12bcceaddda98d257c14f4d1890d851c386c37207000a253 SHA512 fdb777f5b415b0578ea46b4a6fc70151a04a3568e2f2c8c0219ccad8c0d34abb773d80d5d7a06462ad1a3d6c1f3b5b7ab25f9de4f43ccf05c58db05f9a2906ad WHIRLPOOL 7defcbde2c67fe91ffbf04701e1589a1015d02f07f7936e01410087671711fc15100d5222e36de4c4f09609f644be23e18f46aaf23ff49a59215e24ac7490963 DIST gdbm-1.8.3.tar.gz 228695 SHA256 cc340338a2e28b40058ab9eb5354a21d53f88a1582ea21ba0bb185c37a281dc9 SHA512 2a01751ee8f730db563b4f52185c72f1c7a4f66530d6736f05f7446153be685ea0bb6ea1d2bad16ce31547fea879dc48507ff65ad35b0973df9aa385713b10d7 WHIRLPOOL 9d2e402b2ec00cadfc64e40d87da095f293f157386abbe9a64ebe8b7a2af9b965546805826ffe3d5c88212dec0628ab2ae3ebef91de2da7fc69d0937d03d7075 EBUILD gdbm-1.11.ebuild 1988 SHA256 3a524c5605600db36d378db0c7ce24b5d34f255dcbe90943ac350ae507885681 SHA512 f9c8a6fafb20dcec354906d4fea2dbfaba479f43b1ee7714ebad351bd1260b1f25dc9dd664a430ccf97d445f95ea785e477961796ac920196e24859e47e4dbb6 WHIRLPOOL 10235287a884b36994e21ebbffbd811497d6612b97befb98de3c2d437a9a83ff616d082fa7a43727e61f800c5651b4b259e13b32ceaaaf28a926d1d6e64b0259 EBUILD gdbm-1.12.ebuild 2005 SHA256 24256e25c701b9a6475585746f710eef19fb03baf5f883631e7434ba85077943 SHA512 9e4edcbde214fc567e4f38641a1923c3d3afa48122e31a86bde8edcfb30fc27d69bee7db0aede1da04d50e772cb502eeedde1175c723ce994153973198b1cf31 WHIRLPOOL 1d87febc30e2cb1d707186e5b4a81311c18dab3a045d891d197a63707c7f7b7c773510b20e94519c0fbd92800749c0e8a94d4d1fc808d3046e92e03cd74e78c7 +EBUILD gdbm-1.13.ebuild 1955 SHA256 72a1ab4fa1bc5b40792aecfcad4bb0836d16f9a41a8fb908e4d5cf521ba1a70a SHA512 ffbfcde47896190384a9f364f5dca2555949f0311cb9ca052d33a7d3400318477fb508bdf40f2e0e5b8465cf52da145872c3dc481789ef9f6140d323ea4c07a1 WHIRLPOOL aa87d2aa9f33966be58e5480e206d12055af4322d41e30bc293a611385db309040ae3f845f86001fec649557ac00445f725d744f84749bc815df5c4bd5e562f0 diff --git a/sys-libs/gdbm/gdbm-1.13.ebuild b/sys-libs/gdbm/gdbm-1.13.ebuild new file mode 100644 index 00000000..49cd9467 --- /dev/null +++ b/sys-libs/gdbm/gdbm-1.13.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit flag-o-matic libtool multilib multilib-minimal + +EX_P="${PN}-1.8.3" +DESCRIPTION="Standard GNU database libraries" +HOMEPAGE="https://www.gnu.org/software/gdbm/" +SRC_URI="mirror://gnu/gdbm/${P}.tar.gz + exporter? ( mirror://gnu/gdbm/${EX_P}.tar.gz )" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="+berkdb exporter nls static-libs" + +RDEPEND=" + abi_x86_32? ( + !<=app-emulation/emul-linux-x86-baselibs-20131008-r4 + !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] + )" + +EX_S="${WORKDIR}"/${EX_P} + +src_prepare() { + epatch "${FILESDIR}"/"${PN}"-1.11-variable_unset.patch + + elibtoolize +} + +multilib_src_configure() { + # gdbm doesn't appear to use either of these libraries + export ac_cv_lib_dbm_main=no ac_cv_lib_ndbm_main=no + + if multilib_is_native_abi && use exporter ; then + pushd "${EX_S}" >/dev/null + append-lfs-flags + econf --disable-shared + popd >/dev/null + fi + + ECONF_SOURCE=${S} \ + econf \ + --includedir="${EPREFIX}"/usr/include/gdbm \ + --with-gdbm183-libdir="${EX_S}/.libs" \ + --with-gdbm183-includedir="${EX_S}" \ + $(use_enable berkdb libgdbm-compat) \ + $(multilib_native_use_enable exporter gdbm-export) \ + $(use_enable nls) \ + $(use_enable static-libs static) +} + +multilib_src_compile() { + use exporter && emake -C "${EX_S}" libgdbm.la + emake +} + +multilib_src_install_all() { + einstalldocs + + use static-libs || find "${ED}" -name '*.la' -delete + mv "${ED}"/usr/include/gdbm/gdbm.h "${ED}"/usr/include/ || die +} + +pkg_preinst() { + preserve_old_lib libgdbm{,_compat}.so.{2,3} #32510 +} + +pkg_postinst() { + preserve_old_lib_notify libgdbm{,_compat}.so.{2,3} #32510 +} |