pub struct Pkgsrc {Show 13 fields
pub basedir: PathBuf,
pub bootstrap: Option<PathBuf>,
pub build_user: Option<String>,
pub logdir: PathBuf,
pub make: PathBuf,
pub packages: Option<PathBuf>,
pub pkgtools: Option<PathBuf>,
pub pkgpaths: Option<Vec<PkgPath>>,
pub prefix: Option<PathBuf>,
pub report_dir: Option<PathBuf>,
pub save_wrkdir_patterns: Vec<String>,
pub scanenv: HashMap<String, String>,
pub tar: Option<PathBuf>,
}Expand description
pkgsrc-related configuration from the pkgsrc section.
§Required Fields
basedir: Path to pkgsrc source treelogdir: Directory for logsmake: Path to bmake binarypackages: Directory for built packagespkgtools: Directory containing pkg_add/pkg_deleteprefix: Installation prefix (e.g.,/usr/pkg)tar: Path to tar binary
§Optional Fields
bootstrap: Path to bootstrap tarball (required on non-NetBSD systems)build_user: Unprivileged user for buildspkgpaths: List of packages to buildreport_dir: Directory for HTML reportssave_wrkdir_patterns: Glob patterns for files to save on build failure
Fields§
§basedir: PathBufPath to pkgsrc source tree.
bootstrap: Option<PathBuf>Path to bootstrap tarball (required on non-NetBSD).
build_user: Option<String>Unprivileged user for builds.
logdir: PathBufDirectory for logs.
make: PathBufPath to bmake binary.
packages: Option<PathBuf>Directory for built packages (required for build, optional for scan).
pkgtools: Option<PathBuf>Directory containing pkg_add/pkg_delete (required for build, optional for scan).
pkgpaths: Option<Vec<PkgPath>>List of packages to build.
prefix: Option<PathBuf>Installation prefix (required for build, optional for scan).
report_dir: Option<PathBuf>Directory for HTML reports.
save_wrkdir_patterns: Vec<String>Glob patterns for files to save from WRKDIR on failure.
scanenv: HashMap<String, String>Environment variables for scan processes.
tar: Option<PathBuf>Path to tar binary (required for build, optional for scan).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Pkgsrc
impl RefUnwindSafe for Pkgsrc
impl Send for Pkgsrc
impl Sync for Pkgsrc
impl Unpin for Pkgsrc
impl UnwindSafe for Pkgsrc
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more