This commit is contained in:
Mid Favila 2021-06-06 22:36:04 +00:00
parent 6b021a6344
commit 5e3b5609fd
46 changed files with 391 additions and 17 deletions

View File

@ -1 +0,0 @@
../ports/hummingbird-git

1
mbase/hummingbird-git-mod Symbolic link
View File

@ -0,0 +1 @@
hummingbird-git-mod

5
ports/XawM/build Executable file
View File

@ -0,0 +1,5 @@
#!/bin/sh -e
xmkmf -a
make
make DESTDIR="$1" install

2
ports/XawM/checksums Normal file
View File

@ -0,0 +1,2 @@
12dcd5a750a18a56686f125aa28e374af8124c1632f680d1187ed261e8b2ebe4
d848d78eb240cbe396b59cbe0d70ef5844eb5f1e5f899baf29f346a83c4d229a

140
ports/XawM/files/laygram.h Normal file
View File

@ -0,0 +1,140 @@
/* A Bison parser, made by GNU Bison 3.7.6. */
/* Bison interface for Yacc-like parsers in C
Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2021 Free Software Foundation,
Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>. */
/* As a special exception, you may create a larger work that contains
part or all of the Bison parser skeleton and distribute that work
under terms of your choice, so long as that work isn't itself a
parser generator using the skeleton or a modified version thereof
as a parser skeleton. Alternatively, if you modify or redistribute
the parser skeleton itself, you may (at your option) remove this
special exception, which will cause the skeleton and the resulting
Bison output files to be licensed under the GNU General Public
License without this special exception.
This special exception was added by the Free Software Foundation in
version 2.2 of Bison. */
/* DO NOT RELY ON FEATURES THAT ARE NOT DOCUMENTED in the manual,
especially those whose name start with YY_ or LayYY_. They are
private implementation details that can be changed or removed. */
#ifndef YY_YY_Y_TAB_H_INCLUDED
# define YY_YY_Y_TAB_H_INCLUDED
/* Debug traces. */
#ifndef YYDEBUG
# define YYDEBUG 0
#endif
#if YYDEBUG
extern int LayYYdebug;
#endif
/* Token kinds. */
#ifndef YYTOKENTYPE
# define YYTOKENTYPE
enum LayYYtokentype
{
YYEMPTY = -2,
YYEOF = 0, /* "end of file" */
YYerror = 256, /* error */
YYUNDEF = 257, /* "invalid token" */
OC = 258, /* OC */
CC = 259, /* CC */
OA = 260, /* OA */
CA = 261, /* CA */
OP = 262, /* OP */
CP = 263, /* CP */
NAME = 264, /* NAME */
NUMBER = 265, /* NUMBER */
INFINITY = 266, /* INFINITY */
VERTICAL = 267, /* VERTICAL */
HORIZONTAL = 268, /* HORIZONTAL */
EQUAL = 269, /* EQUAL */
DOLLAR = 270, /* DOLLAR */
PLUS = 271, /* PLUS */
MINUS = 272, /* MINUS */
TIMES = 273, /* TIMES */
DIVIDE = 274, /* DIVIDE */
PERCENTOF = 275, /* PERCENTOF */
PERCENT = 276, /* PERCENT */
WIDTH = 277, /* WIDTH */
HEIGHT = 278, /* HEIGHT */
UMINUS = 279, /* UMINUS */
UPLUS = 280 /* UPLUS */
};
typedef enum LayYYtokentype LayYYtoken_kind_t;
#endif
/* Token kinds. */
#define YYEMPTY -2
#define YYEOF 0
#define YYerror 256
#define YYUNDEF 257
#define OC 258
#define CC 259
#define OA 260
#define CA 261
#define OP 262
#define CP 263
#define NAME 264
#define NUMBER 265
#define INFINITY 266
#define VERTICAL 267
#define HORIZONTAL 268
#define EQUAL 269
#define DOLLAR 270
#define PLUS 271
#define MINUS 272
#define TIMES 273
#define DIVIDE 274
#define PERCENTOF 275
#define PERCENT 276
#define WIDTH 277
#define HEIGHT 278
#define UMINUS 279
#define UPLUS 280
/* Value type. */
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
union YYSTYPE
{
#line 17 "laygram.y"
int ival;
XrmQuark qval;
BoxPtr bval;
BoxParamsPtr pval;
GlueRec gval;
LayoutDirection lval;
ExprPtr eval;
Operator oval;
#line 128 "y.tab.h"
};
typedef union YYSTYPE YYSTYPE;
# define YYSTYPE_IS_TRIVIAL 1
# define YYSTYPE_IS_DECLARED 1
#endif
extern YYSTYPE LayYYlval;
int LayYYparse (void);
#endif /* !YY_YY_Y_TAB_H_INCLUDED */

