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
This commit is contained in:
parent
005cecb30a
commit
9fc3c7f733
@ -40,6 +40,13 @@ hast_COMMENT= Highly Available Storage daemon
|
||||
hast_DESC= Highly Available Storage daemon
|
||||
jail_COMMENT= Jail Utilities
|
||||
jail_DESC= Jail Utilities
|
||||
jail-debug_DESCR= Debugging Symbols
|
||||
jail-development_DESCR=Development Files
|
||||
jail-profile_DESCR= Profiling Libraries
|
||||
jail-lib32_DESCR= 32-bit Libraries
|
||||
jail-lib32-debug_DESCR=32-bit Debugging Symbols
|
||||
jail-lib32-development_DESCR=32-bit Development Files
|
||||
jail-lib32-profile_DESCR=32-bit Profiling Libraries
|
||||
kernel_COMMENT= FreeBSD Kernel
|
||||
kernel_DESC= FreeBSD Kernel
|
||||
manuals_COMMENT= Manual Pages
|
||||
|
@ -48,6 +48,12 @@ main() {
|
||||
pkgdeps="runtime"
|
||||
_descr="$(make -C ${srctree}/release/packages -f Makefile.package -V ${outname}_DESCR)"
|
||||
;;
|
||||
jail_*)
|
||||
outname="${origname}"
|
||||
uclfile="${outname##*}${uclfile}"
|
||||
pkgdeps="runtime"
|
||||
_descr="$(make -C ${srctree}/release/packages -f Makefile.package -V ${outname}_DESCR)"
|
||||
;;
|
||||
*_lib32_development)
|
||||
outname="${outname%%_lib32_development}"
|
||||
_descr="32-bit Libraries, Development Files"
|
||||
|
24
release/packages/jail-debug.ucl
Normal file
24
release/packages/jail-debug.ucl
Normal file
@ -0,0 +1,24 @@
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
name = "FreeBSD-%PKGNAME%"
|
||||
origin = "base"
|
||||
version = "%VERSION%"
|
||||
comment = "%COMMENT%"
|
||||
categories = [ base ]
|
||||
maintainer = "re@FreeBSD.org"
|
||||
www = "https://www.FreeBSD.org"
|
||||
prefix = "/"
|
||||
licenselogic = "single"
|
||||
licenses = [ BSD2CLAUSE ]
|
||||
desc = <<EOD
|
||||
%DESC%
|
||||
EOD
|
||||
deps: {
|
||||
FreeBSD-%PKGDEPS%: {
|
||||
origin: "base",
|
||||
version: "%VERSION%"
|
||||
}
|
||||
}
|
||||
|
24
release/packages/jail-development.ucl
Normal file
24
release/packages/jail-development.ucl
Normal file
@ -0,0 +1,24 @@
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
name = "FreeBSD-%PKGNAME%"
|
||||
origin = "base"
|
||||
version = "%VERSION%"
|
||||
comment = "%COMMENT%"
|
||||
categories = [ base ]
|
||||
maintainer = "re@FreeBSD.org"
|
||||
www = "https://www.FreeBSD.org"
|
||||
prefix = "/"
|
||||
licenselogic = "single"
|
||||
licenses = [ BSD2CLAUSE ]
|
||||
desc = <<EOD
|
||||
%DESC%
|
||||
EOD
|
||||
deps: {
|
||||
FreeBSD-%PKGDEPS%: {
|
||||
origin: "base",
|
||||
version: "%VERSION%"
|
||||
}
|
||||
}
|
||||
|
24
release/packages/jail-lib32-debug.ucl
Normal file
24
release/packages/jail-lib32-debug.ucl
Normal file
@ -0,0 +1,24 @@
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
name = "FreeBSD-%PKGNAME%"
|
||||
origin = "base"
|
||||
version = "%VERSION%"
|
||||
comment = "%COMMENT%"
|
||||
categories = [ base ]
|
||||
maintainer = "re@FreeBSD.org"
|
||||
www = "https://www.FreeBSD.org"
|
||||
prefix = "/"
|
||||
licenselogic = "single"
|
||||
licenses = [ BSD2CLAUSE ]
|
||||
desc = <<EOD
|
||||
%DESC%
|
||||
EOD
|
||||
deps: {
|
||||
FreeBSD-%PKGDEPS%: {
|
||||
origin: "base",
|
||||
version: "%VERSION%"
|
||||
}
|
||||
}
|
||||
|
24
release/packages/jail-lib32-development.ucl
Normal file
24
release/packages/jail-lib32-development.ucl
Normal file
@ -0,0 +1,24 @@
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
name = "FreeBSD-%PKGNAME%"
|
||||
origin = "base"
|
||||
version = "%VERSION%"
|
||||
comment = "%COMMENT%"
|
||||
categories = [ base ]
|
||||
maintainer = "re@FreeBSD.org"
|
||||
www = "https://www.FreeBSD.org"
|
||||
prefix = "/"
|
||||
licenselogic = "single"
|
||||
licenses = [ BSD2CLAUSE ]
|
||||
desc = <<EOD
|
||||
%DESC%
|
||||
EOD
|
||||
deps: {
|
||||
FreeBSD-%PKGDEPS%: {
|
||||
origin: "base",
|
||||
version: "%VERSION%"
|
||||
}
|
||||
}
|
||||
|
24
release/packages/jail-lib32-profile.ucl
Normal file
24
release/packages/jail-lib32-profile.ucl
Normal file
@ -0,0 +1,24 @@
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
name = "FreeBSD-%PKGNAME%"
|
||||
origin = "base"
|
||||
version = "%VERSION%"
|
||||
comment = "%COMMENT%"
|
||||
categories = [ base ]
|
||||
maintainer = "re@FreeBSD.org"
|
||||
www = "https://www.FreeBSD.org"
|
||||
prefix = "/"
|
||||
licenselogic = "single"
|
||||
licenses = [ BSD2CLAUSE ]
|
||||
desc = <<EOD
|
||||
%DESC%
|
||||
EOD
|
||||
deps: {
|
||||
FreeBSD-%PKGDEPS%: {
|
||||
origin: "base",
|
||||
version: "%VERSION%"
|
||||
}
|
||||
}
|
||||
|
24
release/packages/jail-lib32.ucl
Normal file
24
release/packages/jail-lib32.ucl
Normal file
@ -0,0 +1,24 @@
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
name = "FreeBSD-%PKGNAME%"
|
||||
origin = "base"
|
||||
version = "%VERSION%"
|
||||
comment = "%COMMENT%"
|
||||
categories = [ base ]
|
||||
maintainer = "re@FreeBSD.org"
|
||||
www = "https://www.FreeBSD.org"
|
||||
prefix = "/"
|
||||
licenselogic = "single"
|
||||
licenses = [ BSD2CLAUSE ]
|
||||
desc = <<EOD
|
||||
%DESC%
|
||||
EOD
|
||||
deps: {
|
||||
FreeBSD-%PKGDEPS%: {
|
||||
origin: "base",
|
||||
version: "%VERSION%"
|
||||
}
|
||||
}
|
||||
|
24
release/packages/jail-profile.ucl
Normal file
24
release/packages/jail-profile.ucl
Normal file
@ -0,0 +1,24 @@
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
name = "FreeBSD-%PKGNAME%"
|
||||
origin = "base"
|
||||
version = "%VERSION%"
|
||||
comment = "%COMMENT%"
|
||||
categories = [ base ]
|
||||
maintainer = "re@FreeBSD.org"
|
||||
www = "https://www.FreeBSD.org"
|
||||
prefix = "/"
|
||||
licenselogic = "single"
|
||||
licenses = [ BSD2CLAUSE ]
|
||||
desc = <<EOD
|
||||
%DESC%
|
||||
EOD
|
||||
deps: {
|
||||
FreeBSD-%PKGDEPS%: {
|
||||
origin: "base",
|
||||
version: "%VERSION%"
|
||||
}
|
||||
}
|
||||
|
@ -10,6 +10,7 @@ categories = [ base ]
|
||||
maintainer = "re@FreeBSD.org"
|
||||
www = "https://www.FreeBSD.org"
|
||||
prefix = "/"
|
||||
vital = true
|
||||
licenselogic = "single"
|
||||
licenses = [ BSD2CLAUSE ]
|
||||
desc = <<EOD
|
||||
|
@ -10,7 +10,7 @@ categories = [ base ]
|
||||
maintainer = "re@FreeBSD.org"
|
||||
www = "https://www.FreeBSD.org"
|
||||
prefix = "/"
|
||||
#vital = true
|
||||
vital = true
|
||||
licenselogic = "single"
|
||||
licenses = [ BSD2CLAUSE ]
|
||||
desc = <<EOD
|
||||
|
Loading…
Reference in New Issue
Block a user