Commit Graph

58 Commits

Author SHA1 Message Date
gjb
9ef2838138 Fix permissions on /tmp when installing the runtime package.
Reported by:	many
Patch by:	Kyle Evans
PR:		217574
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2017-03-08 18:52:40 +00:00
dim
0e604e79ff Fix packaging for clang, lldb and lld 3.9.0
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
2016-11-28 20:13:56 +00:00
gjb
3f405f2e4f Set the 'vital' flag on the runtime and jail packages.
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
2016-11-21 23:29:28 +00:00
gjb
8c59d45118 Add (commented) 'vital' flag to the runtime packages. Support for
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
2016-05-10 00:38:14 +00:00
gjb
a78b912593 Prefix lib32, profile, debug, and development packages
with 'runtime-' for consistency with other packages.

Sponsored by:	The FreeBSD Foundation
2016-03-08 18:31:26 +00:00
gjb
b476e22629 Create a package for HAST.
Sponsored by:	The FreeBSD Foundation
2016-02-08 21:15:07 +00:00
gjb
c7fe96a894 Add comment/description for clibs, rescue, and sendmail packages.
Sponsored by:	The FreeBSD Foundation
2016-02-08 18:44:26 +00:00
gjb
eb6138da6b Sort.
Sponsored by:	The FreeBSD Foundation
2016-02-08 18:42:33 +00:00
gjb
b0e9473946 Remove libc, librtld_db, libthr packages, and further increase
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
2016-02-05 21:01:08 +00:00
gjb
c79add5f1b Mark shlibs_required/shlibs_provided lines as temporary, following
brief discussion with bapt.

Sponsored by:	The FreeBSD Foundation
2016-02-04 21:27:03 +00:00
gjb
338586e6a1 Add package files for libc, libedit, librtld_db, and libthr.
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
2016-02-04 21:20:26 +00:00
gjb
473c731b65 Fix typo: s/Conrol/Control/
Submitted by:	kib
Sponsored by:	The FreeBSD Foundation
2016-02-04 16:38:24 +00:00
gjb
3ec59dfa47 Add FreeBSD RCSID header and svn:keyword property.
Sponsored by:	The FreeBSD Foundation
2016-02-04 15:41:00 +00:00
gjb
92f18f7e58 Rework the way <packagename>.ucl files are generated.
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
2016-02-04 15:32:03 +00:00
gjb
212b97a189 Initial commit to add dependencies.
Sponsored by:	The FreeBSD Foundation
2016-02-03 23:41:58 +00:00
gjb
a6998ad84f First pass to fix the 'tests' packages.
Sponsored by:	The FreeBSD Foundation
2016-02-02 22:26:49 +00:00
gjb
f7c36465eb Create ee(1) package.
Sponsored by:	The FreeBSD Foundation
2016-02-02 21:04:33 +00:00
gjb
e0804a8146 Create a package for autofs(5)
Sponsored by:	The FreeBSD Foundation
2016-02-02 17:33:37 +00:00
gjb
34bfa3fb07 Create a package for vi(1) and related files.
Sponsored by:	The FreeBSD Foundation
2016-02-02 16:47:50 +00:00
gjb
e9c206dabf Fix naming inconsistency with lib32 debug packages.
Sponsored by:	The FreeBSD Foundation
2016-02-01 18:50:52 +00:00
gjb
0ad35e90aa Remove unused kernel/post-install file.
Sponsored by:	The FreeBSD Foundation
2016-01-29 00:29:32 +00:00
gjb
8ed40c99c8 Comment wordsmithing.
Sponsored by:	The FreeBSD Foundation
2016-01-21 18:45:46 +00:00
gjb
ff2a6cddc9 Create a package for apm(8).
Sponsored by:	The FreeBSD Foundation
2016-01-21 18:41:55 +00:00
gjb
3d734e0583 Create a package for amd(8) and related tools.
While here, fix accounting rc script installation.