2
ports/XawM/sources Normal file
View File

@ -0,0 +1,2 @@
files/laygram.h
https://downloads.sourceforge.net/project/xawm/xawm/1.6/XawM-1.6.src.tar.gz

1
ports/XawM/version Normal file
View File

@ -0,0 +1 @@
0.15.1 1

12
ports/XawM/xaw7.pc Normal file
View File

@ -0,0 +1,12 @@
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: Xaw
Description: X Athena Widgets Library, version 7
Version: 1.0.13
Requires: xproto xt
Requires.private: x11 xext xt xmu xpm
Cflags: -I${includedir}
Libs: -L${libdir} -lneXtaw

View File

@ -1,7 +1,10 @@
#!/bin/sh -e
# Parallel make isn't supported yet.
export MAKEFLAGS=` echo $MAKEFLAGS | cut -b 1,2,3 | sed s/[0-9]/1/g`
export MAKEFLAGS='-j1'
make PLATFORM=linux PREFIX="$1"
make PLATFORM=linux PREFIX="$1" install
make PLATFORM=linux PREFIX="$1" STATICBUILD=1
make PLATFORM=linux PREFIX="$1" STATICBUILD=1 install
mkdir -p "$1/usr/share"
mv "$1/share/chicken" "$1/usr/share/"
mv "$1/share/man" "$1/usr/share/"

View File

@ -0,0 +1,5 @@
128d35ff0fc4d8b1adc9cdc0d752fa8acbb510b6e2b679ef227e8936adb59495
6632c9ecc451245c51e6b774fe17b4193f5029673a766af6738fb949ac5618c8
ab2152ca3293a6a4f6f89d8437076d98088721a5ddf0bfc80c77e4d76cfaa557
a270f56f58e8c1cee4c8952c19987e5761af8e6062b7420052cce5b4f1d0c29f
92778cbc3c4c446f0b8e75194526c3f2c64b8e0a71e019f75197df467996e6d7

View File

@ -0,0 +1,23 @@
#!/bin/sh
. /usr/lib/hummingbird/rc.lib
mkdir -pm 0755 /run/runit /run/lvm /run/user /run/lock /run/log \
/dev/pts /dev/shm
mnt /dev/pts devpts devpts mode=0620,gid=5,nosuid,noexec
mnt /dev/shm tmpfs shm mode=1777,nosuid,nodev
[ -h /dev/fd ] || ln -sf /proc/self/fd /dev/fd
[ -h /dev/stdin ] || ln -sf fd/0 /dev/stdin
[ -h /dev/stdout ] || ln -sf fd/1 /dev/stdout
[ -h /dev/stderr ] || ln -sf fd/2 /dev/stderr
fsck -ATat noopts=_netdev
[ $? -gt 1 ] && log "fsck call failed"
[ -e /etc/crypttab ] && [ -x /bin/cryptsetup ] && parse_crypttab
mount -o remount,rw /
mount -a
swapon -a

View File

