pub struct Pkgsrc {
pub basedir: PathBuf,
pub bootstrap: Option<PathBuf>,
pub build_user: Option<String>,
pub logdir: PathBuf,
pub make: PathBuf,
pub pkgpaths: Option<Vec<PkgPath>>,
pub save_wrkdir_patterns: Vec<String>,
pub cachevars: Vec<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 binary
§Optional Fields
bootstrap: Path to bootstrap tarball (required on non-NetBSD systems)build_user: Unprivileged user for buildspkgpaths: List of packages to buildsave_wrkdir_patterns: Glob patterns for files to save on build failuretar: Path to tar binary (defaults totar)
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.
pkgpaths: Option<Vec<PkgPath>>List of packages to build.
save_wrkdir_patterns: Vec<String>Glob patterns for files to save from WRKDIR on failure.
cachevars: Vec<String>pkgsrc variables to cache and re-set in each environment run.
tar: Option<PathBuf>Path to tar binary (defaults to tar in PATH).
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