Skip to content

Commit

Permalink
Merge pull request #99 from bedroge/nss_ldap_sssd
Browse files Browse the repository at this point in the history
Add custom ebuilds for `nss-pam-ldapd` and `sssd`
  • Loading branch information
trz42 authored Apr 15, 2024
2 parents 58868dd + a03182d commit 7c52037
Show file tree
Hide file tree
Showing 18 changed files with 1,298 additions and 0 deletions.
15 changes: 15 additions & 0 deletions etc/portage/env/sys-libs/glibc
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
if [[ ${CATEGORY}/${PN} == sys-libs/glibc && ${EBUILD_PHASE} == configure ]]; then
cd "${S}"
einfo "Deprefixifying hardcoded path for /etc and /var"

for f in libio/iopopen.c \
shadow/lckpwdf.c resolv/{netdb,resolv}.h elf/rtld.c \
nis/nss_compat/compat-{grp,initgroups,{,s}pwd}.c \
nss/{bug-erange,nss_files/files-{XXX,init{,groups}}}.c \
sysdeps/{{generic,unix/sysv/linux}/paths.h,posix/system.c}
do
ebegin " Updating $f"
sed -i -r "s,([:\"])${EPREFIX}/(etc|var),\1/\2,g" $f
eend $?
done
fi
6 changes: 6 additions & 0 deletions scripts/eessi_sets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ eessi_sets:
version: 0.2.1
overlay: eessi
- name: sys-apps/dbus
- name: sys-auth/nss-pam-ldapd
version: 0.9.12-r2
overlay: eessi
- name: sys-auth/sssd
version: 2.8.2
overlay: eessi
- name: sys-cluster/lmod
- name: sys-cluster/rdma-core
exclude_on:
Expand Down
8 changes: 8 additions & 0 deletions sys-auth/nss-pam-ldapd/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
AUX nss-pam-ldapd-0.9.11-pynslcd-module-paths.patch 537 BLAKE2B 40167724748124428393c2cc0d70c2fa88abd5fc9c2b12739d79f6dbd9f39e7b53351a68fb6db0e4f11bc0f40b960d1ab4ea256ab1f8aa8c75fe9601fc5674c3 SHA512 2fd21d4851f255264cd0e95f88f45fbca62ad8124c1326569c18bea769c205d4992f88a5fff7ca4bf19cd07c9123a39ecd3df2d5221a0430fb1d25d7b4668a30
AUX nss-pam-ldapd-0.9.11-relative-imports.patch 12280 BLAKE2B 9ae632b572a9a997cf704698b6aca7fc19c32e1f08f29de0f0457a6ee567596abf09ed2aeec2fab5535e98280eb887f6adb7a29ad4406216f0a3355c9931b2aa SHA512 2275d1c8ded5d8c2824c97dc361e84b62613453ec502a9685d7e27e54bc1a72da7830d119727f8f1e4df000b1dff53d631f8967eaf70bf75e043e0e302d9afac
AUX nss-pam-ldapd-0.9.11-tests-py39.patch 1143 BLAKE2B b4eb5d25ba9c40f00f3d84c9385a1ffc23cf5ec357ce33ba74c954378144e4d88fb811de9c1e802283f03d6be88052677624c1f75bc481938762c5bb0cef9b69 SHA512 f0d0d3345fd83bf1ecbbd5bd7784836b8d8c27b0238a4aefd15ad34b93ffbfc8474edd5a3c7955a2c90e822e426a59f578c6dbb80aed6c2e4b15543ce9dfc286
AUX nss-pam-ldapd-0.9.11-tests.patch 1226 BLAKE2B f8fd1170bae8d206dab6fb11437db7290b488caf8f609f5676f46f55f3d31ba5a4fc59c5484e7151da8fb4a20c50f6739fa7de3115bc8ce706022422e753f31b SHA512 e60122304d4cad52a8e11ba804fd432da8102dc021e9272d0e284d88f3a1b5e7392ef71bfcb460eb3a5faf9ae7e95de943c4e35da03b17d029f058496b6a8087
AUX nss-pam-ldapd-0.9.11-use-mkstemp.patch 789 BLAKE2B da9525e66873be615cfe90f6a03b717c8a0caf03edfbd3c9eba60391a3e92504c01093e254294ac3e063045de07df260573371a5405c8eea87917fc30056daca SHA512 a01a15b94977efc37d9d518049aaa52f308b0e3597aea6e17ca7badc790cccb617eb9154dcd3fef897b4093b147f8261dfc32ac2fc0ba48ba82573653fa358d8
AUX nss-pam-ldapd-0.9.4-disable-py3-only-linters.patch 403 BLAKE2B 2e17a92b3650ce4e6627be7ddb2f656cd9ab53e49d7e2b11d078dac0d7a00015d88d861bfdc1378eb25c1b9750ed3811023cc95b04ccf9d028ffc5899dc01cd5 SHA512 c8cccb044a641f673f12db9717bda4c0c4d91bd1933342595d8f3f540449459c5cf14263133487195b223670d450873f608e3ce5b6f1ca775ca7fe0180a9f962
DIST nss-pam-ldapd-0.9.12.tar.gz 791983 BLAKE2B af580d400230db709f7ac09720edd6127b3b26c6987d1e8f6d6535ad8e68fd8cb5cf2a3319e4456fb2af28aba6528f7a5cdc28463ccfee747dbbf6abc35eee87 SHA512 5eca4851a9bcb2779548d193a363a143d6106bfc6463b8d3f0c2d5d7d227ec1e680861383d4813f40b44d1be2ce5f7ed019d838f7f6796e15f96f7411d3bb8f6
EBUILD nss-pam-ldapd-0.9.12-r2.ebuild 4539 BLAKE2B 5f3a90ac831f7d74ccaff7f5785444b7052cd210a3f9ba05a3cfda22df8f1eeb4d736fb655df9bc2401bb6b04420a3ba1df0f7cf2ec4a9bcc27d051ee4545e4e
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
diff --git a/pynslcd/pynslcd.py b/pynslcd/pynslcd.py
index 0691b61..df2ca4a 100755
--- a/pynslcd/pynslcd.py
+++ b/pynslcd/pynslcd.py
@@ -30,13 +30,13 @@ import threading
import daemon
import ldap

-import cfg
-import common
-import constants
-import invalidator
-import mypidfile
-import search
-from tio import TIOStream
+import pynslcd.cfg
+import pynslcd.common
+import pynslcd.constants
+import pynslcd.invalidator
+import pynslcd.mypidfile
+import pynslcd.search
+from pynslcd.tio import TIOStream


# the name of the program
Loading

0 comments on commit 7c52037

Please sign in to comment.