Skip to content

Patch APR to remove crypt dependency#758

Merged
normanmaurer merged 7 commits intomainfrom
crypt
Jan 10, 2023
Merged

Patch APR to remove crypt dependency#758
normanmaurer merged 7 commits intomainfrom
crypt

Conversation

@normanmaurer
Copy link
Copy Markdown
Member

Motivation:

We dont use any APR features that uses libcrypt so we can safely not link against it. This resolves various issues as some distributions otherwise need the extra installation of libxcrypt-compat etc.

Modifications:

  • Add patchfile for APR configure.in to remove linking against libcrypt
  • Patch APR during build

Result:

Fixes #703

@normanmaurer normanmaurer added this to the 2.0.56.Final milestone Jan 9, 2023
Motivation:

We dont use any APR features that uses libcrypt so we can safely not link against it. This resolves various issues as some distributions otherwise need the extra installation of libxcrypt-compat etc.

Modifications:

- Add patchfile for APR configure.in to remove linking against libcrypt
- Patch APR during build

Result:

Fixes #703
@normanmaurer
Copy link
Copy Markdown
Member Author

 ldd boringssl-static/target/native-lib-only/META-INF/native/linux64/libnetty_tcnative.so
ldd: warning: you do not have execution permission for `boringssl-static/target/native-lib-only/META-INF/native/linux64/libnetty_tcnative.so'
	linux-vdso.so.1 (0x00007ffc2ef80000)
	libc.so.6 => /lib64/libc.so.6 (0x00007fa555a00000)
	/lib64/ld-linux-x86-64.so.2 (0x00007fa5560de000)

@normanmaurer normanmaurer merged commit 8d46f00 into main Jan 10, 2023
@normanmaurer normanmaurer deleted the crypt branch January 10, 2023 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Link against to the libcrypt.so.2

2 participants