@ -0,0 +1,45 @@
#!/bin/sh
. /usr/lib/hummingbird/rc.lib
setup_hotplug(){
if command -v udevd >/dev/null; then
udevd -d
udevadm trigger -c add -t subsystems
udevadm trigger -c add -t devices
udevadm trigger -c change -t devices
udevadm settle
elif command -v mdev >/dev/null; then
mdev -s
mdev -df & mdev_pid=$!
[ -x /bin/dmsetup ] && dmsetup mknodes
fi
}
setup_sysctl(){
for conf in /run/sysctl.d/*.conf \
/etc/sysctl.d/*.conf \
/usr/lib/sysctl.d/*.conf \
/etc/sysctl.conf; do
[ -f "$conf" ] || break
seen="$seen ${conf##*/}"
case $seen in
*" ${conf##*/} "*) ;;
*) sysctl -p "$conf" ;;
esac
done
}
setup_hotplug
setup_sysctl
ifconfig lo up
for file in /etc/hummingbird.d/*.boot /etc/rc.d/*.boot; do
[ -f "$file" ] && . "$file"
done

View File

@ -0,0 +1,12 @@
#!/bin/sh
log(){
printf '\033[31;1m%s\n' "$1"
}
mnt(){
mountpoint -q "$1" || {
[ -d "$1" ] || mkdir -p "$1"
mount -t "$2" "$3" "$1" -o "$4"
}
}

View File

@ -0,0 +1,18 @@
#!/bin/sh
. /usr/lib/hummingbird/rc.lib
for file in /etc/hummingbird.d/*.pre.shutdown /etc/rc.d/*.pre.shutdown; do
[ -f "$file" ] && . "$file"
done
rm -r /tmp/*
dd count=1 bs=512 if=/dev/random of=/usr/lib/hummingbird/random.seed
# killall processes
swapoff -a
umount -a -l
umount -a
mount -o remount,ro /

View File

@ -0,0 +1,15 @@
#!/bin/sh
. /usr/lib/hummingbird/rc.lib
setup_tty(){
for index in 1 2 3 4 5 6; do
while :; do
getty "/dev/tty${index}"
done &
done
wait
}
setup_tty

View File

@ -0,0 +1,6 @@
files/fs
files/interlude
files/rc.lib
files/shutdown
files/tty
git+https://github.com/Sweets/hummingbird.git

View File

@ -1 +0,0 @@
git git+https://github.com/Sweets/hummingbird.git

View File

@ -1 +0,0 @@
git+https://github.com/Sweets/hummingbird.git

View File

@ -1,3 +1,4 @@
libwebp
giflib
gtk+2
libpng

View File

@ -8,3 +8,8 @@ ssu ./configure.sh config.in
make
make DESTDIR="$1" install
for bin in route
do chmod 6770 "$1/usr/bin/$bin"
chgrp network "$1/usr/bin/$bin"
done

13
ports/openvpn-mod/build Executable file
View File

@ -0,0 +1,13 @@
#!/bin/sh -e
./configure \
--prefix=/usr \
--sbindir=/usr/bin \
--enable-pkcs11 \
--enable-plugins \
--enable-password-save \
--enable-x509-alt-username \
--disable-plugin-auth-pam
make
make DESTDIR="$1" install

View File

@ -0,0 +1 @@
40930489c837c05f6153f38e1ebaec244431ef1a034e4846ff732d71d59ff194

View File

@ -0,0 +1,2 @@
lzo
pkcs11-helper

View File

@ -0,0 +1 @@
https://swupdate.openvpn.org/community/releases/openvpn-2.5.1.tar.xz

View File

@ -0,0 +1 @@
2.5.1 1

View File

@ -3,6 +3,7 @@
for file in rxvt-unicode-kerning.patch gentables.patch
do
patch -p1 < $file
done
./configure \
--prefix=/usr \

View File

@ -1,3 +1,3 @@
e94628e9bcfa0adb1115d83649f898d6edb4baced44f5d5b769c2eeb8b95addd rxvt-unicode-9.22.tar.bz2
f1dc6defe4bd6bedaf0f4b4425da353e2e3a86bbc936369392938db8c3fade31 gentables.patch
b3db15563addedf5bf770336a2a4a1c5b0c0306f8d37e77e59d1940babe82812 rxvt-unicode-kerning.patch
643116b9a25d29ad29f4890131796d42e6d2d21312282a613ef66c80c5b8c98b
f1dc6defe4bd6bedaf0f4b4425da353e2e3a86bbc936369392938db8c3fade31
b3db15563addedf5bf770336a2a4a1c5b0c0306f8d37e77e59d1940babe82812

View File

@ -1,3 +1,3 @@
http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-9.22.tar.bz2
http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-9.26.tar.bz2
patches/gentables.patch
patches/rxvt-unicode-kerning.patch

View File

@ -1 +1 @@
9.22 2
9.26 2

View File

@ -1,2 +1,3 @@
libwebp
cmake build
tdlib

14
ports/windowlab-mod/build Executable file
View File

@ -0,0 +1,14 @@
#!/bin/sh -e
# Set our default font to "fixed".
sed -i 's/\-b\&h\-lucida\-medium\-r\-\*\-\*\-10\-\*\-\*\-\*\-\*\-\*\-\*\-\*/fixed/' windowlab.h
# Look under ~/.config/windowlab, not ~/.windowlab for config data.
sed -i 's/\.windowlab\/windowlab\.menurc/\.config\/windowlab\/menurc/g' *
make
# Fix unportable cp flags in Makefile
sed -i 's/cp -i/cp/' Makefile
make PREFIX="/usr" DESTDIR="$1" install

