Skip to content

Commit

Permalink
Disable nsss
Browse files Browse the repository at this point in the history
  • Loading branch information
firasuke committed Jan 2, 2025
1 parent 7c30ea1 commit 5ab8e41
Show file tree
Hide file tree
Showing 47 changed files with 25 additions and 304 deletions.
1 change: 0 additions & 1 deletion acl/build
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ prepare() {
}

configure() {
LIBS=-lnsss \
glaucus-configure \
--disable-static \
--enable-pic \
Expand Down
1 change: 0 additions & 1 deletion acl/build.cross
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ prepare() {
}

configure() {
LIBS=-lnsss \
"$CERD"/autoconf/glaucus-configure \
--build=$BLD \
--host=$TGT \
Expand Down
2 changes: 1 addition & 1 deletion acl/ceras
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ nom="acl"
ver="2.3.2"
url="https://download.savannah.nongnu.org/releases/acl/acl-2.3.2.tar.gz"
sum="dcdc2457033d689819cb4390e8a25cb75d7c078a58bb00393c8382df92115dbd"
bld="attr nsss"
bld="attr"
1 change: 0 additions & 1 deletion bash/build
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ prepare() {
}

configure() {
LIBS=-lnsss \
glaucus-configure \
--enable-extended-glob \
--enable-history \
Expand Down
2 changes: 1 addition & 1 deletion bash/ceras
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ nom="bash"
ver="5.2.32"
url="https://ftpmirror.gnu.org/bash/bash-5.2.32.tar.gz"
sum="bc576c09b8edbd1492afb0ec483aec990adc1d2ee9f92b6de54caa362a849e96"
bld="libedit netbsd-curses nsss"
bld="libedit netbsd-curses"
1 change: 0 additions & 1 deletion execline/build
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ configure() {
--enable-shared \
--disable-static \
--disable-allstatic \
--enable-nsss \
--enable-multicall
}

Expand Down
1 change: 0 additions & 1 deletion execline/build.cross
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ configure() {
--enable-shared \
--disable-static \
--disable-allstatic \
--enable-nsss \
--enable-multicall
}

Expand Down
2 changes: 1 addition & 1 deletion execline/ceras
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ nom="execline"
ver="2.9.6.0"
url="https://skarnet.org/software/execline/execline-2.9.6.0.tar.gz"
sum="6cd2266be8ee00d5a195e8e144c5bb3ff366056161fed1a47d64ff35a7eb7f14"
bld="nsss skalibs"
bld="skalibs"
run="skalibs"
1 change: 0 additions & 1 deletion fs/group
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ dialout:x:18:
log:x:19:
utmp:x:20:
locate:x:21:
nsss:x:22:
kvm:x:78:
tape:x:89:
cdrom:x:90:
Expand Down
1 change: 0 additions & 1 deletion fs/passwd
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ daemon:x:2:2:daemon:/:/usr/bin/nologin
mail:x:8:12:mail:/var/mail:/usr/bin/nologin
log:x:19:19:log:/:/usr/bin/nologin
utmp:x:20:20:utmp:/run/utmps:/usr/bin/nologin
nsss:x:22:22:nsss:/run/service/nsssd:/usr/bin/nologin
nobody:x:65534:65534:nobody:/:/usr/bin/nologin
1 change: 0 additions & 1 deletion libcap/build
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

prepare() {
patch -p0 -i "$CERD"/$nom/patches/glaucus/0001-disable-static.patch
patch -p0 -i "$CERD"/$nom/patches/glaucus/0002-enable-nsss.patch
}

configure() {
Expand Down
1 change: 0 additions & 1 deletion libcap/build.cross
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

prepare() {
patch -p0 -i "$CERD"/$nom/patches/glaucus/0001-disable-static.patch
patch -p0 -i "$CERD"/$nom/patches/glaucus/0002-enable-nsss.patch
}

configure() {
Expand Down
1 change: 0 additions & 1 deletion libcap/ceras
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@ nom="libcap"
ver="2.70"
url="https://cdn.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-2.70.tar.gz"
sum="84e666d725cbd4a6084a4f4742795926870e25adf219bd83e3ed913bab4005fc"
bld="nsss"
11 changes: 0 additions & 11 deletions libcap/patches/glaucus/0002-enable-nsss.patch

This file was deleted.

1 change: 0 additions & 1 deletion libedit/build
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ prepare() {
}

configure() {
LIBS=-lnsss \
glaucus-configure \
--disable-static \
--enable-pic \
Expand Down
1 change: 0 additions & 1 deletion libedit/build.cross
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ prepare() {
}

configure() {
LIBS=-lnsss \
"$CERD"/autoconf/glaucus-configure \
--build=$BLD \
--host=$TGT \
Expand Down
2 changes: 1 addition & 1 deletion libedit/ceras
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ nom="libedit"
ver="20240808-3.1"
url="https://thrysoee.dk/editline/libedit-20240808-3.1.tar.gz"
sum="e0a9a5af6f8ab950a4f29ad927b38b71e8278383fce1c3689b04a56cbb2b32bb"
bld="netbsd-curses nsss"
bld="netbsd-curses"
1 change: 0 additions & 1 deletion make/build
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ prepare() {
}

configure() {
LIBS=-lnsss \
glaucus-configure \
--disable-nls \
--disable-rpath \
Expand Down
1 change: 0 additions & 1 deletion make/build.cross
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ prepare() {
}

configure() {
LIBS=-lnsss \
"$CERD"/autoconf/glaucus-configure \
--build=$BLD \
--host=$TGT \
Expand Down
1 change: 0 additions & 1 deletion make/ceras
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@ nom="make"
ver="4.4.1"
url="https://ftpmirror.gnu.org/make/make-4.4.1.tar.gz"
sum="a7d8aee97b7e9a525ef561afa84eea0d929f246e3aafa420231c0602151cf9eb"
bld="nsss"
3 changes: 1 addition & 2 deletions mdevd/build
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ configure() {
--includedir=/usr/include \
--enable-shared \
--disable-static \
--disable-allstatic \
--enable-nsss
--disable-allstatic
}

build() {
Expand Down
3 changes: 1 addition & 2 deletions mdevd/build.cross
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ configure() {
--with-dynlib="$CRSD"/usr/lib \
--enable-shared \
--disable-static \
--disable-allstatic \
--enable-nsss
--disable-allstatic
}

build() {
Expand Down
4 changes: 2 additions & 2 deletions mdevd/ceras
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ nom="mdevd"
ver="0.1.6.4"
url="https://skarnet.org/software/mdevd/mdevd-0.1.6.4.tar.gz"
sum="236d603dc1a5ac7846ae12facb9b04d334f38a2e5bae95bcdcc9111f3ce9e9a2"
bld="nsss skalibs"
run="execline nsss skalibs"
bld="skalibs"
run="execline skalibs"
41 changes: 0 additions & 41 deletions nsss/build

This file was deleted.

44 changes: 0 additions & 44 deletions nsss/build.cross

This file was deleted.

11 changes: 0 additions & 11 deletions nsss/ceras

This file was deleted.

7 changes: 0 additions & 7 deletions nsss/nsss.pc

This file was deleted.

11 changes: 0 additions & 11 deletions nsss/patches/glaucus/0001-use-gnu-hash-style.patch

This file was deleted.

1 change: 0 additions & 1 deletion s6-linux-init/build
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ configure() {
--enable-shared \
--disable-static \
--disable-allstatic \
--enable-nsss \
--enable-utmps
}

Expand Down
1 change: 0 additions & 1 deletion s6-linux-init/build.cross
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ configure() {
--enable-shared \
--disable-static \
--disable-allstatic \
--enable-nsss \
--enable-utmps
}

Expand Down
4 changes: 2 additions & 2 deletions s6-linux-init/ceras
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ nom="s6-linux-init"
ver="1.1.2.0"
url="https://skarnet.org/software/s6-linux-init/s6-linux-init-1.1.2.0.tar.gz"
sum="0a951456e88316f7377a65ef41f38049769029c9fde8e07388263949e3fdf97d"
bld="execline nsss s6 skalibs utmps"
run="execline nsss s6 skalibs utmps"
bld="execline s6 skalibs utmps"
run="execline s6 skalibs utmps"
3 changes: 1 addition & 2 deletions s6/build
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ configure() {
--includedir=/usr/include \
--enable-shared \
--disable-static \
--disable-allstatic \
--enable-nsss
--disable-allstatic
}

build() {
Expand Down
3 changes: 1 addition & 2 deletions s6/build.cross
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ configure() {
--with-dynlib="$CRSD"/usr/lib \
--enable-shared \
--disable-static \
--disable-allstatic \
--enable-nsss
--disable-allstatic
}

build() {
Expand Down
4 changes: 2 additions & 2 deletions s6/ceras
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ nom="s6"
ver="2.13.0.0"
url="https://skarnet.org/software/s6/s6-2.13.0.0.tar.gz"
sum="f90451ec3f7f2be36e620ae6105a3d48f26b9316f2990860d6f953a68fefbccb"
bld="execline nsss skalibs"
run="execline nsss skalibs"
bld="execline skalibs"
run="execline skalibs"
3 changes: 1 addition & 2 deletions shadow/build
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@

prepare() {
patch -p0 -i "$CERD"/$nom/patches/glaucus/0001-customize-login-defaults.patch
patch -p0 -i "$CERD"/$nom/patches/glaucus/0002-enable-nsss.patch

autoreconf -vfis
}

configure() {
LIBS='-lnsss -lutmps' \
LIBS=-lutmps \
shadow_cv_utmpdir=/run/utmps \
glaucus-configure \
--disable-static \
Expand Down
2 changes: 1 addition & 1 deletion shadow/build.cross
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ prepare() {
}

configure() {
LIBS='-lnsss -lutmps' \
LIBS=-lutmps \
shadow_cv_utmpdir=/run/utmps \
"$CERD"/autoconf/glaucus-configure \
--build=$BLD \
Expand Down
2 changes: 1 addition & 1 deletion shadow/ceras
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ nom="shadow"
ver="4.16.0"
url="https://github.com/shadow-maint/shadow/releases/download/4.16.0/shadow-4.16.0.tar.gz"
sum="5b7f53022bc471232e7befed73d1fdb26366821f2494e491b37fdd54e1e0c245"
bld="acl attr libcap nsss utmps"
bld="acl attr libcap utmps"
run="utmps"
Loading

0 comments on commit 5ab8e41

Please sign in to comment.