summaryrefslogtreecommitdiff
path: root/sys-libs/libxcrypt
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-19 07:57:57 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-10-19 07:57:57 +0100
commit27f7ac2204449d9fc2137f442522b4fb10327d90 (patch)
treee0fa5de044037be9ff62dcb6bcc8dbeca087767d /sys-libs/libxcrypt
parent84a400be40cf32d9e536ae34ebf14ad06ad6b8d6 (diff)
gentoo auto-resync : 19:10:2022 - 07:57:56
Diffstat (limited to 'sys-libs/libxcrypt')
-rw-r--r--sys-libs/libxcrypt/Manifest4
-rw-r--r--sys-libs/libxcrypt/libxcrypt-4.4.28-r2.ebuild18
-rw-r--r--sys-libs/libxcrypt/metadata.xml1
3 files changed, 19 insertions, 4 deletions
diff --git a/sys-libs/libxcrypt/Manifest b/sys-libs/libxcrypt/Manifest
index 2962d96efcb6..c7711adbc193 100644
--- a/sys-libs/libxcrypt/Manifest
+++ b/sys-libs/libxcrypt/Manifest
@@ -1,5 +1,5 @@
AUX libxcrypt-4.4.19-multibuild.patch 303 BLAKE2B cd342eef2a8ce3e305e544d37373370748690878b4171709028b7b894ad2c76c9188496ab089a46645ad6f9fca09fa4f89cdcb444e1400747ee358c079441661 SHA512 3cbd4bbd0827801faaaa2198eccccb285100cdfc43525b70816121aa70b32dc2c8479c53e16b9e99920926b1b11014dcc19909c4f72a09d9d19fcdb0fa6350cd
DIST libxcrypt-4.4.28-autotools.tar.xz 618560 BLAKE2B c56d510201651e36cbd950b5a0a32273fdbce1f053109aa5867b2c6a57e2a896c34c981c1a2e732a8f34539b754ebe7f50d1b5bf59f9549a75ad6420921f3e1d SHA512 3c60fd32dea308152c4272522c29668c83e88bea47c98b9fe796ed70f5460ad2a9616ffbe789c03e417b28d3c792361b16031bda3d8bc5b6c06f0ebdc66c8217
EBUILD libxcrypt-4.4.28-r1.ebuild 8806 BLAKE2B df348fd8a3aff7ba077d1e932f9bed8789605195617416ddfe0ec67d673284864530ca659803d93ae6b314b0e15d971ccd0670b4dd539bd907f7e0d161bde79c SHA512 b598e6d156f5dea5afab10270577a612f5b37137d30058bce3b9b85ec16d0ed8b20dba8c1fd8979fbbc4aa31b9fa2b0692f22ded0338edaa3847e442cbf10058
-EBUILD libxcrypt-4.4.28-r2.ebuild 8845 BLAKE2B 59de0fa52f0751196005a054a5538c7fe92d53542b33c266b06246e6d7f414738c7147a8db8564c43f2ac677d2e50e4b6612e5aea79849edb741de0778325d2d SHA512 17190554566637a97f5cefe98a80f5d06f0f83ae259c151acebecb149eac1a57cb42833fdd8147a1556af55bb676648f5ea608ef151210947b75bb8416d1a556
-MISC metadata.xml 842 BLAKE2B 7ade88185cd771cbded8cf2c4274ddf1e2d1ef7c77df5e061575a3f40e985a547caf2326a51cce74c0edb5ca882cfc72ef7c549a5c67cd99e68658c807f751fc SHA512 3e12bc289e30c763fd9162f92e4c5a4fd0b2155cb0a55db2a53ca4b2647dfa8d30d917aefdb675ff875c2ead622772e6c4de7fc8ef4b92384406b8709671674a
+EBUILD libxcrypt-4.4.28-r2.ebuild 9207 BLAKE2B 28819d0e37361d96af20eb5bfee10d96ddd1d53ce2174039638486aa40e3af83259ee13f9d4899c369e6f375318e1e2d02cf8e2ad627a82c347c07359c42ec09 SHA512 0c478ec3ff31a72377d91bd7e5c7230fff726f37affad760b2b3971f73e4e51a58267d310e1530a6be3c0c3f42993379bc09a1b379745fd85824c8abf0559462
+MISC metadata.xml 913 BLAKE2B c2b3f52bd72bb46b0de4eb4a5f47dcb3aacfd248b811bcdc88db88c6f9cbe3ed1af4fda3e643b350fd22131273af03f2f888d78d306f0f7274d9432eb65075a3 SHA512 0ebbc3c2aa661f1a40e7f654384a395662b1b0235f145c7778b7b86bfb65ad09d4e8900bc6ede94413f057e769397c355bfd1bcafe8540acbf7e00e5451400c9
diff --git a/sys-libs/libxcrypt/libxcrypt-4.4.28-r2.ebuild b/sys-libs/libxcrypt/libxcrypt-4.4.28-r2.ebuild
index 3f390bf67ca3..430e3dc385ed 100644
--- a/sys-libs/libxcrypt/libxcrypt-4.4.28-r2.ebuild
+++ b/sys-libs/libxcrypt/libxcrypt-4.4.28-r2.ebuild
@@ -21,7 +21,7 @@ fi
LICENSE="LGPL-2.1+ public-domain BSD BSD-2"
SLOT="0/1"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-IUSE="+compat split-usr static-libs system test"
+IUSE="+compat split-usr static-libs system test headers-only"
REQUIRED_USE="split-usr? ( system )"
RESTRICT="!test? ( test )"
@@ -209,10 +209,18 @@ multilib_src_configure() {
*) die "Unexpected MULTIBUILD_ID: ${MULTIBUILD_ID}";;
esac
- ECONF_SOURCE="${S}" econf "${myconf[@]}"
+ if use headers-only; then
+ # Nothing is compiled here which would affect the headers for the target.
+ # So forcing CC is sane.
+ headers_only_flags="CC=$(tc-getBUILD_CC)"
+ fi
+
+ ECONF_SOURCE="${S}" econf "${myconf[@]}" "${headers_only_flags}"
}
src_compile() {
+ use headers-only && return
+
multibuild_foreach_variant multilib-minimal_src_compile
}
@@ -227,6 +235,7 @@ src_test() {
src_install() {
multibuild_foreach_variant multilib-minimal_src_install
+ use headers-only || \
(
shopt -s failglob || die "failglob failed"
@@ -250,6 +259,11 @@ src_install() {
}
multilib_src_install() {
+ if use headers-only; then
+ emake DESTDIR="${D}" install-nodist_includeHEADERS
+ return
+ fi
+
emake DESTDIR="${D}" install
# Don't install the libcrypt.so symlink for the "compat" version
diff --git a/sys-libs/libxcrypt/metadata.xml b/sys-libs/libxcrypt/metadata.xml
index 36921daf30b5..cef5e501f632 100644
--- a/sys-libs/libxcrypt/metadata.xml
+++ b/sys-libs/libxcrypt/metadata.xml
@@ -13,6 +13,7 @@
<use>
<flag name="compat">Build with compatibility interfaces for other crypt implementations</flag>
<flag name="system">Install as system libcrypt.so rather than to an alternate directory (will collide with <pkg>sys-libs/glibc</pkg>'s version)</flag>
+ <flag name="headers-only">Build and install only the headers.</flag>
</use>
<upstream>
<remote-id type="github">besser82/libxcrypt</remote-id>