Skip to content

Commit

Permalink
Merge pull request easybuilders#21441 from jkuhl-uni/fix/git-annex
Browse files Browse the repository at this point in the history
use proper dependency for libnsl in git-annex
  • Loading branch information
boegel authored Sep 21, 2024
2 parents 94b1e13 + 9c62219 commit 3f4206a
Show file tree
Hide file tree
Showing 5 changed files with 64 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ dependencies = [
('GHC', '9.2.2', '-x86_64', SYSTEM),
('Stack', '2.11.1', '-x86_64', SYSTEM),
('git', '2.38.1', '-nodocs'),
('libnsl', '2.0.0'),
]

sources = [{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ dependencies = [
('GHC', '9.4.6', '-x86_64', SYSTEM),
('Stack', '2.13.1', '-x86_64', SYSTEM),
('git', '2.41.0', '-nodocs'),
('libnsl', '2.0.1'),
]

sources = [{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ dependencies = [
('GHC', '9.10.1', '-x86_64', SYSTEM),
('Stack', '3.1.1', '-x86_64', SYSTEM),
('git', '2.45.1'),
('libnsl', '2.0.1'),
]

sources = [{
Expand Down
33 changes: 33 additions & 0 deletions easybuild/easyconfigs/l/libnsl/libnsl-2.0.1-GCCcore-13.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
easyblock = 'ConfigureMake'

name = 'libnsl'
version = '2.0.1'

homepage = 'https://github.com/thkukuk/libnsl'
description = """The libnsl package contains the public client interface for NIS(YP)."""

toolchain = {'name': 'GCCcore', 'version': '13.3.0'}

source_urls = ['https://github.com/thkukuk/%(name)s/releases/download/v%(version)s/']
sources = [SOURCE_TAR_XZ]
checksums = ['5c9e470b232a7acd3433491ac5221b4832f0c71318618dc6aa04dd05ffcd8fd9']

builddependencies = [
('binutils', '2.42'),
]

dependencies = [
('libtirpc', '1.3.5'),
]

# Provide a symlink for libnsl.so.1, which used to be part of glibc.
# This new version of libnsl should be backwards compatible.
postinstallcmds = ['ln -s libnsl.so %(installdir)s/lib/libnsl.so.1']

sanity_check_paths = {
'files': ['include/rpcsvc/yp.h', 'lib/libnsl.a',
'lib/libnsl.%s' % SHLIB_EXT, 'lib/libnsl.%s.1' % SHLIB_EXT],
'dirs': ['include']
}

moduleclass = 'devel'
28 changes: 28 additions & 0 deletions easybuild/easyconfigs/l/libtirpc/libtirpc-1.3.5-GCCcore-13.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
easyblock = 'ConfigureMake'

name = 'libtirpc'
version = '1.3.5'

homepage = 'https://sourceforge.net/projects/libtirpc/'
description = "Libtirpc is a port of Suns Transport-Independent RPC library to Linux."

toolchain = {'name': 'GCCcore', 'version': '13.3.0'}

source_urls = [SOURCEFORGE_SOURCE]
sources = [SOURCE_TAR_BZ2]
checksums = ['9b31370e5a38d3391bf37edfa22498e28fe2142467ae6be7a17c9068ec0bf12f']

configopts = '--enable-static --enable-shared --disable-gssapi'

builddependencies = [
('binutils', '2.42')
]

sanity_check_paths = {
'files': ['lib/libtirpc.%s' % (x,) for x in ['a', SHLIB_EXT]],
'dirs': ['include/tirpc', 'lib'],
}

modextrapaths = {'CPATH': 'include/tirpc'}

moduleclass = 'lib'

0 comments on commit 3f4206a

Please sign in to comment.