diff options
Diffstat (limited to 'app-crypt/heimdal')
-rw-r--r-- | app-crypt/heimdal/Manifest | 5 | ||||
-rw-r--r-- | app-crypt/heimdal/files/heimdal-7.8.0-autoconf-2.72.patch | 19 | ||||
-rw-r--r-- | app-crypt/heimdal/heimdal-7.8.0-r1.ebuild | 190 | ||||
-rw-r--r-- | app-crypt/heimdal/heimdal-7.8.0-r2.ebuild | 191 | ||||
-rw-r--r-- | app-crypt/heimdal/heimdal-7.8.0-r3.ebuild | 3 |
5 files changed, 23 insertions, 385 deletions
diff --git a/app-crypt/heimdal/Manifest b/app-crypt/heimdal/Manifest index 9616140a67d5..a01051f556f2 100644 --- a/app-crypt/heimdal/Manifest +++ b/app-crypt/heimdal/Manifest @@ -1,4 +1,5 @@ AUX heimdal-7.8.0-CVE-2022-45142.patch 1320 BLAKE2B 2aa61a0a7c852b587b4313a13b4fa24415123590bd5779e972a395fa4e93e048544e874b238d8fabf7853001ff1eae668263bbf8f8f00d2ce395a5af869ba99f SHA512 9a03a218c0e523ed50051176f11f6939a5c9dd45c40495fa676b94083a1aa69ec9109fa415f836cec1b3a26ff77cd3ac44a7464f0395c8088627561fefbf2c66 +AUX heimdal-7.8.0-autoconf-2.72.patch 827 BLAKE2B 5084548adba9712e7b16ebd77e47d44c665ab6bd1e879a8b1f83e7a01384a58d7dc39b534132b2b8143c43f17ff9fa7d779cc144df9033507c6b8376036f20d2 SHA512 2b2af161713d1d76e6cc5669373de073015898cc64548d7826988bd7e7861507b26d61edea62248c2b2a553c327d3d64b36d70ad3e0078c9db916b32c693d384 AUX heimdal-7.8.0-configure-clang16.patch 2374 BLAKE2B 7db8772c3939b733b284a491322c8f256e9c50fce3a8727209ebddb2ae2493b4305d25d92a7e7e2cc8fb3c114be688b462556db718d4c8eb9a9cd722beddc777 SHA512 b14ae324d742eebc756ff5a01762aae7282a32ffd09f703e82bc3b7bedfa0ede08763003d711acf72edc5768ed9db64a4b72682be945e41954de1ace26bcd18b AUX heimdal-kadmind.confd 151 BLAKE2B 1e916d248e9d93029e1e2a541c505c87f017e2a825383650dd8cf0e9c55d1740410312bf050270a382caef11250dbcf333724e5e73ce4ed4d2dacb53dbdb6a34 SHA512 2e2852fa6bebeb58da4bd80fb584339ab8c95fdc1e37f957045f9fcc9b212ccf61145d16c6f7a2fae6245e977200e48150f25bc4ac1d734692555ccfd9911810 AUX heimdal-kadmind.initd-r2 427 BLAKE2B 55f0d458b28c889bce8a98ce58112124983c284918c1db1b877c095bd9f573d60ec035afe3182d5ae3f6d484af6fdd09b9efe01b73821921afac8509b65abbf4 SHA512 fd8cf77b7786a6b78d775be3ee769a31ec27a085f4e0764722948a02122e9a4ce52143eb1d3ac2acd7c74a5bee4432220155eb9a49bfbafc0c23431b18da64b2 @@ -14,7 +15,5 @@ AUX heimdal_fix-db60.patch 443 BLAKE2B d89892570100dcc4a9b5bacd672cd28ce284ae9ad AUX heimdal_tinfo.patch 711 BLAKE2B 730ef4b1ba79d80c7257d1bd04783584cf616b2e51d6028fe3160dfdc113b6243c7af8c116ff969de439ebb79bab9091f8e5d6e9037c2b48541e6cbc83ba1026 SHA512 b4c63c9e945b914009569e62fd53229032ffaecde11dc4d02a89d5ba65f2c28020d43af8f2c26d87e2b383ba6dd3c3f4c4b69529471bc1928b45a9b5c437958d AUX krb5.conf 424 BLAKE2B 49b8a0aab6e0dacb70b91e030bb5f2b8bdfe4253026f85e2c9d16bdf6f554c585572ed9d3835bed976c8953fc92d0f42270c6a0767e943ec5efa5b79f6f4cf89 SHA512 4dad6837344e30c6988355551b5b82bce748dad7aa7648204ba7852540ad3a546b5344926789d60e78d57ff20dff87b680b790dc8d86c8dec1008feb0d809e38 DIST heimdal-7.8.0.tar.gz 10024936 BLAKE2B bab8ed12a5257395b34bb88e22147912857015c652f0899c54809582c49f9c33b9ac748b28dd38ac7072d245e86e44c5dafb8725103fcb4a6dae16c8d1d4b623 SHA512 0167345aca77d65b7a1113874eee5b65ec6e1fec1f196d57e571265409fa35ef95a673a4fd4aafbb0ab5fb5b246b97412353a68d6613a8aff6393a9f1e72999e -EBUILD heimdal-7.8.0-r1.ebuild 4585 BLAKE2B 860e250b64e1a5055b2b50eaeb8cc3a5e65f4974ab94efadb7ce5faa548b1f24712ac97886e5c25d33ed7f65af4a258082c4296182ee2c7020200975da74bd37 SHA512 3611821f12d310ce48b205e47f5a8db70bb5593d0fe26ed569ea6064964357fd20966463a61196258910e32af4623cba750bd6c267f41fb12d930a38ee5edf13 -EBUILD heimdal-7.8.0-r2.ebuild 4644 BLAKE2B 9cc9339812e1733b5db9169a73b3ebe1164b5b1ba03aac558073cd8257a00ac4475dd946aa9c98781eea5b4534934a581d280979634fe61fd89920a2a5dc6053 SHA512 166bd7c02cf5d69c48ca56f18cbbadf221453c3940a2d4db34f9bf535954eb26996457961b6e6500d7e708b86f049e0c143ff149cb8d9f213ecba09948ea7dc2 -EBUILD heimdal-7.8.0-r3.ebuild 4377 BLAKE2B 2cb0c93b42e37db068a254a6d8a32869f69fdb9416b9a96ee833ff03f659835372fffb2f634fe37e2fd66e186c8421b12f20f1de5680df4d7cfe631cb1dd4314 SHA512 3a4179476cf25cdcad4a3cdd9761d7624ac2a306a620c36cc1da4509af80c5c49ebcf744a3661fcfdb4ea4520e4808f03a7c6c90de7e86c359c1713e7ddeeb29 +EBUILD heimdal-7.8.0-r3.ebuild 4419 BLAKE2B 56e839fdbd3b0d8270685187eab2d44e3e4613302cf6d9df92fa86f91b9f6831de88d6f1ddb892fba70084600b67b1492f7b2f3ff120cc2e7aefd2d5c6f013a5 SHA512 477b3ff81b4db449b800ff06e898a3607c50d611a863ad1440fa04b9af6ffc9bd40c269e30167e03d559fbad4fe56154ca609a418fbc68ead543a6f8a6d8d5f1 MISC metadata.xml 582 BLAKE2B e38fb8048d899871775a690397627b0003cb3301aaa3c98cc8fb9d70e867bd0b922581d3e319464ff89929c4a34c608e23cecc72f0b4a320b3365cf23853268e SHA512 77b5b3da9ccbcb77c6e0985c7610b3ba5b698092327221477f30828f086ef3891c8170856cb6b26a5596239180e43c5b6d5e213ae6a7129c659bb34fe9c498cd diff --git a/app-crypt/heimdal/files/heimdal-7.8.0-autoconf-2.72.patch b/app-crypt/heimdal/files/heimdal-7.8.0-autoconf-2.72.patch new file mode 100644 index 000000000000..5528af696680 --- /dev/null +++ b/app-crypt/heimdal/files/heimdal-7.8.0-autoconf-2.72.patch @@ -0,0 +1,19 @@ +https://github.com/heimdal/heimdal/pull/1229 + +From 2b372170c894ed9aa3fe2fca976f3541ea7041d9 Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls <bernd@kuhls.net> +Date: Sat, 10 Feb 2024 09:33:48 +0100 +Subject: [PATCH] cf/largefile.m4: Fix build with autoconf-2.72 + +Fixes https://github.com/heimdal/heimdal/issues/1201 +--- a/cf/largefile.m4 ++++ b/cf/largefile.m4 +@@ -10,7 +10,7 @@ dnl with generated code, such as lex + if test "$enable_largefile" != no -a "$ac_cv_sys_large_files" != no; then + CPPFLAGS="$CPPFLAGS -D_LARGE_FILES=$ac_cv_sys_large_files" + fi +-if test "$enable_largefile" != no -a "$ac_cv_sys_file_offset_bits" != no; then ++if test "$enable_largefile" != no -a "$ac_cv_sys_file_offset_bits" != no && test -n "$ac_cv_sys_file_offset_bits"; then + CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits" + fi + ]) diff --git a/app-crypt/heimdal/heimdal-7.8.0-r1.ebuild b/app-crypt/heimdal/heimdal-7.8.0-r1.ebuild deleted file mode 100644 index 2db7d36fe6fe..000000000000 --- a/app-crypt/heimdal/heimdal-7.8.0-r1.ebuild +++ /dev/null @@ -1,190 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..11} ) -VIRTUALX_REQUIRED="manual" - -inherit autotools db-use multilib-minimal python-any-r1 virtualx flag-o-matic - -MY_P="${P}" -DESCRIPTION="Kerberos 5 implementation from KTH" -HOMEPAGE="https://www.heimdal.software/" -SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="afs +berkdb caps gdbm hdb-ldap +lmdb otp selinux ssl static-libs test X" -RESTRICT="!test? ( test )" - -# 717740 -REQUIRED_USE="otp? ( berkdb )" - -CDEPEND=" - virtual/libcrypt:=[${MULTILIB_USEDEP}] - ssl? ( - >=dev-libs/openssl-1.0.1h-r2:0=[${MULTILIB_USEDEP}] - ) - berkdb? ( >=sys-libs/db-4.8.30-r1:*[${MULTILIB_USEDEP}] ) - gdbm? ( >=sys-libs/gdbm-1.10-r1:=[${MULTILIB_USEDEP}] ) - lmdb? ( dev-db/lmdb:= ) - caps? ( sys-libs/libcap-ng ) - >=dev-db/sqlite-3.8.2[${MULTILIB_USEDEP}] - >=sys-fs/e2fsprogs-1.46.4-r51[${MULTILIB_USEDEP}] - sys-libs/ncurses:0= - >=sys-libs/readline-6.2_p5-r1:0=[${MULTILIB_USEDEP}] - afs? ( net-fs/openafs ) - hdb-ldap? ( >=net-nds/openldap-2.3.0:= ) - X? ( - x11-libs/libX11 - x11-libs/libXau - x11-libs/libXt - ) - !!app-crypt/mit-krb5 - !!app-crypt/mit-krb5-appl" - -DEPEND="${CDEPEND} - ${PYTHON_DEPS} - dev-perl/JSON - virtual/pkgconfig - sys-apps/texinfo - >=dev-build/autoconf-2.62 - test? ( X? ( ${VIRTUALX_DEPEND} ) )" - -RDEPEND="${CDEPEND} - selinux? ( sec-policy/selinux-kerberos )" - -MULTILIB_WRAPPED_HEADERS=( - /usr/include/krb5-types.h - /usr/include/cms_asn1.h - /usr/include/digest_asn1.h - /usr/include/hdb_asn1.h - /usr/include/krb5_asn1.h - /usr/include/pkcs12_asn1.h - /usr/include/pkinit_asn1.h - /usr/include/rfc2459_asn1.h -) - -MULTILIB_CHOST_TOOLS=( - /usr/bin/krb5-config -) - -PATCHES=( - "${FILESDIR}/heimdal_disable-check-iprop.patch" - "${FILESDIR}/heimdal_tinfo.patch" - "${FILESDIR}/heimdal_build-headers-before-use.patch" - "${FILESDIR}/heimdal_fix-db60.patch" - "${FILESDIR}/heimdal-7.8.0-CVE-2022-45142.patch" -) - -src_prepare() { - default - eautoreconf -} - -src_configure() { - # QA - append-flags -fno-strict-aliasing - - multilib-minimal_src_configure -} - -multilib_src_configure() { - local myeconfargs=( - --enable-kcm - --disable-osfc2 - --enable-shared - --with-libintl="${EPREFIX}"/usr - --with-readline="${EPREFIX}"/usr - --with-sqlite3="${EPREFIX}"/usr - --libexecdir="${EPREFIX}"/usr/sbin - --enable-pthread-support - --enable-kx509 - --enable-pk-init - --with-ipv6 - $(use_enable afs afs-support) - $(use_enable gdbm ndbm-db) - $(use_enable lmdb mdb-db) - $(use_enable otp) - $(use_enable static-libs static) - $(multilib_native_use_with caps capng) - $(multilib_native_use_with hdb-ldap openldap "${EPREFIX}"/usr) - $(use_with ssl openssl "${EPREFIX}"/usr) - $(multilib_native_use_with X x) - ) - if use berkdb; then - myeconfargs+=( - --with-berkeley-db - --with-berkeley-db-include="$(db_includedir)" - ) - else - myeconfargs+=( - --without-berkeley-db - ) - fi - - CONFIG_SHELL="${BROOT}"/bin/bash ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" -} - -multilib_src_compile() { - if multilib_is_native_abi; then - emake - else - emake -C include - emake -C lib - emake -C kdc - emake -C tools - emake -C tests/plugin - fi -} - -multilib_src_test() { - multilib_is_native_abi && emake -j1 check -} - -multilib_src_install() { - if multilib_is_native_abi; then - INSTALL_CATPAGES="no" emake DESTDIR="${D}" install - else - emake -C include DESTDIR="${D}" install - emake -C lib DESTDIR="${D}" install - emake -C kdc DESTDIR="${D}" install - emake -C tools DESTDIR="${D}" install - emake -C tests/plugin DESTDIR="${D}" install - fi -} - -multilib_src_install_all() { - dodoc ChangeLog* README NEWS TODO - - # client rename - mv "${ED}"/usr/share/man/man1/{,k}su.1 - mv "${ED}"/usr/bin/{,k}su - - newinitd "${FILESDIR}"/heimdal-kdc.initd-r2 heimdal-kdc - newinitd "${FILESDIR}"/heimdal-kadmind.initd-r2 heimdal-kadmind - newinitd "${FILESDIR}"/heimdal-kpasswdd.initd-r2 heimdal-kpasswdd - newinitd "${FILESDIR}"/heimdal-kcm.initd-r1 heimdal-kcm - - newconfd "${FILESDIR}"/heimdal-kdc.confd heimdal-kdc - newconfd "${FILESDIR}"/heimdal-kadmind.confd heimdal-kadmind - newconfd "${FILESDIR}"/heimdal-kpasswdd.confd heimdal-kpasswdd - newconfd "${FILESDIR}"/heimdal-kcm.confd heimdal-kcm - - insinto /etc - newins "${S}"/krb5.conf krb5.conf.example - - if use hdb-ldap; then - insinto /etc/openldap/schema - doins "${S}/lib/hdb/hdb.schema" - fi - - if ! use static-libs ; then - find "${ED}" -name "*.la" -delete || die - fi - - # default database dir - keepdir /var/heimdal -} diff --git a/app-crypt/heimdal/heimdal-7.8.0-r2.ebuild b/app-crypt/heimdal/heimdal-7.8.0-r2.ebuild deleted file mode 100644 index 8645dd099c0d..000000000000 --- a/app-crypt/heimdal/heimdal-7.8.0-r2.ebuild +++ /dev/null @@ -1,191 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..11} ) -VIRTUALX_REQUIRED="manual" - -inherit autotools db-use multilib-minimal python-any-r1 virtualx flag-o-matic - -MY_P="${P}" -DESCRIPTION="Kerberos 5 implementation from KTH" -HOMEPAGE="https://www.heimdal.software/" -SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="afs +berkdb caps gdbm hdb-ldap +lmdb otp selinux ssl static-libs test X" -RESTRICT="!test? ( test )" - -# 717740 -REQUIRED_USE="otp? ( berkdb )" - -CDEPEND=" - virtual/libcrypt:=[${MULTILIB_USEDEP}] - ssl? ( - >=dev-libs/openssl-1.0.1h-r2:0=[${MULTILIB_USEDEP}] - ) - berkdb? ( >=sys-libs/db-4.8.30-r1:*[${MULTILIB_USEDEP}] ) - gdbm? ( >=sys-libs/gdbm-1.10-r1:=[${MULTILIB_USEDEP}] ) - lmdb? ( dev-db/lmdb:= ) - caps? ( sys-libs/libcap-ng ) - >=dev-db/sqlite-3.8.2[${MULTILIB_USEDEP}] - >=sys-fs/e2fsprogs-1.46.4-r51[${MULTILIB_USEDEP}] - sys-libs/ncurses:0= - >=sys-libs/readline-6.2_p5-r1:0=[${MULTILIB_USEDEP}] - afs? ( net-fs/openafs ) - hdb-ldap? ( >=net-nds/openldap-2.3.0:= ) - X? ( - x11-libs/libX11 - x11-libs/libXau - x11-libs/libXt - ) - !!app-crypt/mit-krb5 - !!app-crypt/mit-krb5-appl" - -DEPEND="${CDEPEND} - ${PYTHON_DEPS} - dev-perl/JSON - virtual/pkgconfig - sys-apps/texinfo - >=dev-build/autoconf-2.62 - test? ( X? ( ${VIRTUALX_DEPEND} ) )" - -RDEPEND="${CDEPEND} - selinux? ( sec-policy/selinux-kerberos )" - -MULTILIB_WRAPPED_HEADERS=( - /usr/include/krb5-types.h - /usr/include/cms_asn1.h - /usr/include/digest_asn1.h - /usr/include/hdb_asn1.h - /usr/include/krb5_asn1.h - /usr/include/pkcs12_asn1.h - /usr/include/pkinit_asn1.h - /usr/include/rfc2459_asn1.h -) - -MULTILIB_CHOST_TOOLS=( - /usr/bin/krb5-config -) - -PATCHES=( - "${FILESDIR}/heimdal_disable-check-iprop.patch" - "${FILESDIR}/heimdal_tinfo.patch" - "${FILESDIR}/heimdal_build-headers-before-use.patch" - "${FILESDIR}/heimdal_fix-db60.patch" - "${FILESDIR}/heimdal-7.8.0-CVE-2022-45142.patch" - "${FILESDIR}/heimdal-7.8.0-configure-clang16.patch" -) - -src_prepare() { - default - eautoreconf -} - -src_configure() { - # QA - append-flags -fno-strict-aliasing - - multilib-minimal_src_configure -} - -multilib_src_configure() { - local myeconfargs=( - --enable-kcm - --disable-osfc2 - --enable-shared - --with-libintl="${EPREFIX}"/usr - --with-readline="${EPREFIX}"/usr - --with-sqlite3="${EPREFIX}"/usr - --libexecdir="${EPREFIX}"/usr/sbin - --enable-pthread-support - --enable-kx509 - --enable-pk-init - --with-ipv6 - $(use_enable afs afs-support) - $(use_enable gdbm ndbm-db) - $(use_enable lmdb mdb-db) - $(use_enable otp) - $(use_enable static-libs static) - $(multilib_native_use_with caps capng) - $(multilib_native_use_with hdb-ldap openldap "${EPREFIX}"/usr) - $(use_with ssl openssl "${EPREFIX}"/usr) - $(multilib_native_use_with X x) - ) - if use berkdb; then - myeconfargs+=( - --with-berkeley-db - --with-berkeley-db-include="$(db_includedir)" - ) - else - myeconfargs+=( - --without-berkeley-db - ) - fi - - CONFIG_SHELL="${BROOT}"/bin/bash ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" -} - -multilib_src_compile() { - if multilib_is_native_abi; then - emake - else - emake -C include - emake -C lib - emake -C kdc - emake -C tools - emake -C tests/plugin - fi -} - -multilib_src_test() { - multilib_is_native_abi && emake -j1 check -} - -multilib_src_install() { - if multilib_is_native_abi; then - INSTALL_CATPAGES="no" emake DESTDIR="${D}" install - else - emake -C include DESTDIR="${D}" install - emake -C lib DESTDIR="${D}" install - emake -C kdc DESTDIR="${D}" install - emake -C tools DESTDIR="${D}" install - emake -C tests/plugin DESTDIR="${D}" install - fi -} - -multilib_src_install_all() { - dodoc ChangeLog* README NEWS TODO - - # client rename - mv "${ED}"/usr/share/man/man1/{,k}su.1 - mv "${ED}"/usr/bin/{,k}su - - newinitd "${FILESDIR}"/heimdal-kdc.initd-r2 heimdal-kdc - newinitd "${FILESDIR}"/heimdal-kadmind.initd-r2 heimdal-kadmind - newinitd "${FILESDIR}"/heimdal-kpasswdd.initd-r2 heimdal-kpasswdd - newinitd "${FILESDIR}"/heimdal-kcm.initd-r1 heimdal-kcm - - newconfd "${FILESDIR}"/heimdal-kdc.confd heimdal-kdc - newconfd "${FILESDIR}"/heimdal-kadmind.confd heimdal-kadmind - newconfd "${FILESDIR}"/heimdal-kpasswdd.confd heimdal-kpasswdd - newconfd "${FILESDIR}"/heimdal-kcm.confd heimdal-kcm - - insinto /etc - newins "${S}"/krb5.conf krb5.conf.example - - if use hdb-ldap; then - insinto /etc/openldap/schema - doins "${S}/lib/hdb/hdb.schema" - fi - - if ! use static-libs ; then - find "${ED}" -name "*.la" -delete || die - fi - - # default database dir - keepdir /var/heimdal -} diff --git a/app-crypt/heimdal/heimdal-7.8.0-r3.ebuild b/app-crypt/heimdal/heimdal-7.8.0-r3.ebuild index b40684f69353..11e4adcdf1af 100644 --- a/app-crypt/heimdal/heimdal-7.8.0-r3.ebuild +++ b/app-crypt/heimdal/heimdal-7.8.0-r3.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 sparc x86" IUSE="afs +berkdb caps gdbm hdb-ldap +lmdb otp selinux static-libs test X" RESTRICT="!test? ( test )" @@ -68,6 +68,7 @@ PATCHES=( "${FILESDIR}/heimdal_fix-db60.patch" "${FILESDIR}/heimdal-7.8.0-CVE-2022-45142.patch" "${FILESDIR}/heimdal-7.8.0-configure-clang16.patch" + "${FILESDIR}/heimdal-7.8.0-autoconf-2.72.patch" ) src_prepare() { |