diff options
| -rw-r--r-- | AUTHORS | 2 | ||||
| -rw-r--r-- | CONTRIBUTING | 2 | ||||
| -rw-r--r-- | COPYING | 2 | ||||
| -rw-r--r-- | INSTALL | 30 | ||||
| -rw-r--r-- | Makefile | 19 | ||||
| -rw-r--r-- | NEWS | 4 | ||||
| -rw-r--r-- | package/deps.mak | 122 | ||||
| -rw-r--r-- | package/info | 2 | ||||
| -rw-r--r-- | package/targets.mak | 123 | ||||
| -rwxr-xr-x | tools/gen-deps.sh | 18 | ||||
| -rwxr-xr-x | tools/gen-targets.sh | 49 |
11 files changed, 187 insertions, 186 deletions
@@ -1,5 +1,5 @@ Main author: - Paul Sopka <psopka@sopka.ch> + PS <p@0x53.net> Contributors: diff --git a/CONTRIBUTING b/CONTRIBUTING index 6279422..2e43fb3 100644 --- a/CONTRIBUTING +++ b/CONTRIBUTING @@ -1,4 +1,4 @@ - Please add a Signed-Off-By: line at the end of your commit, +Please add a Signed-Off-By: line at the end of your commit, which certifies that you have the right and authority to pass it on as an open-source patch, as explicited in the Developer's Certificate of Origin available in this project's DCO file, @@ -1,4 +1,4 @@ -Copyright (c) 2024-2025 Paul Sopka <psopka@sopka.ch> +Copyright (c) 2024-2026 PS <p@0x53.net> Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above @@ -4,48 +4,46 @@ Build Instructions * Requirements ------------ - - A POSIX-compliant set of utils - - A set of OS specific utils + - The FreeBSD userland + - execline https://skarnet.org/software/execline/ - s6 https://skarnet.org/software/s6/ - s6-rc https://skarnet.org/software/s6-rc/ - - execline https://skarnet.org/software/execline/ - This software will run on any operating system that implements -POSIX.1-2008, available at: - https://pubs.opengroup.org/onlinepubs/9699919799/ +This software will run on any operating system +that runs the requirements above. * Standard usage -------------- - ./configure && make && sudo make install + ./configure && make && make install - will work for most users. +will work for most users. * Customization ------------- - You can customize paths via flags given to configure. - See ./configure --help for a list of all available configure options. +You can customize paths via flags given to configure. +See ./configure --help for a list of all available configure options. * Make variables -------------- - You can invoke make with a few variables for more configuration. +You can invoke make with a few variables for more configuration. - INSTALL can be overridden on the make command line. This is +INSTALL can be overridden on the make command line. This is an even bigger hammer than running ./configure with environment variables, so it is advised to only do this when it is the only way of obtaining the behaviour you want. - DESTDIR can be given on the "make install" command line in order to +DESTDIR can be given on the "make install" command line in order to install to a staging directory. * The slashpackage convention --------------------------- - The slashpackage convention (http://cr.yp.to/slashpackage.html) +The slashpackage convention (http://cr.yp.to/slashpackage.html) is a package installation scheme that provides a few guarantees over other conventions such as the FHS, for instance fixed absolute pathnames. skarnet.org packages support it: use the @@ -66,7 +64,7 @@ location in the filesystem) --prefix is pretty much ignored when you use --enable-slashpackage. You should probably not use both --enable-slashpackage and --prefix. - When using slashpackage, two additional Makefile targets are +When using slashpackage, two additional Makefile targets are available after "make install": - "make update" changes the default version of the software to the freshly installed one. (This is useful when you have several installed @@ -78,6 +76,6 @@ default version of the binaries and shared libraries. * Out-of-tree builds ------------------ - This package does not support out-of-tree builds. It +This package does not support out-of-tree builds. It is small, so it does not cost much to duplicate the entire source tree if parallel builds are needed. @@ -36,11 +36,12 @@ distclean: clean tgz: distclean @. package/info && \ - rm -rf /tmp/$$package-$$version && \ - cp -a . /tmp/$$package-$$version && \ - cd /tmp && \ - tar -zpcv --owner=0 --group=0 --numeric-owner --exclude=.git* -f /tmp/$$package-$$version.tar.gz $$package-$$version && \ - exec rm -rf /tmp/$$package-$$version + rm -rf ../../stage/$$package-$$version && \ + cp -a . ../../stage/$$package-$$version && \ + cd ../../stage && \ + tar -zpcv --owner=0 --group=0 --numeric-owner --exclude=.git* -f $$package-$$version.tar.gz $$package-$$version && \ + sha256sum $$package-$$version.tar.gz > $$package-$$version.tar.gz.sha256 && \ + exec rm -rf $$package-$$version install: $(INSTALL_BINS) $(INSTALL_LIBS) $(INSTALL_EXTRAS) @@ -62,7 +63,7 @@ $(ALL_BINS) $(ALL_LIBS): -- $^ > $@ $(INSTALL_BINS) $(INSTALL_LIBS): - exec $(INSTALL) -D -m 644 $^ $@ + exec $(INSTALL) -D -m 644 $^ $(DESTDIR)/$@ grep -F -- $^ - < package/modes | { read name mode owner && \ if [ x$${mode} != x ] ; then chmod $${mode} $@ ; fi && \ if [ x$${owner} != x ] ; then chown -- $${owner} $@ ; fi ; } || exit 0 @@ -72,15 +73,11 @@ $(DESTDIR)$(exthome): exec $(INSTALL) -D -l $(package)-$(version) $@ $(SLASHCOMMAND_BINS): - exec $(INSTALL) -D -l $(exthome)/command/$$(basename $@) $@ + exec $(INSTALL) -D -l $(DESTDIR)$(exthome)/command/$$(basename $@) $@ update: $(DESTDIR)$(exthome) global-links: $(SLASHCOMMAND_BINS) -uninstall: - exec rm -f $(INSTALL_BINS) $(SLASHCOMMAND_BINS) - exec rm -Rf $(libdir) - .PHONY: \ it all clean distclean tgz update global-links \ install uninstall \ @@ -1,6 +1,6 @@ -Changelog for goetia-base. +Changelog for goetia-freebsd. -In 0.0.0.1 +In 0.3.0.0 ---------- - Initial release diff --git a/package/deps.mak b/package/deps.mak index fb9d5c3..d175e75 100644 --- a/package/deps.mak +++ b/package/deps.mak @@ -3,124 +3,124 @@ # service/system/getty-12/run: src/lib/service/system/getty-12/run -$(DESTDIR)$(libdir)/service/system/getty-12/run: service/system/getty-12/run +$(libdir)/service/system/getty-12/run: service/system/getty-12/run source/system/other/syslog-priv-srv/run: src/lib/source/system/other/syslog-priv-srv/run -$(DESTDIR)$(libdir)/source/system/other/syslog-priv-srv/run: source/system/other/syslog-priv-srv/run +$(libdir)/source/system/other/syslog-priv-srv/run: source/system/other/syslog-priv-srv/run source/system/other/syslog-priv-srv/type: src/lib/source/system/other/syslog-priv-srv/type -$(DESTDIR)$(libdir)/source/system/other/syslog-priv-srv/type: source/system/other/syslog-priv-srv/type +$(libdir)/source/system/other/syslog-priv-srv/type: source/system/other/syslog-priv-srv/type source/system/other/syslog-priv-srv/notification-fd: src/lib/source/system/other/syslog-priv-srv/notification-fd -$(DESTDIR)$(libdir)/source/system/other/syslog-priv-srv/notification-fd: source/system/other/syslog-priv-srv/notification-fd +$(libdir)/source/system/other/syslog-priv-srv/notification-fd: source/system/other/syslog-priv-srv/notification-fd source/system/other/syslog-priv-srv/dependencies.d/mount: src/lib/source/system/other/syslog-priv-srv/dependencies.d/mount -$(DESTDIR)$(libdir)/source/system/other/syslog-priv-srv/dependencies.d/mount: source/system/other/syslog-priv-srv/dependencies.d/mount +$(libdir)/source/system/other/syslog-priv-srv/dependencies.d/mount: source/system/other/syslog-priv-srv/dependencies.d/mount source/system/other/syslog-priv-srv/producer-for: src/lib/source/system/other/syslog-priv-srv/producer-for -$(DESTDIR)$(libdir)/source/system/other/syslog-priv-srv/producer-for: source/system/other/syslog-priv-srv/producer-for +$(libdir)/source/system/other/syslog-priv-srv/producer-for: source/system/other/syslog-priv-srv/producer-for source/system/other/random-seed-load/up: src/lib/source/system/other/random-seed-load/up -$(DESTDIR)$(libdir)/source/system/other/random-seed-load/up: source/system/other/random-seed-load/up +$(libdir)/source/system/other/random-seed-load/up: source/system/other/random-seed-load/up source/system/other/random-seed-load/type: src/lib/source/system/other/random-seed-load/type -$(DESTDIR)$(libdir)/source/system/other/random-seed-load/type: source/system/other/random-seed-load/type +$(libdir)/source/system/other/random-seed-load/type: source/system/other/random-seed-load/type source/system/other/random-seed-load/dependencies.d/mount-dev: src/lib/source/system/other/random-seed-load/dependencies.d/mount-dev -$(DESTDIR)$(libdir)/source/system/other/random-seed-load/dependencies.d/mount-dev: source/system/other/random-seed-load/dependencies.d/mount-dev +$(libdir)/source/system/other/random-seed-load/dependencies.d/mount-dev: source/system/other/random-seed-load/dependencies.d/mount-dev source/system/other/swap-fstab/up: src/lib/source/system/other/swap-fstab/up -$(DESTDIR)$(libdir)/source/system/other/swap-fstab/up: source/system/other/swap-fstab/up +$(libdir)/source/system/other/swap-fstab/up: source/system/other/swap-fstab/up source/system/other/swap-fstab/type: src/lib/source/system/other/swap-fstab/type -$(DESTDIR)$(libdir)/source/system/other/swap-fstab/type: source/system/other/swap-fstab/type +$(libdir)/source/system/other/swap-fstab/type: source/system/other/swap-fstab/type source/system/other/swap-fstab/down: src/lib/source/system/other/swap-fstab/down -$(DESTDIR)$(libdir)/source/system/other/swap-fstab/down: source/system/other/swap-fstab/down +$(libdir)/source/system/other/swap-fstab/down: source/system/other/swap-fstab/down source/system/other/random-seed-save/up: src/lib/source/system/other/random-seed-save/up -$(DESTDIR)$(libdir)/source/system/other/random-seed-save/up: source/system/other/random-seed-save/up +$(libdir)/source/system/other/random-seed-save/up: source/system/other/random-seed-save/up source/system/other/random-seed-save/type: src/lib/source/system/other/random-seed-save/type -$(DESTDIR)$(libdir)/source/system/other/random-seed-save/type: source/system/other/random-seed-save/type +$(libdir)/source/system/other/random-seed-save/type: source/system/other/random-seed-save/type source/system/other/random-seed-save/down: src/lib/source/system/other/random-seed-save/down -$(DESTDIR)$(libdir)/source/system/other/random-seed-save/down: source/system/other/random-seed-save/down +$(libdir)/source/system/other/random-seed-save/down: source/system/other/random-seed-save/down source/system/other/random-seed-save/dependencies.d/mount-dev: src/lib/source/system/other/random-seed-save/dependencies.d/mount-dev -$(DESTDIR)$(libdir)/source/system/other/random-seed-save/dependencies.d/mount-dev: source/system/other/random-seed-save/dependencies.d/mount-dev +$(libdir)/source/system/other/random-seed-save/dependencies.d/mount-dev: source/system/other/random-seed-save/dependencies.d/mount-dev source/system/other/random-seed-save/dependencies.d/random-seed-load: src/lib/source/system/other/random-seed-save/dependencies.d/random-seed-load -$(DESTDIR)$(libdir)/source/system/other/random-seed-save/dependencies.d/random-seed-load: source/system/other/random-seed-save/dependencies.d/random-seed-load +$(libdir)/source/system/other/random-seed-save/dependencies.d/random-seed-load: source/system/other/random-seed-save/dependencies.d/random-seed-load source/system/other/random-seed-save/dependencies.d/mount: src/lib/source/system/other/random-seed-save/dependencies.d/mount -$(DESTDIR)$(libdir)/source/system/other/random-seed-save/dependencies.d/mount: source/system/other/random-seed-save/dependencies.d/mount +$(libdir)/source/system/other/random-seed-save/dependencies.d/mount: source/system/other/random-seed-save/dependencies.d/mount source/system/other/syslog-srv/run: src/lib/source/system/other/syslog-srv/run -$(DESTDIR)$(libdir)/source/system/other/syslog-srv/run: source/system/other/syslog-srv/run +$(libdir)/source/system/other/syslog-srv/run: source/system/other/syslog-srv/run source/system/other/syslog-srv/type: src/lib/source/system/other/syslog-srv/type -$(DESTDIR)$(libdir)/source/system/other/syslog-srv/type: source/system/other/syslog-srv/type +$(libdir)/source/system/other/syslog-srv/type: source/system/other/syslog-srv/type source/system/other/syslog-srv/notification-fd: src/lib/source/system/other/syslog-srv/notification-fd -$(DESTDIR)$(libdir)/source/system/other/syslog-srv/notification-fd: source/system/other/syslog-srv/notification-fd +$(libdir)/source/system/other/syslog-srv/notification-fd: source/system/other/syslog-srv/notification-fd source/system/other/syslog-srv/dependencies.d/mount: src/lib/source/system/other/syslog-srv/dependencies.d/mount -$(DESTDIR)$(libdir)/source/system/other/syslog-srv/dependencies.d/mount: source/system/other/syslog-srv/dependencies.d/mount +$(libdir)/source/system/other/syslog-srv/dependencies.d/mount: source/system/other/syslog-srv/dependencies.d/mount source/system/other/syslog-srv/producer-for: src/lib/source/system/other/syslog-srv/producer-for -$(DESTDIR)$(libdir)/source/system/other/syslog-srv/producer-for: source/system/other/syslog-srv/producer-for +$(libdir)/source/system/other/syslog-srv/producer-for: source/system/other/syslog-srv/producer-for source/system/other/modules/up: src/lib/source/system/other/modules/up -$(DESTDIR)$(libdir)/source/system/other/modules/up: source/system/other/modules/up +$(libdir)/source/system/other/modules/up: source/system/other/modules/up source/system/other/modules/type: src/lib/source/system/other/modules/type -$(DESTDIR)$(libdir)/source/system/other/modules/type: source/system/other/modules/type +$(libdir)/source/system/other/modules/type: source/system/other/modules/type source/system/other/dmesg-srv/run: src/lib/source/system/other/dmesg-srv/run -$(DESTDIR)$(libdir)/source/system/other/dmesg-srv/run: source/system/other/dmesg-srv/run +$(libdir)/source/system/other/dmesg-srv/run: source/system/other/dmesg-srv/run source/system/other/dmesg-srv/type: src/lib/source/system/other/dmesg-srv/type -$(DESTDIR)$(libdir)/source/system/other/dmesg-srv/type: source/system/other/dmesg-srv/type +$(libdir)/source/system/other/dmesg-srv/type: source/system/other/dmesg-srv/type source/system/other/dmesg-srv/dependencies.d/mount-dev: src/lib/source/system/other/dmesg-srv/dependencies.d/mount-dev -$(DESTDIR)$(libdir)/source/system/other/dmesg-srv/dependencies.d/mount-dev: source/system/other/dmesg-srv/dependencies.d/mount-dev +$(libdir)/source/system/other/dmesg-srv/dependencies.d/mount-dev: source/system/other/dmesg-srv/dependencies.d/mount-dev source/system/other/dmesg-srv/producer-for: src/lib/source/system/other/dmesg-srv/producer-for -$(DESTDIR)$(libdir)/source/system/other/dmesg-srv/producer-for: source/system/other/dmesg-srv/producer-for +$(libdir)/source/system/other/dmesg-srv/producer-for: source/system/other/dmesg-srv/producer-for source/system/other/local/up: src/lib/source/system/other/local/up -$(DESTDIR)$(libdir)/source/system/other/local/up: source/system/other/local/up +$(libdir)/source/system/other/local/up: source/system/other/local/up source/system/other/local/type: src/lib/source/system/other/local/type -$(DESTDIR)$(libdir)/source/system/other/local/type: source/system/other/local/type +$(libdir)/source/system/other/local/type: source/system/other/local/type source/system/other/local/down: src/lib/source/system/other/local/down -$(DESTDIR)$(libdir)/source/system/other/local/down: source/system/other/local/down +$(libdir)/source/system/other/local/down: source/system/other/local/down source/system/udev/devd-srv/run: src/lib/source/system/udev/devd-srv/run -$(DESTDIR)$(libdir)/source/system/udev/devd-srv/run: source/system/udev/devd-srv/run +$(libdir)/source/system/udev/devd-srv/run: source/system/udev/devd-srv/run source/system/udev/devd-srv/type: src/lib/source/system/udev/devd-srv/type -$(DESTDIR)$(libdir)/source/system/udev/devd-srv/type: source/system/udev/devd-srv/type +$(libdir)/source/system/udev/devd-srv/type: source/system/udev/devd-srv/type source/system/udev/devd-srv/dependencies.d/mount-dev: src/lib/source/system/udev/devd-srv/dependencies.d/mount-dev -$(DESTDIR)$(libdir)/source/system/udev/devd-srv/dependencies.d/mount-dev: source/system/udev/devd-srv/dependencies.d/mount-dev +$(libdir)/source/system/udev/devd-srv/dependencies.d/mount-dev: source/system/udev/devd-srv/dependencies.d/mount-dev source/system/udev/devd-srv/producer-for: src/lib/source/system/udev/devd-srv/producer-for -$(DESTDIR)$(libdir)/source/system/udev/devd-srv/producer-for: source/system/udev/devd-srv/producer-for +$(libdir)/source/system/udev/devd-srv/producer-for: source/system/udev/devd-srv/producer-for source/system/udev/devd-srv/no-ml: src/lib/source/system/udev/devd-srv/no-ml -$(DESTDIR)$(libdir)/source/system/udev/devd-srv/no-ml: source/system/udev/devd-srv/no-ml +$(libdir)/source/system/udev/devd-srv/no-ml: source/system/udev/devd-srv/no-ml source/system/udev/devd-log/run: src/lib/source/system/udev/devd-log/run -$(DESTDIR)$(libdir)/source/system/udev/devd-log/run: source/system/udev/devd-log/run +$(libdir)/source/system/udev/devd-log/run: source/system/udev/devd-log/run source/system/udev/devd-log/consumer-for: src/lib/source/system/udev/devd-log/consumer-for -$(DESTDIR)$(libdir)/source/system/udev/devd-log/consumer-for: source/system/udev/devd-log/consumer-for +$(libdir)/source/system/udev/devd-log/consumer-for: source/system/udev/devd-log/consumer-for source/system/udev/devd-log/type: src/lib/source/system/udev/devd-log/type -$(DESTDIR)$(libdir)/source/system/udev/devd-log/type: source/system/udev/devd-log/type +$(libdir)/source/system/udev/devd-log/type: source/system/udev/devd-log/type source/system/udev/devd-log/pipeline-name: src/lib/source/system/udev/devd-log/pipeline-name -$(DESTDIR)$(libdir)/source/system/udev/devd-log/pipeline-name: source/system/udev/devd-log/pipeline-name +$(libdir)/source/system/udev/devd-log/pipeline-name: source/system/udev/devd-log/pipeline-name source/system/udev/devd-log/notification-fd: src/lib/source/system/udev/devd-log/notification-fd -$(DESTDIR)$(libdir)/source/system/udev/devd-log/notification-fd: source/system/udev/devd-log/notification-fd +$(libdir)/source/system/udev/devd-log/notification-fd: source/system/udev/devd-log/notification-fd source/system/udev/devd-log/no-ml: src/lib/source/system/udev/devd-log/no-ml -$(DESTDIR)$(libdir)/source/system/udev/devd-log/no-ml: source/system/udev/devd-log/no-ml +$(libdir)/source/system/udev/devd-log/no-ml: source/system/udev/devd-log/no-ml source/system/net/hostname/up: src/lib/source/system/net/hostname/up -$(DESTDIR)$(libdir)/source/system/net/hostname/up: source/system/net/hostname/up +$(libdir)/source/system/net/hostname/up: source/system/net/hostname/up source/system/net/hostname/type: src/lib/source/system/net/hostname/type -$(DESTDIR)$(libdir)/source/system/net/hostname/type: source/system/net/hostname/type +$(libdir)/source/system/net/hostname/type: source/system/net/hostname/type source/system/mount/mount-tmp/up: src/lib/source/system/mount/mount-tmp/up -$(DESTDIR)$(libdir)/source/system/mount/mount-tmp/up: source/system/mount/mount-tmp/up +$(libdir)/source/system/mount/mount-tmp/up: source/system/mount/mount-tmp/up source/system/mount/mount-tmp/type: src/lib/source/system/mount/mount-tmp/type -$(DESTDIR)$(libdir)/source/system/mount/mount-tmp/type: source/system/mount/mount-tmp/type +$(libdir)/source/system/mount/mount-tmp/type: source/system/mount/mount-tmp/type source/system/mount/mount-tmp/down: src/lib/source/system/mount/mount-tmp/down -$(DESTDIR)$(libdir)/source/system/mount/mount-tmp/down: source/system/mount/mount-tmp/down +$(libdir)/source/system/mount/mount-tmp/down: source/system/mount/mount-tmp/down source/system/mount/remount-root/up: src/lib/source/system/mount/remount-root/up -$(DESTDIR)$(libdir)/source/system/mount/remount-root/up: source/system/mount/remount-root/up +$(libdir)/source/system/mount/remount-root/up: source/system/mount/remount-root/up source/system/mount/remount-root/type: src/lib/source/system/mount/remount-root/type -$(DESTDIR)$(libdir)/source/system/mount/remount-root/type: source/system/mount/remount-root/type +$(libdir)/source/system/mount/remount-root/type: source/system/mount/remount-root/type source/system/mount/remount-root/down: src/lib/source/system/mount/remount-root/down -$(DESTDIR)$(libdir)/source/system/mount/remount-root/down: source/system/mount/remount-root/down +$(libdir)/source/system/mount/remount-root/down: source/system/mount/remount-root/down source/system/mount/mount-fstab/up: src/lib/source/system/mount/mount-fstab/up -$(DESTDIR)$(libdir)/source/system/mount/mount-fstab/up: source/system/mount/mount-fstab/up +$(libdir)/source/system/mount/mount-fstab/up: source/system/mount/mount-fstab/up source/system/mount/mount-fstab/type: src/lib/source/system/mount/mount-fstab/type -$(DESTDIR)$(libdir)/source/system/mount/mount-fstab/type: source/system/mount/mount-fstab/type +$(libdir)/source/system/mount/mount-fstab/type: source/system/mount/mount-fstab/type source/system/mount/mount-fstab/down: src/lib/source/system/mount/mount-fstab/down -$(DESTDIR)$(libdir)/source/system/mount/mount-fstab/down: source/system/mount/mount-fstab/down +$(libdir)/source/system/mount/mount-fstab/down: source/system/mount/mount-fstab/down source/system/mount/mount-fstab/dependencies.d/mount-dev: src/lib/source/system/mount/mount-fstab/dependencies.d/mount-dev -$(DESTDIR)$(libdir)/source/system/mount/mount-fstab/dependencies.d/mount-dev: source/system/mount/mount-fstab/dependencies.d/mount-dev +$(libdir)/source/system/mount/mount-fstab/dependencies.d/mount-dev: source/system/mount/mount-fstab/dependencies.d/mount-dev source/system/vfs/mount-dev/up: src/lib/source/system/vfs/mount-dev/up -$(DESTDIR)$(libdir)/source/system/vfs/mount-dev/up: source/system/vfs/mount-dev/up +$(libdir)/source/system/vfs/mount-dev/up: source/system/vfs/mount-dev/up source/system/vfs/mount-dev/type: src/lib/source/system/vfs/mount-dev/type -$(DESTDIR)$(libdir)/source/system/vfs/mount-dev/type: source/system/vfs/mount-dev/type +$(libdir)/source/system/vfs/mount-dev/type: source/system/vfs/mount-dev/type source/system/vfs/mount-dev/down: src/lib/source/system/vfs/mount-dev/down -$(DESTDIR)$(libdir)/source/system/vfs/mount-dev/down: source/system/vfs/mount-dev/down +$(libdir)/source/system/vfs/mount-dev/down: source/system/vfs/mount-dev/down source/system/vfs/mount-run/up: src/lib/source/system/vfs/mount-run/up -$(DESTDIR)$(libdir)/source/system/vfs/mount-run/up: source/system/vfs/mount-run/up +$(libdir)/source/system/vfs/mount-run/up: source/system/vfs/mount-run/up source/system/vfs/mount-run/type: src/lib/source/system/vfs/mount-run/type -$(DESTDIR)$(libdir)/source/system/vfs/mount-run/type: source/system/vfs/mount-run/type +$(libdir)/source/system/vfs/mount-run/type: source/system/vfs/mount-run/type source/system/vfs/mount-run/down: src/lib/source/system/vfs/mount-run/down -$(DESTDIR)$(libdir)/source/system/vfs/mount-run/down: source/system/vfs/mount-run/down +$(libdir)/source/system/vfs/mount-run/down: source/system/vfs/mount-run/down diff --git a/package/info b/package/info index fe25618..f08ee14 100644 --- a/package/info +++ b/package/info @@ -1,4 +1,4 @@ package=goetia-freebsd -version=0.0.0.1 +version=0.3.0.0 category=admin package_macro_name=GOETIA-FREEBSD diff --git a/package/targets.mak b/package/targets.mak index c552c6c..480efd4 100644 --- a/package/targets.mak +++ b/package/targets.mak @@ -66,65 +66,64 @@ ALL_LIBS ::= \ source/system/vfs/mount-run/down \ INSTALL_LIBS ::= \ - $(DESTDIR)$(libdir)/service/system/getty-12/run \ - $(DESTDIR)$(libdir)/source/system/other/syslog-priv-srv/run \ - $(DESTDIR)$(libdir)/source/system/other/syslog-priv-srv/type \ - $(DESTDIR)$(libdir)/source/system/other/syslog-priv-srv/notification-fd \ - $(DESTDIR)$(libdir)/source/system/other/syslog-priv-srv/dependencies.d/mount \ - $(DESTDIR)$(libdir)/source/system/other/syslog-priv-srv/producer-for \ - $(DESTDIR)$(libdir)/source/system/other/random-seed-load/up \ - $(DESTDIR)$(libdir)/source/system/other/random-seed-load/type \ - $(DESTDIR)$(libdir)/source/system/other/random-seed-load/dependencies.d/mount-dev \ - $(DESTDIR)$(libdir)/source/system/other/swap-fstab/up \ - $(DESTDIR)$(libdir)/source/system/other/swap-fstab/type \ - $(DESTDIR)$(libdir)/source/system/other/swap-fstab/down \ - $(DESTDIR)$(libdir)/source/system/other/random-seed-save/up \ - $(DESTDIR)$(libdir)/source/system/other/random-seed-save/type \ - $(DESTDIR)$(libdir)/source/system/other/random-seed-save/down \ - $(DESTDIR)$(libdir)/source/system/other/random-seed-save/dependencies.d/mount-dev \ - $(DESTDIR)$(libdir)/source/system/other/random-seed-save/dependencies.d/random-seed-load \ - $(DESTDIR)$(libdir)/source/system/other/random-seed-save/dependencies.d/mount \ - $(DESTDIR)$(libdir)/source/system/other/syslog-srv/run \ - $(DESTDIR)$(libdir)/source/system/other/syslog-srv/type \ - $(DESTDIR)$(libdir)/source/system/other/syslog-srv/notification-fd \ - $(DESTDIR)$(libdir)/source/system/other/syslog-srv/dependencies.d/mount \ - $(DESTDIR)$(libdir)/source/system/other/syslog-srv/producer-for \ - $(DESTDIR)$(libdir)/source/system/other/modules/up \ - $(DESTDIR)$(libdir)/source/system/other/modules/type \ - $(DESTDIR)$(libdir)/source/system/other/dmesg-srv/run \ - $(DESTDIR)$(libdir)/source/system/other/dmesg-srv/type \ - $(DESTDIR)$(libdir)/source/system/other/dmesg-srv/dependencies.d/mount-dev \ - $(DESTDIR)$(libdir)/source/system/other/dmesg-srv/producer-for \ - $(DESTDIR)$(libdir)/source/system/other/local/up \ - $(DESTDIR)$(libdir)/source/system/other/local/type \ - $(DESTDIR)$(libdir)/source/system/other/local/down \ - $(DESTDIR)$(libdir)/source/system/udev/devd-srv/run \ - $(DESTDIR)$(libdir)/source/system/udev/devd-srv/type \ - $(DESTDIR)$(libdir)/source/system/udev/devd-srv/dependencies.d/mount-dev \ - $(DESTDIR)$(libdir)/source/system/udev/devd-srv/producer-for \ - $(DESTDIR)$(libdir)/source/system/udev/devd-srv/no-ml \ - $(DESTDIR)$(libdir)/source/system/udev/devd-log/run \ - $(DESTDIR)$(libdir)/source/system/udev/devd-log/consumer-for \ - $(DESTDIR)$(libdir)/source/system/udev/devd-log/type \ - $(DESTDIR)$(libdir)/source/system/udev/devd-log/pipeline-name \ - $(DESTDIR)$(libdir)/source/system/udev/devd-log/notification-fd \ - $(DESTDIR)$(libdir)/source/system/udev/devd-log/no-ml \ - $(DESTDIR)$(libdir)/source/system/net/hostname/up \ - $(DESTDIR)$(libdir)/source/system/net/hostname/type \ - $(DESTDIR)$(libdir)/source/system/mount/mount-tmp/up \ - $(DESTDIR)$(libdir)/source/system/mount/mount-tmp/type \ - $(DESTDIR)$(libdir)/source/system/mount/mount-tmp/down \ - $(DESTDIR)$(libdir)/source/system/mount/remount-root/up \ - $(DESTDIR)$(libdir)/source/system/mount/remount-root/type \ - $(DESTDIR)$(libdir)/source/system/mount/remount-root/down \ - $(DESTDIR)$(libdir)/source/system/mount/mount-fstab/up \ - $(DESTDIR)$(libdir)/source/system/mount/mount-fstab/type \ - $(DESTDIR)$(libdir)/source/system/mount/mount-fstab/down \ - $(DESTDIR)$(libdir)/source/system/mount/mount-fstab/dependencies.d/mount-dev \ - $(DESTDIR)$(libdir)/source/system/vfs/mount-dev/up \ - $(DESTDIR)$(libdir)/source/system/vfs/mount-dev/type \ - $(DESTDIR)$(libdir)/source/system/vfs/mount-dev/down \ - $(DESTDIR)$(libdir)/source/system/vfs/mount-run/up \ - $(DESTDIR)$(libdir)/source/system/vfs/mount-run/type \ - $(DESTDIR)$(libdir)/source/system/vfs/mount-run/down \ - + $(libdir)/service/system/getty-12/run \ + $(libdir)/source/system/other/syslog-priv-srv/run \ + $(libdir)/source/system/other/syslog-priv-srv/type \ + $(libdir)/source/system/other/syslog-priv-srv/notification-fd \ + $(libdir)/source/system/other/syslog-priv-srv/dependencies.d/mount \ + $(libdir)/source/system/other/syslog-priv-srv/producer-for \ + $(libdir)/source/system/other/random-seed-load/up \ + $(libdir)/source/system/other/random-seed-load/type \ + $(libdir)/source/system/other/random-seed-load/dependencies.d/mount-dev \ + $(libdir)/source/system/other/swap-fstab/up \ + $(libdir)/source/system/other/swap-fstab/type \ + $(libdir)/source/system/other/swap-fstab/down \ + $(libdir)/source/system/other/random-seed-save/up \ + $(libdir)/source/system/other/random-seed-save/type \ + $(libdir)/source/system/other/random-seed-save/down \ + $(libdir)/source/system/other/random-seed-save/dependencies.d/mount-dev \ + $(libdir)/source/system/other/random-seed-save/dependencies.d/random-seed-load \ + $(libdir)/source/system/other/random-seed-save/dependencies.d/mount \ + $(libdir)/source/system/other/syslog-srv/run \ + $(libdir)/source/system/other/syslog-srv/type \ + $(libdir)/source/system/other/syslog-srv/notification-fd \ + $(libdir)/source/system/other/syslog-srv/dependencies.d/mount \ + $(libdir)/source/system/other/syslog-srv/producer-for \ + $(libdir)/source/system/other/modules/up \ + $(libdir)/source/system/other/modules/type \ + $(libdir)/source/system/other/dmesg-srv/run \ + $(libdir)/source/system/other/dmesg-srv/type \ + $(libdir)/source/system/other/dmesg-srv/dependencies.d/mount-dev \ + $(libdir)/source/system/other/dmesg-srv/producer-for \ + $(libdir)/source/system/other/local/up \ + $(libdir)/source/system/other/local/type \ + $(libdir)/source/system/other/local/down \ + $(libdir)/source/system/udev/devd-srv/run \ + $(libdir)/source/system/udev/devd-srv/type \ + $(libdir)/source/system/udev/devd-srv/dependencies.d/mount-dev \ + $(libdir)/source/system/udev/devd-srv/producer-for \ + $(libdir)/source/system/udev/devd-srv/no-ml \ + $(libdir)/source/system/udev/devd-log/run \ + $(libdir)/source/system/udev/devd-log/consumer-for \ + $(libdir)/source/system/udev/devd-log/type \ + $(libdir)/source/system/udev/devd-log/pipeline-name \ + $(libdir)/source/system/udev/devd-log/notification-fd \ + $(libdir)/source/system/udev/devd-log/no-ml \ + $(libdir)/source/system/net/hostname/up \ + $(libdir)/source/system/net/hostname/type \ + $(libdir)/source/system/mount/mount-tmp/up \ + $(libdir)/source/system/mount/mount-tmp/type \ + $(libdir)/source/system/mount/mount-tmp/down \ + $(libdir)/source/system/mount/remount-root/up \ + $(libdir)/source/system/mount/remount-root/type \ + $(libdir)/source/system/mount/remount-root/down \ + $(libdir)/source/system/mount/mount-fstab/up \ + $(libdir)/source/system/mount/mount-fstab/type \ + $(libdir)/source/system/mount/mount-fstab/down \ + $(libdir)/source/system/mount/mount-fstab/dependencies.d/mount-dev \ + $(libdir)/source/system/vfs/mount-dev/up \ + $(libdir)/source/system/vfs/mount-dev/type \ + $(libdir)/source/system/vfs/mount-dev/down \ + $(libdir)/source/system/vfs/mount-run/up \ + $(libdir)/source/system/vfs/mount-run/type \ + $(libdir)/source/system/vfs/mount-run/down \ diff --git a/tools/gen-deps.sh b/tools/gen-deps.sh index fafb347..23cd98f 100755 --- a/tools/gen-deps.sh +++ b/tools/gen-deps.sh @@ -2,17 +2,17 @@ . package/info -echo '#' -echo '# This file has been generated by tools/gen-deps.sh' -echo '#' -echo +printf '#\n' +printf '# This file has been generated by tools/gen-deps.sh\n' +printf '#\n' +printf '\n' if test -d src/bin then cd src/bin for FILE in $(find * -type f 2> /dev/null); do - echo "${FILE}: src/bin/${FILE}" - echo "\$(DESTDIR)\$(bindir)/${FILE}: ${FILE}" + printf "${FILE}: src/bin/${FILE}\n" + printf "\$(bindir)/${FILE}: ${FILE}\n" done cd ../.. fi @@ -21,8 +21,8 @@ if test -d src/lib then cd src/lib for FILE in $(find * -type f 2> /dev/null); do - echo "${FILE}: src/lib/${FILE}" - echo "\$(DESTDIR)\$(libdir)/${FILE}: ${FILE}" + printf "${FILE}: src/lib/${FILE}\n" + printf "\$(libdir)/${FILE}: ${FILE}\n" done cd ../.. fi @@ -30,6 +30,6 @@ fi if test -f package/extras then for EXTRA in $(cat package/extras); do - echo "\$(DESTDIR)\$(libdir)/${EXTRA}: ${EXTRA}" + printf "\$(libdir)/${EXTRA}: ${EXTRA}\n" done fi diff --git a/tools/gen-targets.sh b/tools/gen-targets.sh index 3280748..f772754 100755 --- a/tools/gen-targets.sh +++ b/tools/gen-targets.sh @@ -2,55 +2,62 @@ . package/info -echo '#' -echo '# This file has been generated by tools/gen-targets.sh' -echo '#' -echo +printf '#\n' +printf '# This file has been generated by tools/gen-targets.sh\n' +printf '#\n' +printf '\n' if test -d src/bin then cd src/bin - echo "ALL_BINS ::= \\" + printf "ALL_BINS ::= \\" + printf "\n" for FILE in $(find * -type f 2> /dev/null) ; do - echo "\t${FILE} \\" + printf "\t${FILE} \\" + printf "\n" done - echo - echo "INSTALL_BINS ::= \\" + printf "\n" + printf "INSTALL_BINS ::= \\" + printf "\n" for FILE in $(find * -type f 2> /dev/null) ; do - echo "\t\$(DESTDIR)\$(bindir)/${FILE} \\" + printf "\t\$(bindir)/${FILE} \\" + printf "\n" done - echo - echo "SLASHCOMMAND_BINS ::= \\" + printf "\n" + printf "SLASHCOMMAND_BINS ::= \\" + printf "\n" for FILE in $(find * -type f 2> /dev/null) ; do - echo "\t\$(DESTDIR)\$(sproot)/command/${FILE} \\" + printf "\t\$(sproot)/command/${FILE} \\" + printf "\n" done cd ../.. - echo + printf "\n" fi if test -d src/lib then cd src/lib - echo "ALL_LIBS ::= \\" + printf "ALL_LIBS ::= \\" + printf "\n" for FILE in $(find * -type f 2> /dev/null) ; do - echo "\t${FILE} \\" + printf "\t${FILE} \\" + printf "\n" done - echo + printf "\n" - echo "INSTALL_LIBS ::= \\" + printf "INSTALL_LIBS ::= \\" + printf "\n" for FILE in $(find * -type f 2> /dev/null) ; do - echo "\t\$(DESTDIR)\$(libdir)/${FILE} \\" + printf "\t\$(libdir)/${FILE} \\" + printf "\n" done - - cd ../.. - echo fi |
