Compare commits

..

32 Commits

Author SHA1 Message Date
Jonas 'Sortie' Termansen f026f3ae43 Add kernel(7) --firmware option. 2023-12-26 12:48:11 +01:00
Jonas 'Sortie' Termansen 6ba8da83c3 Add fatfs(8). 2023-12-26 12:48:11 +01:00
Jonas 'Sortie' Termansen 96a8bae02d Add dosfstools port. 2023-12-26 12:48:11 +01:00
Jonas 'Sortie' Termansen cc791a45d2 Add mtools port. 2023-12-26 12:48:11 +01:00
Jonas 'Sortie' Termansen 8a89ca543c Add getty(8). 2023-12-26 12:48:11 +01:00
Jonas 'Sortie' Termansen deff2b660e Add terminal and interrupt support to com(4). 2023-12-26 12:48:11 +01:00
Jonas 'Sortie' Termansen ed4d8d4840 Add nyan(1). 2023-12-26 12:48:11 +01:00
Jonas 'Sortie' Termansen 9345e7e625 Work around pty deadlock. 2023-12-26 12:48:11 +01:00
Jonas 'Sortie' Termansen 23872323e9 Add cdrom mounting live environment. 2023-12-26 12:48:11 +01:00
Jonas 'Sortie' Termansen 3722f22beb Revert "Parallelize driver initialization."
This reverts commit 0fef08bbc4.
2023-12-26 12:48:11 +01:00
Jonas 'Sortie' Termansen bebe8c2b00 Parallelize driver initialization. 2023-12-26 12:48:11 +01:00
Jonas 'Sortie' Termansen 49d7aa16ad Speed up ata(4) 400 ns waits.
Waiting for any non-zero duration currently waits for at least one timer
cycle (10 ms), which is especially expensive during early boot.

The current workaround of simply reading the status 14 times seems really
suspicious although the osdev wiki documents it, but let's see how well it
works on real hardware, it's probably good enough.

Try to determine the initial selected drive to save one drive selection.
2023-12-26 12:48:11 +01:00
Jonas 'Sortie' Termansen 9d0fba9377 Decrease PS/2 timeouts. 2023-12-26 12:48:11 +01:00
Jonas 'Sortie' Termansen 4a3b4b4495 Add uptime(1) -pr options. 2023-12-26 12:48:11 +01:00
Jonas 'Sortie' Termansen 578ffb9624 Revert "Update to bison-3.8.2."
This reverts commit b82fae810b42c5426d21c4dc153b32f086dd7fde.
2023-12-26 12:48:11 +01:00
Jonas 'Sortie' Termansen 80f3883f4d Update to bison-3.8.2. 2023-12-26 12:48:11 +01:00
Jonas 'Sortie' Termansen 113099a273 Add iso9660 filesystem implementation. 2023-12-26 12:48:11 +01:00
Jonas 'Sortie' Termansen a6778c8f04 Add kernel virtual address space usage debug information. 2023-12-26 12:48:10 +01:00
Jonas 'Sortie' Termansen 696f264078 Debug TCP socket state listing. 2023-12-26 12:48:10 +01:00
Jonas 'Sortie' Termansen a748ab4079 Add kernel heap allocation tracing debug facility. 2023-12-26 12:48:10 +01:00
Jonas 'Sortie' Termansen 15992bc42d Trianglix 4. 2023-12-26 12:48:10 +01:00
Jonas 'Sortie' Termansen be1cde7f0c Add tix-check(8). 2023-12-26 12:48:10 +01:00
Jonas 'Sortie' Termansen e40292c13b Volatile release. 2023-12-26 12:48:10 +01:00
Jonas 'Sortie' Termansen 483c401fa5 Add tix-upgrade(8). 2023-12-26 12:48:10 +01:00
Jonas 'Sortie' Termansen 8a34189750 Add tix-repository(8).
Support renaming, splitting, and deleting ports via RENAMES.
2023-12-26 12:48:10 +01:00
Jonas 'Sortie' Termansen 5e8bcb23e2 Add signify port. 2023-12-26 12:48:10 +01:00
Jonas 'Sortie' Termansen b992d6f6ab Add pty(1). 2023-12-26 12:48:10 +01:00
Jonas 'Sortie' Termansen 58a9b51e40 Add irc(1).
Co-authored-by: Juhani Krekelä <juhani@krekelä.fi>
2023-12-26 12:48:10 +01:00
Jonas 'Sortie' Termansen e65b8e6e67 Add getaddrinfo(1). 2023-12-26 12:48:10 +01:00
Jonas 'Sortie' Termansen 6b5e225a13 Enable stack smash protection by default. 2023-12-26 12:48:10 +01:00
Jonas 'Sortie' Termansen febaec3d81 Enable undefined behavior sanitization by default. 2023-12-26 12:48:10 +01:00
Juhani Krekelä 7d1087ed83 Add irssi port. 2023-12-26 03:26:11 +02:00
3 changed files with 13 additions and 57 deletions

View File