Sponsored by:	The FreeBSD Foundation
2016-01-21 18:19:33 +00:00
gjb
00d9a083c4 Fix an incorrect comment.
Sponsored by:	The FreeBSD Foundation
2016-01-21 18:02:31 +00:00
gjb
f6492b3249 Create an acct package for accounting tools.
Sponsored by:	The FreeBSD Foundation
2016-01-21 17:49:10 +00:00
gjb
11e00eb04c Create a rcmds package.
Sponsored by:	The FreeBSD Foundation
2016-01-21 17:33:31 +00:00
gjb
ba5c31f467 Add UCL file for release-manuals package, missed in previous commit.
Sponsored by:	The FreeBSD Foundation
2016-01-21 16:38:58 +00:00
gjb
e4028b90cb Add a package for jail(8) and related utilities.
Sponsored by:	The FreeBSD Foundation
2016-01-20 17:07:13 +00:00
gjb
520e1515a8 Add debug.ucl and tests-debug.ucl, missed in a previous commit.
Sponsored by:	The FreeBSD Foundation
2016-01-06 00:52:55 +00:00
gjb
67aea1719c Rename an incorrectly named debug package file.
Sponsored by:	The FreeBSD Foundation
2016-01-05 22:27:34 +00:00
gjb
b7841d7cf8 Copy packages/*.ucl files to the corresponding debug file after
WITH_DEBUG_FILES was enabled by default.

Sponsored by:	The FreeBSD Foundation
2016-01-05 19:28:41 +00:00
brd
04942f2034 - Change all the names to their generic name since none of these need to
be overridden and ends up overwriting output files.
- For the descriptions that just say "TODO", switch to using %DESC% so
  the generic description is used.

Approved by:	bapt
2015-11-17 21:29:26 +00:00
gjb
dbaecfd3dd Prefer https in package URLs.
Sponsored by:	The FreeBSD Foundation
2015-10-15 19:55:32 +00:00
bapt
310c294e09 Create a dedicated package for dma 2015-10-10 23:16:40 +00:00
gjb
dfe0a3d0eb Prefer https:// over http://.
Sponsored by:	The FreeBSD Foundation
2015-06-17 16:39:12 +00:00
bapt
4c10ae5f0b Move gdb into its own package 2015-06-16 22:25:08 +00:00
bapt
f24ae51a06 Add a bunch of new packages, in particular binutils and groff 2015-06-16 22:06:28 +00:00
bapt
054c6909cf Move tests into a single FreeBSD-tests package 2015-06-16 21:07:07 +00:00
bapt
276e53ce92 Move clang binaries into FreeBSD-clang package 2015-06-16 20:34:39 +00:00
bapt
2290a2e730 Fix script syntax 2015-06-15 13:27:57 +00:00
bapt
249cdb0bbb Make scripts cross installation friendly 2015-04-03 23:28:56 +00:00
bapt
d6ca866646 run pw_mkdb and cap_mkdb at post-installation for cross installation the version
from the host would be run but the generated files will be on the target
respecing the endianness of the target
2015-03-18 16:06:04 +00:00
bapt
330b4979ac Add a bsnmp package 2015-03-18 13:01:09 +00:00
bapt
a93c3fa96f Add a bsdinstall package 2015-03-18 12:28:17 +00:00
bapt
18c2bb41e1 development and profile are special tags and should always be the last component
of the name if present
2015-03-18 11:27:11 +00:00
bapt
662e5c53c4 Add support for lib32 packages 2015-03-18 11:05:49 +00:00
bapt
1d98c5e103 Now that pkg create can directly accept both a file and a plist in command line,
directly use it
2015-03-18 09:39:31 +00:00
bapt
5732326804 Move syscons support files into a separate package 2015-03-05 17:56:02 +00:00
bapt
c157b10ac1 Make at(1) and related tools an individual package 2015-03-05 16:49:52 +00:00