diff options
| author | Lexi Winter <ivy@FreeBSD.org> | 2026-04-24 14:10:01 +0000 |
|---|---|---|
| committer | Lexi Winter <ivy@FreeBSD.org> | 2026-04-24 14:10:01 +0000 |
| commit | bb75b0d581f74e22a68d7868ad1f5da1146a8de0 (patch) | |
| tree | 64488910bce6ab92c29a78b54010f773e3ab994b | |
| parent | 75c66218401c00f4728d5312e2b933b8d3aefde1 (diff) | |
packages: Convert world to a subdir build
Instead of driving the world package build from Makefile.inc1,
use a subdir build where each package has a subdirectory under
packages/ using the new <bsd.pkg.mk>.
Convert some metadata that was previously in the UCL files (e.g.
sets and dependencies) to Makefile variables.
Build the packages under objdir (not repodir), and use the new
stagepackages target to copy them to repodir when creating the
repository.
Determine an explicit list of packages to build in packages/Makefile
based on enabled src.conf options, and add logic to abort the build
if we attempt to build an empty package. This inverts the previous
logic in Makefile.inc1 which would simply skip empty packages.
There are a few advantages to doing it this way:
* The package build works more like the rest of the build system,
so it's more accessible to developers.
* We can customise the packages we build based on src.conf options,
e.g. skipping a package entirely, or adjusting its dependencies
based on what it actually requires.
* We have a specific list of packages that we want to build, and an
unexpectedly missing package results in a build error, instead of
silently producing a broken repository.
* It's possible to build (and in the future, install) an individual
package without having to rebuild the entire repository.
This doesn't apply to the dtb, kernel-* or src-* packages; those
have their own build systems in Makefile.inc1 and will be converted
later.
MFC after: 4 weeks (stable/15 only)
Reviewed by: jlduran, sjg, brooks
Sponsored by: https://www.patreon.com/bsdivy
Differential Revision: https://reviews.freebsd.org/D56087
| -rw-r--r-- | Makefile.inc1 | 51 | ||||
| -rw-r--r-- | packages/Makefile | 165 | ||||
| -rw-r--r-- | packages/Makefile.amd64 | 23 | ||||
| -rw-r--r-- | packages/Makefile.arm | 18 | ||||
| -rw-r--r-- | packages/Makefile.arm64 | 20 | ||||
| -rw-r--r-- | packages/Makefile.powerpc | 18 | ||||
| -rw-r--r-- | packages/Makefile.riscv64 | 20 | ||||
| -rw-r--r-- | packages/acct/Makefile | 3 | ||||
| -rw-r--r-- | packages/acct/acct.ucl (renamed from release/packages/ucl/acct-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/acpi/Makefile | 12 | ||||
| -rw-r--r-- | packages/acpi/acpi.ucl (renamed from release/packages/ucl/acpi-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/apm/Makefile | 12 | ||||
| -rw-r--r-- | packages/apm/apm.ucl (renamed from release/packages/ucl/apm-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/at/Makefile | 10 | ||||
| -rw-r--r-- | packages/at/at.ucl (renamed from release/packages/ucl/at-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/atf/Makefile | 4 | ||||
| -rw-r--r-- | packages/atf/atf.ucl (renamed from release/packages/ucl/atf-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/audit/Makefile | 5 | ||||
| -rw-r--r-- | packages/audit/audit.ucl (renamed from release/packages/ucl/audit-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/autofs/Makefile | 3 | ||||
| -rw-r--r-- | packages/autofs/autofs.ucl (renamed from release/packages/ucl/autofs-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/bhyve/Makefile | 3 | ||||
| -rw-r--r-- | packages/bhyve/bhyve.ucl (renamed from release/packages/ucl/bhyve-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/blocklist/Makefile | 5 | ||||
| -rw-r--r-- | packages/blocklist/blocklist.ucl (renamed from release/packages/ucl/blocklist-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/bluetooth/Makefile | 11 | ||||
| -rw-r--r-- | packages/bluetooth/bluetooth.ucl (renamed from release/packages/ucl/bluetooth-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/bmake/Makefile | 5 | ||||
| -rw-r--r-- | packages/bmake/bmake.ucl (renamed from release/packages/ucl/bmake-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/bootloader/Makefile | 24 | ||||
| -rw-r--r-- | packages/bootloader/bootloader.ucl (renamed from release/packages/ucl/bootloader-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/bsdconfig/Makefile | 7 | ||||
| -rw-r--r-- | packages/bsdconfig/bsdconfig.ucl (renamed from release/packages/ucl/bsdconfig-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/bsdinstall/Makefile | 8 | ||||
| -rw-r--r-- | packages/bsdinstall/bsdinstall.ucl (renamed from release/packages/ucl/bsdinstall-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/bsnmp/Makefile | 5 | ||||
| -rw-r--r-- | packages/bsnmp/bsnmp.ucl (renamed from release/packages/ucl/bsnmp-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/bzip2/Makefile | 7 | ||||
| -rw-r--r-- | packages/bzip2/bzip2.ucl (renamed from release/packages/ucl/bzip2-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/caroot/Makefile | 11 | ||||
| -rw-r--r-- | packages/caroot/caroot.ucl (renamed from release/packages/ucl/caroot.ucl) | 7 | ||||
| -rw-r--r-- | packages/caroot/common.ucl (renamed from release/packages/ucl/caroot-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/ccdconfig/Makefile | 6 | ||||
| -rw-r--r-- | packages/ccdconfig/ccdconfig.ucl (renamed from release/packages/ucl/ccdconfig-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/certctl/Makefile | 7 | ||||
| -rw-r--r-- | packages/certctl/certctl.ucl (renamed from release/packages/ucl/certctl-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/clang/Makefile | 10 | ||||
| -rw-r--r-- | packages/clang/clang.ucl (renamed from release/packages/ucl/clang-all.ucl) | 9 | ||||
| -rw-r--r-- | packages/clibs/Makefile | 8 | ||||
| -rw-r--r-- | packages/clibs/clibs.ucl (renamed from release/packages/ucl/clibs-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/console-tools/Makefile | 6 | ||||
| -rw-r--r-- | packages/console-tools/console-tools.ucl (renamed from release/packages/ucl/console-tools-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/cron/Makefile | 5 | ||||
| -rw-r--r-- | packages/cron/cron.ucl (renamed from release/packages/ucl/cron-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/csh/Makefile | 3 | ||||
| -rw-r--r-- | packages/csh/csh.ucl (renamed from release/packages/ucl/csh-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/ctf/Makefile | 8 | ||||
| -rw-r--r-- | packages/ctf/ctf.ucl (renamed from release/packages/ucl/ctf-all.ucl) | 6 | ||||
| -rw-r--r-- | packages/ctl/Makefile | 6 | ||||
| -rw-r--r-- | packages/ctl/ctl.ucl (renamed from release/packages/ucl/ctl-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/cxgbe-tools/Makefile | 6 | ||||
| -rw-r--r-- | packages/cxgbe-tools/cxgbe-tools.ucl (renamed from release/packages/ucl/cxgbe-tools-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/devd/Makefile | 8 | ||||
| -rw-r--r-- | packages/devd/devd.ucl (renamed from release/packages/ucl/devd-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/devmatch/Makefile | 8 | ||||
| -rw-r--r-- | packages/devmatch/devmatch.ucl (renamed from release/packages/ucl/devmatch-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/dhclient/Makefile | 10 | ||||
| -rw-r--r-- | packages/dhclient/dhclient.ucl (renamed from release/packages/ucl/dhclient-all.ucl) | 6 | ||||
| -rw-r--r-- | packages/dma/Makefile | 3 | ||||
| -rw-r--r-- | packages/dma/dma.ucl (renamed from release/packages/ucl/dma-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/dtrace/Makefile | 9 | ||||
| -rw-r--r-- | packages/dtrace/dtrace.ucl (renamed from release/packages/ucl/dtrace-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/dwatch/Makefile | 10 | ||||
| -rw-r--r-- | packages/dwatch/dwatch.ucl (renamed from release/packages/ucl/dwatch-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/ee/Makefile | 3 | ||||
| -rw-r--r-- | packages/ee/ee.ucl (renamed from release/packages/ucl/ee-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/efi-tools/Makefile | 13 | ||||
| -rw-r--r-- | packages/efi-tools/efi-tools.ucl (renamed from release/packages/ucl/efi-tools-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/examples/Makefile | 4 | ||||
| -rw-r--r-- | packages/examples/examples.ucl (renamed from release/packages/ucl/examples-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/fd/Makefile | 6 | ||||
| -rw-r--r-- | packages/fd/fd.ucl (renamed from release/packages/ucl/fd-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/fetch/Makefile | 8 | ||||
| -rw-r--r-- | packages/fetch/fetch.ucl (renamed from release/packages/ucl/fetch-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/firmware-iwm/Makefile | 6 | ||||
| -rw-r--r-- | packages/firmware-iwm/firmware-iwm.ucl (renamed from release/packages/ucl/firmware-iwm-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/flua/Makefile | 15 | ||||
| -rw-r--r-- | packages/flua/flua.ucl (renamed from release/packages/ucl/flua-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/ftp/Makefile | 3 | ||||
| -rw-r--r-- | packages/ftp/ftp.ucl (renamed from release/packages/ucl/ftp-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/fwget/Makefile | 7 | ||||
| -rw-r--r-- | packages/fwget/fwget.ucl (renamed from release/packages/ucl/fwget-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/games/Makefile | 3 | ||||
| -rw-r--r-- | packages/games/games.ucl (renamed from release/packages/ucl/games-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/geom/Makefile | 8 | ||||
| -rw-r--r-- | packages/geom/geom.ucl (renamed from release/packages/ucl/geom-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/ggate/Makefile | 6 | ||||
| -rw-r--r-- | packages/ggate/ggate.ucl (renamed from release/packages/ucl/ggate-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/googletest/Makefile | 4 | ||||
| -rw-r--r-- | packages/googletest/googletest.ucl (renamed from release/packages/ucl/googletest-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/gssd/Makefile | 3 | ||||
| -rw-r--r-- | packages/gssd/gssd.ucl (renamed from release/packages/ucl/gssd-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/hast/Makefile | 6 | ||||
| -rw-r--r-- | packages/hast/hast.ucl (renamed from release/packages/ucl/hast-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/hostapd/Makefile | 6 | ||||
| -rw-r--r-- | packages/hostapd/hostapd.ucl (renamed from release/packages/ucl/hostapd-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/hyperv-tools/Makefile | 6 | ||||
| -rw-r--r-- | packages/hyperv-tools/hyperv-tools.ucl (renamed from release/packages/ucl/hyperv-tools-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/inetd/Makefile | 3 | ||||
| -rw-r--r-- | packages/inetd/inetd.ucl (renamed from release/packages/ucl/inetd-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/ipf/Makefile | 3 | ||||
| -rw-r--r-- | packages/ipf/ipf.ucl (renamed from release/packages/ucl/ipf-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/ipfw/Makefile | 3 | ||||
| -rw-r--r-- | packages/ipfw/ipfw.ucl (renamed from release/packages/ucl/ipfw-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/iscsi/Makefile | 6 | ||||
| -rw-r--r-- | packages/iscsi/iscsi.ucl (renamed from release/packages/ucl/iscsi-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/jail/Makefile | 3 | ||||
| -rw-r--r-- | packages/jail/jail.ucl (renamed from release/packages/ucl/jail-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/kerberos-kdc/Makefile | 3 | ||||
| -rw-r--r-- | packages/kerberos-kdc/kerberos-kdc.ucl (renamed from release/packages/ucl/kerberos-kdc-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/kerberos/Makefile | 5 | ||||
| -rw-r--r-- | packages/kerberos/kerberos.ucl (renamed from release/packages/ucl/kerberos-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/kernel-man/Makefile | 7 | ||||
| -rw-r--r-- | packages/kernel-man/kernel-man.ucl (renamed from release/packages/ucl/kernel-man.ucl) | 4 | ||||
| -rw-r--r-- | packages/kyua/Makefile | 5 | ||||
| -rw-r--r-- | packages/kyua/kyua.ucl (renamed from release/packages/ucl/kyua-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/lib9p/Makefile | 5 | ||||
| -rw-r--r-- | packages/lib9p/lib9p.ucl (renamed from release/packages/ucl/lib9p-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/libarchive/Makefile | 5 | ||||
| -rw-r--r-- | packages/libarchive/libarchive.ucl (renamed from release/packages/ucl/libarchive-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/libbegemot/Makefile | 5 | ||||
| -rw-r--r-- | packages/libbegemot/libbegemot.ucl (renamed from release/packages/ucl/libbegemot-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/libblocksruntime/Makefile | 5 | ||||
| -rw-r--r-- | packages/libblocksruntime/libblocksruntime.ucl (renamed from release/packages/ucl/libblocksruntime-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/libbsdstat/Makefile | 5 | ||||
| -rw-r--r-- | packages/libbsdstat/libbsdstat.ucl (renamed from release/packages/ucl/libbsdstat-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/libcasper/Makefile | 5 | ||||
| -rw-r--r-- | packages/libcasper/libcasper.ucl (renamed from release/packages/ucl/libcasper-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/libcompat/Makefile | 15 | ||||
| -rw-r--r-- | packages/libcompat/libcompat.ucl (renamed from release/packages/ucl/libcompat-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/libcompiler_rt/Makefile | 11 | ||||
| -rw-r--r-- | packages/libcompiler_rt/libcompiler_rt.ucl (renamed from release/packages/ucl/libcompiler_rt-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/libcuse/Makefile | 5 | ||||
| -rw-r--r-- | packages/libcuse/libcuse.ucl (renamed from release/packages/ucl/libcuse-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/libdwarf/Makefile | 5 | ||||
| -rw-r--r-- | packages/libdwarf/libdwarf.ucl (renamed from release/packages/ucl/libdwarf-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/libevent1/Makefile | 5 | ||||
| -rw-r--r-- | packages/libevent1/libevent1.ucl (renamed from release/packages/ucl/libevent1-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/libexecinfo/Makefile | 5 | ||||
| -rw-r--r-- | packages/libexecinfo/libexecinfo.ucl (renamed from release/packages/ucl/libexecinfo-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/libipt/Makefile | 4 | ||||
| -rw-r--r-- | packages/libipt/libipt.ucl (renamed from release/packages/ucl/libipt-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/libldns/Makefile | 5 | ||||
| -rw-r--r-- | packages/libldns/libldns.ucl (renamed from release/packages/ucl/libldns-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/libmagic/Makefile | 5 | ||||
| -rw-r--r-- | packages/libmagic/libmagic.ucl (renamed from release/packages/ucl/libmagic-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/libmilter/Makefile | 5 | ||||
| -rw-r--r-- | packages/libmilter/libmilter.ucl (renamed from release/packages/ucl/libmilter-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/libpathconv/Makefile | 5 | ||||
| -rw-r--r-- | packages/libpathconv/libpathconv.ucl (renamed from release/packages/ucl/libpathconv-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/librpcsec_gss/Makefile | 5 | ||||
| -rw-r--r-- | packages/librpcsec_gss/librpcsec_gss.ucl (renamed from release/packages/ucl/librpcsec_gss-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/librss/Makefile | 5 | ||||
| -rw-r--r-- | packages/librss/librss.ucl (renamed from release/packages/ucl/librss-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/libsqlite3/Makefile | 5 | ||||
| -rw-r--r-- | packages/libsqlite3/libsqlite3.ucl (renamed from release/packages/ucl/libsqlite3-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/libthread_db/Makefile | 5 | ||||
| -rw-r--r-- | packages/libthread_db/libthread_db.ucl (renamed from release/packages/ucl/libthread_db-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/libucl/Makefile | 5 | ||||
| -rw-r--r-- | packages/libucl/libucl.ucl (renamed from release/packages/ucl/libucl-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/libvgl/Makefile | 5 | ||||
| -rw-r--r-- | packages/libvgl/libvgl.ucl (renamed from release/packages/ucl/libvgl-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/libvmmapi/Makefile | 4 | ||||
| -rw-r--r-- | packages/libvmmapi/libvmmapi.ucl (renamed from release/packages/ucl/libvmmapi-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/libyaml/Makefile | 5 | ||||
| -rw-r--r-- | packages/libyaml/libyaml.ucl (renamed from release/packages/ucl/libyaml-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/lld/Makefile | 6 | ||||
| -rw-r--r-- | packages/lld/lld.ucl (renamed from release/packages/ucl/lld-all.ucl) | 6 | ||||
| -rw-r--r-- | packages/lldb/Makefile | 6 | ||||
| -rw-r--r-- | packages/lldb/lldb.ucl (renamed from release/packages/ucl/lldb-all.ucl) | 6 | ||||
| -rw-r--r-- | packages/local-unbound/Makefile | 14 | ||||
| -rw-r--r-- | packages/local-unbound/common.ucl (renamed from release/packages/ucl/local-unbound-all.ucl) | 6 | ||||
| -rw-r--r-- | packages/local-unbound/local-unbound.ucl (renamed from release/packages/ucl/local-unbound.ucl) | 10 | ||||
| -rw-r--r-- | packages/locales/Makefile | 6 | ||||
| -rw-r--r-- | packages/locales/locales.ucl (renamed from release/packages/ucl/locales-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/lp/Makefile | 3 | ||||
| -rw-r--r-- | packages/lp/lp.ucl (renamed from release/packages/ucl/lp-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/mandoc/Makefile | 5 | ||||
| -rw-r--r-- | packages/mandoc/mandoc.ucl (renamed from release/packages/ucl/mandoc-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/mlx-tools/Makefile | 5 | ||||
| -rw-r--r-- | packages/mlx-tools/mlx-tools.ucl (renamed from release/packages/ucl/mlx-tools-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/mtree/Makefile | 5 | ||||
| -rw-r--r-- | packages/mtree/mtree.ucl (renamed from release/packages/ucl/mtree-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/natd/Makefile | 6 | ||||
| -rw-r--r-- | packages/natd/natd.ucl (renamed from release/packages/ucl/natd-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/ncurses/Makefile | 7 | ||||
| -rw-r--r-- | packages/ncurses/ncurses.ucl (renamed from release/packages/ucl/ncurses-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/netmap/Makefile | 5 | ||||
| -rw-r--r-- | packages/netmap/netmap.ucl (renamed from release/packages/ucl/netmap-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/newsyslog/Makefile | 8 | ||||
| -rw-r--r-- | packages/newsyslog/newsyslog.ucl (renamed from release/packages/ucl/newsyslog-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/nfs/Makefile | 3 | ||||
| -rw-r--r-- | packages/nfs/nfs.ucl (renamed from release/packages/ucl/nfs-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/ntp/Makefile | 3 | ||||
| -rw-r--r-- | packages/ntp/ntp.ucl (renamed from release/packages/ucl/ntp-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/nuageinit/Makefile | 6 | ||||
| -rw-r--r-- | packages/nuageinit/nuageinit.ucl (renamed from release/packages/ucl/nuageinit-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/nvme-tools/Makefile | 5 | ||||
| -rw-r--r-- | packages/nvme-tools/nvme-tools.ucl (renamed from release/packages/ucl/nvme-tools-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/openssl/Makefile | 5 | ||||
| -rw-r--r-- | packages/openssl/openssl.ucl (renamed from release/packages/ucl/openssl-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/pam/Makefile | 7 | ||||
| -rw-r--r-- | packages/pam/pam.ucl (renamed from release/packages/ucl/pam-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/periodic/Makefile | 11 | ||||
| -rw-r--r-- | packages/periodic/periodic.ucl (renamed from release/packages/ucl/periodic-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/pf/Makefile | 4 | ||||
| -rw-r--r-- | packages/pf/pf.ucl (renamed from release/packages/ucl/pf-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/pkg-bootstrap/Makefile | 5 | ||||
| -rw-r--r-- | packages/pkg-bootstrap/pkg-bootstrap.ucl (renamed from release/packages/ucl/pkg-bootstrap-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/pkgconf/Makefile | 6 | ||||
| -rw-r--r-- | packages/pkgconf/pkgconf.ucl (renamed from release/packages/ucl/pkgconf-all.ucl) | 6 | ||||
| -rw-r--r-- | packages/pmc/Makefile | 5 | ||||
| -rw-r--r-- | packages/pmc/pmc.ucl (renamed from release/packages/ucl/pmc-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/powerd/Makefile | 5 | ||||
| -rw-r--r-- | packages/powerd/powerd.ucl (renamed from release/packages/ucl/powerd-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/ppp/Makefile | 5 | ||||
| -rw-r--r-- | packages/ppp/ppp.ucl (renamed from release/packages/ucl/ppp-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/quotacheck/Makefile | 3 | ||||
| -rw-r--r-- | packages/quotacheck/quotacheck.ucl (renamed from release/packages/ucl/quotacheck-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/rc/Makefile | 11 | ||||
| -rw-r--r-- | packages/rc/rc.ucl (renamed from release/packages/ucl/rc-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/rcmds/Makefile | 6 | ||||
| -rw-r--r-- | packages/rcmds/rcmds.ucl (renamed from release/packages/ucl/rcmds-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/rdma/Makefile | 5 | ||||
| -rw-r--r-- | packages/rdma/rdma.ucl (renamed from release/packages/ucl/rdma-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/rescue/Makefile | 6 | ||||
| -rw-r--r-- | packages/rescue/rescue.ucl (renamed from release/packages/ucl/rescue-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/resolvconf/Makefile | 6 | ||||
| -rw-r--r-- | packages/resolvconf/resolvconf.ucl (renamed from release/packages/ucl/resolvconf-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/rip/Makefile | 3 | ||||
| -rw-r--r-- | packages/rip/rip.ucl (renamed from release/packages/ucl/rip-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/runtime/Makefile | 14 | ||||
| -rw-r--r-- | packages/runtime/common.ucl (renamed from release/packages/ucl/runtime-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/runtime/runtime.ucl (renamed from release/packages/ucl/runtime.ucl) | 2 | ||||
| -rw-r--r-- | packages/sendmail/Makefile | 12 | ||||
| -rw-r--r-- | packages/sendmail/sendmail.ucl (renamed from release/packages/ucl/sendmail-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/smbutils/Makefile | 7 | ||||
| -rw-r--r-- | packages/smbutils/smbutils.ucl (renamed from release/packages/ucl/smbutils-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/sound/Makefile | 8 | ||||
| -rw-r--r-- | packages/sound/sound.ucl (renamed from release/packages/ucl/sound-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/ssh/Makefile | 7 | ||||
| -rw-r--r-- | packages/ssh/ssh.ucl (renamed from release/packages/ucl/ssh-all.ucl) | 6 | ||||
| -rw-r--r-- | packages/syscons-data/Makefile | 6 | ||||
| -rw-r--r-- | packages/syscons-data/syscons-data.ucl (renamed from release/packages/ucl/syscons-data-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/syslogd/Makefile | 5 | ||||
| -rw-r--r-- | packages/syslogd/syslogd.ucl (renamed from release/packages/ucl/syslogd-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/tcpd/Makefile | 6 | ||||
| -rw-r--r-- | packages/tcpd/tcpd.ucl (renamed from release/packages/ucl/tcpd-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/telnet/Makefile | 3 | ||||
| -rw-r--r-- | packages/telnet/telnet.ucl (renamed from release/packages/ucl/telnet-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/tests/Makefile | 22 | ||||
| -rw-r--r-- | packages/tests/tests.ucl (renamed from release/packages/ucl/tests-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/toolchain/Makefile | 7 | ||||
| -rw-r--r-- | packages/toolchain/toolchain.ucl (renamed from release/packages/ucl/toolchain-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/ufs/Makefile | 7 | ||||
| -rw-r--r-- | packages/ufs/ufs.ucl (renamed from release/packages/ucl/ufs-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/utilities/Makefile | 14 | ||||
| -rw-r--r-- | packages/utilities/common.ucl (renamed from release/packages/ucl/utilities-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/utilities/utilities.ucl (renamed from release/packages/ucl/utilities.ucl) | 2 | ||||
| -rw-r--r-- | packages/vi/Makefile | 5 | ||||
| -rw-r--r-- | packages/vi/vi.ucl (renamed from release/packages/ucl/vi-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/vt-data/Makefile | 6 | ||||
| -rw-r--r-- | packages/vt-data/vt-data.ucl (renamed from release/packages/ucl/vt-data-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/wpa/Makefile | 5 | ||||
| -rw-r--r-- | packages/wpa/wpa.ucl (renamed from release/packages/ucl/wpa-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/xz/Makefile | 7 | ||||
| -rw-r--r-- | packages/xz/xz.ucl (renamed from release/packages/ucl/xz-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/yp/Makefile | 8 | ||||
| -rw-r--r-- | packages/yp/yp.ucl (renamed from release/packages/ucl/yp-all.ucl) | 4 | ||||
| -rw-r--r-- | packages/zfs/Makefile | 8 | ||||
| -rw-r--r-- | packages/zfs/zfs.ucl (renamed from release/packages/ucl/zfs-all.ucl) | 6 | ||||
| -rw-r--r-- | packages/zlib/Makefile | 8 | ||||
| -rw-r--r-- | packages/zlib/zlib.ucl (renamed from release/packages/ucl/zlib-all.ucl) | 6 | ||||
| -rw-r--r-- | packages/zoneinfo/Makefile | 7 | ||||
| -rw-r--r-- | packages/zoneinfo/zoneinfo.ucl (renamed from release/packages/ucl/zoneinfo-all.ucl) | 6 | ||||
| -rw-r--r-- | packages/zstd/Makefile | 7 | ||||
| -rw-r--r-- | packages/zstd/zstd.ucl (renamed from release/packages/ucl/zstd-all.ucl) | 4 | ||||
| -rw-r--r-- | release/packages/ucl/at.ucl | 31 | ||||
| -rw-r--r-- | release/packages/ucl/bluetooth.ucl | 27 | ||||
| -rw-r--r-- | release/packages/ucl/bsdconfig.ucl | 24 | ||||
| -rw-r--r-- | release/packages/ucl/bsdinstall.ucl | 29 | ||||
| -rw-r--r-- | release/packages/ucl/certctl.ucl | 23 | ||||
| -rw-r--r-- | release/packages/ucl/clang.ucl | 14 | ||||
| -rw-r--r-- | release/packages/ucl/clibs.ucl | 1 | ||||
| -rw-r--r-- | release/packages/ucl/devd.ucl | 24 | ||||
| -rw-r--r-- | release/packages/ucl/dhclient.ucl | 26 | ||||
| -rw-r--r-- | release/packages/ucl/newsyslog.ucl | 6 | ||||
| -rw-r--r-- | release/packages/ucl/periodic.ucl | 23 | ||||
| -rw-r--r-- | release/packages/ucl/rc.ucl | 27 | ||||
| -rw-r--r-- | release/packages/ucl/rcmds.ucl | 25 | ||||
| -rw-r--r-- | release/packages/ucl/sendmail.ucl | 24 | ||||
| -rw-r--r-- | release/packages/ucl/tests.ucl | 46 | ||||
| -rw-r--r-- | release/packages/ucl/yp.ucl | 24 | ||||
| -rw-r--r-- | share/mk/bsd.pkg.mk | 218 | ||||
| -rw-r--r-- | share/mk/bsd.pkg.pre.mk | 92 | ||||
| -rw-r--r-- | share/mk/bsd.subdir.mk | 4 |
306 files changed, 1493 insertions, 1005 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index 8d4dd3570a7b..ea066d8aad8a 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -2260,48 +2260,15 @@ create-world-packages: _pkgbootstrap .PHONY @cd ${WSTAGEDIR} ; \ ${METALOG_SORT_CMD} ${WSTAGEDIR}/${DISTDIR}/METALOG | \ awk -f ${SRCDIR}/release/scripts/mtree-to-plist.awk - @for plist in ${WSTAGEDIR}/*.plist; do \ - plist=$${plist##*/} ; \ - pkgname=$${plist%.plist} ; \ - echo "_PKGS+= $${pkgname}" ; \ - done > ${WSTAGEDIR}/packages.mk - ${_+_}@cd ${.CURDIR}; \ - PATH="${TMPPATH}" ${MAKE} -f Makefile.inc1 \ - create-world-packages-jobs \ - SOURCE_DATE_EPOCH=${SOURCE_DATE_EPOCH} \ - .MAKE.JOB.PREFIX= - -.if make(create-world-packages-jobs) -.include "${WSTAGEDIR}/packages.mk" -.endif - -create-world-packages-jobs: .PHONY -.for pkgname in ${_PKGS} -create-world-packages-jobs: create-world-package-${pkgname} -create-world-package-${pkgname}: .PHONY - @sh ${SRCDIR}/release/packages/generate-ucl.sh -o ${pkgname} \ - -s ${SRCDIR} -u ${WSTAGEDIR}/${pkgname}.ucl - @if [ "$$(grep -vc '^@dir' ${WSTAGEDIR}/${pkgname}.plist)" -gt 0 ]; then \ - awk -F\" ' \ - /^name/ { printf("===> Creating %s-", $$2); next } \ - /^version/ { print $$2; next } \ - ' ${WSTAGEDIR}/${pkgname}.ucl && \ - ${PKG_CMD} -o ABI=${PKG_ABI} -o ALLOW_BASE_SHLIBS=yes \ - -o SHLIB_PROVIDE_PATHS_NATIVE=/lib,/usr/lib \ - ${_ALL_LIBCOMPATS:range:@i@-o SHLIB_PROVIDE_PATHS_COMPAT_${_ALL_LIBCOMPATS:[$i]}=/usr/lib${_ALL_libcompats:[$i]}@} \ - -o OSVERSION="${SRCRELDATE}" \ - create -f ${PKG_FORMAT} ${PKG_CLEVEL} -T${PKG_CTHREADS} \ - -M ${WSTAGEDIR}/${pkgname}.ucl \ - -p ${WSTAGEDIR}/${pkgname}.plist \ - -r ${WSTAGEDIR} \ - -o ${REPODIR}/${PKG_ABI}/${PKG_OUTPUT_DIR}; \ - else \ - awk -F\" ' \ - /^name/ { printf("===> Skipping %s-", $$2); next } \ - /^version/ { print $$2; next } \ - ' ${WSTAGEDIR}/${pkgname}.ucl; \ - fi -.endfor + # bsd.pkg.mk doesn't always know about the dependencies of things + # it builds, so for now, always run clean here. + ${CROSSENV} ${MAKE} -C ${.CURDIR}/packages \ + FLUA=${WORLDTMP}/legacy/usr/libexec/flua \ + REPODIR=${REPODIR} \ + WSTAGEDIR=${WSTAGEDIR} \ + PKG_VERSION=${PKG_VERSION} \ + MK_AUTO_OBJ=yes \ + clean all stagepackages create-sets-packages-jobs: .PHONY create-sets-packages create-sets-packages: .PHONY diff --git a/packages/Makefile b/packages/Makefile new file mode 100644 index 000000000000..ba70a38880e0 --- /dev/null +++ b/packages/Makefile @@ -0,0 +1,165 @@ +# SPDX-License-Identifier: ISC +# +# Copyright (c) 2026 Lexi Winter <ivy@FreeBSD.org> +# +# Permission to use, copy, modify, and distribute this software for any +# purpose with or without fee is hereby granted, provided that the above +# copyright notice and this permission notice appear in all copies. +# +# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +.include <src.opts.mk> + +SUBDIR= blocklist \ + bsdconfig \ + bzip2 \ + clibs \ + cron \ + ctl \ + devd \ + devmatch \ + dhclient \ + fetch \ + flua \ + firmware-iwm \ + fwget \ + geom \ + ggate \ + lib9p \ + libarchive \ + libbegemot \ + libblocksruntime \ + libbsdstat \ + libcasper \ + libcompat \ + libcompiler_rt \ + libdwarf \ + libevent1 \ + libexecinfo \ + libpathconv \ + librss \ + libsqlite3 \ + libthread_db \ + libucl \ + libyaml \ + locales \ + mandoc \ + mtree \ + natd \ + ncurses \ + netmap \ + newsyslog \ + nfs \ + nvme-tools \ + pam \ + periodic \ + powerd \ + ppp \ + quotacheck \ + rc \ + rcmds \ + resolvconf \ + rip \ + runtime \ + smbutils \ + syslogd \ + tcpd \ + toolchain \ + ufs \ + utilities \ + xz \ + zlib \ + zstd + +.if ${MK_ACCT} != "no" || ${MK_UTMPX} != "no" +SUBDIR+= acct +.endif + +.if ${MK_CLANG} != "no" || ${MK_TOOLCHAIN} != "no" +SUBDIR+= clang +.endif + +.if ${MK_AUTHPF} != "no" || ${MK_PF} != "no" +SUBDIR+= pf +.endif + +# XXX - certctl probably shouldn't depend on caroot. This logic comes from +# the src build, so we have to match it. +.if ${MK_CAROOT} != "no" +SUBDIR.${MK_OPENSSL}+= certctl +SUBDIR+= caroot +.endif + +SUBDIR.${MK_AT}+= at +SUBDIR.${MK_AUDIT}+= audit +SUBDIR.${MK_AUTOFS}+= autofs +SUBDIR.${MK_BLUETOOTH}+= bluetooth +SUBDIR.${MK_BOOT}+= bootloader +SUBDIR.${MK_BSDINSTALL}+= bsdinstall +SUBDIR.${MK_BSNMP}+= bsnmp +SUBDIR.${MK_CCD}+= ccdconfig +SUBDIR.${MK_CUSE}+= libcuse +SUBDIR.${MK_CXGBETOOL}+= cxgbe-tools +SUBDIR.${MK_DMAGENT}+= dma +SUBDIR.${MK_DTRACE}+= ctf dtrace dwatch +SUBDIR.${MK_EE}+= ee +SUBDIR.${MK_EFI}+= efi-tools +SUBDIR.${MK_EXAMPLES}+= examples +SUBDIR.${MK_FILE}+= libmagic +SUBDIR.${MK_FLOPPY}+= fd +SUBDIR.${MK_FTP}+= ftp +SUBDIR.${MK_GAMES}+= games +SUBDIR.${MK_GOOGLETEST}+= googletest +SUBDIR.${MK_HAST}+= hast +SUBDIR.${MK_HYPERV}+= hyperv-tools +SUBDIR.${MK_INETD}+= inetd +SUBDIR.${MK_IPFILTER}+= ipf +SUBDIR.${MK_IPFW}+= ipfw +SUBDIR.${MK_ISCSI}+= iscsi +SUBDIR.${MK_JAIL}+= jail +SUBDIR.${MK_KERBEROS}+= kerberos kerberos-kdc librpcsec_gss gssd +SUBDIR.${MK_LDNS}+= libldns +SUBDIR.${MK_LEGACY_CONSOLE}+= console-tools +SUBDIR.${MK_LLD}+= lld +SUBDIR.${MK_LLDB}+= lldb +SUBDIR.${MK_LPR}+= lp +SUBDIR.${MK_MAKE}+= bmake +SUBDIR.${MK_MAN}+= kernel-man +SUBDIR.${MK_MLX5TOOL}+= mlx-tools +SUBDIR.${MK_NIS}+= yp +SUBDIR.${MK_NTP}+= ntp +SUBDIR.${MK_NUAGEINIT}+= nuageinit +SUBDIR.${MK_OFED}+= rdma +SUBDIR.${MK_OPENSSH}+= ssh +SUBDIR.${MK_OPENSSL}+= openssl +SUBDIR.${MK_PKGBOOTSTRAP}+= pkg-bootstrap +SUBDIR.${MK_PKGCONF}+= pkgconf +SUBDIR.${MK_PMC}+= pmc +SUBDIR.${MK_RESCUE}+= rescue +SUBDIR.${MK_SENDMAIL}+= sendmail libmilter +SUBDIR.${MK_SOUND}+= sound +SUBDIR.${MK_SYSCONS}+= syscons-data +SUBDIR.${MK_TCSH}+= csh +SUBDIR.${MK_TELNET}+= telnet +SUBDIR.${MK_TESTS}+= tests +SUBDIR.${MK_TESTS_SUPPORT}+= atf kyua +SUBDIR.${MK_UNBOUND}+= local-unbound +SUBDIR.${MK_VI}+= vi +SUBDIR.${MK_VT}+= vt-data +SUBDIR.${MK_WIRELESS}+= hostapd wpa +SUBDIR.${MK_ZFS}+= zfs +SUBDIR.${MK_ZONEINFO}+= zoneinfo + +.include <bsd.arch.inc.mk> + +SUBDIR_PARALLEL= + +.ORDER: all stagepackages + +.include <bsd.subdir.mk> diff --git a/packages/Makefile.amd64 b/packages/Makefile.amd64 new file mode 100644 index 000000000000..ff2780f326e3 --- /dev/null +++ b/packages/Makefile.amd64 @@ -0,0 +1,23 @@ +# SPDX-License-Identifier: ISC +# +# Copyright (c) 2026 Lexi Winter <ivy@FreeBSD.org> +# +# Permission to use, copy, modify, and distribute this software for any +# purpose with or without fee is hereby granted, provided that the above +# copyright notice and this permission notice appear in all copies. +# +# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +SUBDIR+= libvgl + +SUBDIR.${MK_ACPI}+= acpi +SUBDIR.${MK_APM}+= apm +SUBDIR.${MK_BHYVE}+= bhyve +SUBDIR.${MK_BHYVE}+= libvmmapi +SUBDIR.${MK_PMC}+= libipt diff --git a/packages/Makefile.arm b/packages/Makefile.arm new file mode 100644 index 000000000000..db36ead23828 --- /dev/null +++ b/packages/Makefile.arm @@ -0,0 +1,18 @@ +# SPDX-License-Identifier: ISC +# +# Copyright (c) 2026 Lexi Winter <ivy@FreeBSD.org> +# +# Permission to use, copy, modify, and distribute this software for any +# purpose with or without fee is hereby granted, provided that the above +# copyright notice and this permission notice appear in all copies. +# +# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +SUBDIR.${MK_ACPI}+= acpi +SUBDIR.${MK_APM}+= apm diff --git a/packages/Makefile.arm64 b/packages/Makefile.arm64 new file mode 100644 index 000000000000..4bfca51bd031 --- /dev/null +++ b/packages/Makefile.arm64 @@ -0,0 +1,20 @@ +# SPDX-License-Identifier: ISC +# +# Copyright (c) 2026 Lexi Winter <ivy@FreeBSD.org> +# +# Permission to use, copy, modify, and distribute this software for any +# purpose with or without fee is hereby granted, provided that the above +# copyright notice and this permission notice appear in all copies. +# +# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +SUBDIR.${MK_ACPI}+= acpi +SUBDIR.${MK_APM}+= apm +SUBDIR.${MK_BHYVE}+= bhyve +SUBDIR.${MK_BHYVE}+= libvmmapi diff --git a/packages/Makefile.powerpc b/packages/Makefile.powerpc new file mode 100644 index 000000000000..db36ead23828 --- /dev/null +++ b/packages/Makefile.powerpc @@ -0,0 +1,18 @@ +# SPDX-License-Identifier: ISC +# +# Copyright (c) 2026 Lexi Winter <ivy@FreeBSD.org> +# +# Permission to use, copy, modify, and distribute this software for any +# purpose with or without fee is hereby granted, provided that the above +# copyright notice and this permission notice appear in all copies. +# +# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +SUBDIR.${MK_ACPI}+= acpi +SUBDIR.${MK_APM}+= apm diff --git a/packages/Makefile.riscv64 b/packages/Makefile.riscv64 new file mode 100644 index 000000000000..4bfca51bd031 --- /dev/null +++ b/packages/Makefile.riscv64 @@ -0,0 +1,20 @@ +# SPDX-License-Identifier: ISC +# +# Copyright (c) 2026 Lexi Winter <ivy@FreeBSD.org> +# +# Permission to use, copy, modify, and distribute this software for any +# purpose with or without fee is hereby granted, provided that the above +# copyright notice and this permission notice appear in all copies. +# +# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +SUBDIR.${MK_ACPI}+= acpi +SUBDIR.${MK_APM}+= apm +SUBDIR.${MK_BHYVE}+= bhyve +SUBDIR.${MK_BHYVE}+= libvmmapi diff --git a/packages/acct/Makefile b/packages/acct/Makefile new file mode 100644 index 000000000000..951ef1f994ea --- /dev/null +++ b/packages/acct/Makefile @@ -0,0 +1,3 @@ +WORLDPACKAGE= acct + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/acct-all.ucl b/packages/acct/acct.ucl index e6c98c3180ce..a96e3cc08471 100644 --- a/release/packages/ucl/acct-all.ucl +++ b/packages/acct/acct.ucl @@ -29,7 +29,3 @@ lastcomm(1) command to view this information. However, system accounting is not intended as a security auditing mechanism; use the OpenBSM auditing system provided in the $PKG_NAME_PREFIX-audit package for that. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/acpi/Makefile b/packages/acpi/Makefile new file mode 100644 index 000000000000..360ecf22e9e7 --- /dev/null +++ b/packages/acpi/Makefile @@ -0,0 +1,12 @@ +WORLDPACKAGE= acpi + +# On these platforms, acpi only contains config files. +.if ${MACHINE_ARCH} == "armv7" || ${MACHINE} == "powerpc" || \ + ${MACHINE_ARCH} == "riscv64" +SUBPACKAGES= +.endif + +# ACPI isn't applicable in a jail. +PKG_SETS= optional + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/acpi-all.ucl b/packages/acpi/acpi.ucl index 9b63b825bd60..96e63db64d1d 100644 --- a/release/packages/ucl/acpi-all.ucl +++ b/packages/acpi/acpi.ucl @@ -34,7 +34,3 @@ ACPI implementation in the kernel: * acpidump(8) dumps the system's raw ACPI data. * iasl(8) is the Intel ACPI compiler/decompiler EOD - -annotations { - set = "optional" -} diff --git a/packages/apm/Makefile b/packages/apm/Makefile new file mode 100644 index 000000000000..ddf8d1ed12ae --- /dev/null +++ b/packages/apm/Makefile @@ -0,0 +1,12 @@ +WORLDPACKAGE= apm + +# On non-amd64 platforms, this package only contain an rc script. +# (This should be fixed.) +.if ${MACHINE_CPUARCH} != "amd64" +SUBPACKAGES= +.endif + +# APM isn't applicable to jails. +PKG_SETS= optional + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/apm-all.ucl b/packages/apm/apm.ucl index a0ade7fb8a5f..1318befc4273 100644 --- a/release/packages/ucl/apm-all.ucl +++ b/packages/apm/apm.ucl @@ -27,7 +27,3 @@ This package provides apm(8), a utility which can be used to monitor the APM state and change the system power mode, and the /etc/rc.d/apm service which can enable and disable APM at system startup and shutdown. EOD - -annotations { - set = "optional" -} diff --git a/packages/at/Makefile b/packages/at/Makefile new file mode 100644 index 000000000000..1245e12fb58d --- /dev/null +++ b/packages/at/Makefile @@ -0,0 +1,10 @@ +WORLDPACKAGE= at + +PKG_SETS= minimal minimal-jail + +# atrun relies on cron to work. +PKG_DEPS.at+= cron +# at(1) passes the command to /bin/sh +PKG_DEPS.at+= runtime + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/at-all.ucl b/packages/at/at.ucl index 32c720c48b96..2a66f1a03183 100644 --- a/release/packages/ucl/at-all.ucl +++ b/packages/at/at.ucl @@ -27,7 +27,3 @@ This package provides two utilities used to execute a command at a later time: Note that batch(1) is not intended to be a full batch scheduling system, and can only run commands on the local system. EOD - -annotations { - set = "minimal,minimal-jail" -} diff --git a/packages/atf/Makefile b/packages/atf/Makefile new file mode 100644 index 000000000000..2ed0edee9679 --- /dev/null +++ b/packages/atf/Makefile @@ -0,0 +1,4 @@ +WORLDPACKAGE= atf +SUBPACKAGES= dbg dev lib man + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/atf-all.ucl b/packages/atf/atf.ucl index 6e86955fb539..4d4bf8b6b69b 100644 --- a/release/packages/ucl/atf-all.ucl +++ b/packages/atf/atf.ucl @@ -33,7 +33,3 @@ test programs in a variety of languages. These libraries all offer similar functionality and any test program written with them exposes a consistent user interface. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/audit/Makefile b/packages/audit/Makefile new file mode 100644 index 000000000000..1d0014ecebba --- /dev/null +++ b/packages/audit/Makefile @@ -0,0 +1,5 @@ +WORLDPACKAGE= audit +SUBPACKAGES= dbg dev lib man +COMPAT_PKGS= dbg dev lib + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/audit-all.ucl b/packages/audit/audit.ucl index 0ff79f7c6b73..c3181c6cedbd 100644 --- a/release/packages/ucl/audit-all.ucl +++ b/packages/audit/audit.ucl @@ -42,7 +42,3 @@ system. This package provides the auditing daemon auditd(8) and various utilities used to manage the auditing system and work with audit data. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/autofs/Makefile b/packages/autofs/Makefile new file mode 100644 index 000000000000..9f43e22ee516 --- /dev/null +++ b/packages/autofs/Makefile @@ -0,0 +1,3 @@ +WORLDPACKAGE= autofs + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/autofs-all.ucl b/packages/autofs/autofs.ucl index d45949847ce1..a51292e78faf 100644 --- a/release/packages/ucl/autofs-all.ucl +++ b/packages/autofs/autofs.ucl @@ -27,7 +27,3 @@ or to provide automated access to NFS servers via the /net mountpoint. This package provides the automountd(8) daemon which is responsible for managing this, as well as the management utility automount(8). EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/bhyve/Makefile b/packages/bhyve/Makefile new file mode 100644 index 000000000000..26658cf9934f --- /dev/null +++ b/packages/bhyve/Makefile @@ -0,0 +1,3 @@ +WORLDPACKAGE= bhyve + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/bhyve-all.ucl b/packages/bhyve/bhyve.ucl index c01a826a123f..ac250b0f2ad4 100644 --- a/release/packages/ucl/bhyve-all.ucl +++ b/packages/bhyve/bhyve.ucl @@ -40,7 +40,3 @@ loader. An example script is also provided in /usr/share/examples/bhyve/vmrun.sh which can be used to run simple virtual machines. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/blocklist/Makefile b/packages/blocklist/Makefile new file mode 100644 index 000000000000..07333b5e4055 --- /dev/null +++ b/packages/blocklist/Makefile @@ -0,0 +1,5 @@ +WORLDPACKAGE= blocklist +SUBPACKAGES= dbg dev lib man +COMPAT_PKGS= dbg dev lib + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/blocklist-all.ucl b/packages/blocklist/blocklist.ucl index 273df85fc22b..dea2840af22d 100644 --- a/release/packages/ucl/blocklist-all.ucl +++ b/packages/blocklist/blocklist.ucl @@ -28,7 +28,3 @@ only daemons which have had blocklist support added will work. The blocklistd(8) daemon was previously named blacklistd(8). EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/bluetooth/Makefile b/packages/bluetooth/Makefile new file mode 100644 index 000000000000..d47e76c3731c --- /dev/null +++ b/packages/bluetooth/Makefile @@ -0,0 +1,11 @@ +WORLDPACKAGE= bluetooth +SUBPACKAGES= dbg dev lib man +COMPAT_PKGS= dbg dev lib + +# Bluetooth isn't applicable to jails. +PKG_SETS= optional + +# rfcomm_pppd(8) uses ppp(8) +PKG_DEPS.bluetooth+= ppp + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/bluetooth-all.ucl b/packages/bluetooth/bluetooth.ucl index 55ce4f37f475..a2376996ec60 100644 --- a/release/packages/ucl/bluetooth-all.ucl +++ b/packages/bluetooth/bluetooth.ucl @@ -24,7 +24,3 @@ network devices, including the /etc/rc.d/bluetooth service which manages the Bluetooth stack when Bluetooth devices are attached or removed, and the rfcomm_pppd(8) daemon which manages PPP connections over Bluetooth. EOD - -annotations { - set = "optional" -} diff --git a/packages/bmake/Makefile b/packages/bmake/Makefile new file mode 100644 index 000000000000..a5aed0874fc7 --- /dev/null +++ b/packages/bmake/Makefile @@ -0,0 +1,5 @@ +WORLDPACKAGE= bmake + +PKG_SETS= devel + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/bmake-all.ucl b/packages/bmake/bmake.ucl index 8283d0ed5c24..fee825f7fe91 100644 --- a/release/packages/ucl/bmake-all.ucl +++ b/packages/bmake/bmake.ucl @@ -22,7 +22,3 @@ desc = <<EOD make(1) allows programs to be built from source files based on a specification of the program's dependencies called a Makefile. EOD - -annotations { - set = devel -} diff --git a/packages/bootloader/Makefile b/packages/bootloader/Makefile new file mode 100644 index 000000000000..7f70541f8cfd --- /dev/null +++ b/packages/bootloader/Makefile @@ -0,0 +1,24 @@ +.include <src.opts.mk> + +WORLDPACKAGE= bootloader +SUBPACKAGES= + +# bootloader-dbg is only built if we're building userboot, which is specific +# to amd64. +.if ${MACHINE_CPUARCH} == "amd64" +SUBPACKAGES+= dbg +.endif + +# The bootloader "dev" package only contains manpages. +.if ${MK_MAN} != "no" +. if ${MK_MANSPLITPKG} != "no" +SUBPACKAGES+= man +. else +SUBPACKAGES+= dev +. endif +.endif + +# The bootloader isn't normally used in a jail. +PKG_SETS= minimal + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/bootloader-all.ucl b/packages/bootloader/bootloader.ucl index a0487abeba8f..44bf45cf79e1 100644 --- a/release/packages/ucl/bootloader-all.ucl +++ b/packages/bootloader/bootloader.ucl @@ -23,7 +23,3 @@ The boot loader is used to bootstrap the kernel from the system firmware environment during startup. This package contains the loader itself and various configuration files and scripts used by the loader. EOD - -annotations { - set = minimal -} diff --git a/packages/bsdconfig/Makefile b/packages/bsdconfig/Makefile new file mode 100644 index 000000000000..94cb02346083 --- /dev/null +++ b/packages/bsdconfig/Makefile @@ -0,0 +1,7 @@ +WORLDPACKAGE= bsdconfig +SUBPACKAGES= man + +# bsdconfig is written in shell script, so it needs /bin/sh +PKG_DEPS.bsdconfig+= runtime + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/bsdconfig-all.ucl b/packages/bsdconfig/bsdconfig.ucl index 42e4114ba20d..ba34e5b96fe9 100644 --- a/release/packages/ucl/bsdconfig-all.ucl +++ b/packages/bsdconfig/bsdconfig.ucl @@ -25,7 +25,3 @@ configuration, including services, networking and disks. This package also provides sysrc(8), a command-line utility for managing the rc.conf(5) configuration. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/bsdinstall/Makefile b/packages/bsdinstall/Makefile new file mode 100644 index 000000000000..251ce5105942 --- /dev/null +++ b/packages/bsdinstall/Makefile @@ -0,0 +1,8 @@ +WORLDPACKAGE= bsdinstall + +# bsdinstall is written in shell script, so it needs /bin/sh +PKG_DEPS.bsdinstall+= runtime +# The pkgbase script requires flua +PKG_DEPS.bsdinstall+= flua + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/bsdinstall-all.ucl b/packages/bsdinstall/bsdinstall.ucl index a3fa820e1383..cfa303bc2ba4 100644 --- a/release/packages/ucl/bsdinstall-all.ucl +++ b/packages/bsdinstall/bsdinstall.ucl @@ -35,7 +35,3 @@ bsdinstall is used for installation of new systems, both for system setup from installation media, e.g., CD-ROMs, and for use on live systems to prepare VM images and jails. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/bsnmp/Makefile b/packages/bsnmp/Makefile new file mode 100644 index 000000000000..2a281daf0a2a --- /dev/null +++ b/packages/bsnmp/Makefile @@ -0,0 +1,5 @@ +WORLDPACKAGE= bsnmp +SUBPACKAGES= dbg dev man +COMPAT_PKGS= dbg dev lib + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/bsnmp-all.ucl b/packages/bsnmp/bsnmp.ucl index 9d02968b0ebf..683b6ff51a53 100644 --- a/release/packages/ucl/bsnmp-all.ucl +++ b/packages/bsnmp/bsnmp.ucl @@ -40,7 +40,3 @@ Protocol). It is intended to serve only the absolute basic MIBs and implement all other MIBs through loadable modules. In this way the bsnmpd can be used in unexpected ways. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/bzip2/Makefile b/packages/bzip2/Makefile new file mode 100644 index 000000000000..fd81d331d8b6 --- /dev/null +++ b/packages/bzip2/Makefile @@ -0,0 +1,7 @@ +WORLDPACKAGE= bzip2 +SUBPACKAGES= dbg dev lib man +COMPAT_PKGS= dbg dev lib + +PKG_SETS= minimal minimal-jail + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/bzip2-all.ucl b/packages/bzip2/bzip2.ucl index 5bf1ef0c70fa..8c2090cf9ba0 100644 --- a/release/packages/ucl/bzip2-all.ucl +++ b/packages/bzip2/bzip2.ucl @@ -6,7 +6,3 @@ algorithm, and Huffman coding. Compression is generally considerably better than that achieved by more conventional LZ77/LZ78-based compressors, and approaches the performance of the PPM family of statistical compressors. EOD - -annotations { - set = "minimal,minimal-jail" -} diff --git a/packages/caroot/Makefile b/packages/caroot/Makefile new file mode 100644 index 000000000000..edf8246090d8 --- /dev/null +++ b/packages/caroot/Makefile @@ -0,0 +1,11 @@ +WORLDPACKAGE= caroot +SUBPACKAGES= + +PKG_SETS= minimal minimal-jail + +UCLSRC= common.ucl +UCLSRC.caroot= caroot.ucl + +PKG_DEPS.caroot+= certctl + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/caroot.ucl b/packages/caroot/caroot.ucl index 72c1105248c0..f94d7e9dd4b9 100644 --- a/release/packages/ucl/caroot.ucl +++ b/packages/caroot/caroot.ucl @@ -1,8 +1,5 @@ -deps { - "certctl": { - version = "${VERSION}" - } -} +.include(try=false) "${SRCDIR}/common.ucl" + scripts: { post-install = "/usr/sbin/certctl -D${PKG_ROOTDIR}/ ${PKG_METALOG:+-U -M $PKG_METALOG} rehash" post-deinstall = "/usr/sbin/certctl -D${PKG_ROOTDIR}/ ${PKG_METALOG:+-U -M $PKG_METALOG} rehash" diff --git a/release/packages/ucl/caroot-all.ucl b/packages/caroot/common.ucl index 213ef37f2407..56861669d871 100644 --- a/release/packages/ucl/caroot-all.ucl +++ b/packages/caroot/common.ucl @@ -30,7 +30,3 @@ refer to: https://www.mozilla.org/en-US/about/governance/policies/security-group/certs/policy/ EOD - -annotations { - set = "minimal,minimal-jail" -} diff --git a/packages/ccdconfig/Makefile b/packages/ccdconfig/Makefile new file mode 100644 index 000000000000..d21cb32b6968 --- /dev/null +++ b/packages/ccdconfig/Makefile @@ -0,0 +1,6 @@ +WORLDPACKAGE= ccdconfig + +# ccdconfig doesn't work in a jail. +PKG_SETS= optional + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/ccdconfig-all.ucl b/packages/ccdconfig/ccdconfig.ucl index 7c23c56d9a29..8f7d1e4300a5 100644 --- a/release/packages/ucl/ccdconfig-all.ucl +++ b/packages/ccdconfig/ccdconfig.ucl @@ -22,7 +22,3 @@ desc = <<EOD ccdconfig(8) is used to configure the concatenated disk driver, ccd(4). ccdconfig(8) may also be started on boot using the "ccd" rc(8) service. EOD - -annotations { - set = "optional" -} diff --git a/packages/certctl/Makefile b/packages/certctl/Makefile new file mode 100644 index 000000000000..a516f66305f6 --- /dev/null +++ b/packages/certctl/Makefile @@ -0,0 +1,7 @@ +WORLDPACKAGE= certctl + +PKG_SETS= minimal minimal-jail + +PKG_DEPS.certctl+= openssl + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/certctl-all.ucl b/packages/certctl/certctl.ucl index 4fe459eb3091..c535e20bc9e6 100644 --- a/release/packages/ucl/certctl-all.ucl +++ b/packages/certctl/certctl.ucl @@ -31,7 +31,3 @@ desc = <<EOD The certctl utility manages the list of TLS Certificate Authorities that are trusted by applications that use OpenSSL. EOD - -annotations { - set = "minimal,minimal-jail" -} diff --git a/packages/clang/Makefile b/packages/clang/Makefile new file mode 100644 index 000000000000..8a8dd525657a --- /dev/null +++ b/packages/clang/Makefile @@ -0,0 +1,10 @@ +WORLDPACKAGE= clang +SUBPACKAGES= dbg dev man + +PKG_SETS= devel +PKG_LICENSES= "Apache-2.0 WITH LLVM-exception" + +PKG_DEPS.clang+= lld +PKG_DEPS.clang+= libcompiler_rt-dev + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/clang-all.ucl b/packages/clang/clang.ucl index 86cac409fa9e..89529a24fb6d 100644 --- a/release/packages/ucl/clang-all.ucl +++ b/packages/clang/clang.ucl @@ -25,8 +25,7 @@ This package provides the clang(1) frontend as well as related utilities for working with object files. EOD -licenses = [ "Apache-2.0 WITH LLVM-exception" ] - -annotations { - set = devel -} +shlibs_required_ignore: [ + "libc.so.7:32", + "libgcc_s.so.1:32", +] diff --git a/packages/clibs/Makefile b/packages/clibs/Makefile new file mode 100644 index 000000000000..d2184c5e6a23 --- /dev/null +++ b/packages/clibs/Makefile @@ -0,0 +1,8 @@ +WORLDPACKAGE= clibs +SUBPACKAGES= dbg dev man +COMPAT_PKGS= dbg dev lib + +PKG_SETS= minimal minimal-jail +PKG_VITAL.clibs= + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/clibs-all.ucl b/packages/clibs/clibs.ucl index fed3c0ee5251..1a6b694fe2a1 100644 --- a/release/packages/ucl/clibs-all.ucl +++ b/packages/clibs/clibs.ucl @@ -22,7 +22,3 @@ desc = <<EOD This package provides the basic runtime libraries required for system operation, including libc and libc++, and the runtime link loader /libexec/ld-elf.so.1. EOD - -annotations { - set = "minimal,minimal-jail" -} diff --git a/packages/console-tools/Makefile b/packages/console-tools/Makefile new file mode 100644 index 000000000000..db6063c93eed --- /dev/null +++ b/packages/console-tools/Makefile @@ -0,0 +1,6 @@ +WORLDPACKAGE= console-tools + +# console-tools isn't applicable to jails. +PKG_SETS= optional + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/console-tools-all.ucl b/packages/console-tools/console-tools.ucl index 1eef02d8370d..fee09a1ea3f5 100644 --- a/release/packages/ucl/console-tools-all.ucl +++ b/packages/console-tools/console-tools.ucl @@ -29,7 +29,3 @@ to the system: * moused(8) can be used to interface with a mouse and provide a graphical mouse cursor on the video console. EOD - -annotations { - set = "optional" -} diff --git a/packages/cron/Makefile b/packages/cron/Makefile new file mode 100644 index 000000000000..532eb8cf6c4b --- /dev/null +++ b/packages/cron/Makefile @@ -0,0 +1,5 @@ +WORLDPACKAGE= cron + +PKG_SETS= minimal minimal-jail + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/cron-all.ucl b/packages/cron/cron.ucl index a0aa25bf0405..dbdabd642ec0 100644 --- a/release/packages/ucl/cron-all.ucl +++ b/packages/cron/cron.ucl @@ -25,7 +25,3 @@ file or user-specific crontabs installed using the crontab(1) utility. This implementation of cron(8) is based on Vixie Cron. EOD - -annotations { - set = "minimal,minimal-jail" -} diff --git a/packages/csh/Makefile b/packages/csh/Makefile new file mode 100644 index 000000000000..f10ce49c1c82 --- /dev/null +++ b/packages/csh/Makefile @@ -0,0 +1,3 @@ +WORLDPACKAGE= csh + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/csh-all.ucl b/packages/csh/csh.ucl index 1df758ed29ec..a158b5cd4fcb 100644 --- a/release/packages/ucl/csh-all.ucl +++ b/packages/csh/csh.ucl @@ -38,7 +38,3 @@ interactive login shell and a shell script command processor. It includes a command-line editor, programmable word completion, spelling correction, a history mechanism, job control, and a C-like syntax. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/ctf/Makefile b/packages/ctf/Makefile new file mode 100644 index 000000000000..1311ad18f6cd --- /dev/null +++ b/packages/ctf/Makefile @@ -0,0 +1,8 @@ +WORLDPACKAGE= ctf +SUBPACKAGES= dbg dev lib man +COMPAT_PKGS= dbg dev lib + +PKG_LICENSES= CDDL-1.0 +PKG_SETS= devel + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/ctf-all.ucl b/packages/ctf/ctf.ucl index 970ac3ffb4fa..41e56ffffde7 100644 --- a/release/packages/ucl/ctf-all.ucl +++ b/packages/ctf/ctf.ucl @@ -32,9 +32,3 @@ This package provides the ctfconvert(1), ctfdump(1) and ctfmerge(1) utilities which are used to work with CTF data, and the libctf library which allows applications to access CTF debugging information programmatically. EOD - -licenses = [ "CDDL-1.0" ] - -annotations { - set = devel -} diff --git a/packages/ctl/Makefile b/packages/ctl/Makefile new file mode 100644 index 000000000000..4797b079a430 --- /dev/null +++ b/packages/ctl/Makefile @@ -0,0 +1,6 @@ +WORLDPACKAGE= ctl + +# The CAM target layer doesn't work in a jail. +PKG_SETS= optional + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/ctl-all.ucl b/packages/ctl/ctl.ucl index 9aa4de455df7..22eebb7a2eee 100644 --- a/release/packages/ucl/ctl-all.ucl +++ b/packages/ctl/ctl.ucl @@ -39,7 +39,3 @@ the CAM Target Layer configuration, accepting incoming iSCSI connections, performing authentication and passing connections to the kernel part of the native iSCSI target. EOD - -annotations { - set = "optional" -} diff --git a/packages/cxgbe-tools/Makefile b/packages/cxgbe-tools/Makefile new file mode 100644 index 000000000000..d4f2b7cee687 --- /dev/null +++ b/packages/cxgbe-tools/Makefile @@ -0,0 +1,6 @@ +WORLDPACKAGE= cxgbe-tools + +# cxgbe-tools is not generally useful in a jail. +PKG_SETS= optional + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/cxgbe-tools-all.ucl b/packages/cxgbe-tools/cxgbe-tools.ucl index 34e1718bb83e..33701ae96951 100644 --- a/release/packages/ucl/cxgbe-tools-all.ucl +++ b/packages/cxgbe-tools/cxgbe-tools.ucl @@ -25,7 +25,3 @@ state of the interface, loading firmware, and configuring features such as the hardware packet filter, Quality-of-Service (QoS) scheduler, and TCP offload engine. EOD - -annotations { - set = "optional" -} diff --git a/packages/devd/Makefile b/packages/devd/Makefile new file mode 100644 index 000000000000..5997598ec131 --- /dev/null +++ b/packages/devd/Makefile @@ -0,0 +1,8 @@ +WORLDPACKAGE= devd + +PKG_SETS= minimal minimal-jail + +# devd uses /bin/sh to invoke hooks. +PKG_DEPS.devd+= runtime + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/devd-all.ucl b/packages/devd/devd.ucl index 573343aa758e..0332055ad411 100644 --- a/release/packages/ucl/devd-all.ucl +++ b/packages/devd/devd.ucl @@ -34,7 +34,3 @@ dhclient(8) instance when the same adapter is removed. Another example would be for devd to use a table to locate and load via kldload(8) the proper driver for an unrecognized device that is added to the system. EOD - -annotations { - set = "minimal,minimal-jail" -} diff --git a/packages/devmatch/Makefile b/packages/devmatch/Makefile new file mode 100644 index 000000000000..21bced815eed --- /dev/null +++ b/packages/devmatch/Makefile @@ -0,0 +1,8 @@ +WORLDPACKAGE= devmatch +SUBPACKAGES= dbg dev man +COMPAT_PKGS= dbg dev lib + +# devmatch is not applicable to jails. +PKG_SETS= minimal + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/devmatch-all.ucl b/packages/devmatch/devmatch.ucl index 86560dfbec1a..501e6fc1e9af 100644 --- a/release/packages/ucl/devmatch-all.ucl +++ b/packages/devmatch/devmatch.ucl @@ -23,7 +23,3 @@ The devmatch(8) utility is used to load kernel drivers for hardware attached to the running system. devmatch(8) is started at boot by rc(8), and during system operation by devd(8) when new hardware is attached to the system. EOD - -annotations { - set = minimal -} diff --git a/packages/dhclient/Makefile b/packages/dhclient/Makefile new file mode 100644 index 000000000000..789e700ecfca --- /dev/null +++ b/packages/dhclient/Makefile @@ -0,0 +1,10 @@ +WORLDPACKAGE= dhclient + +PKG_LICENSES= BSD-3-Clause +PKG_SETS= minimal minimal-jail + +# dhclient uses resolvconf to update /etc/resolv.conf in case the +# DHCP server returns nameserver addresses. +PKG_DEPS.dhclient+= resolvconf + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/dhclient-all.ucl b/packages/dhclient/dhclient.ucl index b540a23eeb71..57128e907b10 100644 --- a/release/packages/ucl/dhclient-all.ucl +++ b/packages/dhclient/dhclient.ucl @@ -42,9 +42,3 @@ address. The DHCP client is typically started automatically on boot, or by devd(8) when a new network interface is attached to the system. EOD - -licenses = [ "BSD-3-Clause" ] - -annotations { - set = "minimal,minimal-jail" -} diff --git a/packages/dma/Makefile b/packages/dma/Makefile new file mode 100644 index 000000000000..4684760022b0 --- /dev/null +++ b/packages/dma/Makefile @@ -0,0 +1,3 @@ +WORLDPACKAGE= dma + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/dma-all.ucl b/packages/dma/dma.ucl index 1465fa44f5f1..9abc83e8ee60 100644 --- a/release/packages/ucl/dma-all.ucl +++ b/packages/dma/dma.ucl @@ -46,7 +46,3 @@ systems, nor act as a mail exchanger for other hosts. If an SMTP server is required, or when more advanced mail routing is needed, consider using the $PKG_NAME_PREFIX-sendmail package instead. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/dtrace/Makefile b/packages/dtrace/Makefile new file mode 100644 index 000000000000..584629588bc1 --- /dev/null +++ b/packages/dtrace/Makefile @@ -0,0 +1,9 @@ +WORLDPACKAGE= dtrace +SUBPACKAGES= dbg dev man +COMPAT_PKG= yes +COMPAT_PKGS= dbg dev + +# DTrace doesn't work in a jail. +PKG_SETS= optional + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/dtrace-all.ucl b/packages/dtrace/dtrace.ucl index c41ca59621de..7969ed59c144 100644 --- a/release/packages/ucl/dtrace-all.ucl +++ b/packages/dtrace/dtrace.ucl @@ -27,7 +27,3 @@ This package provides the dtrace(1) utility for executing DTrace scripts written in the D language, the utilities lockstat(1) and plockstat(1), and several example D scripts installed in /usr/share/dtrace. EOD - -annotations { - set = "optional" -} diff --git a/packages/dwatch/Makefile b/packages/dwatch/Makefile new file mode 100644 index 000000000000..8ea10032d42a --- /dev/null +++ b/packages/dwatch/Makefile @@ -0,0 +1,10 @@ +WORLDPACKAGE= dwatch +SUBPACKAGES= man + +# DTrace doesn't work in a jail. +PKG_SETS= optional + +# dwatch is implemented using dtrace. +PKG_DEPS.dwatch+= dtrace + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/dwatch-all.ucl b/packages/dwatch/dwatch.ucl index c4a6527677f7..d4646c78101e 100644 --- a/release/packages/ucl/dwatch-all.ucl +++ b/packages/dwatch/dwatch.ucl @@ -35,7 +35,3 @@ DTrace scripts to coalesce trace output by date/time, process info, and [optionally] probe-specific data. dwatch also includes a set of pre-defined profiles for tracing common system operations. EOD - -annotations { - set = "optional" -} diff --git a/packages/ee/Makefile b/packages/ee/Makefile new file mode 100644 index 000000000000..e8d99a4f5b78 --- /dev/null +++ b/packages/ee/Makefile @@ -0,0 +1,3 @@ +WORLDPACKAGE= ee + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/ee-all.ucl b/packages/ee/ee.ucl index 93f9d5e056af..2caa658c40f3 100644 --- a/release/packages/ucl/ee-all.ucl +++ b/packages/ee/ee.ucl @@ -23,7 +23,3 @@ The Easy Editor, ee(1), is a simple, user-friendly text editor. It provides a full-screen editing interface similar to vi(1), but is easier to learn for new users. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/efi-tools/Makefile b/packages/efi-tools/Makefile new file mode 100644 index 000000000000..c3cce4310655 --- /dev/null +++ b/packages/efi-tools/Makefile @@ -0,0 +1,13 @@ +WORLDPACKAGE= efi-tools +SUBPACKAGES= dbg dev man + +# The 32-bit libraries are only built on certain architectures. +.if ${MACHINE_ARCH} == "aarch64" +COMPAT_PKG= yes +COMPAT_PKGS= dbg dev +.endif + +# efi-tools is not applicable to jails. +PKG_SETS= minimal + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/efi-tools-all.ucl b/packages/efi-tools/efi-tools.ucl index d6dc71dc616c..52c966d7cda1 100644 --- a/release/packages/ucl/efi-tools-all.ucl +++ b/packages/efi-tools/efi-tools.ucl @@ -35,7 +35,3 @@ the UEFI firmware from a running system: * efitable(8) can dump UEFI tables. EOD - -annotations { - set = minimal -} diff --git a/packages/examples/Makefile b/packages/examples/Makefile new file mode 100644 index 000000000000..3271e11bc1f7 --- /dev/null +++ b/packages/examples/Makefile @@ -0,0 +1,4 @@ +WORLDPACKAGE= examples +SUBPACKAGES= + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/examples-all.ucl b/packages/examples/examples.ucl index 15b0b8aadd0f..fe7ce1c461b4 100644 --- a/release/packages/ucl/examples-all.ucl +++ b/packages/examples/examples.ucl @@ -24,7 +24,3 @@ The examples are provided as self-contained C source code. Some useful graphics data related to the "Beastie" mascot are also provided. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/fd/Makefile b/packages/fd/Makefile new file mode 100644 index 000000000000..19fa31cf58ee --- /dev/null +++ b/packages/fd/Makefile @@ -0,0 +1,6 @@ +WORLDPACKAGE= fd + +# Using fd in a jail would be unusual. +PKG_SETS= optional + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/fd-all.ucl b/packages/fd/fd.ucl index ff87148049ef..768dac3c1a0c 100644 --- a/release/packages/ucl/fd-all.ucl +++ b/packages/fd/fd.ucl @@ -26,7 +26,3 @@ by the fdc(4) driver: * fdformat(8) is used to format disks. * fdread(1) and fdwrite(1) read and write data to or from floppy disks. EOD - -annotations { - set = "optional" -} diff --git a/packages/fetch/Makefile b/packages/fetch/Makefile new file mode 100644 index 000000000000..34dee816e415 --- /dev/null +++ b/packages/fetch/Makefile @@ -0,0 +1,8 @@ +WORLDPACKAGE= fetch +SUBPACKAGES= dbg dev man +COMPAT_PKG= yes +COMPAT_PKGS= dbg dev + +PKG_SETS= minimal minimal-jail + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/fetch-all.ucl b/packages/fetch/fetch.ucl index 5a3c0be826fa..b61e895489c5 100644 --- a/release/packages/ucl/fetch-all.ucl +++ b/packages/fetch/fetch.ucl @@ -27,7 +27,3 @@ are newer on the remote site. Also provided is fetch(3), a library which allows applications to use this functionality programmatically. EOD - -annotations { - set = "minimal,minimal-jail" -} diff --git a/packages/firmware-iwm/Makefile b/packages/firmware-iwm/Makefile new file mode 100644 index 000000000000..4ceda65b444f --- /dev/null +++ b/packages/firmware-iwm/Makefile @@ -0,0 +1,6 @@ +WORLDPACKAGE= firmware-iwm +SUBPACKAGES= + +PKG_SETS= minimal + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/firmware-iwm-all.ucl b/packages/firmware-iwm/firmware-iwm.ucl index 7b6b7ed80ed7..c737eecd6dc0 100644 --- a/release/packages/ucl/firmware-iwm-all.ucl +++ b/packages/firmware-iwm/firmware-iwm.ucl @@ -22,7 +22,3 @@ desc = <<EOD This firmware is required for Intel 802.11ac wireless network cards supported by the iwm(4) driver. EOD - -annotations { - set = minimal -} diff --git a/packages/flua/Makefile b/packages/flua/Makefile new file mode 100644 index 000000000000..44e8743e5588 --- /dev/null +++ b/packages/flua/Makefile @@ -0,0 +1,15 @@ +.include <src.opts.mk> + +WORLDPACKAGE= flua +SUBPACKAGES= dbg + +# The flua "dev" package only contains manpages. +.if ${MK_MAN} != "no" +. if ${MK_MANSPLITPKG} != "no" +SUBPACKAGES+= man +. else +SUBPACKAGES+= dev +. endif +.endif + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/flua-all.ucl b/packages/flua/flua.ucl index 7488e2e36839..a855209bf99e 100644 --- a/release/packages/ucl/flua-all.ucl +++ b/packages/flua/flua.ucl @@ -26,7 +26,3 @@ without notice. Supported versions of Lua for general use are available in the FreeBSD Ports Collection. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/ftp/Makefile b/packages/ftp/Makefile new file mode 100644 index 000000000000..cbe7f6864c56 --- /dev/null +++ b/packages/ftp/Makefile @@ -0,0 +1,3 @@ +WORLDPACKAGE= ftp + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/ftp-all.ucl b/packages/ftp/ftp.ucl index 626feabc69af..a8eac7b57946 100644 --- a/release/packages/ucl/ftp-all.ucl +++ b/packages/ftp/ftp.ucl @@ -22,7 +22,3 @@ desc = <<EOD The ftp(1) utility connects to a remote system implementing the Internet FTP protocol (RFC 959) to upload and download files. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/fwget/Makefile b/packages/fwget/Makefile new file mode 100644 index 000000000000..892b5cdedbea --- /dev/null +++ b/packages/fwget/Makefile @@ -0,0 +1,7 @@ +WORLDPACKAGE= fwget +SUBPACKAGES= man + +# fwget is not applicable to jails. +PKG_SETS= minimal + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/fwget-all.ucl b/packages/fwget/fwget.ucl index ee7ae45128d3..8d3d17ca3d2d 100644 --- a/release/packages/ucl/fwget-all.ucl +++ b/packages/fwget/fwget.ucl @@ -28,7 +28,3 @@ FreeBSD Ports Collection. The fwget(8) utility can be used to detect and install the necessary firmware packages for hardware devices present on a running system. EOD - -annotations { - set = minimal -} diff --git a/packages/games/Makefile b/packages/games/Makefile new file mode 100644 index 000000000000..77dfbbe435d6 --- /dev/null +++ b/packages/games/Makefile @@ -0,0 +1,3 @@ +WORLDPACKAGE= games + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/games-all.ucl b/packages/games/games.ucl index 0716b0c79c19..a4636c32153a 100644 --- a/release/packages/ucl/games-all.ucl +++ b/packages/games/games.ucl @@ -26,7 +26,3 @@ Games distributed with the system: * caesar(6) and rot13(6) implement a trivial (and easily broken) text encryption system called a Caesar cipher. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/geom/Makefile b/packages/geom/Makefile new file mode 100644 index 000000000000..56fe9105a3fe --- /dev/null +++ b/packages/geom/Makefile @@ -0,0 +1,8 @@ +WORLDPACKAGE= geom +COMPAT_PKG= yes +COMPAT_PKGS= dbg + +# GEOM doesn't work in a jail. +PKG_SETS= minimal + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/geom-all.ucl b/packages/geom/geom.ucl index 9375f5dbfc7c..92be64554137 100644 --- a/release/packages/ucl/geom-all.ucl +++ b/packages/geom/geom.ucl @@ -23,7 +23,3 @@ The geom(4) subsystem provides a modular, generic interface to manage disk devices, including disk partitioning, basic RAID, and block-level encryption. This package provides the command-line utilities used to manage GEOM. EOD - -annotations { - set = minimal -} diff --git a/packages/ggate/Makefile b/packages/ggate/Makefile new file mode 100644 index 000000000000..26418ac0f37f --- /dev/null +++ b/packages/ggate/Makefile @@ -0,0 +1,6 @@ +WORLDPACKAGE= ggate + +# GEOM Gate doesn't work in a jail. +PKG_SETS= optional + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/ggate-all.ucl b/packages/ggate/ggate.ucl index 9a8ba37f0f66..9b968e1b1239 100644 --- a/release/packages/ucl/ggate-all.ucl +++ b/packages/ggate/ggate.ucl @@ -30,7 +30,3 @@ such as iSCSI. This package provides the ggated(8) server used to export devices, and the ggatec(8) client used to access them. EOD - -annotations { - set = "optional" -} diff --git a/packages/googletest/Makefile b/packages/googletest/Makefile new file mode 100644 index 000000000000..89ce168ea74a --- /dev/null +++ b/packages/googletest/Makefile @@ -0,0 +1,4 @@ +WORLDPACKAGE= googletest +SUBPACKAGES= dbg dev + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/googletest-all.ucl b/packages/googletest/googletest.ucl index 889e8a65f314..72e3ca883f23 100644 --- a/release/packages/ucl/googletest-all.ucl +++ b/packages/googletest/googletest.ucl @@ -27,7 +27,3 @@ base system, and is not intended for third-party users. A supported version of Google Test may be found in the FreeBSD Ports Collection as devel/googletest. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/gssd/Makefile b/packages/gssd/Makefile new file mode 100644 index 000000000000..452107772539 --- /dev/null +++ b/packages/gssd/Makefile @@ -0,0 +1,3 @@ +WORLDPACKAGE= gssd + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/gssd-all.ucl b/packages/gssd/gssd.ucl index c3e76e365ac4..60d976bfa82c 100644 --- a/release/packages/ucl/gssd-all.ucl +++ b/packages/gssd/gssd.ucl @@ -28,7 +28,3 @@ to fetch authentication data such as Kerberos tickets from userland. This daemon is required when using Kerberos authentication with NFS. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/hast/Makefile b/packages/hast/Makefile new file mode 100644 index 000000000000..5b858b8a53c9 --- /dev/null +++ b/packages/hast/Makefile @@ -0,0 +1,6 @@ +WORLDPACKAGE= hast + +# HAST doesn't work in a jail. +PKG_SETS= optional + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/hast-all.ucl b/packages/hast/hast.ucl index 9fb4ed1a350d..f4eed4eb81bd 100644 --- a/release/packages/ucl/hast-all.ucl +++ b/packages/hast/hast.ucl @@ -23,7 +23,3 @@ The Highly Available Storage daemon, hastd(8), provides replication of block storage devices between two machines on a network. HAST can be used by itself or as part of an HA cluster to provide redundant cluster storage. EOD - -annotations { - set = "optional" -} diff --git a/packages/hostapd/Makefile b/packages/hostapd/Makefile new file mode 100644 index 000000000000..7611e457fc36 --- /dev/null +++ b/packages/hostapd/Makefile @@ -0,0 +1,6 @@ +WORLDPACKAGE= hostapd + +# Using hostapd in a jail would be unusual. +PKG_SETS= optional + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/hostapd-all.ucl b/packages/hostapd/hostapd.ucl index cb25beab4f58..a2639c464935 100644 --- a/release/packages/ucl/hostapd-all.ucl +++ b/packages/hostapd/hostapd.ucl @@ -24,7 +24,3 @@ IEEE Std 802.11 wireless network interface configured in Access Point (AP) mode. hostapd can authenticate clients itself via 802.11i (WPA), or via 802.1X (EAP) using an external RADIUS server. EOD - -annotations { - set = "optional" -} diff --git a/packages/hyperv-tools/Makefile b/packages/hyperv-tools/Makefile new file mode 100644 index 000000000000..3cf7c1797646 --- /dev/null +++ b/packages/hyperv-tools/Makefile @@ -0,0 +1,6 @@ +WORLDPACKAGE= hyperv-tools + +# Hyper-V tools aren't applicable to jails. +PKG_SETS= minimal + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/hyperv-tools-all.ucl b/packages/hyperv-tools/hyperv-tools.ucl index c6a66a7a6f09..1cd432ade245 100644 --- a/release/packages/ucl/hyperv-tools-all.ucl +++ b/packages/hyperv-tools/hyperv-tools.ucl @@ -22,7 +22,3 @@ desc = <<EOD This package provides utilities used when running on the Microsoft Hyper-V virtualisation platform. EOD - -annotations { - set = minimal -} diff --git a/packages/inetd/Makefile b/packages/inetd/Makefile new file mode 100644 index 000000000000..b5c56aa82e98 --- /dev/null +++ b/packages/inetd/Makefile @@ -0,0 +1,3 @@ +WORLDPACKAGE= inetd + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/inetd-all.ucl b/packages/inetd/inetd.ucl index bff3393e5f73..bf70f8a7458d 100644 --- a/release/packages/ucl/inetd-all.ucl +++ b/packages/inetd/inetd.ucl @@ -23,7 +23,3 @@ The inetd(8) server listens for incoming network connections and spawns a process to handle the connection based on its configuration file. Some built-in servers for basic services are also provided. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/ipf/Makefile b/packages/ipf/Makefile new file mode 100644 index 000000000000..c6e6232fdf87 --- /dev/null +++ b/packages/ipf/Makefile @@ -0,0 +1,3 @@ +WORLDPACKAGE= ipf + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/ipf-all.ucl b/packages/ipf/ipf.ucl index d9ca0424a442..232495d0bd80 100644 --- a/release/packages/ucl/ipf-all.ucl +++ b/packages/ipf/ipf.ucl @@ -25,7 +25,3 @@ This package provides the rc(8) services and utilities used to manage the packet filter, and periodic(8) reports for filter activity. Some examples of configuring IP Filter are also provided in /usr/share/examples/ipfilter. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/ipfw/Makefile b/packages/ipfw/Makefile new file mode 100644 index 000000000000..b0f0cd31514c --- /dev/null +++ b/packages/ipfw/Makefile @@ -0,0 +1,3 @@ +WORLDPACKAGE= ipfw + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/ipfw-all.ucl b/packages/ipfw/ipfw.ucl index 1a76aca68987..e46a087f0685 100644 --- a/release/packages/ucl/ipfw-all.ucl +++ b/packages/ipfw/ipfw.ucl @@ -28,7 +28,3 @@ This package provides the ipfw(8) utility used to manage ipfw, periodic(8) reports on filter activity, and rc(8) services to automatically start ipfw at system startup. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/iscsi/Makefile b/packages/iscsi/Makefile new file mode 100644 index 000000000000..f550093d49b3 --- /dev/null +++ b/packages/iscsi/Makefile @@ -0,0 +1,6 @@ +WORLDPACKAGE= iscsi + +# The iSCSI initiator does not work in a jail. +PKG_SETS= optional + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/iscsi-all.ucl b/packages/iscsi/iscsi.ucl index c59345a0e147..928dfe2d0176 100644 --- a/release/packages/ucl/iscsi-all.ucl +++ b/packages/iscsi/iscsi.ucl @@ -24,7 +24,3 @@ network. This package provides iscsid(8), the userland component of the iSCSI initiator, the iscsictl(8) utility used to monitor and configure the initiator, and rc(8) services to configure the initiator during system startup. EOD - -annotations { - set = "optional" -} diff --git a/packages/jail/Makefile b/packages/jail/Makefile new file mode 100644 index 000000000000..9ad95ea0469b --- /dev/null +++ b/packages/jail/Makefile @@ -0,0 +1,3 @@ +WORLDPACKAGE= jail + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/jail-all.ucl b/packages/jail/jail.ucl index d2f069f2eb52..59b7a0c99828 100644 --- a/release/packages/ucl/jail-all.ucl +++ b/packages/jail/jail.ucl @@ -30,7 +30,3 @@ This package provides the jail(8), jexec(8) and jls(8) utilities for managing jails, and an optional rc(8) service to start jails during system startup using the /etc/jail.conf configuration file. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/kerberos-kdc/Makefile b/packages/kerberos-kdc/Makefile new file mode 100644 index 000000000000..36bbbba6c738 --- /dev/null +++ b/packages/kerberos-kdc/Makefile @@ -0,0 +1,3 @@ +WORLDPACKAGE= kerberos-kdc + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/kerberos-kdc-all.ucl b/packages/kerberos-kdc/kerberos-kdc.ucl index 21b0d2121be7..fef5206055c8 100644 --- a/release/packages/ucl/kerberos-kdc-all.ucl +++ b/packages/kerberos-kdc/kerberos-kdc.ucl @@ -27,7 +27,3 @@ Unix systems, as well as many other platforms. This package provides the Kerberos key distribution center (KDC), which manages the Kerberos database and issues tickets to Kerberos users. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/kerberos/Makefile b/packages/kerberos/Makefile new file mode 100644 index 000000000000..ec83ca60f695 --- /dev/null +++ b/packages/kerberos/Makefile @@ -0,0 +1,5 @@ +WORLDPACKAGE= kerberos +SUBPACKAGES= dbg dev lib man +COMPAT_PKGS= dbg dev lib + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/kerberos-all.ucl b/packages/kerberos/kerberos.ucl index c888ff5be6e0..2dfb8dc27b7f 100644 --- a/release/packages/ucl/kerberos-all.ucl +++ b/packages/kerberos/kerberos.ucl @@ -32,7 +32,3 @@ applications to be integrated with Kerberos. This version of Kerberos implements version 5 of the Kerberos protocol, sometimes called Kerberos V. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/kernel-man/Makefile b/packages/kernel-man/Makefile new file mode 100644 index 000000000000..685c2d6b3265 --- /dev/null +++ b/packages/kernel-man/Makefile @@ -0,0 +1,7 @@ +WORLDPACKAGE= kernel-man +# kernel-man is already a man package, so there's no man subpackage. +SUBPACKAGES= + +PKG_SETS= minimal minimal-jail + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/kernel-man.ucl b/packages/kernel-man/kernel-man.ucl index 4f56bd12cd92..44cb9e2c686f 100644 --- a/release/packages/ucl/kernel-man.ucl +++ b/packages/kernel-man/kernel-man.ucl @@ -22,7 +22,3 @@ desc = <<EOD Manual pages for kernel interfaces and drivers (section 4) and the kernel developer manual pages (section 9). EOD - -annotations { - set = "minimal,minimal-jail" -} diff --git a/packages/kyua/Makefile b/packages/kyua/Makefile new file mode 100644 index 000000000000..ae2fa28c8902 --- /dev/null +++ b/packages/kyua/Makefile @@ -0,0 +1,5 @@ +WORLDPACKAGE= kyua + +PKG_SETS= devel + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/kyua-all.ucl b/packages/kyua/kyua.ucl index f273b7c133de..80dd45e7e7c8 100644 --- a/release/packages/ucl/kyua-all.ucl +++ b/packages/kyua/kyua.ucl @@ -50,7 +50,3 @@ libraries and languages. The test program library of choice is ATF, which kyua's design originated from. However, framework-less test programs and TAP-compliant test programs can also be executed through kyua. EOD - -annotations { - set = "devel" -} diff --git a/packages/lib9p/Makefile b/packages/lib9p/Makefile new file mode 100644 index 000000000000..b3bbd418e1fb --- /dev/null +++ b/packages/lib9p/Makefile @@ -0,0 +1,5 @@ +WORLDPACKAGE= lib9p +SUBPACKAGES= dbg dev +COMPAT_PKGS= dbg dev lib + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/lib9p-all.ucl b/packages/lib9p/lib9p.ucl index 2cc31d4a3889..6e48d373380f 100644 --- a/release/packages/ucl/lib9p-all.ucl +++ b/packages/lib9p/lib9p.ucl @@ -22,7 +22,3 @@ desc = <<EOD lib9p implements the server side of the 9p2000, 9p2000.u and 9p2000.L revisions of the 9P protocol. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/libarchive/Makefile b/packages/libarchive/Makefile new file mode 100644 index 000000000000..7f8e4267b184 --- /dev/null +++ b/packages/libarchive/Makefile @@ -0,0 +1,5 @@ +WORLDPACKAGE= libarchive +SUBPACKAGES= dbg dev man +COMPAT_PKGS= dbg dev lib + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/libarchive-all.ucl b/packages/libarchive/libarchive.ucl index 742734bf8b62..8388fc916546 100644 --- a/release/packages/ucl/libarchive-all.ucl +++ b/packages/libarchive/libarchive.ucl @@ -32,7 +32,3 @@ archives in various formats such as tar and cpio. libarchive also supports reading and writing archives compressed using various compression filters such as gzip and bzip2. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/libbegemot/Makefile b/packages/libbegemot/Makefile new file mode 100644 index 000000000000..ae9d4418d84c --- /dev/null +++ b/packages/libbegemot/Makefile @@ -0,0 +1,5 @@ +WORLDPACKAGE= libbegemot +SUBPACKAGES= dbg dev man +COMPAT_PKGS= dbg dev lib + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/libbegemot-all.ucl b/packages/libbegemot/libbegemot.ucl index 5bead26f69f8..db745ffe2334 100644 --- a/release/packages/ucl/libbegemot-all.ucl +++ b/packages/libbegemot/libbegemot.ucl @@ -44,7 +44,3 @@ The rpoll(3) family of functions is designed to overcome these restrictions. They support the well known and understood technique of event driven programming and, in addition to select(2) and poll(2) also support timers. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/libblocksruntime/Makefile b/packages/libblocksruntime/Makefile new file mode 100644 index 000000000000..5584b2e93f30 --- /dev/null +++ b/packages/libblocksruntime/Makefile @@ -0,0 +1,5 @@ +WORLDPACKAGE= libblocksruntime +SUBPACKAGES= dbg dev +COMPAT_PKGS= dbg dev lib + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/libblocksruntime-all.ucl b/packages/libblocksruntime/libblocksruntime.ucl index 72f1fca68a99..129dac965a04 100644 --- a/release/packages/ucl/libblocksruntime-all.ucl +++ b/packages/libblocksruntime/libblocksruntime.ucl @@ -23,7 +23,3 @@ The BlocksRuntime library provides runtime support for Blocks, a non-standard extension to the C programming language which adds support for lambda expressions and closures. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/libbsdstat/Makefile b/packages/libbsdstat/Makefile new file mode 100644 index 000000000000..30e98f5ef524 --- /dev/null +++ b/packages/libbsdstat/Makefile @@ -0,0 +1,5 @@ +WORLDPACKAGE= libbsdstat +SUBPACKAGES= dbg dev +COMPAT_PKGS= dbg dev lib + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/libbsdstat-all.ucl b/packages/libbsdstat/libbsdstat.ucl index 56efee79a334..294f55e47f77 100644 --- a/release/packages/ucl/libbsdstat-all.ucl +++ b/packages/libbsdstat/libbsdstat.ucl @@ -22,7 +22,3 @@ desc = <<EOD libbsdstat is a library for managing and displaying periodically collected statistics. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/libcasper/Makefile b/packages/libcasper/Makefile new file mode 100644 index 000000000000..d77d355c06b9 --- /dev/null +++ b/packages/libcasper/Makefile @@ -0,0 +1,5 @@ +WORLDPACKAGE= libcasper +SUBPACKAGES= dbg dev man +COMPAT_PKGS= dbg dev lib + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/libcasper-all.ucl b/packages/libcasper/libcasper.ucl index 387200b6d1bf..8d980987dffd 100644 --- a/release/packages/ucl/libcasper-all.ucl +++ b/packages/libcasper/libcasper.ucl @@ -24,7 +24,3 @@ under the Capsicum capability-based security framework. libcasper allows passing messages and capabilities between the sandboxed application and a helper process to allow restricted access to system and network resources. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/libcompat/Makefile b/packages/libcompat/Makefile new file mode 100644 index 000000000000..ea97204a17f9 --- /dev/null +++ b/packages/libcompat/Makefile @@ -0,0 +1,15 @@ +.include <src.opts.mk> + +WORLDPACKAGE= libcompat +SUBPACKAGES= dev +COMPAT_PKGS= dev + +# libcompat only contains static libraries and manpages, and therefore +# doesn't have a base package. +PKG_NO_BASE= + +.if ${MK_MANSPLITPKG} != "no" +SUBPACKAGES= man +.endif + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/libcompat-all.ucl b/packages/libcompat/libcompat.ucl index f78c54d93216..a150709d1bc6 100644 --- a/release/packages/ucl/libcompat-all.ucl +++ b/packages/libcompat/libcompat.ucl @@ -22,7 +22,3 @@ desc = <<EOD libcompat provides an implementation of some obsolete library functions: cuserid(3), re_comp(3), re_exec(3) and rexec(3). EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/libcompiler_rt/Makefile b/packages/libcompiler_rt/Makefile new file mode 100644 index 000000000000..eafe792e316e --- /dev/null +++ b/packages/libcompiler_rt/Makefile @@ -0,0 +1,11 @@ +.include <src.opts.mk> + +WORLDPACKAGE= libcompiler_rt +SUBPACKAGES= dev +COMPAT_PKGS= dev + +# libcompiler_rt only contains static libraries and manpages, and therefore +# doesn't have a base package. +PKG_NO_BASE= + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/libcompiler_rt-all.ucl b/packages/libcompiler_rt/libcompiler_rt.ucl index af7890c61639..f21e629ac88c 100644 --- a/release/packages/ucl/libcompiler_rt-all.ucl +++ b/packages/libcompiler_rt/libcompiler_rt.ucl @@ -2,7 +2,3 @@ comment = "LLVM compiler_rt library" desc = <<EOD The libcompiler_rt library from LLVM. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/libcuse/Makefile b/packages/libcuse/Makefile new file mode 100644 index 000000000000..2a161645904f --- /dev/null +++ b/packages/libcuse/Makefile @@ -0,0 +1,5 @@ +WORLDPACKAGE= libcuse +SUBPACKAGES= dbg dev man +COMPAT_PKGS= dbg dev lib + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/libcuse-all.ucl b/packages/libcuse/libcuse.ucl index 422fcb6d3d90..0d81ee40841c 100644 --- a/release/packages/ucl/libcuse-all.ucl +++ b/packages/libcuse/libcuse.ucl @@ -33,7 +33,3 @@ desc = <<EOD The libcuse library contains functions to create a character device in userspace. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/libdwarf/Makefile b/packages/libdwarf/Makefile new file mode 100644 index 000000000000..212a8f5fdbc6 --- /dev/null +++ b/packages/libdwarf/Makefile @@ -0,0 +1,5 @@ +WORLDPACKAGE= libdwarf +SUBPACKAGES= dbg dev man +COMPAT_PKGS= dbg dev lib + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/libdwarf-all.ucl b/packages/libdwarf/libdwarf.ucl index 00ec7fcdc452..456ace323a67 100644 --- a/release/packages/ucl/libdwarf-all.ucl +++ b/packages/libdwarf/libdwarf.ucl @@ -32,7 +32,3 @@ The DWARF Access Library provides functions that allow an application to read and write debugging information in object files. The format of debugging information accessible through this API is defined by the DWARF standard. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/libevent1/Makefile b/packages/libevent1/Makefile new file mode 100644 index 000000000000..4788977359bc --- /dev/null +++ b/packages/libevent1/Makefile @@ -0,0 +1,5 @@ +WORLDPACKAGE= libevent1 +SUBPACKAGES= dbg dev +COMPAT_PKGS= dbg dev lib + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/libevent1-all.ucl b/packages/libevent1/libevent1.ucl index 31fdf055d8dc..9bfd88362072 100644 --- a/release/packages/ucl/libevent1-all.ucl +++ b/packages/libevent1/libevent1.ucl @@ -21,7 +21,3 @@ comment = "Private libevent1 library" desc = <<EOD A private library used by applications in the base system. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/libexecinfo/Makefile b/packages/libexecinfo/Makefile new file mode 100644 index 000000000000..be413822c8fc --- /dev/null +++ b/packages/libexecinfo/Makefile @@ -0,0 +1,5 @@ +WORLDPACKAGE= libexecinfo +SUBPACKAGES= dbg dev man +COMPAT_PKGS= dbg dev lib + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/libexecinfo-all.ucl b/packages/libexecinfo/libexecinfo.ucl index 5cdbea8153d1..bbb91e5c015c 100644 --- a/release/packages/ucl/libexecinfo-all.ucl +++ b/packages/libexecinfo/libexecinfo.ucl @@ -22,7 +22,3 @@ desc = <<EOD libexecinfo provides the backtrace(3) interface to allow an application to examine its current call stack. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/libipt/Makefile b/packages/libipt/Makefile new file mode 100644 index 000000000000..72eb52d67eb8 --- /dev/null +++ b/packages/libipt/Makefile @@ -0,0 +1,4 @@ +WORLDPACKAGE= libipt +SUBPACKAGES= dbg dev + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/libipt-all.ucl b/packages/libipt/libipt.ucl index 21f8cf29d437..eb0ef6a32d40 100644 --- a/release/packages/ucl/libipt-all.ucl +++ b/packages/libipt/libipt.ucl @@ -4,7 +4,3 @@ The Intel Processor Trace (Intel PT) Decoder Library is Intel's reference implementation for decoding Intel PT. It can be used as a standalone library or it can be partially or fully integrated into your tool. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/libldns/Makefile b/packages/libldns/Makefile new file mode 100644 index 000000000000..8ad2b44562d1 --- /dev/null +++ b/packages/libldns/Makefile @@ -0,0 +1,5 @@ +WORLDPACKAGE= libldns +SUBPACKAGES= dbg dev +COMPAT_PKGS= dbg dev lib + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/libldns-all.ucl b/packages/libldns/libldns.ucl index 98aa86f9bc53..43402d1c4880 100644 --- a/release/packages/ucl/libldns-all.ucl +++ b/packages/libldns/libldns.ucl @@ -22,7 +22,3 @@ desc = <<EOD This package provides a private version of the NLnet Labs LDNS library for use by applications in the base system. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/libmagic/Makefile b/packages/libmagic/Makefile new file mode 100644 index 000000000000..067e53ee1220 --- /dev/null +++ b/packages/libmagic/Makefile @@ -0,0 +1,5 @@ +WORLDPACKAGE= libmagic +SUBPACKAGES= dbg dev man +COMPAT_PKGS= dbg dev lib + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/libmagic-all.ucl b/packages/libmagic/libmagic.ucl index dc623a14b57e..dca9a430a32c 100644 --- a/release/packages/ucl/libmagic-all.ucl +++ b/packages/libmagic/libmagic.ucl @@ -22,7 +22,3 @@ desc = <<EOD libmagic allows an application to identity a file based on its contents using the magic(5) magic number database. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/libmilter/Makefile b/packages/libmilter/Makefile new file mode 100644 index 000000000000..56f373f9fc74 --- /dev/null +++ b/packages/libmilter/Makefile @@ -0,0 +1,5 @@ +WORLDPACKAGE= libmilter +SUBPACKAGES= dbg dev +COMPAT_PKGS= dbg dev lib + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/libmilter-all.ucl b/packages/libmilter/libmilter.ucl index 336e9f8c2c78..5c0e4925a9c2 100644 --- a/release/packages/ucl/libmilter-all.ucl +++ b/packages/libmilter/libmilter.ucl @@ -5,7 +5,3 @@ programs access to mail messages as they are being processed in order to filter meta-information and content. libmilter provides support for applications implementing the milter interface. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/libpathconv/Makefile b/packages/libpathconv/Makefile new file mode 100644 index 000000000000..01ddb3dc01e1 --- /dev/null +++ b/packages/libpathconv/Makefile @@ -0,0 +1,5 @@ +WORLDPACKAGE= libpathconv +SUBPACKAGES= dbg dev man +COMPAT_PKGS= dbg dev lib + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/libpathconv-all.ucl b/packages/libpathconv/libpathconv.ucl index 985774986514..d19efbd7d93b 100644 --- a/release/packages/ucl/libpathconv-all.ucl +++ b/packages/libpathconv/libpathconv.ucl @@ -22,7 +22,3 @@ desc = <<EOD libpathconv provides the abs2rel() and rel2abs() functions to convert between absolute and relative pathnames. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/librpcsec_gss/Makefile b/packages/librpcsec_gss/Makefile new file mode 100644 index 000000000000..a49de30e22b2 --- /dev/null +++ b/packages/librpcsec_gss/Makefile @@ -0,0 +1,5 @@ +WORLDPACKAGE= librpcsec_gss +SUBPACKAGES= dbg dev man +COMPAT_PKGS= dbg dev lib + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/librpcsec_gss-all.ucl b/packages/librpcsec_gss/librpcsec_gss.ucl index a520b75be179..b95be8a498c8 100644 --- a/release/packages/ucl/librpcsec_gss-all.ucl +++ b/packages/librpcsec_gss/librpcsec_gss.ucl @@ -41,7 +41,3 @@ no third party can access the data for a connection. The librpcsec_gss provides an API to allow applications to interact with the RPCSEC_GSS security mechanism. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/librss/Makefile b/packages/librss/Makefile new file mode 100644 index 000000000000..2dac4c98d33b --- /dev/null +++ b/packages/librss/Makefile @@ -0,0 +1,5 @@ +WORLDPACKAGE= librss +SUBPACKAGES= dbg dev +COMPAT_PKGS= dbg dev lib + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/librss-all.ucl b/packages/librss/librss.ucl index 68b1ae5fbb11..8d5ea747592e 100644 --- a/release/packages/ucl/librss-all.ucl +++ b/packages/librss/librss.ucl @@ -4,7 +4,3 @@ desc = <<EOD The librss library and the functions it provides are used for both fetching the system RSS configuration and interacting with RSS aware sockets. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/libsqlite3/Makefile b/packages/libsqlite3/Makefile new file mode 100644 index 000000000000..321bee348946 --- /dev/null +++ b/packages/libsqlite3/Makefile @@ -0,0 +1,5 @@ +WORLDPACKAGE= libsqlite3 +SUBPACKAGES= dbg dev +COMPAT_PKGS= dbg dev lib + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/libsqlite3-all.ucl b/packages/libsqlite3/libsqlite3.ucl index 8b770e1ce5ee..de0d58b5f7c7 100644 --- a/release/packages/ucl/libsqlite3-all.ucl +++ b/packages/libsqlite3/libsqlite3.ucl @@ -21,7 +21,3 @@ comment = "Private SQLite library" desc = <<EOD A private version of SQLite for use by applications in the base system. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/libthread_db/Makefile b/packages/libthread_db/Makefile new file mode 100644 index 000000000000..14da33b92c59 --- /dev/null +++ b/packages/libthread_db/Makefile @@ -0,0 +1,5 @@ +WORLDPACKAGE= libthread_db +SUBPACKAGES= dbg dev +COMPAT_PKGS= dbg dev lib + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/libthread_db-all.ucl b/packages/libthread_db/libthread_db.ucl index 540e155ccd99..3497e4dd76b5 100644 --- a/release/packages/ucl/libthread_db-all.ucl +++ b/packages/libthread_db/libthread_db.ucl @@ -22,7 +22,3 @@ desc = <<EOD libthread_db is used by the debugger to examine and interact with a multithreaded process being debugged. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/libucl/Makefile b/packages/libucl/Makefile new file mode 100644 index 000000000000..e94222480d1f --- /dev/null +++ b/packages/libucl/Makefile @@ -0,0 +1,5 @@ +WORLDPACKAGE= libucl +SUBPACKAGES= dbg dev man +COMPAT_PKGS= dbg dev lib + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/libucl-all.ucl b/packages/libucl/libucl.ucl index 4763038a8668..9785ce7e7dca 100644 --- a/release/packages/ucl/libucl-all.ucl +++ b/packages/libucl/libucl.ucl @@ -22,7 +22,3 @@ desc = <<EOD A private library for reading and writing UCL files, for used by applications in the base system. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/libvgl/Makefile b/packages/libvgl/Makefile new file mode 100644 index 000000000000..eb6b16027255 --- /dev/null +++ b/packages/libvgl/Makefile @@ -0,0 +1,5 @@ +WORLDPACKAGE= libvgl +SUBPACKAGES= dbg dev man +COMPAT_PKGS= dbg dev lib + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/libvgl-all.ucl b/packages/libvgl/libvgl.ucl index 88fd51fffffd..e497ded006a3 100644 --- a/release/packages/ucl/libvgl-all.ucl +++ b/packages/libvgl/libvgl.ucl @@ -45,7 +45,3 @@ memory before switching to another virtual console, and restoring when the user switches back. This allows several graphic applications at once, but on different virtual consoles. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/libvmmapi/Makefile b/packages/libvmmapi/Makefile new file mode 100644 index 000000000000..2cf3e0cf1fc3 --- /dev/null +++ b/packages/libvmmapi/Makefile @@ -0,0 +1,4 @@ +WORLDPACKAGE= libvmmapi +SUBPACKAGES= dbg dev + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/libvmmapi-all.ucl b/packages/libvmmapi/libvmmapi.ucl index 1246a488d4be..800e5365cfa7 100644 --- a/release/packages/ucl/libvmmapi-all.ucl +++ b/packages/libvmmapi/libvmmapi.ucl @@ -21,7 +21,3 @@ comment = "Front-end library for the vmm(4) virtualization driver" desc = <<EOD libvmmapi provides an interface for applications to access the vmm(4) driver. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/libyaml/Makefile b/packages/libyaml/Makefile new file mode 100644 index 000000000000..2311c49dba9b --- /dev/null +++ b/packages/libyaml/Makefile @@ -0,0 +1,5 @@ +WORLDPACKAGE= libyaml +SUBPACKAGES= dbg dev +COMPAT_PKGS= dbg dev lib + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/libyaml-all.ucl b/packages/libyaml/libyaml.ucl index abfded908a87..793b9437633e 100644 --- a/release/packages/ucl/libyaml-all.ucl +++ b/packages/libyaml/libyaml.ucl @@ -22,7 +22,3 @@ desc = <<EOD The libprivateyaml library is used by the FreeBSD base system to parse YAML files. This library is not intended for use outside of the base system. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/lld/Makefile b/packages/lld/Makefile new file mode 100644 index 000000000000..b14dd6893f77 --- /dev/null +++ b/packages/lld/Makefile @@ -0,0 +1,6 @@ +WORLDPACKAGE= lld + +PKG_SETS= devel +PKG_LICENSES= "Apache-2.0 WITH LLVM-exception" + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/lld-all.ucl b/packages/lld/lld.ucl index c5711a292ea6..74272aa1864d 100644 --- a/release/packages/ucl/lld-all.ucl +++ b/packages/lld/lld.ucl @@ -23,9 +23,3 @@ ld.lld, installed as ld(1), is the ELF link loader provided by the LLVM project. lld is used to assemble compiled object files into an ELF executable or shared object file. EOD - -licenses = [ NCSA ] - -annotations { - set = devel -} diff --git a/packages/lldb/Makefile b/packages/lldb/Makefile new file mode 100644 index 000000000000..17ba39271367 --- /dev/null +++ b/packages/lldb/Makefile @@ -0,0 +1,6 @@ +WORLDPACKAGE= lldb + +PKG_SETS= devel +PKG_LICENSES= "Apache-2.0 WITH LLVM-exception" + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/lldb-all.ucl b/packages/lldb/lldb.ucl index ab807adfe35a..e82db2e8a35a 100644 --- a/release/packages/ucl/lldb-all.ucl +++ b/packages/lldb/lldb.ucl @@ -21,9 +21,3 @@ comment = "LLVM debugger" desc = <<EOD lldb is a source-level debugger from the LLVM project. EOD - -licenses = [ NCSA ] - -annotations { - set = devel -} diff --git a/packages/local-unbound/Makefile b/packages/local-unbound/Makefile new file mode 100644 index 000000000000..251f75794c3c --- /dev/null +++ b/packages/local-unbound/Makefile @@ -0,0 +1,14 @@ +WORLDPACKAGE= local-unbound +SUBPACKAGES= dbg dev man +COMPAT_PKGS= dbg dev lib + +PKG_LICENSES= BSD4CLAUSE + +UCLSRC= common.ucl +UCLSRC.local-unbound= local-unbound.ucl + +# local-unbound uses resolvconf to update resolv.conf and to generate +# its forward.conf. +PKG_DEPS.local-unbound+=resolvconf + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/local-unbound-all.ucl b/packages/local-unbound/common.ucl index e66f00be16a7..e1db93800350 100644 --- a/release/packages/ucl/local-unbound-all.ucl +++ b/packages/local-unbound/common.ucl @@ -27,9 +27,3 @@ via the local_unbound rc(8) service. A full-featured version of Unbound is available in the FreeBSD Ports Collection as "dns/unbound". EOD - -licenses = [ BSD4CLAUSE ] - -annotations { - set = "optional,optional-jail" -} diff --git a/release/packages/ucl/local-unbound.ucl b/packages/local-unbound/local-unbound.ucl index 34d4c3664c9e..4c4c327a4b5f 100644 --- a/release/packages/ucl/local-unbound.ucl +++ b/packages/local-unbound/local-unbound.ucl @@ -16,6 +16,8 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +.include(try=false) "${SRCDIR}/common.ucl" + messages = [ { type: upgrade @@ -25,11 +27,3 @@ by running "service local_unbound setup" before restarting the service. EOM } ] - -deps { - # local-unbound uses resolvconf to update resolv.conf and to generate - # its forward.conf. - "resolvconf" { - version = "${VERSION}" - }, -} diff --git a/packages/locales/Makefile b/packages/locales/Makefile new file mode 100644 index 000000000000..ee2230e51f3a --- /dev/null +++ b/packages/locales/Makefile @@ -0,0 +1,6 @@ +WORLDPACKAGE= locales +SUBPACKAGES= + +PKG_SETS= minimal minimal-jail + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/locales-all.ucl b/packages/locales/locales.ucl index 7a011a92d1d9..d1c335a3fcae 100644 --- a/release/packages/ucl/locales-all.ucl +++ b/packages/locales/locales.ucl @@ -23,7 +23,3 @@ This package provides the locale definitions (LC_*) for supported locales, allowing applications to adapt the format of numbers, dates and other values to the user's preferred locale and character encoding. EOD - -annotations { - set = "minimal,minimal-jail" -} diff --git a/packages/lp/Makefile b/packages/lp/Makefile new file mode 100644 index 000000000000..d7d86c63a132 --- /dev/null +++ b/packages/lp/Makefile @@ -0,0 +1,3 @@ +WORLDPACKAGE= lp + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/lp-all.ucl b/packages/lp/lp.ucl index 6c4e55dbdfef..c8de754fb7c1 100644 --- a/release/packages/ucl/lp-all.ucl +++ b/packages/lp/lp.ucl @@ -27,7 +27,3 @@ and dispatches them to an appropriate printer. Some sample lp filters for common printers are also provided in /usr/share/examples/printing. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/mandoc/Makefile b/packages/mandoc/Makefile new file mode 100644 index 000000000000..7cea32f7cdc8 --- /dev/null +++ b/packages/mandoc/Makefile @@ -0,0 +1,5 @@ +WORLDPACKAGE= mandoc + +PKG_SETS= minimal minimal-jail + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/mandoc-all.ucl b/packages/mandoc/mandoc.ucl index ebd6a9da59e0..60d995489dda 100644 --- a/release/packages/ucl/mandoc-all.ucl +++ b/packages/mandoc/mandoc.ucl @@ -23,7 +23,3 @@ This package provides man(1), a utility which can format and display system manual pages, along with the related utilities apropos(1) and makewhatis(8), and the mandoc(1) rendering backend. EOD - -annotations { - set = "minimal,minimal-jail" -} diff --git a/packages/mlx-tools/Makefile b/packages/mlx-tools/Makefile new file mode 100644 index 000000000000..bb2bee4da83a --- /dev/null +++ b/packages/mlx-tools/Makefile @@ -0,0 +1,5 @@ +WORLDPACKAGE= mlx-tools + +PKG_SETS= optional + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/mlx-tools-all.ucl b/packages/mlx-tools/mlx-tools.ucl index 3b254bf51577..ef02c60ae8b2 100644 --- a/release/packages/ucl/mlx-tools-all.ucl +++ b/packages/mlx-tools/mlx-tools.ucl @@ -33,7 +33,3 @@ The mlx5tool utility is provided for management of the Connect-X4, 5 and 6 network adapters in the aspects not covered by the generic ifconfig(8) command, mostly related to the PCIe attachment and internal card working. EOD - -annotations { - set = "optional" -} diff --git a/packages/mtree/Makefile b/packages/mtree/Makefile new file mode 100644 index 000000000000..9c12a4aba17d --- /dev/null +++ b/packages/mtree/Makefile @@ -0,0 +1,5 @@ +WORLDPACKAGE= mtree + +PKG_SETS= devel + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/mtree-all.ucl b/packages/mtree/mtree.ucl index daead4824b88..e7d6d81f571f 100644 --- a/release/packages/ucl/mtree-all.ucl +++ b/packages/mtree/mtree.ucl @@ -27,7 +27,3 @@ and create or modify a hierarchy from a specification. This package also provides mtree(1) definitions for the base system filesystem in /etc/mtree. EOD - -annotations { - set = devel -} diff --git a/packages/natd/Makefile b/packages/natd/Makefile new file mode 100644 index 000000000000..80aadaf08d37 --- /dev/null +++ b/packages/natd/Makefile @@ -0,0 +1,6 @@ +WORLDPACKAGE= natd +SUBPACKAGES= dbg dev man +COMPAT_PKG= yes +COMPAT_PKGS= dbg dev + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/natd-all.ucl b/packages/natd/natd.ucl index 95f8e8cff031..e15496a4075f 100644 --- a/release/packages/ucl/natd-all.ucl +++ b/packages/natd/natd.ucl @@ -26,7 +26,3 @@ with existing installations, or for users who require functionality not available in ipfw, such as Application Level Gateway (ALG) for the FTP or IRC protocols. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/ncurses/Makefile b/packages/ncurses/Makefile new file mode 100644 index 000000000000..a3e1506ee522 --- /dev/null +++ b/packages/ncurses/Makefile @@ -0,0 +1,7 @@ +WORLDPACKAGE= ncurses +SUBPACKAGES= dbg dev lib man +COMPAT_PKGS= dbg dev lib + +PKG_SETS= minimal minimal-jail + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/ncurses-all.ucl b/packages/ncurses/ncurses.ucl index 007ab15084f3..d2739b3b43f9 100644 --- a/release/packages/ucl/ncurses-all.ucl +++ b/packages/ncurses/ncurses.ucl @@ -39,7 +39,3 @@ curses interface, and is also backward compatible with traditional BSD curses. This package ships with a limited termcap database, but it is designed to use a terminfo database provided by ports, such as in misc/terminfo-db. EOD - -annotations { - set = "minimal,minimal-jail" -} diff --git a/packages/netmap/Makefile b/packages/netmap/Makefile new file mode 100644 index 000000000000..366ad270b9ca --- /dev/null +++ b/packages/netmap/Makefile @@ -0,0 +1,5 @@ +WORLDPACKAGE= netmap +SUBPACKAGES= dbg dev man +COMPAT_PKGS= dbg dev lib + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/netmap-all.ucl b/packages/netmap/netmap.ucl index e0770c14c0f2..998ed82324ad 100644 --- a/release/packages/ucl/netmap-all.ucl +++ b/packages/netmap/netmap.ucl @@ -27,7 +27,3 @@ bpf(4), tap(4), or raw sockets. This package provides libnetmap, a library used by applications to interact with netmap, and valectl(8), a utility to manage vale(4) network switches. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/newsyslog/Makefile b/packages/newsyslog/Makefile new file mode 100644 index 000000000000..98c1619ea06f --- /dev/null +++ b/packages/newsyslog/Makefile @@ -0,0 +1,8 @@ +WORLDPACKAGE= newsyslog + +PKG_SETS= minimal minimal-jail + +# newsyslog uses bzip2 to compress log files. +PKG_DEPS.newsyslog+= bzip2 + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/newsyslog-all.ucl b/packages/newsyslog/newsyslog.ucl index 033d497ab7bb..80962464f969 100644 --- a/release/packages/ucl/newsyslog-all.ucl +++ b/packages/newsyslog/newsyslog.ucl @@ -26,7 +26,3 @@ By default, newsyslog will rotate the log files used by the syslogd(8) daemon, but it can be configured to rotate any user-configured logfile based on a set of rules defined in its configuration file. EOD - -annotations { - set = "minimal,minimal-jail" -} diff --git a/packages/nfs/Makefile b/packages/nfs/Makefile new file mode 100644 index 000000000000..f7880b9ed34f --- /dev/null +++ b/packages/nfs/Makefile @@ -0,0 +1,3 @@ +WORLDPACKAGE= nfs + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/nfs-all.ucl b/packages/nfs/nfs.ucl index 0c9141f2076c..7aa3b1f573d1 100644 --- a/release/packages/ucl/nfs-all.ucl +++ b/packages/nfs/nfs.ucl @@ -32,7 +32,3 @@ NFS server, and the mount_nfs(8) utility used to mount an NFS filesystem on the client. Several other daemons and utilities are also provided which may be necessary depending on the NFS configuration. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/ntp/Makefile b/packages/ntp/Makefile new file mode 100644 index 000000000000..97d79c1c2cf8 --- /dev/null +++ b/packages/ntp/Makefile @@ -0,0 +1,3 @@ +WORLDPACKAGE= ntp + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/ntp-all.ucl b/packages/ntp/ntp.ucl index c0a3fb688d97..9585c371d0e0 100644 --- a/release/packages/ucl/ntp-all.ucl +++ b/packages/ntp/ntp.ucl @@ -37,7 +37,3 @@ utility which can be used for testing or one-off time synchronisation. A periodic(8) script to monitor the status of the NTP daemon is also provided. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/nuageinit/Makefile b/packages/nuageinit/Makefile new file mode 100644 index 000000000000..3e8a0f799b36 --- /dev/null +++ b/packages/nuageinit/Makefile @@ -0,0 +1,6 @@ +WORLDPACKAGE= nuageinit +SUBPACKAGES= man + +PKG_SETS= minimal + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/nuageinit-all.ucl b/packages/nuageinit/nuageinit.ucl index 8c7a0754040c..9211beff0e58 100644 --- a/release/packages/ucl/nuageinit-all.ucl +++ b/packages/nuageinit/nuageinit.ucl @@ -33,7 +33,3 @@ deps { version = "${VERSION}" }, } - -annotations { - set = minimal -} diff --git a/packages/nvme-tools/Makefile b/packages/nvme-tools/Makefile new file mode 100644 index 000000000000..2d074dc31b6b --- /dev/null +++ b/packages/nvme-tools/Makefile @@ -0,0 +1,5 @@ +WORLDPACKAGE= nvme-tools + +PKG_SETS= optional + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/nvme-tools-all.ucl b/packages/nvme-tools/nvme-tools.ucl index ca4d8daff0d2..910936f6e70c 100644 --- a/release/packages/ucl/nvme-tools-all.ucl +++ b/packages/nvme-tools/nvme-tools.ucl @@ -23,7 +23,3 @@ This package provides the nvmecontrol(8) utility, which is used to monitor and configure NVMe devices connected to the local system, and to discover and connect to remote NVMe over Fabrics (NVMe-oF) targets. EOD - -annotations { - set = optional -} diff --git a/packages/openssl/Makefile b/packages/openssl/Makefile new file mode 100644 index 000000000000..9f1926a460d1 --- /dev/null +++ b/packages/openssl/Makefile @@ -0,0 +1,5 @@ +WORLDPACKAGE= openssl +SUBPACKAGES= dbg dev lib man +COMPAT_PKGS= dbg dev lib + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/openssl-all.ucl b/packages/openssl/openssl.ucl index 4c393efe3b89..b63e94b59f73 100644 --- a/release/packages/ucl/openssl-all.ucl +++ b/packages/openssl/openssl.ucl @@ -35,7 +35,3 @@ the TLS protocol itself. OpenSSL also provides support for the obsolete Secure Sockets Layer (SSL) protocol, which was commonly used prior to the standardisation of TLS. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/pam/Makefile b/packages/pam/Makefile new file mode 100644 index 000000000000..91c84ebd121a --- /dev/null +++ b/packages/pam/Makefile @@ -0,0 +1,7 @@ +WORLDPACKAGE= pam +SUBPACKAGES= dbg dev lib man +COMPAT_PKGS= dbg dev lib + +PKG_SETS= minimal minimal-jail + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/pam-all.ucl b/packages/pam/pam.ucl index c77b926532e6..7245192645e0 100644 --- a/release/packages/ucl/pam-all.ucl +++ b/packages/pam/pam.ucl @@ -29,7 +29,3 @@ PAM was originally implemented by Sun Microsystems as part of the Solaris operating system. This implementation of PAM comes from OpenPAM, and aims to be compatible with Solaris PAM. EOD - -annotations { - set = "minimal,minimal-jail" -} diff --git a/packages/periodic/Makefile b/packages/periodic/Makefile new file mode 100644 index 000000000000..86d43f076895 --- /dev/null +++ b/packages/periodic/Makefile @@ -0,0 +1,11 @@ +WORLDPACKAGE= periodic +SUBPACKAGES= man + +PKG_SETS= minimal minimal-jail + +# periodic scripts are invoked from cron. +PKG_DEPS.periodic+= cron +# periodic scripts are written in shell script. +PKG_DEPS.periodic+= runtime + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/periodic-all.ucl b/packages/periodic/periodic.ucl index 028959d49e10..3a4bc2700949 100644 --- a/release/packages/ucl/periodic-all.ucl +++ b/packages/periodic/periodic.ucl @@ -23,7 +23,3 @@ The periodic(8) utility, usually run from cron(8), provides a system for scheduling regular system maintenance tasks. This package also provides the base periodic tasks for the base system. EOD - -annotations { - set = "minimal,minimal-jail" -} diff --git a/packages/pf/Makefile b/packages/pf/Makefile new file mode 100644 index 000000000000..6567016dcb7e --- /dev/null +++ b/packages/pf/Makefile @@ -0,0 +1,4 @@ +WORLDPACKAGE= pf +SUBPACKAGES= dbg dev man + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/pf-all.ucl b/packages/pf/pf.ucl index b1d0ca915d72..07bebf80489f 100644 --- a/release/packages/ucl/pf-all.ucl +++ b/packages/pf/pf.ucl @@ -32,7 +32,3 @@ system startup, and a periodic(8) script to report connections denied by pf. Several example pf rulesets are also provided in /usr/share/examples/pf. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/pkg-bootstrap/Makefile b/packages/pkg-bootstrap/Makefile new file mode 100644 index 000000000000..fc8625c81285 --- /dev/null +++ b/packages/pkg-bootstrap/Makefile @@ -0,0 +1,5 @@ +WORLDPACKAGE= pkg-bootstrap + +PKG_SETS= minimal minimal-jail + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/pkg-bootstrap-all.ucl b/packages/pkg-bootstrap/pkg-bootstrap.ucl index 211dc1962984..493b1734e4a7 100644 --- a/release/packages/ucl/pkg-bootstrap-all.ucl +++ b/packages/pkg-bootstrap/pkg-bootstrap.ucl @@ -23,7 +23,3 @@ desc = <<EOD package management system. This package also contains the public keys necessary to authenticate packages from the FreeBSD.org package repository. EOD - -annotations { - set = "minimal,minimal-jail" -} diff --git a/packages/pkgconf/Makefile b/packages/pkgconf/Makefile new file mode 100644 index 000000000000..60c1e14ec315 --- /dev/null +++ b/packages/pkgconf/Makefile @@ -0,0 +1,6 @@ +WORLDPACKAGE= pkgconf + +PKG_SETS= devel +PKG_LICENSES= pkgconf + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/pkgconf-all.ucl b/packages/pkgconf/pkgconf.ucl index 062fb2e71e11..9ac124001350 100644 --- a/release/packages/ucl/pkgconf-all.ucl +++ b/packages/pkgconf/pkgconf.ucl @@ -30,9 +30,3 @@ software bill of materials (SBOM) for a given set of pkg-config modules. The output of this tool can then be translated into other SBOM formats as necessary. EOD - -licenses = [ "pkgconf" ] - -annotations { - set = "devel" -} diff --git a/packages/pmc/Makefile b/packages/pmc/Makefile new file mode 100644 index 000000000000..622476040a1d --- /dev/null +++ b/packages/pmc/Makefile @@ -0,0 +1,5 @@ +WORLDPACKAGE= pmc +SUBPACKAGES= dbg dev man +COMPAT_PKGS= dbg dev lib + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/pmc-all.ucl b/packages/pmc/pmc.ucl index 1562bde741a0..5c8e44d264b2 100644 --- a/release/packages/ucl/pmc-all.ucl +++ b/packages/pmc/pmc.ucl @@ -10,7 +10,3 @@ offered by the hwpmc(4) driver. The utilities pmc(8), pmcannotate(8), pmccontrol(8) and pmcstat(8) provide command-line access to the facilities provided by libpmc. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/powerd/Makefile b/packages/powerd/Makefile new file mode 100644 index 000000000000..a8401bc4226d --- /dev/null +++ b/packages/powerd/Makefile @@ -0,0 +1,5 @@ +WORLDPACKAGE= powerd + +PKG_SETS= minimal + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/powerd-all.ucl b/packages/powerd/powerd.ucl index b6a2b3034f89..af445f28faa4 100644 --- a/release/packages/ucl/powerd-all.ucl +++ b/packages/powerd/powerd.ucl @@ -5,7 +5,3 @@ The powerd utility monitors the system state and sets various power control options accordingly. It offers power-saving modes that can be individually selected for operation on AC power or batteries. EOD - -annotations { - set = minimal -} diff --git a/packages/ppp/Makefile b/packages/ppp/Makefile new file mode 100644 index 000000000000..d379310a4e3f --- /dev/null +++ b/packages/ppp/Makefile @@ -0,0 +1,5 @@ +WORLDPACKAGE= ppp + +PKG_SETS= minimal + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/ppp-all.ucl b/packages/ppp/ppp.ucl index 9841e297d79e..cf21789d7cba 100644 --- a/release/packages/ucl/ppp-all.ucl +++ b/packages/ppp/ppp.ucl @@ -22,7 +22,3 @@ desc = <<EOD ppp(8) is a userland implementations of the Point to Point Protocol for serial lines and Ethernet (PPPoE). EOD - -annotations { - set = minimal -} diff --git a/packages/quotacheck/Makefile b/packages/quotacheck/Makefile new file mode 100644 index 000000000000..099908ddfc5a --- /dev/null +++ b/packages/quotacheck/Makefile @@ -0,0 +1,3 @@ +WORLDPACKAGE= quotacheck + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/quotacheck-all.ucl b/packages/quotacheck/quotacheck.ucl index de29ff373f0c..77943ac7365b 100644 --- a/release/packages/ucl/quotacheck-all.ucl +++ b/packages/quotacheck/quotacheck.ucl @@ -41,7 +41,3 @@ file for the file system. If any inconsistencies are detected, both the quota file and the current system copy of the incorrect quotas are updated (the latter only occurs if an active file system is checked). EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/rc/Makefile b/packages/rc/Makefile new file mode 100644 index 000000000000..9a163b0581cf --- /dev/null +++ b/packages/rc/Makefile @@ -0,0 +1,11 @@ +WORLDPACKAGE= rc + +PKG_SETS= minimal minimal-jail + +# rc scripts require /bin/sh. +PKG_DEPS.rc+= runtime + +# /etc/rc.d/var_run depends on mtree. +PKG_DEPS.rc+= mtree + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/rc-all.ucl b/packages/rc/rc.ucl index 8e6852a58d07..d62f416d0f4c 100644 --- a/release/packages/ucl/rc-all.ucl +++ b/packages/rc/rc.ucl @@ -23,7 +23,3 @@ The rc(8) subsystem provides a method to start services at system startup and stop them at shutdown. This package provides the rc(8) subsystem itself and the service scripts for the base system. EOD - -annotations { - set = "minimal,minimal-jail" -} diff --git a/packages/rcmds/Makefile b/packages/rcmds/Makefile new file mode 100644 index 000000000000..18e8624ad9ac --- /dev/null +++ b/packages/rcmds/Makefile @@ -0,0 +1,6 @@ +WORLDPACKAGE= rcmds + +# The RPC daemons require rpcbind. +PKG_DEPS.rcmds+= utilities + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/rcmds-all.ucl b/packages/rcmds/rcmds.ucl index c2295af91f9e..a72228d28cd0 100644 --- a/release/packages/ucl/rcmds-all.ucl +++ b/packages/rcmds/rcmds.ucl @@ -24,7 +24,3 @@ with remote hosts over the network. This includes the command-line utilities rwho, ruptime, rup, rusers and rwall and the daemons rwhod, rpc.rstatd, rpc.rusersd, and rpc.rwalld. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/rdma/Makefile b/packages/rdma/Makefile new file mode 100644 index 000000000000..f30e5ea552f8 --- /dev/null +++ b/packages/rdma/Makefile @@ -0,0 +1,5 @@ +WORLDPACKAGE= rdma +SUBPACKAGES= dbg dev lib man +COMPAT_PKGS= dbg dev lib + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/rdma-all.ucl b/packages/rdma/rdma.ucl index c12104170731..cdc0ac2faa84 100644 --- a/release/packages/ucl/rdma-all.ucl +++ b/packages/rdma/rdma.ucl @@ -23,7 +23,3 @@ This package provides utilities for working with RDMA and InfiniBand networks, including the rping(1) and mckey(1) utilities used to test network functionality. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/rescue/Makefile b/packages/rescue/Makefile new file mode 100644 index 000000000000..a7df824c6f65 --- /dev/null +++ b/packages/rescue/Makefile @@ -0,0 +1,6 @@ +WORLDPACKAGE= rescue +SUBPACKAGES= + +PKG_SETS= minimal + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/rescue-all.ucl b/packages/rescue/rescue.ucl index d0aa9889eafc..ce9bb9f576ba 100644 --- a/release/packages/ucl/rescue-all.ucl +++ b/packages/rescue/rescue.ucl @@ -25,7 +25,3 @@ utilities from working. Unlike the standard system utilities, the rescue tools are statically linked, so they can be used even if the runtime linker or system libraries are missing or damaged. EOD - -annotations { - set = minimal -} diff --git a/packages/resolvconf/Makefile b/packages/resolvconf/Makefile new file mode 100644 index 000000000000..7f27446ac4eb --- /dev/null +++ b/packages/resolvconf/Makefile @@ -0,0 +1,6 @@ +WORLDPACKAGE= resolvconf +SUBPACKAGES= man + +PKG_SETS= minimal + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/resolvconf-all.ucl b/packages/resolvconf/resolvconf.ucl index 535c397e7f7f..a9fbc6ce17f7 100644 --- a/release/packages/ucl/resolvconf-all.ucl +++ b/packages/resolvconf/resolvconf.ucl @@ -23,7 +23,3 @@ resolvconf(8) is used to manage /etc/resolv.conf for systems which move between different networks, such as laptops. It is typically invoked by dhclient(8) to provide new nameservers when connecting to a network. EOD - -annotations { - set = minimal -} diff --git a/packages/rip/Makefile b/packages/rip/Makefile new file mode 100644 index 000000000000..a0713aa2d374 --- /dev/null +++ b/packages/rip/Makefile @@ -0,0 +1,3 @@ +WORLDPACKAGE= rip + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/rip-all.ucl b/packages/rip/rip.ucl index f3cfc2c80211..a3b681b6cf9e 100644 --- a/release/packages/ucl/rip-all.ucl +++ b/packages/rip/rip.ucl @@ -25,7 +25,3 @@ routers. RIP and RIPng support is deprecated and will be removed in FreeBSD 16.0. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/runtime/Makefile b/packages/runtime/Makefile new file mode 100644 index 000000000000..d14b95380769 --- /dev/null +++ b/packages/runtime/Makefile @@ -0,0 +1,14 @@ +WORLDPACKAGE= runtime +SUBPACKAGES= dbg dev man +COMPAT_PKGS= dbg dev lib + +.include <bsd.endian.mk> +PKG_UCLVARS+= CAP_MKDB_ENDIAN "${CAP_MKDB_ENDIAN}" + +PKG_SETS= minimal minimal-jail +PKG_VITAL.runtime= + +UCLSRC= common.ucl +UCLSRC.runtime= runtime.ucl + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/runtime-all.ucl b/packages/runtime/common.ucl index ccf76e41c964..26db17d7e3f6 100644 --- a/release/packages/ucl/runtime-all.ucl +++ b/packages/runtime/common.ucl @@ -22,7 +22,3 @@ desc = <<EOD This is the core system, including utilities, libraries and configuration files required for basic multi-user operation. EOD - -annotations { - set = "minimal,minimal-jail" -} diff --git a/release/packages/ucl/runtime.ucl b/packages/runtime/runtime.ucl index 5f90a1181334..a62e4e497816 100644 --- a/release/packages/ucl/runtime.ucl +++ b/packages/runtime/runtime.ucl @@ -1,4 +1,4 @@ -vital: true +.include(try=false) "${SRCDIR}/common.ucl" scripts: { post-install = <<EOD diff --git a/packages/sendmail/Makefile b/packages/sendmail/Makefile new file mode 100644 index 000000000000..7d154f2d000f --- /dev/null +++ b/packages/sendmail/Makefile @@ -0,0 +1,12 @@ +.include <src.opts.mk> + +WORLDPACKAGE= sendmail + +# sendmail requires make to build its configuration file. However, sendmail +# is still built even if WITHOUT_MAKE is set; in that case, just assume the +# user has some other way to create the configuration file. +.if ${MK_MAKE} != "no" +PKG_DEPS.sendmail+= bmake +.endif + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/sendmail-all.ucl b/packages/sendmail/sendmail.ucl index 2b26f982db7d..7a80c69b6333 100644 --- a/release/packages/ucl/sendmail-all.ucl +++ b/packages/sendmail/sendmail.ucl @@ -32,7 +32,3 @@ When the full functionality of sendmail is not required, consider using the $PKG_NAME_PREFIX-dma package instead, a lightweight MTA which can send (but not receive) mail over SMTP. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/smbutils/Makefile b/packages/smbutils/Makefile new file mode 100644 index 000000000000..a0c9f6eaf7e1 --- /dev/null +++ b/packages/smbutils/Makefile @@ -0,0 +1,7 @@ +WORLDPACKAGE= smbutils +SUBPACKAGES= dbg dev man +COMPAT_PKGS= dbg dev lib + +PKG_SETS= optional + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/smbutils-all.ucl b/packages/smbutils/smbutils.ucl index 719afd295d89..746441d83f73 100644 --- a/release/packages/ucl/smbutils-all.ucl +++ b/packages/smbutils/smbutils.ucl @@ -26,7 +26,3 @@ Message Block (SMB) protocol, sometimes called CIFS. This facility only supports SMB version 1, which is strongly deprecated and not supported by most SMB servers. EOD - -annotations { - set = optional -} diff --git a/packages/sound/Makefile b/packages/sound/Makefile new file mode 100644 index 000000000000..dd4894a71abe --- /dev/null +++ b/packages/sound/Makefile @@ -0,0 +1,8 @@ +WORLDPACKAGE= sound +SUBPACKAGES= dbg dev man +COMPAT_PKG= yes +COMPAT_PKGS= dbg dev + +PKG_SETS= optional + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/sound-all.ucl b/packages/sound/sound.ucl index 6a8ad098c6b1..e39130a4ee83 100644 --- a/release/packages/ucl/sound-all.ucl +++ b/packages/sound/sound.ucl @@ -36,7 +36,3 @@ This package provides several sound-related userland utilities: * mididump(1) can monitor the incoming MIDI events on a MIDI port. EOD - -annotations { - set = "optional" -} diff --git a/packages/ssh/Makefile b/packages/ssh/Makefile new file mode 100644 index 000000000000..a90e5e85aa23 --- /dev/null +++ b/packages/ssh/Makefile @@ -0,0 +1,7 @@ +WORLDPACKAGE= ssh +SUBPACKAGES= dbg dev man +COMPAT_PKGS= dbg dev lib + +PKG_LICENSES= ISCL + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/ssh-all.ucl b/packages/ssh/ssh.ucl index 1bf93f85dbbf..0d84fef3308d 100644 --- a/release/packages/ucl/ssh-all.ucl +++ b/packages/ssh/ssh.ucl @@ -33,9 +33,3 @@ This package provides the ssh(1) remote login client, along with the scp(1) and sftp(1) file transfer utilities, the ssh-agent(1) key management agent and related utilities for managing SSH keys, and the sshd(8) server daemon. EOD - -licenses = [ ISCL ] - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/syscons-data/Makefile b/packages/syscons-data/Makefile new file mode 100644 index 000000000000..b02059979090 --- /dev/null +++ b/packages/syscons-data/Makefile @@ -0,0 +1,6 @@ +WORLDPACKAGE= syscons-data +SUBPACKAGES= + +PKG_SETS= optional + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/syscons-data-all.ucl b/packages/syscons-data/syscons-data.ucl index 140eebc42a73..5284b8f6dc10 100644 --- a/release/packages/ucl/syscons-data-all.ucl +++ b/packages/syscons-data/syscons-data.ucl @@ -21,7 +21,3 @@ comment = "syscons(4) fonts and keymaps" desc = <<EOD Fonts and keymaps for use with the legacy syscons(4) video console driver. EOD - -annotations { - set = optional -} diff --git a/packages/syslogd/Makefile b/packages/syslogd/Makefile new file mode 100644 index 000000000000..62b677d868a1 --- /dev/null +++ b/packages/syslogd/Makefile @@ -0,0 +1,5 @@ +WORLDPACKAGE= syslogd + +PKG_SETS= minimal minimal-jail + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/syslogd-all.ucl b/packages/syslogd/syslogd.ucl index 206da9e325cf..ff810e181675 100644 --- a/release/packages/ucl/syslogd-all.ucl +++ b/packages/syslogd/syslogd.ucl @@ -25,7 +25,3 @@ system and write them to local files or forward them to a remote system. It can also receive log messages from a remote system and write them to a local file. EOD - -annotations { - set = "minimal,minimal-jail" -} diff --git a/packages/tcpd/Makefile b/packages/tcpd/Makefile new file mode 100644 index 000000000000..a6f81f095522 --- /dev/null +++ b/packages/tcpd/Makefile @@ -0,0 +1,6 @@ +WORLDPACKAGE= tcpd +SUBPACKAGES= dbg dev man +COMPAT_PKG= yes +COMPAT_PKGS= dbg dev + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/tcpd-all.ucl b/packages/tcpd/tcpd.ucl index c9cdcab9dde1..be0e6fabfa26 100644 --- a/release/packages/ucl/tcpd-all.ucl +++ b/packages/tcpd/tcpd.ucl @@ -31,7 +31,3 @@ Wrappers using the tcpd(8) utility. This package also provides a periodic(8) script used to report TCP Wrappers activity. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/telnet/Makefile b/packages/telnet/Makefile new file mode 100644 index 000000000000..d21b32836b1d --- /dev/null +++ b/packages/telnet/Makefile @@ -0,0 +1,3 @@ +WORLDPACKAGE= telnet + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/telnet-all.ucl b/packages/telnet/telnet.ucl index af4c9001be0f..0f496e1b1246 100644 --- a/release/packages/ucl/telnet-all.ucl +++ b/packages/telnet/telnet.ucl @@ -27,7 +27,3 @@ particular, the Kerberos 5 support is limited to DES encryption) and should not be used to transfer sensitive data such as passwords. In most situations, the Secure Shell protocol is preferred over TELNET. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/tests/Makefile b/packages/tests/Makefile new file mode 100644 index 000000000000..da4038c4e045 --- /dev/null +++ b/packages/tests/Makefile @@ -0,0 +1,22 @@ +WORLDPACKAGE= tests +SUBPACKAGES= dbg + +PKG_SETS= tests + +# Nearly all the tests require atf to run. +PKG_DEPS.tests+= atf + +# Quite a few tests require flua. +PKG_DEPS.tests+= flua + +# Some tests need GoogleTest +PKG_DEPS.tests+= googletest + +# The test framework requires Kyua. +PKG_DEPS.tests+= kyua + +# Since the purpose of the tests is to test the base system, the base +# system must be installed. +PKG_DEPS.tests+= set-base + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/tests-all.ucl b/packages/tests/tests.ucl index 315ac2e8cce0..9fa84923ebd5 100644 --- a/release/packages/ucl/tests-all.ucl +++ b/packages/tests/tests.ucl @@ -22,7 +22,3 @@ desc = <<EOD The test suite, installed in /usr/tests, allows the functionality of the installed system to be verified. EOD - -annotations { - set = tests -} diff --git a/packages/toolchain/Makefile b/packages/toolchain/Makefile new file mode 100644 index 000000000000..344f0d250b79 --- /dev/null +++ b/packages/toolchain/Makefile @@ -0,0 +1,7 @@ +WORLDPACKAGE= toolchain +SUBPACKAGES= dbg dev man +COMPAT_PKGS= dev + +PKG_SETS= devel + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/toolchain-all.ucl b/packages/toolchain/toolchain.ucl index 5bbaab907852..eab12bb7de91 100644 --- a/release/packages/ucl/toolchain-all.ucl +++ b/packages/toolchain/toolchain.ucl @@ -22,7 +22,3 @@ desc = <<EOD This package provides various utilities used to build software, and to examine and manipulate object files, executables, and libraries. EOD - -annotations { - set = devel -} diff --git a/packages/ufs/Makefile b/packages/ufs/Makefile new file mode 100644 index 000000000000..b62e153b18c4 --- /dev/null +++ b/packages/ufs/Makefile @@ -0,0 +1,7 @@ +WORLDPACKAGE= ufs +SUBPACKAGES= dbg dev lib man +COMPAT_PKGS= dbg dev lib + +PKG_SETS= minimal + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/ufs-all.ucl b/packages/ufs/ufs.ucl index b35e0f3d1dc7..ec71493540e8 100644 --- a/release/packages/ucl/ufs-all.ucl +++ b/packages/ufs/ufs.ucl @@ -34,7 +34,3 @@ an unclean shutdown or panic. The libufs library is also provided, which allows applications to access UFS filesystems programmatically. EOD - -annotations { - set = minimal -} diff --git a/packages/utilities/Makefile b/packages/utilities/Makefile new file mode 100644 index 000000000000..b68e2593a3c4 --- /dev/null +++ b/packages/utilities/Makefile @@ -0,0 +1,14 @@ +WORLDPACKAGE= utilities +SUBPACKAGES= dbg dev man +COMPAT_PKG= yes +COMPAT_PKGS= dbg dev + +.include <bsd.endian.mk> +PKG_UCLVARS+= CAP_MKDB_ENDIAN "${CAP_MKDB_ENDIAN}" + +PKG_SETS= minimal minimal-jail + +UCLSRC= common.ucl +UCLSRC.utilities= utilities.ucl + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/utilities-all.ucl b/packages/utilities/common.ucl index a5dba9bd7a56..81df2699a040 100644 --- a/release/packages/ucl/utilities-all.ucl +++ b/packages/utilities/common.ucl @@ -22,7 +22,3 @@ desc = <<EOD This package provides various shell utilities, tools, and libraries which are commonly used but are not considered essential to system operation. EOD - -annotations { - set = "minimal,minimal-jail" -} diff --git a/release/packages/ucl/utilities.ucl b/packages/utilities/utilities.ucl index 4eb98cae292a..8228712cc209 100644 --- a/release/packages/ucl/utilities.ucl +++ b/packages/utilities/utilities.ucl @@ -1,3 +1,5 @@ +.include(try=false) "${SRCDIR}/common.ucl" + scripts: { post-install = <<EOD cap_mkdb ${CAP_MKDB_ENDIAN} ${PKG_ROOTDIR}/etc/login.conf diff --git a/packages/vi/Makefile b/packages/vi/Makefile new file mode 100644 index 000000000000..62f0879a31e0 --- /dev/null +++ b/packages/vi/Makefile @@ -0,0 +1,5 @@ +WORLDPACKAGE= vi + +PKG_SETS= minimal minimal-jail + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/vi-all.ucl b/packages/vi/vi.ucl index dd5c691bc89a..38b009740933 100644 --- a/release/packages/ucl/vi-all.ucl +++ b/packages/vi/vi.ucl @@ -22,7 +22,3 @@ desc = <<EOD This package provides ex(1), an extended version of the ed(1) line-oriented text editor, and vi(1), a user-friendly full-screen text editor based on ex. EOD - -annotations { - set = "minimal,minimal-jail" -} diff --git a/packages/vt-data/Makefile b/packages/vt-data/Makefile new file mode 100644 index 000000000000..aa2ae0287e2a --- /dev/null +++ b/packages/vt-data/Makefile @@ -0,0 +1,6 @@ +WORLDPACKAGE= vt-data +SUBPACKAGES= + +PKG_SETS= minimal + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/vt-data-all.ucl b/packages/vt-data/vt-data.ucl index b628ffe7f4da..03ccc6d7f2b5 100644 --- a/release/packages/ucl/vt-data-all.ucl +++ b/packages/vt-data/vt-data.ucl @@ -21,7 +21,3 @@ comment = "vt(4) fonts and keymaps" desc = <<EOD Fonts and keymaps for use with the vt(4) video console driver. EOD - -annotations { - set = minimal -} diff --git a/packages/wpa/Makefile b/packages/wpa/Makefile new file mode 100644 index 000000000000..83c9d7662419 --- /dev/null +++ b/packages/wpa/Makefile @@ -0,0 +1,5 @@ +WORLDPACKAGE= wpa + +PKG_SETS= minimal + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/wpa-all.ucl b/packages/wpa/wpa.ucl index e7a5eb9ca892..a30878369dd3 100644 --- a/release/packages/ucl/wpa-all.ucl +++ b/packages/wpa/wpa.ucl @@ -43,7 +43,3 @@ runs in the background and acts as the backend component controlling the wireless connection. It supports separate frontend programs such as the text-based wpa_cli(8) program. EOD - -annotations { - set = minimal -} diff --git a/packages/xz/Makefile b/packages/xz/Makefile new file mode 100644 index 000000000000..82560245f789 --- /dev/null +++ b/packages/xz/Makefile @@ -0,0 +1,7 @@ +WORLDPACKAGE= xz +SUBPACKAGES= dbg dev lib man +COMPAT_PKGS= dbg dev lib + +PKG_SETS= minimal minimal-jail + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/xz-all.ucl b/packages/xz/xz.ucl index 3523dc70ca55..8ab5282fd8e1 100644 --- a/release/packages/ucl/xz-all.ucl +++ b/packages/xz/xz.ucl @@ -23,7 +23,3 @@ xz compresses data using the LZMA2 data compression algorithm. This package provides the front-end xz(1) utility, and the liblzma library which allows applications to use this functionality programmatically. EOD - -annotations { - set = "minimal,minimal-jail" -} diff --git a/packages/yp/Makefile b/packages/yp/Makefile new file mode 100644 index 000000000000..194ef32642c3 --- /dev/null +++ b/packages/yp/Makefile @@ -0,0 +1,8 @@ +WORLDPACKAGE= yp +SUBPACKAGES= dbg dev lib man +COMPAT_PKGS= dbg dev lib + +# YP requires bmake to rebuild the database. +PKG_DEPS.yp+= bmake + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/yp-all.ucl b/packages/yp/yp.ucl index fb337394fc4c..be3f76e0f038 100644 --- a/release/packages/ucl/yp-all.ucl +++ b/packages/yp/yp.ucl @@ -24,7 +24,3 @@ information across machines on a network. This package contains the YP server, YP management utilities, the YP-LDAP gateway (ypldap), YP client utilities and a sample Makefile for building the YP database. EOD - -annotations { - set = "optional,optional-jail" -} diff --git a/packages/zfs/Makefile b/packages/zfs/Makefile new file mode 100644 index 000000000000..b43dbbe8aa2c --- /dev/null +++ b/packages/zfs/Makefile @@ -0,0 +1,8 @@ +WORLDPACKAGE= zfs +SUBPACKAGES= dbg dev lib man +COMPAT_PKGS= dbg dev lib + +PKG_LICENSES= CDDL-1.0 +PKG_SETS= minimal + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/zfs-all.ucl b/packages/zfs/zfs.ucl index 9d166452188d..8e40ff0218b2 100644 --- a/release/packages/ucl/zfs-all.ucl +++ b/packages/zfs/zfs.ucl @@ -41,9 +41,3 @@ utilities, as well as the runtime libraries used internally by ZFS itself, and the libzfs_core library providing a stable interface for managing ZFS programmatically. EOD - -licenses = [ "CDDL-1.0" ] - -annotations { - set = minimal -} diff --git a/packages/zlib/Makefile b/packages/zlib/Makefile new file mode 100644 index 000000000000..f6abde40b1b0 --- /dev/null +++ b/packages/zlib/Makefile @@ -0,0 +1,8 @@ +WORLDPACKAGE= zlib +SUBPACKAGES= dbg dev man +COMPAT_PKGS= dbg dev lib + +PKG_LICENSES= Zlib +PKG_SETS= minimal minimal-jail + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/zlib-all.ucl b/packages/zlib/zlib.ucl index d7596c698e39..77164af5e82a 100644 --- a/release/packages/ucl/zlib-all.ucl +++ b/packages/zlib/zlib.ucl @@ -24,9 +24,3 @@ GNU gzip(1) utility. DEFLATE is widely used in many situations, such as network protocols (including HTTP) that need to compress data in transit, and in utilities that compress data on disk. EOD - -licenses = [ "Zlib" ] - -annotations { - set = "minimal,minimal-jail" -} diff --git a/packages/zoneinfo/Makefile b/packages/zoneinfo/Makefile new file mode 100644 index 000000000000..668d52109301 --- /dev/null +++ b/packages/zoneinfo/Makefile @@ -0,0 +1,7 @@ +WORLDPACKAGE= zoneinfo +SUBPACKAGES= + +PKG_LICENSES= PD +PKG_SETS= minimal minimal-jail + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/zoneinfo-all.ucl b/packages/zoneinfo/zoneinfo.ucl index 028a2273e2f7..3f37da3dca52 100644 --- a/release/packages/ucl/zoneinfo-all.ucl +++ b/packages/zoneinfo/zoneinfo.ucl @@ -22,9 +22,3 @@ desc = <<EOD The timezone database allows applications to convert dates and times between UTC and local timezones. EOD - -licenses = [ "PD" ] - -annotations { - set = "minimal,minimal-jail" -} diff --git a/packages/zstd/Makefile b/packages/zstd/Makefile new file mode 100644 index 000000000000..f469f4abc952 --- /dev/null +++ b/packages/zstd/Makefile @@ -0,0 +1,7 @@ +WORLDPACKAGE= zstd +SUBPACKAGES= dbg dev lib man +COMPAT_PKGS= dbg dev lib + +PKG_SETS= minimal minimal-jail + +.include <bsd.pkg.mk> diff --git a/release/packages/ucl/zstd-all.ucl b/packages/zstd/zstd.ucl index ada125444b68..51d707206641 100644 --- a/release/packages/ucl/zstd-all.ucl +++ b/packages/zstd/zstd.ucl @@ -24,7 +24,3 @@ by Meta Platforms, Inc. and standardised by the IETF in RFC 8478. Zstd is designed to offer a compression ratio comparable to DEFLATE (zlib), but with performance suitable for real-time compression applications. EOD - -annotations { - set = "minimal,minimal-jail" -} diff --git a/release/packages/ucl/at.ucl b/release/packages/ucl/at.ucl deleted file mode 100644 index 1e2495028b30..000000000000 --- a/release/packages/ucl/at.ucl +++ /dev/null @@ -1,31 +0,0 @@ -/* - * SPDX-License-Identifier: ISC - * - * Copyright (c) 2025 Lexi Winter <ivy@FreeBSD.org> - * - * Permission to use, copy, modify, and distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - */ - -deps { - # atrun relies on cron to work. - "cron" { - version = "${VERSION}" - }, - - # at(1) passes the command to /bin/sh - "runtime" { - version = "${VERSION}" - }, -} - - diff --git a/release/packages/ucl/bluetooth.ucl b/release/packages/ucl/bluetooth.ucl deleted file mode 100644 index e9c4787fdbfb..000000000000 --- a/release/packages/ucl/bluetooth.ucl +++ /dev/null @@ -1,27 +0,0 @@ -/* - * SPDX-License-Identifier: ISC - * - * Copyright (c) 2025 Lexi Winter <ivy@FreeBSD.org> - * - * Permission to use, copy, modify, and distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - */ - -deps { - # rfcomm_pppd(8) uses ppp(8) - "ppp" { - version = "${VERSION}" - }, -} - - - diff --git a/release/packages/ucl/bsdconfig.ucl b/release/packages/ucl/bsdconfig.ucl deleted file mode 100644 index 98981f65bea4..000000000000 --- a/release/packages/ucl/bsdconfig.ucl +++ /dev/null @@ -1,24 +0,0 @@ -/* - * SPDX-License-Identifier: ISC - * - * Copyright (c) 2025 Lexi Winter <ivy@FreeBSD.org> - * - * Permission to use, copy, modify, and distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - */ - -deps { - # bsdconfig is written in shell script, so it needs /bin/sh - "runtime" { - version = "${VERSION}" - }, -} diff --git a/release/packages/ucl/bsdinstall.ucl b/release/packages/ucl/bsdinstall.ucl deleted file mode 100644 index 96ff220bfb54..000000000000 --- a/release/packages/ucl/bsdinstall.ucl +++ /dev/null @@ -1,29 +0,0 @@ -/* - * SPDX-License-Identifier: ISC - * - * Copyright (c) 2025 Lexi Winter <ivy@FreeBSD.org> - * - * Permission to use, copy, modify, and distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - */ - -deps { - # bsdinstall is written in shell script, so it needs /bin/sh - "runtime" { - version = "${VERSION}" - }, - - # the pkgbase script requires flua - "flua" { - version = "${VERSION}" - }, -} diff --git a/release/packages/ucl/certctl.ucl b/release/packages/ucl/certctl.ucl deleted file mode 100644 index d2b4790946ec..000000000000 --- a/release/packages/ucl/certctl.ucl +++ /dev/null @@ -1,23 +0,0 @@ -/* - * SPDX-License-Identifier: ISC - * - * Copyright (c) 2025 Lexi Winter <ivy@FreeBSD.org> - * - * Permission to use, copy, modify, and distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - */ - -deps { - "openssl": { - version = "${VERSION}" - } -} diff --git a/release/packages/ucl/clang.ucl b/release/packages/ucl/clang.ucl deleted file mode 100644 index deee636dc0a7..000000000000 --- a/release/packages/ucl/clang.ucl +++ /dev/null @@ -1,14 +0,0 @@ -deps { - "lld" { - version = "${VERSION}" - } - - "libcompiler_rt-dev" { - version = "${VERSION}" - } -} - -shlibs_required_ignore: [ - "libc.so.7:32", - "libgcc_s.so.1:32", -] diff --git a/release/packages/ucl/clibs.ucl b/release/packages/ucl/clibs.ucl deleted file mode 100644 index 093fbb60248a..000000000000 --- a/release/packages/ucl/clibs.ucl +++ /dev/null @@ -1 +0,0 @@ -vital: true diff --git a/release/packages/ucl/devd.ucl b/release/packages/ucl/devd.ucl deleted file mode 100644 index c5fcfef1c368..000000000000 --- a/release/packages/ucl/devd.ucl +++ /dev/null @@ -1,24 +0,0 @@ -/* - * SPDX-License-Identifier: ISC - * - * Copyright (c) 2025 Lexi Winter <ivy@FreeBSD.org> - * - * Permission to use, copy, modify, and distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - */ - -deps { - # devd uses /bin/sh to invoke hooks. - "runtime" { - version = "${VERSION}" - }, -} diff --git a/release/packages/ucl/dhclient.ucl b/release/packages/ucl/dhclient.ucl deleted file mode 100644 index f15ca8703edf..000000000000 --- a/release/packages/ucl/dhclient.ucl +++ /dev/null @@ -1,26 +0,0 @@ -/* - * SPDX-License-Identifier: ISC - * - * Copyright (c) 2025 Lexi Winter <ivy@FreeBSD.org> - * - * Permission to use, copy, modify, and distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - */ - -deps { - # dhclient uses resolvconf to update /etc/resolv.conf in case the - # DHCP server returns nameserver addresses. - "resolvconf" { - version = "${VERSION}" - }, -} - diff --git a/release/packages/ucl/newsyslog.ucl b/release/packages/ucl/newsyslog.ucl deleted file mode 100644 index 27b212a42b77..000000000000 --- a/release/packages/ucl/newsyslog.ucl +++ /dev/null @@ -1,6 +0,0 @@ -deps { - # newsyslog uses bzip2 to compress log files. - "bzip2" { - version = "${VERSION}" - } -} diff --git a/release/packages/ucl/periodic.ucl b/release/packages/ucl/periodic.ucl deleted file mode 100644 index 2a8a482f959f..000000000000 --- a/release/packages/ucl/periodic.ucl +++ /dev/null @@ -1,23 +0,0 @@ -/* - * SPDX-License-Identifier: ISC - * - * Copyright (c) 2025 Lexi Winter <ivy@FreeBSD.org> - * - * Permission to use, copy, modify, and distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - */ - -deps { - "cron" { - version = "${VERSION}" - } -} diff --git a/release/packages/ucl/rc.ucl b/release/packages/ucl/rc.ucl deleted file mode 100644 index b750c731469b..000000000000 --- a/release/packages/ucl/rc.ucl +++ /dev/null @@ -1,27 +0,0 @@ -/* - * SPDX-License-Identifier: ISC - * - * Copyright (c) 2025 Lexi Winter <ivy@FreeBSD.org> - * - * Permission to use, copy, modify, and distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - */ - -deps { - "runtime": { - version = "${VERSION}" - }, - # /etc/rc.d/var_run depends on mtree. - "mtree": { - version = "${VERSION}" - }, -} diff --git a/release/packages/ucl/rcmds.ucl b/release/packages/ucl/rcmds.ucl deleted file mode 100644 index de608487e07d..000000000000 --- a/release/packages/ucl/rcmds.ucl +++ /dev/null @@ -1,25 +0,0 @@ -/* - * SPDX-License-Identifier: ISC - * - * Copyright (c) 2025 Lexi Winter <ivy@FreeBSD.org> - * - * Permission to use, copy, modify, and distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - */ - -deps { - # The RPC daemons require rpcbind. - "utilities" { - version = "${VERSION}" - } -} - diff --git a/release/packages/ucl/sendmail.ucl b/release/packages/ucl/sendmail.ucl deleted file mode 100644 index 318fd5aabbe5..000000000000 --- a/release/packages/ucl/sendmail.ucl +++ /dev/null @@ -1,24 +0,0 @@ -/* - * SPDX-License-Identifier: ISC - * - * Copyright (c) 2025 Lexi Winter <ivy@FreeBSD.org> - * - * Permission to use, copy, modify, and distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - */ - -deps { - # sendmail requires make to build its configuration file. - "bmake": { - version = "${VERSION}" - } -} diff --git a/release/packages/ucl/tests.ucl b/release/packages/ucl/tests.ucl deleted file mode 100644 index da9eb59295bc..000000000000 --- a/release/packages/ucl/tests.ucl +++ /dev/null @@ -1,46 +0,0 @@ -/* - * SPDX-License-Identifier: ISC - * - * Copyright (c) 2025 Lexi Winter <ivy@FreeBSD.org> - * - * Permission to use, copy, modify, and distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - */ - - -deps { - # Nearly all the tests require atf to run. - "atf": { - version = "${VERSION}" - }, - - # Quite a few tests require flua. - "flua" { - version = "${VERSION}" - }, - - # Some tests need GoogleTest - "googletest": { - version = "${VERSION}" - }, - - # The test framework requires Kyua. - "kyua": { - version = "${VERSION}" - }, - - # Since the purpose of the tests is to test the base system, the base - # system must be installed. - "set-base": { - version = "${VERSION}" - } -} diff --git a/release/packages/ucl/yp.ucl b/release/packages/ucl/yp.ucl deleted file mode 100644 index 9babdbe98fb1..000000000000 --- a/release/packages/ucl/yp.ucl +++ /dev/null @@ -1,24 +0,0 @@ -/* - * SPDX-License-Identifier: ISC - * - * Copyright (c) 2025 Lexi Winter <ivy@FreeBSD.org> - * - * Permission to use, copy, modify, and distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - */ - -deps { - # YP requires bmake to rebuild the database. - "bmake": { - version = "${VERSION}" - } -} diff --git a/share/mk/bsd.pkg.mk b/share/mk/bsd.pkg.mk new file mode 100644 index 000000000000..86bc96591ef0 --- /dev/null +++ b/share/mk/bsd.pkg.mk @@ -0,0 +1,218 @@ +# SPDX-License-Identifier: ISC +# +# Copyright (c) 2026 Lexi Winter <ivy@FreeBSD.org> +# +# Permission to use, copy, modify, and distribute this software for any +# purpose with or without fee is hereby granted, provided that the above +# copyright notice and this permission notice appear in all copies. +# +# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +# bsd.pkg.mk: Create a package based on an existing plist and the template +# UCL files. This is intended for use by packages/* during the build, and +# cannot be used to generate standalone packages. + +.if !defined(REPODIR) +. error REPODIR must be set +.endif + +.if !defined(PKG_VERSION) +. error PKG_VERSION must be set +.endif + +_PKG_NEED_ABI= +.include <bsd.pkg.pre.mk> +.include <bsd.compat.pre.mk> +.include <src.opts.mk> + +# Allow flua to be overridden; the world build does this to use the +# bootstrap version. +FLUA?= /usr/libexec/flua + +# The directory that files to be packaged have been staged into. +# If ${WSTAGEDIR} is set from Makefile.inc1, use that, otherwise +# use the default location. +.if defined(WSTAGEDIR) +_PKG_WORLDSTAGE= ${WSTAGEDIR} +.else +_PKG_WORLDSTAGE= ${OBJTOP}/worldstage +.endif + +_PKGDIR= ${SRCTOP}/packages +_STAGEDIR= ${REPODIR}/${PKG_ABI}/${PKG_VERSION} + +# These are the default UCL variables we pass to generate-ucl.lua. +# Allow the caller to add additional variables via PKG_UCLVARS. +_UCLVARS= \ + VERSION "${PKG_VERSION}" \ + PKG_NAME_PREFIX "${PKG_NAME_PREFIX}" \ + PKG_WWW "${PKG_WWW}" \ + PKG_MAINTAINER "${PKG_MAINTAINER}" \ + ${PKG_UCLVARS} + +# Global pkg(8) arguments. +_PKG_ARGS= \ + -o ABI=${PKG_ABI} \ + -o OSVERSION=${PKG_OSVERSION} \ + -o ALLOW_BASE_SHLIBS=yes \ + -o SHLIB_PROVIDE_PATHS_NATIVE=/lib,/usr/lib \ + ${_ALL_LIBCOMPATS:range:@i@-o SHLIB_PROVIDE_PATHS_COMPAT_${_ALL_LIBCOMPATS:[$i]}=/usr/lib${_ALL_libcompats:[$i]}@} \ + +# Arguments to pkg-create(8). +_PKG_CREATE_ARGS= \ + -f ${PKG_FORMAT} \ + ${PKG_CLEVEL} \ + -T ${PKG_CTHREADS} \ + -r ${_PKG_WORLDSTAGE} \ + -o ${.OBJDIR} + +_PKG_CREATE= ${PKG_CMD} ${_PKG_ARGS} create ${_PKG_CREATE_ARGS} + +# If WORLDPACKAGE is set, we're building a world package. +.if defined(WORLDPACKAGE) + +# Default to using the same UCL file for all subpackages, since the vast +# majority of packages are built this way. +UCLSRC?= ${WORLDPACKAGE}.ucl + +# Nearly all packages have a dbg and man subpackage, so enable that by default. +SUBPACKAGES?= dbg man + +# This lets the caller use constructs like SUBPACKAGES.${MK_FOO}+= foo +_SUBPACKAGES= ${SUBPACKAGES} ${SUBPACKAGES.yes} ${SUBPACKAGES.yes.yes} + +# Remove the dbg subpackage if debug files are disabled. +.if ${MK_DEBUG_FILES} == "no" +_SUBPACKAGES:= ${_SUBPACKAGES:Ndbg} +. if defined(COMPAT_PKGS) +COMPAT_PKGS:= ${COMPAT_PKGS:Ndbg} +. endif # defined(COMPAT_PKGS) +.endif # ${MK_DEBUG_FILES} == "no" + +# Remove the man subpackage if split man packages are disabled. +.if ${MK_MANSPLITPKG} == "no" +_SUBPACKAGES:= ${_SUBPACKAGES:Nman} +.endif # ${MK_MANSPLITPKG} == "no" + +# Add the base package, unless there isn't one, which can happen with +# static library packages. +.if !defined(PKG_NO_BASE) +_ALLPACKAGES= ${WORLDPACKAGE} +.endif + +# Add basic subpackages. +.for _subpackage in ${_SUBPACKAGES} +_ALLPACKAGES+= ${_subpackage:S/^/${WORLDPACKAGE}-/} +.endfor # _subpackage in ${_SUBPACKAGES} + +# Add libcompat subpackages. +.for LIBCOMPAT libcompat in ${_ALL_LIBCOMPATS_libcompats} +. if ${MK_LIB${LIBCOMPAT}} != "no" + +# For the base package... +. if ${COMPAT_PKG:Uno} != "no" +_ALLPACKAGES+= ${WORLDPACKAGE}-lib${libcompat} +. endif + +# And for subpackages. +. for _pkg in ${COMPAT_PKGS} +# lib is special, because it gets -lib32, not -lib-lib32. +. if ${_pkg} == "lib" +_ALLPACKAGES+= ${WORLDPACKAGE}-lib${libcompat} +. else +_ALLPACKAGES+= ${WORLDPACKAGE}-${_pkg}-lib${libcompat} +. endif +. endfor + +. endif # ${MK_LIB${LIBCOMPAT}} != "no" +.endfor + +CLEANFILES+= *.pkgucl *.ucl.in *.plist *.pkg + +all: .PHONY + +. for _pkg in ${_ALLPACKAGES} +_pkgfullname:= ${PKG_NAME_PREFIX}-${_pkg} +_pkgfilename:= ${_pkgfullname}-${PKG_VERSION}.pkg + +all: ${_pkgfilename} + +${_pkgfilename}: ${_pkgfullname}.pkgucl ${_pkg}.plist + # We should never create an empty package; this means we intended to + # build the package, but we didn't build the things which are supposed + # to be in the package, which means something went wrong somewhere. + # If you hit this check when building, it probably means a package is + # not properly excluded in packages/Makefile based on src.conf options. + @if [ "$$(grep -vc '^@dir' "${.ALLSRC:M*.plist}")" -eq 0 ]; \ + then \ + printf >&2 'ERROR: Refusing to build empty package %s from %s\n' \ + "${.TARGET}" "${.ALLSRC:M*.plist}"; \ + exit 1; \ + fi + ${_PKG_CREATE} -M ${.ALLSRC:M*.pkgucl} -p ${.ALLSRC:M*.plist} + +${_pkgfullname}.ucl.in: ${UCLSRC.${_pkg}:U${UCLSRC:U${_pkg}.ucl}} + @echo 'Generating ${.TARGET} from ${.ALLSRC}' + @cp ${.ALLSRC} ${.TARGET} + @echo >>${.TARGET} 'name = "${PKG_NAME_PREFIX}-${_pkg}"' + @echo >>${.TARGET} 'origin = "base/${PKG_NAME_PREFIX}-${_pkg}"' + @echo >>${.TARGET} 'categories [ "base" ]' + @echo >>${.TARGET} 'prefix = "/"' + @echo >>${.TARGET} 'version = "${PKG_VERSION}"' + @echo >>${.TARGET} 'maintainer = "${PKG_MAINTAINER}"' + @echo >>${.TARGET} 'www = "${PKG_WWW}"' +.if defined(PKG_VITAL.${_pkg}) + @echo >>${.TARGET} 'vital = true' +.endif + @echo >>${.TARGET} 'licenselogic = "${PKG_LICENSELOGIC}"' + @echo >>${.TARGET} 'licenses [' +.for _license in ${PKG_LICENSES} + # When a value contains spaces and is quoted (e.g., "X WITH Y"), + # make preserves the quotes in the value, so we need to strip them. + @echo >>${.TARGET} ' "${_license:S/"//g}",' +.endfor + @echo >>${.TARGET} ']' + @echo >>${.TARGET} 'annotations {' +.for _annotation in ${PKG_ANNOTATIONS} + @echo >>${.TARGET} ' ${_annotation} = "${PKG_ANNOTATIONS.${_annotation}}"' +.endfor + @echo >>${.TARGET} '}' +.if defined(PKG_DEPS.${_pkg}) + @echo >>${.TARGET} 'deps {' +. for _dep in ${PKG_DEPS.${_pkg}} + @echo >>${.TARGET} ' "${_dep}" {' + @echo >>${.TARGET} ' "origin" = "base/${PKG_NAME_PREFIX}-${_dep}"' + @echo >>${.TARGET} ' "version" = "${PKG_VERSION}"' + @echo >>${.TARGET} ' },' +. endfor + @echo >>${.TARGET} '}' +.endif + +${_pkgfullname}.pkgucl: ${_pkgfullname}.ucl.in + ${FLUA} ${SRCTOP}/release/packages/generate-ucl.lua \ + ${_UCLVARS} \ + PKGNAME "${_pkg}" \ + PKGGENNAME "${WORLDPACKAGE}" \ + SRCDIR "${.CURDIR}" \ + "${.ALLSRC:M*.ucl.in}" ${.TARGET} + +. endfor # _pkg in ${_ALLPACKAGES} +.endif # defined(WORLDPACKAGE) + +# Stage the packages from objdir into repodir. + +stagepackages: .PHONY + mkdir -p ${_STAGEDIR} + cp ${_ALLPACKAGES:S/^/${PKG_NAME_PREFIX}-/:S/$/-${PKG_VERSION}.pkg/} \ + ${_STAGEDIR} + +.SUFFIXES: .plist .ucl .pkg +.PATH: ${_PKG_WORLDSTAGE} + +.include <bsd.obj.mk> diff --git a/share/mk/bsd.pkg.pre.mk b/share/mk/bsd.pkg.pre.mk new file mode 100644 index 000000000000..bcd6f71c5b77 --- /dev/null +++ b/share/mk/bsd.pkg.pre.mk @@ -0,0 +1,92 @@ +# SPDX-License-Identifier: ISC +# +# Copyright (c) 2026 Lexi Winter <ivy@FreeBSD.org> +# +# Permission to use, copy, modify, and distribute this software for any +# purpose with or without fee is hereby granted, provided that the above +# copyright notice and this permission notice appear in all copies. +# +# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +# Variable definitions used by bsd.pkg.mk. All of these may be overridden: +# +# PKG_CMD The pkg command. [pkg] +# PKG_FORMAT The archive format used when creating packages. One of +# "tzst", "txz", "tbz", "tgz" or "tar". [tzst] +# PKG_LEVEL The compression level for compressed package formats. +# The meaning depends on the exact format, or one of the +# special values "fast" or "best" may be used. [-1] +# PKG_CTHREADS How many threads to use when creating compressed packages. +# Set to "0" or "auto" to auto-detect based on the number +# of CPUs. [0] +# PKG_ABI_FILE The file used to determine the ABI to use when creating +# packages. This should refer to the system being built, +# not the host system. [${WSTAGEDIR}/usr/bin/uname} +# +# +# Package metadata: +# +# PKG_NAME_PREFIX The prefix to use for package names. [FreeBSD] +# PKG_MAINTAINER The package maintainer. [re@FreeBSD.org] +# PKG_WWW The package website. [https://www.FreeBSD.org] +# +# +# Only if _PKG_NEED_ABI is defined: +# +# PKG_ABI The ABI string to use when creating packages. [autodetected] +# +.if !target(__<bsd.pkg.pre.mk>__) +__<bsd.pkg.pre.mk>__: .NOTMAIN + +# How we invoke pkg. +PKG_CMD?= pkg +PKG_FORMAT?= tzst +PKG_LEVEL?= -1 +PKG_CLEVEL= ${"${PKG_FORMAT:Mtar}" != "":?:-l ${PKG_LEVEL}} +PKG_CTHREADS?= 0 +PKG_ABI_FILE?= ${WSTAGEDIR}/usr/bin/uname + +# These are used in the generated packages, and can be overridden for +# downstream builds. +PKG_NAME_PREFIX?= FreeBSD +PKG_MAINTAINER?= re@FreeBSD.org +PKG_WWW?= https://www.FreeBSD.org + +# These can be set per-package. +PKG_LICENSELOGIC?= single +PKG_LICENSES?= BSD2CLAUSE +PKG_SETS?= optional optional-jail + +# The set annotation may be removed in the future, so don't rely on +# it being here. +PKG_ANNOTATIONS+= set +PKG_ANNOTATIONS.set= ${PKG_SETS:ts,:[*]} + +.endif # !target(__<bsd.pkg.pre.mk>__) + +# This always needs to be evaluated since something may have previously +# included us without setting _PKG_NEED_ABI. +.if defined(_PKG_NEED_ABI) + +. if !defined(PKG_ABI) +PKG_ABI!= ${PKG_CMD} -o ABI_FILE=${PKG_ABI_FILE} config ABI +. endif + +# Usually SRCRELDATE comes from Makefile.inc1, but if it's missing, +# find it ourselves. +. if !defined(PKG_OSVERSION) +. if defined(SRCRELDATE) +PKG_OSVERSION= ${SRCRELDATE} +. else +PKG_OSVERSION!= awk '/^\#define[[:space:]]*__FreeBSD_version/ { print $$3 }' \ + ${SRCTOP}/sys/sys/param.h +. endif +. endif + +.endif # defined(_PKG_NEED_ABI) diff --git a/share/mk/bsd.subdir.mk b/share/mk/bsd.subdir.mk index 289e3d591c8c..e8bebd07361f 100644 --- a/share/mk/bsd.subdir.mk +++ b/share/mk/bsd.subdir.mk @@ -45,14 +45,14 @@ SUBDIR_TARGETS+= \ cleanobj depend distribute files includes installconfig \ installdirs \ installfiles installincludes print-dir realinstall \ - maninstall manlint ${_obj} objlink tags \ + maninstall manlint ${_obj} objlink stagepackages tags \ # Described above. STANDALONE_SUBDIR_TARGETS+= \ all-man buildconfig buildfiles buildincludes check checkdpadd \ clean cleandepend cleandir cleanilinks cleanobj files includes \ installconfig installdirs installincludes installfiles print-dir \ - maninstall manlint obj objlink + maninstall manlint obj objlink stagepackages .include <bsd.init.mk> |
