Rename rc to reflect its git origins. Create a new maintenance tool, stuff_core, to automagically move all dependencies from other repos to core. Hopefully it works.

This commit is contained in:
Mid Favila 2022-02-04 15:27:39 -04:00
parent ac52eeecf9
commit f63252ef46
11 changed files with 11 additions and 31 deletions

View File

@ -0,0 +1,8 @@
#!/bin/rc
fn enum_core_deps { for (i in `{cat /var/db/kiss/repos/kiss-mfavila/core-mod/core/*/depends|cut -f1 -d' '}){printf '%s\n' $i}}
fn get_dep_paths { list=`{for (i in `{for (i in `enum_core_deps){kiss search $i|grep -v installed|grep -v 'core-mod/core'}}){printf '%s\n' $i}}
printf %s\n $list|tr ' ' '\n'|sort|uniq}
fn move_deps { for (i in `get_dep_paths){sup mv $i /var/db/kiss/repos/kiss-mfavila/core-mod/core/}}

3
ports/rc-git/depends Normal file
View File

@ -0,0 +1,3 @@
autoconf make
automake make
editline

View File

@ -1,3 +0,0 @@
autoconf
automake
editline

View File

@ -1,23 +0,0 @@
#!/bin/sh -e
./configure \
--prefix=/usr \
--localstatedir=/var \
--bindir=/usr/bin \
--sbindir=/usr/bin \
--libdir=/usr/lib \
--enable-libuuid \
--enable-libblkid \
--enable-fsck \
--disable-makeinstall-chown \
--disable-rpath \
--without-udev \
--without-python \
--without-systemd
make
make DESTDIR="$1" install
# Fix broken --sbindir.
mv -f "$1/usr/sbin/"* "$1/usr/bin"
rmdir "$1/usr/sbin"

View File

@ -1 +0,0 @@
09fac242172cd8ec27f0739d8d192402c69417617091d8c6e974841568f37eed

View File

@ -1,2 +0,0 @@
linux-headers make

View File

@ -1 +0,0 @@
https://cdn.kernel.org/pub/linux/utils/util-linux/v2.36/util-linux-2.36.1.tar.xz

View File

@ -1 +0,0 @@
2.36.1 1