@ -1,3 +1,4 @@
set_minimal="cut dash e2fsprogs grep grub libssl mdocml sed signify tar wget xargs xz"
set_basic="$set_minimal binutils bison bzip2 diffutils ed flex gawk gcc git gzip irssi libcurl libcurses libstdc++ m4 make nano ntpd patch perl pkg-config python ssh texinfo vim xorriso"
set_basic="$set_minimal binutils bison bzip2 diffutils ed flex gawk gcc git gzip libcurl libcurses libstdc++ m4 make nano ntpd patch perl pkg-config python ssh texinfo vim xorriso"
sets="basic minimal"

View File

@ -1,50 +1,16 @@
diff -Paur --no-dereference -- irssi.upstream/Makefile.in irssi/Makefile.in
--- irssi.upstream/Makefile.in
+++ irssi/Makefile.in
@@ -426,7 +426,7 @@
BUILT_SOURCES = default-config.h default-theme.h irssi-version.h
CLEANFILES = default-config.h default-theme.h
SUBDIRS = src tests docs scripts themes utils
-confdir = $(sysconfdir)
+confdir = $(sysconfdir)/examples
conf_DATA = irssi.conf
pkgconfig_DATA = irssi-1.pc
pkginclude_HEADERS = irssi-config.h irssi-version.h
diff -Paur --no-dereference -- irssi.upstream/configure irssi/configure
--- irssi.upstream/configure
+++ irssi/configure
@@ -18236,4 +18236,3 @@
@@ -941,7 +941,8 @@
echo
echo "If there are any problems, read the INSTALL file."
-
diff -Paur --no-dereference -- irssi.upstream/irssi.conf irssi/irssi.conf
--- irssi.upstream/irssi.conf
+++ irssi/irssi.conf
@@ -1,4 +1,5 @@
servers = (
+ { address = "irc.sortix.org"; chatnet = "sortix"; port = "6697"; use_tls = "yes"; tls_verify = "yes"; },
{ address = "irc.dal.net"; chatnet = "DALnet"; port = "6667"; },
{ address = "ssl.efnet.org"; chatnet = "EFNet"; port = "9999"; use_tls = "yes"; tls_verify = "no"; },
{ address = "irc.esper.net"; chatnet = "EsperNet"; port = "6697"; use_tls = "yes"; tls_verify = "yes"; },
@@ -16,6 +17,9 @@
);
info-am:
chatnets = {
+ sortix = {
+ type = "IRC";
+ };
DALnet = {
type = "IRC";
max_kicks = "4";
@@ -94,6 +98,7 @@
};
-install-data-am: install-confDATA install-pkgconfigDATA \
+# PATCH: Don't install /etc/irssi.conf. Same configuration is built-in.
+install-data-am: install-pkgconfigDATA \
install-pkgincludeHEADERS
channels = (
+ { name = "#sortix"; chatnet = "sortix"; autojoin = "No"; },
{ name = "#lobby"; chatnet = "EsperNet"; autojoin = "No"; },
{ name = "#libera"; chatnet = "liberachat";autojoin = "No"; },
{ name = "#irssi"; chatnet = "liberachat";autojoin = "No"; },
install-dvi: install-dvi-recursive
diff -Paur --no-dereference -- irssi.upstream/src/core/log.c irssi/src/core/log.c
--- irssi.upstream/src/core/log.c
+++ irssi/src/core/log.c
@ -115,27 +81,18 @@ diff -Paur --no-dereference -- irssi.upstream/src/core/net-disconnect.c irssi/sr
diff -Paur --no-dereference -- irssi.upstream/src/core/network.c irssi/src/core/network.c
--- irssi.upstream/src/core/network.c
+++ irssi/src/core/network.c
@@ -491,8 +491,6 @@
int net_host2ip(const char *host, IPADDR *ip)
{
- unsigned long addr;
-
if (strchr(host, ':') != NULL) {
/* IPv6 */
ip->family = AF_INET6;
@@ -501,16 +499,8 @@
@@ -501,16 +501,8 @@
} else {
/* IPv4 */
ip->family = AF_INET;
-#ifdef HAVE_INET_ATON
- if (inet_aton(host, &ip->ip.s_addr) == 0)
- return -1;
+ if (inet_pton(AF_INET, host, &ip->ip) == 0)
return -1;
-#else
- addr = inet_addr(host);
- if (addr == INADDR_NONE)
+ if (inet_pton(AF_INET, host, &ip->ip) == 0)
return -1;
- return -1;
-
- memcpy(&ip->ip, &addr, 4);
-#endif

View File

@ -9,7 +9,5 @@ UPSTREAM_SITE=https://codeberg.org/irssi/irssi/releases/download/$VERSION
UPSTREAM_ARCHIVE=$ARCHIVE
RELEASE_SEARCH_PAGE=https://codeberg.org/irssi/irssi/releases
BUILD_SYSTEM=configure
# Perl support in irssi is fundamentally broken for cross-compilation.
CONFIGURE_ARGS='--enable-true-color --with-perl=no'
MAKE_VARS=V=1
LICENSE=GPL-2.0-or-later