├── filesystem ├── motd ├── issue ├── hostname ├── vconsole.conf ├── machine-info ├── shells ├── modprobe.d.usb-load-ehci-first ├── host.conf ├── ld.so.conf ├── resolv.conf ├── fstab ├── securetty ├── os-release ├── hosts ├── shadow ├── nsswitch.conf ├── profile ├── gshadow ├── passwd ├── group └── crypttab ├── glibc ├── glibc.conf ├── glibc.install └── locale.gen.txt ├── nfs-utils ├── nfs-utils.conf ├── idmapd.conf ├── exports ├── nfs-server.conf ├── nfs-common.conf └── nfs-utils_env.sh ├── rpcbind ├── rpcbind.conf ├── rpcbind.install ├── rpcbind-sunrpc.patch └── rpcbind.patch ├── bash ├── dot.bash_logout ├── system.bash_logout ├── dot.bash_profile ├── dot.bashrc ├── bash.install └── system.bashrc ├── systemd ├── loader.conf ├── splash.bmp ├── KaOS_fallback.conf ├── KaOS.conf ├── systemd-tmpfiles.hook ├── initcpio-install-timestamp ├── kvm.patch ├── initcpio-hook-udev ├── use-split-usr-path.patch └── initcpio-install-udev ├── sudo ├── sudo.tmpfiles.conf ├── sudo.pam └── sudo.install ├── flex └── lex.sh ├── openldap ├── slapd.tmpfiles ├── slapd.service ├── slapd.default └── openldap.install ├── util-linux ├── uuidd.tmpfiles ├── system-local-login ├── system-remote-login ├── pam-common ├── pam-login ├── system-services ├── pam-su ├── system-auth ├── util-linux.install └── system-login ├── subversion ├── svnserve.tmpfiles ├── subversion.install ├── svnserve.conf ├── svn ├── svnserve.service └── subversion.rpath.fix.patch ├── inetutils ├── dnsdomainname ├── ftpd.conf ├── talk.xinetd ├── telnet.xinetd ├── ftpd.service ├── rsh.xinetd ├── rlogin.xinetd └── inetutils.install ├── shadow ├── LICENSE ├── shadow.cron.daily ├── shadow.timer ├── defaults.pam ├── chpasswd ├── newusers ├── passwd ├── useradd.defaults ├── shadow.service ├── shadow.install └── xstrdup.patch ├── openssh ├── sshd.confd ├── sshd.socket ├── sshd@.service ├── openssh.install ├── sshd.pam ├── sshd.service └── sshdgenkeys.service ├── cronie ├── cron.deny ├── service └── pam.d ├── mirror-check ├── mirror-check.png ├── mirror-check.desktop └── PKGBUILD ├── btrfs-progs ├── initcpio-hook-btrfs └── initcpio-install-btrfs ├── kmod └── depmod-search.conf ├── gpm ├── gpm.sh ├── gpm.service ├── gpm.install └── glibc2.26.diff ├── linux-firmware ├── microcode_amd_fam17h.bin └── microcode_amd_fam17h.bin.xz ├── iptables ├── empty-raw.rules ├── empty.rules ├── empty-filter.rules ├── empty-security.rules ├── empty-nat.rules ├── empty-mangle.rules ├── iptables.service ├── ip6tables.service ├── iptables-flush ├── simple_firewall.rules └── 0503-extension_cppflags.patch ├── mlocate ├── updatedb.cron ├── updatedb.timer ├── updatedb.service ├── updatedb.conf └── updatedb.cron.daily ├── ppp ├── ip-down.d.dns.sh ├── ipv6-up.d.iface-config.sh ├── plog ├── ppp.service ├── ip-up.d.dns.sh ├── ip-down ├── ip-up ├── ipv6-up ├── ipv6-down └── pon ├── logrotate ├── logrotate.timer ├── logrotate.service ├── path.patch ├── logrotate.cron.daily └── logrotate.conf ├── pam ├── other └── glibc216.patch ├── vi ├── exrc.sample └── increase-tube.patch ├── git ├── git-daemon.socket ├── git-daemon@.service └── git.install ├── db └── db.install ├── krb5 ├── krb5-kpropd.service ├── krb5-kpropd.socket ├── krb5-kadmind.service ├── krb5-kdc.service ├── krb5-kpropd@.service └── krb5-config_LDFLAGS.patch ├── rsync ├── rsyncd.socket ├── rsyncd.conf ├── rsyncd@.service ├── rsyncd.service └── rsync.xinetd ├── dbus └── 30-dbus ├── syslog-ng ├── syslog-ng.conf.d └── syslog-ng.logrotate ├── curl └── curlbuild.h ├── iputils ├── tftp.xinetd └── iputils.install ├── rp-pppoe ├── adsl.service └── rp-pppoe.install ├── xinetd ├── xinetd.service ├── servers ├── services ├── xinetd.conf └── CVE-2013-4342.patch ├── lvm2 ├── 11-dm-initramfs.rules └── lvm2_install ├── boost ├── boost-1.81.0-phoenix-multiple-definitions.patch └── 001-log_fix_dump_avx2.patch ├── dhcpcd ├── dhcpcd.service └── dhcpcd@.service ├── dracut └── module-setup.sh ├── fakeroot ├── fakeroot.install └── dlsym.patch ├── glib2 ├── gio-querymodules.hook └── glib-compile-schemes.hook ├── openvpn ├── openvpn@.service └── systemd.patch ├── bdf-unifont ├── unifont.install └── PKGBUILD ├── shared-mime-info ├── update-mime-database.hook └── shared-mime-info.install ├── dmraid ├── dmraid_hook ├── dmraid.service └── dmraid_install ├── linux ├── 99-linux.hook ├── linux.preset ├── dracut-install ├── lockdep-debug.patch ├── config.aufs ├── vfs-ino.patch ├── aufs_permission.diff ├── change-default-console-loglevel.patch └── aufs6-kbuild.patch ├── mkinitcpio ├── init.diff └── mkinitcpio.install ├── texinfo ├── texinfo-remove.hook └── texinfo-install.hook ├── libsasl ├── libsasl.install └── cyrus-sasl-2.1.26-size_t.patch ├── iproute2 ├── iproutegetfix.patch └── prototype.diff ├── linux-next ├── 99-linux-next.hook ├── dracut-next-install ├── linux-next.preset ├── lockdep-debug.patch ├── config.aufs ├── vfs-ino.patch ├── aufs_permission.diff ├── vbox-58.patch └── aufs6-kbuild.patch ├── bison ├── bison.install └── PKGBUILD ├── openssl ├── CA.diff ├── no-rpath_openssl1.1.patch └── no-rpath.patch ├── gzip ├── gzip.install └── PKGBUILD ├── dnsutils ├── bind.so_bsdcompat.diff └── tools-only.patch ├── gcc ├── gcc-fortran.install ├── gcc-libs.install ├── gcc-go.install ├── gcc-ada.install └── gcc.install ├── zfs-kmod └── zfs-kmod.install ├── bc ├── bc-1.06-void.patch ├── bc-1.06-info-dir-entry.patch ├── build-fix.patch ├── bc.install └── PKGBUILD ├── cleanrepo └── PKGBUILD ├── mkinitcpio-nfs-utils ├── nfsmount.patch └── PKGBUILD ├── mdadm ├── disable-werror.patch └── mdadm_udev_install ├── iasl └── iasl.install ├── perl ├── perlbin.csh └── perlbin.sh ├── zfs-kmod-next └── zfs-kmod-next.install ├── linux-atm └── linux-atm-2.5.0-glibc28.patch ├── pacman └── pacman.install ├── kbd └── kbd2.2.0.patch ├── help2man ├── help2man-1.37.1-respect-LDFLAGS.patch └── PKGBUILD ├── vpnc └── vpnc.conf ├── readline ├── readline.install └── inputrc ├── wget ├── wget.install └── 0001-main.c-Need-to-explicitly-disallow-show_progress-in-.patch ├── binutils └── binutils.install ├── isl3890-firmware └── PKGBUILD ├── mpfr └── mpfr.install ├── cpio ├── cpio.install └── PKGBUILD ├── pacman-mirrorlist └── PKGBUILD ├── gmp ├── gmp.install └── PKGBUILD ├── tar ├── tar.install └── PKGBUILD ├── grub ├── grub.install └── grub-2.00-mkinitcpio-0.15.patch ├── e2fsprogs └── mke2fs.conf ├── findutils └── findutils.install ├── licenses └── cc-readme.txt ├── grub-themes ├── PKGBUILD └── grub-themes.install ├── libyaml └── PKGBUILD ├── zd1211-firmware └── PKGBUILD ├── zfs └── module-setup.diff ├── gperf └── PKGBUILD ├── m4 ├── m4-1.4.16-readlink-einval.patch └── PKGBUILD ├── patchutils └── PKGBUILD ├── psmisc └── PKGBUILD ├── traceroute └── PKGBUILD ├── lz4 └── PKGBUILD ├── freetype2 ├── freetype-2.3.0-enable-spr.patch └── freetype-2.2.1-enable-valid.patch ├── less └── PKGBUILD ├── pcmciautils └── initcpio-install-pcmcia ├── libnsl └── PKGBUILD ├── acl └── PKGBUILD ├── ca-certificates └── ca-certificates.install ├── isl3887usb-firmware └── PKGBUILD ├── iw └── PKGBUILD ├── which └── PKGBUILD ├── libcroco └── PKGBUILD ├── gettext └── PKGBUILD ├── nettle └── PKGBUILD ├── b43-fwcutter └── PKGBUILD ├── keyutils └── PKGBUILD ├── xmlto └── PKGBUILD ├── libssh2 └── PKGBUILD ├── sed └── PKGBUILD ├── mkinitcpio-openswap ├── openswap.hook └── openswap.conf ├── libtasn1 └── PKGBUILD ├── perl-test-pod └── PKGBUILD ├── python3-systemd └── PKGBUILD ├── patch └── PKGBUILD ├── rpcsvc-proto └── PKGBUILD ├── jfsutils └── inttypes.patch ├── libassuan └── PKGBUILD ├── libgpg-error └── PKGBUILD ├── run-parts └── PKGBUILD ├── debugedit └── PKGBUILD ├── dejagnu └── PKGBUILD ├── expat └── PKGBUILD ├── perl-error └── PKGBUILD ├── rdfind └── PKGBUILD ├── libidn2 └── PKGBUILD ├── libpipeline └── PKGBUILD ├── make ├── perl26.patch └── PKGBUILD ├── libseccomp └── PKGBUILD ├── npth └── PKGBUILD ├── ed └── PKGBUILD ├── libcap-ng └── PKGBUILD ├── perl-xml-parser └── PKGBUILD ├── popt └── PKGBUILD ├── wireless_tools └── PKGBUILD ├── libcap └── PKGBUILD ├── attr └── PKGBUILD ├── dialog └── PKGBUILD ├── intltool └── PKGBUILD ├── libusb └── PKGBUILD ├── libgcrypt └── PKGBUILD ├── .gitignore ├── bcachefs-tools └── PKGBUILD ├── apr-util └── PKGBUILD ├── quota └── PKGBUILD ├── diffutils └── PKGBUILD ├── libgudev └── PKGBUILD ├── libinih └── PKGBUILD ├── pptpclient └── PKGBUILD ├── swig └── PKGBUILD ├── hwdata └── PKGBUILD ├── usbutils └── PKGBUILD ├── apr └── PKGBUILD ├── libevent └── PKGBUILD ├── libnl └── PKGBUILD ├── netctl └── PKGBUILD ├── expect └── PKGBUILD ├── neon └── PKGBUILD ├── grep └── PKGBUILD ├── perl-yaml-syck └── PKGBUILD ├── gobject-introspection └── PKGBUILD ├── procps-ng └── PKGBUILD ├── libxcrypt └── PKGBUILD ├── efibootmgr └── PKGBUILD ├── linux-api-headers └── PKGBUILD ├── bin86 └── PKGBUILD ├── sysfsutils └── PKGBUILD ├── nano └── PKGBUILD └── unixodbc └── PKGBUILD /filesystem/motd: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /glibc/glibc.conf: -------------------------------------------------------------------------------- 1 | /lib 2 | -------------------------------------------------------------------------------- /filesystem/issue: -------------------------------------------------------------------------------- 1 | KaOS \r (\l) 2 | -------------------------------------------------------------------------------- /nfs-utils/nfs-utils.conf: -------------------------------------------------------------------------------- 1 | nfs 2 | -------------------------------------------------------------------------------- /filesystem/hostname: -------------------------------------------------------------------------------- 1 | localhost 2 | -------------------------------------------------------------------------------- /rpcbind/rpcbind.conf: -------------------------------------------------------------------------------- 1 | RPCBIND_ARGS="" 2 | -------------------------------------------------------------------------------- /filesystem/vconsole.conf: -------------------------------------------------------------------------------- 1 | FONT= 2 | FONT_MAP= 3 | -------------------------------------------------------------------------------- /bash/dot.bash_logout: -------------------------------------------------------------------------------- 1 | # 2 | # ~/.bash_logout 3 | # 4 | -------------------------------------------------------------------------------- /systemd/loader.conf: -------------------------------------------------------------------------------- 1 | timeout 10 2 | default KaOS 3 | -------------------------------------------------------------------------------- /sudo/sudo.tmpfiles.conf: -------------------------------------------------------------------------------- 1 | d /run/sudo 0711 root root - 2 | -------------------------------------------------------------------------------- /bash/system.bash_logout: -------------------------------------------------------------------------------- 1 | # 2 | # /etc/bash.bash_logout 3 | # 4 | -------------------------------------------------------------------------------- /flex/lex.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | exec /usr/bin/flex -l "$@" 4 | -------------------------------------------------------------------------------- /openldap/slapd.tmpfiles: -------------------------------------------------------------------------------- 1 | D /run/openldap 0755 ldap ldap - 2 | -------------------------------------------------------------------------------- /util-linux/uuidd.tmpfiles: -------------------------------------------------------------------------------- 1 | d /run/uuidd 0755 uuidd uuidd 2 | -------------------------------------------------------------------------------- /subversion/svnserve.tmpfiles: -------------------------------------------------------------------------------- 1 | D /run/svnserve 0700 root root - 2 | -------------------------------------------------------------------------------- /inetutils/dnsdomainname: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | exec /usr/bin/hostname -d "$@" 4 | -------------------------------------------------------------------------------- /shadow/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaOSx/core/HEAD/shadow/LICENSE -------------------------------------------------------------------------------- /filesystem/machine-info: -------------------------------------------------------------------------------- 1 | PRETTY_NAME="KaOS computer" 2 | ICON_NAME="kaos-pc" 3 | -------------------------------------------------------------------------------- /systemd/splash.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaOSx/core/HEAD/systemd/splash.bmp -------------------------------------------------------------------------------- /inetutils/ftpd.conf: -------------------------------------------------------------------------------- 1 | # 2 | # Parameters to be passed to ftpd 3 | # 4 | FTPD_ARGS="" 5 | -------------------------------------------------------------------------------- /openssh/sshd.confd: -------------------------------------------------------------------------------- 1 | # 2 | # Parameters to be passed to sshd 3 | # 4 | SSHD_ARGS="" 5 | -------------------------------------------------------------------------------- /bash/dot.bash_profile: -------------------------------------------------------------------------------- 1 | # 2 | # ~/.bash_profile 3 | # 4 | 5 | [[ -f ~/.bashrc ]] && . ~/.bashrc 6 | -------------------------------------------------------------------------------- /cronie/cron.deny: -------------------------------------------------------------------------------- 1 | # without this file, only users listed in /etc/cron.allow can use crontab 2 | -------------------------------------------------------------------------------- /filesystem/shells: -------------------------------------------------------------------------------- 1 | # 2 | # /etc/shells 3 | # 4 | 5 | /bin/sh 6 | /bin/bash 7 | 8 | # End of file 9 | -------------------------------------------------------------------------------- /glibc/glibc.install: -------------------------------------------------------------------------------- 1 | post_upgrade() { 2 | sbin/ldconfig -r . 3 | 4 | usr/sbin/locale-gen 5 | } 6 | 7 | -------------------------------------------------------------------------------- /mirror-check/mirror-check.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaOSx/core/HEAD/mirror-check/mirror-check.png -------------------------------------------------------------------------------- /btrfs-progs/initcpio-hook-btrfs: -------------------------------------------------------------------------------- 1 | #!/usr/bin/ash 2 | 3 | run_hook() { 4 | btrfs device scan 5 | } 6 | 7 | -------------------------------------------------------------------------------- /filesystem/modprobe.d.usb-load-ehci-first: -------------------------------------------------------------------------------- 1 | softdep ohci_hcd pre: ehci_hcd 2 | softdep uhci_hcd pre: ehci_hcd 3 | -------------------------------------------------------------------------------- /filesystem/host.conf: -------------------------------------------------------------------------------- 1 | # 2 | # /etc/host.conf 3 | # 4 | 5 | order hosts,bind 6 | multi on 7 | 8 | # End of file 9 | -------------------------------------------------------------------------------- /kmod/depmod-search.conf: -------------------------------------------------------------------------------- 1 | # 2 | # /usr/lib/depmod.d/depmod.conf 3 | # 4 | 5 | search updates extramodules built-in 6 | -------------------------------------------------------------------------------- /filesystem/ld.so.conf: -------------------------------------------------------------------------------- 1 | # 2 | # /etc/ld.so.conf 3 | # 4 | 5 | include /etc/ld.so.conf.d/*.conf 6 | 7 | # End of file 8 | -------------------------------------------------------------------------------- /gpm/gpm.sh: -------------------------------------------------------------------------------- 1 | case $( /usr/bin/tty ) in 2 | /dev/tty[0-9]*) [ -n "$(pidof -s gpm)" ] && /usr/bin/disable-paste ;; 3 | esac 4 | -------------------------------------------------------------------------------- /linux-firmware/microcode_amd_fam17h.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaOSx/core/HEAD/linux-firmware/microcode_amd_fam17h.bin -------------------------------------------------------------------------------- /sudo/sudo.pam: -------------------------------------------------------------------------------- 1 | #%PAM-1.0 2 | auth include system-auth 3 | account include system-auth 4 | session include system-auth 5 | -------------------------------------------------------------------------------- /linux-firmware/microcode_amd_fam17h.bin.xz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaOSx/core/HEAD/linux-firmware/microcode_amd_fam17h.bin.xz -------------------------------------------------------------------------------- /filesystem/resolv.conf: -------------------------------------------------------------------------------- 1 | # 2 | # /etc/resolv.conf 3 | # 4 | 5 | #search 6 | #nameserver 7 | 8 | # End of file 9 | -------------------------------------------------------------------------------- /iptables/empty-raw.rules: -------------------------------------------------------------------------------- 1 | # Empty iptables raw table rules file 2 | *raw 3 | :PREROUTING ACCEPT [0:0] 4 | :OUTPUT ACCEPT [0:0] 5 | COMMIT 6 | -------------------------------------------------------------------------------- /mlocate/updatedb.cron: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | NICE='nice -n 19' 4 | IONICE='ionice -c 2 -n 7' 5 | 6 | exec ${IONICE} ${NICE} updatedb -f proc 7 | -------------------------------------------------------------------------------- /ppp/ip-down.d.dns.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | [ -e /etc/resolv.conf.backup.${IFNAME} ] && mv /etc/resolv.conf.backup.${IFNAME} /etc/resolv.conf 4 | -------------------------------------------------------------------------------- /shadow/shadow.cron.daily: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Verify integrity of password and group files 4 | /usr/sbin/pwck -r 5 | /usr/sbin/grpck -r 6 | 7 | -------------------------------------------------------------------------------- /iptables/empty.rules: -------------------------------------------------------------------------------- 1 | # Empty iptables rule file 2 | *filter 3 | :INPUT ACCEPT [0:0] 4 | :FORWARD ACCEPT [0:0] 5 | :OUTPUT ACCEPT [0:0] 6 | COMMIT 7 | -------------------------------------------------------------------------------- /ppp/ipv6-up.d.iface-config.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | echo 0 > /proc/sys/net/ipv6/conf/$1/use_tempaddr 4 | echo 2 > /proc/sys/net/ipv6/conf/$1/accept_ra 5 | -------------------------------------------------------------------------------- /logrotate/logrotate.timer: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Daily rotation of log files 3 | 4 | [Timer] 5 | OnCalendar=daily 6 | AccuracySec=12h 7 | Persistent=true 8 | -------------------------------------------------------------------------------- /mlocate/updatedb.timer: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Daily locate database update 3 | 4 | [Timer] 5 | OnCalendar=daily 6 | AccuracySec=12h 7 | Persistent=true 8 | -------------------------------------------------------------------------------- /pam/other: -------------------------------------------------------------------------------- 1 | #%PAM-1.0 2 | auth required pam_unix.so 3 | account required pam_unix.so 4 | password required pam_unix.so 5 | session required pam_unix.so 6 | -------------------------------------------------------------------------------- /vi/exrc.sample: -------------------------------------------------------------------------------- 1 | " A sample .exrc file. Copy it to your home dir as ~/.exrc in order to work. 2 | set showmode 3 | set noflash 4 | set autoindent 5 | set shiftwidth=2 6 | -------------------------------------------------------------------------------- /iptables/empty-filter.rules: -------------------------------------------------------------------------------- 1 | # Empty iptables filter table rule file 2 | *filter 3 | :INPUT ACCEPT [0:0] 4 | :FORWARD ACCEPT [0:0] 5 | :OUTPUT ACCEPT [0:0] 6 | COMMIT 7 | -------------------------------------------------------------------------------- /shadow/shadow.timer: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Daily verification of password and group files 3 | 4 | [Timer] 5 | OnCalendar=daily 6 | AccuracySec=12h 7 | Persistent=true 8 | -------------------------------------------------------------------------------- /subversion/subversion.install: -------------------------------------------------------------------------------- 1 | post_install() { 2 | usr/bin/systemd-tmpfiles --create svnserve.conf || true 3 | } 4 | 5 | post_upgrade() { 6 | post_install 7 | } 8 | -------------------------------------------------------------------------------- /subversion/svnserve.conf: -------------------------------------------------------------------------------- 1 | # 2 | # Parameters to be passed to svnserve 3 | # 4 | #SVNSERVE_ARGS="-r /path/to/some/repos" 5 | SVNSERVE_ARGS="" 6 | 7 | #SVNSERVE_USER="svn" 8 | -------------------------------------------------------------------------------- /filesystem/fstab: -------------------------------------------------------------------------------- 1 | # 2 | # /etc/fstab: static file system information 3 | # 4 | # 5 | tmpfs /tmp tmpfs nodev,nosuid 0 0 6 | -------------------------------------------------------------------------------- /iptables/empty-security.rules: -------------------------------------------------------------------------------- 1 | # Empty iptables security table rules file 2 | *security 3 | :INPUT ACCEPT [0:0] 4 | :FORWARD ACCEPT [0:0] 5 | :OUTPUT ACCEPT [0:0] 6 | COMMIT 7 | -------------------------------------------------------------------------------- /filesystem/securetty: -------------------------------------------------------------------------------- 1 | # 2 | # /etc/securetty 3 | # 4 | 5 | console 6 | tty1 7 | tty2 8 | tty3 9 | tty4 10 | tty5 11 | tty6 12 | ttyS0 13 | hvc0 14 | 15 | # End of file 16 | -------------------------------------------------------------------------------- /git/git-daemon.socket: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Git Daemon Socket 3 | 4 | [Socket] 5 | ListenStream=9418 6 | Accept=true 7 | 8 | [Install] 9 | WantedBy=sockets.target 10 | -------------------------------------------------------------------------------- /ppp/plog: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | if [ -s /var/log/ppp.log ]; then 4 | exec tail "$@" /var/log/ppp.log 5 | else 6 | exec tail "$@" /var/log/syslog | grep ' \(pppd\|chat\)\[' 7 | fi 8 | -------------------------------------------------------------------------------- /db/db.install: -------------------------------------------------------------------------------- 1 | post_upgrade() { 2 | if [ "$(vercmp $2 5.1)" -lt 0 ]; then 3 | echo " >> Major version update. Consider running db_upgrade on Berkeley DB databases." 4 | fi 5 | } 6 | -------------------------------------------------------------------------------- /krb5/krb5-kpropd.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Kerberos 5 propagation server 3 | 4 | [Service] 5 | ExecStart=/usr/sbin/kpropd -S 6 | 7 | [Install] 8 | WantedBy=multi-user.target 9 | -------------------------------------------------------------------------------- /krb5/krb5-kpropd.socket: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Kerberos 5 propagation server 3 | 4 | [Socket] 5 | ListenStream=754 6 | Accept=yes 7 | 8 | [Install] 9 | WantedBy=sockets.target 10 | -------------------------------------------------------------------------------- /iptables/empty-nat.rules: -------------------------------------------------------------------------------- 1 | # Empty iptables nat table rules file 2 | *nat 3 | :PREROUTING ACCEPT [0:0] 4 | :INPUT ACCEPT [0:0] 5 | :OUTPUT ACCEPT [0:0] 6 | :POSTROUTING ACCEPT [0:0] 7 | COMMIT 8 | -------------------------------------------------------------------------------- /krb5/krb5-kadmind.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Kerberos 5 administration server 3 | 4 | [Service] 5 | ExecStart=/usr/sbin/kadmind -nofork 6 | 7 | [Install] 8 | WantedBy=multi-user.target 9 | -------------------------------------------------------------------------------- /krb5/krb5-kdc.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Kerberos 5 KDC 3 | 4 | [Service] 5 | ExecStart=/usr/sbin/krb5kdc -n 6 | Restart=always 7 | 8 | [Install] 9 | WantedBy=multi-user.target 10 | -------------------------------------------------------------------------------- /openssh/sshd.socket: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Conflicts=sshd.service 3 | Wants=sshdgenkeys.service 4 | 5 | [Socket] 6 | ListenStream=22 7 | Accept=yes 8 | 9 | [Install] 10 | WantedBy=sockets.target 11 | -------------------------------------------------------------------------------- /util-linux/system-local-login: -------------------------------------------------------------------------------- 1 | #%PAM-1.0 2 | 3 | auth include system-login 4 | account include system-login 5 | password include system-login 6 | session include system-login 7 | -------------------------------------------------------------------------------- /util-linux/system-remote-login: -------------------------------------------------------------------------------- 1 | #%PAM-1.0 2 | 3 | auth include system-login 4 | account include system-login 5 | password include system-login 6 | session include system-login 7 | -------------------------------------------------------------------------------- /bash/dot.bashrc: -------------------------------------------------------------------------------- 1 | # 2 | # ~/.bashrc 3 | # 4 | 5 | # If not running interactively, don't do anything 6 | [[ $- != *i* ]] && return 7 | 8 | alias ls='ls --color=auto' 9 | PS1='[\u@\h \W]\$ ' 10 | -------------------------------------------------------------------------------- /rsync/rsyncd.socket: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Rsync Socket 3 | Conflicts=rsyncd.service 4 | 5 | [Socket] 6 | ListenStream=873 7 | Accept=true 8 | 9 | [Install] 10 | WantedBy=sockets.target 11 | -------------------------------------------------------------------------------- /shadow/defaults.pam: -------------------------------------------------------------------------------- 1 | #%PAM-1.0 2 | auth sufficient pam_rootok.so 3 | auth required pam_unix.so 4 | account required pam_unix.so 5 | session required pam_unix.so 6 | password required pam_permit.so 7 | -------------------------------------------------------------------------------- /gpm/gpm.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Virtual console mouse server 3 | 4 | [Service] 5 | Type=forking 6 | ExecStart=/usr/sbin/gpm -m /dev/input/mice -t imps2 7 | 8 | [Install] 9 | WantedBy=multi-user.target -------------------------------------------------------------------------------- /util-linux/pam-common: -------------------------------------------------------------------------------- 1 | #%PAM-1.0 2 | auth sufficient pam_rootok.so 3 | auth required pam_unix.so 4 | account required pam_unix.so 5 | session required pam_unix.so 6 | password required pam_permit.so 7 | -------------------------------------------------------------------------------- /mirror-check/mirror-check.desktop: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | [Desktop Entry] 3 | Type=Application 4 | Version=2.0 5 | Name=Mirror-Check 6 | Icon=mirror-check 7 | Exec=/usr/bin/mirror-check --gui 8 | Categories=Network; 9 | -------------------------------------------------------------------------------- /openssh/sshd@.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=OpenSSH Per-Connection Daemon 3 | After=sshdgenkeys.service 4 | 5 | [Service] 6 | ExecStart=-/usr/sbin/sshd -i 7 | StandardInput=socket 8 | StandardError=syslog 9 | -------------------------------------------------------------------------------- /ppp/ppp.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=PPP link to %I 3 | Before=network.target 4 | 5 | [Service] 6 | ExecStart=/usr/sbin/pppd call %I nodetach 7 | 8 | [Install] 9 | WantedBy=multi-user.target 10 | -------------------------------------------------------------------------------- /shadow/chpasswd: -------------------------------------------------------------------------------- 1 | #%PAM-1.0 2 | auth sufficient pam_rootok.so 3 | auth required pam_unix.so 4 | account required pam_unix.so 5 | session required pam_unix.so 6 | password required pam_unix.so sha512 shadow 7 | -------------------------------------------------------------------------------- /shadow/newusers: -------------------------------------------------------------------------------- 1 | #%PAM-1.0 2 | auth sufficient pam_rootok.so 3 | auth required pam_unix.so 4 | account required pam_unix.so 5 | session required pam_unix.so 6 | password required pam_unix.so sha512 shadow 7 | -------------------------------------------------------------------------------- /dbus/30-dbus: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # launches a session dbus instance 4 | if [ -z "$DBUS_SESSION_BUS_ADDRESS" ] && type dbus-launch >/dev/null; then 5 | eval $(dbus-launch --sh-syntax --exit-with-session) 6 | fi 7 | -------------------------------------------------------------------------------- /krb5/krb5-kpropd@.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Kerberos 5 propagation server 3 | Conflicts=krb5-kpropd.service 4 | 5 | [Service] 6 | ExecStart=/usr/sbin/kpropd 7 | StandardInput=socket 8 | StandardError=syslog 9 | -------------------------------------------------------------------------------- /openldap/slapd.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=OpenLDAP server daemon 3 | 4 | [Service] 5 | Type=forking 6 | ExecStart=/usr/sbin/slapd -u ldap -g ldap 7 | 8 | [Install] 9 | WantedBy=multi-user.target 10 | -------------------------------------------------------------------------------- /syslog-ng/syslog-ng.conf.d: -------------------------------------------------------------------------------- 1 | # 2 | # /etc/conf.d/syslog-ng 3 | # 4 | 5 | # passed to syslog-ng on config check 6 | SYSLOG_NG_CHECKOPTS=() 7 | 8 | # passed to syslog-ng at startup 9 | SYSLOG_NG_OPTS=() 10 | -------------------------------------------------------------------------------- /curl/curlbuild.h: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #if __WORDSIZE == 32 4 | #include "curlbuild-32.h" 5 | #elif __WORDSIZE == 64 6 | #include "curlbuild-64.h" 7 | #else 8 | #error "Unknown word size" 9 | #endif 10 | -------------------------------------------------------------------------------- /iputils/tftp.xinetd: -------------------------------------------------------------------------------- 1 | service tftp 2 | { 3 | socket_type = dgram 4 | protocol = udp 5 | wait = yes 6 | user = nobody 7 | server = /usr/bin/tftpd 8 | server_args = /var/tftpboot 9 | disable = yes 10 | } 11 | -------------------------------------------------------------------------------- /mlocate/updatedb.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Update locate database 3 | 4 | [Service] 5 | Type=oneshot 6 | ExecStart=/usr/bin/updatedb 7 | Nice=19 8 | IOSchedulingClass=best-effort 9 | IOSchedulingPriority=7 10 | -------------------------------------------------------------------------------- /rp-pppoe/adsl.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=ADSL Deamon 3 | 4 | [Service] 5 | Type=forking 6 | ExecStart=/usr/sbin/pppoe-start 7 | ExecStop=/usr/sbin/pppoe-stop 8 | 9 | [Install] 10 | WantedBy=multi-user.target 11 | -------------------------------------------------------------------------------- /inetutils/talk.xinetd: -------------------------------------------------------------------------------- 1 | service ntalk 2 | { 3 | flags = REUSE 4 | socket_type = dgram 5 | wait = yes 6 | user = root 7 | server = /usr/sbin/talkd 8 | log_on_failure += USERID 9 | disable = yes 10 | } 11 | -------------------------------------------------------------------------------- /iptables/empty-mangle.rules: -------------------------------------------------------------------------------- 1 | # Empty iptables mangle table rules file 2 | *mangle 3 | :PREROUTING ACCEPT [0:0] 4 | :INPUT ACCEPT [0:0] 5 | :FORWARD ACCEPT [0:0] 6 | :OUTPUT ACCEPT [0:0] 7 | :POSTROUTING ACCEPT [0:0] 8 | COMMIT 9 | -------------------------------------------------------------------------------- /inetutils/telnet.xinetd: -------------------------------------------------------------------------------- 1 | service telnet 2 | { 3 | flags = REUSE 4 | socket_type = stream 5 | wait = no 6 | user = root 7 | server = /usr/sbin/telnetd 8 | log_on_failure += USERID 9 | disable = yes 10 | } 11 | -------------------------------------------------------------------------------- /rsync/rsyncd.conf: -------------------------------------------------------------------------------- 1 | uid = nobody 2 | gid = nobody 3 | use chroot = no 4 | max connections = 4 5 | syslog facility = local5 6 | pid file = /run/rsyncd.pid 7 | 8 | [ftp] 9 | path = /srv/ftp 10 | comment = ftp area 11 | -------------------------------------------------------------------------------- /shadow/passwd: -------------------------------------------------------------------------------- 1 | #%PAM-1.0 2 | #password required pam_cracklib.so difok=2 minlen=8 dcredit=2 ocredit=2 retry=3 3 | #password required pam_unix.so md5 shadow use_authtok 4 | password required pam_unix.so md5 shadow nullok 5 | -------------------------------------------------------------------------------- /shadow/useradd.defaults: -------------------------------------------------------------------------------- 1 | # useradd defaults file for KaOS 2 | # original changes by TomK from ArchLinux 3 | GROUP=100 4 | HOME=/home 5 | INACTIVE=-1 6 | EXPIRE= 7 | SHELL=/bin/bash 8 | SKEL=/etc/skel 9 | CREATE_MAIL_SPOOL=no 10 | 11 | -------------------------------------------------------------------------------- /filesystem/os-release: -------------------------------------------------------------------------------- 1 | NAME="KaOS" 2 | VERSION="2024" 3 | ID=kaos 4 | PRETTY_NAME="KaOS (2024)" 5 | BUILD_ID=rolling 6 | ANSI_COLOR="0;36" 7 | HOME_URL="https://kaosx.us/" 8 | BUG_REPORT_URL="https://kaosx.us/docs/bugs/" 9 | 10 | 11 | -------------------------------------------------------------------------------- /logrotate/logrotate.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Rotate log files 3 | 4 | [Service] 5 | Type=oneshot 6 | ExecStart=/usr/sbin/logrotate /etc/logrotate.conf 7 | Nice=19 8 | IOSchedulingClass=best-effort 9 | IOSchedulingPriority=7 10 | -------------------------------------------------------------------------------- /subversion/svn: -------------------------------------------------------------------------------- 1 | service svn 2 | { 3 | flags = REUSE 4 | socket_type = stream 5 | wait = no 6 | user = root 7 | server = /usr/bin/svnserve 8 | server_args = -i 9 | log_on_failure += USERID 10 | disable = yes 11 | } 12 | -------------------------------------------------------------------------------- /filesystem/hosts: -------------------------------------------------------------------------------- 1 | # 2 | # /etc/hosts: static lookup table for host names 3 | # 4 | 5 | # 6 | 127.0.0.1 localhost.localdomain localhost 7 | ::1 localhost.localdomain localhost 8 | 9 | # End of file 10 | -------------------------------------------------------------------------------- /cronie/service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Periodic Command Scheduler 3 | 4 | [Service] 5 | ExecStart=/usr/sbin/crond -n 6 | ExecReload=/bin/kill -HUP $MAINPID 7 | KillMode=process 8 | Restart=always 9 | 10 | [Install] 11 | WantedBy=multi-user.target 12 | -------------------------------------------------------------------------------- /openssh/openssh.install: -------------------------------------------------------------------------------- 1 | 2 | 3 | post_upgrade() { 4 | if [[ $(vercmp ${2} 9.8p1) -eq -1 ]]; then 5 | 6 | echo "Restarting sshd service" 7 | systemctl daemon-reload 8 | systemctl restart sshd.service 9 | fi 10 | } 11 | 12 | -------------------------------------------------------------------------------- /util-linux/pam-login: -------------------------------------------------------------------------------- 1 | #%PAM-1.0 2 | 3 | auth required pam_securetty.so 4 | auth requisite pam_nologin.so 5 | auth include system-local-login 6 | account include system-local-login 7 | session include system-local-login 8 | -------------------------------------------------------------------------------- /xinetd/xinetd.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=A secure replacement for inetd 3 | After=network.target 4 | 5 | [Service] 6 | ExecStart=/usr/sbin/xinetd -dontfork 7 | ExecReload=/bin/kill -HUP $MAINPID 8 | 9 | [Install] 10 | WantedBy=multi-user.target 11 | -------------------------------------------------------------------------------- /nfs-utils/idmapd.conf: -------------------------------------------------------------------------------- 1 | [General] 2 | 3 | Verbosity = 0 4 | Pipefs-Directory = /var/lib/nfs/rpc_pipefs 5 | Domain = localdomain 6 | 7 | [Mapping] 8 | 9 | Nobody-User = nobody 10 | Nobody-Group = nobody 11 | 12 | [Translation] 13 | 14 | Method = nsswitch 15 | -------------------------------------------------------------------------------- /openssh/sshd.pam: -------------------------------------------------------------------------------- 1 | #%PAM-1.0 2 | #auth required pam_securetty.so #disable remote root 3 | auth include system-remote-login 4 | account include system-remote-login 5 | password include system-remote-login 6 | session include system-remote-login 7 | -------------------------------------------------------------------------------- /ppp/ip-up.d.dns.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | if [ "$USEPEERDNS" = "1" -a -f /etc/ppp/resolv.conf ]; then 4 | [ -e /etc/resolv.conf ] && mv /etc/resolv.conf /etc/resolv.conf.backup.${IFNAME} 5 | mv /etc/ppp/resolv.conf /etc/resolv.conf 6 | chmod 644 /etc/resolv.conf 7 | fi 8 | -------------------------------------------------------------------------------- /rsync/rsyncd@.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=A file transfer program to keep remote files in sync 3 | After=network.target 4 | 5 | [Service] 6 | ExecStart=-/usr/bin/rsync --daemon 7 | StandardInput=socket 8 | StandardOutput=inherit 9 | StandardError=journal 10 | 11 | -------------------------------------------------------------------------------- /shadow/shadow.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Verify integrity of password and group files 3 | 4 | [Service] 5 | Type=oneshot 6 | ExecStart=/usr/sbin/pwck -r 7 | ExecStart=/usr/sbin/grpck -r 8 | Nice=19 9 | IOSchedulingClass=best-effort 10 | IOSchedulingPriority=7 11 | -------------------------------------------------------------------------------- /inetutils/ftpd.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=FTPD Daemon 3 | After=network.target 4 | 5 | [Service] 6 | Type=forking 7 | PIDFile=/run/ftpd.pid 8 | ExecStart=/usr/sbin/ftpd -D 9 | ExecStopPost=/bin/rm -f /run/ftpd.pid 10 | 11 | [Install] 12 | WantedBy=multi-user.target 13 | -------------------------------------------------------------------------------- /openldap/slapd.default: -------------------------------------------------------------------------------- 1 | # slapd normally serves ldap only on all TCP-ports 389. slapd can also 2 | # service requests on TCP-port 636 (ldaps) and requests via unix 3 | # sockets. 4 | # Example usage: 5 | #SLAPD_SERVICES="ldap://127.0.0.1:389/ ldaps:/// ldapi:///" 6 | SLAPD_OPTIONS="" 7 | -------------------------------------------------------------------------------- /shadow/shadow.install: -------------------------------------------------------------------------------- 1 | post_upgrade() { 2 | grpck -r >/dev/null 2>&1 3 | if [ $? -eq 2 ]; then 4 | printf '%s\n' \ 5 | "==> Warning: /etc/group or /etc/gshadow are inconsistent." \ 6 | " Run 'grpck' to correct this." 7 | fi 8 | return 0 9 | } 10 | 11 | -------------------------------------------------------------------------------- /lvm2/11-dm-initramfs.rules: -------------------------------------------------------------------------------- 1 | # needed with new udev/mkinitcpio and as implemented in dracut: 2 | # 3 | SUBSYSTEM=="block", KERNEL=="dm-[0-9]*", ACTION=="add|change", OPTIONS="db_persist" 4 | -------------------------------------------------------------------------------- /rsync/rsyncd.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=A file transfer program to keep remote files in sync 3 | 4 | [Service] 5 | EnvironmentFile=-/etc/conf.d/rsyncd 6 | ExecStart=/usr/bin/rsync --daemon --no-detach ${RSYNCD_ARGS} 7 | RestartSec=1 8 | 9 | [Install] 10 | WantedBy=multi-user.target 11 | -------------------------------------------------------------------------------- /boost/boost-1.81.0-phoenix-multiple-definitions.patch: -------------------------------------------------------------------------------- 1 | --- a/boost/phoenix/stl.hpp 2 | +++ b/boost/phoenix/stl.hpp 3 | @@ -11,6 +11,5 @@ 4 | 5 | #include 6 | #include 7 | -#include 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /iputils/iputils.install: -------------------------------------------------------------------------------- 1 | post_install() { 2 | setcap cap_net_raw=ep usr/bin/ping 2>/dev/null || chmod +s usr/bin/ping 3 | #setcap cap_net_raw=ep usr/bin/ping6 2>/dev/null || chmod +s usr/bin/ping6 4 | } 5 | 6 | post_upgrade() { 7 | post_install "$1" 8 | } 9 | 10 | # vim:set ts=2 sw=2 et: 11 | -------------------------------------------------------------------------------- /rpcbind/rpcbind.install: -------------------------------------------------------------------------------- 1 | post_install() { 2 | getent group rpc &>/dev/null || groupadd -r -g 32 rpc >/dev/null 3 | getent passwd rpc &>/dev/null || useradd -r -u 32 -g rpc -d /dev/null -s /bin/false -c "Rpcbind Daemon" rpc >/dev/null 4 | } 5 | 6 | post_upgrade() { 7 | post_install 8 | } 9 | 10 | -------------------------------------------------------------------------------- /dhcpcd/dhcpcd.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=dhcpcd on all interfaces 3 | Wants=network.target 4 | Before=network.target 5 | 6 | [Service] 7 | Type=forking 8 | PIDFile=/run/dhcpcd.pid 9 | ExecStart=/sbin/dhcpcd -q -b 10 | ExecStop=/sbin/dhcpcd -x 11 | 12 | [Install] 13 | WantedBy=multi-user.target 14 | -------------------------------------------------------------------------------- /dracut/module-setup.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | depends() { 4 | # Do not depend on any modules - just some root 5 | return 0 6 | } 7 | 8 | # called by dracut 9 | installkernel() { 10 | instmods aufs 11 | } 12 | 13 | install() { 14 | inst_hook pre-pivot 10 "$moddir/aufs-mount.sh" 15 | } 16 | -------------------------------------------------------------------------------- /xinetd/servers: -------------------------------------------------------------------------------- 1 | service servers 2 | { 3 | type = INTERNAL UNLISTED 4 | port = 9099 5 | socket_type = stream 6 | protocol = tcp 7 | wait = no 8 | disable = yes 9 | only_from = 127.0.0.1 10 | } 11 | -------------------------------------------------------------------------------- /xinetd/services: -------------------------------------------------------------------------------- 1 | service services 2 | { 3 | type = INTERNAL UNLISTED 4 | port = 9098 5 | socket_type = stream 6 | protocol = tcp 7 | wait = no 8 | disable = yes 9 | only_from = 127.0.0.1 10 | } 11 | -------------------------------------------------------------------------------- /fakeroot/fakeroot.install: -------------------------------------------------------------------------------- 1 | post_install() { 2 | sbin/ldconfig -r . 3 | } 4 | 5 | post_upgrade() { 6 | if [ "$(vercmp $2 1.14.4-2)" -lt 0 ]; then 7 | sed -i -e '/\/usr\/lib\/libfakeroot/d' etc/ld.so.conf 8 | fi 9 | sbin/ldconfig -r . 10 | } 11 | 12 | pre_remove() { 13 | sbin/ldconfig -r . 14 | } 15 | -------------------------------------------------------------------------------- /git/git-daemon@.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Git Daemon Instance 3 | 4 | [Service] 5 | User=git 6 | # The '-' is to ignore non-zero exit statuses 7 | ExecStart=-/usr/lib/git-core/git-daemon --inetd --export-all --base-path=/srv/git 8 | StandardInput=socket 9 | StandardOutput=inherit 10 | StandardError=journal 11 | -------------------------------------------------------------------------------- /glib2/gio-querymodules.hook: -------------------------------------------------------------------------------- 1 | [Trigger] 2 | Type = Path 3 | Operation = Install 4 | Operation = Upgrade 5 | Operation = Remove 6 | Target = usr/lib/gio/modules/*.so 7 | 8 | [Action] 9 | Description = Updating GIO module cache... 10 | When = PostTransaction 11 | Exec = /usr/bin/gio-querymodules /usr/lib/gio/modules 12 | -------------------------------------------------------------------------------- /openvpn/openvpn@.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=OpenVPN connection to %i 3 | After=network.target 4 | 5 | [Service] 6 | Type=forking 7 | ExecStart=/usr/sbin/openvpn --cd /etc/openvpn --config /etc/openvpn/%i.conf --daemon openvpn@%i --writepid /run/openvpn@%i.pid 8 | 9 | [Install] 10 | WantedBy=multi-user.target 11 | -------------------------------------------------------------------------------- /systemd/KaOS_fallback.conf: -------------------------------------------------------------------------------- 1 | ## This is just an exmaple config file. 2 | ## Please edit the paths and kernel parameters according to your system. 3 | 4 | title KaOS_fallback GNU/Linux, with Linux core repo kernel 5 | sort-key 01 6 | linux /vmlinuz-linux 7 | initrd /initramfs-linux-fallback.img 8 | options root=/dev/sda1 quiet rw 9 | -------------------------------------------------------------------------------- /util-linux/system-services: -------------------------------------------------------------------------------- 1 | #%PAM-1.0 2 | 3 | auth sufficient pam_permit.so 4 | 5 | account include system-auth 6 | 7 | session optional pam_loginuid.so 8 | session required pam_limits.so 9 | session required pam_unix.so 10 | session optional pam_permit.so 11 | session required pam_env.so 12 | -------------------------------------------------------------------------------- /bdf-unifont/unifont.install: -------------------------------------------------------------------------------- 1 | post_install() { 2 | echo -n "Updating font cache... " 3 | fc-cache -f > /dev/null 4 | mkfontscale /usr/share/fonts/misc 5 | mkfontdir /usr/share/fonts/misc 6 | echo "done." 7 | } 8 | 9 | post_upgrade() { 10 | post_install $1 11 | } 12 | 13 | post_remove() { 14 | post_install $1 15 | } 16 | -------------------------------------------------------------------------------- /cronie/pam.d: -------------------------------------------------------------------------------- 1 | auth required pam_unix.so 2 | auth required pam_env.so 3 | 4 | account required pam_access.so 5 | account required pam_unix.so 6 | account required pam_time.so 7 | 8 | session required pam_loginuid.so 9 | session required pam_limits.so 10 | session required pam_unix.so 11 | -------------------------------------------------------------------------------- /systemd/KaOS.conf: -------------------------------------------------------------------------------- 1 | ## This is just an exmaple config file. 2 | ## Please edit the paths and kernel parameters according to your system. 3 | 4 | title KaOS GNU/Linux, with Linux core repo kernel (Type h or ? for a Help menu) 5 | sort-key 01 6 | linux /vmlinuz-linux 7 | initrd /initramfs-linux.img 8 | options root=/dev/sda1 quiet rw 9 | -------------------------------------------------------------------------------- /shared-mime-info/update-mime-database.hook: -------------------------------------------------------------------------------- 1 | [Trigger] 2 | Type = Path 3 | Operation = Install 4 | Operation = Upgrade 5 | Operation = Remove 6 | Target = usr/share/mime/packages/*.xml 7 | 8 | [Action] 9 | Description = Updating the MIME type database... 10 | When = PostTransaction 11 | Exec = /usr/bin/update-mime-database /usr/share/mime 12 | -------------------------------------------------------------------------------- /subversion/svnserve.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Subversion protocol daemon 3 | After=syslog.target network.target 4 | 5 | [Service] 6 | Type=forking 7 | EnvironmentFile=/etc/conf.d/svnserve 8 | ExecStart=/usr/bin/svnserve --daemon --pid-file=/run/svnserve/svnserve.pid $SVNSERVE_ARGS 9 | 10 | [Install] 11 | WantedBy=multi-user.target 12 | -------------------------------------------------------------------------------- /dmraid/dmraid_hook: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | run_hook() { 4 | modprobe -a -q dm-mod dm-mirror >/dev/null 2>&1 5 | msg ":: Activating dmraid arrays..." 6 | # prevent any event monitoring calls with -I 7 | if [ "$quiet" = "y" ]; then 8 | dmraid -ay -I -Z >/dev/null 9 | else 10 | dmraid -ay -I -Z 11 | fi 12 | } 13 | -------------------------------------------------------------------------------- /linux/99-linux.hook: -------------------------------------------------------------------------------- 1 | [Trigger] 2 | Type = File 3 | Operation = Install 4 | Operation = Upgrade 5 | Target = boot/vmlinuz-linux 6 | Target = usr/lib/initcpio/* 7 | 8 | [Action] 9 | Description = Updating linux initcpios 10 | When = PostTransaction 11 | #Exec = /usr/bin/mkinitcpio -p linux 12 | Exec = /usr/share/libalpm/scripts/dracut-install 13 | -------------------------------------------------------------------------------- /shadow/xstrdup.patch: -------------------------------------------------------------------------------- 1 | --- shadow-4.1.2.1/libmisc/xmalloc.c 2008-08-30 21:55:44.000000000 -0500 2 | +++ shadow-4.1.2.1/libmisc/xmalloc.c.new 2008-08-30 21:55:36.000000000 -0500 3 | @@ -61,5 +61,6 @@ 4 | 5 | char *xstrdup (const char *str) 6 | { 7 | + if(str == NULL) return NULL; 8 | return strcpy (xmalloc (strlen (str) + 1), str); 9 | } 10 | -------------------------------------------------------------------------------- /systemd/systemd-tmpfiles.hook: -------------------------------------------------------------------------------- 1 | [Trigger] 2 | Type = Path 3 | Operation = Install 4 | Operation = Upgrade 5 | Target = usr/lib/tmpfiles.d/*.conf 6 | 7 | [Action] 8 | Description = Creating temporary files... 9 | When = PostTransaction 10 | Exec = /bin/sh -c 'while read -r f; do /usr/bin/systemd-tmpfiles --create "/$f"; done' 11 | NeedsTargets 12 | -------------------------------------------------------------------------------- /mkinitcpio/init.diff: -------------------------------------------------------------------------------- 1 | --- init.orig 2013-12-17 21:01:49.456438521 -0500 2 | +++ init 2013-12-17 21:04:36.457467564 -0500 3 | @@ -81,6 +81,6 @@ 4 | 5 | exec env -i \ 6 | "TERM=$TERM" \ 7 | - /usr/bin/switch_root /new_root $init "$@" 8 | + /usr/bin/switch_root /new_root $init "$@" 2&>/dev/null 9 | 10 | # vim: set ft=sh ts=4 sw=4 et: 11 | -------------------------------------------------------------------------------- /texinfo/texinfo-remove.hook: -------------------------------------------------------------------------------- 1 | [Trigger] 2 | Type = Path 3 | Operation = Remove 4 | Target = usr/share/info/* 5 | 6 | [Action] 7 | Description = Removing old entries from the info directory file... 8 | When = PreTransaction 9 | Exec = /bin/sh -c 'while read -r f; do install-info --delete "$f" /usr/share/info/dir 2> /dev/null; done' 10 | NeedsTargets 11 | -------------------------------------------------------------------------------- /xinetd/xinetd.conf: -------------------------------------------------------------------------------- 1 | # 2 | # /etc/xinetd.conf 3 | # 4 | 5 | defaults 6 | { 7 | instances = 60 8 | log_type = SYSLOG authpriv 9 | log_on_success = HOST PID 10 | log_on_failure = HOST 11 | cps = 25 30 12 | } 13 | 14 | includedir /etc/xinetd.d 15 | -------------------------------------------------------------------------------- /texinfo/texinfo-install.hook: -------------------------------------------------------------------------------- 1 | [Trigger] 2 | Type = Path 3 | Operation = Install 4 | Operation = Upgrade 5 | Target = usr/share/info/* 6 | 7 | [Action] 8 | Description = Updating the info directory file... 9 | When = PostTransaction 10 | Exec = /bin/sh -c 'while read -r f; do install-info "$f" /usr/share/info/dir 2> /dev/null; done' 11 | NeedsTargets 12 | -------------------------------------------------------------------------------- /libsasl/libsasl.install: -------------------------------------------------------------------------------- 1 | post_install() { 2 | cat << _EOF 3 | ==> 4 | ==> cyrus-sasl has been split up into several standalone packages. 5 | ==> 6 | ==> - If you use saslauthd, make sure you have cyrus-sasl installed 7 | ==> 8 | ==> - If you use authentication modules other than sasldb, 9 | ==> install cyrus-sasl-plugins 10 | ==> 11 | _EOF 12 | 13 | } 14 | -------------------------------------------------------------------------------- /inetutils/rsh.xinetd: -------------------------------------------------------------------------------- 1 | service shell 2 | { 3 | flags = REUSE 4 | socket_type = stream 5 | wait = no 6 | user = root 7 | server = /usr/sbin/rshd 8 | log_on_failure += USERID 9 | disable = yes 10 | } 11 | -------------------------------------------------------------------------------- /inetutils/rlogin.xinetd: -------------------------------------------------------------------------------- 1 | service login 2 | { 3 | flags = REUSE 4 | socket_type = stream 5 | wait = no 6 | user = root 7 | server = /usr/sbin/rlogind 8 | log_on_failure += USERID 9 | disable = yes 10 | } 11 | -------------------------------------------------------------------------------- /ppp/ip-down: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # This script is run by pppd after the connection has ended. 4 | # 5 | 6 | # Execute all scripts in /etc/ppp/ip-up.d/ 7 | for ipdown in /etc/ppp/ip-down.d/*.sh; do 8 | if [ -x $ipdown ]; then 9 | # Parameters: interface-name tty-device speed local-IP-address remote-IP-address ipparam 10 | $ipdown "$@" 11 | fi 12 | done 13 | -------------------------------------------------------------------------------- /ppp/ip-up: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # This script is run by pppd when there's a successful ppp connection. 4 | # 5 | 6 | # Execute all scripts in /etc/ppp/ip-up.d/ 7 | for ipup in /etc/ppp/ip-up.d/*.sh; do 8 | if [ -x $ipup ]; then 9 | # Parameters: interface-name tty-device speed local-IP-address remote-IP-address ipparam 10 | $ipup "$@" 11 | fi 12 | done 13 | -------------------------------------------------------------------------------- /iproute2/iproutegetfix.patch: -------------------------------------------------------------------------------- 1 | --- ip/iproute.c.orig 2010-08-12 13:50:37.510000024 +0200 2 | +++ ip/iproute.c 2010-08-12 13:51:05.100000024 +0200 3 | @@ -1286,6 +1286,7 @@ 4 | memset(&req, 0, sizeof(req)); 5 | 6 | iproute_reset_filter(); 7 | + filter.cloned = 2; 8 | 9 | req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct rtmsg)); 10 | req.n.nlmsg_flags = NLM_F_REQUEST; 11 | -------------------------------------------------------------------------------- /linux-next/99-linux-next.hook: -------------------------------------------------------------------------------- 1 | [Trigger] 2 | Type = File 3 | Operation = Install 4 | Operation = Upgrade 5 | Target = boot/vmlinuz-linux-next 6 | Target = usr/lib/initcpio/* 7 | 8 | [Action] 9 | Description = Updating linux-next initcpios 10 | When = PostTransaction 11 | # Exec = /usr/bin/mkinitcpio -p linux-next 12 | Exec = /usr/share/libalpm/scripts/dracut-next-install 13 | -------------------------------------------------------------------------------- /btrfs-progs/initcpio-install-btrfs: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | build() { 4 | add_module btrfs 5 | add_binary btrfs 6 | add_binary btrfsck 7 | add_runscript 8 | } 9 | 10 | help() { 11 | cat </dev/null; then 3 | systemd-tmpfiles --create sudo.conf 4 | fi 5 | } 6 | 7 | pre_upgrade() { 8 | # http://www.sudo.ws/repos/sudo/rev/5c38d77a2d0c 9 | if (($(vercmp $2 1.8.10-1) < 0)); then 10 | chmod 0711 var/db/sudo 11 | fi 12 | } 13 | 14 | post_upgrade() { 15 | post_install 16 | } 17 | 18 | 19 | -------------------------------------------------------------------------------- /iptables/ip6tables.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=IPv6 Packet Filtering Framework 3 | 4 | [Service] 5 | Type=oneshot 6 | ExecStart=/usr/sbin/ip6tables-restore /etc/iptables/ip6tables.rules 7 | ExecReload=/usr/sbin/ip6tables-restore /etc/iptables/ip6tables.rules 8 | ExecStop=/usr/lib/systemd/scripts/iptables-flush 6 9 | RemainAfterExit=yes 10 | 11 | [Install] 12 | WantedBy=multi-user.target 13 | -------------------------------------------------------------------------------- /ppp/ipv6-down: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # This script is run by pppd after the connection has ended. 4 | # 5 | 6 | # Execute all scripts in /etc/ppp/ipv6-down.d/ 7 | for ipdown in /etc/ppp/ipv6-down.d/*.sh; do 8 | if [ -x $ipdown ]; then 9 | # Parameters: interface-name tty-device speed local-link-local-address remote-link-local-address ipparam 10 | $ipdown "$@" 11 | fi 12 | done 13 | -------------------------------------------------------------------------------- /dmraid/dmraid.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Assemble FakeRAID arrays 3 | DefaultDependencies=no 4 | Requires=udev-settle.service 5 | After=udev-settle.service 6 | Before=basic.target shutdown.target 7 | Conflicts=shutdown.target 8 | 9 | [Service] 10 | ExecStart=/sbin/dmraid --ignorelocking --activate y 11 | Type=oneshot 12 | RemainAfterExit=true 13 | 14 | [Install] 15 | WantedBy=basic.target 16 | -------------------------------------------------------------------------------- /rsync/rsync.xinetd: -------------------------------------------------------------------------------- 1 | service rsync 2 | { 3 | socket_type = stream 4 | wait = no 5 | user = root 6 | server = /usr/bin/rsync 7 | server_args = --daemon 8 | log_on_success += HOST DURATION 9 | log_on_failure += HOST 10 | disable = yes 11 | } 12 | -------------------------------------------------------------------------------- /shared-mime-info/shared-mime-info.install: -------------------------------------------------------------------------------- 1 | post_remove() { 2 | if [ -d usr/share/mime ]; then 3 | rm -f usr/share/mime/{globs,globs2,icons,treemagic,generic-icons,types,magic,XMLnamespaces,subclasses,aliases,mime.cache} 4 | rm -rf usr/share/mime/{application,audio,image,inode,message,model,multipart,text,video,x-content,x-epoc} 5 | rmdir --ignore-fail-on-non-empty usr/share/mime 6 | fi 7 | } 8 | -------------------------------------------------------------------------------- /systemd/initcpio-install-timestamp: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | build() { 4 | add_binary /usr/lib/systemd/systemd-timestamp /usr/bin/systemd-timestamp 5 | } 6 | 7 | help() { 8 | cat < /dev/null 7 | } 8 | 9 | post_upgrade() { 10 | post_install $1 11 | } 12 | 13 | pre_remove() { 14 | [ -x usr/bin/install-info ] || return 0 15 | install-info --delete $infodir/$file $infodir/dir 2> /dev/null 16 | } 17 | -------------------------------------------------------------------------------- /bison/bison.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | file=bison.info.gz 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | install-info $infodir/$file $infodir/dir 2> /dev/null 7 | } 8 | 9 | post_upgrade() { 10 | post_install $1 11 | } 12 | 13 | pre_remove() { 14 | [ -x usr/bin/install-info ] || return 0 15 | install-info --delete $infodir/$file $infodir/dir 2> /dev/null 16 | } 17 | -------------------------------------------------------------------------------- /filesystem/shadow: -------------------------------------------------------------------------------- 1 | root::14871:::::: 2 | bin:x:14871:::::: 3 | daemon:x:14871:::::: 4 | mail:x:14871:::::: 5 | ftp:x:14871:::::: 6 | http:x:14871:::::: 7 | uuidd:x:14871:::::: 8 | dbus:x:14871:::::: 9 | nobody:x:14871:::::: 10 | systemd-journal-gateway:x:14871:::::: 11 | systemd-timesync:x:14871:::::: 12 | systemd-network:x:14871:::::: 13 | systemd-bus-proxy:x:14871:::::: 14 | systemd-resolve:x:14871:::::: 15 | -------------------------------------------------------------------------------- /openssl/CA.diff: -------------------------------------------------------------------------------- 1 | --- a/apps/CA.pl.in 2023-02-07 14:43:33.000000000 +0100 2 | +++ b/apps/CA.pl1.in 2023-03-25 15:19:52.618830900 +0100 3 | @@ -29,7 +29,7 @@ 4 | my $PKCS12 = "$openssl pkcs12"; 5 | 6 | # Default values for various configuration settings. 7 | -my $CATOP = "./demoCA"; 8 | +my $CATOP = "/etc/ssl"; 9 | my $CAKEY = "cakey.pem"; 10 | my $CAREQ = "careq.pem"; 11 | my $CACERT = "cacert.pem"; 12 | -------------------------------------------------------------------------------- /linux-next/dracut-next-install: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | KERNEL_NAME=-next 4 | KERNEL_VERSION=5.15.5-1-next 5 | 6 | if [ -f /usr/bin/dracut ]; then 7 | 8 | echo ":: Building initramfs for linux${KERNEL_NAME}-${KERNEL_VERSION}" 9 | dracut -f --no-hostonly-cmdline "/boot/initramfs-linux${KERNEL_NAME}.img" --kver ${KERNEL_VERSION} 10 | 11 | else 12 | 13 | /usr/bin/mkinitcpio -p linux-next 14 | 15 | fi 16 | -------------------------------------------------------------------------------- /gzip/gzip.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | 3 | post_install() { 4 | [ -x usr/bin/install-info ] || return 0 5 | usr/bin/install-info $infodir/gzip.info.gz $infodir/dir 2> /dev/null 6 | } 7 | 8 | post_upgrade() { 9 | post_install $1 10 | } 11 | 12 | pre_remove() { 13 | [ -x usr/bin/install-info ] || return 0 14 | usr/bin/install-info --delete $infodir/gzip.info.gz $infodir/dir 2> /dev/null 15 | } 16 | 17 | -------------------------------------------------------------------------------- /util-linux/pam-su: -------------------------------------------------------------------------------- 1 | #%PAM-1.0 2 | auth sufficient pam_rootok.so 3 | # Uncomment the following line to implicitly trust users in the "wheel" group. 4 | #auth sufficient pam_wheel.so trust use_uid 5 | # Uncomment the following line to require a user to be in the "wheel" group. 6 | #auth required pam_wheel.so use_uid 7 | auth required pam_unix.so 8 | account required pam_unix.so 9 | session required pam_unix.so 10 | -------------------------------------------------------------------------------- /dnsutils/bind.so_bsdcompat.diff: -------------------------------------------------------------------------------- 1 | --- ./lib/isc/unix/socket.c.orig 2005-11-03 17:08:42.000000000 -0600 2 | +++ ./lib/isc/unix/socket.c 2006-02-18 13:09:15.000000000 -0600 3 | @@ -245,6 +245,8 @@ 4 | 5 | #define SOCK_DEAD(s) ((s)->references == 0) 6 | 7 | +#undef SO_BSDCOMPAT 8 | + 9 | static void 10 | manager_log(isc_socketmgr_t *sockmgr, 11 | isc_logcategory_t *category, isc_logmodule_t *module, int level, 12 | -------------------------------------------------------------------------------- /gcc/gcc-fortran.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | file="gfortran.info" 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | install-info $infodir/$file.gz $infodir/dir 2> /dev/null 7 | } 8 | 9 | post_upgrade() { 10 | post_install $1 11 | } 12 | 13 | pre_remove() { 14 | [ -x usr/bin/install-info ] || return 0 15 | install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null 16 | } 17 | -------------------------------------------------------------------------------- /rp-pppoe/rp-pppoe.install: -------------------------------------------------------------------------------- 1 | #arg 1: the new package version 2 | post_install() { 3 | echo ">>> The kernel-mode plugin has a new place." 4 | echo ">>> It's now located under /usr/lib/rp-pppoe/rp-pppoe.so" 5 | echo ">>> Change LINUX_PLUGIN to the new path in your /etc/ppp/pppoe.conf" 6 | } 7 | 8 | # arg 1: the new package version 9 | # arg 2: the old package version 10 | post_upgrade() { 11 | post_install $1 12 | } 13 | -------------------------------------------------------------------------------- /filesystem/nsswitch.conf: -------------------------------------------------------------------------------- 1 | # Begin /etc/nsswitch.conf 2 | 3 | passwd: files systemd 4 | group: files systemd 5 | shadow: files systemd 6 | gshadow: files systemd 7 | 8 | publickey: files 9 | 10 | hosts: mymachines resolve [!UNAVAIL=return] files dns myhostname 11 | networks: files 12 | 13 | protocols: files 14 | services: files 15 | ethers: files 16 | rpc: files 17 | 18 | netgroup: files 19 | 20 | # End /etc/nsswitch.conf 21 | -------------------------------------------------------------------------------- /xinetd/CVE-2013-4342.patch: -------------------------------------------------------------------------------- 1 | diff --git a/xinetd/builtins.c b/xinetd/builtins.c 2 | index e61502f..a414cf3 100644 3 | --- a/xinetd/builtins.c 4 | +++ b/xinetd/builtins.c 5 | @@ -695,7 +695,7 @@ static void tcpmux_handler( const struct server *serp ) 6 | if( SC_IS_INTERNAL( scp ) ) { 7 | SC_INTERNAL(scp, nserp); 8 | } else { 9 | - exec_server(nserp); 10 | + child_process(nserp); 11 | } 12 | } 13 | 14 | -------------------------------------------------------------------------------- /zfs-kmod/zfs-kmod.install: -------------------------------------------------------------------------------- 1 | post_install() { 2 | EXTRAMODULES='extramodules-6.11' 3 | depmod -a $(cat /lib/modules/$EXTRAMODULES/version) 4 | } 5 | 6 | post_upgrade() { 7 | EXTRAMODULES='extramodules-6.11' 8 | depmod -a $(cat /lib/modules/$EXTRAMODULES/version) 9 | } 10 | 11 | post_remove() { 12 | EXTRAMODULES='extramodules-6.11' 13 | depmod -a $(cat /lib/modules/$EXTRAMODULES/version) 14 | 15 | } 16 | -------------------------------------------------------------------------------- /bc/bc-1.06-void.patch: -------------------------------------------------------------------------------- 1 | http://www.pixelbeat.org/programming/oss_bug_flow.html 2 | https://bugs.gentoo.org/349339 3 | 4 | --- bc/storage.c 5 | +++ bc/storage.c 6 | @@ -99,6 +99,7 @@ 7 | { 8 | f = &functions[indx]; 9 | f->f_defined = FALSE; 10 | + f->f_void = FALSE; 11 | f->f_body = (char *) bc_malloc (BC_START_SIZE); 12 | f->f_body_size = BC_START_SIZE; 13 | f->f_code_size = 0; 14 | 15 | -------------------------------------------------------------------------------- /cleanrepo/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=cleanrepo 3 | pkgver=2 4 | pkgrel=3 5 | pkgdesc="Script to clean packages that do not belong to the current repository database" 6 | url="https://kaosx.us" 7 | license=('GPL2') 8 | arch=('x86_64') 9 | depends=('python3') 10 | source=('cleanrepo') 11 | md5sums=('46abb531446191a30c0d9b2cb8048a38') 12 | 13 | package() { 14 | 15 | install -D -m755 cleanrepo ${pkgdir}/usr/bin/${pkgname} 16 | } 17 | 18 | -------------------------------------------------------------------------------- /iptables/iptables-flush: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Usage: iptables-flush [6] 4 | # 5 | 6 | iptables=ip$1tables 7 | if ! type -p "$iptables"; then 8 | echo "error: invalid argument" 9 | exit 1 10 | fi 11 | 12 | while read -r table; do 13 | tables+=("/var/lib/$iptables/empty-$table.rules") 14 | done <"/proc/net/ip$1_tables_names" 15 | 16 | if (( ${#tables[*]} )); then 17 | cat "${tables[@]}" | "$iptables-restore" 18 | fi 19 | -------------------------------------------------------------------------------- /iptables/simple_firewall.rules: -------------------------------------------------------------------------------- 1 | *filter 2 | :INPUT DROP [0:0] 3 | :FORWARD DROP [0:0] 4 | :OUTPUT ACCEPT [0:0] 5 | -A INPUT -p icmp -j ACCEPT 6 | -A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT 7 | -A INPUT -i lo -j ACCEPT 8 | -A INPUT -p tcp -j REJECT --reject-with tcp-reset 9 | -A INPUT -p udp -j REJECT --reject-with icmp-port-unreachable 10 | -A INPUT -j REJECT --reject-with icmp-proto-unreachable 11 | COMMIT 12 | -------------------------------------------------------------------------------- /mkinitcpio-nfs-utils/nfsmount.patch: -------------------------------------------------------------------------------- 1 | --- a/nfsmount/mount.c 2012-11-10 20:16:31.894540497 -0500 2 | +++ b/nfsmount/mount.c 2012-11-10 20:16:39.957369011 -0500 3 | @@ -358,9 +358,9 @@ 4 | bail: 5 | if (mounted) { 6 | if (data->flags & NFS_MOUNT_VER3) { 7 | - umount_v3(path, clnt); 8 | + umount_v3(rem_path, clnt); 9 | } else { 10 | - umount_v2(path, clnt); 11 | + umount_v2(rem_path, clnt); 12 | } 13 | } 14 | 15 | -------------------------------------------------------------------------------- /mdadm/disable-werror.patch: -------------------------------------------------------------------------------- 1 | --- Makefile.old 2011-06-17 09:38:03.269238332 +0200 2 | +++ Makefile 2011-06-17 09:38:14.122398837 +0200 3 | @@ -42,7 +42,7 @@ 4 | 5 | CC = $(CROSS_COMPILE)gcc 6 | CXFLAGS ?= -ggdb 7 | -CWFLAGS = -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter 8 | +CWFLAGS = -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter 9 | ifdef WARN_UNUSED 10 | CWFLAGS += -Wp,-D_FORTIFY_SOURCE=2 -O3 11 | endif 12 | -------------------------------------------------------------------------------- /iasl/iasl.install: -------------------------------------------------------------------------------- 1 | # arg 1: the new package version 2 | post_install() { 3 | cat << EOM 4 | 5 | ==> iasl post install message: 6 | ==> In order to use this software you have to agree to Intel's license located in 7 | ==> /usr/share/licenses/iasl/LICENSE otherwise please remove this package. 8 | 9 | EOM 10 | } 11 | 12 | # arg 1: the new package version 13 | # arg 2: the old package version 14 | post_upgrade() { 15 | post_install $1 16 | } 17 | 18 | -------------------------------------------------------------------------------- /linux/linux.preset: -------------------------------------------------------------------------------- 1 | # mkinitcpio preset file for the 'linux' package 2 | 3 | ALL_config="/etc/mkinitcpio.conf" 4 | ALL_kver="/boot/vmlinuz-linux" 5 | 6 | PRESETS=('default' 'fallback') 7 | 8 | #default_config="/etc/mkinitcpio.conf" 9 | default_image="/boot/initramfs-linux.img" 10 | #default_options="" 11 | 12 | #fallback_config="/etc/mkinitcpio.conf" 13 | fallback_image="/boot/initramfs-linux-fallback.img" 14 | fallback_options="-S autodetect" 15 | -------------------------------------------------------------------------------- /perl/perlbin.csh: -------------------------------------------------------------------------------- 1 | # Set path to perl scriptdirs if they exist 2 | # Added /usr/bin/*_perl dirs for scripts 3 | 4 | [ -d /usr/bin/site_perl ] && setenv PATH ${PATH}:/usr/bin/site_perl 5 | 6 | [ -d /usr/bin/vendor_perl ] && setenv PATH ${PATH}:/usr/bin/vendor_perl 7 | 8 | [ -d /usr/bin/core_perl ] && setenv PATH ${PATH}:/usr/bin/core_perl 9 | 10 | # If you have modules in non-standard directories you can add them here. 11 | #export PERLLIB=dir1:dir2 12 | -------------------------------------------------------------------------------- /zfs-kmod-next/zfs-kmod-next.install: -------------------------------------------------------------------------------- 1 | post_install() { 2 | EXTRAMODULES='extramodules-6.11-next' 3 | depmod -a $(cat /lib/modules/$EXTRAMODULES/version) 4 | } 5 | 6 | post_upgrade() { 7 | EXTRAMODULES='extramodules-6.11-next' 8 | depmod -a $(cat /lib/modules/$EXTRAMODULES/version) 9 | } 10 | 11 | post_remove() { 12 | EXTRAMODULES='extramodules-6.11-next' 13 | depmod -a $(cat /lib/modules/$EXTRAMODULES/version) 14 | 15 | } 16 | -------------------------------------------------------------------------------- /libsasl/cyrus-sasl-2.1.26-size_t.patch: -------------------------------------------------------------------------------- 1 | --- cyrus-sasl-2.1.26/include/sasl.h 2012-10-12 09:05:48.000000000 -0500 2 | +++ cyrus-sasl-2.1.26/include/sasl.h 2013-01-31 13:21:04.007739327 -0600 3 | @@ -223,6 +223,8 @@ extern "C" { 4 | * they must be called before all other SASL functions: 5 | */ 6 | 7 | +#include 8 | + 9 | /* memory allocation functions which may optionally be replaced: 10 | */ 11 | typedef void *sasl_malloc_t(size_t); 12 | -------------------------------------------------------------------------------- /linux-atm/linux-atm-2.5.0-glibc28.patch: -------------------------------------------------------------------------------- 1 | diff -up linux-atm-2.5.0/src/led/main.c.path_max linux-atm-2.5.0/src/led/main.c 2 | --- linux-atm-2.5.0/src/led/main.c.path_max 2008-05-19 02:47:40.000000000 +0900 3 | +++ linux-atm-2.5.0/src/led/main.c 2008-05-19 02:47:52.000000000 +0900 4 | @@ -41,6 +41,7 @@ 5 | #include 6 | #include 7 | #include 8 | +#include 9 | 10 | #include 11 | #include 12 | -------------------------------------------------------------------------------- /perl/perlbin.sh: -------------------------------------------------------------------------------- 1 | # Set path to perl scriptdirs if they exist 2 | # Added /usr/bin/*_perl dirs for scripts 3 | 4 | [ -d /usr/bin/site_perl ] && PATH=$PATH:/usr/bin/site_perl 5 | 6 | [ -d /usr/bin/vendor_perl ] && PATH=$PATH:/usr/bin/vendor_perl 7 | 8 | [ -d /usr/bin/core_perl ] && PATH=$PATH:/usr/bin/core_perl 9 | 10 | export PATH 11 | 12 | # If you have modules in non-standard directories you can add them here. 13 | #export PERLLIB=dir1:dir2 14 | 15 | -------------------------------------------------------------------------------- /pacman/pacman.install: -------------------------------------------------------------------------------- 1 | # Some colored makepkg-like functions 2 | #!/bin/bash 3 | # tputcolors 4 | 5 | post_upgrade() { 6 | echo -e '\e[1;34m WARNING! If you are updating pacman from any version prior:' 7 | echo -e '\e[1;34m ==> pacman 5.0.0' 8 | echo -e '\e[1;34m Then the pacman database format has changed' 9 | echo -e '\e[1;34m Make sure to update the database with:' 10 | echo -e '\e[1;34m ==> sudo pacman-db-upgrade \e[0m' 11 | } 12 | 13 | -------------------------------------------------------------------------------- /vi/increase-tube.patch: -------------------------------------------------------------------------------- 1 | --- config.h 2005-02-19 05:25:39.000000000 -0500 2 | +++ config.h.fixed 2010-01-04 22:02:01.000000000 -0500 3 | @@ -95,8 +95,8 @@ 4 | #define TUBESIZE 6000 /* Maximum screen size for visual */ 5 | #else /* VMUNIX */ 6 | #define TUBELINES 100 7 | -#define TUBECOLS 160 8 | -#define TUBESIZE 16000 9 | +#define TUBECOLS 320 10 | +#define TUBESIZE 32000 11 | #endif /* VMUNIX */ 12 | 13 | /* 14 | -------------------------------------------------------------------------------- /linux-next/linux-next.preset: -------------------------------------------------------------------------------- 1 | # mkinitcpio preset file for the 'linux-next' package 2 | 3 | ALL_config="/etc/mkinitcpio.conf" 4 | ALL_kver="/boot/vmlinuz-linux-next" 5 | 6 | PRESETS=('default') 7 | 8 | #default_config="/etc/mkinitcpio.conf" 9 | default_image="/boot/initramfs-linux-next.img" 10 | #default_options="" 11 | 12 | #fallback_config="/etc/mkinitcpio.conf" 13 | #fallback_image="/boot/initramfs-linux-next-fallback.img" 14 | #fallback_options="-S autodetect" 15 | -------------------------------------------------------------------------------- /kbd/kbd2.2.0.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/libkeymap/dump.c b/src/libkeymap/dump.c 2 | index 83ac351..a7ba1e5 100644 3 | --- a/src/libkeymap/dump.c 4 | +++ b/src/libkeymap/dump.c 5 | @@ -72,7 +72,7 @@ int lk_dump_bkeymap(struct lk_ctx *ctx, FILE *fd) 6 | continue; 7 | 8 | for (j = 0; j < NR_KEYS / 2; j++) { 9 | - int v = lk_get_key(ctx, i, j); 10 | + short v = (short)lk_get_key(ctx, i, j); 11 | 12 | if (fwrite(&v, sizeof(v), 1, fd) != 1) 13 | goto fail; 14 | -------------------------------------------------------------------------------- /openssh/sshd.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=OpenSSH Daemon 3 | Wants=sshdgenkeys.service 4 | After=sshdgenkeys.service 5 | 6 | [Service] 7 | ExecStart=/usr/sbin/sshd -D 8 | ExecReload=/bin/kill -HUP $MAINPID 9 | KillMode=process 10 | Restart=always 11 | 12 | [Install] 13 | WantedBy=multi-user.target 14 | 15 | # This service file runs an SSH daemon that forks for each incoming connection. 16 | # If you prefer to spawn on-demand daemons, use sshd.socket and sshd@.service. 17 | -------------------------------------------------------------------------------- /gcc/gcc-libs.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | filelist=(libgomp.info libquadmath.info) 3 | 4 | post_upgrade() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for file in ${filelist[@]}; do 7 | install-info $infodir/$file.gz $infodir/dir 2> /dev/null 8 | done 9 | } 10 | 11 | pre_remove() { 12 | [ -x usr/bin/install-info ] || return 0 13 | for file in ${filelist[@]}; do 14 | install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null 15 | done 16 | } 17 | -------------------------------------------------------------------------------- /help2man/help2man-1.37.1-respect-LDFLAGS.patch: -------------------------------------------------------------------------------- 1 | --- a/Makefile.in 2009-11-14 07:21:34.000000000 +0100 2 | +++ b/Makefile.in 2010-02-10 12:23:35.000000000 +0100 3 | @@ -103,7 +103,7 @@ 4 | 5 | preload: $(preload).so 6 | $(preload).so: $(srcdir)/$(preload).c 7 | - $(CC) $(CFLAGS) -o $@ -fPIC -shared $? $(LIBS) 8 | + $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ -fPIC -shared $? $(LIBS) 9 | 10 | man: $(target).1 11 | $(target).1: $(srcdir)/$(target).PL $(srcdir)/$(target).h2m 12 | -------------------------------------------------------------------------------- /rpcbind/rpcbind-sunrpc.patch: -------------------------------------------------------------------------------- 1 | --- rpcbind-0.1.7/src/rpcbind.c.orig 2008-11-19 14:17:34.000000000 +0100 2 | +++ rpcbind-0.1.7/src/rpcbind.c 2010-01-07 13:03:37.416632894 +0100 3 | @@ -114,7 +114,7 @@ 4 | char *udp_uaddr; /* Universal UDP address */ 5 | char *tcp_uaddr; /* Universal TCP address */ 6 | #endif 7 | -static char servname[] = "rpcbind"; 8 | +static char servname[] = "sunrpc"; 9 | static char superuser[] = "superuser"; 10 | 11 | int main __P((int, char *[])); 12 | 13 | -------------------------------------------------------------------------------- /bc/bc-1.06-info-dir-entry.patch: -------------------------------------------------------------------------------- 1 | --- bc-1.06/doc/bc.info.info-dir-entry 2000-10-03 20:36:31.000000000 +0200 2 | +++ bc-1.06/doc/bc.info 2003-01-06 14:07:40.000000000 +0100 3 | @@ -1,5 +1,8 @@ 4 | This is bc.info, produced by makeinfo version 4.0 from bc.texi. 5 | 6 | +START-INFO-DIR-ENTRY 7 | +* bc: (bc). Arbritrary precision calculator language. 8 | +END-INFO-DIR-ENTRY 9 |  10 | File: bc.info, Node: Top, Next: Introduction, Prev: (dir), Up: (dir) 11 | 12 | -------------------------------------------------------------------------------- /vpnc/vpnc.conf: -------------------------------------------------------------------------------- 1 | # example vpnc configuration file 2 | # see vpnc --long-help for details 3 | 4 | #Interface name tun0 5 | #IKE DH Group dh2 6 | #Perfect Forward Secrecy nopfs 7 | 8 | # You may replace this script with something better 9 | #Script /etc/vpnc/vpnc-script 10 | # Enable this option for NAT traversal 11 | #UDP Encapsulate 12 | 13 | #IPSec gateway my.gateway.com 14 | #IPSec ID someid 15 | #IPSec secret somesecret 16 | #Xauth username myusername 17 | #Xauth password mypassword 18 | -------------------------------------------------------------------------------- /git/git.install: -------------------------------------------------------------------------------- 1 | post_install() { 2 | if ! getent group git >/dev/null; then 3 | groupadd --system git 4 | fi 5 | if ! getent passwd git >/dev/null; then 6 | useradd --system -c 'git daemon user' -g git -d / -s /bin/bash git 7 | fi 8 | } 9 | 10 | post_upgrade() { 11 | post_install $1 12 | } 13 | 14 | post_remove() { 15 | if getent passwd git >/dev/null; then 16 | userdel git 17 | fi 18 | if getent group git >/dev/null; then 19 | groupdel git 20 | fi 21 | } 22 | -------------------------------------------------------------------------------- /bc/build-fix.patch: -------------------------------------------------------------------------------- 1 | diff -wbBur bc-1.06/bc/scan.l bc-1.06.my/bc/scan.l 2 | --- bc-1.06/bc/scan.l 2000-09-13 22:25:47 +0400 3 | +++ bc-1.06.my/bc/scan.l 2006-12-25 12:39:34 +0300 4 | @@ -143,7 +143,9 @@ 5 | 6 | /* Definitions for readline access. */ 7 | extern FILE *rl_instream; 8 | +#if 0 9 | _PROTOTYPE(char *readline, (char *)); 10 | +#endif 11 | 12 | /* rl_input puts upto MAX characters into BUF with the number put in 13 | BUF placed in *RESULT. If the yy input file is the same as 14 | -------------------------------------------------------------------------------- /nfs-utils/exports: -------------------------------------------------------------------------------- 1 | # /etc/exports - exports(5) - directories exported to NFS clients 2 | # 3 | # Example for NFSv2 and NFSv3: 4 | # /srv/home hostname1(rw,sync) hostname2(ro,sync) 5 | # Example for NFSv4: 6 | # /srv/nfs4 hostname1(rw,sync,fsid=0) 7 | # /srv/nfs4/home hostname1(rw,sync,nohide) 8 | # Using Kerberos and integrity checking: 9 | # /srv/nfs4 *(rw,sync,sec=krb5i,fsid=0) 10 | # /srv/nfs4/home *(rw,sync,sec=krb5i,nohide) 11 | # 12 | # Use `exportfs -arv` to reload. 13 | -------------------------------------------------------------------------------- /syslog-ng/syslog-ng.logrotate: -------------------------------------------------------------------------------- 1 | /var/log/messages.log /var/log/auth.log /var/log/mail.log /var/log/kernel.log /var/log/errors.log /var/log/daemon.log /var/log/user.log /var/log/iptables.log /var/log/everything.log /var/log/syslog.log /var/log/acpid.log /var/log/crond.log /var/log/lpr.log /var/log/uucp.log /var/log/news.log /var/log/ppp.log /var/log/debug.log { 2 | missingok 3 | sharedscripts 4 | postrotate 5 | /bin/kill -HUP $(cat /run/syslog-ng.pid 2>/dev/null) 2>/dev/null || true 6 | endscript 7 | } 8 | -------------------------------------------------------------------------------- /linux/dracut-install: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | KERNEL_VERSION=5.19.10-1 4 | 5 | if [ -f /usr/bin/dracut ]; then 6 | 7 | echo ":: Building initramfs for linux-${KERNEL_VERSION}" 8 | dracut -f --no-hostonly-cmdline "/boot/initramfs-linux.img" --kver ${KERNEL_VERSION} 9 | echo ":: Building initramfs for linux-fallback" 10 | dracut -f --no-hostonly --no-hostonly-cmdline "/boot/initramfs-linux-fallback.img" --kver ${KERNEL_VERSION} 11 | 12 | else 13 | 14 | /usr/bin/mkinitcpio -p linux 15 | 16 | fi 17 | -------------------------------------------------------------------------------- /nfs-utils/nfs-server.conf: -------------------------------------------------------------------------------- 1 | # Parameters to be passed to nfs systemd server services 2 | # 3 | 4 | # Options to pass to rpc.nfsd. 5 | # See rpc.nfsd(8) for more details. 6 | NFSD_OPTS="" 7 | 8 | # Options for rpc.mountd. 9 | # If you have a port-based firewall, you might want to set up 10 | # a fixed port here using the --port option. 11 | # See rpc.mountd(8) for more details. 12 | MOUNTD_OPTS="" 13 | 14 | # Options to pass to rpc.svcgssd. 15 | # See rpc.svcgssd(8) for more details. 16 | SVCGSSD_OPTS="" 17 | -------------------------------------------------------------------------------- /openvpn/systemd.patch: -------------------------------------------------------------------------------- 1 | --- src/openvpn/console.c.orig 2013-01-30 09:42:57.480257300 +0100 2 | +++ src/openvpn/console.c 2013-01-30 09:43:07.446179811 +0100 3 | @@ -162,7 +162,7 @@ get_console_input_systemd (const char *p 4 | struct argv argv; 5 | 6 | argv_init (&argv); 7 | - argv_printf (&argv, "/bin/systemd-ask-password"); 8 | + argv_printf (&argv, "/usr/bin/systemd-ask-password"); 9 | argv_printf_cat (&argv, "%s", prompt); 10 | 11 | if ((std_out = openvpn_popen (&argv, NULL)) < 0) { 12 | -------------------------------------------------------------------------------- /readline/readline.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | filelist=(history.info readline.info rluserman.info) 3 | 4 | post_upgrade() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for file in ${filelist[@]}; do 7 | install-info $infodir/$file.gz $infodir/dir 2> /dev/null 8 | done 9 | } 10 | 11 | pre_remove() { 12 | [ -x usr/bin/install-info ] || return 0 13 | for file in ${filelist[@]}; do 14 | install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null 15 | done 16 | } 17 | 18 | -------------------------------------------------------------------------------- /wget/wget.install: -------------------------------------------------------------------------------- 1 | infodir=/usr/share/info 2 | filelist=(wget.info) 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for file in ${filelist[@]}; do 7 | install-info $infodir/$file $infodir/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for file in ${filelist[@]}; do 18 | install-info --delete $infodir/$file $infodir/dir 2> /dev/null 19 | done 20 | } 21 | -------------------------------------------------------------------------------- /binutils/binutils.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | filelist=(as.info bfd.info binutils.info gprof.info ld.info) 3 | 4 | post_upgrade() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for file in ${filelist[@]}; do 7 | install-info $infodir/$file.gz $infodir/dir 2> /dev/null 8 | done 9 | } 10 | 11 | pre_remove() { 12 | [ -x usr/bin/install-info ] || return 0 13 | for file in ${filelist[@]}; do 14 | install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null 15 | done 16 | } 17 | 18 | -------------------------------------------------------------------------------- /subversion/subversion.rpath.fix.patch: -------------------------------------------------------------------------------- 1 | --- Makefile.in.orig 2009-02-16 14:10:48.000000000 -0200 2 | +++ Makefile.in 2009-06-04 00:56:29.000000000 -0300 3 | @@ -678,6 +678,7 @@ 4 | 5 | $(SWIG_PL_DIR)/native/Makefile: $(SWIG_PL_DIR)/native/Makefile.PL 6 | cd $(SWIG_PL_DIR)/native; $(PERL) Makefile.PL 7 | + cd $(SWIG_PL_DIR)/native; sed -i 's|LD_RUN_PATH|DIE_RPATH_DIE|g' Makefile{,.{client,delta,fs,ra,repos,wc}} 8 | 9 | swig-pl_DEPS = autogen-swig-pl libsvn_swig_perl \ 10 | $(SWIG_PL_DIR)/native/Makefile 11 | -------------------------------------------------------------------------------- /bc/bc.install: -------------------------------------------------------------------------------- 1 | infodir=/usr/share/info 2 | filelist=(bc.info.gz dc.info.gz) 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for file in ${filelist[@]}; do 7 | install-info $infodir/$file $infodir/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for file in ${filelist[@]}; do 18 | install-info --delete $infodir/$file $infodir/dir 2> /dev/null 19 | done 20 | } 21 | -------------------------------------------------------------------------------- /gcc/gcc-go.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | filelist=(gccgo.info) 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for file in ${filelist[@]}; do 7 | install-info $infodir/$file.gz $infodir/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for file in ${filelist[@]}; do 18 | install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null 19 | done 20 | } 21 | -------------------------------------------------------------------------------- /isl3890-firmware/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=isl3890-firmware 3 | pkgver=2.13.25.0 4 | pkgrel=9 5 | pkgdesc="Firmware for wireless card 3Com 3CRWE154G72" 6 | arch=('x86_64') 7 | url="https://daemonizer.de/prism54/prism54-fw/" 8 | license=('GPL') 9 | source=("https://daemonizer.de/prism54/prism54-fw/fw-softmac/${pkgver}.arm") 10 | md5sums=('35a3974a67986be313b2d1640cde458e') 11 | 12 | package() { 13 | mkdir -p ${pkgdir}/usr/lib/firmware/isl3890/ 14 | 15 | install -m644 * ${pkgdir}/usr/lib/firmware/isl3890/isl3890 16 | } 17 | -------------------------------------------------------------------------------- /mpfr/mpfr.install: -------------------------------------------------------------------------------- 1 | info_dir=usr/share/info 2 | info_files=(mpfr.info) 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for f in ${info_files[@]}; do 7 | install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for f in ${info_files[@]}; do 18 | install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null 19 | done 20 | } 21 | -------------------------------------------------------------------------------- /cpio/cpio.install: -------------------------------------------------------------------------------- 1 | infodir=/usr/share/info 2 | filelist=(cpio.info) 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for file in ${filelist[@]}; do 7 | usr/bin/install-info $infodir/$file $infodir/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for file in ${filelist[@]}; do 18 | usr/bin/install-info --delete $infodir/$file $infodir/dir 2> /dev/null 19 | done 20 | } 21 | 22 | -------------------------------------------------------------------------------- /inetutils/inetutils.install: -------------------------------------------------------------------------------- 1 | infodir=/usr/share/info 2 | filelist=(inetutils.info.gz) 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for file in ${filelist[@]}; do 7 | install-info $infodir/$file $infodir/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for file in ${filelist[@]}; do 18 | install-info --delete $infodir/$file $infodir/dir 2> /dev/null 19 | done 20 | } 21 | -------------------------------------------------------------------------------- /pacman-mirrorlist/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=pacman-mirrorlist 3 | pkgver=20240602 4 | pkgrel=1 5 | pkgdesc="KaOS mirror list for use by pacman" 6 | arch=('x86_64') 7 | url="https://www.archlinux.org/pacman/" 8 | license=('GPL') 9 | depends=('mirror-check') 10 | groups=('base') 11 | backup=(etc/pacman.d/mirrorlist) 12 | source=('mirrorlist') 13 | md5sums=('c312afe5abdbb63a3c02f976270e9e96') 14 | 15 | package() { 16 | mkdir -p ${pkgdir}/etc/pacman.d 17 | 18 | install -m644 ${srcdir}/mirrorlist ${pkgdir}/etc/pacman.d/ 19 | } 20 | 21 | -------------------------------------------------------------------------------- /bash/bash.install: -------------------------------------------------------------------------------- 1 | info_dir=usr/share/info 2 | info_files=(bash.info) 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for f in ${info_files[@]}; do 7 | usr/bin/install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for f in ${info_files[@]}; do 18 | usr/bin/install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null 19 | done 20 | } 21 | -------------------------------------------------------------------------------- /linux/lockdep-debug.patch: -------------------------------------------------------------------------------- 1 | SPDX-License-Identifier: GPL-2.0 2 | aufs6.11.2 lockdep patch 3 | 4 | diff --git a/include/linux/lockdep_types.h b/include/linux/lockdep_types.h 5 | index 9f361d3ab9d9..57efd6ffe7a4 100644 6 | --- a/include/linux/lockdep_types.h 7 | +++ b/include/linux/lockdep_types.h 8 | @@ -12,7 +12,7 @@ 9 | 10 | #include 11 | 12 | -#define MAX_LOCKDEP_SUBCLASSES 8UL 13 | +#define MAX_LOCKDEP_SUBCLASSES (8UL + 4) 14 | 15 | enum lockdep_wait_type { 16 | LD_WAIT_INV = 0, /* not checked, catch all */ 17 | -------------------------------------------------------------------------------- /systemd/kvm.patch: -------------------------------------------------------------------------------- 1 | diff --git a/rules/50-udev-default.rules.in b/rules/50-udev-default.rules.in 2 | index 898148c..aefa158 100644 3 | --- a/rules/50-udev-default.rules.in 4 | +++ b/rules/50-udev-default.rules.in 5 | @@ -75,8 +75,6 @@ KERNEL=="tun", MODE="0666", OPTIONS+="static_node=net/tun" 6 | 7 | KERNEL=="fuse", MODE="0666", OPTIONS+="static_node=fuse" 8 | 9 | -KERNEL=="kvm", GROUP="kvm", MODE="@DEV_KVM_MODE@" 10 | - 11 | SUBSYSTEM=="ptp", ATTR{clock_name}=="KVM virtual PTP", SYMLINK += "ptp_kvm" 12 | 13 | LABEL="default_end" 14 | -------------------------------------------------------------------------------- /gmp/gmp.install: -------------------------------------------------------------------------------- 1 | info_dir=/usr/share/info 2 | info_files=(gmp.info gmp.info-1 gmp.info-2) 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for f in ${info_files[@]}; do 7 | install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for f in ${info_files[@]}; do 18 | install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null 19 | done 20 | } 21 | -------------------------------------------------------------------------------- /linux-next/lockdep-debug.patch: -------------------------------------------------------------------------------- 1 | SPDX-License-Identifier: GPL-2.0 2 | aufs6.11.2 lockdep patch 3 | 4 | diff --git a/include/linux/lockdep_types.h b/include/linux/lockdep_types.h 5 | index 9f361d3ab9d9..57efd6ffe7a4 100644 6 | --- a/include/linux/lockdep_types.h 7 | +++ b/include/linux/lockdep_types.h 8 | @@ -12,7 +12,7 @@ 9 | 10 | #include 11 | 12 | -#define MAX_LOCKDEP_SUBCLASSES 8UL 13 | +#define MAX_LOCKDEP_SUBCLASSES (8UL + 4) 14 | 15 | enum lockdep_wait_type { 16 | LD_WAIT_INV = 0, /* not checked, catch all */ 17 | -------------------------------------------------------------------------------- /tar/tar.install: -------------------------------------------------------------------------------- 1 | infodir=/usr/share/info 2 | filelist=(tar.info tar.info-1 tar.info-2) 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for file in ${filelist[@]}; do 7 | install-info $infodir/$file.gz $infodir/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for file in ${filelist[@]}; do 18 | install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null 19 | done 20 | } 21 | 22 | -------------------------------------------------------------------------------- /gcc/gcc-ada.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | filelist=(gnat-style.info gnat_rm.info gnat_ugn.info) 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for file in ${filelist[@]}; do 7 | install-info $infodir/$file.gz $infodir/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for file in ${filelist[@]}; do 18 | install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null 19 | done 20 | } 21 | -------------------------------------------------------------------------------- /grub/grub.install: -------------------------------------------------------------------------------- 1 | infodir="usr/share/info" 2 | filelist=('grub.info') 3 | 4 | post_install() { 5 | if [ -f /boot/grub/grub.cfg.pacsave ]; then 6 | echo "Copying /boot/grub/grub.cfg.pacsave to /boot/grub/grub.cfg" 7 | install -D -m0644 /boot/grub/grub.cfg.pacsave /boot/grub/grub.cfg 8 | fi 9 | 10 | cat << 'EOM' 11 | Generating grub.cfg.example config file... 12 | This may fail on some machines running a custom kernel. 13 | EOM 14 | 15 | grub-mkconfig -o /boot/grub/grub.cfg.example 2> /dev/null 16 | echo "done." 17 | } 18 | 19 | -------------------------------------------------------------------------------- /e2fsprogs/mke2fs.conf: -------------------------------------------------------------------------------- 1 | [defaults] 2 | base_features = sparse_super,filetype,resize_inode,dir_index,ext_attr 3 | blocksize = 4096 4 | inode_size = 128 5 | inode_ratio = 16384 6 | 7 | [fs_types] 8 | small = { 9 | blocksize = 1024 10 | inode_size = 128 11 | inode_ratio = 4096 12 | } 13 | floppy = { 14 | blocksize = 1024 15 | inode_size = 128 16 | inode_ratio = 8192 17 | } 18 | news = { 19 | inode_ratio = 4096 20 | } 21 | largefile = { 22 | inode_ratio = 1048576 23 | } 24 | largefile4 = { 25 | inode_ratio = 4194304 26 | } 27 | -------------------------------------------------------------------------------- /findutils/findutils.install: -------------------------------------------------------------------------------- 1 | infodir=/usr/share/info 2 | filelist=(find-maint.info find.info) 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for file in ${filelist[@]}; do 7 | install-info $infodir/$file.gz $infodir/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for file in ${filelist[@]}; do 18 | install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null 19 | done 20 | } 21 | 22 | 23 | -------------------------------------------------------------------------------- /krb5/krb5-config_LDFLAGS.patch: -------------------------------------------------------------------------------- 1 | Bug #448778 2 | --- krb5-1.11/src/build-tools/krb5-config.in 2012-12-18 02:47:04.000000000 +0000 3 | +++ krb5-1.11/src/build-toolskrb5-config.in 2012-12-28 07:13:16.582693363 +0000 4 | @@ -217,7 +217,7 @@ 5 | -e 's#\$(PROG_RPATH)#'$libdir'#' \ 6 | -e 's#\$(PROG_LIBPATH)#'$libdirarg'#' \ 7 | -e 's#\$(RPATH_FLAG)#'"$RPATH_FLAG"'#' \ 8 | - -e 's#\$(LDFLAGS)#'"$LDFLAGS"'#' \ 9 | + -e 's#\$(LDFLAGS)##' \ 10 | -e 's#\$(PTHREAD_CFLAGS)#'"$PTHREAD_CFLAGS"'#' \ 11 | -e 's#\$(CFLAGS)##'` 12 | 13 | -------------------------------------------------------------------------------- /licenses/cc-readme.txt: -------------------------------------------------------------------------------- 1 | There are 6 different Creative Commons Licenses, all of which are included 2 | in this licenses directory: 3 | 4 | cc-by-3.0.txt - Attribution 5 | cc-by-nc-3.0.txt - Attribution-NonCommercial 6 | cc-by-nc-nd-3.0.txt - Attribution-NonCommercial-NoDerivs 7 | cc-by-nc-sa-3.0.txt - Attribution-NonCommercial-ShareAlike 8 | cc-by-nd-3.0.txt - Attribution-NoDerivs 9 | cc-by-sa-3.0.txt - Attribution-ShareAlike 10 | 11 | If a package uses one of these licenses, it should be referenced as follows: 12 | license=('CCPL:by-nc-sa') 13 | -------------------------------------------------------------------------------- /openssl/no-rpath_openssl1.1.patch: -------------------------------------------------------------------------------- 1 | --- Makefile.shared.orig 2016-08-25 13:28:27.586203917 -0400 2 | +++ Makefile.shared 2016-08-25 13:30:00.053286991 -0400 3 | @@ -176,7 +176,7 @@ 4 | ALLSYMSFLAGS='-Wl,--whole-archive'; \ 5 | NOALLSYMSFLAGS='-Wl,--no-whole-archive'; \ 6 | $(DO_GNU_SO_COMMON) 7 | -DO_GNU_APP=LDFLAGS="$(CFLAGS) $(LDFLAGS) -Wl,-rpath,$(LIBRPATH)" 8 | +DO_GNU_APP=LDFLAGS="$(CFLAGS)" 9 | 10 | #This is rather special. It's a special target with which one can link 11 | #applications without bothering with any features that have anything to 12 | -------------------------------------------------------------------------------- /mlocate/updatedb.conf: -------------------------------------------------------------------------------- 1 | PRUNE_BIND_MOUNTS = "yes" 2 | PRUNEFS = "9p afs anon_inodefs auto autofs bdev binfmt_misc cgroup cifs coda configfs cpuset cramfs debugfs devpts devtmpfs ecryptfs exofs ftpfs fuse fuse.encfs fuse.sshfs fusectl gfs gfs2 hugetlbfs inotifyfs iso9660 jffs2 lustre mqueue ncpfs nfs nfs4 nfsd pipefs proc ramfs rootfs rpc_pipefs securityfs selinuxfs sfs shfs smbfs sockfs sshfs sysfs tmpfs ubifs udf usbfs vboxsf" 3 | PRUNENAMES = ".git .hg .svn" 4 | PRUNEPATHS = "/afs /media /mnt /net /sfs /tmp /udev /var/cache /var/lib/pacman/local /var/lock /var/run /var/spool /var/tmp" 5 | -------------------------------------------------------------------------------- /grub-themes/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=grub-theme-midna 3 | _pkgname=midna 4 | pkgver=3.2 5 | pkgrel=3 6 | pkgdesc="Midna Grub-theme." 7 | url="https://kaosx.us" 8 | arch=('x86_64') 9 | license=('GPL' 'CC-SA') 10 | depends=('grub-common') 11 | install=grub-themes.install 12 | source=("https://sourceforge.net/projects/kaosx/files/sources/grub-themes/${_pkgname}-${pkgver}.tar.xz") 13 | md5sums=('a66ce83a84019bb32d0006b594c453f3') 14 | 15 | package() { 16 | 17 | install -dm755 ${pkgdir}/usr/share/grub/themes 18 | cp -dpr --no-preserve=ownership ${_pkgname} ${pkgdir}/usr/share/grub/themes 19 | } 20 | -------------------------------------------------------------------------------- /libyaml/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=libyaml 3 | pkgver=0.2.5 4 | pkgrel=3 5 | pkgdesc="YAML 1.1 library" 6 | arch=('x86_64') 7 | url="https://pyyaml.org/wiki/LibYAML" 8 | license=('MIT') 9 | source=("https://pyyaml.org/download/libyaml/yaml-${pkgver}.tar.gz") 10 | md5sums=('bb15429d8fb787e7d3f1c83ae129a999') 11 | 12 | build() { 13 | cd yaml-${pkgver} 14 | 15 | #./bootstrap 16 | ./configure --prefix=/usr 17 | make 18 | } 19 | 20 | package() { 21 | cd yaml-$pkgver 22 | 23 | make DESTDIR=${pkgdir} install 24 | install -m644 -D License ${pkgdir}/usr/share/licenses/${pkgname}/License 25 | } 26 | -------------------------------------------------------------------------------- /openssl/no-rpath.patch: -------------------------------------------------------------------------------- 1 | --- Makefile.shared.no-rpath 2005-06-23 22:47:54.000000000 +0200 2 | +++ Makefile.shared 2005-11-16 22:35:37.000000000 +0100 3 | @@ -153,7 +153,7 @@ 4 | NOALLSYMSFLAGS='-Wl,--no-whole-archive'; \ 5 | SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS) -shared -Wl,-Bsymbolic -Wl,-soname=$$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX" 6 | 7 | -DO_GNU_APP=LDFLAGS="$(CFLAGS) -Wl,-rpath,$(LIBRPATH)" 8 | +DO_GNU_APP=LDFLAGS="$(CFLAGS)" 9 | 10 | #This is rather special. It's a special target with which one can link 11 | #applications without bothering with any features that have anything to 12 | -------------------------------------------------------------------------------- /zd1211-firmware/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=zd1211-firmware 3 | pkgver=1.5 4 | pkgrel=7 5 | pkgdesc="Firmware for the in-kernel26 zd1211rw wireless driver" 6 | arch=('x86_64') 7 | url="https://sourceforge.net/projects/zd1211/" 8 | license=('GPL') 9 | provides=('zd1211') 10 | source=("https://downloads.sourceforge.net/zd1211/${pkgname}-${pkgver}.tar.bz2") 11 | md5sums=('3c182ceb9b2fc1d8442cd81c1280d83f') 12 | 13 | package() { 14 | cd ${pkgname} 15 | # Install firmware 16 | for i in zd1211* WS11U* 17 | do 18 | install -D -m 644 $i ${pkgdir}/lib/firmware/zd1211/$i 19 | done 20 | } 21 | -------------------------------------------------------------------------------- /zfs/module-setup.diff: -------------------------------------------------------------------------------- 1 | --- a/contrib/dracut/90zfs/module-setup.sh.in 2022-06-25 21:27:15.418708560 +0200 2 | +++ b/contrib/dracut/90zfs/module-setup.sh.in 2022-07-03 14:32:34.044234587 +0200 3 | @@ -47,7 +47,7 @@ 4 | # Otherwise, use dracut's library installation function to find the right one 5 | elif ! inst_libdir_file "libgcc_s.so*"; then 6 | # If all else fails, just try looking for some gcc arch directory 7 | - inst_simple /usr/lib/gcc/*/*/libgcc_s.so* || 8 | + inst_simple /usr/lib/libgcc_s.so* || 9 | { dfatal "Unable to install libgcc_s.so"; exit 1; } 10 | fi 11 | fi 12 | 13 | -------------------------------------------------------------------------------- /fakeroot/dlsym.patch: -------------------------------------------------------------------------------- 1 | diff --git a/libfakeroot.c b/libfakeroot.c 2 | index f867758..7ef6e47 100644 3 | --- a/libfakeroot.c 4 | +++ b/libfakeroot.c 5 | @@ -256,10 +256,12 @@ void load_library_symbols(void){ 6 | /* clear dlerror() just in case dlsym() legitimately returns NULL */ 7 | msg = dlerror(); 8 | *(next_wrap[i].doit)=dlsym(get_libc(), next_wrap[i].name); 9 | +#ifdef LIBFAKEROOT_DEBUGGING 10 | if ( (msg = dlerror()) != NULL){ 11 | fprintf (stderr, "dlsym(%s): %s\n", next_wrap[i].name, msg); 12 | /* abort ();*/ 13 | } 14 | +#endif /* LIBFAKEROOT_DEBUGGING */ 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /gperf/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=gperf 3 | pkgver=3.1 4 | pkgrel=4 5 | pkgdesc="Perfect hash function generator." 6 | arch=('x86_64') 7 | url="https://www.gnu.org/software/gperf/" 8 | license=('GPL3') 9 | depends=('gcc-libs' 'texinfo') 10 | source=("https://ftp.gnu.org/pub/gnu/gperf/${pkgname}-${pkgver}.tar.gz") 11 | md5sums=('9e251c0a618ad0824b51117d5d9db87e') 12 | 13 | build() { 14 | cd ${pkgname}-${pkgver} 15 | 16 | ./configure --prefix=/usr \ 17 | --docdir=/usr/share/gperf/doc/ 18 | make 19 | } 20 | 21 | package() { 22 | cd ${pkgname}-${pkgver} 23 | 24 | make DESTDIR=${pkgdir} install 25 | } 26 | -------------------------------------------------------------------------------- /systemd/initcpio-hook-udev: -------------------------------------------------------------------------------- 1 | #!/usr/bin/ash 2 | 3 | run_earlyhook() { 4 | kmod static-nodes --format=tmpfiles --output=/run/tmpfiles.d/kmod.conf 5 | systemd-tmpfiles --prefix=/dev --create --boot 6 | /usr/lib/systemd/systemd-udevd --daemon --resolve-names=never 7 | udevd_running=1 8 | } 9 | 10 | run_hook() { 11 | msg ":: Triggering uevents..." 12 | udevadm trigger --action=add --type=subsystems 13 | udevadm trigger --action=add --type=devices 14 | udevadm settle 15 | } 16 | 17 | run_cleanuphook() { 18 | udevadm control --exit 19 | udevadm info --cleanup-db 20 | } 21 | 22 | -------------------------------------------------------------------------------- /m4/m4-1.4.16-readlink-einval.patch: -------------------------------------------------------------------------------- 1 | diff -up m4-1.4.16/tests/test-readlink.h.orig m4-1.4.16/tests/test-readlink.h 2 | --- m4-1.4.16/tests/test-readlink.h.orig 2011-09-19 12:44:58.745546826 +0200 3 | +++ m4-1.4.16/tests/test-readlink.h 2011-09-19 12:46:00.079548410 +0200 4 | @@ -38,7 +38,7 @@ test_readlink (ssize_t (*func) (char con 5 | ASSERT (errno == ENOENT); 6 | errno = 0; 7 | ASSERT (func ("", buf, sizeof buf) == -1); 8 | - ASSERT (errno == ENOENT); 9 | + ASSERT (errno == ENOENT || errno == EINVAL); 10 | errno = 0; 11 | ASSERT (func (".", buf, sizeof buf) == -1); 12 | ASSERT (errno == EINVAL); 13 | -------------------------------------------------------------------------------- /patchutils/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=patchutils 3 | pkgver=0.4.2 4 | pkgrel=6 5 | pkgdesc="A small collection of programs that operate on patch files" 6 | license=('GPL') 7 | url="http://cyberelk.net/tim/patchutils/" 8 | depends=('perl' 'pcre2') 9 | arch=('x86_64') 10 | source=("http://cyberelk.net/tim/data/patchutils/stable/${pkgname}-${pkgver}.tar.xz") 11 | md5sums=('3b4ab8bd84a31deb54f4a3fcac4db94f') 12 | 13 | build() { 14 | cd ${pkgname}-${pkgver} 15 | 16 | ./configure --prefix=/usr 17 | make 18 | } 19 | 20 | package() { 21 | cd ${pkgname}-${pkgver} 22 | 23 | make DESTDIR=${pkgdir} install 24 | } 25 | 26 | -------------------------------------------------------------------------------- /psmisc/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=psmisc 3 | pkgver=23.7 4 | pkgrel=1 5 | pkgdesc="Package of small utilities that use the proc file-system." 6 | arch=('x86_64') 7 | url="https://gitlab.com/psmisc/psmisc" 8 | license=('GPL') 9 | groups=('base') 10 | depends=('glibc' 'ncurses') 11 | source=("https://downloads.sourceforge.net/psmisc/${pkgname}-${pkgver}.tar.xz") 12 | md5sums=('53eae841735189a896d614cba440eb10') 13 | 14 | build() { 15 | cd ${pkgname}-${pkgver} 16 | 17 | ./configure --prefix=/usr 18 | make 19 | } 20 | 21 | package() { 22 | cd ${pkgname}-${pkgver} 23 | 24 | make DESTDIR=${pkgdir} install 25 | } 26 | -------------------------------------------------------------------------------- /traceroute/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=traceroute 3 | pkgver=2.1.6 4 | pkgrel=1 5 | pkgdesc="Tracks the route taken by packets over an IP network" 6 | arch=('x86_64') 7 | url="https://traceroute.sourceforge.net/" 8 | license=('GPL2') 9 | groups=('base') 10 | depends=('glibc') 11 | source=("https://downloads.sourceforge.net/traceroute/${pkgname}-${pkgver}.tar.gz") 12 | md5sums=('94b41044978f4f57c373adc5a32c42d7') 13 | 14 | build() { 15 | cd ${pkgname}-${pkgver} 16 | 17 | make CFLAGS="$CFLAGS" 18 | } 19 | 20 | package() { 21 | cd ${pkgname}-${pkgver} 22 | 23 | make prefix=/usr DESTDIR=${pkgdir} install 24 | } 25 | -------------------------------------------------------------------------------- /lz4/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=lz4 3 | pkgver=1.10.0 4 | epoch=1 5 | pkgrel=1 6 | pkgdesc='Lossless compression algorithm, providing compression speed at 400 MB/s per core, scalable with multi-cores CPU.' 7 | arch=('x86_64') 8 | url='https://lz4.github.io/lz4/' 9 | license=('GPL2') 10 | depends=('glibc') 11 | source=("https://github.com/lz4/lz4/archive/v${pkgver}.tar.gz") 12 | md5sums=('dead9f5f1966d9ae56e1e32761e4e675') 13 | 14 | build() { 15 | cd ${pkgname}-${pkgver} 16 | 17 | make PREFIX=/usr 18 | } 19 | 20 | package() { 21 | cd ${pkgname}-${pkgver} 22 | 23 | make install PREFIX=/usr DESTDIR=${pkgdir} 24 | } 25 | -------------------------------------------------------------------------------- /util-linux/system-auth: -------------------------------------------------------------------------------- 1 | #%PAM-1.0 2 | 3 | auth required pam_unix.so try_first_pass nullok 4 | auth optional pam_permit.so 5 | auth required pam_env.so 6 | auth required pam_faillock.so preauth 7 | 8 | account required pam_unix.so 9 | account required pam_faillock.so 10 | account optional pam_permit.so 11 | account required pam_time.so 12 | 13 | password required pam_unix.so try_first_pass nullok sha512 shadow 14 | password optional pam_permit.so 15 | 16 | session required pam_limits.so 17 | session required pam_unix.so 18 | session optional pam_permit.so 19 | -------------------------------------------------------------------------------- /util-linux/util-linux.install: -------------------------------------------------------------------------------- 1 | post_install() { 2 | # No use of systemd-tmpfiles or uuidd (use number instead) here because 3 | # the package dependency would create a circular dep to systemd and filesystem. 4 | if [ ! -d run/uuidd ]; then 5 | install -o 68 -g 68 -dm755 run/uuidd 6 | fi 7 | } 8 | 9 | post_upgrade() { 10 | if [ "$(vercmp $2 2.21.2-4)" -lt 0 ]; then 11 | if [ -f /var/lib/hwclock/adjtime ]; then 12 | mv /var/lib/hwclock/adjtime /etc/adjtime 13 | fi 14 | if [ -d /var/lib/hwclock ]; then 15 | rmdir /var/lib/hwclock 16 | fi 17 | fi 18 | 19 | post_install 20 | } 21 | -------------------------------------------------------------------------------- /grub/grub-2.00-mkinitcpio-0.15.patch: -------------------------------------------------------------------------------- 1 | --- util/grub.d/10_linux.in.old 2013-07-28 08:55:47.825946239 +0200 2 | +++ util/grub.d/10_linux.in 2013-07-28 08:56:14.082201512 +0200 3 | @@ -138,7 +138,7 @@ 4 | message="$(gettext_printf "Loading Linux %s ..." "${version}")" 5 | sed "s/^/$submenu_indentation/" << EOF 6 | echo '$message' 7 | - linux ${rel_dirname}/${basename} root=${linux_root_device_thisversion} ro ${args} 8 | + linux ${rel_dirname}/${basename} root=${linux_root_device_thisversion} rw ${args} 9 | EOF 10 | if test -n "${initrd}" ; then 11 | # TRANSLATORS: ramdisk isn't identifier. Should be translated. 12 | -------------------------------------------------------------------------------- /gcc/gcc.install: -------------------------------------------------------------------------------- 1 | infodir=usr/share/info 2 | filelist=(cpp.info cppinternals.info gcc.info gccinstall.info gccint.info gnat-style.info gnat_rm.info gnat_ugn.info gfortran.info gccgo.info) 3 | 4 | post_install() { 5 | [ -x usr/bin/install-info ] || return 0 6 | for file in ${filelist[@]}; do 7 | install-info $infodir/$file.gz $infodir/dir 2> /dev/null 8 | done 9 | } 10 | 11 | post_upgrade() { 12 | post_install $1 13 | } 14 | 15 | pre_remove() { 16 | [ -x usr/bin/install-info ] || return 0 17 | for file in ${filelist[@]}; do 18 | install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null 19 | done 20 | } 21 | -------------------------------------------------------------------------------- /systemd/use-split-usr-path.patch: -------------------------------------------------------------------------------- 1 | --- a/src/core/main.c 2012-09-20 23:02:54.000000000 -0400 2 | +++ b/src/core/main.c 2012-09-20 23:03:13.000000000 -0400 3 | @@ -1487,11 +1487,7 @@ int main(int argc, char *argv[]) { 4 | 5 | /* Set up PATH unless it is already set */ 6 | setenv("PATH", 7 | -#ifdef HAVE_SPLIT_USR 8 | "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", 9 | -#else 10 | - "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin", 11 | -#endif 12 | arg_running_as == SYSTEMD_SYSTEM); 13 | 14 | if (arg_running_as == SYSTEMD_SYSTEM) { 15 | 16 | -------------------------------------------------------------------------------- /freetype2/freetype-2.3.0-enable-spr.patch: -------------------------------------------------------------------------------- 1 | diff --git i/include/freetype/config/ftoption.h w/include/freetype/config/ftoption.h 2 | index fe2ba15..22ce1a3 100644 3 | --- i/include/freetype/config/ftoption.h 4 | +++ w/include/freetype/config/ftoption.h 5 | @@ -126,7 +126,7 @@ 6 | * macro is not defined, FreeType offers alternative LCD rendering 7 | * technology that produces excellent output without LCD filtering. 8 | */ 9 | -/* #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING */ 10 | +#define FT_CONFIG_OPTION_SUBPIXEL_RENDERING 11 | 12 | 13 | /************************************************************************** 14 | 15 | 16 | -------------------------------------------------------------------------------- /gpm/glibc2.26.diff: -------------------------------------------------------------------------------- 1 | diff --git a/src/prog/gpm-root.y b/src/prog/gpm-root.y 2 | index 5126c65..76c896c 100644 3 | --- a/src/prog/gpm-root.y 4 | +++ b/src/prog/gpm-root.y 5 | @@ -1196,11 +1196,7 @@ int main(int argc, char **argv) 6 | LOG_DAEMON : LOG_USER); 7 | /* reap your zombies */ 8 | childaction.sa_handler=reap_children; 9 | -#if defined(__GLIBC__) 10 | - __sigemptyset(&childaction.sa_mask); 11 | -#else /* __GLIBC__ */ 12 | sigemptyset(&childaction.sa_mask); 13 | -#endif /* __GLIBC__ */ 14 | childaction.sa_flags=0; 15 | sigaction(SIGCHLD,&childaction,NULL); 16 | 17 | -------------------------------------------------------------------------------- /less/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=less 3 | pkgver=668 4 | pkgrel=1 5 | pkgdesc="Terminal based program for viewing text files" 6 | license=('GPL3') 7 | arch=('x86_64') 8 | url="https://www.greenwoodsoftware.com/less" 9 | depends=('glibc' 'ncurses' 'pcre2') 10 | groups=('base') 11 | source=("https://www.greenwoodsoftware.com/less/${pkgname}-${pkgver}.tar.gz") 12 | md5sums=('d72760386c5f80702890340d2f66c302') 13 | 14 | build() { 15 | cd ${pkgname}-${pkgver} 16 | 17 | sh configure --prefix=/usr --sysconfdir=/etc --with-regex=pcre2 18 | make 19 | } 20 | 21 | package() { 22 | cd ${pkgname}-${pkgver} 23 | 24 | make DESTDIR=${pkgdir} install 25 | } 26 | -------------------------------------------------------------------------------- /mkinitcpio/mkinitcpio.install: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | post_upgrade() { 4 | if [ "$(vercmp 0.9.0 "$2")" -eq 1 ]; then 5 | printf '==> If your /usr is on a separate partition, you must add the "usr" hook\n' 6 | printf ' to /etc/mkinitcpio.conf and regenerate your images before rebooting\n' 7 | fi 8 | 9 | if [ "$(vercmp 0.12.0 "$2")" -eq 1 ]; then 10 | printf '==> The "block" hook has replaced several hooks:\n' 11 | printf ' fw, sata, pata, scsi, virtio, mmc, usb\n' 12 | printf ' Replace any and all of these in /etc/mkinitcpio.conf with a single\n' 13 | printf ' instance of the "block" hook\n' 14 | fi 15 | } 16 | -------------------------------------------------------------------------------- /pcmciautils/initcpio-install-pcmcia: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | build() { 4 | if add_checked_modules -f 'sound|net' '/drivers/pcmcia/'; then 5 | add_module 'sd_mod?' 6 | fi 7 | 8 | add_binary "/usr/lib/udev/pcmcia-socket-startup" 9 | add_binary "/usr/lib/udev/pcmcia-check-broken-cis" 10 | add_file "/usr/lib/udev/rules.d/60-pcmcia.rules" 11 | add_file "/etc/pcmcia/config.opts" 12 | } 13 | 14 | help() { 15 | cat </dev/null 2>&1 3 | } 4 | 5 | post_upgrade() { 6 | usr/sbin/update-ca-certificates --fresh >/dev/null 2>&1 7 | } 8 | 9 | pre_remove() { 10 | # clean up certificates 11 | local _backup=$(mktemp) 12 | mv etc/ca-certificates.conf ${_backup} 13 | echo > etc/ca-certificates.conf 14 | usr/sbin/update-ca-certificates --fresh >/dev/null 2>&1 15 | mv ${_backup} etc/ca-certificates.conf 16 | } 17 | 18 | post_remove() { 19 | # remove the cert file if it is empty 20 | [[ -s etc/ssl/certs/ca-certificates.crt ]] || rm -f etc/ssl/certs/ca-certificates.crt 21 | } 22 | -------------------------------------------------------------------------------- /linux-next/config.aufs: -------------------------------------------------------------------------------- 1 | CONFIG_AUFS_FS=y 2 | CONFIG_AUFS_BRANCH_MAX_127=y 3 | # CONFIG_AUFS_BRANCH_MAX_511 is not set 4 | # CONFIG_AUFS_BRANCH_MAX_1023 is not set 5 | # CONFIG_AUFS_BRANCH_MAX_32767 is not set 6 | CONFIG_AUFS_SBILIST=y 7 | CONFIG_AUFS_HNOTIFY=y 8 | CONFIG_AUFS_HFSNOTIFY=y 9 | CONFIG_AUFS_EXPORT=y 10 | CONFIG_AUFS_INO_T_64=y 11 | # CONFIG_AUFS_FHSM is not set 12 | # CONFIG_AUFS_XATTR is not set 13 | CONFIG_AUFS_RDU=y 14 | # CONFIG_AUFS_DIRREN is not set 15 | CONFIG_AUFS_SHWH=y 16 | CONFIG_AUFS_BR_RAMFS=y 17 | CONFIG_AUFS_BR_FUSE=y 18 | CONFIG_AUFS_POLL=y 19 | CONFIG_AUFS_BR_HFSPLUS=y 20 | CONFIG_AUFS_BDEV_LOOP=y 21 | # CONFIG_AUFS_DEBUG is not set 22 | -------------------------------------------------------------------------------- /filesystem/profile: -------------------------------------------------------------------------------- 1 | # /etc/profile 2 | 3 | #Set our umask 4 | umask 022 5 | 6 | # Set default path 7 | PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin" 8 | export PATH 9 | 10 | # Load profiles from /etc/profile.d 11 | if test -d /etc/profile.d/; then 12 | for profile in /etc/profile.d/*.sh; do 13 | test -r "$profile" && . "$profile" 14 | done 15 | unset profile 16 | fi 17 | 18 | # Source global bash config 19 | if test "$PS1" && test "$BASH" && test -r /etc/bash.bashrc; then 20 | . /etc/bash.bashrc 21 | fi 22 | 23 | # Termcap is outdated. 24 | unset TERMCAP 25 | 26 | # Man is much better than us at figuring this out 27 | unset MANPATH 28 | -------------------------------------------------------------------------------- /isl3887usb-firmware/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=isl3887usb-firmware 3 | pkgver=2.13.25.0 4 | pkgrel=9 5 | pkgdesc="Firmware for wireless cards using isl3887usb" 6 | arch=('x86_64') 7 | url="https://daemonizer.de/prism54/prism54-fw/" 8 | license=('GPL') 9 | # ca-cert no longer available, get source with 10 | # wget https://daemonizer.de/prism54/prism54-fw/fw-usb/2.13.25.0.lm87.arm --no-check-certificate 11 | source=("https://daemonizer.de/prism54/prism54-fw/fw-usb/${pkgver}.lm87.arm") 12 | md5sums=('39be687c87544b892e7a8ffe7ffd9371') 13 | 14 | package() { 15 | mkdir -p ${pkgdir}/usr/lib/firmware 16 | 17 | install -m644 * ${pkgdir}/usr/lib/firmware/isl3887usb 18 | } 19 | -------------------------------------------------------------------------------- /iw/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=iw 3 | pkgver=6.9 4 | pkgrel=1 5 | pkgdesc="nl80211 based CLI configuration utility for wireless devices" 6 | arch=('x86_64') 7 | url="https://wireless.wiki.kernel.org/en/users/documentation/iw" 8 | license=('GPL') 9 | depends=('libnl') 10 | makedepends=('linux-api-headers' 'pkg-config') 11 | source=("https://www.kernel.org/pub/software/network/iw/${pkgname}-${pkgver}.tar.xz") 12 | sha256sums=('3f2db22ad41c675242b98ae3942dbf3112548c60a42ff739210f2de4e98e4894') 13 | 14 | build() { 15 | cd ${pkgname}-${pkgver} 16 | 17 | make 18 | } 19 | 20 | package() { 21 | cd ${pkgname}-${pkgver} 22 | 23 | make DESTDIR=${pkgdir} install 24 | } 25 | -------------------------------------------------------------------------------- /nfs-utils/nfs-common.conf: -------------------------------------------------------------------------------- 1 | # Parameters to be passed to nfs systemd services (nfs clients & server). 2 | # 3 | 4 | # Options to pass to rpc.statd. 5 | # See rpc.statd(8) for more details. 6 | # N.B. statd normally runs on both client and server, and run-time 7 | # options should be specified accordingly. 8 | # STATD_OPTS="-p 32765 -o 32766" 9 | STATD_OPTS="" 10 | 11 | # Options to pass to sm-notify 12 | # e.g. SMNOTIFY_OPTS="-p 32764" 13 | SMNOTIFY_OPTS="" 14 | 15 | # Options to pass to rpc.idmapd. 16 | # See rpc.idmapd(8) for more details. 17 | IDMAPD_OPTS="" 18 | 19 | # Options to pass to rpc.gssd. 20 | # See rpc.gssd(8) for more details. 21 | GSSD_OPTS="" 22 | 23 | -------------------------------------------------------------------------------- /which/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=which 3 | pkgver=2.21 4 | pkgrel=8 5 | pkgdesc="A utility to show the full path of commands" 6 | arch=('x86_64') 7 | url="https://savannah.gnu.org/projects/which" 8 | license=('GPL3') 9 | groups=('base') 10 | depends=('glibc' 'sh') 11 | source=("https://ftp.gnu.org/gnu/which/${pkgname}-${pkgver}.tar.gz") 12 | md5sums=('097ff1a324ae02e0a3b0369f07a7544a') 13 | 14 | build() { 15 | cd ${pkgname}-${pkgver} 16 | 17 | ./configure --prefix=/usr 18 | make 19 | } 20 | 21 | check() { 22 | cd ${pkgname}-${pkgver} 23 | 24 | make check 25 | } 26 | 27 | package() { 28 | cd ${pkgname}-${pkgver} 29 | 30 | make DESTDIR=$pkgdir install 31 | } 32 | -------------------------------------------------------------------------------- /libcroco/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=libcroco 3 | pkgver=0.6.13 4 | pkgrel=13 5 | pkgdesc="A CSS parsing library" 6 | arch=('x86_64') 7 | url="https://www.gnome.org" 8 | depends=('glib2' 'libxml2') 9 | makedepends=('intltool') 10 | license=('LGPL') 11 | options=('!libtool') 12 | source=("https://ftp.gnome.org/pub/gnome/sources/libcroco/0.6/${pkgname}-${pkgver}.tar.xz") 13 | sha256sums=('767ec234ae7aa684695b3a735548224888132e063f92db585759b422570621d4') 14 | 15 | build() { 16 | cd ${pkgname}-${pkgver} 17 | 18 | ./configure --prefix=/usr --disable-static 19 | make 20 | } 21 | 22 | package() { 23 | cd ${pkgname}-${pkgver} 24 | 25 | make DESTDIR=${pkgdir} install 26 | } 27 | -------------------------------------------------------------------------------- /gettext/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=gettext 3 | pkgver=0.22.5 4 | pkgrel=3 5 | pkgdesc="GNU internationalization library" 6 | arch=('x86_64') 7 | url="https://www.gnu.org/software/gettext" 8 | license=('GPL') 9 | groups=('base') 10 | depends=('acl' 'gcc-libs' 'glib2' 'libcroco' 'sh' 'libunistring') 11 | options=('!libtool') 12 | source=("https://ftp.gnu.org/pub/gnu/gettext/${pkgname}-${pkgver}.tar.gz") 13 | md5sums=('1245c87cfa0b123f55540681af396880') 14 | 15 | build() { 16 | cd ${pkgname}-${pkgver} 17 | 18 | ./configure --prefix=/usr --enable-csharp 19 | make 20 | } 21 | 22 | package() { 23 | cd ${pkgname}-${pkgver} 24 | 25 | make DESTDIR=${pkgdir} install 26 | } 27 | 28 | -------------------------------------------------------------------------------- /help2man/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=help2man 3 | pkgver=1.49.3 4 | pkgrel=2 5 | pkgdesc="Conversion tool to create man files" 6 | arch=('x86_64') 7 | url="https://www.gnu.org/software/help2man/" 8 | license=('GPL') 9 | depends=('perl-locale-gettext') 10 | source=("https://ftp.gnu.org/gnu/help2man/${pkgname}-${pkgver}.tar.xz") 11 | md5sums=('2a0ffaa1822df5b6971f486a4fe1a4d1') 12 | 13 | build() { 14 | cd ${pkgname}-${pkgver} 15 | 16 | ./configure --prefix=/usr \ 17 | --mandir=/usr/share/man \ 18 | --infodir=/usr/share/info \ 19 | --libdir=/usr/lib 20 | make 21 | } 22 | 23 | package() { 24 | cd ${pkgname}-${pkgver} 25 | 26 | make DESTDIR=${pkgdir} install 27 | } 28 | -------------------------------------------------------------------------------- /dmraid/dmraid_install: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | build() { 4 | add_module 'dm-mod' 5 | add_module 'dm-mirror' 6 | 7 | add_binary 'dmraid' 8 | add_binary 'dmsetup' 9 | add_file "/usr/lib/device-mapper/libdmraid-events-isw.so" 10 | add_file "/usr/lib/udev/rules.d/10-dm.rules" 11 | add_file "/usr/lib/udev/rules.d/13-dm-disk.rules" 12 | add_file "/usr/lib/udev/rules.d/95-dm-notify.rules" 13 | add_file "/usr/lib/initcpio/udev/11-dm-initramfs.rules" "/usr/lib/udev/rules.d/11-dm-initramfs.rules" 14 | 15 | add_runscript 16 | } 17 | 18 | help() { 19 | cat </dev/null 3 | useradd -u 439 -g ldap -d /var/lib/openldap -s /bin/false ldap &>/dev/null 4 | chown -R ldap:ldap var/lib/openldap &>/dev/null 5 | } 6 | 7 | post_upgrade(){ 8 | getent group ldap >/dev/null 2>&1 || groupadd -g 439 ldap &>/dev/null 9 | getent passwd ldap >/dev/null 2>&1 || useradd -u 439 -g ldap -d /var/lib/openldap -s /bin/false ldap &>/dev/null 10 | chown -R ldap:ldap var/lib/openldap &>/dev/null 11 | } 12 | 13 | post_remove(){ 14 | if getent passwd ldap >/dev/null 2>&1; then 15 | userdel ldap 16 | fi 17 | if getent group ldap >/dev/null 2>&1; then 18 | groupdel ldap 19 | fi 20 | } 21 | -------------------------------------------------------------------------------- /grub-themes/grub-themes.install: -------------------------------------------------------------------------------- 1 | post_install() { 2 | 3 | sed -i -e 's,.*GRUB_THEME=.*,GRUB_THEME="/usr/share/grub/themes/midna/theme.txt",' /etc/default/grub 4 | sed -i -e 's,.*GRUB_GFXMODE=.*,GRUB_GFXMODE=1024x768,' /etc/default/grub 5 | 6 | cat << _EOF 7 | 8 | ==> Installation: Theme is added to your /etc/default/grub: GRUB_THEME="/usr/share/grub/themes/midna/theme.txt" 9 | ==> Update grub:# grub-mkconfig -o /boot/grub/grub.cfg 10 | ==> to activate it 11 | 12 | _EOF 13 | } 14 | 15 | post_upgrade() { 16 | 17 | if [ ! -f /boot/loader/loader.conf ] && ! grep -q NotoSans-Bold-14.pf2 /boot/grub/grub.cfg; then 18 | grub-mkconfig -o /boot/grub/grub.cfg 19 | fi 20 | 21 | } 22 | -------------------------------------------------------------------------------- /mkinitcpio-nfs-utils/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=mkinitcpio-nfs-utils 3 | pkgver=0.3 4 | pkgrel=8 5 | pkgdesc="ipconfig and nfsmount tools for NFS root support in mkinitcpio" 6 | arch=('x86_64') 7 | url="https://www.archlinux.org/" 8 | license=('GPL2') 9 | depends=('glibc') 10 | source=("https://sources.archlinux.org/other/mkinitcpio/${pkgname}-${pkgver}.tar.xz" 11 | 'nfsmount.patch') 12 | md5sums=('a7e586b0adb1a746dc7ae71d104bac0d' 13 | '23740117f1e6468b4baa57d7c6d11418') 14 | 15 | build() { 16 | cd ${pkgname}-${pkgver} 17 | patch -p1 -i $srcdir/nfsmount.patch 18 | 19 | make 20 | } 21 | 22 | package() { 23 | cd ${pkgname}-${pkgver} 24 | 25 | make DESTDIR=${pkgdir} install 26 | } 27 | -------------------------------------------------------------------------------- /filesystem/gshadow: -------------------------------------------------------------------------------- 1 | root:::root 2 | bin:::root,bin,daemon 3 | daemon:::root,bin,daemon 4 | sys:::root,bin 5 | adm:::root,daemon 6 | tty::: 7 | disk:::root 8 | lp:::daemon 9 | mem::: 10 | kmem::: 11 | wheel:::root 12 | ftp::: 13 | mail::: 14 | uucp::: 15 | log:::root 16 | utmp:x:: 17 | locate::: 18 | rfkill:x:: 19 | smmsp::: 20 | http::: 21 | games::: 22 | lock::: 23 | uuidd:x:: 24 | dbus:x:: 25 | network:x:: 26 | video:x:: 27 | audio::: 28 | optical::: 29 | floppy:x:: 30 | storage:x:: 31 | scanner:x:: 32 | input:x:: 33 | power:x:: 34 | nobody::: 35 | users::: 36 | systemd-journal::: 37 | systemd-journal-gateway::: 38 | systemd-timesync::: 39 | systemd-network::: 40 | systemd-bus-proxy::: 41 | systemd-resolve::: 42 | -------------------------------------------------------------------------------- /iproute2/prototype.diff: -------------------------------------------------------------------------------- 1 | diff -Naur iproute2-3.8.0/include/iptables.h iproute2-3.8.0.new/include/iptables.h 2 | --- iproute2-3.8.0/include/iptables.h 3 | +++ iproute2-3.8.0.new/include/iptables.h 4 | @@ -143,6 +143,8 @@ struct iptables_target 5 | /* Your shared library should call one of these. */ 6 | extern void register_match(struct iptables_match *me); 7 | extern void register_target(struct iptables_target *me); 8 | +extern void xtables_register_target(struct iptables_target *me); 9 | +extern int build_st(struct iptables_target *target, struct ipt_entry_target *t); 10 | 11 | extern struct in_addr *dotted_to_addr(const char *dotted); 12 | extern char *addr_to_dotted(const struct in_addr *addrp); 13 | -------------------------------------------------------------------------------- /keyutils/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=keyutils 3 | pkgver=1.6.3 4 | pkgrel=3 5 | pkgdesc="Linux Key Management Utilities" 6 | arch=('x86_64') 7 | url="https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git/tree/README" 8 | license=('GPL2' 'LGPL2.1') 9 | depends=('glibc' 'sh') 10 | backup=('etc/request-key.conf') 11 | source=("https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git/snapshot/${pkgname}-${pkgver}.tar.gz") 12 | md5sums=('6b70b2b381c1b6d9adfaf66d5d3e7c00') 13 | 14 | build() { 15 | cd ${pkgname}-${pkgver} 16 | 17 | make 18 | } 19 | 20 | package() { 21 | cd ${pkgname}-${pkgver} 22 | 23 | make DESTDIR=${pkgdir} LIBDIR="/usr/lib" USRLIBDIR="/usr/lib" install 24 | } 25 | -------------------------------------------------------------------------------- /openssh/sshdgenkeys.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=SSH Key Generation 3 | ConditionPathExists=|!/etc/ssh/ssh_host_key 4 | ConditionPathExists=|!/etc/ssh/ssh_host_key.pub 5 | ConditionPathExists=|!/etc/ssh/ssh_host_rsa_key 6 | ConditionPathExists=|!/etc/ssh/ssh_host_rsa_key.pub 7 | ConditionPathExists=|!/etc/ssh/ssh_host_dsa_key 8 | ConditionPathExists=|!/etc/ssh/ssh_host_dsa_key.pub 9 | ConditionPathExists=|!/etc/ssh/ssh_host_ecdsa_key 10 | ConditionPathExists=|!/etc/ssh/ssh_host_ecdsa_key.pub 11 | ConditionPathExists=|!/etc/ssh/ssh_host_ed25519_key 12 | ConditionPathExists=|!/etc/ssh/ssh_host_ed25519_key.pub 13 | 14 | [Service] 15 | ExecStart=/usr/bin/ssh-keygen -A 16 | Type=oneshot 17 | RemainAfterExit=yes 18 | -------------------------------------------------------------------------------- /xmlto/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=xmlto 3 | pkgver=0.0.29 4 | pkgrel=1 5 | pkgdesc="Convert xml to many other formats" 6 | arch=('x86_64') 7 | url="https://pagure.io/xmlto" 8 | license=('GPL') 9 | depends=('libxslt' 'perl-yaml-syck' 'perl-test-pod') 10 | makedepends=('docbook-xsl') 11 | source=("https://pagure.io/xmlto/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz") 12 | md5sums=('556f2642cdcd005749bd4c08bc621c37') 13 | 14 | build() { 15 | cd ${pkgname}-${pkgver} 16 | 17 | autoconf -v 18 | ./configure BASH=/bin/bash \ 19 | --prefix=/usr \ 20 | --mandir=/usr/share/man 21 | make 22 | } 23 | 24 | package() { 25 | cd ${pkgname}-${pkgver} 26 | 27 | make DESTDIR=${pkgdir} install 28 | } 29 | 30 | -------------------------------------------------------------------------------- /libssh2/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=libssh2 3 | pkgver=1.11.1 4 | pkgrel=1 5 | pkgdesc="A library implementing the SSH2 protocol as defined by Internet Drafts" 6 | url="https://www.libssh2.org/" 7 | arch=('x86_64') 8 | license=('BSD') 9 | depends=('openssl') 10 | makedepends=('zlib') 11 | options=('!libtool') 12 | source=("https://www.libssh2.org/download/$pkgname-$pkgver.tar.xz") 13 | md5sums=('54111b78a406f8a23e603d342de90056') 14 | 15 | build() { 16 | cd ${pkgname}-${pkgver} 17 | 18 | ./configure --prefix=/usr 19 | make 20 | } 21 | 22 | package() { 23 | cd ${pkgname}-${pkgver} 24 | make DESTDIR=${pkgdir} install 25 | 26 | install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE 27 | } 28 | -------------------------------------------------------------------------------- /sed/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | # rebuild libtool on any update 3 | 4 | pkgname=sed 5 | pkgver=4.9 6 | pkgrel=2 7 | pkgdesc="GNU stream editor" 8 | arch=('x86_64') 9 | url="https://www.gnu.org/software/sed" 10 | license=('GPL3') 11 | groups=('base') 12 | depends=('acl' 'sh') 13 | makedepends=('gettext') 14 | source=("https://ftp.gnu.org/gnu/sed/sed-${pkgver}.tar.xz") 15 | sha1sums=('8ded1b543f1f558cbd5d7b713602f6a8ee84bde4') 16 | 17 | build() { 18 | cd ${pkgname}-${pkgver} 19 | 20 | ./configure --prefix=/usr 21 | make 22 | } 23 | 24 | check() { 25 | cd ${pkgname}-${pkgver} 26 | 27 | make check 28 | } 29 | 30 | package() { 31 | cd ${pkgname}-${pkgver} 32 | 33 | make DESTDIR=${pkgdir} install 34 | } 35 | 36 | -------------------------------------------------------------------------------- /filesystem/passwd: -------------------------------------------------------------------------------- 1 | root:x:0:0:root:/root:/bin/bash 2 | bin:x:1:1:bin:/bin:/sbin/nologin 3 | daemon:x:2:2:daemon:/sbin:/sbin/nologin 4 | mail:x:8:12:mail:/var/spool/mail:/sbin/nologin 5 | ftp:x:14:11:ftp:/srv/ftp:/sbin/nologin 6 | http:x:33:33:http:/srv/http:/sbin/nologin 7 | uuidd:x:68:68:uuidd:/:/sbin/nologin 8 | dbus:x:81:81:dbus:/:/sbin/nologin 9 | nobody:x:99:99:nobody:/:/sbin/nologin 10 | systemd-journal-gateway:x:191:191:systemd-journal-gateway:/:/sbin/nologin 11 | systemd-timesync:x:192:192:systemd-timesync:/:/sbin/nologin 12 | systemd-network:x:193:193:systemd-network:/:/sbin/nologin 13 | systemd-bus-proxy:x:194:194:systemd-bus-proxy:/:/sbin/nologin 14 | systemd-resolve:x:195:195:systemd-resolve:/:/sbin/nologin 15 | -------------------------------------------------------------------------------- /mkinitcpio-openswap/openswap.hook: -------------------------------------------------------------------------------- 1 | run_hook () 2 | { 3 | ## read openswap configurations 4 | source /openswap.conf 5 | 6 | if [ -z "$keyfile_device" ] || [ -z "$keyfile_filename" ] 7 | then 8 | ## case when no keyfile provided in configurations 9 | cryptsetup open $cryptsetup_options "$swap_device" "$crypt_swap_name" 10 | else 11 | ## case when keyfile is provided in configurations 12 | mkdir openswap_keymount 13 | mount $keyfile_device_mount_options "$keyfile_device" openswap_keymount 14 | cryptsetup open $cryptsetup_options --key-file "openswap_keymount/$keyfile_filename" "$swap_device" "$crypt_swap_name" 15 | umount openswap_keymount 16 | fi 17 | } 18 | -------------------------------------------------------------------------------- /glibc/locale.gen.txt: -------------------------------------------------------------------------------- 1 | # Configuration file for locale-gen 2 | # 3 | # lists of locales that are to be generated by the locale-gen command. 4 | # 5 | # Each line is of the form: 6 | # 7 | # 8 | # 9 | # where is one of the locales given in /usr/share/i18n/locales 10 | # and is one of the character sets listed in /usr/share/i18n/charmaps 11 | # 12 | # Examples: 13 | # en_US ISO-8859-1 14 | # en_US.UTF-8 UTF-8 15 | # de_DE ISO-8859-1 16 | # de_DE@euro ISO-8859-15 17 | # 18 | # The locale-gen command will generate all the locales, 19 | # placing them in /usr/lib/locale. 20 | # 21 | # A list of supported locales is included in this file. 22 | # Uncomment the ones you need. 23 | # 24 | -------------------------------------------------------------------------------- /linux/vfs-ino.patch: -------------------------------------------------------------------------------- 1 | SPDX-License-Identifier: GPL-2.0 2 | 3 | diff --git a/fs/inode.c b/fs/inode.c 4 | index 7125b73b5367..7272d50849f9 100644 5 | --- a/fs/inode.c 6 | +++ b/fs/inode.c 7 | @@ -1043,6 +1043,8 @@ unsigned int get_next_ino(void) 8 | unsigned int *p = &get_cpu_var(last_ino); 9 | unsigned int res = *p; 10 | 11 | +start: 12 | + 13 | #ifdef CONFIG_SMP 14 | if (unlikely((res & (LAST_INO_BATCH-1)) == 0)) { 15 | static atomic_t shared_last_ino; 16 | @@ -1055,7 +1057,7 @@ unsigned int get_next_ino(void) 17 | res++; 18 | /* get_next_ino should not provide a 0 inode number */ 19 | if (unlikely(!res)) 20 | - res++; 21 | + goto start; 22 | *p = res; 23 | put_cpu_var(last_ino); 24 | return res; 25 | -------------------------------------------------------------------------------- /pam/glibc216.patch: -------------------------------------------------------------------------------- 1 | Index: pam_unix2-2.9.1/src/read-files.c 2 | =================================================================== 3 | --- pam_unix2-2.9.1.orig/src/read-files.c 4 | +++ pam_unix2-2.9.1/src/read-files.c 5 | @@ -30,8 +30,14 @@ 6 | #include 7 | #include 8 | #include 9 | -#include 10 | +#include 11 | #define __libc_lock_t pthread_mutex_t 12 | +#define __libc_lock_define_initialized(CLASS,NAME) \ 13 | + CLASS __libc_lock_t NAME = PTHREAD_MUTEX_INITIALIZER; 14 | +#define __libc_lock_lock(NAME) \ 15 | + pthread_mutex_lock, (&(NAME)) 16 | +#define __libc_lock_unlock(NAME) \ 17 | + pthread_mutex_unlock, (&(NAME)) 18 | 19 | #include "read-files.h" 20 | -------------------------------------------------------------------------------- /libtasn1/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=libtasn1 3 | pkgver=4.19.0 4 | pkgrel=2 5 | pkgdesc="The ASN.1 library used in GNUTLS" 6 | arch=('x86_64') 7 | license=('GPL3' 'LGPL') 8 | url="https://www.gnu.org/software/libtasn1/" 9 | depends=('glibc' 'texinfo') 10 | checkdepends=('valgrind') 11 | options=('!libtool') 12 | source=("https://ftp.gnu.org/gnu/libtasn1/${pkgname}-${pkgver}.tar.gz") 13 | sha1sums=('9c4b6616de65513a0a4d27e0b7f25184391ca8fd') 14 | 15 | build() { 16 | cd ${pkgname}-${pkgver} 17 | 18 | ./configure --prefix=/usr 19 | make 20 | } 21 | 22 | check() { 23 | cd ${pkgname}-${pkgver} 24 | 25 | make check 26 | } 27 | 28 | package() { 29 | cd ${pkgname}-${pkgver} 30 | 31 | make DESTDIR=${pkgdir} install 32 | } 33 | -------------------------------------------------------------------------------- /linux-next/vfs-ino.patch: -------------------------------------------------------------------------------- 1 | SPDX-License-Identifier: GPL-2.0 2 | 3 | diff --git a/fs/inode.c b/fs/inode.c 4 | index 7125b73b5367..7272d50849f9 100644 5 | --- a/fs/inode.c 6 | +++ b/fs/inode.c 7 | @@ -1043,6 +1043,8 @@ unsigned int get_next_ino(void) 8 | unsigned int *p = &get_cpu_var(last_ino); 9 | unsigned int res = *p; 10 | 11 | +start: 12 | + 13 | #ifdef CONFIG_SMP 14 | if (unlikely((res & (LAST_INO_BATCH-1)) == 0)) { 15 | static atomic_t shared_last_ino; 16 | @@ -1055,7 +1057,7 @@ unsigned int get_next_ino(void) 17 | res++; 18 | /* get_next_ino should not provide a 0 inode number */ 19 | if (unlikely(!res)) 20 | - res++; 21 | + goto start; 22 | *p = res; 23 | put_cpu_var(last_ino); 24 | return res; 25 | -------------------------------------------------------------------------------- /logrotate/path.patch: -------------------------------------------------------------------------------- 1 | --- config.h 2012-08-01 12:56:47.000000000 +0200 2 | +++ config.h 2012-08-03 09:53:05.025039199 +0200 3 | @@ -27,11 +27,11 @@ 4 | * Default settings for Linux - leave these last. 5 | */ 6 | #ifndef DEFAULT_MAIL_COMMAND 7 | -#define DEFAULT_MAIL_COMMAND "/bin/mail" 8 | +#define DEFAULT_MAIL_COMMAND "/usr/bin/mail" 9 | #endif 10 | 11 | #ifndef COMPRESS_COMMAND 12 | -#define COMPRESS_COMMAND "/bin/gzip" 13 | +#define COMPRESS_COMMAND "/usr/bin/gzip" 14 | #endif 15 | 16 | #ifndef COMPRESS_EXT 17 | @@ -39,7 +39,7 @@ 18 | #endif 19 | 20 | #ifndef UNCOMPRESS_COMMAND 21 | -#define UNCOMPRESS_COMMAND "/bin/gunzip" 22 | +#define UNCOMPRESS_COMMAND "/usr/bin/gunzip" 23 | #endif 24 | 25 | #ifndef STATEFILE 26 | -------------------------------------------------------------------------------- /perl-test-pod/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=perl-test-pod 3 | _pkgname=Test-Pod 4 | pkgver=1.52 5 | pkgrel=7 6 | pkgdesc="Check for POD errors in files" 7 | arch=('x86_64') 8 | license=('GPL' 'PerlArtistic') 9 | url="https://metacpan.org/pod/Test::Pod" 10 | depends=('perl') 11 | options=('!emptydirs') 12 | source=("https://cpan.metacpan.org/authors/id/E/ET/ETHER/${_pkgname}-${pkgver}.tar.gz") 13 | md5sums=('472dda77746d48e6465bf62e47aeca81') 14 | 15 | build() { 16 | cd ${_pkgname}-${pkgver} 17 | 18 | perl Makefile.PL INSTALLDIRS=vendor 19 | make 20 | } 21 | 22 | check() { 23 | cd ${_pkgname}-${pkgver} 24 | 25 | make test 26 | } 27 | 28 | package() { 29 | cd ${_pkgname}-${pkgver} 30 | 31 | make DESTDIR=${pkgdir} install 32 | } 33 | -------------------------------------------------------------------------------- /python3-systemd/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=python3-systemd 3 | _pkgname=python-systemd 4 | pkgver=235 5 | pkgrel=4 6 | pkgdesc="Python module for native access to the systemd facilities." 7 | arch=('x86_64') 8 | license=('LGPLv2+') 9 | url="https://github.com/systemd/python-systemd" 10 | depends=('python3') 11 | makedepends=('python3-sphinx' 'python3-lxml' 'systemd') 12 | source=("https://github.com/systemd/python-systemd/archive/v${pkgver}.tar.gz") 13 | md5sums=('760003406e2fac84ff1bcc40ae696af6') 14 | 15 | build() { 16 | cd ${_pkgname}-${pkgver} 17 | 18 | python3 setup.py build 19 | make 20 | #make sphinx-html 21 | } 22 | 23 | package() { 24 | cd ${_pkgname}-${pkgver} 25 | 26 | python3 setup.py install --root=${pkgdir}/ 27 | } 28 | -------------------------------------------------------------------------------- /linux/aufs_permission.diff: -------------------------------------------------------------------------------- 1 | diff --git a/fs/aufs/i_op.c b/fs/aufs/i_op.c 2 | index c3ff23f485d7..329d73968dc3 100644 3 | --- a/fs/aufs/i_op.c 4 | +++ b/fs/aufs/i_op.c 5 | @@ -1288,9 +1288,13 @@ static int aufs_getattr(struct mnt_idmap *idmap, const struct path *path, 6 | goto out_fill; /* pretending success */ 7 | 8 | positive = d_is_positive(h_path.dentry); 9 | - if (positive) 10 | + if (positive) { 11 | /* no vfsub version */ 12 | - err = vfs_getattr(&h_path, st, request, query); 13 | + if (query & AT_GETATTR_NOSEC) 14 | + err = vfs_getattr_nosec(&h_path, st, request, query); 15 | + else 16 | + err = vfs_getattr(&h_path, st, request, query); 17 | + } 18 | if (!err) { 19 | if (positive) 20 | au_refresh_iattr(inode, st, 21 | -------------------------------------------------------------------------------- /linux-next/aufs_permission.diff: -------------------------------------------------------------------------------- 1 | diff --git a/fs/aufs/i_op.c b/fs/aufs/i_op.c 2 | index c3ff23f485d7..329d73968dc3 100644 3 | --- a/fs/aufs/i_op.c 4 | +++ b/fs/aufs/i_op.c 5 | @@ -1288,9 +1288,13 @@ static int aufs_getattr(struct mnt_idmap *idmap, const struct path *path, 6 | goto out_fill; /* pretending success */ 7 | 8 | positive = d_is_positive(h_path.dentry); 9 | - if (positive) 10 | + if (positive) { 11 | /* no vfsub version */ 12 | - err = vfs_getattr(&h_path, st, request, query); 13 | + if (query & AT_GETATTR_NOSEC) 14 | + err = vfs_getattr_nosec(&h_path, st, request, query); 15 | + else 16 | + err = vfs_getattr(&h_path, st, request, query); 17 | + } 18 | if (!err) { 19 | if (positive) 20 | au_refresh_iattr(inode, st, 21 | -------------------------------------------------------------------------------- /patch/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=patch 3 | pkgver=2.7.6 4 | pkgrel=4 5 | pkgdesc="A utility to apply patch files to original sources" 6 | arch=('x86_64') 7 | url="https://www.gnu.org/software/patch/patch.html" 8 | license=('GPL') 9 | groups=('base-devel') 10 | depends=('glibc') 11 | optdepends=('ed: Interpret the patch as an ed script') 12 | source=("https://ftp.gnu.org/gnu/patch/${pkgname}-${pkgver}.tar.xz") 13 | md5sums=('78ad9937e4caadcba1526ef1853730d5') 14 | 15 | build() { 16 | cd ${pkgname}-${pkgver} 17 | 18 | ./configure --prefix=/usr 19 | make 20 | } 21 | 22 | check() { 23 | cd ${pkgname}-${pkgver} 24 | 25 | make check 26 | } 27 | 28 | package() { 29 | cd ${pkgname}-${pkgver} 30 | 31 | make DESTDIR=${pkgdir} install 32 | } 33 | -------------------------------------------------------------------------------- /rpcbind/rpcbind.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/rpcb_svc_com.c b/src/rpcb_svc_com.c 2 | index 5862c26..e11f61b 100644 3 | --- a/src/rpcb_svc_com.c 4 | +++ b/src/rpcb_svc_com.c 5 | @@ -48,6 +48,7 @@ 6 | #include 7 | #include 8 | #include 9 | +#include 10 | #include 11 | #include 12 | #include 13 | @@ -432,7 +433,7 @@ rpcbproc_taddr2uaddr_com(void *arg, struct svc_req *rqstp /*__unused*/, 14 | static bool_t 15 | xdr_encap_parms(XDR *xdrs, struct encap_parms *epp) 16 | { 17 | - return (xdr_bytes(xdrs, &(epp->args), (u_int *) &(epp->arglen), ~0)); 18 | + return (xdr_bytes(xdrs, &(epp->args), (u_int *) &(epp->arglen), RPC_MAXDATASIZE)); 19 | } 20 | 21 | /* 22 | -------------------------------------------------------------------------------- /rpcsvc-proto/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=rpcsvc-proto 3 | pkgver=1.4.4 4 | pkgrel=1 5 | pkgdesc='Contains rpcsvc proto.x files from glibc, additionally it contains rpcgen deprecated from glibc' 6 | arch=('x86_64') 7 | url="https://github.com/thkukuk/rpcsvc-proto" 8 | license=('BSD') 9 | depends=('glibc') 10 | source=("https://github.com/thkukuk/rpcsvc-proto/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz") 11 | md5sums=('bf908de360308d909e9cc469402ff2ef') 12 | 13 | build() { 14 | cd ${pkgname}-${pkgver} 15 | 16 | ./configure --prefix=/usr 17 | make 18 | } 19 | 20 | package() { 21 | cd ${pkgname}-${pkgver} 22 | 23 | make DESTDIR=${pkgdir} install 24 | install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE 25 | } 26 | -------------------------------------------------------------------------------- /jfsutils/inttypes.patch: -------------------------------------------------------------------------------- 1 | diff -Naur old/libfs/devices.h new/libfs/devices.h 2 | --- old/libfs/devices.h 2005-11-23 07:43:55.000000000 +1100 3 | +++ new/libfs/devices.h 2013-01-06 11:30:25.381538024 +1100 4 | @@ -40,6 +40,8 @@ 5 | #define ERROR_INVALID_PARAMETER 87 6 | #define ERROR_DISK_FULL 112 7 | 8 | +#include 9 | + 10 | struct stat; 11 | 12 | int ujfs_get_dev_size(FILE *, int64_t * size); 13 | https://bugs.gentoo.org/580056 14 | 15 | --- a/libfs/devices.c 16 | +++ b/libfs/devices.c 17 | @@ -30,6 +30,10 @@ 18 | #include 19 | #include 20 | 21 | +#if HAVE_SYS_SYSMACROS_H 22 | +#include 23 | +#endif 24 | + 25 | #ifdef HAVE_SYS_MOUNT_H 26 | #ifdef HAVE_SYS_PARAM_H 27 | #include 28 | -------------------------------------------------------------------------------- /libassuan/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=libassuan 3 | pkgver=3.0.0 4 | pkgrel=1 5 | pkgdesc="A IPC library used by some GnuPG related software" 6 | arch=('x86_64') 7 | license=('GPL') 8 | url="https://www.gnupg.org/related_software/libassuan" 9 | depends=('libgpg-error') 10 | options=('!libtool') 11 | source=("https://www.gnupg.org/ftp/gcrypt/libassuan/${pkgname}-${pkgver}.tar.bz2") 12 | sha256sums=('0b160cbb898b852c6c04314b9a63e90ca87501305ad72a58a010f808665bbaf6') 13 | 14 | build() { 15 | cd ${pkgname}-${pkgver} 16 | 17 | ./configure --prefix=/usr 18 | make 19 | } 20 | 21 | check() { 22 | cd ${pkgname}-${pkgver} 23 | 24 | make check 25 | } 26 | 27 | package() { 28 | cd ${pkgname}-${pkgver} 29 | 30 | make DESTDIR=${pkgdir} install 31 | } 32 | 33 | -------------------------------------------------------------------------------- /libgpg-error/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=libgpg-error 3 | pkgver=1.51 4 | pkgrel=1 5 | pkgdesc="Support library for libgcrypt" 6 | arch=('x86_64') 7 | url="https://www.gnupg.org/software/libgpg-error/index.html" 8 | license=('LGPL') 9 | depends=('glibc' 'sh') 10 | options=('!libtool') 11 | source=("https://www.gnupg.org/ftp/gcrypt/libgpg-error/${pkgname}-${pkgver}.tar.bz2") 12 | sha256sums=('be0f1b2db6b93eed55369cdf79f19f72750c8c7c39fc20b577e724545427e6b2') 13 | 14 | build() { 15 | cd ${pkgname}-${pkgver} 16 | 17 | ./configure --prefix=/usr 18 | make 19 | } 20 | 21 | check() { 22 | cd ${pkgname}-${pkgver} 23 | 24 | make check 25 | } 26 | 27 | 28 | package() { 29 | cd ${pkgname}-${pkgver} 30 | 31 | make DESTDIR=${pkgdir} install 32 | } 33 | 34 | -------------------------------------------------------------------------------- /run-parts/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=run-parts 3 | pkgver=5.17 4 | pkgrel=1 5 | pkgdesc='Run scripts or programs in a directory' 6 | arch=('x86_64') 7 | url='https://packages.qa.debian.org/d/debianutils.html' 8 | license=('GPL') 9 | depends=('glibc') 10 | source=("https://cdn-aws.deb.debian.org/debian/pool/main/d/debianutils/debianutils_${pkgver}.tar.xz") 11 | md5sums=('20f538efb1d4ddfa9971714e8fc6e5a7') 12 | 13 | build() { 14 | cd debianutils-${pkgver} 15 | 16 | autoreconf -vfi 17 | ./configure --prefix=/usr 18 | make run-parts 19 | } 20 | 21 | package() { 22 | cd debianutils-${pkgver} 23 | 24 | install -D -m755 run-parts ${pkgdir}/usr/bin/run-parts 25 | install -D -m644 run-parts.8 ${pkgdir}/usr/share/man/man8/run-parts.8 26 | } 27 | -------------------------------------------------------------------------------- /bc/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=bc 3 | pkgver=1.07.1 4 | pkgrel=5 5 | pkgdesc="An arbitrary precision calculator language" 6 | arch=('x86_64') 7 | url="https://www.gnu.org/software/bc/" 8 | license=('GPL') 9 | depends=('readline') 10 | source=("https://ftp.gnu.org/gnu/bc/${pkgname}-${pkgver}.tar.gz" 11 | 'bc-1.06-void.patch') 12 | md5sums=('cda93857418655ea43590736fc3ca9fc' 13 | 'fe85d42dd4151801e9b8c2d2c4d990bf') 14 | 15 | build() { 16 | cd ${pkgname}-${pkgver} 17 | #patch -p0 -i ${srcdir}/bc-1.06-void.patch 18 | 19 | ./configure --prefix=/usr --mandir=/usr/share/man \ 20 | --infodir=/usr/share/info --with-readline 21 | make 22 | } 23 | 24 | package() { 25 | cd ${pkgname}-${pkgver} 26 | 27 | make DESTDIR=${pkgdir} install 28 | } 29 | -------------------------------------------------------------------------------- /debugedit/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=debugedit 3 | pkgver=5.1 4 | pkgrel=1 5 | pkgdesc='Provides programs and scripts for creating debuginfo and source file distributions' 6 | arch=('x86_64') 7 | url='https://sourceware.org/debugedit/' 8 | license=('LGPL2.1') 9 | groups=('base-devel') 10 | depends=('elfutils') 11 | source=("https://sourceware.org/ftp/debugedit/${pkgver}/${pkgname}-${pkgver}.tar.xz") 12 | sha512sums=('72f4dcc0fba223a85d261aa38400e229f04c7c96adafe455919a8f702d3d7d9cdfb991b403d53f2ac4948ca19eeb43d3d49c0ea2616065657c120647a30575d3') 13 | 14 | build() { 15 | cd ${pkgname}-${pkgver} 16 | 17 | ./configure --prefix=/usr 18 | make 19 | } 20 | 21 | package() { 22 | cd ${pkgname}-${pkgver} 23 | 24 | make DESTDIR=${pkgdir} install 25 | } 26 | -------------------------------------------------------------------------------- /dejagnu/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=dejagnu 3 | pkgver=1.6.3 4 | pkgrel=4 5 | pkgdesc="Framework for testing other programs" 6 | arch=('x86_64') 7 | url="https://www.gnu.org/software/dejagnu/" 8 | license=('GPL') 9 | depends=('sh' 'expect') 10 | makedepends=('dejagnu') 11 | options=('!libtool') 12 | source=("https://ftp.gnu.org/gnu/dejagnu/${pkgname}-${pkgver}.tar.gz") 13 | sha256sums=('87daefacd7958b4a69f88c6856dbd1634261963c414079d0c371f589cd66a2e3') 14 | 15 | 16 | build() { 17 | cd ${pkgname}-${pkgver} 18 | 19 | ./configure --prefix=/usr 20 | make 21 | } 22 | 23 | check() { 24 | # no fail 25 | cd ${pkgname}-${pkgver} 26 | 27 | make check 28 | } 29 | 30 | package() { 31 | cd ${pkgname}-${pkgver} 32 | 33 | make DESTDIR=${pkgdir}/ install 34 | } 35 | -------------------------------------------------------------------------------- /expat/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=expat 3 | pkgver=2.6.4 4 | pkgrel=1 5 | pkgdesc="An XML Parser library written in C" 6 | arch=('x86_64') 7 | url="https://libexpat.github.io/" 8 | license=('custom') 9 | depends=('glibc') 10 | options=('!libtool') 11 | # moved to https://github.com/libexpat/libexpat 12 | source=("https://downloads.sourceforge.net/sourceforge/expat/${pkgname}-${pkgver}.tar.xz") 13 | sha1sums=('97d653e8f5a30dfdec7d6e525151efeac7890942') 14 | 15 | build() { 16 | cd ${pkgname}-${pkgver} 17 | 18 | ./configure --prefix=/usr --mandir=/usr/share/man 19 | make 20 | } 21 | 22 | package() { 23 | cd ${pkgname}-${pkgver} 24 | 25 | make DESTDIR=${pkgdir} install 26 | install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING 27 | } 28 | -------------------------------------------------------------------------------- /linux/change-default-console-loglevel.patch: -------------------------------------------------------------------------------- 1 | --- linux-3.16/include/linux/printk.h.old 2014-08-04 18:48:30.686043266 +0200 2 | +++ linux-3.16/include/linux/printk.h 2014-08-04 18:48:47.706218528 +0200 3 | @@ -37,7 +37,7 @@ 4 | #define CONSOLE_LOGLEVEL_SILENT 0 /* Mum's the word */ 5 | #define CONSOLE_LOGLEVEL_MIN 1 /* Minimum loglevel we let people use */ 6 | #define CONSOLE_LOGLEVEL_QUIET 4 /* Shhh ..., when booted with "quiet" */ 7 | -#define CONSOLE_LOGLEVEL_DEFAULT 7 /* anything MORE serious than KERN_DEBUG */ 8 | +#define CONSOLE_LOGLEVEL_DEFAULT 4 /* anything MORE serious than KERN_DEBUG */ 9 | #define CONSOLE_LOGLEVEL_DEBUG 10 /* issue debug messages */ 10 | #define CONSOLE_LOGLEVEL_MOTORMOUTH 15 /* You can't shut this one up */ 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /mkinitcpio-openswap/openswap.conf: -------------------------------------------------------------------------------- 1 | ## cryptsetup open $swap_device $crypt_swap_name 2 | ## get uuid using e.g. lsblk -f 3 | swap_device=/dev/disk/by-uuid/2788eb78-074d-4424-9f1d-ebffc9c37262 4 | crypt_swap_name=cryptswap 5 | 6 | ## one can optionally provide a keyfile device and path on this device 7 | ## to the keyfile 8 | keyfile_device=/dev/mapper/cryptroot 9 | keyfile_filename=etc/keyfile-cryptswap 10 | 11 | ## additional arguments are given to mount for keyfile_device 12 | ## has to start with --options (if so desired) 13 | #keyfile_device_mount_options="--options=subvol=__active/__" 14 | 15 | ## additional arguments are given to cryptsetup 16 | ## --allow-discards options is desired in case swap is on SSD partition 17 | cryptsetup_options="--type luks" 18 | -------------------------------------------------------------------------------- /bash/system.bashrc: -------------------------------------------------------------------------------- 1 | # 2 | # /etc/bash.bashrc 3 | # 4 | 5 | # If not running interactively, don't do anything 6 | [[ $- != *i* ]] && return 7 | 8 | PS1='[\u@\h \W]\$ ' 9 | PS2='> ' 10 | PS3='> ' 11 | PS4='+ ' 12 | 13 | case ${TERM} in 14 | xterm*|rxvt*|Eterm|aterm|kterm|gnome*) 15 | PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033]0;%s@%s:%s\007" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/~}"' 16 | 17 | ;; 18 | screen) 19 | PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033_%s@%s:%s\033\\" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/~}"' 20 | ;; 21 | esac 22 | 23 | [ -r /usr/share/bash-completion/bash_completion ] && . /usr/share/bash-completion/bash_completion 24 | -------------------------------------------------------------------------------- /bison/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=bison 3 | pkgver=3.8.2 4 | pkgrel=2 5 | pkgdesc="The GNU general-purpose parser generator" 6 | arch=('x86_64') 7 | license=('GPL3') 8 | url="https://www.gnu.org/software/bison/bison.html" 9 | depends=('glibc' 'm4' 'sh') 10 | groups=('base-devel') 11 | source=("https://ftp.gnu.org/gnu/bison/${pkgname}-${pkgver}.tar.xz") 12 | sha1sums=('da1522a00f8c23c1abf69dbd2e99078d2a484b96') 13 | 14 | build() { 15 | cd ${pkgname}-${pkgver} 16 | 17 | ./configure --prefix=/usr \ 18 | --datadir=/usr/share 19 | #--without-libtextstyle-prefix 20 | make 21 | } 22 | 23 | check() { 24 | cd ${pkgname}-${pkgver} 25 | 26 | make check 27 | } 28 | 29 | package() { 30 | cd ${pkgname}-${pkgver} 31 | 32 | make DESTDIR=${pkgdir} install 33 | } 34 | -------------------------------------------------------------------------------- /linux-next/vbox-58.patch: -------------------------------------------------------------------------------- 1 | diff --git a/mm/vmalloc.c b/mm/vmalloc.c 2 | index 3091c2ca60df..f027bc7d2534 100644 3 | --- a/mm/vmalloc.c 4 | +++ b/mm/vmalloc.c 5 | @@ -325,6 +325,7 @@ int map_kernel_range(unsigned long start, unsigned long size, pgprot_t prot, 6 | flush_cache_vmap(start, start + size); 7 | return ret; 8 | } 9 | +EXPORT_SYMBOL(map_kernel_range); 10 | 11 | int is_vmalloc_or_module_addr(const void *x) 12 | { 13 | @@ -2130,6 +2131,7 @@ struct vm_struct *__get_vm_area_caller(unsigned long size, unsigned long flags, 14 | return __get_vm_area_node(size, 1, flags, start, end, NUMA_NO_NODE, 15 | GFP_KERNEL, caller); 16 | } 17 | +EXPORT_SYMBOL(__get_vm_area_caller); 18 | 19 | /** 20 | * get_vm_area - reserve a contiguous kernel virtual area 21 | -------------------------------------------------------------------------------- /perl-error/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=perl-error 3 | _pkgname=Error 4 | pkgver=0.17029 5 | pkgrel=5 6 | pkgdesc="Perl/CPAN Error module - Error/exception handling in an OO-ish way" 7 | url="https://metacpan.org/pod/Error" 8 | arch=('x86_64') 9 | license=('PerlArtistic' 'GPL') 10 | depends=('perl') 11 | options=('!emptydirs') 12 | source=("https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/${_pkgname}-${pkgver}.tar.gz") 13 | md5sums=('6732b1c6207e4a9a3e2987c88368039a') 14 | 15 | build() { 16 | cd ${_pkgname}-${pkgver} 17 | 18 | perl Makefile.PL INSTALLDIRS=vendor 19 | make 20 | } 21 | 22 | check() { 23 | cd ${_pkgname}-${pkgver} 24 | 25 | make test 26 | } 27 | 28 | package() { 29 | cd ${_pkgname}-${pkgver} 30 | 31 | make DESTDIR=${pkgdir} install 32 | } 33 | -------------------------------------------------------------------------------- /rdfind/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=rdfind 3 | pkgver=1.6.0 4 | pkgrel=1 5 | pkgdesc='Command line tool that finds duplicate files.' 6 | arch=('x86_64') 7 | url='https://rdfind.pauldreik.se' 8 | license=('GPL2') 9 | depends=('nettle') 10 | source=("https://rdfind.pauldreik.se/${pkgname}-${pkgver}.tar.gz") 11 | sha256sums=('7a406e8ef1886a5869655604618dd98f672f12c6a6be4926d053be65070f3279') 12 | 13 | build() { 14 | cd ${pkgname}-${pkgver} 15 | 16 | ./configure --prefix=/usr 17 | make 18 | } 19 | 20 | check() { 21 | cd ${pkgname}-${pkgver} 22 | 23 | make check 24 | } 25 | 26 | package() { 27 | cd ${pkgname}-${pkgver} 28 | 29 | make DESTDIR=${pkgdir} install 30 | install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING 31 | } 32 | -------------------------------------------------------------------------------- /libidn2/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=libidn2 3 | pkgver=2.3.7 4 | _pkgver=2.3.7 5 | pkgrel=1 6 | pkgdesc="Implementation of the IDNA2008 + TR46 specifications" 7 | url="https://www.gnu.org/software/libidn/#libidn2" 8 | arch=('x86_64') 9 | license=('GPL3' 'LGPL') 10 | depends=('libunistring') 11 | makedepends=('pkgconfig') 12 | options=('!libtool') 13 | source=("https://ftp.gnu.org/gnu/libidn/${pkgname}-${_pkgver}.tar.gz") 14 | sha1sums=('359acd390cb123b491076a49af98b6555ce72133') 15 | 16 | build() { 17 | cd ${pkgname}-${pkgver} 18 | 19 | ./configure --prefix=/usr 20 | make 21 | } 22 | 23 | check() { 24 | 25 | cd ${pkgname}-${pkgver} 26 | 27 | make check 28 | } 29 | 30 | package() { 31 | cd ${pkgname}-${pkgver} 32 | 33 | make DESTDIR=${pkgdir} install 34 | } 35 | -------------------------------------------------------------------------------- /libpipeline/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=libpipeline 3 | pkgver=1.5.8 4 | pkgrel=1 5 | pkgdesc="C library for manipulating pipelines of subprocesses in a flexible and convenient way" 6 | arch=('x86_64') 7 | url="https://libpipeline.nongnu.org/" 8 | license=('GPL') 9 | groups=('base') 10 | depends=('glibc') 11 | options=('!libtool') 12 | source=("https://download-mirror.savannah.gnu.org/releases/libpipeline/${pkgname}-${pkgver}.tar.gz") 13 | md5sums=('17ac6969b2015386bcb5d278a08a40b5') 14 | 15 | build() { 16 | cd ${pkgname}-${pkgver} 17 | 18 | ./configure --prefix=/usr 19 | make 20 | } 21 | 22 | check() { 23 | cd ${pkgname}-${pkgver} 24 | 25 | make -k check 26 | } 27 | 28 | package() { 29 | cd ${pkgname}-${pkgver} 30 | 31 | make DESTDIR=${pkgdir}/ install 32 | } 33 | -------------------------------------------------------------------------------- /make/perl26.patch: -------------------------------------------------------------------------------- 1 | From d9d4e06084a4c7da480bd49a3487aadf6ba77b54 Mon Sep 17 00:00:00 2001 2 | From: Enrique Olaizola 3 | Date: Sat, 27 May 2017 14:24:33 -0400 4 | Subject: [PATCH] * tests/run_make_tests.pl: [SV 50902] Find Perl modules 5 | 6 | --- 7 | tests/run_make_tests.pl | 3 +++ 8 | 1 file changed, 3 insertions(+) 9 | 10 | diff --git a/tests/run_make_tests.pl b/tests/run_make_tests.pl 11 | index a74417a..a844094 100644 12 | --- a/tests/run_make_tests.pl 13 | +++ b/tests/run_make_tests.pl 14 | @@ -64,6 +64,9 @@ if ($^O eq 'VMS') 15 | $CMD_rmfile = 'delete_file -no_ask'; 16 | } 17 | 18 | +use FindBin; 19 | +use lib "$FindBin::Bin"; 20 | + 21 | require "test_driver.pl"; 22 | require "config-flags.pm"; 23 | 24 | -- 25 | 2.16.1 26 | -------------------------------------------------------------------------------- /tar/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=tar 3 | pkgver=1.35 4 | pkgrel=1 5 | pkgdesc="Utility used to store, backup, and transport files" 6 | arch=('x86_64') 7 | url="https://www.gnu.org/software/tar/tar.html" 8 | license=('GPL3') 9 | groups=('base') 10 | depends=('glibc' 'sh') 11 | options=('!emptydirs') 12 | source=("https://ftp.gnu.org/gnu/tar/${pkgname}-${pkgver}.tar.xz") 13 | sha1sums=('6b9824c92deddbd7021801515270211f5252fbd8') 14 | 15 | build() { 16 | cd ${pkgname}-${pkgver} 17 | 18 | ./configure --prefix=/usr \ 19 | --libexecdir=/usr/lib/tar \ 20 | --bindir=/bin 21 | make 22 | } 23 | 24 | check() { 25 | cd ${pkgname}-${pkgver} 26 | 27 | make check 28 | } 29 | 30 | package() { 31 | cd ${pkgname}-${pkgver} 32 | 33 | make DESTDIR=${pkgdir} install 34 | } 35 | -------------------------------------------------------------------------------- /iptables/0503-extension_cppflags.patch: -------------------------------------------------------------------------------- 1 | Index: b/extensions/GNUmakefile.in 2 | =================================================================== 3 | --- a/extensions/GNUmakefile.in 2012-03-27 12:14:05.000000000 -0400 4 | +++ b/extensions/GNUmakefile.in 2012-03-27 16:03:48.378790221 -0400 5 | @@ -21,7 +21,7 @@ 6 | kinclude_CPPFLAGS = @kinclude_CPPFLAGS@ 7 | 8 | AM_CFLAGS = ${regular_CFLAGS} 9 | -AM_CPPFLAGS = ${regular_CPPFLAGS} -I${top_builddir}/include -I${top_builddir} -I${top_srcdir}/include ${kinclude_CPPFLAGS} 10 | +AM_CPPFLAGS = ${CPPFLAGS} ${regular_CPPFLAGS} -I${top_builddir}/include -I${top_builddir} -I${top_srcdir}/include ${kinclude_CPPFLAGS} 11 | AM_DEPFLAGS = -Wp,-MMD,$(@D)/.$(@F).d,-MT,$@ 12 | AM_LDFLAGS = @noundef_LDFLAGS@ 13 | 14 | -------------------------------------------------------------------------------- /libseccomp/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=libseccomp 3 | pkgver=2.5.5 4 | pkgrel=1 5 | pkgdesc='Library that provides an easy to use, platform independent, interface to the Linux Kernel syscall filtering mechanism.' 6 | arch=('x86_64') 7 | license=('LGPL2.1') 8 | url="https://github.com/seccomp/libseccomp" 9 | depends=('glibc' 'gperf') 10 | options=("!staticlibs") 11 | source=("https://github.com/seccomp/libseccomp/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz") 12 | sha256sums=('248a2c8a4d9b9858aa6baf52712c34afefcf9c9e94b76dce02c1c9aa25fb3375') 13 | 14 | build() { 15 | cd ${pkgname}-${pkgver} 16 | 17 | #./autogen.sh 18 | ./configure --prefix=/usr 19 | make 20 | } 21 | 22 | package() { 23 | cd ${pkgname}-${pkgver} 24 | 25 | make DESTDIR=${pkgdir} install 26 | } 27 | -------------------------------------------------------------------------------- /npth/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=npth 3 | pkgver=1.8 4 | pkgrel=1 5 | pkgdesc='Library to provide the GNU Pth API and thus a non-preemptive threads implementation.' 6 | url="https://www.gnupg.org/software/npth/index.html" 7 | license=('LGPL') 8 | options=('!libtool') 9 | arch=('x86_64') 10 | source=("https://www.gnupg.org/ftp/gcrypt/npth/${pkgname}-${pkgver}.tar.bz2") 11 | sha256sums=('8bd24b4f23a3065d6e5b26e98aba9ce783ea4fd781069c1b35d149694e90ca3e') 12 | 13 | build() { 14 | cd ${pkgname}-${pkgver} 15 | 16 | ./configure --prefix=/usr --enable-maintainer-mode 17 | make 18 | } 19 | 20 | check() { 21 | cd ${pkgname}-${pkgver} 22 | 23 | make check 24 | } 25 | 26 | package() { 27 | cd ${pkgname}-${pkgver} 28 | 29 | make DESTDIR=${pkgdir} install 30 | } 31 | -------------------------------------------------------------------------------- /mirror-check/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=mirror-check 3 | pkgver=2.6 4 | pkgrel=1 5 | pkgdesc="Checks whether the locally used mirror is synced with the main mirror" 6 | arch=('x86_64') 7 | url="https://kaosx.us" 8 | license=('GPL2') 9 | makedepends=('asciidoc') 10 | source=('mirror-check' 11 | 'mirror-check.desktop') 12 | #'mirror-check.svg') 13 | md5sums=('8a7844f18475dc2778e1c04e32539290' 14 | 'aff18a3883a298752fac09d3ce096429') 15 | 16 | package() { 17 | cd ${srcdir} 18 | 19 | install -m 755 -D mirror-check "$pkgdir/usr/bin/mirror-check" 20 | #install -Dm644 "${srcdir}/mirror-check.desktop" "${pkgdir}/usr/share/applications/mirror-check.desktop" 21 | #install -Dm644 "${srcdir}/mirror-check.svg" "${pkgdir}/usr/share/pixmaps/mirror-check.svg" 22 | } 23 | -------------------------------------------------------------------------------- /ed/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=ed 3 | pkgver=1.20.2 4 | pkgrel=1 5 | pkgdesc="A POSIX-compliant line editor" 6 | arch=('x86_64') 7 | license=('GPL') 8 | url="https://www.gnu.org/software/ed/" 9 | groups=('base-devel') 10 | depends=('glibc' 'sh') 11 | options=('!emptydirs') 12 | source=("https://mirrors.kernel.org/gnu/ed/${pkgname}-${pkgver}.tar.lz") 13 | md5sums=('8f31ca1cb5a2e2ca8ee2598cc0bf53e1') 14 | 15 | build() { 16 | cd ${pkgname}-${pkgver} 17 | 18 | ./configure --prefix=/ --mandir=/usr/share/man --infodir=/usr/share/info 19 | make 20 | } 21 | 22 | check() { 23 | 24 | make -C $pkgname-$pkgver check 25 | } 26 | 27 | package() { 28 | cd ${pkgname}-${pkgver} 29 | make DESTDIR=${pkgdir} install 30 | 31 | cd ${pkgdir}/usr/share/info 32 | ln ed.info red.info 33 | } 34 | 35 | -------------------------------------------------------------------------------- /libcap-ng/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=libcap-ng 3 | pkgver=0.8.5 4 | pkgrel=1 5 | pkgdesc='Library intended to make programming with posix capabilities easier than the traditional libcap library.' 6 | arch=('x86_64') 7 | url='https://people.redhat.com/sgrubb/libcap-ng/' 8 | license=('LGPL2.1') 9 | depends=('glibc') 10 | source=("https://people.redhat.com/sgrubb/libcap-ng/${pkgname}-${pkgver}.tar.gz") 11 | sha256sums=('3ba5294d1cbdfa98afaacfbc00b6af9ed2b83e8a21817185dfd844cc8c7ac6ff') 12 | 13 | build() { 14 | cd ${pkgname}-${pkgver} 15 | 16 | ./configure \ 17 | --prefix=/usr \ 18 | --enable-static=no \ 19 | --without-python \ 20 | --without-python3 21 | make 22 | } 23 | 24 | package() { 25 | cd ${pkgname}-${pkgver} 26 | 27 | make DESTDIR=${pkgdir} install 28 | } 29 | -------------------------------------------------------------------------------- /perl-xml-parser/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=perl-xml-parser 3 | _pkgname=XML-Parser 4 | pkgver=2.47 5 | _pkgver=2.47 6 | pkgrel=2 7 | pkgdesc="Expat-based XML parser module for perl" 8 | arch=('x86_64') 9 | license=('GPL' 'PerlArtistic') 10 | url="https://metacpan.org/release/XML-Parser" 11 | depends=('perl' 'expat') 12 | options=('!emptydirs') 13 | source=("https://cpan.metacpan.org/authors/id/T/TO/TODDR/${_pkgname}-${_pkgver}.tar.gz") 14 | md5sums=('89a8e82cfd2ad948b349c0a69c494463') 15 | 16 | build() { 17 | cd ${_pkgname}-${_pkgver} 18 | 19 | perl Makefile.PL INSTALLDIRS=vendor 20 | make 21 | } 22 | 23 | check() { 24 | cd ${_pkgname}-${_pkgver} 25 | 26 | make test 27 | } 28 | 29 | package() { 30 | cd ${_pkgname}-${_pkgver} 31 | 32 | make install DESTDIR=${pkgdir} 33 | } 34 | -------------------------------------------------------------------------------- /popt/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=popt 3 | pkgver=1.19 4 | pkgrel=2 5 | pkgdesc="A commandline option parser" 6 | arch=('x86_64') 7 | url="https://github.com/rpm-software-management/popt" 8 | license=('custom') 9 | depends=('glibc') 10 | options=('!libtool') 11 | #source=("https://ftp.openbsd.org/pub/OpenBSD/distfiles/popt-$pkgver.tar.gz") 12 | source=("http://ftp.rpm.org/popt/releases/popt-1.x/${pkgname}-${pkgver}.tar.gz") 13 | sha256sums=('c25a4838fc8e4c1c8aacb8bd620edb3084a3d63bf8987fdad3ca2758c63240f9') 14 | 15 | build() { 16 | cd ${pkgname}-${pkgver} 17 | 18 | ./configure --prefix=/usr 19 | make 20 | } 21 | 22 | package() { 23 | cd ${pkgname}-${pkgver} 24 | 25 | make DESTDIR=${pkgdir} install 26 | install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE 27 | } 28 | -------------------------------------------------------------------------------- /util-linux/system-login: -------------------------------------------------------------------------------- 1 | #%PAM-1.0 2 | 3 | auth required pam_shells.so 4 | auth requisite pam_nologin.so 5 | -auth optional pam_kwallet5.so 6 | auth include system-auth 7 | 8 | account required pam_access.so 9 | account required pam_nologin.so 10 | account include system-auth 11 | 12 | password include system-auth 13 | 14 | session optional pam_loginuid.so 15 | session optional pam_keyinit.so force revoke 16 | session include system-auth 17 | session optional pam_motd.so motd=/etc/motd 18 | session optional pam_mail.so dir=/var/spool/mail standard quiet 19 | -session optional pam_systemd.so 20 | session required pam_env.so 21 | -session optional pam_kwallet5.so auto_start 22 | -------------------------------------------------------------------------------- /wireless_tools/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=wireless_tools 3 | pkgver=30.pre9 4 | _pkgver=30 5 | pkgrel=3 6 | pkgdesc="Wireless Tools" 7 | arch=('x86_64') 8 | url="https://hewlettpackard.github.io/wireless-tools/Tools.html" 9 | license=('GPL') 10 | depends=('glibc') 11 | source=("https://hewlettpackard.github.io/wireless-tools/wireless_tools.${pkgver}.tar.gz") 12 | md5sums=('ca91ba7c7eff9bfff6926b1a34a4697d') 13 | 14 | build() { 15 | cd ${pkgname}.${_pkgver} 16 | sed '/BUILD_STATIC =/d' -i Makefile 17 | 18 | make 19 | } 20 | 21 | package() { 22 | cd ${pkgname}.${_pkgver} 23 | 24 | make INSTALL_DIR="${pkgdir}/usr/sbin" \ 25 | INSTALL_LIB="${pkgdir}/usr/lib" \ 26 | INSTALL_INC="${pkgdir}/usr/include" \ 27 | INSTALL_MAN="${pkgdir}/usr/share/man" \ 28 | install 29 | } 30 | -------------------------------------------------------------------------------- /libcap/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=libcap 3 | pkgver=2.72 4 | pkgrel=1 5 | pkgdesc="POSIX 1003.1e capabilities" 6 | arch=('x86_64') 7 | url="https://sites.google.com/site/fullycapable/" 8 | license=('GPL') 9 | depends=('glibc' 'pam') 10 | options=('!staticlibs') 11 | source=("https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/${pkgname}-${pkgver}.tar.xz") 12 | sha256sums=('0274f5a15a5205f656d8f0169eef711dd29158ba8ad3b240618b342b2460175b') 13 | 14 | build() { 15 | cd ${pkgname}-${pkgver} 16 | 17 | make GOLANG=no 18 | } 19 | 20 | package() { 21 | cd ${pkgname}-${pkgver} 22 | make prefix=/usr lib=/lib DESTDIR=${pkgdir} RAISE_SETFCAP=no GOLANG=no install 23 | 24 | install -Dm644 pam_cap/capability.conf \ 25 | $pkgdir/usr/share/doc/$pkgname/capability.conf.example 26 | } 27 | -------------------------------------------------------------------------------- /linux/aufs6-kbuild.patch: -------------------------------------------------------------------------------- 1 | SPDX-License-Identifier: GPL-2.0 2 | aufs6.11.2 kbuild patch 3 | 4 | diff --git a/fs/Kconfig b/fs/Kconfig 5 | index a46b0cbc4d8f..d90a3b0dbc53 100644 6 | --- a/fs/Kconfig 7 | +++ b/fs/Kconfig 8 | @@ -337,6 +337,7 @@ source "fs/sysv/Kconfig" 9 | source "fs/ufs/Kconfig" 10 | source "fs/erofs/Kconfig" 11 | source "fs/vboxsf/Kconfig" 12 | +source "fs/aufs/Kconfig" 13 | 14 | endif # MISC_FILESYSTEMS 15 | 16 | diff --git a/fs/Makefile b/fs/Makefile 17 | index 6ecc9b0a53f2..255420c2676e 100644 18 | --- a/fs/Makefile 19 | +++ b/fs/Makefile 20 | @@ -129,3 +129,4 @@ obj-$(CONFIG_EFIVAR_FS) += efivarfs/ 21 | obj-$(CONFIG_EROFS_FS) += erofs/ 22 | obj-$(CONFIG_VBOXSF_FS) += vboxsf/ 23 | obj-$(CONFIG_ZONEFS_FS) += zonefs/ 24 | +obj-$(CONFIG_AUFS_FS) += aufs/ 25 | -------------------------------------------------------------------------------- /mdadm/mdadm_udev_install: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | build() { 4 | add_checked_modules -f 'dm-' 'drivers/md/*' 5 | 6 | # check if a custom mdadm.conf exists 7 | if grep -qw ^ARRAY "$BASEDIR/etc/mdadm.conf"; then 8 | echo "Custom /etc/mdadm.conf file will be used in initramfs for assembling arrays." 9 | add_file "/etc/mdadm.conf" 10 | fi 11 | 12 | add_binary "mdadm" 13 | add_file "/usr/lib/udev/rules.d/64-md-raid.rules" 14 | add_file "/usr/lib/udev/rules.d/64-md-raid-assembly.rules" 15 | } 16 | 17 | help() { 18 | cat < 3 | Date: Mon, 2 Mar 2015 21:40:57 +0530 4 | Subject: [PATCH] main.c: Need to explicitly disallow show_progress in -q 5 | 6 | --- 7 | src/main.c | 3 +++ 8 | 1 file changed, 3 insertions(+) 9 | 10 | diff --git a/src/main.c b/src/main.c 11 | index 7675455..9d7790b 100644 12 | --- a/src/main.c 13 | +++ b/src/main.c 14 | @@ -1272,6 +1272,9 @@ main (int argc, char **argv) 15 | if (opt.verbose == -1) 16 | opt.verbose = !opt.quiet; 17 | 18 | + if (opt.quiet && opt.show_progress == -1) 19 | + opt.show_progress = false; 20 | + 21 | /* Sanity checks. */ 22 | if (opt.verbose && opt.quiet) 23 | { 24 | -- 25 | 2.3.1 26 | 27 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .gitignore 2 | 3 | _buildscripts 4 | _repo 5 | _sources 6 | _temp 7 | pkg 8 | src 9 | dbg 10 | hdr 11 | *~ 12 | build.sh 13 | clean-builddir.sh 14 | clean-workdir.sh 15 | copy.sh 16 | copy-any.sh 17 | fakeuname 18 | get-any.sh 19 | makepkg 20 | move.sh 21 | pkgrels-decrease.sh 22 | pkgrels-increase.sh 23 | pkgrels-reset.sh 24 | rebuildlist-build.sh 25 | rebuildlist-generate.sh 26 | repoclean-local.sh 27 | repoclean-remote.sh 28 | show-config.sh 29 | show-pkglists.sh 30 | sync-complete.sh 31 | sync-down.sh 32 | sync-up-nodb.sh 33 | sync-up.sh 34 | remove.sh 35 | recreate-database.sh 36 | upload.sh 37 | upload-nodb.sh 38 | unlock-database.sh 39 | unlock-repo.sh 40 | 41 | *-cfg.conf 42 | *-makepkg.conf 43 | *-pkgs.conf 44 | user.conf 45 | 46 | *.db.tar.* 47 | *.pkg.tar.* 48 | *.tar.* 49 | *.log 50 | *.log* 51 | 52 | -------------------------------------------------------------------------------- /bcachefs-tools/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=bcachefs-tools 3 | pkgver=1.13.0 4 | pkgrel=1 5 | pkgdesc='Userspace tools and docs for bcachefs' 6 | arch=('x86_64') 7 | url='https://bcachefs.org/' 8 | license=('GPL-2.0-only') 9 | depends=('keyutils' 'libaio' 'libsodium' 'liburcu' 'lz4' 'zlib' 'zstd') 10 | makedepends=('clang' 'llvm' 'rust' 'valgrind') 11 | source=("https://evilpiepirate.org/bcachefs-tools/${pkgname}-${pkgver}.tar.zst") 12 | sha256sums=('9117542bf98a9270cc110143412d7f755fa8ca30c7328fb04715784593ad7f4e') 13 | 14 | build() { 15 | cd ${pkgname}-${pkgver} 16 | 17 | make \ 18 | LIBEXECDIR=/usr/lib \ 19 | DESTDIR=${pkgdir} 20 | } 21 | 22 | package() { 23 | cd ${pkgname}-${pkgver} 24 | 25 | make \ 26 | PREFIX=/usr \ 27 | LIBEXECDIR=/usr/lib \ 28 | DESTDIR=${pkgdir} \ 29 | install 30 | } 31 | -------------------------------------------------------------------------------- /filesystem/group: -------------------------------------------------------------------------------- 1 | root:x:0:root 2 | bin:x:1:root,bin,daemon 3 | daemon:x:2:root,bin,daemon 4 | sys:x:3:root,bin 5 | adm:x:4:root,daemon 6 | tty:x:5: 7 | disk:x:6:root 8 | lp:x:7:daemon 9 | mem:x:8: 10 | kmem:x:9: 11 | wheel:x:10:root 12 | ftp:x:11: 13 | mail:x:12: 14 | uucp:x:14: 15 | log:x:19:root 16 | utmp:x:20: 17 | locate:x:21: 18 | rfkill:x:24: 19 | smmsp:x:25: 20 | http:x:33: 21 | games:x:50: 22 | lock:x:54: 23 | uuidd:x:68: 24 | dbus:x:81: 25 | network:x:90: 26 | video:x:91: 27 | audio:x:92: 28 | optical:x:93: 29 | floppy:x:94: 30 | storage:x:95: 31 | scanner:x:96: 32 | input:x:97: 33 | power:x:98: 34 | nobody:x:99: 35 | users:x:100: 36 | systemd-journal:x:110: 37 | systemd-journal-gateway:x:191: 38 | systemd-timesync:x:192: 39 | systemd-network:x:193: 40 | systemd-bus-proxy:x:194: 41 | systemd-resolve:x:195: 42 | 43 | -------------------------------------------------------------------------------- /logrotate/logrotate.cron.daily: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # nicenesses range from -20 (most favorable scheduling) to 19 (least favorable) 4 | NICE=19 5 | 6 | # 0 for none, 1 for real time, 2 for best-effort, 3 for idle 7 | IONICE_CLASS=2 8 | 9 | # 0-7 (for IONICE_CLASS 1 and 2 only), 0=highest, 7=lowest 10 | IONICE_PRIORITY=7 11 | 12 | CMD_LOGROTATE="/usr/sbin/logrotate /etc/logrotate.conf" 13 | 14 | if [ -x /usr/bin/nice ]; then 15 | CMD_LOGROTATE="/usr/bin/nice -n ${NICE:-19} ${CMD_LOGROTATE}" 16 | fi 17 | 18 | if [ -x /usr/bin/ionice ]; then 19 | IONICE_CMD="/usr/bin/ionice -c ${IONICE_CLASS:-2}" 20 | if [ $IONICE_CLASS -ne 3 ]; then 21 | IONICE_CMD="${IONICE_CMD} -n ${IONICE_PRIORITY:-7}" 22 | fi 23 | CMD_LOGROTATE="${IONICE_CMD} ${CMD_LOGROTATE}" 24 | fi 25 | 26 | ${CMD_LOGROTATE} 27 | 28 | exit 0 29 | -------------------------------------------------------------------------------- /apr-util/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=apr-util 3 | pkgver=1.6.3 4 | pkgrel=3 5 | pkgdesc="The Apache Portable Runtime" 6 | arch=('x86_64') 7 | url="https://apr.apache.org/" 8 | depends=('apr' 'gdbm' 'expat' 'libldap' 'unixodbc' 'libxcrypt') 9 | options=('!libtool') 10 | license=('APACHE') 11 | source=("https://www.apache.org/dist/apr/apr-util-${pkgver}.tar.bz2") 12 | sha256sums=('a41076e3710746326c3945042994ad9a4fcac0ce0277dd8fea076fec3c9772b5') 13 | 14 | build() { 15 | cd apr-util-${pkgver} 16 | ./configure --prefix=/usr \ 17 | --with-apr=/usr \ 18 | --without-pgsql \ 19 | --without-mysql \ 20 | --without-sqlite2 \ 21 | --without-sqlite3 \ 22 | --with-gdbm=/usr \ 23 | --with-ldap 24 | make 25 | } 26 | 27 | package() { 28 | cd apr-util-${pkgver} 29 | 30 | make DESTDIR=${pkgdir} install 31 | } 32 | -------------------------------------------------------------------------------- /boost/001-log_fix_dump_avx2.patch: -------------------------------------------------------------------------------- 1 | Index: libs/log/src/dump_avx2.cpp 2 | =================================================================== 3 | --- libs/log/src/dump_avx2.cpp (revision 86614) 4 | +++ libs/log/src/dump_avx2.cpp (working copy) 5 | @@ -205,7 +205,7 @@ 6 | __m256i mm_input = _mm256_load_si256(reinterpret_cast< const __m256i* >(p)); 7 | __m256i mm_output1, mm_output2, mm_output3; 8 | dump_pack(mm_char_10_to_a, mm_input, mm_output1, mm_output2, mm_output3); 9 | - store_characters_x3(mm_output1, mm_output2, mm_output3, buf); 10 | + store_characters_x3(mm_output1, mm_output2, mm_output3, b); 11 | } 12 | 13 | _mm256_zeroall(); // need to zero all ymm registers to avoid register spills/restores the compler generates around the function call 14 | -------------------------------------------------------------------------------- /cpio/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=cpio 3 | pkgver=2.15 4 | pkgrel=1 5 | pkgdesc="A tool to copy files into or out of a cpio or tar archive" 6 | arch=('x86_64') 7 | license=('GPL') 8 | url="https://www.gnu.org/software/cpio" 9 | depends=('glibc') 10 | source=("https://ftp.gnu.org/gnu/cpio/cpio-${pkgver}.tar.bz2") 11 | sha256sums=('937610b97c329a1ec9268553fb780037bcfff0dcffe9725ebc4fd9c1aa9075db') 12 | 13 | build() { 14 | cd ${pkgname}-${pkgver} 15 | #patch -p1 -i ${srcdir}/cpio-2.12-gcc-10.patch 16 | 17 | ./configure --prefix=/usr --mandir=/usr/share/man 18 | make 19 | } 20 | 21 | package() { 22 | cd ${pkgname}-${pkgver} 23 | 24 | make DESTDIR=${pkgdir} install 25 | 26 | rm -rf ${pkgdir}/usr/libexec 27 | #tar provided 28 | rm -f ${pkgdir}/usr/share/man/man8/rmt.8 29 | rm $pkgdir/usr/share/info/dir 30 | } 31 | 32 | -------------------------------------------------------------------------------- /nfs-utils/nfs-utils_env.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # nfs-utils config files 3 | . /etc/conf.d/nfs-common.conf 4 | . /etc/conf.d/nfs-server.conf 5 | # config file read by systemd files 6 | NFS_UTILS_CONFIG=/run/sysconfig/nfs-utils 7 | 8 | [[ -d /run/sysconfig ]] || mkdir /run/sysconfig 9 | [[ -e $NFS_UTILS_CONFIG ]] && rm -f $NFS_UTILS_CONFIG 10 | 11 | # /etc/conf.d/nfs-common 12 | echo "STATDARGS=\"$STATD_OPTS\"" >> $NFS_UTILS_CONFIG 13 | echo "SMNOTIFYARGS=\"$SMNOTIFY_OPTS\"" >> $NFS_UTILS_CONFIG 14 | echo "RPCIDMAPDARGS=\"$IDMAPD_OPTS\"" >> $NFS_UTILS_CONFIG 15 | echo "GSSDARGS=\"$GSSD_OPTS\"" >> $NFS_UTILS_CONFIG 16 | 17 | # /etc/conf.d/nfs-server 18 | echo "RPCMOUNTDARGS=\"$MOUNTD_OPTS\"" >> $NFS_UTILS_CONFIG 19 | echo "RPCNFSDARGS=\"$NFSD_OPTS\"" >> $NFS_UTILS_CONFIG 20 | echo "SVCGSSDARGS=\"$SVCGSSD_OPTS\"" >> $NFS_UTILS_CONFIG -------------------------------------------------------------------------------- /quota/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=quota 3 | pkgver=4.09 4 | pkgrel=2 5 | pkgdesc="Tools and patches for the Linux Diskquota system as part of the Linux kernel" 6 | arch=('x86_64') 7 | url="https://sourceforge.net/projects/linuxquota/" 8 | license=('GPL-2') 9 | depends=('e2fsprogs' 'libldap') 10 | source=("https://downloads.sourceforge.net/sourceforge/linuxquota/${pkgname}-${pkgver}.tar.gz") 11 | md5sums=('f85c2e15d9a735640675ff4977b57bb6') 12 | 13 | build() { 14 | cd ${pkgname}-${pkgver} 15 | 16 | ./configure --prefix=/usr \ 17 | --sysconfdir=/etc 18 | make 19 | } 20 | 21 | package() { 22 | cd ${pkgname}-${pkgver} 23 | make DESTDIR=${pkgdir} install 24 | 25 | install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE 26 | # part of glibc, remove full dir 27 | rm -rf ${pkgdir}/usr/include 28 | } 29 | -------------------------------------------------------------------------------- /bdf-unifont/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=bdf-unifont 3 | _pkgname=unifont 4 | pkgver=16.0.01 5 | pkgrel=1 6 | epoch=1 7 | pkgdesc="GNU Unifont, with glyphs for every printable code point in the Unicode Basic Multilingual Plane (BMP)." 8 | arch=('x86_64') 9 | license=('custom' 'GPL2') 10 | url="https://unifoundry.com/unifont/index.html" 11 | depends=('xorg-font-utils') 12 | install=unifont.install 13 | source=("https://unifoundry.com/pub/unifont/${_pkgname}-${pkgver}/font-builds/${_pkgname}-${pkgver}.bdf.gz" 14 | 'LICENSE') 15 | md5sums=('97a3df7e0238555a0a61a5cb746f9889' 16 | '64da5a96d6789d29d485cd67a43bc547') 17 | 18 | package() { 19 | install -Dm644 ${_pkgname}-${pkgver}.bdf ${pkgdir}/usr/share/fonts/misc/unifont.bdf 20 | 21 | install -Dm644 ../LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE 22 | } 23 | 24 | -------------------------------------------------------------------------------- /diffutils/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=diffutils 3 | pkgver=3.10 4 | pkgrel=1 5 | pkgdesc="Utility programs used for creating patch files" 6 | arch=('x86_64') 7 | url="https://www.gnu.org/software/diffutils" 8 | license=('GPL3') 9 | groups=('base') 10 | depends=('glibc' 'sh') 11 | source=("https://ftp.gnu.org/gnu/diffutils/${pkgname}-${pkgver}.tar.xz") 12 | sha1sums=('c16a9cf107ad1f0f791b6d00852dc5e961c1c451') 13 | 14 | build() { 15 | cd ${pkgname}-${pkgver} 16 | 17 | ./configure --prefix=/usr \ 18 | --with-packager="KaOS" \ 19 | --with-packager-bug-reports="https://github.com/KaOSx/core/issues" 20 | make 21 | } 22 | 23 | check() { 24 | cd ${pkgname}-${pkgver} 25 | # 1 fail on colors 26 | make check 27 | } 28 | 29 | package() { 30 | cd ${pkgname}-${pkgver} 31 | 32 | make DESTDIR=${pkgdir} install 33 | } 34 | 35 | -------------------------------------------------------------------------------- /libgudev/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=libgudev 3 | pkgver=238 4 | pkgrel=4 5 | pkgdesc="UDev GObject bindings" 6 | arch=('x86_64') 7 | license=('LGPL') 8 | url="https://wiki.gnome.org/Projects/libgudev" 9 | depends=('systemd' 'glib2') 10 | makedepends=('gobject-introspection' 'meson' 'ninja') 11 | source=("https://ftp.gnome.org/pub/gnome/sources/libgudev/${pkgver}/${pkgname}-${pkgver}.tar.xz") 12 | #source=("https://github.com/systemd-devs/libgudev/archive/$pkgname-$pkgver.tar.gz") 13 | sha256sums=('61266ab1afc9d73dbc60a8b2af73e99d2fdff47d99544d085760e4fa667b5dd1') 14 | 15 | build() { 16 | mkdir -p build 17 | cd build 18 | 19 | meson setup ../${pkgname}-${pkgver} \ 20 | --prefix=/usr \ 21 | --buildtype=release 22 | ninja 23 | } 24 | 25 | package() { 26 | cd build 27 | 28 | DESTDIR=${pkgdir} ninja install 29 | } 30 | -------------------------------------------------------------------------------- /libinih/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=libinih 3 | pkgver=58 4 | pkgrel=1 5 | pkgdesc='INI Not Invented Here is a simple .INI file parser written in C' 6 | arch=('x86_64') 7 | url='https://github.com/benhoyt/inih' 8 | license=('BSD') 9 | depends=('gcc-libs') 10 | makedepends=('meson' 'ninja') 11 | source=("https://github.com/benhoyt/inih/archive/r${pkgver}.tar.gz") 12 | md5sums=('5c9725320ad2c79e0b1f76568bd0ff24') 13 | 14 | build() { 15 | mkdir -p build 16 | cd build 17 | 18 | meson setup ../inih-r${pkgver} \ 19 | --prefix=/usr \ 20 | --buildtype=release \ 21 | -Ddistro_install=true \ 22 | -Dwith_INIReader=true 23 | ninja 24 | } 25 | 26 | package() { 27 | cd build 28 | 29 | DESTDIR=${pkgdir} ninja install 30 | install -Dm 644 ../inih-r${pkgver}/LICENSE.txt -t ${pkgdir}/usr/share/licenses/${pkgname}/ 31 | } 32 | -------------------------------------------------------------------------------- /filesystem/crypttab: -------------------------------------------------------------------------------- 1 | # crypttab: mappings for encrypted partitions 2 | # 3 | # Each mapped device will be created in /dev/mapper, so your /etc/fstab 4 | # should use the /dev/mapper/ paths for encrypted devices. 5 | # 6 | # The KaOS specific syntax has been deprecated, see crypttab(5) for the 7 | # new supported syntax. 8 | # 9 | # NOTE: Do not list your root (/) partition here, it must be set up 10 | # beforehand by the initramfs (/etc/mkinitcpio.conf). 11 | 12 | # 13 | # home /dev/hda4 /etc/mypassword1 14 | # data1 /dev/hda3 /etc/mypassword2 15 | # data2 /dev/hda5 /etc/cryptfs.key 16 | # swap /dev/hdx4 /dev/urandom swap,cipher=aes-cbc-essiv:sha256,size=256 17 | # vol /dev/hdb7 none 18 | -------------------------------------------------------------------------------- /pptpclient/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=pptpclient 3 | pkgver=1.10.0 4 | pkgrel=5 5 | pkgdesc="Client for the proprietary Microsoft Point-to-Point Tunneling Protocol, PPTP." 6 | url="https://pptpclient.sourceforge.net/" 7 | arch=('x86_64') 8 | license=('GPL') 9 | depends=('glibc' 'ppp' 'iproute2') 10 | backup=('etc/ppp/options.pptp') 11 | source=("https://sourceforge.net/projects/pptpclient/files/pptp/pptp-${pkgver}/pptp-${pkgver}.tar.gz") 12 | md5sums=('8d25341352fdae5ad5b36b9f18254908') 13 | 14 | 15 | build() { 16 | cd pptp-${pkgver} 17 | 18 | sed -i -e "/CFLAGS =/ c\CFLAGS = ${CFLAGS}" Makefile 19 | sed -i -e "/LDFLAGS =/ c\LDFLAGS = ${LDFLAGS}" Makefile 20 | sed -i 's|\/bin\/ip|\/usr\/sbin\/ip|g' routing.c 21 | 22 | make 23 | } 24 | 25 | package() { 26 | cd pptp-${pkgver} 27 | 28 | make DESTDIR=${pkgdir} install 29 | } 30 | -------------------------------------------------------------------------------- /swig/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=swig 3 | pkgver=4.3.0 4 | pkgrel=1 5 | pkgdesc="A compiler that makes it easy to integrate C and C++ code with scripting languages" 6 | arch=('x86_64') 7 | url="https://www.swig.org/" 8 | license=('custom') 9 | depends=('pcre2' 'zlib') 10 | source=("https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz") 11 | md5sums=('6a0555a2063c78447c5912136f013c43') 12 | 13 | build() { 14 | cd ${pkgname}-${pkgver} 15 | 16 | ./configure --prefix=/usr 17 | make 18 | } 19 | 20 | package() { 21 | cd ${pkgname}-${pkgver} 22 | make DESTDIR=${pkgdir} install 23 | 24 | cd ${srcdir}/${pkgname}-${pkgver} 25 | install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE 26 | install -D -m644 LICENSE-UNIVERSITIES ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-UNIVERSITIES 27 | } 28 | 29 | -------------------------------------------------------------------------------- /hwdata/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=hwdata 3 | pkgver=0.389 4 | _pkgver=0.389 5 | pkgrel=1 6 | pkgdesc="Hardware identification and configuration data" 7 | url="https://github.com/vcrhonek/hwdata" 8 | license=('GPL2') 9 | arch=('x86_64') 10 | provides=('hwids') 11 | replaces=('hwids') 12 | conflicts=('hwids') 13 | source=("https://github.com/vcrhonek/hwdata/archive/refs/tags/v${_pkgver}.tar.gz") 14 | md5sums=('e6d6a05562b9f37039fd947b41da3cc7') 15 | 16 | build() { 17 | cd ${pkgname}-${_pkgver} 18 | 19 | ./configure --prefix=/usr \ 20 | --libdir=/usr/lib \ 21 | --datadir=/usr/share 22 | make 23 | } 24 | 25 | package() { 26 | cd ${pkgname}-${_pkgver} 27 | 28 | make DESTDIR=${pkgdir} install 29 | #install -Dm644 usb.ids ${pkgdir}/usr/share/hwdata/usb.ids 30 | #install -Dm644 pci.ids ${pkgdir}/usr/share/hwdata/pci.ids 31 | } 32 | 33 | -------------------------------------------------------------------------------- /usbutils/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=usbutils 3 | pkgver=018 4 | pkgrel=1 5 | pkgdesc="USB Device Utilities" 6 | arch=('x86_64') 7 | url="https://linux-usb.sourceforge.net/" 8 | license=('GPL') 9 | groups=('base') 10 | depends=('libusb' 'hwids') 11 | makedepends=('meson' 'ninja') 12 | source=("https://www.kernel.org/pub/linux/utils/usb/usbutils/${pkgname}-${pkgver}.tar.xz") 13 | #source=("https://github.com/gregkh/usbutils/archive/refs/tags/v${pkgver}.tar.gz") 14 | sha256sums=('83f68b59b58547589c00266e82671864627593ab4362d8c807f50eea923cad93') 15 | 16 | build() { 17 | mkdir -p build 18 | cd build 19 | 20 | meson setup ../${pkgname}-${pkgver} \ 21 | --prefix=/usr \ 22 | --buildtype=release \ 23 | --libexecdir=/usr/lib/at-spi2-core 24 | ninja 25 | } 26 | 27 | package() { 28 | cd build 29 | 30 | DESTDIR=${pkgdir} ninja install 31 | } 32 | -------------------------------------------------------------------------------- /make/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=make 3 | pkgver=4.4.1 4 | pkgrel=1 5 | pkgdesc="GNU make utility to maintain groups of programs" 6 | arch=('x86_64') 7 | url="https://www.gnu.org/software/make" 8 | license=('GPL3') 9 | groups=('base-devel') 10 | depends=('glibc' 'sh' 'guile') 11 | source=("https://ftp.gnu.org/gnu/make/${pkgname}-${pkgver}.tar.lz" 12 | 'perl26.patch') 13 | md5sums=('c8b13b7477e812d4213a9b88ff0ff1d6' 14 | '3676f37c6561900bcb1ff9a72746732d') 15 | 16 | build() { 17 | cd ${pkgname}-${pkgver} 18 | #sed -i -e 's|guile-2.0|guile-2.2|' configure 19 | #patch -p1 -i ${srcdir}/perl26.patch 20 | 21 | ./configure --prefix=/usr 22 | make 23 | } 24 | 25 | check() { 26 | cd ${pkgname}-${pkgver} 27 | 28 | make check 29 | } 30 | 31 | package() { 32 | cd ${pkgname}-${pkgver} 33 | 34 | make DESTDIR=${pkgdir} install 35 | } 36 | -------------------------------------------------------------------------------- /apr/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=apr 3 | pkgver=1.7.5 4 | pkgrel=1 5 | pkgdesc="The Apache Portable Runtime" 6 | arch=('x86_64') 7 | url="https://apr.apache.org/" 8 | depends=('util-linux') 9 | options=('!libtool') 10 | license=('APACHE') 11 | source=("https://www.apache.org/dist/apr/apr-${pkgver}.tar.bz2") 12 | sha256sums=('cd0f5d52b9ab1704c72160c5ee3ed5d3d4ca2df4a7f8ab564e3cb352b67232f2') 13 | 14 | build() { 15 | cd apr-${pkgver} 16 | 17 | ./configure --prefix=/usr \ 18 | --includedir=/usr/include/apr-1 \ 19 | --with-installbuilddir=/usr/share/apr-1/build \ 20 | --enable-nonportable-atomics \ 21 | --with-devrandom=/dev/urandom \ 22 | --disable-static 23 | make 24 | } 25 | 26 | check() { 27 | cd apr-${pkgver} 28 | 29 | make -j1 check 30 | } 31 | 32 | package() { 33 | cd apr-${pkgver} 34 | 35 | make DESTDIR=${pkgdir} install 36 | } 37 | -------------------------------------------------------------------------------- /m4/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=m4 3 | pkgver=1.4.19 4 | pkgrel=2 5 | pkgdesc="m4 macro processor" 6 | arch=('x86_64') 7 | license=('GPL3') 8 | url="https://www.gnu.org/software/m4" 9 | groups=('base-devel') 10 | depends=('glibc' 'bash') 11 | source=("https://ftp.gnu.org/gnu/m4/${pkgname}-${pkgver}.tar.xz" 12 | "https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-devel/m4/files/m4-1.4.19-make-4.4-tests.patch") 13 | md5sums=('0d90823e1426f1da2fd872df0311298d' 14 | '6923f940a7c18226abfbd8401af4eb88') 15 | 16 | build() { 17 | cd ${pkgname}-${pkgver} 18 | patch -p1 -i ${srcdir}/m4-1.4.19-make-4.4-tests.patch 19 | 20 | ./configure --prefix=/usr 21 | make 22 | } 23 | 24 | check() { 25 | cd ${pkgname}-${pkgver} 26 | 27 | make check 28 | } 29 | 30 | package() { 31 | cd ${pkgname}-${pkgver} 32 | 33 | make prefix=${pkgdir}/usr install 34 | } 35 | -------------------------------------------------------------------------------- /libevent/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=libevent 3 | pkgver=2.1.12 4 | _pkgver=2.1 5 | pkgrel=3 6 | pkgdesc="An event notification library" 7 | arch=('x86_64') 8 | url="https://libevent.org/" 9 | license=('GPL2') 10 | depends=('openssl') 11 | source=("https://github.com/libevent/libevent/releases/download/release-${pkgver}-stable/${pkgname}-${pkgver}-stable.tar.gz") 12 | md5sums=('b5333f021f880fe76490d8a799cd79f4') 13 | 14 | build() { 15 | cd ${pkgname}-${pkgver}-stable 16 | 17 | ./configure --prefix=/usr \ 18 | --sysconfdir=/etc \ 19 | --disable-libevent-regress 20 | make 21 | } 22 | 23 | check() { 24 | cd ${pkgname}-${pkgver}-stable 25 | 26 | make -j1 check 27 | } 28 | 29 | package() { 30 | cd ${pkgname}-${pkgver}-stable 31 | make DESTDIR=${pkgdir} install 32 | 33 | install -Dm 644 LICENSE ${pkgdir}/usr/share/licenses/libevent/LICENSE 34 | } 35 | 36 | -------------------------------------------------------------------------------- /libnl/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=libnl 3 | pkgver=3.11.0 4 | _pkgver=3_11_0 5 | pkgrel=1 6 | pkgdesc="Library for applications dealing with netlink sockets" 7 | arch=('x86_64') 8 | url="https://www.infradead.org/~tgr/libnl/" 9 | license=('GPL') 10 | depends=('glibc') 11 | conflicts=('libnl3') 12 | backup=('etc/libnl/classid' 'etc/libnl/pktloc') 13 | options=('!libtool') 14 | source=("https://github.com/thom311/libnl/releases/download/libnl${_pkgver}/${pkgname}-${pkgver}.tar.gz") 15 | sha256sums=('2a56e1edefa3e68a7c00879496736fdbf62fc94ed3232c0baba127ecfa76874d') 16 | 17 | build() { 18 | cd ${pkgname}-${pkgver} 19 | 20 | ./configure \ 21 | --prefix=/usr \ 22 | --sysconfdir=/etc \ 23 | --sbindir=/usr/bin \ 24 | --disable-static 25 | make 26 | } 27 | 28 | package() { 29 | cd ${pkgname}-${pkgver} 30 | 31 | make DESTDIR=${pkgdir} install 32 | } 33 | 34 | -------------------------------------------------------------------------------- /logrotate/logrotate.conf: -------------------------------------------------------------------------------- 1 | # see "man logrotate" for details 2 | # rotate log files weekly 3 | weekly 4 | 5 | # keep 4 weeks worth of backlogs 6 | rotate 4 7 | 8 | # restrict maximum size of log files 9 | #size 20M 10 | 11 | # create new (empty) log files after rotating old ones 12 | create 13 | 14 | # uncomment this if you want your log files compressed 15 | #compress 16 | 17 | # Logs are moved into directory for rotation 18 | # olddir /var/log/archive 19 | 20 | # Ignore pacman saved files 21 | tabooext + .pacorig .pacnew .pacsave 22 | 23 | # Packages drop log rotation information into this directory 24 | include /etc/logrotate.d 25 | 26 | /var/log/wtmp { 27 | monthly 28 | create 0664 root utmp 29 | minsize 1M 30 | rotate 1 31 | } 32 | 33 | /var/log/btmp { 34 | missingok 35 | monthly 36 | create 0600 root utmp 37 | rotate 1 38 | } 39 | -------------------------------------------------------------------------------- /netctl/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=netctl 3 | pkgver=1.29 4 | pkgrel=1 5 | pkgdesc="Profile based systemd network management" 6 | url="https://gitlab.archlinux.org/archlinux/netctl" 7 | license=("GPL") 8 | arch=('x86_64') 9 | depends=('coreutils' 'iproute2' 'openresolv') 10 | makedepends=('pkg-config') 11 | optdepends=('dialog: for the menu based wifi assistant' 12 | 'dhclient: for DHCP support (or dhcpcd)') 13 | source=("https://sources.archlinux.org/other/packages/netctl/netctl-${pkgver}.tar.xz") 14 | md5sums=('45b6cf715537d2b8fe603a93434447c3') 15 | 16 | package() { 17 | cd netctl-${pkgver} 18 | make DESTDIR=${pkgdir} install 19 | 20 | # Shell Completion 21 | install -D -m644 contrib/bash-completion ${pkgdir}/usr/share/bash-completion/completions/netctl 22 | install -D -m644 contrib/zsh-completion ${pkgdir}/usr/share/zsh/site-functions/_netctl 23 | } 24 | -------------------------------------------------------------------------------- /expect/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=expect 3 | pkgver=5.45.4 4 | pkgrel=4 5 | pkgdesc="A tool for automating interactive applications" 6 | arch=('x86_64') 7 | url="https://www.nist.gov/el/msid/expect.cfm" 8 | license=('custom') 9 | depends=('tcl') 10 | source=("https://downloads.sourceforge.net/project/expect/Expect/${pkgver}/expect${pkgver}.tar.gz") 11 | sha256sums=('49a7da83b0bdd9f46d04a04deec19c7767bb9a323e40c4781f89caf760b92c34') 12 | 13 | build() { 14 | cd expect${pkgver} 15 | 16 | ./configure --prefix=/usr \ 17 | --sysconfdir=/etc \ 18 | --localstatedir=/var \ 19 | --mandir=/usr/share/man \ 20 | --with-tcl=/usr/lib \ 21 | --with-tclinclude=/usr/include 22 | 23 | make 24 | } 25 | 26 | package() { 27 | cd expect${pkgver} 28 | make DESTDIR=${pkgdir} install 29 | 30 | install -D -m644 README ${pkgdir}/usr/share/licenses/${pkgname}/README 31 | } 32 | -------------------------------------------------------------------------------- /neon/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | # KEEP LIBTOOL FILES! 3 | pkgname=neon 4 | pkgver=0.34.0 5 | pkgrel=1 6 | pkgdesc="HTTP and WebDAV client library with a C interface" 7 | arch=('x86_64') 8 | url="https://notroj.github.io/neon/" 9 | license=('GPL' 'LGPL') 10 | depends=('krb5' 'expat' 'ca-certificates') 11 | makedepends=('xmlto') 12 | options=('libtool') 13 | source=("https://notroj.github.io/neon/${pkgname}-${pkgver}.tar.gz") 14 | sha256sums=('2e3ee8535039966c80764f539d5c9bfee1651a17e2f36e5ca462632181253977') 15 | 16 | build() { 17 | cd ${pkgname}-${pkgver} 18 | 19 | ./configure --prefix=/usr \ 20 | --with-expat \ 21 | --enable-shared \ 22 | --disable-static \ 23 | --with-ssl=openssl \ 24 | --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt 25 | make 26 | } 27 | 28 | package() { 29 | cd ${pkgname}-${pkgver} 30 | 31 | make DESTDIR=${pkgdir} install 32 | } 33 | -------------------------------------------------------------------------------- /grep/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=grep 3 | pkgver=3.11 4 | pkgrel=1 5 | pkgdesc="A string search utility" 6 | arch=('x86_64') 7 | license=('GPL3') 8 | url="https://www.gnu.org/software/grep/grep.html" 9 | groups=('base') 10 | depends=('glibc' 'pcre2' 'sh') 11 | makedepends=('texinfo') 12 | source=("https://ftp.gnu.org/gnu/grep/${pkgname}-${pkgver}.tar.xz") 13 | sha1sums=('955146a0a4887eca33606e391481bbef37055b86') 14 | 15 | build() { 16 | cd ${pkgname}-${pkgver} 17 | # http://lists.gnu.org/archive/html/bug-grep/2017-02/msg00008.html 18 | #patch -p1 -i ${srcdir}/?id=6e4c8728f0e75af57f839625d0bd51b0a02d091e 19 | 20 | ./configure --prefix=/usr # --without-included-regex 21 | make 22 | } 23 | 24 | check() { 25 | cd ${pkgname}-${pkgver} 26 | 27 | make check 28 | } 29 | 30 | package() { 31 | cd ${pkgname}-${pkgver} 32 | 33 | make DESTDIR=${pkgdir} install 34 | } 35 | 36 | -------------------------------------------------------------------------------- /perl-yaml-syck/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=perl-yaml-syck 3 | _pkgname=YAML-Syck 4 | pkgver=1.34 5 | _pkgver=1.34 6 | pkgrel=5 7 | pkgdesc="Fast, lightweight YAML loader and dumper" 8 | arch=('x86_64') 9 | license=('custom') 10 | url="https://metacpan.org/release/YAML-Syck" 11 | depends=('perl') 12 | checkdepends=('perl-test-pod') 13 | options=('!emptydirs') 14 | source=("https://cpan.metacpan.org/authors/id/T/TO/TODDR/${_pkgname}-${_pkgver}.tar.gz") 15 | md5sums=('4aae72f5c06dccd6ed6ea9b029104183') 16 | 17 | build() { 18 | cd ${_pkgname}-${_pkgver} 19 | 20 | perl Makefile.PL INSTALLDIRS=vendor 21 | make 22 | } 23 | 24 | check() { 25 | cd ${_pkgname}-${_pkgver} 26 | 27 | make test 28 | } 29 | 30 | package() { 31 | cd ${_pkgname}-${_pkgver} 32 | make install DESTDIR=${pkgdir} 33 | 34 | install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING 35 | } 36 | -------------------------------------------------------------------------------- /systemd/initcpio-install-udev: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | build() { 4 | local rules tool 5 | 6 | add_file "/etc/udev/udev.conf" 7 | add_binary /usr/lib/systemd/systemd-udevd 8 | add_binary /usr/bin/udevadm 9 | add_binary /usr/bin/systemd-tmpfiles 10 | 11 | for rules in 50-udev-default.rules 60-persistent-storage.rules 64-btrfs.rules 80-drivers.rules; do 12 | add_file "/usr/lib/udev/rules.d/$rules" 13 | done 14 | for tool in ata_id scsi_id; do 15 | add_file "/usr/lib/udev/$tool" 16 | done 17 | 18 | add_runscript 19 | } 20 | 21 | help() { 22 | cat <glibc->binutils->gcc->binutils->glibc 2 | 3 | pkgname=linux-api-headers 4 | pkgver=6.11 5 | pkgrel=1 6 | pkgdesc="Kernel headers sanitized for use in userspace" 7 | arch=('x86_64') 8 | url="https://www.gnu.org/software/libc" 9 | license=('GPL2') 10 | provides=("kernel-headers=${pkgver}") 11 | conflicts=('kernel-headers') 12 | replaces=('kernel-headers') 13 | source=("https://www.kernel.org/pub/linux/kernel/v6.x/linux-${pkgver}.tar.xz") 14 | sha256sums=('55d2c6c025ebc27810c748d66325dd5bc601e8d32f8581d9e77673529bdacb2e') 15 | 16 | build() { 17 | cd linux-${pkgver} 18 | 19 | make mrproper 20 | #make headers_check 21 | } 22 | 23 | package() { 24 | cd linux-${pkgver} 25 | make INSTALL_HDR_PATH=${pkgdir}/usr headers_install 26 | 27 | # mostly duplicate headers from libdrm 28 | rm -r ${pkgdir}/usr/include/drm 29 | } 30 | -------------------------------------------------------------------------------- /bin86/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=bin86 3 | pkgver=0.16.21 4 | pkgrel=7 5 | pkgdesc="A complete 8086 assembler and loader" 6 | arch=('x86_64') 7 | license=('GPL') 8 | url="https://www.debath.co.uk/" 9 | groups=('base-devel') 10 | depends=('glibc') 11 | #source=("http://v3.sk/~lkundrak/dev86/${pkgname}-${pkgver}.tar.gz" 12 | source=("http://fabric-mirror.vps.hosteurope.de/gentoo/distfiles/c5/${pkgname}-${pkgver}.tar.gz" 13 | 'bin86-0.16.17-x86_64-1.patch') 14 | md5sums=('a94f57453500700cebfea86d7d217481' 15 | '92bdce7b0655cd2e9f83c83fc56d128e') 16 | 17 | build() { 18 | cd ${pkgname}-${pkgver} 19 | patch -p1 -i ${srcdir}/bin86-0.16.17-x86_64-1.patch 20 | 21 | make PREFIX=/usr 22 | } 23 | 24 | package() { 25 | cd ${pkgname}-${pkgver} 26 | 27 | mkdir -p ${pkgdir}/usr/bin ${pkgdir}/usr/share/man/man1 28 | make PREFIX=${pkgdir}/usr MANDIR=${pkgdir}/usr/share/man/man1 install 29 | } 30 | -------------------------------------------------------------------------------- /sysfsutils/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=sysfsutils 3 | pkgver=2.1.1 4 | pkgrel=6 5 | pkgdesc="System Utilities Based on Sysfs" 6 | arch=('x86_64') 7 | license=('GPL' 'LGPL') 8 | url="https://linux-diag.sourceforge.net/Sysfsutils.html" 9 | groups=('base') 10 | depends=('glibc') 11 | options=('!libtool') 12 | #source=("https://downloads.sourceforge.net/sourceforge/linux-diag/${pkgname}-${pkgver}.tar.gz") 13 | source=("https://github.com/linux-ras/sysfsutils/archive/v${pkgver}.tar.gz") 14 | md5sums=('537c110be7244905997262854505c30f') 15 | 16 | build() { 17 | cd ${pkgname}-${pkgver} 18 | 19 | ./autogen 20 | ./configure --prefix=/usr \ 21 | --mandir=/usr/share/man \ 22 | --disable-static 23 | make 24 | } 25 | 26 | check() { 27 | cd ${pkgname}-${pkgver} 28 | 29 | make check 30 | } 31 | 32 | package() { 33 | cd ${pkgname}-${pkgver} 34 | 35 | make DESTDIR=${pkgdir} install 36 | } 37 | 38 | -------------------------------------------------------------------------------- /nano/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=nano 3 | pkgver=8.2 4 | _pkgver=8 5 | pkgrel=1 6 | pkgdesc="Pico editor clone with enhancements" 7 | arch=('x86_64') 8 | license=('GPL') 9 | url="https://www.nano-editor.org" 10 | groups=('base') 11 | depends=('glibc' 'ncurses' 'sh') 12 | makedepends=('groff') 13 | source=("https://www.nano-editor.org/dist/v${_pkgver}/nano-${pkgver}.tar.xz") 14 | backup=(etc/nanorc) 15 | md5sums=('382baf871963ac2c31c1e8043c70776e') 16 | 17 | build() { 18 | cd ${pkgname}-${pkgver} 19 | 20 | ./configure --prefix=/usr \ 21 | --sysconfdir=/etc \ 22 | --enable-color \ 23 | --enable-nanorc \ 24 | --enable-multibuffer \ 25 | --disable-wrapping-as-root 26 | make 27 | } 28 | 29 | package() { 30 | cd ${pkgname}-${pkgver} 31 | make DESTDIR=${pkgdir} install 32 | 33 | install -DTm644 ${srcdir}/${pkgname}-${pkgver}/doc/sample.nanorc ${pkgdir}/etc/nanorc 34 | } 35 | -------------------------------------------------------------------------------- /unixodbc/PKGBUILD: -------------------------------------------------------------------------------- 1 | 2 | pkgname=unixodbc 3 | pkgver=2.3.12 4 | pkgrel=1 5 | pkgdesc="ODBC is an open specification for providing application developers with a predictable API with which to access Data Sources" 6 | arch=('x86_64') 7 | license=('GPL2' 'LGPL2.1') 8 | url="https://www.unixodbc.org/" 9 | backup=('etc/odbc.ini' 'etc/odbcinst.ini') 10 | depends=('readline' 'libtool') 11 | options=('!libtool') 12 | #source=("http://www.unixodbc.org/unixODBC-${pkgver}.tar.gz") 13 | source=("ftp://ftp.unixodbc.org/pub/unixODBC/unixODBC-${pkgver}.tar.gz") 14 | md5sums=('d62167d85bcb459c200c0e4b5a63ee48') 15 | 16 | build() { 17 | cd unixODBC-${pkgver} 18 | 19 | ./configure --prefix=/usr --sysconfdir=/etc 20 | make 21 | } 22 | 23 | check() { 24 | cd unixODBC-${pkgver} 25 | 26 | make -k check 27 | } 28 | 29 | package() { 30 | cd unixODBC-${pkgver} 31 | 32 | make DESTDIR=${pkgdir} install 33 | } 34 | --------------------------------------------------------------------------------