aboutsummaryrefslogtreecommitdiff
path: root/release/packages
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Set the 'vital' flag on the runtime and jail packages.Glen Barber2016-11-2111-1/+183
| | | | | | | | | | | | | | | | | | | | The default pkg(8) from pkg.freebsd.org requires libjail.so, so mark the jail package as vital along with the runtime package to avoid errors when libjail.so is removed. This is a no-op for systems with WITHOUT_JAIL in src.conf(5) and pkg(8) built from the Ports Collection. In order to make this work without marking packages such as the jail-lib32, for example, the jail.ucl file needed to be split out into separate files similarly to the runtime-*.ucl files. Glanced at by: brd MFC after: 5 days Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=308945
* Add (commented) 'vital' flag to the runtime packages. Support forGlen Barber2016-05-101-0/+5
| | | | | | | | | | | | | | | | | | | | | it is expected in pkg-1.8.0, which will cause 'pkg del -afy' to not destroy a system by forcefully removing everything. As there are valid use cases for doing such (test jails, for example), it will be overrideable. In addition, ensure /dev and /tmp exist, as /dev is not created by default currently, and pkg(8) requires /tmp to exist, which is also not created by default. This needs to be moved to the clibs package, since runtime depends on that package, however I need to first verify that it will work as it is expected. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=299291
* Prefix lib32, profile, debug, and development packagesGlen Barber2016-03-086-19/+21
| | | | | | | | | with 'runtime-' for consistency with other packages. Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=296531
* Create a package for HAST.Glen Barber2016-02-081-0/+2
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295415
* Add comment/description for clibs, rescue, and sendmail packages.Glen Barber2016-02-081-0/+6
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295405
* Sort.Glen Barber2016-02-081-37/+36
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295404
* Remove libc, librtld_db, libthr packages, and further increaseGlen Barber2016-02-055-88/+1
| | | | | | | | | | | | | | the constraints on what needs to be installed in a specific to maintain consistency during upgrades. Create a new clibs package containing libraries that are needed as a bare minimum for consistency. With much help and input from: kib Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295337
* Mark shlibs_required/shlibs_provided lines as temporary, followingGlen Barber2016-02-044-0/+4
| | | | | | | | | brief discussion with bapt. Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295281
* Add package files for libc, libedit, librtld_db, and libthr.Glen Barber2016-02-045-0/+106
| | | | | | | | | | | | | | | | | | | libedit is needed for sh(1), which if updated before runtime, can cause undesirable behavior. For the rest, the installation order needs to be: 1) librtld 2) libc 3) libthr The dependency listing and shilbs_required entries ensure this behavior. Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295280
* Fix typo: s/Conrol/Control/Glen Barber2016-02-041-2/+2
| | | | | | | | Submitted by: kib Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295266
* Add FreeBSD RCSID header and svn:keyword property.Glen Barber2016-02-0432-0/+128
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295263
* Rework the way <packagename>.ucl files are generated.Glen Barber2016-02-0482-1087/+264
| | | | | | | | | | | | | | | | | | | | | | | | One of the major pain points with how this was implemented is the requirement of in-tree, hard-coded <name>.ucl, as well as <name>-<suffix>.ucl where <suffix> can be lib32, profile, development, debug, or any combination of the four. This created significant overhead when adding new packages and any of the files in any of the combinations were missing. Instead of test(1)-ing if the <packagename>.ucl file exists, hand off to a script to figure out what the final ucl file name should be before invoking pkg(8). The default behavior is 'template.ucl' is used as a fallback. This affects only the userland packages, as the kernel code is already smart enough to handle these variations. Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295262
* Initial commit to add dependencies.Glen Barber2016-02-0380-0/+560
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295225
* First pass to fix the 'tests' packages.Glen Barber2016-02-022-0/+26
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295171
* Create ee(1) package.Glen Barber2016-02-022-0/+26
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295163
* Create a package for autofs(5)Glen Barber2016-02-022-0/+26
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295156
* Create a package for vi(1) and related files.Glen Barber2016-02-022-0/+26
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295155
* Fix naming inconsistency with lib32 debug packages.Glen Barber2016-02-015-0/+0
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295127