aboutsummaryrefslogtreecommitdiff
path: root/release/packages
Commit message (Collapse)AuthorAgeFilesLines
* pkgbase: Create a FreeBSD-ftp packageEmmanuel Vadot2021-09-071-0/+2
| | | | | | | | ftp tools aren't that useful nowadays but some might want them. Create a FreeBSD-ftp package so users have a choice to have them or not. Differential Revision: https://reviews.freebsd.org/D31794
* pkgbase: Create a FreeBSD-hyperv packageEmmanuel Vadot2021-09-071-0/+2
| | | | | | Put all hyperv utilities in it. Differential Revision: https://reviews.freebsd.org/D31805
* pkgbase: Remove libefivar package and add a efi-tools oneEmmanuel Vadot2021-09-071-0/+2
| | | | | | Put all the efi related tools into FreeBSD-efi-tools. Differential Revision: https://reviews.freebsd.org/D31803
* pkgbase: Create a FreeBSD-kerberos packageEmmanuel Vadot2021-09-071-0/+2
| | | | | | | This allows users to install or not kerberos related utilities and libs. Differential Revision: https://reviews.freebsd.org/D31801
* pkgbase: Create a FreeBSD-rdma packageEmmanuel Vadot2021-09-071-0/+2
| | | | | | Put all the rdma related tools into this package. Differential Revision: https://reviews.freebsd.org/D31799
* pkgbase: Create a vt-data packageEmmanuel Vadot2021-09-071-0/+2
| | | | | | | vt files for either keyboards and fonts are totally optional so create a separate package for them. Differential Revision: https://reviews.freebsd.org/D31797
* pkgbase: Create a FreeBSD-dwatch packageEmmanuel Vadot2021-09-071-0/+2
| | | | | | | While dwatch is useful some users might not want it by default. Create a package for it. Differential Revision: https://reviews.freebsd.org/D31796
* pkgbase: Create a mlx-tools packageEmmanuel Vadot2021-09-071-0/+2
| | | | | | | | mlx* are only useful for users who have a Mellanox card. Create a package for it so users that don't have this card can avoid having this program. Differential Revision: https://reviews.freebsd.org/D31795
* pkgbase: Create a cxgbe-tools packageEmmanuel Vadot2021-09-071-0/+2
| | | | | | | | cxgbetool is only useful for users who have a Chelsio card. Create a package for it so users that don't have this card can avoid having this program. Differential Revision: https://reviews.freebsd.org/D31793
* pkgbase: Create a FreeBSD-telnet packageEmmanuel Vadot2021-09-071-0/+2
| | | | | | | | | | both telnet and telnetd aren't that useful nowadays but some might want them. Create a FreeBSD-telnet package so users have a choice to have them or not. Differential Revision: https://reviews.freebsd.org/D31791 Reviewed by: emaste
* pkgbase: Create a FreeBSD-ggate packageEmmanuel Vadot2021-09-071-0/+2
| | | | | | Move ggate* to it. Differential Revision: https://reviews.freebsd.org/D31790
* pkgbase: Create a FreeBSD-nfs packageEmmanuel Vadot2021-06-191-0/+2
| | | | | | | | And move all the nfs related commands there. Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D30754 Sponsored by: Diablotin Systems
* pkgbase: Put dtrace in its own packageEmmanuel Vadot2021-06-191-0/+2
| | | | | | | While dtrace is usefull some people might not want it. Differential Revision: https://reviews.freebsd.org/D30752 Sponsored by: Diablotin Systems
* pkgbase: Put openssl in its own packageEmmanuel Vadot2021-05-131-0/+2
| | | | | | | | This is useful for upgrade and also to make tiny jail so they won't depend on FreeBSD-utilities (where openssl was packaged before). MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D30081
* pkgbase: Remove package name mangling in generate-ucl.shMark Johnston2021-04-261-17/+12
| | | | | | | | | | | | | | | The mangling was present in the initial revision of the script, but its purpose is not clear. It may have been to avoid defining make(1) variables with a dash in the name, but this is permitted. Furthermore, it results in invalid dependency information if a dependency's name contains an underscore, causing e.g., libcompiler_rt-dev to depend on libcompiler-rt, and resulting in warnings when installing base system packages. Remove the mangling. Reviewed by: manu MFC after: 2 months Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D29883
* pkgbase: make only vital packages vital, not their sub-packagesMina Igalic2021-03-285-4/+13
| | | | | | | | make "vital" a replaceable, which defaults to "false" and only set it for the main clib, utilities and runtime packages, not their sub-packages PR: 254174 Differential Revision: https://reviews.freebsd.org/D29224
* pkgbase: Add an src.conf option for splitting man pagesEmmanuel Vadot2021-03-161-0/+5
| | | | | | | | | | | Man pages can be big in total, add an options to split man pages in -man packages so we produce smaller packages. This is useful for small jails or mfsroot produced of pkgbase. The option is off by default. Reviewed by: bapt, Mina Galić <me@igalic.co> Differential Revision: https://reviews.freebsd.org/D29169 MFC after: 2 weeks
* pkgbase: Remove case for runtime and jail package ucl generationEmmanuel Vadot2021-03-161-15/+0
| | | | | | | | | | They aren't needed and produce wrong package comments : We use to have "runtime-dev package" instead of "FreeBSD Base System (Development Files)" for example Reviewed by: bapt Differential Revision: https://reviews.freebsd.org/D29168 MFC after: 2 weeks
* pkgbase: correct typo in System Accounting UtilitiesEd Maste2021-01-111-2/+2
| | | | Reported by: avg, N. J. Mann
* pkgbase: Rename -acct package System Accounting UtilitiesEd Maste2021-01-111-2/+2
| | | | Man pages for these tools refer to 'system accounting'.
* pkgbase: Remove %VCS_REVISION% from utilities commentsEmmanuel Vadot2020-11-061-1/+1
| | | | | | | | We don't do that on other packages so be consistent. It also don't work when building from git. Notes: svn path=/head/; revision=367418
* pkgbase: use consistent annotation for objectk eysKyle Evans2020-09-181-1/+1
| | | | | | | | | | | | Everywhere else we use objects ("scripts", generally) we do sepcify the optional colon. Be consistent and do the same for directories. PR: 249273 Submitted by: Martin <martin.jakob gmx com> MFC after: 1 week Notes: svn path=/head/; revision=365883
* pkgbase: Replace / with | for PKG_WWWEmmanuel Vadot2020-08-111-1/+1
| | | | | | | | | PKG_WWW contain / char, replace the delimiter by a '|'. Reported by: 0mp Notes: svn path=/head/; revision=364104
* pkgbase: Add PKG_NAME_PREFIX, PKG_MAINTAINER and PKG_WWWEmmanuel Vadot2020-08-1116-45/+48
| | | | | | | | | This is useful for downstream users to customize the packages. Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D26019 Notes: svn path=/head/; revision=364103
* pkgbase: Fix dependanciesEmmanuel Vadot2020-08-071-0/+2
| | | | | | | | | The package name is converted with _ instead of - as we have some variables that cannot contain - Convert back the dependancies with - instead of _ Notes: svn path=/head/; revision=364009
* pkgbase: Remove vcs revision from kernel and runtime commentEmmanuel Vadot2020-08-062-2/+2
| | | | | | | This is not needed and we don't do that for other packages. Notes: svn path=/head/; revision=363962
* pkgbase: use -dev,-dbg instead of -development,-debugEd Maste2020-05-201-8/+8
| | | | | | | | | | | | | | | | | | -development is long and awkward, and is also inconsistent with prior art from the Linux world, which uses -dev (Debian) or -devel (Red Hat). Follow the Debian convention, and similarly for debug info packages. Also remove redundant pkgbase development tag from includes. We already tag include files with package=runtime,dev; there is no need to separately tag them as dev. Discussed with: bapt Reviewed by: manu Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D24139 Notes: svn path=/head/; revision=361290
* pkgbase: remove logic for _profile packagesKyle Evans2020-03-021-10/+0
| | | | | | | | | | | | | | | | | We don't produce these anymore as of r356797, remove the remnant in generate-ucl.sh that accounted for them. This isn't strictly necessary, but future work is needed for the various packages that can be generated on a lib build. Namely, we may produce -development packages for private/internal libs that should be installed but won't have the base FreeBSD-libfoo pkg to depend on because it's internal (e.g. liby, libpmcstat, libifconfig) but we want the headers installed. It may be a better move to just shove these into -runtime-development instead, but if not then we've just simplified the cases that need to take private/internal libs into account. Notes: svn path=/head/; revision=358549
* caroot pkg: pass through the pkg -r rootdir as DESTDIRKyle Evans2020-02-191-1/+2
| | | | | | | | If we're trying to bootstrap a different root with pkgbase, we should be doing the right thing with caroot. Notes: svn path=/head/; revision=358092
* pkgbase: generate dependencies in generate-ucl.shKyle Evans2020-01-3043-792/+14
| | | | | | | | | | | | | | | | | | | | | | | | | This cuts out a large chunk of duplicated *.ucl files that just needed dependencies tacked on, and gives generate-ucl.sh some leeway in case a future pkg may need more than one dependency. Run-through to determine which ones could simply be removed done with for i in *.ucl; do diff -U3 template.ucl ${i}; done | less and inspecting for any differences beyond just adding deps at the end. The remaining ucl files are basically all differently-licensed, require scripts, or are marked vital. I've opted to remove %PKGDEPS% entirely without regard for third-party ucl, as pkgbase is not yet considered production. However, I do not hold a strong position on this and there is approximately 0 chance it will return. clibs should have been added previously in generate-ucl.sh as one that doesn't have any dependencies, but do so now that we would otherwise be tacking on the runtime dependency. Reviewed by: manu, bapt (earlier version) Differential Revision: https://reviews.freebsd.org/D23415 Notes: svn path=/head/; revision=357283
* pkgbase: fix caroot packaging and add post-install scriptKyle Evans2020-01-292-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | The original intention for caroot was to be packaged separately, perhaps so that users can have a more/less conservative upgrade policy for this separated from the rest of base. secure/caroot/Makefile doesn't have anything interesting to package, but its subdirectories might. Move the PACKAGE= to Makefile.inc so both blacklisted and trusted get packaged consistently into the correct one rather than the default -utilities. Also tag the directories for package=caroot, as they could also be empty; blacklisted is empty by default, but trusted is not. Add a post-install script to do certctl rehash, along with a note should we eventually come up with a way to detect that files have been added or removed that requires a rehash. -caroot gets a dependency on -utilities, as that's where we provide certctl at the moment. We can perhaps reconsider this and put certctl into this package in the future, but there are some bits within -utilities that unconditionally invoke certctl so let's hold off for now. Reviewed by: manu (earlier version, before -utilities dep added) Differential Revision: https://reviews.freebsd.org/D23352 Notes: svn path=/head/; revision=357264
* pkgbase: kill off clibs.ucl and docs.uclKyle Evans2020-01-292-34/+0
| | | | | | | | | These are just direct copies of the template. If they don't exist but are attempted to be used, generate-ucl.sh will simply fallback to the template anyways. Let it do so to reduce potential maintenance burden. Notes: svn path=/head/; revision=357257
* pkgbase: Move cap_mkdb from runtime to utilities POST-INSTALLEmmanuel Vadot2019-09-162-1/+23
| | | | | | | | | | | Since login and login.conf moved to the utilities packages move also the post-install related commands. Reported by: mj-mailinglist@gmx.de Reviewed by: bapt Notes: svn path=/head/; revision=352389
* pkgbase: Create a FreeBSD-utilities package and make it the default oneEmmanuel Vadot2019-09-051-0/+2
| | | | | | | | | | | | | The default package use to be FreeBSD-runtime but it should only contain binaries and libs enough to boot to single user and repair the system, it is also very handy to have a package that can be tranform to a small mfsroot. So create a new package named FreeBSD-utilities and make it the default one. Also move a few binaries and lib into this package when it make sense. Reviewed by: bapt, gjb Differential Revision: https://reviews.freebsd.org/D21506 Notes: svn path=/head/; revision=351858
* pkgbase: Move rc scripts and related files to their own packagesEmmanuel Vadot2019-09-051-0/+2
| | | | | | | | | | | | It doesn't need to be in runtime and might help people who want to experiment with other rc system or don't use one (like in small embedded mfsroot). Reviewed by: bapt, gjb Differential Revision: https://reviews.freebsd.org/D21499 Notes: svn path=/head/; revision=351851
* pkgbase: Move the bootloader related files to a new FreeBSD-bootloader packageEmmanuel Vadot2019-09-051-0/+2
| | | | | | | | | | Bootloader file isn't needed for jails so don't include it in FreeBSD-runtime. Reviewed by: bapt, delphij, gjb Differential Revision: https://reviews.freebsd.org/D21496 Notes: svn path=/head/; revision=351848
* pkgbase: Add a FreeBSD-bluetooth packageEmmanuel Vadot2019-07-192-0/+26
| | | | | | | | | | | | | Move the bluetooth related files from FreeBSD-runtime to a new package named FreeBSD-bluetooth The FreeBSD runtime is only intended to have everything for a working FreeBSD installation and bluetooth isn't needed for that. Reviewed by: bapt, gjb Differential Revision: https://reviews.freebsd.org/D20959 Notes: svn path=/head/; revision=350132
* pkgbase: Add a FreeBSD-hostapd packageEmmanuel Vadot2019-07-192-0/+25
| | | | | | | | | | | | | Move the hostapd related files from FreeBSD-runtime to a new package n FreeBSD-hostapd The FreeBSD runtime is only intended to have everything for a working FreeBSD installation and hostapd isn't needed for that. Reviewed by: bapt, gjb Differential Revision: https://reviews.freebsd.org/D20958 Notes: svn path=/head/; revision=350131
* pkgbase: Add a FreeBSD-wpa packageEmmanuel Vadot2019-07-192-0/+26
| | | | | | | | | | | | | Move the wpa related files from FreeBSD-runtime to a new package named FreeBSD-wpa The FreeBSD runtime is only intended to have everything for a working FreeBSD installation and wpa isn't needed for that. Reviewed by: bapt, gjb Differential Revision: https://reviews.freebsd.org/D20957 Notes: svn path=/head/; revision=350129
* Simplify using bsd.endian.mk and have it provide CAP_MKDB_ENDIAN, since it isBrad Davis2018-06-281-1/+1
| | | | | | | | | the most common usage. Approved by: bapt (mentor) Notes: svn path=/head/; revision=335762
* Chase the pwd_mkdb endian changes.Brad Davis2018-06-272-3/+1
| | | | | | | Approved by: bapt (mentor) Notes: svn path=/head/; revision=335719
* pkgbase: Fix post-install script for kernel packagesKyle Evans2018-03-141-1/+1
| | | | | | | | | | | | | | | | | | kernel.ucl uses a hardcoded boot/kernel for kldxref, which is the incorrect directory when we're installing extra kernels that aren't the "default" kernel (placed at boot/kernel). Fix this by instead using a new %KERNELDIR% that we now replace in Makefile.inc1 with "kernel" for the default kernel and "kernel.${_kernel}" for these extra kernels so that, e.g. /boot/kernel.SHIVA, will get properly kldxref'd upon update and avoid outdated linker.hints. Reviewed by: gjb MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D14689 Notes: svn path=/head/; revision=330929
* Add missing call to services_mkdb to build the services.dbBrad Davis2017-11-191-0/+1
| | | | | | | Approved by: gjb Notes: svn path=/head/; revision=325990
* Revert r322327, r322352, r322358:Glen Barber2017-08-152-41/+0
| | | | | | | | | | | | | | | | | | | | | | | Disconnect the dependency on the kernel package from the runtime package. There are a number of problems here: 1) The runtime package installed into a chroot or a jail would include the kernel package, changing the behavior of how jails work now [1]; 2) As result of (1), it is possible a binary may incorrectly resolve kernel symbols [2]; in addition, it is possible there will be unexpected fallout with 32-bit jails on a 64-bit host kernel [2]. Noticed by: brd [1] Discussed with: kib [2] MFC after: 3 days MFC note: record-only to wipe from the merge tracker Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=322545
* Add SVNVERSION_CMD to bsd.own.mk, adding the capability to includeGlen Barber2017-08-112-2/+2
| | | | | | | | | | | | | | svnversion metadata to the runtime and kernel packages. Instead of traversing src/sys, as is done by newvers.sh for uname(1), a full tree walk is done to prevent userland and/or modifications from not being reflected in a modified tree (M). MFC after: 5 days Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=322412
* Further revise r322327 and r322352 in release/packages/kernel.ucl.Glen Barber2017-08-101-1/+11
| | | | | | | | | | | | | | | | | Use PPID and PID to kill off the pre-install and parent pkg(8) processes unless 'Y' or 'y' are entered at the prompt if the user wants to proceed with upgrading the kernel and userland at the same time. This restores some of the logic and intent of r322327, with the caveat of printing "child process terminated unexpectedly." MFC after: 5 days MFC with: r322327, r322352 Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=322358
* Revise part of r322327 in release/packages/kernel.ucl.Glen Barber2017-08-101-10/+4
| | | | | | | | | | | | | | | | | | | | | | It appears I misunderstand process forking and signal handling in how the pre-/post-install scripts are executed internally by pkg(8). In some cases (not all), ^C when prompted to cancel the kernel package update will stop the pre-install script from executing, but allow pkg(8) to continue extracting the package when it is not the intent. In order to keep somewhat of an anti-footshooting measure in place, print the recommendation to install the kernel package first if ASSUME_ALWAYS_YES is false and TERM is set, then sleep for 5 seconds to allow the user to see the message. MFC after: 5 days MFC with: r322327 X-MFC-Note: Maybe not until I am happy with this.. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=322352
* Add a dependency on the kernel package for the runtime package.Glen Barber2017-08-092-0/+37
| | | | | | | | | | | | | | | | | | | | | | | The idea here is that, provided upstream pkg(8) maintainers accept the proposed change, the kernel.ucl will contain a post-install script causing pkg(8) to emit a message informing to reboot the system after the kernel is upgraded using 'pkg upgrade', so the new userland is installed on the running new kernel. At present, this functionality does not exist in pkg(8), but will help ensure the upgrade path follows that from UPDATING. To work around this for now, evaluate ASSUME_ALWAYS_YES, and prompt the user if they wish to proceed if not set to true. Since there is a kernel dependency, and a non-GENERIC kernel may be in use, update Makefile.inc1 to replace '%KERNCONF%' in the runtime.ucl with the first-built kernel set either via command line or in make.conf(5). MFC after: 5 days Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=322327
* Fix permissions on /tmp when installing the runtime package.Glen Barber2017-03-081-0/+1
| | | | | | | | | | | Reported by: many Patch by: Kyle Evans PR: 217574 MFC after: 3 days Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=314916
* Fix packaging for clang, lldb and lld 3.9.0Dimitry Andric2016-11-283-1/+49
| | | | | | | | | | | | | | | | | | During the upgrade of clang/llvm etc to 3.9.0 in r309124, the PACKAGE directive in the usr.bin/clang/*.mk files got dropped accidentally. Restore it, with a few minor changes and additions: * Correct license in clang.ucl to NCSA * Add PACKAGE=clang for clang and most of the "ll" tools * Put lldb in its own package * Put lld in its own package Reviewed by: gjb, jmallett X-MFC-With: 309124 Differential Revision: https://reviews.freebsd.org/D8666 Notes: svn path=/head/; revision=309262