Compare commits

..

32 Commits

Author SHA1 Message Date
Jonas 'Sortie' Termansen bf3d066093 Add kernel(7) --firmware option. 2023-12-26 17:18:56 +01:00
Jonas 'Sortie' Termansen c0f1a19168 Add fatfs(8). 2023-12-26 17:18:56 +01:00
Jonas 'Sortie' Termansen bc48ded292 Add dosfstools port. 2023-12-26 17:18:56 +01:00
Jonas 'Sortie' Termansen 870fb38bf2 Add mtools port. 2023-12-26 17:18:56 +01:00
Jonas 'Sortie' Termansen 2ce9f50905 Add getty(8). 2023-12-26 17:18:56 +01:00
Jonas 'Sortie' Termansen f29bbcbde8 Add terminal and interrupt support to com(4). 2023-12-26 17:18:55 +01:00
Jonas 'Sortie' Termansen 93fac0fde3 Add nyan(1). 2023-12-26 17:18:55 +01:00
Jonas 'Sortie' Termansen 82d0bf2b79 Work around pty deadlock. 2023-12-26 17:18:55 +01:00
Jonas 'Sortie' Termansen 9910260de7 Add cdrom mounting live environment. 2023-12-26 17:18:55 +01:00
Jonas 'Sortie' Termansen e6c6570bf0 Revert "Parallelize driver initialization."
This reverts commit 0fef08bbc4.
2023-12-26 17:18:55 +01:00
Jonas 'Sortie' Termansen 3ae267d16c Parallelize driver initialization. 2023-12-26 17:18:55 +01:00
Jonas 'Sortie' Termansen dd08eba6fb 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 17:18:55 +01:00
Jonas 'Sortie' Termansen cf353e38af Decrease PS/2 timeouts. 2023-12-26 17:18:55 +01:00
Jonas 'Sortie' Termansen 2a663892c5 Add uptime(1) -pr options. 2023-12-26 17:18:55 +01:00
Jonas 'Sortie' Termansen 615747faf6 Revert "Update to bison-3.8.2."
This reverts commit b82fae810b42c5426d21c4dc153b32f086dd7fde.
2023-12-26 17:18:55 +01:00
Jonas 'Sortie' Termansen e83b67da24 Update to bison-3.8.2. 2023-12-26 17:18:55 +01:00
Jonas 'Sortie' Termansen 8ee87fc11a Add iso9660 filesystem implementation. 2023-12-26 17:18:55 +01:00
Jonas 'Sortie' Termansen 9c32119949 Add kernel virtual address space usage debug information. 2023-12-26 17:18:55 +01:00
Jonas 'Sortie' Termansen 6c52971e8f Debug TCP socket state listing. 2023-12-26 17:18:55 +01:00
Jonas 'Sortie' Termansen 0fb0df0f62 Add kernel heap allocation tracing debug facility. 2023-12-26 17:18:55 +01:00
Jonas 'Sortie' Termansen ba25d9ea1f Trianglix 4. 2023-12-26 17:18:54 +01:00
Jonas 'Sortie' Termansen d95127432a Add tix-check(8). 2023-12-26 17:18:54 +01:00
Jonas 'Sortie' Termansen 1b5f3242ad Volatile release. 2023-12-26 17:18:54 +01:00
Jonas 'Sortie' Termansen 51cc59f4ca Add tix-upgrade(8). 2023-12-26 17:18:53 +01:00
Jonas 'Sortie' Termansen ec9aa03f99 Add tix-repository(8).
Support renaming, splitting, and deleting ports via RENAMES.
2023-12-26 17:17:35 +01:00
Jonas 'Sortie' Termansen ea075b6f44 Add signify port. 2023-12-26 17:17:35 +01:00
Jonas 'Sortie' Termansen 5c9d9fc9ec Add pty(1). 2023-12-26 17:17:35 +01:00
Jonas 'Sortie' Termansen 56fbc45a9f Add irc(1).
Co-authored-by: Juhani Krekelä <juhani@krekelä.fi>
2023-12-26 17:17:35 +01:00
Jonas 'Sortie' Termansen 29d7c4aa72 Add getaddrinfo(1). 2023-12-26 17:17:35 +01:00
Jonas 'Sortie' Termansen a2b31ec1cb Enable stack smash protection by default. 2023-12-26 17:17:35 +01:00
Jonas 'Sortie' Termansen 8681cac923 Enable undefined behavior sanitization by default. 2023-12-26 17:17:35 +01:00
Juhani Krekelä 13a75f84e9 Add irssi port. 2023-12-26 17:51:17 +02:00
3 changed files with 57 additions and 13 deletions

View File

@ -1,4 +1,3 @@
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 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 irssi libcurl libcurses libstdc++ m4 make nano ntpd patch perl pkg-config python ssh texinfo vim xorriso"
sets="basic minimal"

View File

@ -1,16 +1,50 @@
diff -Paur --no-dereference -- irssi.upstream/Makefile.in irssi/Makefile.in
--- irssi.upstream/Makefile.in
+++ irssi/Makefile.in
@@ -941,7 +941,8 @@
@@ -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 @@
info-am:
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 @@
);
-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
chatnets = {
+ sortix = {
+ type = "IRC";
+ };
DALnet = {
type = "IRC";
max_kicks = "4";
@@ -94,6 +98,7 @@
};
install-dvi: install-dvi-recursive
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"; },
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
@ -81,18 +115,27 @@ 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
@@ -501,16 +501,8 @@
@@ -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 @@
} else {
/* IPv4 */
ip->family = AF_INET;
-#ifdef HAVE_INET_ATON
- if (inet_aton(host, &ip->ip.s_addr) == 0)
+ if (inet_pton(AF_INET, host, &ip->ip) == 0)
return -1;
- return -1;
-#else
- addr = inet_addr(host);
- if (addr == INADDR_NONE)
- return -1;
+ if (inet_pton(AF_INET, host, &ip->ip) == 0)
return -1;
-
- memcpy(&ip->ip, &addr, 4);
-#endif

View File

@ -9,5 +9,7 @@ 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