View File

@ -0,0 +1 @@
576bb951391dce71eddb94f3be91f4caa433e3b6369fdb38447312efc8c83fce

View File

@ -0,0 +1 @@
git+https://github.com/nickgravgaard/windowlab

View File

@ -0,0 +1 @@
git 1

8
ports/xdialog/build Executable file
View File

@ -0,0 +1,8 @@
#!/bin/sh -e
./configure \
--with-gtk2 \
--prefix=/usr
make
make DESTDIR="$1" install

1
ports/xdialog/checksums Normal file
View File

@ -0,0 +1 @@
1d446899697145fc36623d8afdd274066177da9383a6b619c18e8eb1b2ba589a

1
ports/xdialog/depends Normal file
View File

@ -0,0 +1 @@
gtk+2

1
ports/xdialog/sources Normal file
View File

@ -0,0 +1 @@
http://xdialog.free.fr/Xdialog-2.3.1.tar.bz2

1
ports/xdialog/version Normal file
View File

@ -0,0 +1 @@
2.3.1 1

View File

@ -12,11 +12,27 @@ patch -p1 < posix-ptys.patch
--enable-ansi-color \
--enable-88-color \
--enable-256-color \
--enable-exec-xterm \
--disable-exec-xterm \
--enable-sixel-graphics \
--enable-regis-graphics \
--with-neXtaw \
--enable-toolbar
--disable-desktop \
--disable-openpty \
--disable-setuid \
--disable-setgid \
--disable-active-icon \
--disable-sun-keys \
--disable-fifo-lines \
--disable-i18n \
--disable-initial-erase \
--enable-readline-mouse \
--disable-rightbar \
--disable-session-mgt \
--disable-tek4014 \
--disable-vt52 \
--enable-luit \
--disable-screen-dumps \
--disable-ziconbeep
make
make DESTDIR="$1" install

View File

@ -1,7 +1,22 @@
#!/bin/sh -e
./configure \
--prefix=/usr
# Credit to kqz for this.
# Remove gettext. Should allow for kiss compat.
sed -i '/ @+(cd po && $(MAKE))/d' Makefile.in
sed -i '/ @+if $(enable_nls); then (cd po && $(MAKE) $@); fi/d' Makefile.in
sed -i '/ @+if $(enable_nls); then (cd po && $(MAKE) $@); fi/d' Makefile.in
sed -i '/ @+if $(enable_nls); then (cd po && $(MAKE) $@); fi/d' Makefile.in
sed -i '/ @+(cd po && $(MAKE) update-po) # must be done first/d' Makefile.in
sed -i '/ -@+(cd po && $(MAKE) mostlyclean)/d' Makefile.in
sed -i '/ -@+(cd po && $(MAKE) clean)/d' Makefile.in
sed -i '/ -@+(cd po && $(MAKE) distclean)/d' Makefile.in
sed -i '/ -@+(cd po && $(MAKE) maintainer-clean)/d' Makefile.in
./configure \
--prefix=/usr \
--disable-nls \
make
make DESTDIR="$1" install
ln -s yash "$1/usr/bin/sh"

1
testing/yash/checksums Normal file
View File

@ -0,0 +1 @@
88ea6c484e6a2b766f2fc5ff31144dccd660774433ea12c3084d3d50fe64cb68

View File

@ -1 +1 @@
git+https://github.com/magicant/yash
https://github.com/magicant/yash/releases/download/2.51/yash-2.51.tar.gz

View File

@ -1 +1 @@
git 1
2.5.1 1