├── .gitattributes ├── .github └── workflows │ └── remove-label.yml ├── aliases ├── archive ├── bzip2 │ ├── BUILD │ ├── CONFIGURE │ ├── DETAILS │ ├── PRE_BUILD │ └── bzip2.pc ├── cpio │ ├── BUILD │ └── DETAILS ├── gzip │ ├── BUILD │ ├── DETAILS │ └── POST_REMOVE ├── lz4 │ ├── BUILD │ ├── DEPENDS │ ├── DETAILS │ └── PRE_BUILD ├── lzip │ ├── BUILD │ ├── DETAILS │ ├── PRE_BUILD │ └── plugin.d │ │ └── unpack-lzip.plugin ├── lzo │ ├── BUILD │ └── DETAILS ├── pbzip2 │ ├── DEPENDS │ └── DETAILS ├── rpmunpack │ ├── BUILD │ ├── DEPENDS │ ├── DETAILS │ └── plugin.d │ │ └── unpack-rpm.plugin ├── tar │ ├── BUILD │ ├── DEPENDS │ ├── DETAILS │ └── POST_REMOVE ├── unzip │ ├── BUILD │ ├── BUILD.x86_64 │ ├── DETAILS │ ├── PRE_BUILD │ ├── patch.d │ │ ├── crc32.patch │ │ ├── csiz-underflow.patch │ │ ├── cve20149636.patch │ │ ├── empty-input.patch │ │ ├── getZip64Data.patch │ │ ├── nextbyte-overflow.patch │ │ ├── overflow-fsize.patch │ │ ├── test_compr_eb.patch │ │ └── unzip-6.0_CVE-2021-4217.patch │ └── plugin.d │ │ └── unpack-zip.plugin ├── xz │ ├── BUILD │ ├── DEPENDS │ ├── DETAILS │ ├── PRE_BUILD │ └── plugin.d │ │ └── unpack-xz.plugin ├── zlib │ ├── BUILD │ ├── DEPENDS │ ├── DETAILS │ └── PRE_BUILD └── zstd │ ├── BUILD │ ├── DEPENDS │ ├── DETAILS │ └── plugin.d │ └── unpack-zst.plugin ├── chat └── irssi │ ├── CONFIGURE │ ├── DEPENDS │ └── DETAILS ├── compilers ├── bin86 │ ├── BUILD │ ├── BUILD.x86_64 │ ├── DETAILS │ ├── DETAILS.x86_64 │ └── patch.d │ │ └── bin86-gcc-14-fixes.patch ├── gcc │ ├── BUILD │ ├── CONFIGURE │ ├── DEPENDS │ ├── DETAILS │ ├── POST_INSTALL │ ├── POST_REMOVE │ ├── PRE_BUILD │ ├── c89 │ ├── c99 │ └── plugin.d │ │ └── optimize-gcc.plugin └── nasm │ └── DETAILS ├── crypto ├── ca-certificates │ ├── BUILD │ ├── DEPENDS │ ├── DETAILS │ ├── PRE_BUILD │ └── patch.d │ │ └── python-cryptography-elimination.patch ├── cryptsetup │ ├── BUILD │ ├── DEPENDS │ ├── DETAILS │ └── PRE_BUILD ├── libgcrypt │ ├── BUILD │ ├── DEPENDS │ └── DETAILS ├── libgpg-error │ └── DETAILS ├── libressl │ ├── DEPENDS │ ├── DETAILS │ ├── POST_BUILD │ └── POST_INSTALL ├── libxcrypt │ ├── BUILD │ └── DETAILS ├── openssh │ ├── BUILD │ ├── CONFIGURE │ ├── DEPENDS │ ├── DETAILS │ ├── PRE_BUILD │ ├── pam.d │ │ └── sshd │ ├── profile.d │ │ └── ssh-completion.rc │ ├── services │ ├── systemd.d │ │ ├── sshd-keys.service │ │ ├── sshd.service │ │ ├── sshd.socket │ │ └── sshd@.service │ └── tmpfiles.d │ │ └── sshd.conf └── openssl │ ├── BUILD │ ├── CONFLICTS │ ├── DEPENDS │ ├── DETAILS │ ├── POST_BUILD │ └── POST_INSTALL ├── devel ├── autoconf-archive │ ├── DEPENDS │ └── DETAILS ├── autoconf │ ├── DEPENDS │ └── DETAILS ├── automake │ ├── BUILD │ ├── DEPENDS │ └── DETAILS ├── binutils │ ├── BUILD │ ├── DEPENDS │ ├── DETAILS │ ├── PRE_BUILD │ └── plugin.d │ │ └── optimize-gnu_ld.plugin ├── bison │ ├── DEPENDS │ ├── DETAILS │ └── POST_REMOVE ├── check │ ├── BUILD │ ├── DEPENDS │ └── DETAILS ├── cmake │ ├── BUILD │ ├── DEPENDS │ ├── DETAILS │ └── patch.d │ │ └── cmake-cppflags.patch ├── diffstat │ └── DETAILS ├── diffutils │ ├── BUILD │ ├── DETAILS │ ├── POST_REMOVE │ └── PRE_BUILD ├── flex │ ├── BUILD │ ├── DEPENDS │ ├── DETAILS │ └── PRE_BUILD ├── gc │ ├── BUILD │ ├── DEPENDS │ └── DETAILS ├── m4 │ ├── BUILD │ ├── DETAILS │ └── POST_REMOVE ├── make │ ├── BUILD │ ├── DEPENDS │ ├── DETAILS │ ├── POST_REMOVE │ ├── PRE_BUILD │ ├── patch.d │ │ └── make-4.2.1-test-driver.patch │ └── plugin.d │ │ └── optimize-gnu_make.plugin ├── meson │ ├── BUILD │ ├── DEPENDS │ └── DETAILS ├── ninja │ ├── BUILD │ ├── DEPENDS │ └── DETAILS ├── patch │ ├── BUILD │ ├── DETAILS │ └── patch.d │ │ ├── CVE-2018-1000156.patch │ │ ├── CVE-2018-6951.patch │ │ └── CVE-2018-6952.patch └── pkgconf │ ├── BUILD │ ├── DEPENDS │ ├── DETAILS │ ├── PRE_BUILD │ └── profile.d │ └── pkgconf.rc ├── doc-tools ├── groff │ ├── BUILD │ ├── DEPENDS │ ├── DETAILS │ └── site.tmac ├── intltool │ ├── BUILD │ ├── DEPENDS │ ├── DETAILS │ └── POST_INSTALL ├── man │ ├── BUILD │ ├── CONFIGURE │ ├── DEPENDS │ ├── DETAILS │ ├── POST_INSTALL │ ├── cron.daily │ │ └── makewhatis │ ├── cron.weekly │ │ └── makewhatis │ └── patch.d │ │ └── man-1.6g-gcc-14.patch ├── mandoc │ ├── BUILD │ ├── DEPENDS │ └── DETAILS ├── re2c │ ├── DEPENDS │ └── DETAILS ├── texinfo │ ├── BUILD │ ├── DEPENDS │ └── DETAILS └── yawl │ ├── BUILD │ └── DETAILS ├── editors ├── ed │ ├── BUILD │ ├── DEPENDS │ └── DETAILS ├── gawk │ ├── BUILD │ ├── DEPENDS │ ├── DETAILS │ └── POST_REMOVE ├── nano │ ├── BUILD │ ├── CONFIGURE │ ├── DEPENDS │ ├── DETAILS │ ├── POST_REMOVE │ └── nanorc ├── sed │ ├── DEPENDS │ ├── DETAILS │ └── POST_REMOVE └── vim │ ├── BUILD │ ├── DEPENDS │ ├── DETAILS │ ├── POST_REMOVE │ ├── PRE_BUILD │ ├── skel │ └── .vimrc │ └── vimrc ├── filesys ├── acl │ ├── BUILD │ ├── DEPENDS │ └── DETAILS ├── attr │ ├── BUILD │ ├── DEPENDS │ └── DETAILS ├── btrfs-progs │ ├── BUILD │ ├── DEPENDS │ ├── DETAILS │ ├── PRE_BUILD │ └── systemd.d │ │ ├── btrfs-scrub@.service │ │ └── btrfs-scrub@.timer ├── dmraid │ ├── BUILD │ ├── DEPENDS │ └── DETAILS ├── dosfstools │ ├── BUILD │ └── DETAILS ├── e2fsprogs │ ├── BUILD │ ├── CONFIGURE │ ├── DEPENDS │ ├── DETAILS │ └── POST_INSTALL ├── fhs │ ├── BUILD │ ├── DETAILS │ ├── PRE_BUILD │ └── templates │ │ └── etc │ │ ├── ld.so.conf │ │ └── nsswitch.conf ├── foremost │ ├── BUILD │ └── DETAILS ├── gptfdisk │ ├── BUILD │ ├── DEPENDS │ └── DETAILS ├── lvm2 │ ├── BUILD │ ├── DEPENDS │ ├── DETAILS │ ├── systemd.d │ │ ├── dm-event.service │ │ ├── dm-event.socket │ │ └── lvm.service │ └── tmpfiles.d │ │ └── lvm2.conf ├── mdadm │ ├── BUILD │ ├── DETAILS │ ├── PRE_BUILD │ └── systemd.d │ │ └── mdadm.service ├── ntfs-3g │ ├── BUILD │ ├── CONFIGURE │ ├── DEPENDS │ └── DETAILS ├── parted │ ├── BUILD │ ├── DEPENDS │ ├── DETAILS │ ├── PRE_BUILD │ └── patch.d │ │ └── glibc-2.28.patch ├── sysfsutils │ ├── BUILD │ ├── DEPENDS │ ├── DETAILS │ ├── POST_INSTALL │ └── PRE_BUILD └── xfsprogs │ ├── BUILD │ ├── DEPENDS │ └── DETAILS ├── ftp ├── curl │ ├── BUILD │ ├── CONFIGURE │ ├── DEPENDS │ └── DETAILS └── wget │ ├── BUILD │ ├── CONFLICTS │ ├── DEPENDS │ ├── DETAILS │ ├── POST_INSTALL │ ├── POST_REMOVE │ └── PRE_BUILD ├── kernel ├── dracut │ ├── BUILD │ ├── CONFLICTS │ ├── DEPENDS │ ├── DETAILS │ ├── PRE_BUILD │ ├── dracut.d │ │ └── 90lunar-live │ │ │ └── module-setup.sh │ ├── files │ │ └── 01-lunar.conf │ └── plugin.d │ │ └── bootloader-dracut.plugin ├── kernel-headers │ ├── BUILD │ ├── CONFLICTS │ ├── DETAILS │ └── DETAILS.x86_64 ├── kernel-reqs │ ├── BUILD │ ├── DETAILS │ ├── POST_BUILD │ ├── POST_INSTALL │ └── PRE_BUILD ├── kmod │ ├── BUILD │ ├── CONFLICTS │ ├── DEPENDS │ ├── DETAILS │ ├── PRE_BUILD │ ├── kmod-34.1-remove_gtk-doc_check.patch │ └── plugin.d │ │ └── postbuild-depmod.plugin ├── linux-firmware │ ├── BUILD │ ├── CONFIGURE │ ├── DETAILS │ └── PRE_BUILD └── linux │ ├── BUILD │ ├── CONFIGURE │ ├── DEPENDS │ ├── DETAILS │ ├── POST_INSTALL │ └── PRE_BUILD ├── libs ├── elfutils │ ├── BUILD │ ├── DEPENDS │ ├── DETAILS │ └── PRE_BUILD ├── expat │ ├── BUILD │ ├── DEPENDS │ └── DETAILS ├── gettext │ ├── BUILD │ ├── DEPENDS │ ├── DETAILS │ ├── POST_REMOVE │ └── PRE_BUILD ├── glib-2 │ ├── BUILD │ ├── DEPENDS │ ├── DETAILS │ ├── patch.d │ │ └── noisy-glib-compile-schemas.patch │ └── plugin.d │ │ └── postbuild-glib_compile_schemas.plugin ├── glibc │ ├── BUILD │ ├── CONFIGURE │ ├── DEPENDS │ ├── DETAILS │ ├── POST_INSTALL │ ├── PRE_BUILD │ └── patch.d │ │ └── glibc-fhs.patch ├── gmp │ ├── BUILD │ ├── DEPENDS │ └── DETAILS ├── gnu-efi │ ├── BUILD │ ├── DEPENDS │ └── DETAILS ├── inih │ ├── BUILD │ ├── DEPENDS │ └── DETAILS ├── json-c │ ├── BUILD │ ├── DEPENDS │ └── DETAILS ├── libaio │ └── DETAILS ├── libatomic_ops │ ├── DETAILS │ └── PRE_BUILD ├── libbsd │ ├── BUILD │ ├── DEPENDS │ └── DETAILS ├── libcap │ ├── BUILD │ ├── DEPENDS │ ├── DETAILS │ └── PRE_BUILD ├── libdaemon │ ├── BUILD │ ├── DEPENDS │ └── DETAILS ├── libffi │ ├── BUILD │ ├── DEPENDS │ └── DETAILS ├── libidn │ ├── BUILD │ ├── DEPENDS │ └── DETAILS ├── libidn2 │ ├── BUILD │ ├── DEPENDS │ ├── DETAILS │ └── PRE_BUILD ├── libmd │ └── DETAILS ├── libmpc │ ├── BUILD │ ├── DEPENDS │ └── DETAILS ├── libnl3 │ ├── BUILD │ └── DETAILS ├── libtool │ ├── BUILD │ ├── DETAILS │ └── plugin.d │ │ └── postbuild-libtool.plugin ├── libunistring │ ├── BUILD │ ├── DETAILS │ └── POST_INSTALL ├── libusb-compat │ ├── BUILD │ ├── DEPENDS │ └── DETAILS ├── libusb │ ├── BUILD │ ├── DEPENDS │ └── DETAILS ├── mpfr │ ├── BUILD │ ├── DEPENDS │ └── DETAILS ├── ncurses │ ├── BUILD │ ├── CONFIGURE │ ├── DEPENDS │ ├── DETAILS │ └── patch.d │ │ ├── 0001-ncurses-6.3-no-link-test-libs.patch │ │ └── 0002-ncurses-6.3-pkgconfig.patch ├── pcre │ ├── BUILD │ ├── DEPENDS │ ├── DETAILS │ ├── POST_INSTALL │ └── PRE_BUILD ├── pcre2 │ ├── BUILD │ ├── DEPENDS │ └── DETAILS ├── popt │ ├── BUILD │ ├── DEPENDS │ └── DETAILS ├── readline │ ├── BUILD │ ├── DEPENDS │ ├── DETAILS │ ├── POST_INSTALL │ ├── POST_REMOVE │ ├── PRE_BUILD │ ├── inputrc │ ├── patch.d │ │ └── readline82-001 │ └── profile.d │ │ └── readline.rc └── userspace-rcu │ ├── BUILD │ └── DETAILS ├── mail └── s-nail │ ├── BUILD │ ├── CONFLICTS │ └── DETAILS ├── net ├── dhcpcd │ ├── BUILD │ ├── DETAILS │ ├── sysusers.d │ │ └── dhcpcd.conf │ └── tmpfiles.d │ │ └── dhcpcd.conf ├── ethtool │ └── DETAILS ├── iproute2 │ ├── BUILD │ ├── DEPENDS │ ├── DETAILS │ └── PRE_BUILD ├── iputils │ ├── BUILD │ ├── DEPENDS │ ├── DETAILS │ ├── PRE_BUILD │ └── xinetd.d │ │ └── tftp.xinetd ├── libmnl │ ├── DEPENDS │ └── DETAILS ├── libnftnl │ ├── DEPENDS │ └── DETAILS ├── libpcap │ ├── BUILD │ ├── CONFIGURE │ ├── DEPENDS │ ├── DETAILS │ └── PRE_BUILD └── traceroute │ ├── BUILD │ └── DETAILS ├── perl ├── Devel-CheckLib │ ├── DEPENDS │ └── DETAILS ├── IO-Capture │ ├── DEPENDS │ └── DETAILS ├── TimeDate │ ├── DEPENDS │ └── DETAILS ├── URI │ ├── DEPENDS │ └── DETAILS ├── XML-Parser │ ├── BUILD │ ├── DEPENDS │ ├── DETAILS │ └── PRE_BUILD └── perl │ ├── BUILD │ ├── CONFIGURE │ ├── DEPENDS │ ├── DETAILS │ ├── POST_INSTALL │ └── PRE_BUILD ├── python ├── python-jinja2 │ ├── DEPENDS │ └── DETAILS ├── python-markupsafe │ ├── DEPENDS │ └── DETAILS ├── python-pyelftools │ ├── DEPENDS │ └── DETAILS ├── python-setuptools │ ├── DEPENDS │ └── DETAILS ├── python-six │ ├── DEPENDS │ └── DETAILS └── python │ ├── BUILD │ ├── CONFIGURE │ ├── DEPENDS │ ├── DETAILS │ ├── POST_INSTALL │ └── PRE_BUILD ├── security ├── Linux-PAM │ ├── BUILD │ ├── CONFIGURE │ ├── DEPENDS │ ├── DETAILS │ ├── POST_INSTALL │ ├── POST_REMOVE │ ├── PRE_BUILD │ ├── pam.d │ │ ├── other │ │ └── system-auth │ └── plugin.d │ │ └── Linux-PAM.plugin ├── cracklib │ ├── BUILD │ ├── DEPENDS │ └── DETAILS ├── iptables │ ├── BUILD │ ├── DEPENDS │ ├── DETAILS │ ├── files │ │ ├── iptables-empty │ │ └── iptsave │ └── systemd.d │ │ └── iptables.service └── shadow │ ├── BUILD │ ├── DEPENDS │ ├── DETAILS │ ├── PRE_BUILD │ ├── adduser │ ├── deluser │ ├── pam.d │ ├── chage │ ├── chgpasswd │ ├── chpasswd │ ├── groupadd │ ├── groupdel │ ├── groupmems │ ├── groupmod │ ├── newusers │ ├── passwd │ ├── useradd │ ├── userdel │ └── usermod │ ├── securetty │ └── tmpfiles.d │ └── lastlog.conf ├── shells ├── bash │ ├── BUILD │ ├── DEPENDS │ ├── DETAILS │ ├── POST_REMOVE │ ├── bash_logout │ ├── bashrc │ ├── patch.d │ │ ├── bash51-001 │ │ ├── bash51-002 │ │ ├── bash51-003 │ │ ├── bash51-004 │ │ ├── bash51-005 │ │ ├── bash51-006 │ │ ├── bash51-007 │ │ ├── bash51-008 │ │ ├── bash51-009 │ │ ├── bash51-010 │ │ ├── bash51-011 │ │ ├── bash51-012 │ │ ├── bash51-013 │ │ ├── bash51-014 │ │ ├── bash51-015 │ │ └── bash51-016 │ ├── plugin.d │ │ └── postbuild-bash.plugin │ ├── profile │ ├── profile.d │ │ ├── bash-aliases-base.rc │ │ └── bash-prompt.rc │ └── skel │ │ ├── .bash_logout │ │ ├── .bash_profile │ │ └── .bashrc └── bash_static │ ├── BUILD │ ├── CONFIGURE │ ├── DEPENDS │ ├── DETAILS │ ├── POST_INSTALL │ ├── POST_REMOVE │ └── patch.d │ ├── bash51-001 │ ├── bash51-002 │ ├── bash51-003 │ ├── bash51-004 │ ├── bash51-005 │ ├── bash51-006 │ ├── bash51-007 │ ├── bash51-008 │ ├── bash51-009 │ ├── bash51-010 │ ├── bash51-011 │ ├── bash51-012 │ ├── bash51-013 │ ├── bash51-014 │ ├── bash51-015 │ └── bash51-016 ├── system ├── dbus │ ├── 30-dbus │ ├── BUILD │ ├── DEPENDS │ ├── DETAILS │ ├── POST_INSTALL │ ├── PRE_BUILD │ └── patch.d │ │ └── no-fatal-warnings.patch ├── efibootmgr │ ├── BUILD │ ├── DEPENDS │ ├── DETAILS │ └── PRE_BUILD ├── efivar │ ├── BUILD │ ├── DEPENDS │ ├── DETAILS │ └── PRE_BUILD ├── grub │ ├── BUILD │ ├── CONFIGURE │ ├── DEPENDS │ ├── DETAILS │ ├── menu.lst │ └── plugin.d │ │ └── bootloader-grub.plugin ├── grub2 │ ├── BUILD │ ├── CONFLICTS │ ├── DEPENDS │ ├── DETAILS │ ├── PRE_BUILD │ ├── patch.d │ │ └── 0001-add-GRUB_COLOR_variables.patch │ └── plugin.d │ │ └── bootloader-grub2.plugin ├── lilo │ ├── BUILD │ ├── CONFIGURE │ ├── DEPENDS │ ├── DETAILS │ ├── POST_INSTALL │ ├── PRE_BUILD │ └── plugin.d │ │ └── bootloader-lilo.plugin ├── lunar │ ├── DEPENDS │ ├── DETAILS │ ├── POST_INSTALL │ └── profile.d │ │ └── lunar.rc ├── os-prober │ ├── BUILD │ ├── DETAILS │ └── PRE_BUILD ├── syslinux │ ├── BUILD │ ├── DEPENDS │ ├── DETAILS │ ├── patch.d │ │ ├── 001-fix-^build-with-glibc-2.28.patch │ │ ├── glibc-2.36-fix.patch │ │ ├── syslinux-debug-printf-gcc-14-fix.patch │ │ ├── syslinux-fcommon-gcc-10-fix.patch │ │ └── syslinux-sysmacros-gcc-14-fix.patch │ └── plugin.d │ │ └── bootloader-syslinux.plugin ├── systemd-sysv │ ├── BUILD │ ├── CONFLICTS │ ├── DEPENDS │ ├── DETAILS │ ├── POST_REMOVE │ └── PRE_BUILD └── systemd │ ├── BUILD │ ├── CONFIGURE │ ├── DEPENDS │ ├── DETAILS │ ├── POST_INSTALL │ ├── PRE_BUILD │ ├── files │ ├── hostname │ ├── locale.conf │ └── vconsole.conf │ ├── patch.d │ └── 0001-lunar-device-access-groups.patch │ └── plugin.d │ ├── bootloader-systemd.plugin │ └── systemd.plugin ├── utils ├── bash-completion │ ├── BUILD │ └── DETAILS ├── bc │ ├── DEPENDS │ ├── DETAILS │ └── POST_REMOVE ├── ccache │ ├── BUILD │ ├── DEPENDS │ ├── DETAILS │ ├── plugin.d │ │ └── optimize-ccache.plugin │ └── profile.d │ │ └── ccache.rc ├── coreutils │ ├── BUILD │ ├── CONFIGURE │ ├── DEPENDS │ ├── DETAILS │ ├── POST_INSTALL │ └── POST_REMOVE ├── dialog │ ├── BUILD │ ├── DEPENDS │ └── DETAILS ├── dmidecode │ ├── BUILD │ ├── DETAILS │ └── PRE_BUILD ├── file │ ├── BUILD │ ├── DEPENDS │ ├── DETAILS │ └── patch.d │ │ ├── 0001-PR-579-net147-Fix-stack-overrun.patch │ │ └── 0002-PR-571-jschleus-Some-zip-files-are-misclassified-as-data.patch ├── findutils │ ├── BUILD │ ├── DETAILS │ ├── POST_REMOVE │ ├── PRE_BUILD │ ├── cron.daily │ │ └── updatedb │ └── profile.d │ │ └── findutils.rc ├── gperf │ └── DETAILS ├── grep │ ├── BUILD │ ├── CONFIGURE │ ├── DEPENDS │ ├── DETAILS │ └── POST_REMOVE ├── hdparm │ ├── BUILD │ ├── DETAILS │ ├── POST_INSTALL │ ├── POST_REMOVE │ └── PRE_BUILD ├── installwatch │ ├── BUILD │ ├── DETAILS │ └── PRE_BUILD ├── kbd │ ├── BUILD │ ├── CONFLICTS │ ├── DEPENDS │ ├── DETAILS │ ├── pam.d │ │ └── vlock │ └── patch.d │ │ └── fix-euro2.patch ├── less │ ├── BUILD │ ├── CONFIGURE │ ├── DEPENDS │ ├── DETAILS │ ├── lesspipe.sh │ └── profile.d │ │ └── less.rc ├── lsof │ ├── BUILD │ ├── DETAILS │ └── PRE_BUILD ├── lunar-tools │ ├── DEPENDS │ ├── DETAILS │ ├── plugin.d │ │ └── lids.plugin │ └── profile.d │ │ └── clad.rc ├── pciutils │ ├── BUILD │ ├── DEPENDS │ ├── DETAILS │ └── PRE_BUILD ├── procps │ ├── BUILD │ ├── DEPENDS │ ├── DETAILS │ └── sysctl.conf ├── psmisc │ ├── BUILD │ ├── DEPENDS │ └── DETAILS ├── quota │ ├── BUILD │ ├── DEPENDS │ └── DETAILS ├── timezone-data │ ├── BUILD │ ├── DETAILS │ ├── PRE_BUILD │ └── patch.d │ │ └── makefile.patch ├── usbutils │ ├── BUILD │ ├── DEPENDS │ └── DETAILS ├── util-linux │ ├── 60-rfkill.rules │ ├── BUILD │ ├── DEPENDS │ ├── DETAILS │ ├── POST_INSTALL │ ├── make-issue │ ├── pam.d │ │ ├── chfn │ │ ├── chsh │ │ ├── login │ │ ├── su │ │ └── su-l │ └── systemd.d │ │ ├── rfkill-block@.service │ │ └── rfkill-unblock@.service ├── which │ ├── DETAILS │ ├── POST_REMOVE │ └── profile.d │ │ └── which.rc └── wipe │ ├── BUILD │ └── DETAILS └── wifi ├── iw ├── BUILD ├── DEPENDS └── DETAILS └── wpa_supplicant ├── BUILD ├── DEPENDS ├── DETAILS ├── config ├── patch.d ├── wpa_supplicant_dbus_service_syslog.patch ├── wpa_supplicant_service_ignore-on-isolate.patch └── wpa_supplicant_tls.patch └── systemd_units /.gitattributes: -------------------------------------------------------------------------------- 1 | # Override github linguistic detection (which is wrong) 2 | DETAILS linguist-language=Shell 3 | BUILD linguist-language=Shell 4 | PRE_BUILD linguist-language=Shell 5 | POST_BUILD linguist-language=Shell 6 | POST_INSTALL linguist-language=Shell 7 | DEPENDS linguist-language=Shell 8 | CONFIGURE linguist-language=Shell 9 | PRE_REMOVE linguist-language=Shell 10 | POST_REMOVE linguist-language=Shell 11 | -------------------------------------------------------------------------------- /.github/workflows/remove-label.yml: -------------------------------------------------------------------------------- 1 | name: Remove Label on New Commit 2 | 3 | on: 4 | pull_request: 5 | types: [synchronize] 6 | 7 | jobs: 8 | remove-label: 9 | if: contains(github.event.pull_request.labels.*.name, 'iso_ok') 10 | runs-on: ubuntu-latest 11 | 12 | steps: 13 | - name: Remove iso_broken label from PR 14 | uses: actions/github-script@v7 15 | with: 16 | script: | 17 | const labelToRemove = 'iso_broken' 18 | 19 | await github.rest.issues.removeLabel({ 20 | owner: context.repo.owner, 21 | repo: context.repo.repo, 22 | issue_number: context.issue.number, 23 | name: [labelToRemove], 24 | }) 25 | -------------------------------------------------------------------------------- /aliases: -------------------------------------------------------------------------------- 1 | %SSL:openssl libressl gnutls 2 | %OSSL:openssl libressl 3 | %XMLRENDERER:libxml2 expat 4 | -------------------------------------------------------------------------------- /archive/bzip2/CONFIGURE: -------------------------------------------------------------------------------- 1 | mquery ENABLE_LARGEFILE "Enable large file support?" y 2 | -------------------------------------------------------------------------------- /archive/bzip2/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=bzip2 2 | VERSION=1.0.8 3 | SOURCE=$MODULE-$VERSION.tar.gz 4 | SOURCE_URL=https://sourceware.org/pub/$MODULE/ 5 | SOURCE_VFY=sha256:ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269 6 | WEB_SITE=http://www.bzip.org 7 | ENTERED=20020218 8 | UPDATED=20190714 9 | SHORT="High-quality data compressor" 10 | 11 | cat << EOF 12 | Bzip2 is a freely available, patent free (see below), high-quality data 13 | compressor. It typically compresses files to within 10% to 15% of the 14 | best available techniques (the PPM family of statistical compressors), 15 | whilst being around twice as fast at compression and six times faster 16 | at decompression. 17 | EOF 18 | -------------------------------------------------------------------------------- /archive/bzip2/PRE_BUILD: -------------------------------------------------------------------------------- 1 | default_pre_build && 2 | 3 | sedit "s/^CFLAGS=.*$/CFLAGS=$CFLAGS -fPIC/" Makefile && 4 | sedit "s/ln/ln -f/" Makefile && 5 | sedit "s/\$(PREFIX)\/man/\$(PREFIX)\/share\/man/g" Makefile && 6 | 7 | # Makefile hack to not install static lib 8 | sedit "s/all: libbz2.a/all:/g" Makefile && 9 | sedit "s/bzip2: libbz2.a/bzip2:/g" Makefile && 10 | sedit "/cp -f libbz2.a/d" Makefile && 11 | sedit "/chmod a+r \$(PREFIX)\/lib\/libbz2.a/d" Makefile && 12 | 13 | #Lets give it a bzip2.pc. Noticed fiddling with a thunderbird bump it 14 | #couldn't fine this file. 15 | cp $SCRIPT_DIRECTORY/bzip2.pc . && 16 | sed "s|@VERSION@|$VERSION|" -i bzip2.pc 17 | -------------------------------------------------------------------------------- /archive/bzip2/bzip2.pc: -------------------------------------------------------------------------------- 1 | prefix=/usr 2 | exec_prefix=/usr 3 | bindir=${exec_prefix}/bin 4 | libdir=${exec_prefix}/lib 5 | includedir=${prefix}/include 6 | 7 | Name: bzip2 8 | Description: A file compression library 9 | Version: @VERSION@ 10 | Libs: -L${libdir} -lbz2 11 | Cflags: -I${includedir} 12 | -------------------------------------------------------------------------------- /archive/cpio/BUILD: -------------------------------------------------------------------------------- 1 | CFLAGS+=' -fcommon' # fix the compilation with gcc 10.x 2 | 3 | OPTS+=" --exec-prefix=/usr \ 4 | --mandir=/usr/share/man" 5 | 6 | default_build && 7 | 8 | # remove the rmt application 9 | rm -f /usr/bin/rmt && 10 | rm -f /usr/share/man/man8/rmt.8 && 11 | 12 | # remove infodir 13 | rm /usr/share/info/dir 14 | -------------------------------------------------------------------------------- /archive/cpio/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=cpio 2 | VERSION=2.15 3 | SOURCE=$MODULE-$VERSION.tar.bz2 4 | SOURCE_URL[0]=$GNU_URL/$MODULE 5 | SOURCE_URL[1]=ftp://ftp.gnu.org/pub/gnu/$MODULE 6 | SOURCE_VFY=sha256:937610b97c329a1ec9268553fb780037bcfff0dcffe9725ebc4fd9c1aa9075db 7 | WEB_SITE=http://www.gnu.org/software/cpio/ 8 | ENTERED=20011004 9 | UPDATED=20240122 10 | SHORT="A tool to copy files into or out of a cpio or tar archive" 11 | 12 | cat << EOF 13 | GNU cpio - Creates cpio or tar archives. 14 | cpio is equivalent to tar with a couple of buts and depends. 15 | It also provides the rmt command. 16 | EOF 17 | -------------------------------------------------------------------------------- /archive/gzip/BUILD: -------------------------------------------------------------------------------- 1 | OPTS+=" --bindir=/bin" 2 | 3 | default_build 4 | -------------------------------------------------------------------------------- /archive/gzip/POST_REMOVE: -------------------------------------------------------------------------------- 1 | install-info --delete gzip --info-dir /usr/info 2 | -------------------------------------------------------------------------------- /archive/lz4/BUILD: -------------------------------------------------------------------------------- 1 | OPTS+=" PREFIX=/usr" 2 | 3 | make -C lib $OPTS && 4 | make -C programs $OPTS lz4 lz4c && 5 | 6 | prepare_install && 7 | 8 | make install $OPTS && 9 | 10 | # remove the static library 11 | rm -f /usr/lib/liblz4.a 12 | -------------------------------------------------------------------------------- /archive/lz4/DEPENDS: -------------------------------------------------------------------------------- 1 | depends diffutils 2 | -------------------------------------------------------------------------------- /archive/lz4/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=lz4 2 | VERSION=1.10.0 3 | SOURCE=$MODULE-$VERSION.tar.gz 4 | SOURCE_URL_FULL=https://github.com/lz4/lz4/archive/v$VERSION.tar.gz 5 | SOURCE_VFY=sha256:537512904744b35e232912055ccf8ec66d768639ff3abe5788d90d792ec5f48b 6 | WEB_SITE=https://lz4.org/ 7 | ENTERED=20140619 8 | UPDATED=20240731 9 | SHORT="Very fast lossless compression algorithm" 10 | 11 | cat << EOF 12 | LZ4 is a very fast lossless compression algorithm, providing compression speed 13 | at 400 MB/s per core, scalable with multi-cores CPU. 14 | It also features an extremely fast decoder, with speed in multiple GB/s per 15 | core, typically reaching RAM speed limits on multi-core systems. 16 | EOF 17 | -------------------------------------------------------------------------------- /archive/lz4/PRE_BUILD: -------------------------------------------------------------------------------- 1 | default_pre_build && 2 | 3 | # don't build 32bit on 64bit platforms 4 | sedit 's/bins m32/bins/' programs/Makefile 5 | -------------------------------------------------------------------------------- /archive/lzip/BUILD: -------------------------------------------------------------------------------- 1 | 2 | ./configure --prefix=/usr \ 3 | --infodir=/usr/share/info \ 4 | --mandir=/usr/share/man \ 5 | $OPTS && 6 | 7 | make && 8 | prepare_install && 9 | make install-strip 10 | -------------------------------------------------------------------------------- /archive/lzip/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=lzip 2 | VERSION=1.25 3 | SOURCE=$MODULE-$VERSION.tar.gz 4 | SOURCE_URL=http://download.savannah.nongnu.org/releases/lzip/ 5 | SOURCE_VFY=sha256:09418a6d8fb83f5113f5bd856e09703df5d37bae0308c668d0f346e3d3f0a56f 6 | WEB_SITE=http://nongnu.askapache.com/lzip/manual/lzip_manual.html 7 | ENTERED=20091122 8 | UPDATED=20250118 9 | SHORT="lossless data compressor" 10 | 11 | cat << EOF 12 | Lzip is a lossless data compressor based on the LZMA algorithm, with very safe 13 | integrity checking and a user interface similar to the one of gzip or bzip2. 14 | Lzip decompresses almost as fast as gzip and compresses better than bzip2, 15 | which makes it well suited for software distribution and data archiving. 16 | EOF 17 | -------------------------------------------------------------------------------- /archive/lzip/PRE_BUILD: -------------------------------------------------------------------------------- 1 | default_pre_build && 2 | sedit "s/^CPPFLAGS=/\0\${CPPFLAGS}/; 3 | s/^CXXFLAGS=\(.*\)$/CXXFLAGS=\${CXXFLAGS:-\1}/; 4 | s/^LDFLAGS=/\0\${LDFLAGS}/" configure 5 | -------------------------------------------------------------------------------- /archive/lzo/BUILD: -------------------------------------------------------------------------------- 1 | OPTS+=" --enable-shared --disable-static" && 2 | 3 | default_build 4 | -------------------------------------------------------------------------------- /archive/pbzip2/DEPENDS: -------------------------------------------------------------------------------- 1 | depends bzip2 2 | -------------------------------------------------------------------------------- /archive/rpmunpack/BUILD: -------------------------------------------------------------------------------- 1 | ( 2 | 3 | cp ${SOURCE_CACHE}/$SOURCE2 rpm2cpio && 4 | patch_it $SOURCE3 0 && 5 | make && 6 | prepare_install && 7 | install -m755 -s rpmunpack /usr/bin/ && 8 | 9 | if ! module_installed rpm && ! module_installed rpm-old ; then 10 | # rpm module provides /usr/bin/rpm2cpio 11 | install -m755 rpm2cpio /usr/bin/ 12 | fi 13 | 14 | ) > $C_FIFO 2>&1 15 | -------------------------------------------------------------------------------- /archive/rpmunpack/DEPENDS: -------------------------------------------------------------------------------- 1 | depends cpio 2 | depends xz 3 | -------------------------------------------------------------------------------- /archive/tar/BUILD: -------------------------------------------------------------------------------- 1 | export FORCE_UNSAFE_CONFIGURE=1 2 | 3 | default_build 4 | -------------------------------------------------------------------------------- /archive/tar/DEPENDS: -------------------------------------------------------------------------------- 1 | # actually optional, but since most sources are archived 2 | # as *.tar.{gz,bz2,xz} we're setting them to required 3 | depends gzip 4 | depends bzip2 5 | depends xz 6 | 7 | optional_depends pbzip2 \ 8 | "--with-bzip2=/usr/bin/pbzip2" "" \ 9 | "for parallel bzip2 (de)compression (speedup on multi-core systems)" 10 | 11 | optional_depends lzip "--with-lzip=/usr/bin/lzip" "" "for lzip compression support" 12 | 13 | optional_depends attr "" "--without-xattrs" "for attr support" 14 | optional_depends acl "" "--without-posix-acls" "for acl support" 15 | -------------------------------------------------------------------------------- /archive/tar/POST_REMOVE: -------------------------------------------------------------------------------- 1 | install-info --delete tar --info-dir /usr/share/info 2 | -------------------------------------------------------------------------------- /archive/unzip/BUILD: -------------------------------------------------------------------------------- 1 | ./configure && 2 | make linux_shlib && 3 | make linux && 4 | 5 | prepare_install && 6 | 7 | make install && 8 | 9 | cp -af libunzip.s* /usr/lib && 10 | gather_docs BUGS WHERE ToDo 11 | -------------------------------------------------------------------------------- /archive/unzip/BUILD.x86_64: -------------------------------------------------------------------------------- 1 | ./configure && 2 | #make linux_shlib && 3 | make linux_noasm && 4 | 5 | prepare_install && 6 | 7 | make install && 8 | 9 | #cp -af libunzip.s* /usr/lib && 10 | gather_docs BUGS WHERE ToDo 11 | -------------------------------------------------------------------------------- /archive/unzip/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=unzip 2 | VERSION=60 3 | SOURCE=$MODULE$VERSION.tar.gz 4 | SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE$VERSION 5 | SOURCE_URL[0]=$SFORGE_URL/infozip/ 6 | SOURCE_VFY=sha256:036d96991646d0449ed0aa952e4fbe21b476ce994abc276e49d30e686708bd37 7 | WEB_SITE=http://www.info-zip.org/UnZip.html 8 | ENTERED=20010922 9 | UPDATED=20180419 10 | SHORT="PKWARE compatible decompressor" 11 | 12 | cat << EOF 13 | Info-ZIP's purpose is to provide free, portable, high-quality versions of 14 | the Zip and UnZip compressor-archiver utilities that are compatible with the 15 | DOS-based PKZIP by PKWARE, Inc. 16 | EOF 17 | -------------------------------------------------------------------------------- /archive/unzip/PRE_BUILD: -------------------------------------------------------------------------------- 1 | default_pre_build && 2 | 3 | sedit "s/-O3/$CFLAGS/" unix/configure unix/Makefile && 4 | sedit "s/MANDIR = \$(prefix)\/man/MANDIR = \$(prefix)\/share\/man/" unix/Makefile && 5 | sedit 's@/usr/local@/usr@g' unix/Makefile unix/configure && 6 | 7 | cp -rf unix/* . 8 | -------------------------------------------------------------------------------- /archive/unzip/patch.d/unzip-6.0_CVE-2021-4217.patch: -------------------------------------------------------------------------------- 1 | diff --git a/process.c b/process.c 2 | index d2a846e..cba2463 100644 3 | --- a/process.c 4 | +++ b/process.c 5 | @@ -2064,10 +2064,14 @@ int getUnicodeData(__G__ ef_buf, ef_len) 6 | G.unipath_checksum = makelong(offset + ef_buf); 7 | offset += 4; 8 | 9 | + if (!G.filename_full) { 10 | + /* Check if we have a unicode extra section but no filename set */ 11 | + return PK_ERR; 12 | + } 13 | + 14 | /* 15 | * Compute 32-bit crc 16 | */ 17 | - 18 | chksum = crc32(chksum, (uch *)(G.filename_full), 19 | strlen(G.filename_full)); 20 | -------------------------------------------------------------------------------- /archive/xz/BUILD: -------------------------------------------------------------------------------- 1 | OPTS+=" --disable-static --libdir=/lib" && 2 | 3 | default_build 4 | -------------------------------------------------------------------------------- /archive/xz/DEPENDS: -------------------------------------------------------------------------------- 1 | depends pkgconf 2 | -------------------------------------------------------------------------------- /archive/xz/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=xz 2 | VERSION=5.8.1 3 | SOURCE=$MODULE-$VERSION.tar.gz 4 | SOURCE_URL=https://github.com/tukaani-project/xz/releases/download/v${VERSION}/ 5 | SOURCE_VFY=sha256:507825b599356c10dca1cd720c9d0d0c9d5400b9de300af00e4d1ea150795543 6 | WEB_SITE=https://xz.tukaani.org/xz-utils/ 7 | ENTERED=20090224 8 | UPDATED=20250403 9 | SHORT="Utils for XZ archive format" 10 | 11 | cat << EOF 12 | XZ Utils (new name for the improved format/tools) is the successor to lzma. 13 | New suffix, ".xz" replaces ".lzma". Note the better-compressed tar ball name 14 | has the ".xz" suffix instead of lzma. 15 | EOF 16 | -------------------------------------------------------------------------------- /archive/xz/PRE_BUILD: -------------------------------------------------------------------------------- 1 | default_pre_build && 2 | 3 | sedit "s:\$(libdir)/pkgconfig:/usr/lib/pkgconfig:" src/liblzma/Makefile.am src/liblzma/Makefile.in 4 | -------------------------------------------------------------------------------- /archive/zlib/BUILD: -------------------------------------------------------------------------------- 1 | export CFLAGS="$CFLAGS -fPIC" && 2 | 3 | # binutils needs static the lib 4 | ./configure --prefix=/usr && 5 | make && 6 | 7 | ./configure --prefix=/usr \ 8 | --libdir=/lib \ 9 | --shared && 10 | 11 | default_make 12 | -------------------------------------------------------------------------------- /archive/zlib/DEPENDS: -------------------------------------------------------------------------------- 1 | depends pkgconf 2 | -------------------------------------------------------------------------------- /archive/zlib/PRE_BUILD: -------------------------------------------------------------------------------- 1 | default_pre_build && 2 | 3 | sedit "s:\${libdir}/pkgconfig:/usr/lib/pkgconfig:" Makefile.in 4 | -------------------------------------------------------------------------------- /archive/zstd/BUILD: -------------------------------------------------------------------------------- 1 | make && 2 | make zstdmt && 3 | make -C contrib/pzstd && 4 | 5 | prepare_install && 6 | 7 | make PREFIX=/usr install && 8 | ln -f /usr/bin/zstd /usr/bin/zstdmt && 9 | install -Dm755 contrib/pzstd/pzstd /usr/bin/pzstd 10 | -------------------------------------------------------------------------------- /archive/zstd/DEPENDS: -------------------------------------------------------------------------------- 1 | depends xz 2 | depends lz4 3 | depends zlib 4 | -------------------------------------------------------------------------------- /chat/irssi/CONFIGURE: -------------------------------------------------------------------------------- 1 | mquery ENABLE_BOT "Enable irssi-bot?" n --with-bot --without-bot 2 | mquery ENABLE_PROXY "Enable irssi-proxy?" n --with-proxy --without-proxy 3 | -------------------------------------------------------------------------------- /chat/irssi/DEPENDS: -------------------------------------------------------------------------------- 1 | depends glib-2 2 | depends ncurses 3 | 4 | optional_depends perl \ 5 | "--with-perl" \ 6 | "--without-perl" \ 7 | "for perl support" 8 | 9 | optional_depends %OSSL "" "--disable-ssl" "for SSL support" 10 | 11 | optional_depends libwww-perl "" "" "for scriptassist script" 12 | -------------------------------------------------------------------------------- /compilers/bin86/BUILD: -------------------------------------------------------------------------------- 1 | ( 2 | 3 | sedit "s/-O2/$CFLAGS/1" Makefile && 4 | sedit "s:(PREFIX)/man:(PREFIX)/share/man:1" Makefile && 5 | sedit "s:/usr/local:/usr:" Makefile && 6 | 7 | default_build 8 | 9 | ) > $C_FIFO 2>&1 10 | -------------------------------------------------------------------------------- /compilers/bin86/BUILD.x86_64: -------------------------------------------------------------------------------- 1 | ( 2 | 3 | patch_it $SOURCE2 1 && 4 | 5 | sedit "s/-O2/$CFLAGS/1" Makefile && 6 | sedit "s:(PREFIX)/man:(PREFIX)/share/man:1" Makefile && 7 | sedit "s:/usr/local:/usr:" Makefile && 8 | 9 | default_build 10 | 11 | ) > $C_FIFO 2>&1 12 | -------------------------------------------------------------------------------- /compilers/gcc/DEPENDS: -------------------------------------------------------------------------------- 1 | depends libmpc 2 | depends binutils 3 | depends zstd 4 | 5 | optional_depends isl "--with-isl" "--without-isl" "for ISL library support" 6 | -------------------------------------------------------------------------------- /compilers/gcc/POST_REMOVE: -------------------------------------------------------------------------------- 1 | install-info --delete chill --info-dir /usr/share/info 2 | install-info --delete cpp --info-dir /usr/share/info 3 | install-info --delete g77 --info-dir /usr/share/info 4 | install-info --delete gcc --info-dir /usr/share/info 5 | -------------------------------------------------------------------------------- /compilers/gcc/PRE_BUILD: -------------------------------------------------------------------------------- 1 | default_pre_build && 2 | 3 | # installwatch fails to track files installed using tar 4 | sedit 's;^\(build_install_headers_dir=\).*;\1install-headers-cp;' gcc/config.build && 5 | 6 | # Disable fix includes 7 | sedit 's;\./fixinc\.sh;-c true;' gcc/Makefile.in && 8 | 9 | # store old version for POST_INSTALL 10 | set_module_config OLD_GCC_VERSION "$(installed_version $MODULE)" 11 | -------------------------------------------------------------------------------- /compilers/gcc/c89: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | fl="-std=c89" 3 | for opt; do 4 | case "$opt" in 5 | -ansi|-std=c89|-std=iso9899:1990) fl="";; 6 | -std=*) echo "`basename $0` called with non ANSI/ISO C option $opt" >&2 7 | exit 1;; 8 | esac 9 | done 10 | exec gcc $fl ${1+"$@"} 11 | -------------------------------------------------------------------------------- /compilers/gcc/c99: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | fl="-std=c99" 3 | for opt; do 4 | case "$opt" in 5 | -std=c99|-std=iso9899:1999) fl="";; 6 | -std=*) echo "`basename $0` called with non ISO C99 option $opt" >&2 7 | exit 1;; 8 | esac 9 | done 10 | exec gcc $fl ${1+"$@"} 11 | -------------------------------------------------------------------------------- /crypto/ca-certificates/BUILD: -------------------------------------------------------------------------------- 1 | make && 2 | prepare_install && 3 | 4 | install -d -m755 /{etc/{ca-certificates/update.d,ssl/certs},usr/share/ca-certificates} && 5 | install -D -m644 sbin/update-ca-certificates.8 /usr/share/man/man8/update-ca-certificates.8 && 6 | 7 | make install && 8 | 9 | ( 10 | cd /usr/share/ca-certificates 11 | find . -name '*.crt' | sort | cut -b3- 12 | ) > /etc/ca-certificates.conf && 13 | 14 | # Make CA bundle present in the most popular places. 15 | mkdir -p /etc/pki/tls /usr/share/ssl && 16 | ln -sf /etc/ssl/certs /etc/pki/tls/certs && 17 | ln -sf /etc/ssl/certs /usr/share/ssl/certs && 18 | ln -sf /etc/ssl/certs/ca-{certificates,bundle}.crt && 19 | /usr/sbin/update-ca-certificates --fresh &> /dev/null 20 | -------------------------------------------------------------------------------- /crypto/ca-certificates/DEPENDS: -------------------------------------------------------------------------------- 1 | depends python 2 | depends lunar-tools 3 | depends %OSSL 4 | 5 | optional_depends cron-common "" "" "for adding/updating new certificates" 6 | -------------------------------------------------------------------------------- /crypto/ca-certificates/PRE_BUILD: -------------------------------------------------------------------------------- 1 | validate_source_dir $SOURCE_DIRECTORY && 2 | mk_source_dir $SOURCE_DIRECTORY && 3 | cd $SOURCE_DIRECTORY && 4 | tar --strip-component=1 -xf $SOURCE_CACHE/$SOURCE -C $SOURCE_DIRECTORY/ 5 | -------------------------------------------------------------------------------- /crypto/cryptsetup/BUILD: -------------------------------------------------------------------------------- 1 | OPTS+=" --disable-static \ 2 | --disable-ssh-token \ 3 | --enable-cryptsetup-reencrypt \ 4 | --with-luks2-lock-path=/run/cryptsetup" 5 | 6 | default_build 7 | -------------------------------------------------------------------------------- /crypto/cryptsetup/DEPENDS: -------------------------------------------------------------------------------- 1 | depends popt 2 | depends lvm2 3 | depends util-linux 4 | depends json-c 5 | depends %OSSL 6 | 7 | optional_depends libssh \ 8 | "--enable-ssh-token" \ 9 | "--disable-ssh-token" \ 10 | "For ssh token support" \ 11 | n 12 | 13 | optional_depends asciidoctor \ 14 | "--enable-asciidoc" \ 15 | "--disable-asciidoc" \ 16 | "For man page generation" \ 17 | n 18 | 19 | optional_depends argon2 \ 20 | "--enable-libargon2" \ 21 | "--disable-libargon2" \ 22 | "for argon2 password-hashing support" 23 | -------------------------------------------------------------------------------- /crypto/cryptsetup/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=cryptsetup 2 | VERSION=2.7.5 3 | SOURCE=$MODULE-$VERSION.tar.xz 4 | SOURCE_URL=https://mirrors.kernel.org/pub/linux/utils/cryptsetup/v${VERSION%.*} 5 | SOURCE_VFY=sha256:d2be4395b8f503b0ebf4b2d81db90c35a97050a358ee21fe62a0dfb66e5d5522 6 | WEB_SITE=https://gitlab.com/cryptsetup/cryptsetup 7 | ENTERED=20050309 8 | UPDATED=20241216 9 | SHORT="Device-mapper crypto userspace setup tool" 10 | 11 | cat << EOF 12 | Using device-mapper's dmsetup directly is too complicated for most people. 13 | Cryptsetup is being written to behave like one of the patched losetup's out 14 | there. 15 | EOF 16 | -------------------------------------------------------------------------------- /crypto/cryptsetup/PRE_BUILD: -------------------------------------------------------------------------------- 1 | default_pre_build && 2 | 3 | # Silence warnings from libressl 4 | sedit 's;EVP_DecryptFinal;EVP_DecryptFinal_ex;g;s;EVP_EncryptFinal;EVP_EncryptFinal_ex;g' lib/crypto_backend/crypto_openssl.c 5 | -------------------------------------------------------------------------------- /crypto/libgcrypt/BUILD: -------------------------------------------------------------------------------- 1 | OPTS+=" --sysconfdir=/etc \ 2 | --disable-static \ 3 | --disable-padlock-support" 4 | 5 | default_build 6 | 7 | -------------------------------------------------------------------------------- /crypto/libgcrypt/DEPENDS: -------------------------------------------------------------------------------- 1 | depends libgpg-error 2 | 3 | -------------------------------------------------------------------------------- /crypto/libgcrypt/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=libgcrypt 2 | VERSION=1.11.0 3 | SOURCE=$MODULE-$VERSION.tar.bz2 4 | SOURCE_URL=https://www.gnupg.org/ftp/gcrypt/libgcrypt/ 5 | SOURCE_VFY=sha256:09120c9867ce7f2081d6aaa1775386b98c2f2f246135761aae47d81f58685b9c 6 | WEB_SITE=https://directory.fsf.org/wiki/Security/libgcrypt 7 | ENTERED=20020212 8 | UPDATED=20241217 9 | SHORT="General purpose crypto library" 10 | 11 | cat << EOF 12 | Libgcrypt is a general purpose crypto library based on the code used 13 | in GnuPG. 14 | EOF 15 | -------------------------------------------------------------------------------- /crypto/libgpg-error/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=libgpg-error 2 | VERSION=1.55 3 | SOURCE=$MODULE-$VERSION.tar.bz2 4 | SOURCE_URL=https://www.gnupg.org/ftp/gcrypt/$MODULE 5 | SOURCE_VFY=sha256:95b178148863f07d45df0cea67e880a79b9ef71f5d230baddc0071128516ef78 6 | WEB_SITE=http://www.gnupg.org 7 | ENTERED=20020212 8 | UPDATED=20250425 9 | SHORT="Defines common error values for all GnuPG components" 10 | 11 | cat << EOF 12 | This is a library that defines common error values for all GnuPG components. 13 | Among these are GPG, GPGSM, GPGME, GPG-Agent, libgcrypt, pinentry, SmartCard 14 | Daemon and possibly more in the future. 15 | EOF 16 | -------------------------------------------------------------------------------- /crypto/libressl/DEPENDS: -------------------------------------------------------------------------------- 1 | depends pkgconf 2 | 3 | optional_depends ca-certificates "" "" "for a basic set of CA certificates" 4 | -------------------------------------------------------------------------------- /crypto/libressl/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=libressl 2 | VERSION=3.9.2 3 | SOURCE=$MODULE-$VERSION.tar.gz 4 | SOURCE_URL=https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/ 5 | SOURCE_VFY=sha256:7b031dac64a59eb6ee3304f7ffb75dad33ab8c9d279c847f92c89fb846068f97 6 | WEB_SITE=https://www.libressl.org 7 | ENTERED=20160301 8 | UPDATED=20240512 9 | SHORT="A version of the TLS/crypto stack forked from OpenSSL" 10 | 11 | cat << EOF 12 | LibreSSL is a version of the TLS/crypto stack forked from OpenSSL in 2014, 13 | with goals of modernizing the codebase, improving security, and applying best 14 | practice development processes. 15 | EOF 16 | -------------------------------------------------------------------------------- /crypto/libressl/POST_BUILD: -------------------------------------------------------------------------------- 1 | # wget will be temporarily out of commission after installing libressl, 2 | # so download a copy of its source code now while it still works 3 | download_module wget 4 | 5 | # Check to see if we're migrating from openssl to libressl 6 | if module_installed openssl; then 7 | lrm openssl 8 | touch /var/state/lunar/migrating.from.openssl 9 | fi 10 | -------------------------------------------------------------------------------- /crypto/libressl/POST_INSTALL: -------------------------------------------------------------------------------- 1 | # Has to be done BEFORE anything else 2 | lunar fix wget && 3 | 4 | # Recent libressl changes may break ssh undetectable to lunar fix 5 | if module_installed openssh; then 6 | lin -c openssh 7 | fi 8 | 9 | if [ -f /var/state/lunar/migrating.from.openssl ]; then 10 | lunar fix $(lvu depends openssl) 11 | fi 12 | -------------------------------------------------------------------------------- /crypto/libxcrypt/BUILD: -------------------------------------------------------------------------------- 1 | # Its include conflicts with glibc:/usr/include/crypt.h and 2 | # its /usr/lib/libcrypt.so conflicts with glibc 3 | OPTS+=" --enable-hashes=strong,glibc \ 4 | --enable-obsolete-api=no \ 5 | --disable-failure-tokens \ 6 | --disable-static \ 7 | --disable-werror \ 8 | --libdir=/usr/lib \ 9 | --includedir=/usr/include \ 10 | " && 11 | 12 | default_build 13 | -------------------------------------------------------------------------------- /crypto/openssh/BUILD: -------------------------------------------------------------------------------- 1 | add_priv_user sshd:sshd && 2 | 3 | OPTS=$OPTS" --sysconfdir=/etc/ssh" && 4 | default_build && 5 | 6 | # create /var/empty 7 | mkdir -p /var/empty && 8 | chown root:sys /var/empty && 9 | chmod 755 /var/empty && 10 | 11 | # install ssh-copy-id script and man page 12 | install -Dm755 {contrib,/usr/bin}/ssh-copy-id && 13 | install -Dm644 {contrib,/usr/share/man/man1}/ssh-copy-id.1 14 | -------------------------------------------------------------------------------- /crypto/openssh/CONFIGURE: -------------------------------------------------------------------------------- 1 | mquery DISABLE_DSA "Disable DSA key support?" y \ 2 | "--disable-dsa-keys" "--enable-dsa-keys" 3 | -------------------------------------------------------------------------------- /crypto/openssh/PRE_BUILD: -------------------------------------------------------------------------------- 1 | default_pre_build && 2 | 3 | # Don't generate host keys during BUILD. They should not be tracked 4 | sedit '/^install:/s/ host-key / /' Makefile.in && 5 | 6 | # don't allow root login by default 7 | sedit 's/^#PermitRootLogin.*/PermitRootLogin prohibit-password/' sshd_config 8 | -------------------------------------------------------------------------------- /crypto/openssh/pam.d/sshd: -------------------------------------------------------------------------------- 1 | #%PAM-1.0 2 | auth include system-auth 3 | account required pam_nologin.so 4 | account include system-auth 5 | password include system-auth 6 | session include system-auth 7 | # Uncomment the following line only if you run kernel 2.6.11 or above 8 | #session required pam_loginuid.so 9 | -------------------------------------------------------------------------------- /crypto/openssh/profile.d/ssh-completion.rc: -------------------------------------------------------------------------------- 1 | # Turn on extended globbing 2 | shopt -s extglob 3 | 4 | # ssh hostname completion 5 | 6 | _ssh () 7 | { 8 | local cur 9 | cur=${COMP_WORDS[COMP_CWORD]} 10 | COMPREPLY=( $( compgen -W "`cat $HOME/.ssh/known_hosts | cut -d' ' -f1 | sed 's:,: :g'`" $cur ) ) 11 | } 12 | complete -F _ssh ssh 13 | -------------------------------------------------------------------------------- /crypto/openssh/services: -------------------------------------------------------------------------------- 1 | ssh 22/tcp 2 | ssh 22/udp 3 | -------------------------------------------------------------------------------- /crypto/openssh/systemd.d/sshd-keys.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Create sshd host keys (one time service only) 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 | Type=oneshot 16 | ExecStart=/usr/bin/ssh-keygen -A 17 | RemainAfterExit=yes 18 | 19 | [Install] 20 | WantedBy=multi-user.target 21 | -------------------------------------------------------------------------------- /crypto/openssh/systemd.d/sshd.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=OpenSSH Daemon - daemon version 3 | Wants=sshd-keys.service 4 | After=sshd-keys.service network.target 5 | 6 | [Service] 7 | ExecStart=/usr/sbin/sshd -D 8 | ExecReload=/usr/bin/kill -HUP $MAINPID 9 | KillMode=process 10 | Restart=always 11 | 12 | [Install] 13 | WantedBy=multi-user.target 14 | -------------------------------------------------------------------------------- /crypto/openssh/systemd.d/sshd.socket: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=SSH Per-Connection Server - no daemon version 3 | Conflicts=sshd.service 4 | Wants=sshd-keys.service 5 | 6 | [Socket] 7 | ListenStream=22 8 | Accept=yes 9 | 10 | [Install] 11 | WantedBy=sockets.target 12 | -------------------------------------------------------------------------------- /crypto/openssh/systemd.d/sshd@.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=SSH Per-Connection Server - no daemon version 3 | After=sshd-keys.service 4 | 5 | [Service] 6 | ExecStart=-/usr/sbin/sshd -i 7 | ExecReload=/usr/bin/kill -HUP $MAINPID 8 | StandardInput=socket 9 | 10 | [Install] 11 | WantedBy=network.target 12 | -------------------------------------------------------------------------------- /crypto/openssh/tmpfiles.d/sshd.conf: -------------------------------------------------------------------------------- 1 | d /var/empty 0755 root root 2 | -------------------------------------------------------------------------------- /crypto/openssl/BUILD: -------------------------------------------------------------------------------- 1 | # make sure the luser has the source for this one! 2 | WANT_VERSION= download_module wget && 3 | 4 | # mark stack as non-executable 5 | ./config --prefix=/usr \ 6 | --openssldir=/etc/ssl \ 7 | shared \ 8 | no-ssl3 \ 9 | no-ssl3-method \ 10 | $(arch | grep -q x86_64 && echo enable-ec_nistp_64_gcc_128) \ 11 | "-Wa,--noexecstack" \ 12 | $OPTS 13 | 14 | sedit "/^CC/d" Makefile && 15 | sedit "s/-O3/-Os/" Makefile && 16 | 17 | make LIBDIR=lib && 18 | prepare_install && 19 | make LIBDIR=lib MANDIR=/usr/share/man install && 20 | cp $SOURCE_CACHE/$SOURCE2 /etc/ssl/certs/Makefile 21 | -------------------------------------------------------------------------------- /crypto/openssl/CONFLICTS: -------------------------------------------------------------------------------- 1 | conflicts libressl 2 | -------------------------------------------------------------------------------- /crypto/openssl/DEPENDS: -------------------------------------------------------------------------------- 1 | depends pkgconf 2 | depends perl 3 | depends zlib 4 | -------------------------------------------------------------------------------- /crypto/openssl/POST_BUILD: -------------------------------------------------------------------------------- 1 | #!/usr/bin/bash 2 | 3 | # wget will be temporarily out of commission after installing libressl, 4 | # so download a copy of its source code now while it still works 5 | download_module wget 6 | 7 | # Check to see if we're migrating from openssl to libressl 8 | if module_installed libressl; then 9 | lrm libressl 10 | touch /var/state/lunar/migrating.from.libressl 11 | fi 12 | -------------------------------------------------------------------------------- /crypto/openssl/POST_INSTALL: -------------------------------------------------------------------------------- 1 | # Remove of gcc internal header is necessary as it "fixes" its own 2 | # copy of the bn.h include files. This will allow gcc to correctly 3 | # recompile an openssl app. 4 | 5 | rm -rf /usr/lib/gcc-lib/*/$(installed_version gcc)/include/openssl &> /dev/null 6 | 7 | # Has to be done BEFORE anything else 8 | lin -c wget && 9 | 10 | # Recent openssl changes may break ssh undetectable to lunar fix 11 | if module_installed openssh; then 12 | lin -c openssh 13 | fi 14 | 15 | if [ -f /var/state/lunar/migrating.from.libressl ]; then 16 | lunar fix $(lvu depends libressl) 17 | rm /var/state/lunar/migrating.from.libressl 18 | fi 19 | -------------------------------------------------------------------------------- /devel/autoconf-archive/DEPENDS: -------------------------------------------------------------------------------- 1 | depends autoconf 2 | -------------------------------------------------------------------------------- /devel/autoconf/DEPENDS: -------------------------------------------------------------------------------- 1 | depends perl 2 | depends m4 3 | -------------------------------------------------------------------------------- /devel/automake/BUILD: -------------------------------------------------------------------------------- 1 | ( 2 | 3 | default_build && 4 | 5 | #the lines below arfe for the "automake" and "aclocal" symlinks, needed by some sources 6 | rm -Rf /usr/share/automake && 7 | ln -sf /usr/share/automake-${VERSION::4} /usr/share/automake 8 | 9 | ) > $C_FIFO 2>&1 10 | -------------------------------------------------------------------------------- /devel/automake/DEPENDS: -------------------------------------------------------------------------------- 1 | depends autoconf 2 | depends gettext 3 | -------------------------------------------------------------------------------- /devel/binutils/DEPENDS: -------------------------------------------------------------------------------- 1 | depends flex 2 | depends zlib 3 | 4 | optional_depends cloog "--enable-cloog-backend=isl" "" "for Graphite Optimizer" 5 | -------------------------------------------------------------------------------- /devel/binutils/PRE_BUILD: -------------------------------------------------------------------------------- 1 | default_pre_build && 2 | 3 | sedit 's:@bfdlibdir@:@libdir@:g' {bfd,opcodes}/Makefile.in && 4 | sedit 's:@bfdincludedir@:@includedir@:g' {bfd,opcodes}/Makefile.in 5 | -------------------------------------------------------------------------------- /devel/bison/DEPENDS: -------------------------------------------------------------------------------- 1 | depends m4 2 | depends perl 3 | -------------------------------------------------------------------------------- /devel/bison/POST_REMOVE: -------------------------------------------------------------------------------- 1 | install-info --delete bison --info-dir /usr/info 2 | -------------------------------------------------------------------------------- /devel/check/BUILD: -------------------------------------------------------------------------------- 1 | OPTS+=" --disable-static" 2 | 3 | default_build 4 | -------------------------------------------------------------------------------- /devel/check/DEPENDS: -------------------------------------------------------------------------------- 1 | depends automake 2 | -------------------------------------------------------------------------------- /devel/cmake/BUILD: -------------------------------------------------------------------------------- 1 | if in_depends $MODULE qt5; then 2 | . /etc/profile.d/qt5.rc && 3 | OPTS+=" --qt-qmake=/usr/lib/qt5/bin/qmake" 4 | fi 5 | 6 | if module_installed jsoncpp; then 7 | OPTS+=" --system-jsoncpp" 8 | else 9 | OPTS+=" --no-system-jsoncpp" 10 | fi 11 | 12 | OLD_MAKES="${MAKES}" && unset MAKES && 13 | 14 | ./configure --prefix=/usr \ 15 | --docdir=/share/doc/cmake \ 16 | --mandir=/share/man \ 17 | --system-bzip2 \ 18 | --system-zlib \ 19 | --system-liblzma \ 20 | --parallel=${OLD_MAKES} \ 21 | $OPTS && 22 | 23 | export MAKES="${OLD_MAKES}" && 24 | 25 | make && 26 | 27 | default_install 28 | -------------------------------------------------------------------------------- /devel/diffstat/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=diffstat 2 | VERSION=1.68 3 | SOURCE=$MODULE-$VERSION.tgz 4 | SOURCE_URL=https://invisible-mirror.net/archives/$MODULE 5 | SOURCE_VFY=sha256:89f9294a8ac74fcef6f1b9ac408f43ebedf8d208e3efe0b99b4acc16dc6582c7 6 | WEB_SITE=http://invisible-island.net/diffstat/diffstat.html 7 | ENTERED=20060322 8 | UPDATED=20250425 9 | SHORT="Shows a histogram of a diff/patch file" 10 | 11 | cat << EOF 12 | diffstat is widely used by kernel developers to show where a submitted 13 | patch impacts the kernel. it will read the output of diff and 14 | display a histogram of the insertions, deletions, and modifications 15 | per-file. It is useful for reviewing large, complex patch files. 16 | EOF 17 | -------------------------------------------------------------------------------- /devel/diffutils/BUILD: -------------------------------------------------------------------------------- 1 | bad_flags -malign-double && 2 | 3 | default_build 4 | -------------------------------------------------------------------------------- /devel/diffutils/POST_REMOVE: -------------------------------------------------------------------------------- 1 | install-info --delete diff --info-dir /usr/share/info 2 | -------------------------------------------------------------------------------- /devel/diffutils/PRE_BUILD: -------------------------------------------------------------------------------- 1 | default_pre_build && 2 | 3 | # Fixes an incompatibility with glibc-2.16 4 | sedit '/gets is a/d' lib/stdio.in.h 5 | -------------------------------------------------------------------------------- /devel/flex/BUILD: -------------------------------------------------------------------------------- 1 | ./configure --build=$BUILD \ 2 | --prefix=/usr \ 3 | --disable-static \ 4 | $OPTS && 5 | 6 | sedit 's/ln -s/ln -sf/' Makefile && 7 | 8 | default_make && 9 | 10 | ln -sf flex /usr/bin/lex 11 | -------------------------------------------------------------------------------- /devel/flex/DEPENDS: -------------------------------------------------------------------------------- 1 | depends m4 2 | 3 | optional_depends bison "" "" "parser generator" 4 | optional_depends indent "" "" "control of whitespace" 5 | optional_depends help2man "" "" "generate the man page" 6 | -------------------------------------------------------------------------------- /devel/flex/PRE_BUILD: -------------------------------------------------------------------------------- 1 | default_pre_build && 2 | 3 | # Fix segfaults on use in some cases with glibc 2.26+ 4 | patch_it $SOURCE2 1 && 5 | 6 | if ! module_installed help2man; then 7 | # avoid building the man page 8 | sedit '/doc \\/d' Makefile.in 9 | fi 10 | -------------------------------------------------------------------------------- /devel/gc/BUILD: -------------------------------------------------------------------------------- 1 | CXXFLAGS+=' -std=gnu++98' && 2 | 3 | OPTS+=" --enable-cplusplus --disable-static" && 4 | 5 | default_build && 6 | 7 | #Install a missing header requited by guile-3.x 8 | install -m 644 include/gc_pthread_redirects.h /usr/include/gc/ 9 | -------------------------------------------------------------------------------- /devel/gc/DEPENDS: -------------------------------------------------------------------------------- 1 | depends pkgconf 2 | depends libatomic_ops 3 | -------------------------------------------------------------------------------- /devel/m4/BUILD: -------------------------------------------------------------------------------- 1 | ./configure --build=$BUILD \ 2 | --prefix=/usr \ 3 | $OPTS && 4 | 5 | sedit "s/fix)\/info/fix)\/share\/info/" Makefile && 6 | 7 | default_make 8 | -------------------------------------------------------------------------------- /devel/m4/POST_REMOVE: -------------------------------------------------------------------------------- 1 | install-info --delete m4 --info-dir /usr/info 2 | -------------------------------------------------------------------------------- /devel/make/DEPENDS: -------------------------------------------------------------------------------- 1 | optional_depends guile "--with-guile" "--without-guile" "for guile support" 2 | -------------------------------------------------------------------------------- /devel/make/POST_REMOVE: -------------------------------------------------------------------------------- 1 | install-info --delete make --info-dir /usr/info 2 | -------------------------------------------------------------------------------- /devel/make/PRE_BUILD: -------------------------------------------------------------------------------- 1 | default_pre_build && 2 | 3 | # use guile 2.2.x 4 | sedit 's|guile-1.8|guile-2.2|g' configure.ac && 5 | 6 | autoreconf -fi 7 | -------------------------------------------------------------------------------- /devel/make/patch.d/make-4.2.1-test-driver.patch: -------------------------------------------------------------------------------- 1 | commit d9d4e06084a4c7da480bd49a3487aadf6ba77b54 2 | Author: Enrique Olaizola 3 | Date: Sat May 27 14:24:33 2017 -0400 4 | 5 | * tests/run_make_tests.pl: [SV 50902] Find Perl modules 6 | 7 | --- ./tests/run_make_tests.pl 2016-04-04 01:38:37.000000000 -0400 8 | +++ ./tests/run_make_tests.pl 2018-04-25 14:19:19.692178798 -0400 9 | @@ -58,6 +58,9 @@ if ($^O eq 'VMS') 10 | *CORE::GLOBAL::rmdir = \&vms_rmdir; 11 | } 12 | 13 | +use FindBin; 14 | +use lib "$FindBin::Bin"; 15 | + 16 | require "test_driver.pl"; 17 | require "config-flags.pm"; 18 | 19 | -------------------------------------------------------------------------------- /devel/meson/BUILD: -------------------------------------------------------------------------------- 1 | default_python3_build && 2 | 3 | for _f in data/syntax-highlighting/vim/*/*; do 4 | install -Dt /usr/share/vim/vimfiles/$(basename "$(dirname "$_f")") -m644 $_f 5 | done 6 | -------------------------------------------------------------------------------- /devel/meson/DEPENDS: -------------------------------------------------------------------------------- 1 | depends python-setuptools 2 | depends ninja 3 | -------------------------------------------------------------------------------- /devel/meson/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=meson 2 | VERSION=1.7.2 3 | SOURCE=$MODULE-$VERSION.tar.gz 4 | SOURCE_URL_FULL=https://github.com/mesonbuild/meson/archive/$VERSION.tar.gz 5 | SOURCE_VFY=sha256:3640ef596523393100df31ba790bc5fe732215e9711a66b673a21c4eb39bc8f1 6 | WEB_SITE=http://mesonbuild.com/ 7 | TYPE=python3 8 | ENTERED=20160429 9 | UPDATED=20250406 10 | SHORT="The meson build system" 11 | 12 | cat << EOF 13 | Meson is a project to create the best possible next-generation build system. 14 | EOF 15 | -------------------------------------------------------------------------------- /devel/ninja/BUILD: -------------------------------------------------------------------------------- 1 | python configure.py --bootstrap && 2 | 3 | prepare_install && 4 | install -m755 ninja /usr/bin/ && 5 | install -m644 -D misc/bash-completion /usr/share/bash-completion/completions/ninja 6 | -------------------------------------------------------------------------------- /devel/ninja/DEPENDS: -------------------------------------------------------------------------------- 1 | depends bash-completion 2 | depends python 3 | depends re2c 4 | -------------------------------------------------------------------------------- /devel/patch/BUILD: -------------------------------------------------------------------------------- 1 | ( 2 | CFLAGS="$CFLAGS -D_GNU_SOURCE" && 3 | default_build 4 | ) &> $C_FIFO 5 | -------------------------------------------------------------------------------- /devel/patch/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=patch 2 | VERSION=2.7.6 3 | SOURCE=$MODULE-$VERSION.tar.gz 4 | SOURCE_URL[0]=$GNU_URL/$MODULE 5 | SOURCE_URL[1]=ftp://ftp.gnu.org/pub/gnu/$MODULE 6 | SOURCE_VFY=sha256:8cf86e00ad3aaa6d26aca30640e86b0e3e1f395ed99f189b06d4c9f74bc58a4e 7 | WEB_SITE=http://www.gnu.org/software/patch/patch.html 8 | ENTERED=20010922 9 | UPDATED=20181019 10 | SHORT="Patch applies a patch to a file" 11 | 12 | cat << EOF 13 | patch - Applies a patch to a file 14 | GNU version of Larry Wall's program that takes "diff's" output and 15 | applies it to an original file to generate a modified version of that 16 | file. Normally, the patched versions are put in place of the originals. 17 | Backups can be made. 18 | EOF 19 | -------------------------------------------------------------------------------- /devel/pkgconf/BUILD: -------------------------------------------------------------------------------- 1 | OPTS+=" --with-pkg-config-dir=/usr/lib/pkgconfig:/usr/share/pkgconfig \ 2 | --with-system-libdir=/usr/lib \ 3 | --with-system-includedir=/usr/include \ 4 | --disable-static" 5 | 6 | default_build && 7 | 8 | ln -sf /usr/bin/pkgconf /usr/bin/pkg-config && 9 | ln -sf /usr/share/man/man1/pkgconf.1.gz /usr/share/man/man1/pkg-config.1.gz 10 | -------------------------------------------------------------------------------- /devel/pkgconf/DEPENDS: -------------------------------------------------------------------------------- 1 | depends automake 2 | depends libtool 3 | -------------------------------------------------------------------------------- /devel/pkgconf/PRE_BUILD: -------------------------------------------------------------------------------- 1 | default_pre_build && 2 | 3 | autoreconf -fi 4 | -------------------------------------------------------------------------------- /devel/pkgconf/profile.d/pkgconf.rc: -------------------------------------------------------------------------------- 1 | export PKG_CONFIG="/usr/bin/pkgconf" 2 | export PKG_CONFIG_PATH="/usr/lib/pkgconfig:/usr/share/pkgconfig:$PKG_CONFIG_PATH" 3 | -------------------------------------------------------------------------------- /doc-tools/groff/BUILD: -------------------------------------------------------------------------------- 1 | if in_depends $MODULE libXaw; then 2 | OPTS+="-with-appresdir=/usr/share/X11/app-defaults" 3 | fi 4 | 5 | default_build && 6 | 7 | cd /usr/bin && 8 | 9 | if [ ! -e geqn ]; then 10 | ln -sf eqn geqn 11 | fi && 12 | 13 | if [ ! -e gtbl ]; then 14 | ln -sf tbl gtbl 15 | fi && 16 | 17 | if [ ! -e zsoelim ]; then 18 | ln -sf soelim zsoelim 19 | fi 20 | 21 | # TERMCAP variables not followed 22 | # TODO: everyone is doing this - find out why upstream does not... 23 | cat "$SCRIPT_DIRECTORY"/site.tmac >> /usr/share/groff/site-tmac/man.local 24 | cat "$SCRIPT_DIRECTORY"/site.tmac >> /usr/share/groff/site-tmac/mdoc.local 25 | -------------------------------------------------------------------------------- /doc-tools/groff/DEPENDS: -------------------------------------------------------------------------------- 1 | depends bison 2 | depends perl 3 | 4 | optional_depends netpbm "" "" "for pnmtopng support" 5 | optional_depends pspdfutils "" "" "for groff's HTML backend support" 6 | 7 | optional_depends libXaw "--with-x" "" "for gxditview install" "n" 8 | -------------------------------------------------------------------------------- /doc-tools/groff/site.tmac: -------------------------------------------------------------------------------- 1 | . 2 | .if n \{\ 3 | . \" Character translations for non-keyboard 4 | . \" characters - to make them searchable 5 | . if '\*[.T]'utf8' \{\ 6 | . char \- \N'45' 7 | . char - \N'45' 8 | . char ' \N'39' 9 | . char \' \N'39' 10 | . \} 11 | . 12 | . \" Shut off SGR by default (groff colors) 13 | . \" Require GROFF_SGR envvar defined to turn it on 14 | . if '\V[GROFF_SGR]'' \ 15 | . output x X tty: sgr 0 16 | .\} 17 | -------------------------------------------------------------------------------- /doc-tools/intltool/BUILD: -------------------------------------------------------------------------------- 1 | patch_it $SOURCE2 1 && 2 | default_build 3 | -------------------------------------------------------------------------------- /doc-tools/intltool/DEPENDS: -------------------------------------------------------------------------------- 1 | depends XML-Parser 2 | -------------------------------------------------------------------------------- /doc-tools/intltool/POST_INSTALL: -------------------------------------------------------------------------------- 1 | if module_installed scrollkeeper; then lin -c scrollkeeper; fi 2 | -------------------------------------------------------------------------------- /doc-tools/man/BUILD: -------------------------------------------------------------------------------- 1 | ( 2 | 3 | # DO NOT REMOVE THESE PATCHES, consult Ratler for info 4 | patch_it $SOURCE2 1 && 5 | patch_it $SOURCE3 1 && 6 | 7 | if [ "$UCODE" == "y" ] ; then 8 | # Example: man top | grep -B1 "two help" 9 | # which should show an apostrophe, rather than "" 10 | sedit "s:nroff -Tlatin1:nroff:" configure 11 | fi && 12 | 13 | ./configure -d -confdir /etc -compatibility_mode_for_colored_groff && 14 | default_make 15 | 16 | ) > $C_FIFO 2>&1 17 | -------------------------------------------------------------------------------- /doc-tools/man/CONFIGURE: -------------------------------------------------------------------------------- 1 | mquery UCODE "Output Unicode instead of latin1?" y 2 | -------------------------------------------------------------------------------- /doc-tools/man/DEPENDS: -------------------------------------------------------------------------------- 1 | depends groff 2 | depends gzip 3 | depends less 4 | -------------------------------------------------------------------------------- /doc-tools/man/POST_INSTALL: -------------------------------------------------------------------------------- 1 | if `module_installed xserver`; then 2 | if [ ! -e "/etc/man.conf" ] ; then 3 | cd /etc && 4 | ln -sf /usr/share/misc/man.conf man.conf 5 | fi 6 | fi 7 | -------------------------------------------------------------------------------- /doc-tools/man/cron.daily/makewhatis: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | LOCKFILE=/var/lock/makewhatis.lock 4 | [ -f $LOCKFILE ] && exit 0 5 | 6 | trap "{ rm -f $LOCKFILE; exit 255; }" EXIT 7 | touch $LOCKFILE 8 | makewhatis -u -w 9 | exit 0 10 | -------------------------------------------------------------------------------- /doc-tools/man/cron.weekly/makewhatis: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | LOCKFILE=/var/lock/makewhatis.lock 4 | [ -f $LOCKFILE ] && exit 0 5 | 6 | trap "{ rm -f $LOCKFILE; exit 255; }" EXIT 7 | touch $LOCKFILE 8 | makewhatis -w 9 | exit 0 10 | -------------------------------------------------------------------------------- /doc-tools/man/patch.d/man-1.6g-gcc-14.patch: -------------------------------------------------------------------------------- 1 | diff -r -C2 man-1.6g/src/makemsg.c man-1.6g.patched/src/makemsg.c 2 | *** man-1.6g/src/makemsg.c 2006-08-03 03:11:44.000000000 +0900 3 | --- man-1.6g.patched/src/makemsg.c 2024-08-12 17:26:28.189417719 +0900 4 | *************** 5 | *** 21,24 **** 6 | --- 21,25 ---- 7 | #include 8 | #include 9 | + #include 10 | #ifdef __QNX__ 11 | #include 12 | -------------------------------------------------------------------------------- /doc-tools/mandoc/BUILD: -------------------------------------------------------------------------------- 1 | cat < configure.local 2 | PREFIX=/usr 3 | SBINDIR=/usr/bin 4 | MANDIR=/usr/share/man 5 | 6 | CFLAGS="${CFLAGS} ${CPPFLAGS}" 7 | LDFLAGS="${LDFLAGS}" 8 | 9 | # conflicts with doc-tools/groff 10 | BINM_SOELIM=msoelim 11 | MANM_ROFF=mandoc_roff 12 | 13 | # conflicts with docs/man-pages 14 | MANM_MAN=mandoc_man 15 | 16 | # conflicts with system man (we should consider switching to mandoc instead of man) 17 | BINM_MAN=mman 18 | BINM_APROPOS=mapropos 19 | BINM_WHATIS=mwhatis 20 | BINM_MAKEWHATIS=mmakewhatis 21 | MANM_MDOC=mandoc_mdoc 22 | MANM_EQN=mandoc_eqn 23 | MANM_TBL=mandoc_tbl 24 | MANM_MANCONF=mman.conf 25 | EOF 26 | 27 | default_build 28 | -------------------------------------------------------------------------------- /doc-tools/mandoc/DEPENDS: -------------------------------------------------------------------------------- 1 | depends zlib 2 | -------------------------------------------------------------------------------- /doc-tools/mandoc/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=mandoc 2 | VERSION=1.14.6 3 | SOURCE=$MODULE-$VERSION.tar.gz 4 | SOURCE_URL=https://mdocml.bsd.lv/snapshots 5 | SOURCE_VFY=sha256:8bf0d570f01e70a6e124884088870cbed7537f36328d512909eb10cd53179d9c 6 | WEB_SITE=https://mdocml.bsd.lv/ 7 | ENTERED=20220807 8 | UPDATED=20220807 9 | SHORT="Suite of tools compiling mdoc and man" 10 | 11 | cat << EOF 12 | Suite of tools compiling mdoc and man. 13 | EOF 14 | -------------------------------------------------------------------------------- /doc-tools/re2c/DEPENDS: -------------------------------------------------------------------------------- 1 | optional_depends go \ 2 | "--enable-golang" \ 3 | "--disable-golang" \ 4 | "for Go language support" 5 | -------------------------------------------------------------------------------- /doc-tools/texinfo/BUILD: -------------------------------------------------------------------------------- 1 | default_build && 2 | 3 | make -e TEXMF=$DEST_DIR/usr/share/texmf install-tex && 4 | 5 | rm -f /usr/lib/texinfo/*.a 6 | -------------------------------------------------------------------------------- /doc-tools/texinfo/DEPENDS: -------------------------------------------------------------------------------- 1 | depends perl 2 | depends findutils 3 | depends ncurses 4 | depends gzip 5 | -------------------------------------------------------------------------------- /doc-tools/yawl/BUILD: -------------------------------------------------------------------------------- 1 | ( 2 | 3 | patch_it $SOURCE_CACHE/$SOURCE2 0 && 4 | sedit "s/SeDcFlAgS/$CFLAGS/g" Makefile && 5 | default_make 6 | 7 | ) > $C_FIFO 2>&1 8 | -------------------------------------------------------------------------------- /editors/ed/BUILD: -------------------------------------------------------------------------------- 1 | 2 | ./configure --prefix=/usr \ 3 | --bindir=/usr/bin \ 4 | --mandir=/usr/share/man \ 5 | --infodir=/usr/share/info \ 6 | CPPFLAGS="$CPPFLAGS" \ 7 | CFLAGS="$CFLAGS" \ 8 | LDFLAGS="$LDFLAGS" && 9 | 10 | default_make && 11 | 12 | prepare_install && 13 | make install && 14 | 15 | # red.1 was pointing to ed.1 but only ed.1.gz exists 16 | rm /usr/share/man/man1/red.1 && 17 | ln -sv ed.1.gz /usr/share/man/man1/red.1.gz 18 | -------------------------------------------------------------------------------- /editors/ed/DEPENDS: -------------------------------------------------------------------------------- 1 | depends lzip 2 | -------------------------------------------------------------------------------- /editors/ed/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=ed 2 | VERSION=1.21.1 3 | SOURCE=$MODULE-$VERSION.tar.lz 4 | SOURCE_URL[0]=$GNU_URL/$MODULE 5 | SOURCE_URL[1]=http://fossies.org/linux/privat/ 6 | SOURCE_VFY=sha256:d6d0c7192b02b0519c902a93719053e865ade5a784a3b327d93d888457b23c4b 7 | WEB_SITE=http://www.gnu.org/software/ed/ed.html 8 | ENTERED=20010922 9 | UPDATED=20250325 10 | SHORT="A line-oriented text editor" 11 | 12 | cat << EOF 13 | ed is a line-oriented text editor. It is used to create, display, modify 14 | and otherwise manipulate text files. 15 | EOF 16 | -------------------------------------------------------------------------------- /editors/gawk/DEPENDS: -------------------------------------------------------------------------------- 1 | depends mpfr 2 | 3 | # it creates a circular depend with readline 4 | #optional_depends readline "--with-readline" "--without-readline" "To enable readline support" 5 | -------------------------------------------------------------------------------- /editors/gawk/POST_REMOVE: -------------------------------------------------------------------------------- 1 | install-info --delete gawk --info-dir /usr/info 2 | install-info --delete gawkinet --info-dir /usr/info 3 | -------------------------------------------------------------------------------- /editors/nano/BUILD: -------------------------------------------------------------------------------- 1 | if [[ "$COLOR" == "y" ]]; then 2 | OPTS+=" --enable-color" 3 | fi 4 | 5 | if [[ "$NANORC" == "y" ]]; then 6 | OPTS+=" --enable-nanorc" 7 | fi 8 | 9 | if [[ "$MULTI" == "y" ]]; then 10 | OPTS+=" --enable-multibuffer" 11 | fi 12 | 13 | default_build && 14 | 15 | if [[ "$NANORC" == "y" && ! -f "/etc/nanorc" ]]; then 16 | install -m 0644 $SCRIPT_DIRECTORY/nanorc /etc/ 17 | fi 18 | -------------------------------------------------------------------------------- /editors/nano/CONFIGURE: -------------------------------------------------------------------------------- 1 | mquery COLOR "Enable color and syntax highlighting?" y 2 | mquery NANORC "Enable use of .nanorc file?" y 3 | mquery MULTI "Enable multiple file buffers?" y 4 | -------------------------------------------------------------------------------- /editors/nano/DEPENDS: -------------------------------------------------------------------------------- 1 | depends ncurses 2 | -------------------------------------------------------------------------------- /editors/nano/POST_REMOVE: -------------------------------------------------------------------------------- 1 | install-info --delete nano --info-dir /usr/info 2 | -------------------------------------------------------------------------------- /editors/sed/DEPENDS: -------------------------------------------------------------------------------- 1 | optional_depends acl \ 2 | "--enable-acl" \ 3 | "--disable-acl" \ 4 | "for access control list (acl) support" 5 | -------------------------------------------------------------------------------- /editors/sed/POST_REMOVE: -------------------------------------------------------------------------------- 1 | install-info --delete sed --info-dir /usr/share/info 2 | -------------------------------------------------------------------------------- /editors/vim/POST_REMOVE: -------------------------------------------------------------------------------- 1 | if [ -e /usr/bin/vimdiff ]; then 2 | rm /usr/bin/vimdiff; 3 | fi 4 | -------------------------------------------------------------------------------- /editors/vim/PRE_BUILD: -------------------------------------------------------------------------------- 1 | default_pre_build && 2 | 3 | # define the place for the global (g)vimrc file (set to /etc/vimrc) 4 | sed -E 's|^.*(#define SYS_.*VIMRC_FILE.*").*$|\1|g' -i src/feature.h && 5 | sed -E 's|^.*(#define VIMRC_FILE.*").*$|\1|g' -i src/feature.h 6 | -------------------------------------------------------------------------------- /editors/vim/skel/.vimrc: -------------------------------------------------------------------------------- 1 | " Default vimrc file, installed by vim module 2 | 3 | set nocompatible 4 | set backspace=indent,eol,start 5 | set autoindent 6 | set ruler 7 | set showcmd 8 | syntax on 9 | -------------------------------------------------------------------------------- /filesys/acl/BUILD: -------------------------------------------------------------------------------- 1 | export DEBUG=-DNDEBUG && 2 | export INSTALL_USER=root INSTALL_GROUP=root && 3 | 4 | OPTS+=" --disable-static" && 5 | 6 | default_build 7 | -------------------------------------------------------------------------------- /filesys/acl/DEPENDS: -------------------------------------------------------------------------------- 1 | depends attr 2 | -------------------------------------------------------------------------------- /filesys/acl/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=acl 2 | VERSION=2.3.2 3 | SOURCE=$MODULE-$VERSION.tar.gz 4 | SOURCE_URL[0]=https://download.savannah.nongnu.org/releases/$MODULE/ 5 | SOURCE_URL[1]=http://mirrors.zerg.biz/nongnu/acl 6 | SOURCE_VFY=sha256:5f2bdbad629707aa7d85c623f994aa8a1d2dec55a73de5205bac0bf6058a2f7c 7 | WEB_SITE=http://oss.sgi.com/projects/xfs 8 | ENTERED=20020531 9 | UPDATED=20240125 10 | SHORT="POSIX access control list" 11 | PSAFE=no 12 | 13 | cat << EOF 14 | acl is the access control list for Linux. 15 | EOF 16 | -------------------------------------------------------------------------------- /filesys/attr/BUILD: -------------------------------------------------------------------------------- 1 | # http://lists.gnu.org/archive/html/bug-coreutils/2019-03/msg00008.html 2 | sed -i '/nfs/d' xattr.conf && 3 | 4 | export DEBUG=-DNDEBUG && 5 | export INSTALL_USER=root INSTALL_GROUP=root && 6 | 7 | OPTS+=" --disable-static" && 8 | 9 | default_build 10 | -------------------------------------------------------------------------------- /filesys/attr/DEPENDS: -------------------------------------------------------------------------------- 1 | depends automake 2 | depends libtool 3 | 4 | # circular depend with gettext via acl, sed, ncurses 5 | #depends gettext 6 | -------------------------------------------------------------------------------- /filesys/attr/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=attr 2 | VERSION=2.5.2 3 | SOURCE=$MODULE-$VERSION.tar.xz 4 | SOURCE_URL=https://download.savannah.nongnu.org/releases/attr/ 5 | SOURCE_VFY=sha256:f2e97b0ab7ce293681ab701915766190d607a1dba7fae8a718138150b700a70b 6 | WEB_SITE=http://oss.sgi.com/projects/xfs 7 | ENTERED=20020531 8 | UPDATED=20240114 9 | SHORT="Extended Attribute (EA) support" 10 | 11 | cat << EOF 12 | Currently, support for extended attributes is implemented on Linux by the ext2, 13 | ext3, ext4, XFS, JFS and reiserfs filesystems. 14 | EOF 15 | -------------------------------------------------------------------------------- /filesys/btrfs-progs/BUILD: -------------------------------------------------------------------------------- 1 | if ! in_depends $MODULE asciidoc || ! in_depends $MODULE xmlto; then 2 | OPTS+=" --disable-documentation" 3 | fi 4 | 5 | default_build && 6 | 7 | # remove the static libs 8 | rm /usr/lib/libbtrfs.a && 9 | rm /usr/lib/libbtrfsutil.a && 10 | 11 | if module_installed bash-completion ; then 12 | # install bash completion 13 | install -Dm644 btrfs-completion /usr/share/bash-completion/completions/btrfs 14 | fi 15 | -------------------------------------------------------------------------------- /filesys/btrfs-progs/PRE_BUILD: -------------------------------------------------------------------------------- 1 | default_pre_build && 2 | 3 | if ! in_depends $MODULE asciidoc || ! in_depends $MODULE xmlto; then 4 | message "${PROBLEM_COLOR}WARNING: ${DEFAULT_COLOR}Installation of docs disabled, to enable documentation install asciidoc and xmlto then rebuild $MODULE!" 5 | fi && 6 | 7 | autoreconf -fi 8 | -------------------------------------------------------------------------------- /filesys/btrfs-progs/systemd.d/btrfs-scrub@.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Btrfs scrub on %f 3 | 4 | [Service] 5 | Nice=19 6 | IOSchedulingClass=idle 7 | KillSignal=SIGINT 8 | ExecStart=/usr/bin/btrfs scrub start -B %f 9 | -------------------------------------------------------------------------------- /filesys/btrfs-progs/systemd.d/btrfs-scrub@.timer: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Monthly Btrfs scrub on %I 3 | 4 | [Timer] 5 | OnCalendar=monthly 6 | AccuracySec=1d 7 | RandomizedDelaySec=1w 8 | Persistent=true 9 | 10 | [Install] 11 | WantedBy=multi-user.target 12 | -------------------------------------------------------------------------------- /filesys/dmraid/BUILD: -------------------------------------------------------------------------------- 1 | export LDFLAGS+=" -ldevmapper" 2 | cd $VERSION/$MODULE && 3 | autoreconf -fi && 4 | default_build 5 | -------------------------------------------------------------------------------- /filesys/dmraid/DEPENDS: -------------------------------------------------------------------------------- 1 | depends lvm2 2 | -------------------------------------------------------------------------------- /filesys/dosfstools/BUILD: -------------------------------------------------------------------------------- 1 | OPTS+=" --enable-compat-symlinks" && 2 | 3 | default_build 4 | -------------------------------------------------------------------------------- /filesys/dosfstools/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=dosfstools 2 | VERSION=4.2 3 | SOURCE=$MODULE-$VERSION.tar.gz 4 | SOURCE_URL=http://github.com/$MODULE/$MODULE/releases/download/v$VERSION/ 5 | WEB_SITE=http://github.com/dosfstools/dosfstools/ 6 | SOURCE_VFY=sha256:64926eebf90092dca21b14259a5301b7b98e7b1943e8a201c7d726084809b527 7 | ENTERED=20011217 8 | UPDATED=20210209 9 | SHORT="Utilities to create and check MS-DOS filesystems under Linux" 10 | 11 | cat << EOF 12 | Utilities to create and check MS-DOS filesystems under Linux. 13 | Includes : 14 | mkdosfs mkfs.msdos mkfs.vfat 15 | dosfsck fsck.msdos fsck.vfat 16 | EOF 17 | -------------------------------------------------------------------------------- /filesys/e2fsprogs/BUILD: -------------------------------------------------------------------------------- 1 | # libcom_err.a(error_message.o): relocation R_X86_64_32 against `.bss' can not be used when making a shared object; recompile with -fPIC 2 | CFLAGS+=" -fPIC" && 3 | 4 | #the dvi documentation fails to build with current texlive 5 | sedit 's/$(DVI)/#/' doc/Makefile.in && 6 | 7 | OPTS+=" --build=$BUILD \ 8 | --with-root-prefix= \ 9 | --enable-elf-shlibs \ 10 | --disable-libuuid \ 11 | --disable-uuidd \ 12 | --disable-libblkid \ 13 | --disable-fsck" && 14 | 15 | export CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64" 16 | 17 | default_build && 18 | 19 | make install-libs || exit 1 20 | -------------------------------------------------------------------------------- /filesys/e2fsprogs/CONFIGURE: -------------------------------------------------------------------------------- 1 | if ! grep -q CONFIGURED $MODULE_CONFIG; then 2 | 3 | if query "Enable compression support? [experimental] " n; then 4 | OPTS=$OPTS" --enable-compression" 5 | fi && 6 | 7 | if query "Enable directory hashing? [experimental] " n; then 8 | OPTS=$OPTS" --enable-htree --enable-htree-clear" 9 | fi && 10 | 11 | echo 'CONFIGURED="y"' >> $MODULE_CONFIG && 12 | echo 'OPTS='\"$OPTS\" >> $MODULE_CONFIG 13 | fi 14 | -------------------------------------------------------------------------------- /filesys/e2fsprogs/DEPENDS: -------------------------------------------------------------------------------- 1 | depends gawk 2 | depends util-linux 3 | depends systemd 4 | -------------------------------------------------------------------------------- /filesys/e2fsprogs/POST_INSTALL: -------------------------------------------------------------------------------- 1 | if [ ! -f /sbin/fsck ]; then 2 | lin util-linux; 3 | fi 4 | -------------------------------------------------------------------------------- /filesys/fhs/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=fhs 2 | VERSION=2.3 3 | WEB_SITE=http://refspecs.linuxfoundation.org/fhs.shtml 4 | ENTERED=20130829 5 | UPDATED=20220314 6 | SHORT="Filesystem Hierarchy Standard" 7 | 8 | cat << EOF 9 | This package contains the directories specified by the Filesystem 10 | Hierarchy Standard. 11 | 12 | Directories required by systemd are also added. 13 | EOF 14 | -------------------------------------------------------------------------------- /filesys/fhs/PRE_BUILD: -------------------------------------------------------------------------------- 1 | : 2 | -------------------------------------------------------------------------------- /filesys/fhs/templates/etc/ld.so.conf: -------------------------------------------------------------------------------- 1 | # Dynamic linker/loader configuration. 2 | # See ld.so(8) and ldconfig(8) for details. 3 | # Do not edit, it will be overwritten by the fhs module. 4 | # Add custom configuration in /etc/ld.so.conf.d 5 | /lib 6 | /usr/lib 7 | include /etc/ld.so.conf.d/*.conf 8 | -------------------------------------------------------------------------------- /filesys/fhs/templates/etc/nsswitch.conf: -------------------------------------------------------------------------------- 1 | # See nsswitch.conf(5) for details. 2 | 3 | passwd: files systemd 4 | group: files [SUCCESS=merge] systemd 5 | shadow: files systemd 6 | gshadow: files systemd 7 | 8 | publickey: files 9 | 10 | hosts: mymachines resolve [!UNAVAIL=return] files myhostname dns 11 | networks: files 12 | 13 | protocols: files 14 | services: files 15 | ethers: files 16 | rpc: files 17 | 18 | netgroup: files 19 | 20 | -------------------------------------------------------------------------------- /filesys/foremost/BUILD: -------------------------------------------------------------------------------- 1 | export CFLAGS+=" -fcommon" 2 | sedit 's:/usr/local:/usr:g;s:/usr/man:/usr/share/man:g;s:/usr/etc:/etc:g' Makefile config.c && 3 | sedit "s:-O2:$CFLAGS:" Makefile && 4 | default_make 5 | 6 | -------------------------------------------------------------------------------- /filesys/gptfdisk/BUILD: -------------------------------------------------------------------------------- 1 | make && 2 | 3 | prepare_install && 4 | 5 | install -d /usr/{bin,share/{doc/gdisk,man/man8}} && 6 | install -t /usr/bin {,c,s}gdisk fixparts && 7 | install -m644 -t /usr/share/man/man8 {{,c,s}gdisk,fixparts}.8 && 8 | install -m644 -t /usr/share/doc/gdisk README NEWS 9 | -------------------------------------------------------------------------------- /filesys/gptfdisk/DEPENDS: -------------------------------------------------------------------------------- 1 | depends ncurses 2 | depends popt 3 | depends util-linux 4 | -------------------------------------------------------------------------------- /filesys/lvm2/BUILD: -------------------------------------------------------------------------------- 1 | if module_installed systemd; then 2 | OPTS+=" --with-udev_prefix=/usr \ 3 | --with-systemdsystemunitdir=$(pkg-config systemd --variable=systemdsystemunitdir)" 4 | else 5 | OPTS+=" --with-udev_prefix=/ \ 6 | --with-systemdsystemunitdir=no" 7 | fi && 8 | 9 | OPTS+=" --libdir=/usr/lib \ 10 | --enable-fsadm \ 11 | --enable-cmdlib \ 12 | --enable-dmeventd \ 13 | --enable-pkgconfig \ 14 | --enable-udev_sync \ 15 | --enable-udev_rules" 16 | 17 | default_build && 18 | 19 | make install_system_dirs 20 | -------------------------------------------------------------------------------- /filesys/lvm2/DEPENDS: -------------------------------------------------------------------------------- 1 | depends pkgconf 2 | depends libaio 3 | 4 | # optional circular depend with systemd->cryptsetup 5 | depends systemd 6 | 7 | optional_depends readline \ 8 | "--enable-readline" "" \ 9 | "for line edit thru readline support" 10 | -------------------------------------------------------------------------------- /filesys/lvm2/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=lvm2 2 | VERSION=2.03.31 3 | SOURCE=LVM2.$VERSION.tgz 4 | SOURCE_DIRECTORY=$BUILD_DIRECTORY/LVM2.$VERSION 5 | SOURCE_URL[0]=https://sourceware.org/pub/lvm2/ 6 | SOURCE_URL[1]=ftp://sources.redhat.com/pub/lvm2/old 7 | SOURCE_VFY=sha256:5db2956a00fbf87d92274cccc92436387ec0c3faadece7413ece1ba1c10c98ff 8 | WEB_SITE=http://sources.redhat.com/lvm2 9 | ENTERED=20040511 10 | UPDATED=20250307 11 | SHORT="Logical volume manager" 12 | PSAFE=no 13 | LUNAR_RESTART_SERVICES=off 14 | 15 | cat << EOF 16 | The Logical Volume Manager (LVM) is a subsystem for online disk storage 17 | management which has become a de facto standard for storage management 18 | under Linux. 19 | EOF 20 | -------------------------------------------------------------------------------- /filesys/lvm2/systemd.d/dm-event.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Device-mapper event daemon 3 | Requires=dm-event.socket 4 | After=dm-event.socket 5 | Before=local-fs.target 6 | DefaultDependencies=no 7 | 8 | [Service] 9 | Type=forking 10 | ExecStart=/usr/sbin/dmeventd 11 | ExecReload=/usr/sbin/dmeventd -R 12 | Environment=SD_ACTIVATION=1 13 | PIDFile=/run/dmeventd.pid 14 | OOMScoreAdjust=-1000 15 | 16 | [Install] 17 | WantedBy=sysinit.target 18 | -------------------------------------------------------------------------------- /filesys/lvm2/systemd.d/dm-event.socket: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Device-mapper event daemon FIFOs 3 | DefaultDependencies=no 4 | 5 | [Socket] 6 | ListenFIFO=/run/dmeventd-server 7 | ListenFIFO=/run/dmeventd-client 8 | SocketMode=0600 9 | 10 | [Install] 11 | WantedBy=sockets.target 12 | -------------------------------------------------------------------------------- /filesys/lvm2/systemd.d/lvm.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Linux Volume Manager Activation 3 | DefaultDependencies=no 4 | Requires=systemd-udev-settle.service 5 | After=systemd-udev-settle.service 6 | Before=basic.target shutdown.target 7 | Conflicts=shutdown.target 8 | 9 | [Service] 10 | Type=oneshot 11 | RemainAfterExit=yes 12 | ExecStart=/usr/sbin/vgchange --sysinit --available y 13 | ExecStop=/usr/sbin/vgchange --sysinit --available n 14 | 15 | [Install] 16 | WantedBy=basic.target 17 | -------------------------------------------------------------------------------- /filesys/lvm2/tmpfiles.d/lvm2.conf: -------------------------------------------------------------------------------- 1 | d /run/lock/lvm 0700 root root - 2 | d /run/lvm 0700 root root - 3 | -------------------------------------------------------------------------------- /filesys/mdadm/BUILD: -------------------------------------------------------------------------------- 1 | # Does not automatically pick up $CFLAGS 2 | make CXFLAGS="$CFLAGS" UDEVDIR=/usr/lib/udev && 3 | 4 | prepare_install && 5 | 6 | make install 7 | -------------------------------------------------------------------------------- /filesys/mdadm/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=mdadm 2 | VERSION=4.4 3 | SOURCE=$MODULE-$VERSION.tar.gz 4 | SOURCE_URL=https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git/snapshot/ 5 | SOURCE_VFY=sha256:680fed532857088e0cd87c56c00033ae35eae0a3f9cb7e1523b345ba8717fb93 6 | WEB_SITE=https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git/ 7 | ENTERED=20030212 8 | UPDATED=20250101 9 | SHORT="Software raid tools" 10 | 11 | cat << EOF 12 | mdadm package, tools for software RAID. 13 | EOF 14 | -------------------------------------------------------------------------------- /filesys/mdadm/PRE_BUILD: -------------------------------------------------------------------------------- 1 | default_pre_build && 2 | 3 | # disable werror 4 | sedit "s:-Werror::" Makefile 5 | -------------------------------------------------------------------------------- /filesys/mdadm/systemd.d/mdadm.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=MDADM Event Monitor 3 | 4 | [Service] 5 | ExecStart=/sbin/mdadm --monitor --scan -y 6 | 7 | [Install] 8 | WantedBy=multi-user.target 9 | -------------------------------------------------------------------------------- /filesys/ntfs-3g/BUILD: -------------------------------------------------------------------------------- 1 | sed 's|$(DESTDIR)/sbin|$(DESTDIR)/usr/bin|' -i {ntfsprogs,src}/Makefile.in && 2 | autoreconf -fiv && 3 | #export LIBGCRYPT_LIBS="-lgcrypt" 4 | 5 | # Use fuse internal,see https://bugs.gentoo.org/822024 6 | OPTS+=" --enable-extras \ 7 | --with-uuid \ 8 | --enable-ntfsprogs \ 9 | --disable-ldconfig \ 10 | --disable-static \ 11 | --enable-posix-acls \ 12 | --enable-xattr-mappings \ 13 | --mandir=/usr/share/man \ 14 | --sbin=/usr/bin \ 15 | --without-hd \ 16 | --with-fuse=internal \ 17 | --exec-prefix=/usr" && 18 | 19 | default_build 20 | -------------------------------------------------------------------------------- /filesys/ntfs-3g/CONFIGURE: -------------------------------------------------------------------------------- 1 | mquery ENABLE_QUART "Enable quarantined ntfsprogs utilities?" n "--enable-quarantined" "--disable-quarantined" 2 | -------------------------------------------------------------------------------- /filesys/ntfs-3g/DEPENDS: -------------------------------------------------------------------------------- 1 | depends libgcrypt 2 | 3 | optional_depends attr "--enable-xattr-mappings" "--disable-xattr-mappings" "For extended attributes mappings support" y 4 | optional_depends acl "--enable-posix-acls " "--disable-posix-acls" "For POSIX ACL support" n 5 | optional_depends util-linux "--with-uuid" "--without-uuid" "To generate DCE compliant UUIDs" y 6 | optional_depends gnutls "--enable-crypto" "--disable-crypto" "For encrypted disk support" 7 | -------------------------------------------------------------------------------- /filesys/parted/BUILD: -------------------------------------------------------------------------------- 1 | OPTS+=" --disable-rpath \ 2 | --disable-static" 3 | 4 | default_config && 5 | 6 | #sedit "s:-1.14::" Makefile && 7 | 8 | default_make && 9 | 10 | gather_docs ABOUT-NLS BUGS THANKS doc/API doc/FAQ doc/FAT doc/USER.jp 11 | -------------------------------------------------------------------------------- /filesys/parted/DEPENDS: -------------------------------------------------------------------------------- 1 | depends e2fsprogs 2 | depends pkgconf 3 | 4 | optional_depends lvm2 \ 5 | "--enable-device-mapper" \ 6 | "--disable-device-mapper" \ 7 | "for LVM support" 8 | 9 | optional_depends readline \ 10 | "--with-readline" \ 11 | "--without-readline" \ 12 | "for fancy command line editing" 13 | -------------------------------------------------------------------------------- /filesys/parted/PRE_BUILD: -------------------------------------------------------------------------------- 1 | default_pre_build && 2 | 3 | # fix for inlines not supported by gcc-4.2.x 4 | export CFLAGS="$CFLAGS -fgnu89-inline" && 5 | 6 | sedit 's/'-Wl,--as-needed'//' m4/lib-ignore.m4 configure && 7 | 8 | autoreconf -fi 9 | -------------------------------------------------------------------------------- /filesys/parted/patch.d/glibc-2.28.patch: -------------------------------------------------------------------------------- 1 | diff -C 2 -r parted-3.2.orig/include/parted/parted.h parted-3.2/include/parted/parted.h 2 | *** parted-3.2.orig/include/parted/parted.h 2014-07-29 12:04:41.000000000 +0900 3 | --- parted-3.2/include/parted/parted.h 2018-09-06 14:51:54.274339830 +0900 4 | *************** 5 | *** 44,46 **** 6 | --- 44,47 ---- 7 | #include 8 | #include 9 | + #include 10 | 11 | extern const char *ped_get_version () 12 | -------------------------------------------------------------------------------- /filesys/sysfsutils/BUILD: -------------------------------------------------------------------------------- 1 | OPTS+=" --disable-static" 2 | 3 | default_build 4 | -------------------------------------------------------------------------------- /filesys/sysfsutils/DEPENDS: -------------------------------------------------------------------------------- 1 | depends autoconf 2 | -------------------------------------------------------------------------------- /filesys/sysfsutils/POST_INSTALL: -------------------------------------------------------------------------------- 1 | # If /sys mount point is not there, create it 2 | 3 | mkdir -p /sys/ 4 | -------------------------------------------------------------------------------- /filesys/sysfsutils/PRE_BUILD: -------------------------------------------------------------------------------- 1 | default_pre_build && 2 | 3 | ./autogen 4 | -------------------------------------------------------------------------------- /filesys/xfsprogs/BUILD: -------------------------------------------------------------------------------- 1 | export DEBUG=-DNDEBUG && 2 | 3 | # /usr/bin/ld: /usr/lib64/libicuuc.so.76: error adding symbols: DSO missing from command line 4 | if module_installed icu4c ; then 5 | sed -r -i 's/\$\(LIBICU_LIBS\)/\0 -licuuc/' scrub/Makefile 6 | fi && 7 | 8 | # This honors CFLAGS but needs an empty value to avoid 9 | # default flags. 10 | export OPTIMIZER=" " 11 | 12 | OPTS+=" --prefix=/usr --enable-lib64=no --disable-static --disable-lto" && 13 | 14 | default_build 15 | 16 | make PKG_ROOT_SBIN_DIR=/usr/sbin PKG_ROOT_LIB_DIR=/usr/lib install install-dev 17 | -------------------------------------------------------------------------------- /filesys/xfsprogs/DEPENDS: -------------------------------------------------------------------------------- 1 | depends inih 2 | depends readline 3 | depends util-linux 4 | depends userspace-rcu 5 | 6 | optional_depends gettext \ 7 | "--enable-gettext=yes" \ 8 | "--enable-gettext=no" \ 9 | "for alternate language support" 10 | -------------------------------------------------------------------------------- /filesys/xfsprogs/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=xfsprogs 2 | VERSION=6.14.0 3 | SOURCE=$MODULE-$VERSION.tar.xz 4 | SOURCE_URL=https://www.kernel.org/pub/linux/utils/fs/xfs/xfsprogs/ 5 | SOURCE_VFY=sha256:fa5ab77f8b5169ce48dd8de09446ad7e29834a05b8f52012bae411cf53ec1f58 6 | WEB_SITE=http://oss.sgi.com/projects/xfs 7 | ENTERED=20020110 8 | UPDATED=20250414 9 | SHORT="Required utilities for the XFS file system" 10 | PSAFE=no 11 | cat << EOF 12 | xfsprogs - The XFS file system utilities and libraries. 13 | EOF 14 | -------------------------------------------------------------------------------- /ftp/curl/BUILD: -------------------------------------------------------------------------------- 1 | echo '/* not used */' > include/curl/types.h && 2 | 3 | OPTS+=" --enable-threaded-resolver \ 4 | --enable-versioned-symbols \ 5 | --disable-curldebug \ 6 | --disable-manual \ 7 | --disable-static \ 8 | --without-libpsl \ 9 | --without-librtmp \ 10 | --with-zlib" 11 | 12 | default_build && 13 | 14 | install -m644 {,/usr/}include/curl/types.h 15 | -------------------------------------------------------------------------------- /ftp/curl/CONFIGURE: -------------------------------------------------------------------------------- 1 | mquery ENABLE_IPV6 "IPv6 support?" n "--enable-ipv6" "--disable-ipv6" 2 | -------------------------------------------------------------------------------- /ftp/wget/BUILD: -------------------------------------------------------------------------------- 1 | # setting the ssl option 2 | if in_depends $MODULE $(expand_alias %OSSL); then 3 | OPTS+=" --with-ssl=openssl" 4 | elif in_depends $MODULE gnutls; then 5 | OPTS+=" --with-ssl" 6 | else 7 | OPTS+=" --without-ssl" 8 | fi 9 | 10 | OPTS+=" --disable-debug" 11 | 12 | default_build 13 | -------------------------------------------------------------------------------- /ftp/wget/CONFLICTS: -------------------------------------------------------------------------------- 1 | if module_installed w3c-libwww; then 2 | lrm w3c-libwww 3 | set_module_config LIN_LIBWWW y 4 | fi 5 | -------------------------------------------------------------------------------- /ftp/wget/DEPENDS: -------------------------------------------------------------------------------- 1 | depends %SSL 2 | depends pcre2 3 | 4 | optional_depends gettext "--enable-nls" "--disable-nls" "for NLS support" 5 | optional_depends libidn "--enable-iri" "--disable-iri" "for IDN/IRIs support" 6 | -------------------------------------------------------------------------------- /ftp/wget/POST_INSTALL: -------------------------------------------------------------------------------- 1 | LIN_LIBWWW="$(get_module_config LIN_LIBWWW)" && 2 | 3 | if [ "$LIN_LIBWWW" = "y" ]; then 4 | lin -c w3c-libwww 5 | fi && 6 | 7 | unset_module_config LIN_LIBWWW 8 | -------------------------------------------------------------------------------- /ftp/wget/POST_REMOVE: -------------------------------------------------------------------------------- 1 | install-info --delete wget --info-dir /usr/info 2 | -------------------------------------------------------------------------------- /ftp/wget/PRE_BUILD: -------------------------------------------------------------------------------- 1 | default_pre_build && 2 | 3 | sedit 's@=item $thing@=item ${thing}".($thing =~ /[0-9]+/ ? "Z<>" : "")."@' doc/texi2pod.pl 4 | -------------------------------------------------------------------------------- /kernel/dracut/BUILD: -------------------------------------------------------------------------------- 1 | default_build && 2 | 3 | # Removing modules we don't support 4 | rm -rf /usr/lib/dracut/modules.d/{01fips,02fips-aesni,95fcoe,80cms,95dasd,95dasd_mod,95zfcp,95znet} && 5 | 6 | # We always install this file (which means overwriting) 7 | install -m 0644 -g root -o root $SCRIPT_DIRECTORY/files/01-lunar.conf /etc/dracut.conf.d/ && 8 | 9 | # Install the dracut module to handle lunar cd 10 | cp -R $SCRIPT_DIRECTORY/dracut.d/90lunar-live /usr/lib/dracut/modules.d/ && 11 | 12 | gather_docs HACKING TODO AUTHORS 13 | -------------------------------------------------------------------------------- /kernel/dracut/CONFLICTS: -------------------------------------------------------------------------------- 1 | conflicts dracut-git 2 | -------------------------------------------------------------------------------- /kernel/dracut/dracut.d/90lunar-live/module-setup.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # -*- mode: shell-scipt; indent-tabs-mode: nil; sh-basic-offset: 4; -*- 3 | # ex: ts=8 sw=4 sts=4 filetype=sh 4 | 5 | check() { 6 | return 255 7 | } 8 | 9 | depends() { 10 | return 0 11 | } 12 | 13 | install() { 14 | inst_rules 60-cdrom_id.rules 15 | } 16 | -------------------------------------------------------------------------------- /kernel/dracut/files/01-lunar.conf: -------------------------------------------------------------------------------- 1 | # Dracut config file for Lunar Linux 2 | # NEVER edit this file, it will be overwritten everytime dracut is 3 | # installed or upgraded. To override these settings create a new file 4 | # prefixed with 02- in /etc/dracut.conf.d 5 | i18n_vars="/etc/vconsole.conf" 6 | stdloglvl=3 7 | sysloglvl=5 8 | install_optional_items=+" vi ps grep cat rm df " 9 | omit_dracutmodules+=" network " 10 | 11 | systemdutildir=/usr/lib/systemd 12 | systemdsystemunitdir=/usr/lib/systemd/system 13 | systemdsystemconfdir=/etc/systemd/system 14 | udevdir=/usr/lib/udev 15 | hostonly="yes" 16 | hostonly_cmdline="no" 17 | early_microcode="yes" 18 | reproducible="yes" 19 | -------------------------------------------------------------------------------- /kernel/kernel-headers/BUILD: -------------------------------------------------------------------------------- 1 | cd $SOURCE_DIRECTORY/include/ && 2 | 3 | # Don't conflict with libdrm 4 | # As done in http://www.gentoo-portage.com/sys-kernel/linux-headers 5 | rm -rf drm && 6 | 7 | # Delete useless files 8 | find '(' -name '.install' -o -name '*.cmd' ')' -delete && 9 | 10 | prepare_install && 11 | 12 | for dir in ./* ; do 13 | cp -a $dir /usr/include/ && 14 | chown -R root:root /usr/include/$dir && 15 | 16 | for subdir in $(find /usr/include/$dir -type d); do 17 | chmod 755 $subdir 18 | done && 19 | 20 | for file in $(find /usr/include/$dir -type f); do 21 | chmod 644 $file 22 | done 23 | done 24 | -------------------------------------------------------------------------------- /kernel/kernel-headers/CONFLICTS: -------------------------------------------------------------------------------- 1 | conflicts kernel-headers-2.6 2 | -------------------------------------------------------------------------------- /kernel/kernel-headers/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=kernel-headers 2 | VERSION=6.6.8 3 | SOURCE=kernel-headers-$VERSION.tar.bz2 4 | SOURCE_DIRECTORY=${BUILD_DIRECTORY}/kernel-headers-$VERSION 5 | SOURCE_URL=$MIRROR_URL 6 | SOURCE_VFY=sha256:06db804165ffba81afcd1d84e8cd7c89bcb93f81092b5d6212d38348c3f1ddb7 7 | WEB_SITE=http://www.lunar-linux.org/ 8 | ENTERED=20040226 9 | UPDATED=20231231 10 | SHORT="Sanitized kernel headers for userspace" 11 | 12 | cat << EOF 13 | Sanitized kernel headers for userspace. The 32 bits version. 14 | EOF 15 | -------------------------------------------------------------------------------- /kernel/kernel-headers/DETAILS.x86_64: -------------------------------------------------------------------------------- 1 | MODULE=kernel-headers 2 | VERSION=6.14.1 3 | SOURCE=kernel-headers-$VERSION-x86_64.tar.bz2 4 | SOURCE_DIRECTORY=${BUILD_DIRECTORY}/kernel-headers-$VERSION-x86_64 5 | SOURCE_URL=$MIRROR_URL 6 | SOURCE_VFY=sha256:1cae1329d61b9a3f84ad7ef764ebf88721e7f4a00948c88711ba356b72543231 7 | WEB_SITE=http://www.lunar-linux.org/ 8 | ENTERED=20040226 9 | UPDATED=20250407 10 | SHORT="Sanitized kernel headers for userspace" 11 | 12 | cat << EOF 13 | Sanitized kernel headers for userspace 14 | EOF 15 | -------------------------------------------------------------------------------- /kernel/kernel-reqs/BUILD: -------------------------------------------------------------------------------- 1 | echo > $C_FIFO 2 | -------------------------------------------------------------------------------- /kernel/kernel-reqs/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=kernel-reqs 2 | VERSION=0.1 3 | WEB_SITE=http://lunar-linux.org 4 | ENTERED=20031211 5 | UPDATED=20031211 6 | SHORT="Modules which must be re-installed after kernel installs" 7 | PROFILE=yes 8 | cat << EOF 9 | This list includes (may not be up2date): 10 | cryptoapi, cipe, snare-core, ftpfs, cvsfs, NVIDIA, submount, alsa-driver, 11 | bluez-kernel, pcmcia-cs, NFORCE hostap-driver, ipw2100, madwifi-cvs, open-vm-tools 12 | EOF 13 | -------------------------------------------------------------------------------- /kernel/kernel-reqs/POST_BUILD: -------------------------------------------------------------------------------- 1 | true 2 | -------------------------------------------------------------------------------- /kernel/kernel-reqs/POST_INSTALL: -------------------------------------------------------------------------------- 1 | kreqs="fuse \ 2 | fuse-3 \ 3 | iptables \ 4 | NVIDIA \ 5 | openafs-driver \ 6 | submount \ 7 | virtualbox-module \ 8 | easy-slow-down-manager \ 9 | zfs \ 10 | broadcom-wl" 11 | 12 | for req in $kreqs; do 13 | if module_installed $req ; then 14 | # ignore failures as much as possible 15 | lin -c $req || true 16 | fi 17 | done 18 | -------------------------------------------------------------------------------- /kernel/kernel-reqs/PRE_BUILD: -------------------------------------------------------------------------------- 1 | true 2 | -------------------------------------------------------------------------------- /kernel/kmod/BUILD: -------------------------------------------------------------------------------- 1 | OPTS+=" --with-zlib \ 2 | --with-xz \ 3 | --with-openssl" 4 | 5 | ./configure --prefix= \ 6 | --libdir=/lib \ 7 | --datarootdir=/usr/share \ 8 | --includedir=/usr/include \ 9 | $OPTS && 10 | 11 | default_make && 12 | 13 | install -dm755 /{etc,usr/lib}/{depmod,modprobe}.d && 14 | 15 | # add symlinks to kmod 16 | ln -sf /bin/kmod "/bin/lsmod" && 17 | for tool in {ins,rm,dep}mod mod{info,probe}; do 18 | ln -sf /bin/kmod "/sbin/$tool" 19 | done 20 | -------------------------------------------------------------------------------- /kernel/kmod/CONFLICTS: -------------------------------------------------------------------------------- 1 | conflicts module-init-tools 2 | -------------------------------------------------------------------------------- /kernel/kmod/DEPENDS: -------------------------------------------------------------------------------- 1 | depends zlib 2 | depends xz 3 | depends automake 4 | depends libtool 5 | depends %OSSL 6 | 7 | optional_depends zstd \ 8 | "--with-zstd" \ 9 | "--without-zstd" \ 10 | "for zstd compression support" \ 11 | "n" 12 | 13 | optional_depends scdoc \ 14 | "--enable-manpages" \ 15 | "--disable-manpages" \ 16 | "for building man pages" 17 | 18 | optional_depends gtk-doc \ 19 | "--enable-gtk-doc" \ 20 | "--disable-gtk-doc" \ 21 | "for building documentation" \ 22 | "n" 23 | -------------------------------------------------------------------------------- /kernel/kmod/PRE_BUILD: -------------------------------------------------------------------------------- 1 | default_pre_build && 2 | 3 | if ! in_depends $MODULE gtk-doc; then 4 | patch -Np1 -i $SCRIPT_DIRECTORY/kmod-34.1-remove_gtk-doc_check.patch && 5 | rm gtk-doc.make && 6 | rm libkmod/docs/gtk-doc.make && 7 | rm m4/gtk-doc.m4 8 | fi && 9 | 10 | autoreconf -fi && 11 | 12 | # Prevents installing to /lib/pkgconfig 13 | sedit '/^pkgconfigdir = /s/@pkgconfigdir@/\/usr\/lib\/pkgconfig/' Makefile.in && 14 | sedit '/^noarch_pkgconfigdir = /s/@noarch_pkgconfigdir@/\/usr\/lib\/pkgconfig/' Makefile.in 15 | -------------------------------------------------------------------------------- /kernel/linux-firmware/CONFIGURE: -------------------------------------------------------------------------------- 1 | mquery FM_NFP "Install firmware for Netronome Flow Processors" n 2 | mquery FW_MELLANOX "Install firmware for Mellanox Spectrum switches" n 3 | mquery FW_MARVELL "Install firmware for Marvell devices" y 4 | mquery FW_QCOM "Install firmware for Qualcomm SoCs" n 5 | mquery FW_LIQUIDIO "Install firmware for Cavium LiquidIO server adapters" n 6 | mquery FW_QLOGIC "Install firmware for QLogic devices" n 7 | mquery FW_BNX2X "Install firmware for Broadcom NetXtreme II 10Gb ethernet adapters" n 8 | -------------------------------------------------------------------------------- /kernel/linux-firmware/PRE_BUILD: -------------------------------------------------------------------------------- 1 | # Check that the kernel support compressed firmware 2 | if ! kernel_option_present CONFIG_FW_LOADER_COMPRESS; then 3 | message "${MESSAGE_COLOR}The kernel option ${PROBLEM_COLOR}CONFIG_FW_LOADER_COMPRESS${MESSAGE_COLOR} is not enabled.${DEFAULT_COLOR}" 4 | message "${MESSAGE_COLOR}Please reconfigure and rebuild your kernel. Then try installing linux-firmware again.${DEFAULT_COLOR}" 5 | exit 1 6 | fi 7 | 8 | default_pre_build 9 | -------------------------------------------------------------------------------- /kernel/linux/CONFIGURE: -------------------------------------------------------------------------------- 1 | mquery PREFER_XCONFIG "Do you prefer xconfig over nconfig?" n 2 | 3 | if [ "`get_module_config PREFER_XCONFIG`" = "y" ]; then 4 | set_module_config "PREFER_NCONFIG" "n" ; 5 | set_module_config "PREFER_MENUCONFIG" "n" ; 6 | else 7 | mquery PREFER_NCONFIG "Do you prefer nconfig over menuconfig?" y 8 | if [ "`get_module_config PREFER_NCONFIG`" = "y" ]; then 9 | set_module_config "PREFER_MENUCONFIG" "n" ; 10 | else 11 | mquery PREFER_MENUCONFIG "Do you prefer menuconfig over config?" y 12 | fi 13 | fi 14 | 15 | unset_module_config CONFIG_KERNEL 16 | mquery CONFIG_KERNEL "Configure linux kernel?" n 17 | -------------------------------------------------------------------------------- /kernel/linux/DEPENDS: -------------------------------------------------------------------------------- 1 | depends autoconf 2 | depends kmod 3 | depends linux-firmware 4 | depends bc 5 | -------------------------------------------------------------------------------- /kernel/linux/POST_INSTALL: -------------------------------------------------------------------------------- 1 | PATCH_VERSION=$(echo $VERSION | cut -d . -f 3) 2 | FULL_VERSION=$(echo $VERSION | cut -d . -f 1,2).${PATCH_VERSION:-0} 3 | 4 | update_bootloader $FULL_VERSION $VERSION 5 | 6 | # Reinstall packages that add their own kernel modules 7 | 8 | lin -c kernel-reqs 9 | 10 | # create /sys 11 | mkdir -p /sys 12 | -------------------------------------------------------------------------------- /libs/elfutils/BUILD: -------------------------------------------------------------------------------- 1 | CFLAGS+=" -ffat-lto-objects" 2 | 3 | # We need to add this program prefix else its binaries will conflict with binutils 4 | OPTS+=" --program-prefix=eu- \ 5 | --disable-debuginfod \ 6 | --disable-libdebuginfod \ 7 | --disable-valgrind \ 8 | --enable-deterministic-archives \ 9 | --with-zlib" 10 | 11 | default_build 12 | -------------------------------------------------------------------------------- /libs/elfutils/DEPENDS: -------------------------------------------------------------------------------- 1 | depends zlib 2 | 3 | optional_depends bzip2 "--with-bzlib" "--without-bzlib" "for bzlib compression support" "y" 4 | optional_depends xz "--with-lzma" "--without-lzma" "for lzma/xz compression support" "y" 5 | optional_depends zstd "--with-zstd" "--without-zstd" "for zstd compression support" 6 | -------------------------------------------------------------------------------- /libs/elfutils/PRE_BUILD: -------------------------------------------------------------------------------- 1 | default_pre_build && 2 | 3 | sedit 's:-Werror::g' */Makefile.in 4 | -------------------------------------------------------------------------------- /libs/expat/BUILD: -------------------------------------------------------------------------------- 1 | OPTS+=" -DEXPAT_BUILD_DOCS=OFF \ 2 | -DEXPAT_BUILD_TESTS=OFF \ 3 | -DEXPAT_BUILD_EXAMPLES=OFF" 4 | 5 | default_cmake_build && 6 | 7 | # Let's be naughty and do the coverup 8 | ln -sf /usr/lib/libexpat.so /usr/lib/libexpat.so.0 9 | -------------------------------------------------------------------------------- /libs/expat/DEPENDS: -------------------------------------------------------------------------------- 1 | depends cmake 2 | -------------------------------------------------------------------------------- /libs/expat/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=expat 2 | VERSION=2.7.1 3 | SOURCE=$MODULE-$VERSION.tar.bz2 4 | SOURCE_URL=https://github.com/libexpat/libexpat/releases/download/R_${VERSION//./_}/ 5 | SOURCE_VFY=sha256:45c98ae1e9b5127325d25186cf8c511fa814078e9efeae7987a574b482b79b3d 6 | WEB_SITE=https://libexpat.github.io/ 7 | ENTERED=20010928 8 | UPDATED=20250328 9 | SHORT="XML parsing library" 10 | 11 | cat << EOF 12 | Expat is a fast, non-validating, stream-oriented XML parsing library. 13 | EOF 14 | -------------------------------------------------------------------------------- /libs/gettext/BUILD: -------------------------------------------------------------------------------- 1 | if !( module_installed emacs ); then 2 | OPTS+=" --without-emacs" 3 | fi 4 | 5 | OPTS+=" --disable-csharp \ 6 | --disable-static \ 7 | --without-libintl-prefix" 8 | 9 | default_build 10 | -------------------------------------------------------------------------------- /libs/gettext/DEPENDS: -------------------------------------------------------------------------------- 1 | depends autoconf 2 | 3 | optional_depends bzip2 "" "--without-bzip2" "to compress data with bzip2" 4 | optional_depends xz "" "--without-xz" "to compress data with xz" 5 | 6 | optional_depends ncurses "" "" "for ncurses support" 7 | optional_depends libunistring "" "" "for Unicode support" 8 | optional_depends expat "" "" "for XML support" 9 | optional_depends libcroco "" "" "for CSSS2 support" 10 | optional_depends libxml2 "" "" "for XML 2 support" 11 | -------------------------------------------------------------------------------- /libs/gettext/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=gettext 2 | VERSION=0.24.1 3 | SOURCE=$MODULE-$VERSION.tar.xz 4 | SOURCE_URL[0]=$GNU_URL/$MODULE 5 | SOURCE_URL[1]=ftp://ftp.gnu.org/pub/gnu/$MODULE 6 | SOURCE_VFY=sha256:6164ec7aa61653ac9cdfb41d5c2344563b21f707da1562712e48715f1d2052a6 7 | WEB_SITE=https://www.gnu.org/software/gettext 8 | ENTERED=20010922 9 | UPDATED=20250504 10 | SHORT="The GNU internationalisation library" 11 | 12 | cat << EOF 13 | gettext is the GNU internationalisation library. 14 | EOF 15 | -------------------------------------------------------------------------------- /libs/gettext/POST_REMOVE: -------------------------------------------------------------------------------- 1 | install-info --delete gettext --info-dir /usr/info 2 | -------------------------------------------------------------------------------- /libs/gettext/PRE_BUILD: -------------------------------------------------------------------------------- 1 | default_pre_build && 2 | 3 | # declare libintl.so rogue so it doesn't get removed! 4 | if [ -f $INSTALL_LOGS/gettext* ]; then 5 | sedit "/\/usr\/lib\/libintl.so/d" $INSTALL_LOGS/gettext* 6 | fi && 7 | 8 | # Fixes an incompatibility with glibc-2.16 9 | sedit '/gets is a/d' gettext-*/*/stdio.in.h 10 | -------------------------------------------------------------------------------- /libs/glib-2/BUILD: -------------------------------------------------------------------------------- 1 | OPTS+=" -D installed_tests=false \ 2 | -D selinux=disabled" 3 | 4 | # Fix SUN-JDK segfault: https://bugzilla.gnome.org/show_bug.cgi?id=755609 5 | LDFLAGS+=" -Wl,-z,nodelete" && 6 | 7 | default_meson_build 8 | -------------------------------------------------------------------------------- /libs/glib-2/DEPENDS: -------------------------------------------------------------------------------- 1 | depends automake 2 | depends zlib 3 | depends libffi 4 | depends pcre2 5 | depends gettext 6 | depends elfutils 7 | depends meson 8 | 9 | optional_depends gtk-doc \ 10 | "-D documentation=true" \ 11 | "-D documentation=false" \ 12 | "for building the documentation" \ 13 | "n" 14 | -------------------------------------------------------------------------------- /libs/glibc/DEPENDS: -------------------------------------------------------------------------------- 1 | depends gawk 2 | depends sed 3 | depends texinfo 4 | depends python 5 | depends kernel-headers 6 | depends libxcrypt 7 | 8 | optional_depends perl "" "" "for testing the installation" 9 | -------------------------------------------------------------------------------- /libs/glibc/POST_INSTALL: -------------------------------------------------------------------------------- 1 | # Update fixed headers 2 | /usr/libexec/gcc/$(arch)-pc-linux-gnu/$(installed_version gcc)/install-tools/mkheaders 3 | 4 | # If upgrading from an earlier version, probably need to fix libxcrypt 5 | # because /usr/lib/libcrypt.so and /usr/include/crypt.so stand a good 6 | # chance of disappearing 7 | lunar fix perl 8 | lunar fix libxcrypt 9 | 10 | # and then everything in core it links with because we're going from 11 | # libcrypt.so.1 to libcrypt.so.2 12 | lunar fix shadow Linux-PAM util-linux openssh systemd 13 | 14 | lin -c timezone-data 15 | -------------------------------------------------------------------------------- /libs/gmp/BUILD: -------------------------------------------------------------------------------- 1 | OPTS="--enable-cxx --enable-fat --disable-static" 2 | 3 | default_config && 4 | sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool && 5 | make && 6 | make check && 7 | prepare_install && 8 | make install && 9 | 10 | ln -sf /usr/lib/libgmp.so /usr/lib/libgmp.so.3 11 | -------------------------------------------------------------------------------- /libs/gmp/DEPENDS: -------------------------------------------------------------------------------- 1 | depends flex 2 | -------------------------------------------------------------------------------- /libs/gnu-efi/BUILD: -------------------------------------------------------------------------------- 1 | # upstream compiles with -mno-sse 2 | bad_flags -mfpmath=sse -mfpmath=both && 3 | 4 | if [[ "$(arch)" == "x86_64" ]]; then 5 | EFI_ARCH=x86_64 6 | elif [[ "$(arch)" == "aarch64" ]]; then 7 | EFI_ARCH=aarch64 8 | else 9 | EFI_ARCH=ia32 10 | fi && 11 | 12 | # Lunar's LDFLAGS don't get along well with gnu-efi, so clear them out 13 | unset LDFLAGS && 14 | 15 | make lib gnuefi inc apps && 16 | prepare_install && 17 | make PREFIX="/usr" LIBDIR="/usr/lib" install && 18 | 19 | install -d "/usr/share/gnu-efi/apps/${EFI_ARCH}/" && 20 | install -D -m0644 "${EFI_ARCH}/apps"/*.efi "/usr/share/gnu-efi/apps/${EFI_ARCH}/" && 21 | 22 | sedit 's@/local@@g' /usr/lib/pkgconfig/gnu-efi.pc 23 | -------------------------------------------------------------------------------- /libs/gnu-efi/DEPENDS: -------------------------------------------------------------------------------- 1 | depends pciutils 2 | -------------------------------------------------------------------------------- /libs/gnu-efi/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=gnu-efi 2 | VERSION=3.0.18 3 | SOURCE=$MODULE-$VERSION.tar.bz2 4 | SOURCE_URL=$SFORGE_URL/$MODULE 5 | SOURCE_VFY=sha256:7f212c96ee66547eeefb531267b641e5473d7d8529f0bd8ccdefd33cf7413f5c 6 | WEB_SITE=http://sourceforge.net/projects/gnu-efi/ 7 | ENTERED=20150705 8 | UPDATED=20250307 9 | SHORT="Library for building EFI applications" 10 | PSAFE=no 11 | 12 | cat << EOF 13 | Develop EFI applications for ARM-64, ARM-32, x86_64, IA-64 (IPF), and 14 | IA-32 (x86) platforms using the GNU toolchain and the EFI development 15 | environment. 16 | EOF 17 | -------------------------------------------------------------------------------- /libs/inih/BUILD: -------------------------------------------------------------------------------- 1 | OPTS+=" -Ddistro_install=true \ 2 | -Dwith_INIReader=true" 3 | 4 | default_meson_build 5 | -------------------------------------------------------------------------------- /libs/inih/DEPENDS: -------------------------------------------------------------------------------- 1 | depends meson 2 | -------------------------------------------------------------------------------- /libs/inih/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=inih 2 | VERSION=r60 3 | SOURCE=$MODULE-$VERSION.tar.gz 4 | SOURCE_URL_FULL=https://github.com/benhoyt/inih/archive/${VERSION}.tar.gz 5 | SOURCE_VFY=sha256:706aa05c888b53bd170e5d8aa8f8a9d9ccf5449dfed262d5103d1f292af26774 6 | WEB_SITE=https://github.com/benhoyt/inih/ 7 | ENTERED=20201212 8 | UPDATED=20250421 9 | SHORT="A simple .INI file parser written in C" 10 | PSAFE=no 11 | 12 | cat << EOF 13 | xfsprogs - The XFS file system utilities and libraries. 14 | EOF 15 | -------------------------------------------------------------------------------- /libs/json-c/BUILD: -------------------------------------------------------------------------------- 1 | OPTS+=" -DBUILD_STATIC_LIBS=OFF \ 2 | -DENABLE_THREADING=ON \ 3 | -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \ 4 | -DENABLE_RDRAND=OFF" 5 | 6 | default_cmake_build 7 | -------------------------------------------------------------------------------- /libs/json-c/DEPENDS: -------------------------------------------------------------------------------- 1 | depends cmake 2 | -------------------------------------------------------------------------------- /libs/json-c/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=json-c 2 | VERSION=0.18 3 | VSUFFIX=20240915 4 | SOURCE=$MODULE-$VERSION-$VSUFFIX.tar.gz 5 | SOURCE_URL=https://github.com/json-c/json-c/archive 6 | SOURCE_VFY=sha256:3112c1f25d39eca661fe3fc663431e130cc6e2f900c081738317fba49d29e298 7 | SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$MODULE-$VERSION-$VSUFFIX 8 | WEB_SITE=https://github.com/json-c/json-c 9 | ENTERED=20111005 10 | UPDATED=20241012 11 | SHORT="A JSON implementation in C" 12 | 13 | cat << EOF 14 | A JSON implementation in C. 15 | EOF 16 | -------------------------------------------------------------------------------- /libs/libaio/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=libaio 2 | VERSION=0.3.113 3 | SOURCE=${MODULE}_$VERSION.orig.tar.gz 4 | SOURCE_URL=http://ftp.de.debian.org/debian/pool/main/liba/libaio/ 5 | SOURCE_VFY=sha256:2c44d1c5fd0d43752287c9ae1eb9c023f04ef848ea8d4aafa46e9aedb678200b 6 | WEB_SITE=http://www.kernel.org/pub/linux/kernel/people/andrea/libaio/ 7 | ENTERED=20090611 8 | UPDATED=20220606 9 | SHORT="The Linux-native asynchronous I/O library" 10 | 11 | cat << EOF 12 | The Linux-native asynchronous I/O facility (aio) library. 13 | EOF 14 | -------------------------------------------------------------------------------- /libs/libatomic_ops/PRE_BUILD: -------------------------------------------------------------------------------- 1 | default_pre_build && 2 | 3 | #./autogen.sh && 4 | 5 | OPTS+=" --enable-shared" 6 | 7 | -------------------------------------------------------------------------------- /libs/libbsd/BUILD: -------------------------------------------------------------------------------- 1 | CFLAGS+=' -ffat-lto-objects' && 2 | 3 | default_build && 4 | 5 | rm -f /usr/lib/libbsd.a && 6 | 7 | # included now in man-pages 8 | rm -f /usr/share/man/man3/explicit_bzero.3 9 | -------------------------------------------------------------------------------- /libs/libbsd/DEPENDS: -------------------------------------------------------------------------------- 1 | depends libmd 2 | -------------------------------------------------------------------------------- /libs/libbsd/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=libbsd 2 | VERSION=0.12.2 3 | SOURCE=$MODULE-$VERSION.tar.xz 4 | SOURCE_URL=https://libbsd.freedesktop.org/releases/ 5 | SOURCE_VFY=sha256:b88cc9163d0c652aaf39a99991d974ddba1c3a9711db8f1b5838af2a14731014 6 | WEB_SITE=https://libbsd.freedesktop.org 7 | ENTERED=20200606 8 | UPDATED=20240320 9 | SHORT="Provides useful functions commonly found on BSD systems" 10 | 11 | cat << EOF 12 | This library provides useful functions commonly found on BSD systems, and 13 | lacking on others like GNU systems, thus making it easier to port projects 14 | with strong BSD origins, without needing to embed the same code over and 15 | over again on each project. 16 | EOF 17 | -------------------------------------------------------------------------------- /libs/libcap/BUILD: -------------------------------------------------------------------------------- 1 | prefix=/usr lib=lib GOLANG=no RAISE_SETFCAP=no default_make && 2 | 3 | rm /usr/lib/libcap.a && 4 | rm /usr/lib/libpsx.a 5 | -------------------------------------------------------------------------------- /libs/libcap/DEPENDS: -------------------------------------------------------------------------------- 1 | depends attr 2 | -------------------------------------------------------------------------------- /libs/libcap/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=libcap 2 | VERSION=2.76 3 | SOURCE=$MODULE-$VERSION.tar.xz 4 | SOURCE_URL=https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/ 5 | SOURCE_VFY=sha256:629da4ab29900d0f7fcc36227073743119925fd711c99a1689bbf5c9b40c8e6f 6 | WEB_SITE=http://www.kernel.org/pub/linux/libs/security/linux-privs 7 | ENTERED=20040906 8 | UPDATED=20250413 9 | SHORT="POSIX 1003.1e capabilities" 10 | 11 | cat << EOF 12 | POSIX 1003.1e capabilities 13 | EOF 14 | -------------------------------------------------------------------------------- /libs/libcap/PRE_BUILD: -------------------------------------------------------------------------------- 1 | default_pre_build && 2 | 3 | sedit 's;$(LIBDIR);/lib;g' pam_cap/Makefile 4 | -------------------------------------------------------------------------------- /libs/libdaemon/BUILD: -------------------------------------------------------------------------------- 1 | autoreconf -fi && 2 | 3 | OPTS+=" --disable-static" && 4 | 5 | default_build 6 | -------------------------------------------------------------------------------- /libs/libdaemon/DEPENDS: -------------------------------------------------------------------------------- 1 | optional_depends "lynx" "" "--disable-lynx" "to enable lynx support" 2 | -------------------------------------------------------------------------------- /libs/libffi/BUILD: -------------------------------------------------------------------------------- 1 | OPTS+=" --disable-multi-os-directory \ 2 | --disable-exec-static-tramp \ 3 | --disable-static \ 4 | --enable-pax_emutramp" 5 | 6 | default_build 7 | -------------------------------------------------------------------------------- /libs/libffi/DEPENDS: -------------------------------------------------------------------------------- 1 | depends pkgconf 2 | -------------------------------------------------------------------------------- /libs/libidn/BUILD: -------------------------------------------------------------------------------- 1 | OPTS+=" --disable-static" && 2 | 3 | default_build 4 | -------------------------------------------------------------------------------- /libs/libidn/DEPENDS: -------------------------------------------------------------------------------- 1 | depends texinfo 2 | -------------------------------------------------------------------------------- /libs/libidn/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=libidn 2 | VERSION=1.43 3 | SOURCE=$MODULE-$VERSION.tar.gz 4 | SOURCE_URL[0]=$GNU_URL/$MODULE/ 5 | SOURCE_URL[1]=https://ftp.gnu.org/gnu/$MODULE/ 6 | SOURCE_VFY=sha256:bdc662c12d041b2539d0e638f3a6e741130cdb33a644ef3496963a443482d164 7 | WEB_SITE=http://www.gnu.org/software/libidn 8 | ENTERED=20041220 9 | UPDATED=20250321 10 | SHORT="Implementation of the Stringprep, Punycode and IDNA specifications" 11 | 12 | cat << EOF 13 | GNU Libidn is an implementation of the Stringprep, Punycode and IDNA 14 | specifications defined by the IETF Internationalized Domain Names (IDN) 15 | working group, used for internationalized domain names. 16 | EOF 17 | -------------------------------------------------------------------------------- /libs/libidn2/BUILD: -------------------------------------------------------------------------------- 1 | OPTS+=" --disable-gtk-doc \ 2 | --disable-static" 3 | 4 | default_build 5 | -------------------------------------------------------------------------------- /libs/libidn2/DEPENDS: -------------------------------------------------------------------------------- 1 | depends libunistring 2 | depends gettext 3 | -------------------------------------------------------------------------------- /libs/libidn2/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=libidn2 2 | VERSION=2.3.8 3 | SOURCE=$MODULE-$VERSION.tar.gz 4 | SOURCE_URL=https://ftp.gnu.org/gnu/libidn/ 5 | SOURCE_VFY=sha256:f557911bf6171621e1f72ff35f5b1825bb35b52ed45325dcdee931e5d3c0787a 6 | WEB_SITE=https://www.gnu.org/software/libidn/#libidn2 7 | ENTERED=20180314 8 | UPDATED=20250312 9 | SHORT="An implementation of IDNA2008, Punycode and TR46" 10 | 11 | cat << EOF 12 | Libidn2 is a standalone library, without any dependency on Libidn. Libidn2 is 13 | believed to be a complete IDNA2008 / TR46 implementation, but has yet to be as 14 | extensively used as the original Libidn library. 15 | EOF 16 | -------------------------------------------------------------------------------- /libs/libidn2/PRE_BUILD: -------------------------------------------------------------------------------- 1 | GTKDOCIZE=$(type -p gtkdocize) 2 | GTKDOCIZE=${GTKDOCIZE:-/usr/bin/true} 3 | export GTKDOCIZE 4 | 5 | default_pre_build && 6 | 7 | autoreconf -fvi 8 | -------------------------------------------------------------------------------- /libs/libmd/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=libmd 2 | VERSION=1.1.0 3 | SOURCE=$MODULE-$VERSION.tar.xz 4 | SOURCE_URL=https://libbsd.freedesktop.org/releases/ 5 | SOURCE_VFY=sha256:1bd6aa42275313af3141c7cf2e5b964e8b1fd488025caf2f971f43b00776b332 6 | WEB_SITE=https://www.hadrons.org/software/libmd/ 7 | ENTERED=20210810 8 | UPDATED=20230808 9 | SHORT="Message Digest functions from BSD systems" 10 | 11 | cat << EOF 12 | This library provides message digest functions found on BSD systems. 13 | The currently provided message digest algorithms are: 14 | - MD2 15 | - MD4 16 | - MD5 17 | - RIPEMD-160 18 | - SHA-1 19 | - SHA-2 (SHA-256, SHA-384 and SHA-512) 20 | EOF 21 | -------------------------------------------------------------------------------- /libs/libmpc/BUILD: -------------------------------------------------------------------------------- 1 | OPTS+=" --disable-static" 2 | 3 | if [ -f /usr/lib/libmpc.so.2.0.0 ]; then 4 | # preserve the old version to prevent the crash of gcc 5 | cp /usr/lib/libmpc.so.2.0.0 /usr/lib/libmpc.so.2.0.0.old 6 | fi && 7 | 8 | default_build && 9 | 10 | if [ -f /usr/lib/libmpc.so.2.0.0.old ]; then 11 | # restore the old version to prevent the crash of gcc 12 | mv -f /usr/lib/libmpc.so.2.0.0.old /usr/lib/libmpc.so.2.0.0 13 | ln -sf /usr/lib/libmpc.so.2.0.0 /usr/lib/libmpc.so.2 14 | fi 15 | -------------------------------------------------------------------------------- /libs/libmpc/DEPENDS: -------------------------------------------------------------------------------- 1 | depends mpfr 2 | -------------------------------------------------------------------------------- /libs/libmpc/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=libmpc 2 | VERSION=1.3.1 3 | SOURCE=mpc-$VERSION.tar.gz 4 | SOURCE_URL[0]=https://ftp.gnu.org/gnu/mpc/ 5 | SOURCE_URL[1]=http://www.multiprecision.org/mpc/download 6 | SOURCE_VFY=sha256:ab642492f5cf882b74aa0cb730cd410a81edcdbec895183ce930e706c1c759b8 7 | SOURCE_DIRECTORY=$BUILD_DIRECTORY/mpc-$VERSION 8 | WEB_SITE=http://www.multiprecision.org 9 | ENTERED=20100416 10 | UPDATED=20230512 11 | SHORT="A complex floating-point library" 12 | 13 | cat << EOF 14 | mpc is a complex floating-point library with exact rounding. 15 | It is based on the GNU MPFR floating-point library, which is 16 | itself based on the GNU MP library. 17 | EOF 18 | -------------------------------------------------------------------------------- /libs/libnl3/BUILD: -------------------------------------------------------------------------------- 1 | OPTS+=" --sbindir=/usr/bin --sysconfdir=/etc/$MODULE --disable-static" 2 | 3 | default_build 4 | 5 | -------------------------------------------------------------------------------- /libs/libnl3/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=libnl3 2 | VERSION=3.11.0 3 | SOURCE=libnl-$VERSION.tar.gz 4 | SOURCE_URL=https://github.com/thom311/libnl/releases/download/libnl${VERSION//./_}/ 5 | SOURCE_VFY=sha256:2a56e1edefa3e68a7c00879496736fdbf62fc94ed3232c0baba127ecfa76874d 6 | SOURCE_DIRECTORY=$BUILD_DIRECTORY/libnl-$VERSION 7 | WEB_SITE=http://www.infradead.org/~tgr/libnl/ 8 | ENTERED=20110511 9 | UPDATED=20241030 10 | SHORT="A library for applications dealing with netlink sockets" 11 | 12 | cat << EOF 13 | libnl is a library for applications dealing with netlink sockets. 14 | EOF 15 | -------------------------------------------------------------------------------- /libs/libtool/BUILD: -------------------------------------------------------------------------------- 1 | OPTS+=" --disable-static" && 2 | 3 | default_build 4 | -------------------------------------------------------------------------------- /libs/libtool/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=libtool 2 | VERSION=2.5.4 3 | SOURCE=$MODULE-$VERSION.tar.gz 4 | SOURCE_URL[0]=$GNU_URL/$MODULE 5 | SOURCE_URL[1]=https://ftp.gnu.org/pub/gnu/$MODULE 6 | SOURCE_VFY=sha256:da8ebb2ce4dcf46b90098daf962cffa68f4b4f62ea60f798d0ef12929ede6adf 7 | WEB_SITE=http://www.gnu.org/software/libtool 8 | ENTERED=20010922 9 | UPDATED=20241121 10 | SHORT="A generic library support script" 11 | 12 | cat << EOF 13 | libtool is a generic library support script. It hides the complexity 14 | of using shared libraries behind a consistent, portable interface. 15 | Libtool supports building static libraries on all platforms. It also 16 | includes GNU libltdl, the libtool dynamic loader library. 17 | EOF 18 | -------------------------------------------------------------------------------- /libs/libunistring/BUILD: -------------------------------------------------------------------------------- 1 | OPTS+=" --disable-static" 2 | 3 | default_build 4 | -------------------------------------------------------------------------------- /libs/libunistring/POST_INSTALL: -------------------------------------------------------------------------------- 1 | if module_installed libidn2; then 2 | lin -c libidn2 3 | fi 4 | -------------------------------------------------------------------------------- /libs/libusb-compat/BUILD: -------------------------------------------------------------------------------- 1 | OPTS+=" --disable-static" && 2 | default_build 3 | -------------------------------------------------------------------------------- /libs/libusb-compat/DEPENDS: -------------------------------------------------------------------------------- 1 | depends libusb 2 | -------------------------------------------------------------------------------- /libs/libusb/BUILD: -------------------------------------------------------------------------------- 1 | OPTS+=" --disable-static" && 2 | 3 | ./bootstrap.sh && 4 | 5 | default_build 6 | -------------------------------------------------------------------------------- /libs/libusb/DEPENDS: -------------------------------------------------------------------------------- 1 | depends systemd 2 | -------------------------------------------------------------------------------- /libs/libusb/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=libusb 2 | VERSION=1.0.28 3 | SOURCE=$MODULE-$VERSION.tar.gz 4 | SOURCE_URL_FULL=https://github.com/libusb/libusb/archive/refs/tags/v$VERSION.tar.gz 5 | SOURCE_VFY=sha256:378b3709a405065f8f9fb9f35e82d666defde4d342c2a1b181a9ac134d23c6fe 6 | SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$VERSION 7 | WEB_SITE=http://libusb.org/ 8 | ENTERED=20140106 9 | UPDATED=20250320 10 | SHORT="Library that provides generic access to USB devices" 11 | 12 | cat << EOF 13 | Library that provides generic access to USB devices. 14 | EOF 15 | -------------------------------------------------------------------------------- /libs/mpfr/DEPENDS: -------------------------------------------------------------------------------- 1 | depends gmp 2 | -------------------------------------------------------------------------------- /libs/mpfr/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=mpfr 2 | VERSION=4.2.2 3 | SOURCE=$MODULE-$VERSION.tar.xz 4 | SOURCE_URL=https://www.mpfr.org/mpfr-current/ 5 | SOURCE_VFY=sha256:b67ba0383ef7e8a8563734e2e889ef5ec3c3b898a01d00fa0a6869ad81c6ce01 6 | WEB_SITE=http://www.mpfr.org 7 | ENTERED=20070111 8 | UPDATED=20250320 9 | SHORT="C library for multiple-precision floating-point computations" 10 | 11 | cat << EOF 12 | The MPFR library is a C library for multiple-precision floating-point 13 | computations with exact rounding (also called correct rounding). It is 14 | based on the GMP multiple-precision library. 15 | EOF 16 | -------------------------------------------------------------------------------- /libs/ncurses/CONFIGURE: -------------------------------------------------------------------------------- 1 | mquery PROFILING "Do you want to install profiling libraries ?" n "--with-profile" "--without-profile" 2 | mquery DEBUG "Do you want to install debug libraries ?" n "--with-debug" "--without-debug" 3 | -------------------------------------------------------------------------------- /libs/ncurses/DEPENDS: -------------------------------------------------------------------------------- 1 | depends gawk 2 | depends sed 3 | 4 | optional_depends "gpm" "--with-gpm" "--without-gpm" "for General Purpose Mouse support" 5 | -------------------------------------------------------------------------------- /libs/pcre/BUILD: -------------------------------------------------------------------------------- 1 | bad_flags ALL && 2 | 3 | OPTS+=" --enable-jit \ 4 | --enable-utf8 \ 5 | --enable-pcre16 \ 6 | --enable-pcre32 \ 7 | --enable-pcregrep-libz \ 8 | --enable-pcregrep-libbz2 \ 9 | --enable-unicode-properties \ 10 | --disable-static" && 11 | 12 | default_config && 13 | 14 | sedit 's:ln -s:ln -sf:' Makefile && 15 | 16 | if [ -f /usr/lib/libpcre.so.0.0.1 ]; then 17 | # preserve the old version to prevent the crash of grep 18 | make && 19 | make install && 20 | # rebuild the new grep image 21 | lin grep 22 | fi && 23 | 24 | # normal install of pcre 25 | default_make 26 | -------------------------------------------------------------------------------- /libs/pcre/DEPENDS: -------------------------------------------------------------------------------- 1 | depends zlib 2 | depends bzip2 3 | -------------------------------------------------------------------------------- /libs/pcre/POST_INSTALL: -------------------------------------------------------------------------------- 1 | rm -f /usr/lib/libpcre.so.0 && 2 | rm -f /usr/lib/libpcre.so.0.0.1 3 | -------------------------------------------------------------------------------- /libs/pcre/PRE_BUILD: -------------------------------------------------------------------------------- 1 | default_pre_build && 2 | 3 | sedit 's:$(libdir)/pkgconfig:/usr/lib/pkgconfig:' Makefile.am Makefile.in 4 | -------------------------------------------------------------------------------- /libs/pcre2/BUILD: -------------------------------------------------------------------------------- 1 | bad_flags ALL && 2 | 3 | OPTS+=" --enable-jit \ 4 | --enable-pcre2-16 \ 5 | --enable-pcre2-32 \ 6 | --enable-pcre2grep-libz \ 7 | --enable-pcre2grep-libbz2 \ 8 | --enable-pcre2test-libreadline \ 9 | --disable-static" 10 | 11 | default_config && 12 | 13 | sedit 's:ln -s:ln -sf:' Makefile && 14 | 15 | # normal install of pcre 16 | default_make 17 | -------------------------------------------------------------------------------- /libs/pcre2/DEPENDS: -------------------------------------------------------------------------------- 1 | depends readline 2 | depends bzip2 3 | depends zlib 4 | -------------------------------------------------------------------------------- /libs/popt/BUILD: -------------------------------------------------------------------------------- 1 | OPTS+=" --disable-static" 2 | 3 | default_build 4 | -------------------------------------------------------------------------------- /libs/popt/DEPENDS: -------------------------------------------------------------------------------- 1 | depends pkgconf 2 | 3 | optional_depends gettext "" "" "for i18n internationalization support" 4 | -------------------------------------------------------------------------------- /libs/readline/DEPENDS: -------------------------------------------------------------------------------- 1 | depends ncurses 2 | -------------------------------------------------------------------------------- /libs/readline/POST_INSTALL: -------------------------------------------------------------------------------- 1 | rm -rf /tmp/old.libraries && 2 | OUR_NEW_READLINE_VVV=$(lvu version readline | sed -r 's/([0-9]+).+/\1/') 3 | OUR_OLD_READLINE_VVV=$(get_module_config OUR_OLD_READLINE_VVV) 4 | 5 | if [[ "$OUR_NEW_READLINE_VVV" > "$OUR_OLD_READLINE_VVV" ]]; then 6 | 7 | for MOD in $(lvu depends readline | grep -v -e lunar -e arch ); do 8 | if module_installed $MOD; then 9 | lin -c $MOD 10 | fi 11 | done 12 | 13 | fi 14 | 15 | unset_module_config OUR_OLD_READLINE_VVV 16 | -------------------------------------------------------------------------------- /libs/readline/POST_REMOVE: -------------------------------------------------------------------------------- 1 | install-info --delete history --info-dir /usr/info 2 | install-info --delete readline --info-dir /usr/info 3 | install-info --delete rluserman --info-dir /usr/info 4 | -------------------------------------------------------------------------------- /libs/readline/PRE_BUILD: -------------------------------------------------------------------------------- 1 | default_pre_build && 2 | 3 | # Real and working fix for readline major version upgrade 4 | if module_installed readline ; then 5 | mkdir -p /tmp/old.libraries && 6 | cp -f /lib/libreadline.so.* /tmp/old.libraries && 7 | cp -f /lib/libhistory.so.* /tmp/old.libraries && 8 | LD_LIBRARY_PATH=/tmp/old.libraries:$LD_LIBRARY_PATH 9 | OUR_OLD_READLINE_VVV=$(lvu installed readline | sed -r 's/([0-9]+).+/\1/') && 10 | set_module_config OUR_OLD_READLINE_VVV "$OUR_OLD_READLINE_VVV" 11 | fi 12 | -------------------------------------------------------------------------------- /libs/readline/profile.d/readline.rc: -------------------------------------------------------------------------------- 1 | stty erase ^? 2 | 3 | [ -f /etc/inputrc ] && export INPUTRC=/etc/inputrc 4 | -------------------------------------------------------------------------------- /libs/userspace-rcu/BUILD: -------------------------------------------------------------------------------- 1 | default_config && 2 | 3 | # prevent excessive overlinking due to libtool 4 | sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool && 5 | 6 | default_make 7 | -------------------------------------------------------------------------------- /libs/userspace-rcu/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=userspace-rcu 2 | VERSION=0.14.0 3 | SOURCE=$MODULE-$VERSION.tar.bz2 4 | SOURCE_URL=https://lttng.org/files/urcu/ 5 | SOURCE_VFY=sha256:ca43bf261d4d392cff20dfae440836603bf009fce24fdc9b2697d837a2239d4f 6 | WEB_SITE=https://lttng.org/urcu/ 7 | ENTERED=20150626 8 | UPDATED=20230308 9 | SHORT="Userspace RCU (read-copy-update) library" 10 | 11 | cat << EOF 12 | Liburcu is a LGPLv2.1 userspace RCU (read-copy-update) library. This data 13 | synchronization library provides read-side access which scales linearly with 14 | the number of cores. 15 | EOF 16 | -------------------------------------------------------------------------------- /mail/s-nail/BUILD: -------------------------------------------------------------------------------- 1 | make config VAL_PREFIX=/usr VAL_SYSCONFDIR=/etc && 2 | make && 3 | prepare_install && 4 | make install && 5 | ln -sf s-nail /usr/bin/mailx && 6 | ln -sf mailx /usr/bin/mail && 7 | ln -sf mailx /usr/bin/nail 8 | -------------------------------------------------------------------------------- /mail/s-nail/CONFLICTS: -------------------------------------------------------------------------------- 1 | conflicts mailutils 2 | conflicts heirloom-mailx 3 | -------------------------------------------------------------------------------- /net/dhcpcd/BUILD: -------------------------------------------------------------------------------- 1 | OPTS+=" --runstatedir=/run \ 2 | --privsepuser=dhcpcd \ 3 | --dbdir=/var/lib/dhcpcd" 4 | 5 | default_build && 6 | 7 | # Set Options in /etc/dhcpcd.conf 8 | # Disable ip4vall 9 | echo noipv4ll >> /etc/dhcpcd.conf 10 | -------------------------------------------------------------------------------- /net/dhcpcd/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=dhcpcd 2 | VERSION=10.2.3 3 | SOURCE=$MODULE-$VERSION.tar.xz 4 | SOURCE_URL=https://github.com/NetworkConfiguration/dhcpcd/releases/download/v$VERSION 5 | SOURCE_VFY=sha256:4137a382d1a203bffdf8e757bbdfd0032433d06e5c69a3785b88b83251f89616 6 | WEB_SITE=http://roy.marples.name/projects/dhcpcd 7 | ENTERED=20011126 8 | UPDATED=20250517 9 | SHORT="DHCP client/daemon that works with @home" 10 | 11 | cat << EOF 12 | dhcpcd is an RFC2131-, RFC2132-, and RFC1541-compliant DHCP client daemon. It 13 | gets an IP address and other information from the DHCP server, automatically 14 | configures the network interface, and tries to renew the lease time according 15 | to RFC2131 or RFC1541. 16 | EOF 17 | -------------------------------------------------------------------------------- /net/dhcpcd/sysusers.d/dhcpcd.conf: -------------------------------------------------------------------------------- 1 | u dhcpcd - "dhcpcd privilege separation" /var/lib/dhcpcd 2 | -------------------------------------------------------------------------------- /net/dhcpcd/tmpfiles.d/dhcpcd.conf: -------------------------------------------------------------------------------- 1 | d /var/lib/dhcpcd 0700 dhcpcd dhcpcd - 2 | d /run/dhcpcd 0700 dhcpcd dhcpcd - 3 | -------------------------------------------------------------------------------- /net/ethtool/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=ethtool 2 | VERSION=6.11 3 | SOURCE=$MODULE-$VERSION.tar.xz 4 | SOURCE_URL=$KERNEL_URL/pub/software/network/$MODULE 5 | SOURCE_VFY=sha256:8d91f5c72ae3f25b7e88d4781279dcb320f71e30058914370b1c574c96b31202 6 | WEB_SITE=https://www.kernel.org/pub/software/network/ethtool 7 | ENTERED=20031026 8 | UPDATED=20250105 9 | SHORT="Ethernet diagnostic and tuning tool" 10 | 11 | cat << EOF 12 | Ethtool is a Linux net driver diagnostic and tuning tool for the Linux series of 13 | kernels. It obtains information and diagnostics related to media, link status, 14 | driver version, PCI (or other) bus location, and more. Ethtool obsoletes mii-tool. 15 | EOF 16 | -------------------------------------------------------------------------------- /net/iproute2/BUILD: -------------------------------------------------------------------------------- 1 | ./configure && 2 | 3 | make && 4 | 5 | prepare_install && 6 | 7 | make SBINDIR=/usr/sbin install && 8 | 9 | install -Dm644 include/libnetlink.h /usr/include/libnetlink.h && 10 | install -Dm644 lib/libnetlink.a /usr/lib/libnetlink.a 11 | -------------------------------------------------------------------------------- /net/iproute2/DEPENDS: -------------------------------------------------------------------------------- 1 | depends flex 2 | depends bison 3 | depends iptables 4 | 5 | optional_depends db "" "" "to build arpd" 6 | 7 | optional_depends linux-atm "" "" "to use ATM networks" n 8 | -------------------------------------------------------------------------------- /net/iproute2/PRE_BUILD: -------------------------------------------------------------------------------- 1 | default_pre_build && 2 | 3 | if ! in_depends $MODULE db; then 4 | sedit '/+= arpd/d' misc/Makefile 5 | fi 6 | -------------------------------------------------------------------------------- /net/iputils/BUILD: -------------------------------------------------------------------------------- 1 | OPTS+="-DBUILD_MANS=false \ 2 | -DBUILD_HTML_MANS=false" 3 | 4 | default_meson_build 5 | -------------------------------------------------------------------------------- /net/iputils/DEPENDS: -------------------------------------------------------------------------------- 1 | depends libcap 2 | depends libidn2 3 | depends libmnl 4 | depends %OSSL 5 | depends sysfsutils 6 | depends meson 7 | 8 | optional_depends xinetd "" "" "for xinetd support" 9 | 10 | optional_depends docbook-utils \ 11 | "-DBUILD_MANS=true" \ 12 | "-DBUILD_MANS=false" \ 13 | "for documentation regeneration" \ 14 | "n" 15 | -------------------------------------------------------------------------------- /net/iputils/PRE_BUILD: -------------------------------------------------------------------------------- 1 | default_pre_build && 2 | #unpack ${SOURCE2} && 3 | 4 | # remove the doc directory 5 | rm -fR doc 6 | -------------------------------------------------------------------------------- /net/iputils/xinetd.d/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 | -------------------------------------------------------------------------------- /net/libmnl/DEPENDS: -------------------------------------------------------------------------------- 1 | optional_depends doxygen \ 2 | "--with-doxygen" \ 3 | "--without-doxygen" \ 4 | "for Doxygen documentation support" \ 5 | "n" 6 | -------------------------------------------------------------------------------- /net/libmnl/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=libmnl 2 | VERSION=1.0.5 3 | SOURCE=$MODULE-$VERSION.tar.bz2 4 | SOURCE_URL=http://netfilter.org/projects/libmnl/files 5 | SOURCE_VFY=sha256:274b9b919ef3152bfb3da3a13c950dd60d6e2bcd54230ffeca298d03b40d0525 6 | WEB_SITE=http://netfilter.org/projects/libmnl/ 7 | ENTERED=20150725 8 | UPDATED=20220607 9 | SHORT="Minimalistic netlink library" 10 | 11 | cat << EOF 12 | libmnl is a minimalistic user-space library oriented to Netlink 13 | developers. There are a lot of common tasks in parsing, validating, 14 | constructing of both the Netlink header and TLVs that are repetitive 15 | and easy to get wrong. This library aims to provide simple helpers 16 | that allows you to re-use code and to avoid re-inventing the wheel. 17 | EOF 18 | -------------------------------------------------------------------------------- /net/libnftnl/DEPENDS: -------------------------------------------------------------------------------- 1 | depends libmnl 2 | -------------------------------------------------------------------------------- /net/libnftnl/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=libnftnl 2 | VERSION=1.2.9 3 | SOURCE=$MODULE-$VERSION.tar.xz 4 | SOURCE_URL=https://netfilter.org/projects/$MODULE/files/ 5 | SOURCE_VFY=sha256:e8c216255e129f26270639fee7775265665a31b11aa920253c3e5d5d62dfc4b8 6 | WEB_SITE=https://netfilter.org/projects/libnftnl/ 7 | ENTERED=20160321 8 | UPDATED=20250414 9 | SHORT="Netfilter library interface to the nf_tables subsystem" 10 | 11 | cat << EOF 12 | libnftnl is a userspace library providing a low-level netlink API to the 13 | in-kernel nf_tables subsystem. The library libnftnl has been previously 14 | known as libnftables. 15 | EOF 16 | -------------------------------------------------------------------------------- /net/libpcap/BUILD: -------------------------------------------------------------------------------- 1 | CFLAGS="$CFLAGS -I$SOURCE_DIRECTORY/include $(pkg-config libnl-genl-3.0 --cflags)" 2 | 3 | OPTS+=" --with-libnl" 4 | 5 | default_build && 6 | 7 | # backwards compatibility, programs often look for net/bpf.h 8 | mkdir -p /usr/include/net && 9 | 10 | cd /usr/include/net && 11 | ln -sf ../pcap-bpf.h bpf.h 12 | -------------------------------------------------------------------------------- /net/libpcap/CONFIGURE: -------------------------------------------------------------------------------- 1 | mquery IPV6 "Enable IPv6 support?" y "--enable-ipv6" "--disable-ipv6" 2 | -------------------------------------------------------------------------------- /net/libpcap/DEPENDS: -------------------------------------------------------------------------------- 1 | depends flex 2 | depends libnl3 3 | 4 | optional_depends libusb \ 5 | "--enable-usb" \ 6 | "--disable-usb" \ 7 | "enable usb support" 8 | 9 | optional_depends bluez-5 \ 10 | "--enable-bluetooth" \ 11 | "--disable-bluetooth" \ 12 | "enable bluetooth support" 13 | -------------------------------------------------------------------------------- /net/libpcap/PRE_BUILD: -------------------------------------------------------------------------------- 1 | default_pre_build && 2 | 3 | sedit "s/all: libpcap.a shared pcap-config/all: shared pcap-config/g" Makefile.in && 4 | sedit "s/install: install-shared install-archive pcap-config/install: install-shared pcap-config/g" Makefile.in && 5 | 6 | patch_it $SOURCE2 1 7 | -------------------------------------------------------------------------------- /net/traceroute/BUILD: -------------------------------------------------------------------------------- 1 | sedit "s:/usr/local:/usr:" Make.rules && 2 | 3 | default_build 4 | -------------------------------------------------------------------------------- /net/traceroute/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=traceroute 2 | VERSION=2.1.6 3 | SOURCE=$MODULE-$VERSION.tar.gz 4 | SOURCE_URL=$SFORGE_URL/$MODULE 5 | SOURCE_VFY=sha256:9ccef9cdb9d7a98ff7fbf93f79ebd0e48881664b525c4b232a0fcec7dcb9db5e 6 | WEB_SITE=ftp://ftp.ee.lbl.gov 7 | ENTERED=20010922 8 | UPDATED=20241127 9 | SHORT="Traces the route Internet packets travel" 10 | 11 | cat << EOF 12 | Traceroute is a system administrator's utility to trace the route ip 13 | packets, from the current system, take in getting to the destination 14 | system. 15 | EOF 16 | -------------------------------------------------------------------------------- /perl/Devel-CheckLib/DEPENDS: -------------------------------------------------------------------------------- 1 | depends perl 2 | depends IO-Capture 3 | -------------------------------------------------------------------------------- /perl/Devel-CheckLib/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=Devel-CheckLib 2 | VERSION=1.16 3 | SOURCE=$MODULE-$VERSION.tar.gz 4 | SOURCE_URL=https://cpan.metacpan.org/authors/id/M/MA/MATTN/ 5 | SOURCE_VFY=sha256:869d38c258e646dcef676609f0dd7ca90f085f56cf6fd7001b019a5d5b831fca 6 | WEB_SITE=https://metacpan.org/release/Devel-CheckLib 7 | TYPE=perl 8 | ENTERED=20181019 9 | UPDATED=20220916 10 | SHORT="check that a library is available" 11 | 12 | cat << EOF 13 | Check that a library is available. 14 | EOF 15 | -------------------------------------------------------------------------------- /perl/IO-Capture/DEPENDS: -------------------------------------------------------------------------------- 1 | depends perl 2 | -------------------------------------------------------------------------------- /perl/IO-Capture/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=IO-Capture 2 | VERSION=0.05 3 | SOURCE=$MODULE-$VERSION.tar.gz 4 | SOURCE_URL=http://search.cpan.org/CPAN/authors/id/R/RE/REYNOLDS/ 5 | SOURCE_VFY=sha1:8b1562675adfe70a789a3c14e7e14d7885ba8b85 6 | WEB_SITE=http://search.cpan.org/~reynolds/IO-Capture-0.05/ 7 | TYPE=perl 8 | ENTERED=20070607 9 | UPDATED=20070607 10 | SHORT="Abstract Base Class to build modules to capture output" 11 | cat << EOF 12 | Abstract Base Class to build modules to capture output 13 | EOF 14 | -------------------------------------------------------------------------------- /perl/TimeDate/DEPENDS: -------------------------------------------------------------------------------- 1 | depends perl 2 | -------------------------------------------------------------------------------- /perl/URI/DEPENDS: -------------------------------------------------------------------------------- 1 | depends perl 2 | -------------------------------------------------------------------------------- /perl/URI/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=URI 2 | VERSION=5.29 3 | SOURCE=$MODULE-$VERSION.tar.gz 4 | SOURCE_URL=https://cpan.metacpan.org/authors/id/O/OA/OALDERS/ 5 | SOURCE_VFY=sha256:a34b9f626c3ff1e20c0d4a23ec5c8b7ae1de1fb674ecefed7e46791388137372 6 | WEB_SITE=https://search.cpan.org/dist/URI/ 7 | TYPE=perl 8 | ENTERED=20020727 9 | UPDATED=20241026 10 | SHORT="A perl module for using Uniform Resource Identifiers" 11 | 12 | cat << EOF 13 | URI: 14 | A perl module which implements the URI class. Objects of this class represent 15 | "Uniform Resource Identifier references" as specified in RFC 2396 (and updated 16 | by RFC 2732). 17 | EOF 18 | -------------------------------------------------------------------------------- /perl/XML-Parser/BUILD: -------------------------------------------------------------------------------- 1 | export PERL_MM_USE_DEFAULT=1 2 | 3 | perl Makefile.PL && 4 | 5 | default_make 6 | -------------------------------------------------------------------------------- /perl/XML-Parser/DEPENDS: -------------------------------------------------------------------------------- 1 | depends perl 2 | depends Devel-CheckLib 3 | depends expat 4 | -------------------------------------------------------------------------------- /perl/XML-Parser/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=XML-Parser 2 | VERSION=2.47 3 | SOURCE=$MODULE-$VERSION.tar.gz 4 | SOURCE_URL=https://cpan.metacpan.org/authors/id/T/TO/TODDR/ 5 | SOURCE_VFY=sha256:ad4aae643ec784f489b956abe952432871a622d4e2b5c619e8855accbfc4d1d8 6 | WEB_SITE=https://metacpan.org/pod/XML::Parser 7 | ENTERED=20030529 8 | UPDATED=20240206 9 | SHORT="PERL module for parsing XML documents" 10 | cat << EOF 11 | PERL modules for parsing XML documents 12 | EOF 13 | -------------------------------------------------------------------------------- /perl/XML-Parser/PRE_BUILD: -------------------------------------------------------------------------------- 1 | default_pre_build && 2 | 3 | # The bundled CheckLib.pm will break detection of expat 4 | rm inc/Devel/CheckLib.pm || exit 5 | -------------------------------------------------------------------------------- /perl/perl/BUILD: -------------------------------------------------------------------------------- 1 | OPTS+=" -Dprefix=/usr \ 2 | -Dscriptdir=/usr/bin \ 3 | -Duseshrplib=true \ 4 | -Dman1dir=/usr/share/man/man1 \ 5 | -Dman3dir=/usr/share/man/man3 -d -e" 6 | 7 | if [ "$CUSTOM" == "y" ] ; then 8 | ./Configure $OPTS 9 | else 10 | ./Configure -Dccdlflags='-rdynamic' \ 11 | -Doptimize="${CFLAGS}" \ 12 | -Duselargefiles \ 13 | -Dusethreads \ 14 | -Ud_csh \ 15 | -Dcf_by='Lunar' \ 16 | $OPTS 17 | fi && 18 | 19 | make && 20 | 21 | export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$SOURCE_DIRECTORY" && 22 | ldconfig && 23 | 24 | prepare_install && 25 | make install && 26 | 27 | strip --strip-unneeded $(which perl) 28 | -------------------------------------------------------------------------------- /perl/perl/CONFIGURE: -------------------------------------------------------------------------------- 1 | mquery CUSTOM "Custom Configuration Perl?" n 2 | 3 | unset_module_config UPGRADE_PERL_MODULES 4 | unset_module_config OLD_PERL_VERSION 5 | 6 | if module_installed perl && [ "$(installed_version perl)" != "$VERSION" ]; then 7 | set_module_config UPGRADE_PERL_MODULES yes 8 | set_module_config OLD_PERL_VERSION $(installed_version perl) 9 | fi 10 | -------------------------------------------------------------------------------- /perl/perl/DEPENDS: -------------------------------------------------------------------------------- 1 | depends which 2 | 3 | optional_depends gdbm "" "" "for gdbm support" 4 | optional_depends db "" "" "for Berkely Database support" "n" 5 | -------------------------------------------------------------------------------- /perl/perl/PRE_BUILD: -------------------------------------------------------------------------------- 1 | if module_installed perl; then 2 | lrm --upgrade perl 3 | fi && 4 | 5 | default_pre_build && 6 | 7 | # DO NOT TOUCH THESE SEDITS UNLESS YOU KNOW WHAT YOU'RE DOING! 8 | 9 | # Rename COMPILE to something else in these files since COMPILE gets set by lunar. 10 | # Perl uses COMPILE when compling win32 test programs. 11 | sedit 's/COMPILE/PERL_DID_AN_OOPS/' Makefile.SH installperl 12 | -------------------------------------------------------------------------------- /python/python-jinja2/DEPENDS: -------------------------------------------------------------------------------- 1 | depends python-markupsafe 2 | -------------------------------------------------------------------------------- /python/python-markupsafe/DEPENDS: -------------------------------------------------------------------------------- 1 | depends python-setuptools 2 | -------------------------------------------------------------------------------- /python/python-pyelftools/DEPENDS: -------------------------------------------------------------------------------- 1 | depends python 2 | -------------------------------------------------------------------------------- /python/python-pyelftools/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=python-pyelftools 2 | VERSION=0.31 3 | SOURCE=pyelftools-$VERSION.tar.gz 4 | SOURCE_DIRECTORY=$BUILD_DIRECTORY/pyelftools-$VERSION 5 | SOURCE_URL=https://pypi.python.org/packages/source/p/pyelftools/ 6 | SOURCE_VFY=sha256:c774416b10310156879443b81187d182d8d9ee499660380e645918b50bc88f99 7 | WEB_SITE=https://pypi.org/project/pyelftools/ 8 | TYPE=python3 9 | ENTERED=20231126 10 | UPDATED=20240822 11 | SHORT="Library and utilities to parse ELF and DWARF files" 12 | 13 | cat << EOF 14 | pyelftools is a pure-Python library for parsing and analyzing ELF files 15 | and DWARF debugging information. 16 | EOF 17 | -------------------------------------------------------------------------------- /python/python-setuptools/DEPENDS: -------------------------------------------------------------------------------- 1 | depends python 2 | -------------------------------------------------------------------------------- /python/python-six/DEPENDS: -------------------------------------------------------------------------------- 1 | depends python-setuptools 2 | -------------------------------------------------------------------------------- /python/python/CONFIGURE: -------------------------------------------------------------------------------- 1 | mquery PYOPTIMIZE "Enable expensive optimizations (PGO, maybe LTO, etc)?" n "--enable-optimizations --with-lto" "" 2 | -------------------------------------------------------------------------------- /python/python/DEPENDS: -------------------------------------------------------------------------------- 1 | depends bzip2 2 | depends %OSSL 3 | depends libffi 4 | depends expat 5 | depends pkgconf 6 | depends zlib 7 | 8 | optional_depends db "" "" "for db support" 9 | optional_depends gdbm "" "" "for gdbm support" 10 | optional_depends sqlite "" "" "for sqlite support" 11 | optional_depends mpdecimal "--with-system-mpdec" "" "use system mpdecimal instead of mpdecimal bundled with python" 12 | -------------------------------------------------------------------------------- /python/python/POST_INSTALL: -------------------------------------------------------------------------------- 1 | # Reinstall site-packages 2 | message "${MESSAGE_COLOR}Any Python module previously installed may now be broken due to the way Python" 3 | message "handles modules. They may need to be recompiled in order to work, especially" 4 | message "on a major version change like 3.0 to 3.1 Minor version numbers," 5 | message "like 3.3.0, to 3.3.1 are usually safe without recompiling.${DEFAULT_COLOR}" 6 | 7 | if query "Do you want lunar to attempt to upgrade your Python modules?" ${ASK_FOR_REBUILDS:-n}; then 8 | PYTHONMODS="$( lvu from /usr/lib/python3*/site-packages | cut -d: -f1 | uniq | grep -v '^[pP]ython')" 9 | for PYTHONMOD in $(sort_by_dependency $PYTHONMODS); do 10 | lin -c $PYTHONMOD || true 11 | done 12 | fi 13 | -------------------------------------------------------------------------------- /python/python/PRE_BUILD: -------------------------------------------------------------------------------- 1 | default_pre_build && 2 | 3 | sedit 's/-j0 //' Makefile.pre.in && 4 | 5 | sedit 's|{INSTALL} -m 555|{INSTALL} -m 755|' Makefile.pre.in && 6 | 7 | sed -i -e "s|^#.* /usr/local/bin/python|#!/usr/bin/python|" Lib/cgi.py && 8 | sed -i -e "s/OPENSSL_VERSION_NUMBER < 0x30300000L/!defined(LIBRESSL_VERSION_NUMBER) \&\& &/" Modules/_ssl.c && 9 | 10 | # Ensure that we link against system libraries 11 | rm -rf Modules/{expat,zlib} && 12 | rm -rf Modules/_ctypes/{darwin,libffi}* 13 | -------------------------------------------------------------------------------- /security/Linux-PAM/CONFIGURE: -------------------------------------------------------------------------------- 1 | unset_module_config RElin_PAM_AWARE 2 | if ! module_installed $MODULE; then 3 | message "${MESSAGE_COLOR}If Linux-PAM is being installed for" \ 4 | "the first time then all installed or held pam aware" \ 5 | "MODULEs should be re-lin for them to use Linux-PAM" \ 6 | "to authenticate.${DEFAULT_COLOR}" 7 | mquery RElin_PAM_AWARE "Re-lin all Linux-PAM aware MODULEs?" ${ASK_FOR_REBUILDS:-y} 8 | fi 9 | -------------------------------------------------------------------------------- /security/Linux-PAM/DEPENDS: -------------------------------------------------------------------------------- 1 | depends pkgconf 2 | depends automake 3 | depends cracklib 4 | depends libtool 5 | depends bison 6 | depends flex 7 | depends libxcrypt 8 | 9 | optional_depends "gettext" "" "" "for i18n internationalization support" 10 | -------------------------------------------------------------------------------- /security/Linux-PAM/POST_INSTALL: -------------------------------------------------------------------------------- 1 | if [ "$RElin_PAM_AWARE" == "y" ]; then 2 | find_pam_aware | while read mod; do 3 | lin -c $mod 4 | done 5 | fi 6 | -------------------------------------------------------------------------------- /security/Linux-PAM/POST_REMOVE: -------------------------------------------------------------------------------- 1 | if [ "$UPGRADE" != "on" ] ; then 2 | message "${MESSAGE_COLOR}If Linux-PAM is being permanently removed" \ 3 | "then all pam aware modules must be re-linned for" \ 4 | "authentication to continue working.${DEFAULT_COLOR}" 5 | if query "Re-lin all Linux-PAM aware modules?" ${ASK_FOR_REBUILDS:-y} ; then 6 | find_pam_aware | while read mod; do 7 | lin -c $mod 8 | done 9 | fi 10 | fi 11 | -------------------------------------------------------------------------------- /security/Linux-PAM/PRE_BUILD: -------------------------------------------------------------------------------- 1 | 2 | validate_source_dir $SOURCE_DIRECTORY && 3 | mk_source_dir $SOURCE_DIRECTORY && 4 | unpack $SOURCE && 5 | 6 | cd $SOURCE_DIRECTORY && 7 | unpack $SOURCE2 && 8 | 9 | # Unpack redhat specific modules 10 | tar -xf ${MODULE}-patches-${PVERSION}/pam-redhat-${RHVERSION}.tar.xz \ 11 | --strip-components=1 -C modules && 12 | 13 | # Apply our patches 14 | for i in redhat lunar 15 | do 16 | cat ${MODULE}-patches-${PVERSION}/list.${i}-patches | while read fname 17 | do 18 | patch_it ${MODULE}-patches-${PVERSION}/${i}-patches/${fname} 1 || exit 1 19 | done 20 | done 21 | -------------------------------------------------------------------------------- /security/Linux-PAM/pam.d/other: -------------------------------------------------------------------------------- 1 | #%PAM-1.0 2 | auth required pam_deny.so 3 | account required pam_deny.so 4 | password required pam_deny.so 5 | session required pam_deny.so 6 | -------------------------------------------------------------------------------- /security/Linux-PAM/pam.d/system-auth: -------------------------------------------------------------------------------- 1 | #%PAM-1.0 2 | auth required pam_env.so 3 | auth sufficient pam_unix.so try_first_pass nullok 4 | auth required pam_deny.so 5 | 6 | account required pam_unix.so 7 | 8 | # TODO: add pam_pwquality 9 | password required pam_unix.so yescrypt nullok shadow 10 | password optional pam_permit.so 11 | #password required pam_deny.so 12 | 13 | session optional pam_keyinit.so revoke 14 | session required pam_limits.so 15 | -session optional pam_systemd.so 16 | session [success=1 default=ignore] pam_succeed_if.so service in crond quiet use_uid 17 | session required pam_unix.so 18 | -------------------------------------------------------------------------------- /security/cracklib/BUILD: -------------------------------------------------------------------------------- 1 | OPTS+=" --exec-prefix=/usr --without-python" 2 | 3 | default_build && 4 | 5 | mkdir -p /usr/share/dict && 6 | ln -sf /usr/share/cracklib/cracklib-small /usr/share/dict/cracklib-small && 7 | sh ./util/cracklib-format dicts/cracklib-small | sh ./util/cracklib-packer /usr/share/cracklib/pw_dict 8 | -------------------------------------------------------------------------------- /security/cracklib/DEPENDS: -------------------------------------------------------------------------------- 1 | depends zlib 2 | -------------------------------------------------------------------------------- /security/iptables/DEPENDS: -------------------------------------------------------------------------------- 1 | depends libnftnl 2 | depends pkgconf 3 | -------------------------------------------------------------------------------- /security/iptables/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=iptables 2 | VERSION=1.8.11 3 | SOURCE=$MODULE-$VERSION.tar.xz 4 | SOURCE_URL=https://www.netfilter.org/projects/iptables/files/ 5 | SOURCE_VFY=sha256:d87303d55ef8c92bcad4dd3f978b26d272013642b029425775f5bad1009fe7b2 6 | WEB_SITE=http://www.netfilter.org 7 | ENTERED=20010922 8 | UPDATED=20250320 9 | SHORT="Tool to create netfilter rules" 10 | PSAFE=no 11 | 12 | cat << EOF 13 | iptables is built on top of netfilter: the new packet alteration framework 14 | for Linux. 15 | It is an enhancement on ipchains, and is used to control packet filtering, 16 | Network Address Translation (masquerading, portforwarding, transparent 17 | proxying), and special effects. 18 | EOF 19 | -------------------------------------------------------------------------------- /security/iptables/files/iptables-empty: -------------------------------------------------------------------------------- 1 | # Generated by iptables-save v1.4.10 on Thu Aug 4 13:14:07 2011 2 | *nat 3 | :PREROUTING ACCEPT [62421:10188892] 4 | :INPUT ACCEPT [62199:10166936] 5 | :OUTPUT ACCEPT [20422:1295697] 6 | :POSTROUTING ACCEPT [20422:1295697] 7 | COMMIT 8 | # Completed on Thu Aug 4 13:14:07 2011 9 | # Generated by iptables-save v1.4.10 on Thu Aug 4 13:14:07 2011 10 | *filter 11 | :INPUT ACCEPT [5763104:5100721247] 12 | :FORWARD ACCEPT [0:0] 13 | :OUTPUT ACCEPT [3667989:588315306] 14 | COMMIT 15 | # Completed on Thu Aug 4 13:14:07 2011 16 | -------------------------------------------------------------------------------- /security/iptables/files/iptsave: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | ### 4 | # the purpose of this wrapper is, that I have no 5 | # idea how to do things like bla < foo or foo > bla 6 | # in systemd. iptables-save needs this behaviour 7 | # thus this script is just a wrapper. Feel free 8 | # to provide a proper solution :) 9 | # 10 | ### 11 | 12 | IPTSAVEFILE="/etc/config.d/iptables"; 13 | IPTSAVEBIN=$(which iptables-save); 14 | 15 | # only run this if iptables-save is executable 16 | if [ -x "$IPTSAVEBIN" ]; then 17 | # remove saved rules if already available 18 | if [ -f "$IPTSAVEFILE" ]; then 19 | rm -f "$IPTSAVEFILE"; 20 | fi 21 | 22 | # save the iptables rules 23 | $IPTSAVEBIN > $IPTSAVEFILE; 24 | fi 25 | -------------------------------------------------------------------------------- /security/iptables/systemd.d/iptables.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Packet Filtering Framework 3 | ConditionPathExists=/etc/config.d/iptables 4 | 5 | [Service] 6 | Type=oneshot 7 | ExecStart=/usr/sbin/iptables-restore /etc/config.d/iptables 8 | ExecStop=/usr/sbin/iptsave 9 | ExecStopPost=/usr/sbin/iptables-restore /etc/config.d/iptables-empty 10 | RemainAfterExit=yes 11 | 12 | [Install] 13 | WantedBy=multi-user.target 14 | -------------------------------------------------------------------------------- /security/shadow/DEPENDS: -------------------------------------------------------------------------------- 1 | depends libbsd 2 | 3 | optional_depends acl "--with-acl" "--without-acl" "for ACL support" 4 | optional_depends Linux-PAM "--with-libpam" "--without-libpam" "for PAM support" 5 | -------------------------------------------------------------------------------- /security/shadow/PRE_BUILD: -------------------------------------------------------------------------------- 1 | default_pre_build && 2 | 3 | sedit '/^sysconf_DATA/s;login.defs;;;/^SUBDIRS/s;pam.d;;' etc/Makefile.in 4 | 5 | -------------------------------------------------------------------------------- /security/shadow/deluser: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | if [ "$UID" == 0 ]; then 4 | 5 | if [ "$1"="-r" ]; then 6 | OPTS="-r" 7 | shift 8 | fi 9 | 10 | if [ -z "$1" ]; then 11 | read -p "Username: " DEADDUCK 12 | else 13 | DEADDUCK=$1 14 | fi 15 | 16 | /usr/bin/userdel $OPTS $DEADDUCK 17 | 18 | else 19 | 20 | su - -c "PATH=$PATH $0 $1" 21 | 22 | fi 23 | -------------------------------------------------------------------------------- /security/shadow/pam.d/chage: -------------------------------------------------------------------------------- 1 | #%PAM-1.0 2 | auth sufficient pam_rootok.so 3 | account required pam_permit.so 4 | password include system-auth 5 | -------------------------------------------------------------------------------- /security/shadow/pam.d/chgpasswd: -------------------------------------------------------------------------------- 1 | #%PAM-1.0 2 | auth sufficient pam_rootok.so 3 | account required pam_permit.so 4 | password include system-auth 5 | -------------------------------------------------------------------------------- /security/shadow/pam.d/chpasswd: -------------------------------------------------------------------------------- 1 | #%PAM-1.0 2 | auth sufficient pam_rootok.so 3 | account required pam_permit.so 4 | password include system-auth 5 | -------------------------------------------------------------------------------- /security/shadow/pam.d/groupadd: -------------------------------------------------------------------------------- 1 | #%PAM-1.0 2 | auth sufficient pam_rootok.so 3 | account required pam_permit.so 4 | password include system-auth 5 | -------------------------------------------------------------------------------- /security/shadow/pam.d/groupdel: -------------------------------------------------------------------------------- 1 | #%PAM-1.0 2 | auth sufficient pam_rootok.so 3 | account required pam_permit.so 4 | password include system-auth 5 | -------------------------------------------------------------------------------- /security/shadow/pam.d/groupmems: -------------------------------------------------------------------------------- 1 | #%PAM-1.0 2 | auth sufficient pam_rootok.so 3 | account required pam_permit.so 4 | password include system-auth 5 | -------------------------------------------------------------------------------- /security/shadow/pam.d/groupmod: -------------------------------------------------------------------------------- 1 | #%PAM-1.0 2 | auth sufficient pam_rootok.so 3 | account required pam_permit.so 4 | password include system-auth 5 | -------------------------------------------------------------------------------- /security/shadow/pam.d/newusers: -------------------------------------------------------------------------------- 1 | #%PAM-1.0 2 | auth sufficient pam_rootok.so 3 | account required pam_permit.so 4 | password include system-auth 5 | -------------------------------------------------------------------------------- /security/shadow/pam.d/passwd: -------------------------------------------------------------------------------- 1 | #%PAM-1.0 2 | auth include system-auth 3 | account include system-auth 4 | password include system-auth 5 | -------------------------------------------------------------------------------- /security/shadow/pam.d/useradd: -------------------------------------------------------------------------------- 1 | #%PAM-1.0 2 | auth sufficient pam_rootok.so 3 | account required pam_permit.so 4 | password include system-auth 5 | -------------------------------------------------------------------------------- /security/shadow/pam.d/userdel: -------------------------------------------------------------------------------- 1 | #%PAM-1.0 2 | auth sufficient pam_rootok.so 3 | account required pam_permit.so 4 | password include system-auth 5 | -------------------------------------------------------------------------------- /security/shadow/pam.d/usermod: -------------------------------------------------------------------------------- 1 | #%PAM-1.0 2 | auth sufficient pam_rootok.so 3 | account required pam_permit.so 4 | password include system-auth 5 | -------------------------------------------------------------------------------- /security/shadow/securetty: -------------------------------------------------------------------------------- 1 | console 2 | vc/1 3 | vc/2 4 | vc/3 5 | vc/4 6 | vc/5 7 | vc/6 8 | vc/7 9 | vc/8 10 | vc/9 11 | vc/10 12 | vc/11 13 | tty1 14 | tty2 15 | tty3 16 | tty4 17 | tty5 18 | tty6 19 | tty7 20 | tty8 21 | tty9 22 | tty10 23 | tty11 24 | tty12 25 | -------------------------------------------------------------------------------- /security/shadow/tmpfiles.d/lastlog.conf: -------------------------------------------------------------------------------- 1 | f /var/log/lastlog 0644 root root 2 | -------------------------------------------------------------------------------- /shells/bash/DEPENDS: -------------------------------------------------------------------------------- 1 | depends bison 2 | depends ncurses 3 | -------------------------------------------------------------------------------- /shells/bash/POST_REMOVE: -------------------------------------------------------------------------------- 1 | install-info --delete bash --info-dir /usr/info 2 | -------------------------------------------------------------------------------- /shells/bash/bash_logout: -------------------------------------------------------------------------------- 1 | clear 2 | -------------------------------------------------------------------------------- /shells/bash/bashrc: -------------------------------------------------------------------------------- 1 | # /etc/bashrc - global bashrc for non-interactive shells. 2 | 3 | # the scripts that call this script expect a nicely setup environment 4 | # for running scripts, not fancy prompts. So let's be restrictive 5 | # by default: 6 | 7 | # this is the minimum and given by init to start scripts (so a good start) 8 | PATH=/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin 9 | 10 | # these might not be present, so keep our path clean: 11 | for DIR in /usr/local/bin /usr/X11/bin ; do 12 | [ -d $DIR ] && PATH="$PATH:$DIR" 13 | done 14 | 15 | # bare necessities: 16 | export PATH LANG= 17 | umask 022 18 | -------------------------------------------------------------------------------- /shells/bash/profile: -------------------------------------------------------------------------------- 1 | # global bash profile. This file is processed for all interactive shells 2 | 3 | # this is the minimum and given by init to start scripts (so a good start) 4 | PATH=/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin 5 | 6 | # these might not be present, so keep our path clean: 7 | for DIR in \ 8 | /usr/local/bin /usr/X11/bin ${HOME}/bin \ 9 | /usr/local/games /usr/games \ 10 | ; do 11 | [ -d $DIR ] && PATH="$PATH:$DIR" 12 | done 13 | 14 | # this is a global default file, the users get their own version from 15 | # /etc/skel so we do not set superfluous prompts etc in here! 16 | 17 | # Now we're done with pre-finish settings we can close off: 18 | [ -f /etc/LOCALE ] && . /etc/LOCALE 19 | 20 | # bare necessities: 21 | export PATH 22 | umask 022 23 | -------------------------------------------------------------------------------- /shells/bash/profile.d/bash-aliases-base.rc: -------------------------------------------------------------------------------- 1 | # provides useful aliases 2 | 3 | # cd aliases 4 | alias 'cd..'='cd ..' 5 | alias '..'='cd ..' 6 | alias '...'='cd ../..' 7 | alias '~'='cd' 8 | 9 | # ls aliases 10 | alias ls='ls --color=auto $LS_OPTIONS' 11 | alias ll='ls -lh' 12 | alias la='ll -a' 13 | alias lt='ls -t' 14 | alias lr='ll -R --group-directories-first' 15 | 16 | # grep aliases 17 | alias grep='grep --color=auto' 18 | -------------------------------------------------------------------------------- /shells/bash/profile.d/bash-prompt.rc: -------------------------------------------------------------------------------- 1 | # this makes your prompt nice if it is supported: 2 | if [ $UID -ge 100 ]; then 3 | prompt_colour="\[\033[0;36m\]" 4 | elif [ $UID == 0 ]; then 5 | prompt_colour="\[\033[0;32m\]" 6 | else 7 | prompt_colour="\[\033[0;35m\]" 8 | fi 9 | 10 | no_colour="\[\033[0m\]" 11 | 12 | # only set titlebar in a capable terminal: 13 | case $TERM in 14 | rxvt*|xterm*|gnome*|konsole*) 15 | long_title='\u@\h \w' 16 | short_title='\W' 17 | titlebar="\[\033]0;$short_title\007\033]2;$long_title\007\]" 18 | ;; 19 | *) 20 | titlebar="" 21 | ;; 22 | esac 23 | 24 | # here we set our prompt: 25 | export PS1="${titlebar}$prompt_colour\u@\h \w \\$ $no_colour" 26 | export PS2='> ' 27 | 28 | eval `dircolors` 29 | -------------------------------------------------------------------------------- /shells/bash/skel/.bash_logout: -------------------------------------------------------------------------------- 1 | clear 2 | -------------------------------------------------------------------------------- /shells/bash/skel/.bashrc: -------------------------------------------------------------------------------- 1 | # .bashrc is for non-interactive scripts, so you can personalize 2 | # their behaviour on a user basis. 3 | 4 | # read the system wide defaults: 5 | [ -f /etc/bashrc ] && . /etc/bashrc 6 | -------------------------------------------------------------------------------- /shells/bash_static/BUILD: -------------------------------------------------------------------------------- 1 | bad_flags -malign-double "-s " 2 | 3 | OPTS+=" --bindir=/usr/bin \ 4 | --with-curses \ 5 | --disable-readline \ 6 | --disable-profiling \ 7 | --enable-static-link \ 8 | --without-bash-mallocx" 9 | 10 | GLIBC_MINOR_VERSION=$(lvu installed glibc | cut -f2 -d.) 11 | 12 | if (( GLIBC_MINOR_VERSION >= 41 )) 13 | then 14 | sedit '/CAN_REDEFINE_GETENV/s,^,// ,' config.h.in 15 | fi 16 | 17 | default_config && 18 | make version.h && 19 | make && 20 | prepare_install && 21 | 22 | cp -f bash /usr/bin/bash_static 23 | -------------------------------------------------------------------------------- /shells/bash_static/CONFIGURE: -------------------------------------------------------------------------------- 1 | mquery ROOTSHELL "Set bash_static to default shell of root?" n 2 | -------------------------------------------------------------------------------- /shells/bash_static/DEPENDS: -------------------------------------------------------------------------------- 1 | depends bison 2 | depends ncurses 3 | -------------------------------------------------------------------------------- /shells/bash_static/POST_INSTALL: -------------------------------------------------------------------------------- 1 | cat << END 2 | 3 | The static build of bash is installed and located at 4 | /bin/bash_static. 5 | 6 | This is NOT an ordinary shell. It is installed for 7 | rescue purposes. 8 | 9 | END 10 | 11 | if [ "$ROOTSHELL" == "y" ]; then 12 | chsh -s /bin/bash_static root 13 | fi 14 | -------------------------------------------------------------------------------- /shells/bash_static/POST_REMOVE: -------------------------------------------------------------------------------- 1 | # set root shell to normal bash again 2 | if [ `getent passwd root | cut -d: -f7` == "/bin/bash_static" ]; then 3 | chsh -s /bin/bash root 4 | fi 5 | -------------------------------------------------------------------------------- /system/dbus/30-dbus: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # launches a session dbus instance 4 | 5 | dbuslaunch="`which dbus-launch 2>/dev/null`" 6 | if [ -n "$dbuslaunch" ] && [ -x "$dbuslaunch" ] && [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then 7 | eval `$dbuslaunch --sh-syntax --exit-with-session` 8 | fi 9 | -------------------------------------------------------------------------------- /system/dbus/DEPENDS: -------------------------------------------------------------------------------- 1 | depends autoconf-archive 2 | depends expat 3 | depends pkgconf 4 | depends python 5 | 6 | optional_depends libxslt "" "" "for XSL support" n 7 | 8 | optional_depends doxygen \ 9 | "--enable-doxygen-docs" \ 10 | "--disable-doxygen-docs" \ 11 | "for Doxygen documentation support" n 12 | 13 | optional_depends xmlto \ 14 | "--enable-xml-docs" \ 15 | "--disable-xml-docs" \ 16 | "for XML documentation support" n 17 | -------------------------------------------------------------------------------- /system/dbus/POST_INSTALL: -------------------------------------------------------------------------------- 1 | dbus-uuidgen --ensure=/etc/machine-id 2 | -------------------------------------------------------------------------------- /system/dbus/PRE_BUILD: -------------------------------------------------------------------------------- 1 | default_pre_build && 2 | 3 | NOCONFIGURE=1 ./autogen.sh && 4 | 5 | # Reduce docs size 6 | printf '%s\n' >>Doxyfile.in HAVE_DOT=yes DOT_IMAGE_FORMAT=svg INTERACTIVE_SVG=yes 7 | -------------------------------------------------------------------------------- /system/dbus/patch.d/no-fatal-warnings.patch: -------------------------------------------------------------------------------- 1 | diff --git i/dbus/dbus-internals.c w/dbus/dbus-internals.c 2 | index ab498b15..cf86f4ae 100644 3 | --- i/dbus/dbus-internals.c 4 | +++ w/dbus/dbus-internals.c 5 | @@ -193,7 +193,7 @@ static dbus_bool_t warn_initted = FALSE; 6 | * threads, the worst that will happen is that warnings get their default 7 | * fatal/non-fatal nature. */ 8 | static dbus_bool_t fatal_warnings = FALSE; 9 | -static dbus_bool_t fatal_warnings_on_check_failed = TRUE; 10 | +static dbus_bool_t fatal_warnings_on_check_failed = FALSE; 11 | 12 | static void 13 | init_warnings(void) 14 | -------------------------------------------------------------------------------- /system/efibootmgr/BUILD: -------------------------------------------------------------------------------- 1 | make EXTRA_CFLAGS="-Os" EFIDIR=/boot/EFI && 2 | prepare_install && 3 | make EFIDIR=/boot/EFI sbindir=/usr/bin install 4 | -------------------------------------------------------------------------------- /system/efibootmgr/DEPENDS: -------------------------------------------------------------------------------- 1 | depends efivar 2 | depends pciutils 3 | depends zlib 4 | -------------------------------------------------------------------------------- /system/efibootmgr/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=efibootmgr 2 | VERSION=18 3 | SOURCE=$MODULE-$VERSION.tar.gz 4 | SOURCE_URL_FULL=https://github.com/rhboot/efibootmgr/archive/$VERSION.tar.gz 5 | SOURCE_VFY=sha256:442867d12f8525034a404fc8af3036dba8e1fc970998af2486c3b940dfad0874 6 | WEB_SITE=http://github.com/rhinstaller/efibootmgr/ 7 | ENTERED=20160723 8 | UPDATED=20220808 9 | SHORT="Tool to modify UEFI Firmware Boot Manager Variables" 10 | 11 | cat << EOF 12 | Efibootmgr is a Linux user-space application to modify the Intel Extensible 13 | Firmware Interface (EFI) Boot Manager. This application can create and destroy 14 | boot entries, change the boot order, change the next running boot option, and 15 | more. 16 | EOF 17 | -------------------------------------------------------------------------------- /system/efibootmgr/PRE_BUILD: -------------------------------------------------------------------------------- 1 | default_pre_build && 2 | 3 | # Warnings are not fatal 4 | sedit 's/-Werror //' Make.defaults 5 | -------------------------------------------------------------------------------- /system/efivar/BUILD: -------------------------------------------------------------------------------- 1 | make ERRORS='' all && 2 | prepare_install && 3 | make libdir=/usr/lib/ \ 4 | bindir=/usr/bin/ \ 5 | mandir=/usr/share/man/ \ 6 | includedir=/usr/include/ install -j1 V=1 7 | -------------------------------------------------------------------------------- /system/efivar/DEPENDS: -------------------------------------------------------------------------------- 1 | depends popt 2 | depends mandoc 3 | -------------------------------------------------------------------------------- /system/efivar/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=efivar 2 | VERSION=39 3 | SOURCE=$MODULE-$VERSION.tar.gz 4 | SOURCE_URL_FULL=https://github.com/rhboot/efivar/archive/refs/tags/$VERSION.tar.gz 5 | SOURCE_VFY=sha256:c9edd15f2eeeea63232f3e669a48e992c7be9aff57ee22672ac31f5eca1609a6 6 | WEB_SITE=https://github.com/rhboot/efivar/ 7 | ENTERED=20160717 8 | UPDATED=20250120 9 | SHORT="Tools and library to manipulate EFI variables" 10 | 11 | cat << EOF 12 | Tools and library to manipulate EFI variables. 13 | EOF 14 | -------------------------------------------------------------------------------- /system/efivar/PRE_BUILD: -------------------------------------------------------------------------------- 1 | default_pre_build && 2 | 3 | sedit 's|-rpath,$(TOPDIR)/src|-rpath,$(libdir)|g' src/test/Makefile 4 | -------------------------------------------------------------------------------- /system/grub/CONFIGURE: -------------------------------------------------------------------------------- 1 | mquery WITH_SPLASH "Enable unoffical support for bootmenu splash images?" n 2 | -------------------------------------------------------------------------------- /system/grub/DEPENDS: -------------------------------------------------------------------------------- 1 | depends ncurses 2 | -------------------------------------------------------------------------------- /system/grub/menu.lst: -------------------------------------------------------------------------------- 1 | default 0 2 | timeout 30 3 | color white/blue white/black 4 | title=Lunar kernel 2.4.24 5 | root (hd0,0) 6 | kernel /vmlinubz-2.4.24 root=/dev/hda3 devfs=nomount 7 | -------------------------------------------------------------------------------- /system/grub2/CONFLICTS: -------------------------------------------------------------------------------- 1 | conflicts grub 2 | -------------------------------------------------------------------------------- /system/grub2/DEPENDS: -------------------------------------------------------------------------------- 1 | depends ncurses 2 | depends gettext 3 | depends bison 4 | depends xz 5 | 6 | optional_depends os-prober "" "" "for OS auto-detection on other partitions" y 7 | optional_depends lvm2 "--enable-device-mapper" "--disable-device-mapper" "enable Linux device-mapper support" y 8 | optional_depends fuse "--enable-grub-mount" "--disable-grub-mount" "build and install the grub-mount utility" 9 | optional_depends freetype2 "--enable-grub-mkfont" "--disable-grub-mkfont" "for grub mkfont support" 10 | optional_depends efibootmgr "" "" "for grub-install EFI support" y 11 | -------------------------------------------------------------------------------- /system/grub2/PRE_BUILD: -------------------------------------------------------------------------------- 1 | default_pre_build && 2 | 3 | # Fix OS naming 4 | sedit 's|GNU/Linux|Linux|' util/grub.d/10_linux.in && 5 | 6 | # Remove not working langs which need LC_ALL=C.UTF-8 7 | sedit 's#en@cyrillic en@greek##g' po/LINGUAS && 8 | 9 | # Enable grub to detect other OSes installed 10 | sedit 's:xtrue":xfalse":' util/grub.d/30_os-prober.in && 11 | 12 | ./autogen.sh 13 | -------------------------------------------------------------------------------- /system/lilo/BUILD: -------------------------------------------------------------------------------- 1 | # gcc 10 fix -fcommon 2 | export CPPFLAGS+=" -fcommon" 3 | sedit 's;strip lilo.static;& || true;' src/Makefile && 4 | # We don't need to install everything so we call the targets we require 5 | make test && 6 | make -C src all && 7 | 8 | prepare_install && 9 | 10 | for i in src scripts man dos; do 11 | make -C $i install 12 | done && 13 | 14 | gather_docs CHANGELOG COPYING NEWS README TODO 15 | -------------------------------------------------------------------------------- /system/lilo/CONFIGURE: -------------------------------------------------------------------------------- 1 | mquery RUN_LILO "Run LILO automatically upon LILO upgrades?" y 2 | -------------------------------------------------------------------------------- /system/lilo/DEPENDS: -------------------------------------------------------------------------------- 1 | depends bin86 2 | depends coreutils 3 | -------------------------------------------------------------------------------- /system/lilo/POST_INSTALL: -------------------------------------------------------------------------------- 1 | case $RUN_LILO in 2 | y|Y) /sbin/lilo ;; 3 | esac 4 | true 5 | -------------------------------------------------------------------------------- /system/lilo/PRE_BUILD: -------------------------------------------------------------------------------- 1 | default_pre_build && 2 | 3 | KERNEL_MAJOR=$(grep UTS_RELEASE /usr/include/linux/version.h | cut -d'"' -f2 | cut -d. -f1,2) 4 | if [ "$KERNEL_MAJOR" == "2.6" ]; then 5 | if [ ! -f /usr/include/libdevmapper.h ]; then 6 | message "${PROBLEM_COLOR}Module lvm2 is not installed and is required to build lilo against Linux headers!${DEFAULT_COLOR}" && 7 | exit 1 8 | fi 9 | fi 10 | -------------------------------------------------------------------------------- /system/lunar/POST_INSTALL: -------------------------------------------------------------------------------- 1 | remove_module theedge 2 | lunar set LUNAR_MODULE $MODULE 3 | -------------------------------------------------------------------------------- /system/os-prober/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=os-prober 2 | VERSION=1.83 3 | SOURCE=${MODULE}_$VERSION.tar.xz 4 | SOURCE_URL=http://ftp.de.debian.org/debian/pool/main/o/$MODULE/ 5 | SOURCE_VFY=sha256:8c82d5084c2b6f8935f6633612f18d16d04a0deffd6b99c264985fb7204140a6 6 | WEB_SITE=http://kitenet.net/~joey/code/os-prober/ 7 | ENTERED=20110601 8 | UPDATED=20250227 9 | SHORT="An utility to detect other OSes on a set of drives" 10 | 11 | cat << EOF 12 | This package detects other OSes available on a system and outputs 13 | the results in a generic machine-readable format. 14 | EOF 15 | -------------------------------------------------------------------------------- /system/os-prober/PRE_BUILD: -------------------------------------------------------------------------------- 1 | # they didn't add the version to the folder, let's do this here 2 | mk_source_dir && 3 | cd $SOURCE_DIRECTORY && 4 | tar -x --strip-components=1 -f $SOURCE_CACHE/$SOURCE 5 | -------------------------------------------------------------------------------- /system/syslinux/BUILD: -------------------------------------------------------------------------------- 1 | 2 | make installer && 3 | prepare_install && 4 | make install 5 | -------------------------------------------------------------------------------- /system/syslinux/DEPENDS: -------------------------------------------------------------------------------- 1 | depends perl 2 | depends nasm 3 | -------------------------------------------------------------------------------- /system/syslinux/patch.d/001-fix-^build-with-glibc-2.28.patch: -------------------------------------------------------------------------------- 1 | diff --git a/extlinux/main.c b/extlinux/main.c 2 | index a7ebd49..ebff7ea 100644 3 | --- a/extlinux/main.c 4 | +++ b/extlinux/main.c 5 | @@ -38,6 +38,7 @@ 6 | #include 7 | #include 8 | #include 9 | +#include 10 | #include 11 | #include 12 | #include 13 | -- 14 | 2.10.5.GIT 15 | -------------------------------------------------------------------------------- /system/syslinux/patch.d/syslinux-debug-printf-gcc-14-fix.patch: -------------------------------------------------------------------------------- 1 | diff -C 3 -r syslinux-6.03/com32/lib/syslinux/debug.c syslinux-6.03.patched/com32/lib/syslinux/debug.c 2 | *** syslinux-6.03/com32/lib/syslinux/debug.c 2014-10-07 01:27:44.000000000 +0900 3 | --- syslinux-6.03.patched/com32/lib/syslinux/debug.c 2024-08-12 07:18:49.379513849 +0900 4 | *************** 5 | *** 1,6 **** 6 | --- 1,7 ---- 7 | #include 8 | #include 9 | #include 10 | + #include 11 | 12 | #ifdef DYNAMIC_DEBUG 13 | 14 | 15 | -------------------------------------------------------------------------------- /system/systemd-sysv/BUILD: -------------------------------------------------------------------------------- 1 | prepare_install && 2 | 3 | mkdir -p /usr/share/doc/systemd-sysv && 4 | touch /usr/share/doc/systemd-sysv/systemd-sysv && 5 | 6 | # installwatch is broken: it makes us account for the link TARGET and not just the link, so, for now: 7 | devoke_installwatch && 8 | mkdir -p /sbin && 9 | 10 | ln -sf /usr/lib/systemd/systemd /sbin/init && 11 | ln -sf /usr/bin/systemctl /sbin/halt && 12 | ln -sf /usr/bin/systemctl /sbin/poweroff && 13 | ln -sf /usr/bin/systemctl /sbin/reboot && 14 | ln -sf /usr/bin/systemctl /sbin/runlevel && 15 | ln -sf /usr/bin/systemctl /sbin/shutdown && 16 | ln -sf /usr/bin/systemctl /sbin/telinit 17 | -------------------------------------------------------------------------------- /system/systemd-sysv/CONFLICTS: -------------------------------------------------------------------------------- 1 | conflicts sysvinit 2 | -------------------------------------------------------------------------------- /system/systemd-sysv/DEPENDS: -------------------------------------------------------------------------------- 1 | depends systemd 2 | depends procps 3 | -------------------------------------------------------------------------------- /system/systemd-sysv/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=systemd-sysv 2 | VERSION=1 3 | WEB_SITE=http://www.freedesktop.org/wiki/Software/systemd 4 | ENTERED=20110612 5 | UPDATED=20110512 6 | SHORT="sysvinit replacement links for systemd" 7 | 8 | cat << EOF 9 | This package obsoletes sysvinit and will remove /sbin/init and related 10 | files. They are replaced with symlinks to systemctl/systemd, which 11 | function in the same way. 12 | EOF 13 | -------------------------------------------------------------------------------- /system/systemd-sysv/POST_REMOVE: -------------------------------------------------------------------------------- 1 | 2 | 3 | for i in init halt poweroff reboot runlevel shutdown telinit; do 4 | if [ -L "/sbin/$i" ] && [ "$(readlink /sbin/$i)" == "/usr/bin/systemctl" ]; then 5 | rm -f "/sbin/$i" 6 | fi 7 | done 8 | -------------------------------------------------------------------------------- /system/systemd-sysv/PRE_BUILD: -------------------------------------------------------------------------------- 1 | : 2 | -------------------------------------------------------------------------------- /system/systemd/files/hostname: -------------------------------------------------------------------------------- 1 | lunar 2 | -------------------------------------------------------------------------------- /system/systemd/files/locale.conf: -------------------------------------------------------------------------------- 1 | LANG=en_US.utf8 2 | LC_COLLATE=C 3 | -------------------------------------------------------------------------------- /system/systemd/files/vconsole.conf: -------------------------------------------------------------------------------- 1 | KEYMAP=us 2 | FONT=lat9w-16 3 | FONT_MAP=8859-1_to_uni 4 | -------------------------------------------------------------------------------- /utils/bash-completion/BUILD: -------------------------------------------------------------------------------- 1 | default_build && 2 | 3 | mv /etc/profile.d/bash_completion{.sh,.rc} 4 | -------------------------------------------------------------------------------- /utils/bash-completion/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=bash-completion 2 | VERSION=2.16.0 3 | SOURCE=$MODULE-$VERSION.tar.xz 4 | SOURCE_URL=http://github.com/scop/bash-completion/releases/download/$VERSION/ 5 | SOURCE_VFY=sha256:3369bd5e418a75fb990863925aed5b420398acebb320ec4c0306b3eae23f107a 6 | WEB_SITE=http://github.com/scop/bash-completion/ 7 | ENTERED=20120406 8 | UPDATED=20241226 9 | SHORT="Completion for the bash shell" 10 | 11 | cat << EOF 12 | Completion for the bash shell. 13 | EOF 14 | -------------------------------------------------------------------------------- /utils/bc/DEPENDS: -------------------------------------------------------------------------------- 1 | depends ed 2 | 3 | optional_depends readline "--with-readline" "" "for fancy command input editing" 4 | -------------------------------------------------------------------------------- /utils/bc/POST_REMOVE: -------------------------------------------------------------------------------- 1 | install-info --delete bc --info-dir /usr/info 2 | install-info --delete dc --info-dir /usr/info 3 | -------------------------------------------------------------------------------- /utils/ccache/BUILD: -------------------------------------------------------------------------------- 1 | export OPTS=" -DREDIS_STORAGE_BACKEND=OFF" 2 | 3 | default_cmake_build 4 | -------------------------------------------------------------------------------- /utils/ccache/DEPENDS: -------------------------------------------------------------------------------- 1 | depends zstd 2 | depends perl 3 | depends cmake 4 | -------------------------------------------------------------------------------- /utils/ccache/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=ccache 2 | VERSION=4.11.3 3 | SOURCE=$MODULE-$VERSION.tar.xz 4 | SOURCE_URL=https://github.com/ccache/ccache/releases/download/v$VERSION/ 5 | SOURCE_VFY=sha256:d5a340e199977b7b1e89c0add794132c977fdc2ecc7ca5451e03d43627a1b1be 6 | WEB_SITE=https://ccache.dev/ 7 | ENTERED=20020701 8 | UPDATED=20250504 9 | SHORT="A compiler cache" 10 | 11 | cat << EOF 12 | ccache is a compiler cache. It acts as a caching pre-processor to C/C++ 13 | compilers, using the -E compiler switch and a hash to detect when a 14 | compilation can be satisfied from cache. 15 | This often results in a 5 to 10 times speedup in common compilations. 16 | EOF 17 | -------------------------------------------------------------------------------- /utils/ccache/profile.d/ccache.rc: -------------------------------------------------------------------------------- 1 | # store the SA's ccache in a global location instead of /root/ 2 | if [ "$UID" == "0" ]; then 3 | export CCACHE_NOLINK=no 4 | export CCACHE_DIR=/var/cache/ccache 5 | fi 6 | -------------------------------------------------------------------------------- /utils/coreutils/BUILD: -------------------------------------------------------------------------------- 1 | export FORCE_UNSAFE_CONFIGURE=1 && 2 | 3 | bad_flags -malign-double && 4 | 5 | # We really want this 6 | OPTS+=" --enable-largefile" && 7 | 8 | if [ "$WITH_NLS" == "y" ]; then 9 | OPTS+=" --enable-nls" 10 | else 11 | OPTS+=" --disable-nls" 12 | fi && 13 | 14 | # This option resolves conflicts with shadow/heimdal, net-tools and procps 15 | OPTS+=" --enable-no-install-program=hostname,su,kill,uptime" && 16 | OPTS+=" --enable-install-program=arch" && 17 | 18 | DEFAULT_POSIX2_VERSION=199209 && 19 | 20 | default_build && 21 | 22 | # for systems without /bin -> /usr/bin symlink 23 | if [ "`cd /usr/bin; pwd -P`" != "`cd /bin; pwd -P`" ]; then 24 | ln -sf /usr/bin/pwd /bin/pwd && 25 | ln -sf /usr/bin/ln /bin/ln 26 | fi 27 | -------------------------------------------------------------------------------- /utils/coreutils/CONFIGURE: -------------------------------------------------------------------------------- 1 | mquery WITH_NLS "Do you want native language support?" y 2 | -------------------------------------------------------------------------------- /utils/coreutils/DEPENDS: -------------------------------------------------------------------------------- 1 | depends attr 2 | depends gmp 3 | depends libcap 4 | 5 | optional_depends acl \ 6 | "--enable-acl" \ 7 | "--disable-acl" \ 8 | "for access control list (acl) support" 9 | -------------------------------------------------------------------------------- /utils/coreutils/POST_REMOVE: -------------------------------------------------------------------------------- 1 | install-info --delete coreutils --info-dir /usr/share/info 2 | -------------------------------------------------------------------------------- /utils/dialog/BUILD: -------------------------------------------------------------------------------- 1 | OPTS+=" --with-ncurses \ 2 | --with-shared \ 3 | --enable-nls" 4 | 5 | default_build 6 | -------------------------------------------------------------------------------- /utils/dialog/DEPENDS: -------------------------------------------------------------------------------- 1 | depends ncurses 2 | -------------------------------------------------------------------------------- /utils/dmidecode/BUILD: -------------------------------------------------------------------------------- 1 | default_make 2 | -------------------------------------------------------------------------------- /utils/dmidecode/PRE_BUILD: -------------------------------------------------------------------------------- 1 | default_pre_build && 2 | 3 | # make 3.82 fix 4 | sedit '/PROGRAMS !=/d' Makefile && 5 | sedit 's:/sbin:/bin:g' Makefile && 6 | sedit 's:/usr/local:/usr:g' Makefile 7 | -------------------------------------------------------------------------------- /utils/file/BUILD: -------------------------------------------------------------------------------- 1 | # Fix linking libmagic (vfork needs libpthread) 2 | CFLAGS+=" -pthread" 3 | 4 | # seccomp breaks file -z foo.xz 5 | # does a whole pipe-fork-exec dance with /bin/xz, so difficult to fix 6 | 7 | OPTS+=" --datadir=/usr/share/file \ 8 | --enable-fsect-man5 \ 9 | --disable-static \ 10 | --disable-libseccomp" 11 | 12 | default_build 13 | -------------------------------------------------------------------------------- /utils/file/DEPENDS: -------------------------------------------------------------------------------- 1 | depends zlib 2 | -------------------------------------------------------------------------------- /utils/file/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=file 2 | VERSION=5.46 3 | SOURCE=$MODULE-$VERSION.tar.gz 4 | SOURCE_URL[0]=http://ftp.astron.com/pub/$MODULE 5 | SOURCE_URL[1]=ftp://ftp.astron.com/pub/$MODULE 6 | SOURCE_URL[2]=https://fossies.org/linux/misc/ 7 | SOURCE_VFY=sha256:c9cc77c7c560c543135edc555af609d5619dbef011997e988ce40a3d75d86088 8 | WEB_SITE=http://www.darwinsys.com/file/ 9 | ENTERED=20010922 10 | UPDATED=20250325 11 | SHORT="File attempts to classify files by their content" 12 | 13 | cat << EOF 14 | File attempts to classify files depending on their contents and prints a 15 | description if a match is found. 16 | EOF 17 | -------------------------------------------------------------------------------- /utils/findutils/BUILD: -------------------------------------------------------------------------------- 1 | default_build && 2 | 3 | mkdir -p /var/cache/locate && 4 | if [ -f /var/cache/locatedb ]; then 5 | mv /var/cache/locatedb /var/cache/locate 6 | fi 7 | -------------------------------------------------------------------------------- /utils/findutils/POST_REMOVE: -------------------------------------------------------------------------------- 1 | install-info --delete find --info-dir /usr/info 2 | -------------------------------------------------------------------------------- /utils/findutils/PRE_BUILD: -------------------------------------------------------------------------------- 1 | default_pre_build && 2 | 3 | sedit 's:(localstatedir)/locatedb:(localstatedir)/cache/locate/locatedb:g' locate/Makefile.in 4 | -------------------------------------------------------------------------------- /utils/findutils/cron.daily/updatedb: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | LOCKFILE=/var/lock/makeupdatedb.lock 4 | [ -f $LOCKFILE ] && exit 0 5 | 6 | # source settings for updatedb (e.g. prunefs and prunepaths) 7 | if [[ -f /etc/sysconfig/updatedb.conf ]] ; then 8 | . /etc/sysconfig/updatedb.conf 9 | fi 10 | 11 | trap "{ rm -f $LOCKFILE; exit 255; }" EXIT 12 | touch $LOCKFILE 13 | updatedb 14 | exit 0 15 | -------------------------------------------------------------------------------- /utils/findutils/profile.d/findutils.rc: -------------------------------------------------------------------------------- 1 | 2 | # locate customized databases: 3 | if [ -f ${HOME}/.locatedb ]; then 4 | export LOCATE_PATH=/var/cache/locate/locatedb:${HOME}/.locatedb 5 | fi 6 | -------------------------------------------------------------------------------- /utils/grep/BUILD: -------------------------------------------------------------------------------- 1 | if [ "$USE_PERL" == "y" ]; then 2 | OPTS=$OPTS" --enable-perl-regexp" 3 | else 4 | OPTS=$OPTS" --disable-perl-regexp" 5 | fi && 6 | 7 | if [ "$USE_LARGEFILE" == "y" ]; then 8 | OPTS=$OPTS" --enable-largefile" 9 | else 10 | OPTS=$OPTS" --disable-largefile" 11 | fi && 12 | 13 | if [ "$USE_NLS" == "y" ]; then 14 | OPTS=$OPTS" --enable-nls" 15 | else 16 | OPTS=$OPTS" --disable-nls" 17 | fi && 18 | 19 | sedit "s/SYMLINK=\"ln -s\"/SYMLINK=\"ln -sf\"/" configure && 20 | default_build 21 | -------------------------------------------------------------------------------- /utils/grep/CONFIGURE: -------------------------------------------------------------------------------- 1 | mquery USE_PERL "Do you want to allow Perl RegExps in your grep?" y 2 | mquery USE_LARGEFILE "Do you want to enable large file support?" y 3 | mquery USE_NLS "Do you want to use NLS?" y 4 | -------------------------------------------------------------------------------- /utils/grep/DEPENDS: -------------------------------------------------------------------------------- 1 | depends pcre2 2 | -------------------------------------------------------------------------------- /utils/grep/POST_REMOVE: -------------------------------------------------------------------------------- 1 | install-info --delete grep --info-dir /usr/info 2 | -------------------------------------------------------------------------------- /utils/hdparm/BUILD: -------------------------------------------------------------------------------- 1 | make && 2 | 3 | prepare_install && 4 | 5 | make destdir=/usr \ 6 | sbindir=/usr/bin \ 7 | mandir=/usr/share/man \ 8 | install && 9 | 10 | install -D -m 0755 wiper/wiper.sh /usr/bin/wiper.sh && 11 | install -D -m 0644 wiper/README.txt /usr/share/doc/wiper/README.txt 12 | -------------------------------------------------------------------------------- /utils/hdparm/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=hdparm 2 | VERSION=9.65 3 | SOURCE=$MODULE-$VERSION.tar.gz 4 | SOURCE_URL=$SFORGE_URL/$MODULE 5 | SOURCE_VFY=sha256:d14929f910d060932e717e9382425d47c2e7144235a53713d55a94f7de535a4b 6 | WEB_SITE=http://www.ibiblio.org/pub/Linux/system/hardware 7 | ENTERED=20010922 8 | UPDATED=20220916 9 | SHORT="A utility to access/tune Linux's EIDE drivers" 10 | 11 | cat << EOF 12 | hdparm is a shell utility to access/tune ioctl features of the Linux hard 13 | disk and (E)IDE drivers for the Linux kernel. Its primary use is for enabling 14 | irq-unmasking and IDE multiplemode. 15 | EOF 16 | -------------------------------------------------------------------------------- /utils/hdparm/POST_INSTALL: -------------------------------------------------------------------------------- 1 | if module_installed openrc; then 2 | lin -c openrc-hdparm 3 | fi 4 | -------------------------------------------------------------------------------- /utils/hdparm/POST_REMOVE: -------------------------------------------------------------------------------- 1 | if module_installed openrc-hdparm; then 2 | lrm openrc-hdparm 3 | fi 4 | -------------------------------------------------------------------------------- /utils/hdparm/PRE_BUILD: -------------------------------------------------------------------------------- 1 | default_pre_build && 2 | 3 | sedit 's/^ *CFLAGS *:= *\(.*\) *-O2 *\(.*\)/CFLAGS := \1 \2/' Makefile 4 | -------------------------------------------------------------------------------- /utils/installwatch/BUILD: -------------------------------------------------------------------------------- 1 | OPTS+=" --disable-access-syscall --disable-acl-syscall" 2 | default_config && 3 | make && 4 | make check && 5 | prepare_install && 6 | make install 7 | -------------------------------------------------------------------------------- /utils/installwatch/PRE_BUILD: -------------------------------------------------------------------------------- 1 | if [ -u /usr/bin/make ] || 2 | [ -g /usr/bin/make ]; then 3 | message "A non setuid/gid /usr/bin/make is required." 4 | lin -c make 5 | fi && 6 | 7 | 8 | if ! ldd /usr/bin/tar > /dev/null; then 9 | message "A dynamically linked /usr/bin/tar is required." 10 | lin -c tar 11 | fi && 12 | 13 | 14 | if ! ldd /usr/bin/bzip2 > /dev/null; then 15 | message "A dynamically linked /usr/bin/bzip2 is required." 16 | lin -c bzip2 17 | fi && 18 | 19 | default_pre_build 20 | -------------------------------------------------------------------------------- /utils/kbd/BUILD: -------------------------------------------------------------------------------- 1 | OPTS+=" --datadir=/usr/share/kbd --mandir=/usr/share/man" 2 | 3 | # rename keymap files with the same names 4 | # this is needed because when only name of keymap is specified 5 | # loadkeys loads the first keymap it can find, which is bad 6 | # this should be removed when upstream adopts the change 7 | mv data/keymaps/i386/qwertz/cz{,-qwertz}.map && 8 | mv data/keymaps/i386/olpc/es{,-olpc}.map && 9 | mv data/keymaps/i386/olpc/pt{,-olpc}.map && 10 | mv data/keymaps/i386/fgGIod/trf{,-fgGIod}.map && 11 | 12 | default_config && 13 | make KEYCODES_PROGS=yes RESIZECONS_PROGS=yes && 14 | 15 | prepare_install && 16 | make KEYCODES_PROGS=yes RESIZECONS_PROGS=yes install 17 | -------------------------------------------------------------------------------- /utils/kbd/CONFLICTS: -------------------------------------------------------------------------------- 1 | conflicts console-tools 2 | conflicts console-data 3 | -------------------------------------------------------------------------------- /utils/kbd/DEPENDS: -------------------------------------------------------------------------------- 1 | depends Linux-PAM 2 | depends check 3 | -------------------------------------------------------------------------------- /utils/kbd/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=kbd 2 | VERSION=2.7.1 3 | SOURCE=$MODULE-$VERSION.tar.xz 4 | SOURCE_URL=https://www.kernel.org/pub/linux/utils/$MODULE/ 5 | SOURCE_VFY=sha256:f167d899d92b56ccf12f6f49355173f93870a95f15d8aeebf5fdcd28a621aca8 6 | WEB_SITE=https://kbd-project.org 7 | ENTERED=20040217 8 | UPDATED=20241217 9 | SHORT="kbd allows you to configure and manipulate Linux consoles" 10 | 11 | cat << EOF 12 | The kbd package allows you to set-up and manipulate the Linux console 13 | (ie. text screen and keyboard), and manipulate console-font files. 14 | This package contains keytable files and keyboard utilities. 15 | EOF 16 | -------------------------------------------------------------------------------- /utils/kbd/pam.d/vlock: -------------------------------------------------------------------------------- 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 | -------------------------------------------------------------------------------- /utils/kbd/patch.d/fix-euro2.patch: -------------------------------------------------------------------------------- 1 | --- kbd-1.15.5/data/keymaps/i386/include/euro2.map.old 2013-05-08 15:00:25.917752313 +0200 2 | +++ kbd-1.15.5/data/keymaps/i386/include/euro2.map 2013-05-08 15:00:54.943957367 +0200 3 | @@ -2,5 +2,5 @@ 4 | # [Say: "loadkeys euro2" to get Euro and cent with AltGr (right alt) 5 | # on the positions where many keyboards have E and C. 6 | # To get it displayed, use a latin0 (i.e., latin9) font.] 7 | -altgr keycode 18 = currency 8 | +altgr keycode 18 = euro 9 | altgr keycode 46 = cent 10 | -------------------------------------------------------------------------------- /utils/less/BUILD: -------------------------------------------------------------------------------- 1 | sh configure --prefix=/usr --sysconfdir=/etc $OPTS 2 | 3 | default_make && 4 | 5 | install -m755 -g0 -o0 $SCRIPT_DIRECTORY/lesspipe.sh /usr/bin/ 6 | -------------------------------------------------------------------------------- /utils/less/CONFIGURE: -------------------------------------------------------------------------------- 1 | mquery USE_LARGEFILE "Do you want to enable large file support?" y --enable-largefile --disable-largefile 2 | -------------------------------------------------------------------------------- /utils/less/DEPENDS: -------------------------------------------------------------------------------- 1 | depends ncurses 2 | 3 | optional_depends pcre2 "--with-regex=pcre2" "" "for pcre2 support" 4 | -------------------------------------------------------------------------------- /utils/less/profile.d/less.rc: -------------------------------------------------------------------------------- 1 | # these gadgets make less work nicer: 2 | export LESS="-M -i -r" 3 | export LESSOPEN="|lesspipe.sh %s" 4 | -------------------------------------------------------------------------------- /utils/lsof/BUILD: -------------------------------------------------------------------------------- 1 | yes | ./Configure -n linux && 2 | 3 | make && 4 | 5 | prepare_install && 6 | 7 | install -Dm0755 lsof /usr/bin/ && 8 | install -Dm0644 Lsof.8 /usr/share/man/man8/lsof.8 9 | -------------------------------------------------------------------------------- /utils/lsof/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=lsof 2 | VERSION=4.99.4 3 | SOURCE=$MODULE-$VERSION.tar.gz 4 | SOURCE_URL_FULL=https://github.com/lsof-org/lsof/archive/$VERSION.tar.gz 5 | SOURCE_VFY=sha256:90d02ae35cd14341bfb04ce80e0030767476b0fc414a0acb115d49e79b13d56c 6 | WEB_SITE=https://lsof.readthedocs.io/en/latest/ 7 | ENTERED=20011005 8 | UPDATED=20241227 9 | SHORT="Lists open files for running processes" 10 | 11 | cat << EOF 12 | Lsof is a Unix-specific diagnostic tool. Its name stands for LiSt Open Files, 13 | and it does just that. It lists information about any files that are open by 14 | processes currently running on the system. It can also list communications 15 | open by each process. 16 | EOF 17 | -------------------------------------------------------------------------------- /utils/lsof/PRE_BUILD: -------------------------------------------------------------------------------- 1 | default_pre_build && 2 | 3 | sedit 's|/\* #define\tHASSECURITY\t1 \*/|#define\tHASSECURITY\t1|' lib/dialects/linux/machine.h && 4 | sedit "s|\.so \./version|.ds VN $VERSION|" Lsof.8 && 5 | sedit "s|\(Revision-\).*|\1$VERSION|" Lsof.8 6 | -------------------------------------------------------------------------------- /utils/lunar-tools/DEPENDS: -------------------------------------------------------------------------------- 1 | depends iproute2 2 | -------------------------------------------------------------------------------- /utils/lunar-tools/profile.d/clad.rc: -------------------------------------------------------------------------------- 1 | 2 | # Turn on extended globbing 3 | shopt -s extglob 4 | 5 | _clad () 6 | { 7 | local cur prev 8 | COMPREPLY=() 9 | cur=${COMP_WORDS[COMP_CWORD]} 10 | prev=${COMP_WORDS[COMP_CWORD-1]} 11 | 12 | if [ $COMP_CWORD -eq 1 ] || [ "${prev:0:1}" = "-" ]; then 13 | COMPREPLY=( $( compgen -W 'create destroy add remove test run bgrun list login logout' $cur )) 14 | elif [ $COMP_CWORD -eq 2 ]; then 15 | COMPREPLY=( $( compgen -W "`ls /var/lib/clad`" )) 16 | else 17 | COMPREPLY=( $( compgen -W "`cat /var/lib/clad/$prev`" )) 18 | fi 19 | return 0 20 | } 21 | complete -F _clad clad 22 | -------------------------------------------------------------------------------- /utils/pciutils/BUILD: -------------------------------------------------------------------------------- 1 | default_make && 2 | 3 | mkdir -p /usr/include/pci/ && 4 | install lib/{pci,header,types,config}.h /usr/include/pci/ && 5 | ln -sf /usr/lib/libpci.so.$(module_version pciutils) /usr/lib/libpci.so && 6 | bunzip2 $SOURCE_CACHE/$SOURCE2 -c > pci.ids && 7 | rm -f /usr/share/pci.ids* && 8 | install -m644 pci.ids /usr/share && 9 | install -D -m644 lib/libpci.pc /usr/lib/pkgconfig/libpci.pc && 10 | 11 | # the next line makes sure you will get a fresh pci id's db 12 | # everytime you lin pciutils: 13 | rm -f $SOURCE_CACHE/$SOURCE2 14 | -------------------------------------------------------------------------------- /utils/pciutils/DEPENDS: -------------------------------------------------------------------------------- 1 | depends kmod 2 | depends zlib 3 | depends wget 4 | -------------------------------------------------------------------------------- /utils/pciutils/PRE_BUILD: -------------------------------------------------------------------------------- 1 | default_pre_build && 2 | 3 | sedit 's/PREFIX=\/usr\/local/PREFIX=\/usr/' Makefile && 4 | sedit "s:SHARED=no:SHARED=yes:" Makefile && 5 | sedit "s:/sbin:/bin:" Makefile 6 | -------------------------------------------------------------------------------- /utils/procps/BUILD: -------------------------------------------------------------------------------- 1 | ./autogen.sh && 2 | 3 | OPTS+=" --exec-prefix=/usr \ 4 | --sysconfdir=/etc \ 5 | --sbindir=/usr/bin \ 6 | --disable-static" 7 | 8 | default_build && 9 | 10 | if [ ! -e /etc/sysctl.d/sysctl.conf ]; then 11 | install -g0 -o0 -m0600 $SCRIPT_DIRECTORY/sysctl.conf /etc/sysctl.d 12 | fi && 13 | 14 | if in_depends $MODULE systemd && [ ! -e /etc/sysctl.d/99-sysctl.conf ]; then 15 | mv /etc/sysctl.d/sysctl.conf /etc/sysctl.d/99-sysctl.conf 16 | else 17 | install -g0 -o0 -m0600 $SCRIPT_DIRECTORY/sysctl.conf /etc/sysctl.d/99-sysctl.conf 18 | fi 19 | -------------------------------------------------------------------------------- /utils/procps/DEPENDS: -------------------------------------------------------------------------------- 1 | optional_depends ncurses \ 2 | "--with-ncurses" \ 3 | "--without-ncurses" \ 4 | "build ncurses based apps" 5 | 6 | optional_depends systemd \ 7 | --with-systemd \ 8 | --without-systemd \ 9 | "support systemd mechanics" 10 | -------------------------------------------------------------------------------- /utils/procps/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=procps 2 | VERSION=4.0.5 3 | SOURCE=$MODULE-v$VERSION.tar.bz2 4 | SOURCE_URL=https://gitlab.com/procps-ng/procps/-/archive/v$VERSION 5 | SOURCE_VFY=sha256:7e4b385e8f3e426089f3bb04e3bf150c710b875bd005474f034486b2379ce221 6 | SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-v$VERSION 7 | WEB_SITE=https://gitlab.com/procps-ng/procps/ 8 | ENTERED=20010922 9 | UPDATED=20241219 10 | SHORT="Utilities for monitoring your system and its processes" 11 | 12 | cat << EOF 13 | procps is a package of utilities which report on the state of the system, 14 | including the states of running processes, amount of memory available and 15 | currently-logged-in users. 16 | EOF 17 | -------------------------------------------------------------------------------- /utils/psmisc/BUILD: -------------------------------------------------------------------------------- 1 | ./autogen.sh && 2 | 3 | default_config && 4 | 5 | if [ -f /usr/bin/pstree.x11 ]; then 6 | rm -f /usr/bin/pstree.x11 7 | fi && 8 | 9 | default_make 10 | -------------------------------------------------------------------------------- /utils/psmisc/DEPENDS: -------------------------------------------------------------------------------- 1 | depends ncurses 2 | -------------------------------------------------------------------------------- /utils/quota/BUILD: -------------------------------------------------------------------------------- 1 | default_build 2 | -------------------------------------------------------------------------------- /utils/quota/DEPENDS: -------------------------------------------------------------------------------- 1 | depends dbus 2 | depends libnl3 3 | -------------------------------------------------------------------------------- /utils/quota/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=quota 2 | VERSION=4.09 3 | SOURCE=$MODULE-$VERSION.tar.gz 4 | SOURCE_URL=$SFORGE_URL/linuxquota 5 | SOURCE_VFY=sha256:9cdaca154bc92afc3117f0e5f5b3208dd5f84583af1cf061c39baa0a2bb142f9 6 | WEB_SITE=https://sourceforge.net/projects/linuxquota 7 | ENTERED=20030820 8 | UPDATED=20230731 9 | SHORT="The quota tool" 10 | 11 | cat << EOF 12 | Tools and patches for the Linux Diskquota system as part of the 13 | Linux kernel. 14 | EOF 15 | -------------------------------------------------------------------------------- /utils/timezone-data/BUILD: -------------------------------------------------------------------------------- 1 | # preserve the existing /etc/localtime symlink 2 | if [ -f /etc/localtime ]; then 3 | mv -f /etc/localtime /etc/localtime.tmp.bak 4 | fi && 5 | 6 | default_make && 7 | 8 | # This creates the posixrules file. We use New York because POSIX requires the 9 | # daylight savings time rules to be in accordance with US rules 10 | zic -b fat -d /usr/share/zoneinfo -p America/New_York && 11 | 12 | # restore the original /etc/localtime file 13 | if [ -f /etc/localtime.tmp.bak ]; then 14 | mv -f /etc/localtime.tmp.bak /etc/localtime 15 | fi 16 | -------------------------------------------------------------------------------- /utils/timezone-data/PRE_BUILD: -------------------------------------------------------------------------------- 1 | validate_source_dir $SOURCE_DIRECTORY && 2 | 3 | mk_source_dir $SOURCE_DIRECTORY && 4 | cp $SOURCE_CACHE/$SOURCE $SOURCE_DIRECTORY/ && 5 | cp $SOURCE_CACHE/$SOURCE2 $SOURCE_DIRECTORY/ && 6 | 7 | cd $SOURCE_DIRECTORY && 8 | unpack $SOURCE && 9 | unpack $SOURCE2 10 | -------------------------------------------------------------------------------- /utils/timezone-data/patch.d/makefile.patch: -------------------------------------------------------------------------------- 1 | --- ./Makefile.orig 2018-01-17 11:05:36.000000000 +0200 2 | +++ ./Makefile 2018-01-23 19:53:36.120170825 +0200 3 | @@ -578,8 +578,6 @@ 4 | cp tzselect '$(DESTDIR)$(BINDIR)/.' 5 | cp zdump '$(DESTDIR)$(ZDUMPDIR)/.' 6 | cp zic '$(DESTDIR)$(ZICDIR)/.' 7 | - cp libtz.a '$(DESTDIR)$(LIBDIR)/.' 8 | - $(RANLIB) '$(DESTDIR)$(LIBDIR)/libtz.a' 9 | cp -f newctime.3 newtzset.3 '$(DESTDIR)$(MANDIR)/man3/.' 10 | cp -f tzfile.5 '$(DESTDIR)$(MANDIR)/man5/.' 11 | cp -f tzselect.8 zdump.8 zic.8 '$(DESTDIR)$(MANDIR)/man8/.' 12 | -------------------------------------------------------------------------------- /utils/usbutils/BUILD: -------------------------------------------------------------------------------- 1 | default_meson_build && 2 | 3 | # Install a missing command 4 | install -vDm 755 $MODULE-$VERSION/usbreset /usr/bin/ && 5 | install -vDm 644 man/usbreset.1 /usr/share/man/man1/ && 6 | 7 | gunzip $SOURCE_CACHE/$SOURCE2 -c > usb.ids && 8 | { rm -f /usr/share/usb.ids* || true; } && 9 | install -vDm644 usb.ids /usr/share/ && 10 | 11 | # The next line makes sure you will get a fresh usb id's db 12 | # everytime you lin usbutils: 13 | rm -f $SOURCE_CACHE/$SOURCE2 14 | -------------------------------------------------------------------------------- /utils/usbutils/DEPENDS: -------------------------------------------------------------------------------- 1 | depends pkgconf 2 | depends systemd 3 | depends zlib 4 | depends libusb 5 | -------------------------------------------------------------------------------- /utils/usbutils/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=usbutils 2 | VERSION=018 3 | SOURCE=$MODULE-$VERSION.tar.xz 4 | SOURCE2=usb.ids.gz 5 | SOURCE_URL=$KERNEL_URL/pub/linux/utils/usb/$MODULE 6 | SOURCE2_URL=http://www.linux-usb.org 7 | SOURCE_VFY=sha256:83f68b59b58547589c00266e82671864627593ab4362d8c807f50eea923cad93 8 | WEB_SITE=http://kerneltrap.org/node/4649 9 | ENTERED=20030108 10 | UPDATED=20241227 11 | SHORT="The pciutils of usb" 12 | 13 | cat << EOF 14 | The pciutils of usb. 15 | EOF 16 | -------------------------------------------------------------------------------- /utils/util-linux/60-rfkill.rules: -------------------------------------------------------------------------------- 1 | KERNEL=="rfkill", GROUP="rfkill", MODE="0664" 2 | -------------------------------------------------------------------------------- /utils/util-linux/DEPENDS: -------------------------------------------------------------------------------- 1 | depends ncurses 2 | depends shadow 3 | depends zlib 4 | depends findutils 5 | depends cpio 6 | 7 | optional_depends python "--with-python=3" "" "for Python 3 support" y 8 | optional_depends python2 "--with-python=2" "" "for Python 2 support" n 9 | optional_depends sqlite "--enable-liblastlog2" "--disable-liblastlog2" \ 10 | "to enable liblastlog2" 11 | optional_depends Linux-PAM "" "" "for PAM support" 12 | optional_depends cryptsetup "--with-cryptsetup" "--without-cryptsetup" \ 13 | "for disk encryption support" 14 | -------------------------------------------------------------------------------- /utils/util-linux/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=util-linux 2 | VERSION=2.41 3 | SOURCE=$MODULE-$VERSION.tar.xz 4 | SOURCE_URL=$KERNEL_URL/pub/linux/utils/$MODULE/v${VERSION::4} 5 | SOURCE_VFY=sha256:81ee93b3cfdfeb7d7c4090cedeba1d7bbce9141fd0b501b686b3fe475ddca4c6 6 | WEB_SITE=https://github.com/util-linux/util-linux 7 | ENTERED=20010922 8 | UPDATED=20250318 9 | SHORT="Essential utilities for any Linux box" 10 | 11 | cat << EOF 12 | Util-linux is a suite of essential utilities for any Linux system. Its primary 13 | audience is system integrators and DIY Linux hackers. Util-linux is attempting 14 | to be portable, but the only platform it has been tested much on is Linux i386. 15 | EOF 16 | -------------------------------------------------------------------------------- /utils/util-linux/POST_INSTALL: -------------------------------------------------------------------------------- 1 | lunar fix python 2 | -------------------------------------------------------------------------------- /utils/util-linux/make-issue: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | [ ! -w /etc/ ] && exit 0 4 | 5 | for ISSUE in /etc/issue /etc/issue.net ; do 6 | if [ -f /etc/lunar.release ] ; then 7 | cat /etc/lunar.release > $ISSUE 8 | else 9 | echo "Lunar Linux" > $ISSUE 10 | fi 11 | echo "Kernel `uname -r` on an `uname -m`" >> $ISSUE 12 | echo "" >> $ISSUE 13 | done 14 | -------------------------------------------------------------------------------- /utils/util-linux/pam.d/chfn: -------------------------------------------------------------------------------- 1 | #%PAM-1.0 2 | auth sufficient pam_rootok.so 3 | auth include system-auth 4 | account required pam_permit.so 5 | password include system-auth 6 | -------------------------------------------------------------------------------- /utils/util-linux/pam.d/chsh: -------------------------------------------------------------------------------- 1 | #%PAM-1.0 2 | auth sufficient pam_rootok.so 3 | auth required pam_shells.so 4 | auth include system-auth 5 | account required pam_permit.so 6 | password include system-auth 7 | -------------------------------------------------------------------------------- /utils/util-linux/pam.d/login: -------------------------------------------------------------------------------- 1 | #%PAM-1.0 2 | auth required pam_securetty.so 3 | auth include system-auth 4 | account required pam_nologin.so 5 | account include system-auth 6 | password include system-auth 7 | session include system-auth 8 | session required pam_loginuid.so 9 | session optional pam_motd.so 10 | -------------------------------------------------------------------------------- /utils/util-linux/pam.d/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 include system-auth 8 | account sufficient pam_succeed_if.so uid = 0 use_uid quiet 9 | account include system-auth 10 | password include system-auth 11 | session optional pam_keyinit.so revoke 12 | session required pam_limits.so 13 | session required pam_unix.so 14 | session optional pam_xauth.so 15 | -------------------------------------------------------------------------------- /utils/util-linux/pam.d/su-l: -------------------------------------------------------------------------------- 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 include system-auth 8 | account sufficient pam_succeed_if.so uid = 0 use_uid quiet 9 | account include system-auth 10 | password include system-auth 11 | session optional pam_keyinit.so revoke 12 | session required pam_limits.so 13 | session required pam_unix.so 14 | session optional pam_xauth.so 15 | -------------------------------------------------------------------------------- /utils/util-linux/systemd.d/rfkill-block@.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=RFKill-Block %I 3 | After=rfkill-unblock@all.service 4 | 5 | [Service] 6 | Type=oneshot 7 | ExecStart=/usr/sbin/rfkill block %I 8 | 9 | [Install] 10 | WantedBy=multi-user.target 11 | -------------------------------------------------------------------------------- /utils/util-linux/systemd.d/rfkill-unblock@.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=RFKill-Unblock %I 3 | After=rfkill-block@all.service 4 | 5 | [Service] 6 | Type=oneshot 7 | ExecStart=/usr/sbin/rfkill unblock %I 8 | 9 | [Install] 10 | WantedBy=multi-user.target 11 | -------------------------------------------------------------------------------- /utils/which/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=which 2 | VERSION=2.23 3 | SOURCE=$MODULE-$VERSION.tar.gz 4 | SOURCE_URL[0]=http://www.xs4all.nl/~carlo17/$MODULE/ 5 | SOURCE_URL[1]=$GNU_URL/$MODULE/ 6 | SOURCE_URL[2]=ftp://ftp.gnu.org/pub/gnu/$MODULE/ 7 | SOURCE_VFY=sha256:a2c558226fc4d9e4ce331bd2fd3c3f17f955115d2c00e447618a4ef9978a2a73 8 | WEB_SITE=http://directory.fsf.org/which.html 9 | ENTERED=20011101 10 | UPDATED=20250224 11 | SHORT="Which finds the executable/alias" 12 | 13 | cat << EOF 14 | The which program searches through the $PATH & environment 15 | to find out which executable are the one casuing the problem ;^) 16 | EOF 17 | -------------------------------------------------------------------------------- /utils/which/POST_REMOVE: -------------------------------------------------------------------------------- 1 | install-info --delete which --info-dir /usr/info 2 | -------------------------------------------------------------------------------- /utils/which/profile.d/which.rc: -------------------------------------------------------------------------------- 1 | 2 | # the *proper* way to use which: 3 | which () { 4 | (alias; declare -f) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot $@ 5 | } 6 | export -f which 7 | -------------------------------------------------------------------------------- /utils/wipe/BUILD: -------------------------------------------------------------------------------- 1 | autoreconf -fi && 2 | 3 | default_build 4 | -------------------------------------------------------------------------------- /utils/wipe/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=wipe 2 | VERSION=2.3.1 3 | SOURCE=$MODULE-$VERSION.tar.bz2 4 | SOURCE_URL=$SFORGE_URL/$MODULE/ 5 | SOURCE_VFY=sha1:72aa8bcbeb54deb676ae08af78401132860703de 6 | WEB_SITE=http://wipe.sf.net/ 7 | ENTERED=20051222 8 | UPDATED=20100622 9 | SHORT="more or less securely wipe data from files or devices" 10 | cat << EOF 11 | Wipe is a secure file wiping utility. 12 | EOF 13 | -------------------------------------------------------------------------------- /wifi/iw/BUILD: -------------------------------------------------------------------------------- 1 | default_make 2 | -------------------------------------------------------------------------------- /wifi/iw/DEPENDS: -------------------------------------------------------------------------------- 1 | depends libnl3 2 | -------------------------------------------------------------------------------- /wifi/iw/DETAILS: -------------------------------------------------------------------------------- 1 | MODULE=iw 2 | VERSION=6.9 3 | SOURCE=$MODULE-$VERSION.tar.xz 4 | SOURCE_URL=$KERNEL_URL/pub/software/network/iw 5 | SOURCE_VFY=sha256:3f2db22ad41c675242b98ae3942dbf3112548c60a42ff739210f2de4e98e4894 6 | WEB_SITE=http://wireless.kernel.org/en/users/Documentation/iw 7 | ENTERED=20110121 8 | UPDATED=20241224 9 | SHORT="nl80211-based CLI configuration utility for wireless devices" 10 | 11 | cat << EOF 12 | iw is a new nl80211-based CLI configuration utility for wireless devices. It 13 | supports almost all new drivers that have been added to the kernel recently. 14 | EOF 15 | -------------------------------------------------------------------------------- /wifi/wpa_supplicant/DEPENDS: -------------------------------------------------------------------------------- 1 | depends %OSSL 2 | depends libnl3 3 | depends readline 4 | depends dbus 5 | -------------------------------------------------------------------------------- /wifi/wpa_supplicant/systemd_units: -------------------------------------------------------------------------------- 1 | wpa_supplicant.service: WPA supplicant daemon 2 | --------------------------------------------------------------------------------