CVS log for pkgsrc/pkgtools/pkg_install/files/lib/parse-config.c
Up to [cvs.NetBSD.org] / pkgsrc / pkgtools / pkg_install / files / lib
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.17: download - view: text, markup, annotated - select for diffs
Fri Dec 11 10:06:53 2020 UTC (5 years, 11 months ago) by jperkin
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base,
pkgsrc-2026Q3,
pkgsrc-2026Q2-base,
pkgsrc-2026Q2,
pkgsrc-2026Q1-base,
pkgsrc-2026Q1,
pkgsrc-2025Q4-base,
pkgsrc-2025Q4,
pkgsrc-2025Q3-base,
pkgsrc-2025Q3,
pkgsrc-2025Q2-base,
pkgsrc-2025Q2,
pkgsrc-2025Q1-base,
pkgsrc-2025Q1,
pkgsrc-2024Q4-base,
pkgsrc-2024Q4,
pkgsrc-2024Q3-base,
pkgsrc-2024Q3,
pkgsrc-2024Q2-base,
pkgsrc-2024Q2,
pkgsrc-2024Q1-base,
pkgsrc-2024Q1,
pkgsrc-2023Q4-base,
pkgsrc-2023Q4,
pkgsrc-2023Q3-base,
pkgsrc-2023Q3,
pkgsrc-2023Q2-base,
pkgsrc-2023Q2,
pkgsrc-2023Q1-base,
pkgsrc-2023Q1,
pkgsrc-2022Q4-base,
pkgsrc-2022Q4,
pkgsrc-2022Q3-base,
pkgsrc-2022Q3,
pkgsrc-2022Q2-base,
pkgsrc-2022Q2,
pkgsrc-2022Q1-base,
pkgsrc-2022Q1,
pkgsrc-2021Q4-base,
pkgsrc-2021Q4,
pkgsrc-2021Q3-base,
pkgsrc-2021Q3,
pkgsrc-2021Q2-base,
pkgsrc-2021Q2,
pkgsrc-2021Q1-base,
pkgsrc-2021Q1,
pkgsrc-2020Q4-base,
pkgsrc-2020Q4,
HEAD
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +4 -2
lines
pkg_install: Introduce support for CHECK_OS_VERSION.
When set to "no", pkg_add will not issue a warning if the host OS version does
not exactly match the OS version the package was built on. This can be useful
on many OS where the kernel release version has nothing to do with userland
compatibility, or where it may differ without being ABI incompatible.
Ultimately it would be ideal if the version checks were smart enough across all
our supported OS to not need this, but until then this is useful for users who
know what they're doing.
Bump version to 20201211.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Fri Apr 5 21:36:35 2019 UTC (7 years, 7 months ago) by sevan
Branches: MAIN
CVS tags: pkgsrc-2020Q3-base,
pkgsrc-2020Q3,
pkgsrc-2020Q2-base,
pkgsrc-2020Q2,
pkgsrc-2020Q1-base,
pkgsrc-2020Q1,
pkgsrc-2019Q4-base,
pkgsrc-2019Q4,
pkgsrc-2019Q3-base,
pkgsrc-2019Q3,
pkgsrc-2019Q2-base,
pkgsrc-2019Q2
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -3
lines
Switch to using the CDN for fetching the pkg-vulnerabilities files.
No negative responses on tech-pkg.
ok gdt bsiegert
Revision 1.15: download - view: text, markup, annotated - select for diffs
Wed Jun 16 23:02:49 2010 UTC (16 years, 5 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2019Q1-base,
pkgsrc-2019Q1,
pkgsrc-2018Q4-base,
pkgsrc-2018Q4,
pkgsrc-2018Q3-base,
pkgsrc-2018Q3,
pkgsrc-2018Q2-base,
pkgsrc-2018Q2,
pkgsrc-2018Q1-base,
pkgsrc-2018Q1,
pkgsrc-2017Q4-base,
pkgsrc-2017Q4,
pkgsrc-2017Q3-base,
pkgsrc-2017Q3,
pkgsrc-2017Q2-base,
pkgsrc-2017Q2,
pkgsrc-2017Q1-base,
pkgsrc-2017Q1,
pkgsrc-2016Q4-base,
pkgsrc-2016Q4,
pkgsrc-2016Q3-base,
pkgsrc-2016Q3,
pkgsrc-2016Q2-base,
pkgsrc-2016Q2,
pkgsrc-2016Q1-base,
pkgsrc-2016Q1,
pkgsrc-2015Q4-base,
pkgsrc-2015Q4,
pkgsrc-2015Q3-base,
pkgsrc-2015Q3,
pkgsrc-2015Q2-base,
pkgsrc-2015Q2,
pkgsrc-2015Q1-base,
pkgsrc-2015Q1,
pkgsrc-2014Q4-base,
pkgsrc-2014Q4,
pkgsrc-2014Q3-base,
pkgsrc-2014Q3,
pkgsrc-2014Q2-base,
pkgsrc-2014Q2,
pkgsrc-2014Q1-base,
pkgsrc-2014Q1,
pkgsrc-2013Q4-base,
pkgsrc-2013Q4,
pkgsrc-2013Q3-base,
pkgsrc-2013Q3,
pkgsrc-2013Q2-base,
pkgsrc-2013Q2,
pkgsrc-2013Q1-base,
pkgsrc-2013Q1,
pkgsrc-2012Q4-base,
pkgsrc-2012Q4,
pkgsrc-2012Q3-base,
pkgsrc-2012Q3,
pkgsrc-2012Q2-base,
pkgsrc-2012Q2,
pkgsrc-2012Q1-base,
pkgsrc-2012Q1,
pkgsrc-2011Q4-base,
pkgsrc-2011Q4,
pkgsrc-2011Q3-base,
pkgsrc-2011Q3,
pkgsrc-2011Q2-base,
pkgsrc-2011Q2,
pkgsrc-2011Q1-base,
pkgsrc-2011Q1,
pkgsrc-2010Q4-base,
pkgsrc-2010Q4,
pkgsrc-2010Q3-base,
pkgsrc-2010Q3,
pkgsrc-2010Q2-base,
pkgsrc-2010Q2
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +4 -2
lines
pkg_install-20100616:
- Recognize -C for pkg_add like the rest of the tools do
- Do the existing check for pkg_add -f, it makes the combination of
-f and -U a bit less surprising
- Fix option handling for CHECK_VULNERABILITIES (from spz@)
- Make end-of-life check the default. pkg_install.conf(5) can be used to
override the default. The existing admin -e & co continue to work as
before.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Fri Jan 22 13:30:42 2010 UTC (16 years, 9 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2010Q1-base,
pkgsrc-2010Q1
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +50 -5
lines
pkg_install-20100122:
- Refactor man pages:
- Move description of environmental variables into pkg_install.conf(5)
- Remove a bunch of dead references
- Avoid using hard-coded path names that can easily be overridden by
the user.
- Refactor pkgdb related logic, so that -K behaves consistently.
- Add some helper functions to isolate more places from the pkgdb
layout.
- Sync license list.
- Handle PKG_REFCOUNT_DBDIR consistently as option too.
- Utilize connection cache from libfetch.
- Add helper target for cat pages updates.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Jan 20 22:34:47 2010 UTC (16 years, 9 months ago) by jmmv
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +9 -2
lines
Update to 20100120:
- Make PKG_DBDIR customizable through pkg_install.conf.
Things seem to work fine after a few tests but... where are the tests for
these tools?!
Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Oct 21 17:10:36 2009 UTC (17 years ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2009Q4-base,
pkgsrc-2009Q4
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +15 -6
lines
pkg_install-20091021:
Add support to query arbitrary variables with pkg_admin config-var.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Oct 15 12:41:41 2009 UTC (17 years, 1 month ago) by joerg
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +16 -3
lines
pkg_install-20091015:
Use directory index caching by default.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Oct 7 12:53:27 2009 UTC (17 years, 1 month ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2009Q3-base,
pkgsrc-2009Q3
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -3
lines
pkg_install-20091006:
- restore pkg_add -f functionality for missing dependencies (PR 42001)
- pkg_admin rebuild should count packages correctly (he@), also count @pkgdb
- fix gpg-sign-package syntax in pkg_admin(1)
- change default URL for pkg-vulnerabilities to use HTTP
Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Aug 16 21:10:53 2009 UTC (17 years, 3 months ago) by joerg
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +4 -2
lines
Don't leak the config file.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun Aug 16 21:10:15 2009 UTC (17 years, 3 months ago) by joerg
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +52 -10
lines
pkg_install-20090817:
Add a new command for pkg_admin: findbest. It takes one or more patterns
and searches for the best match in PKG_PATH, just like pkg_add would.
It prints the URLs of the best match for each pattern to stdout.
Rewrite the config file parser to read the file only once.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Aug 16 14:26:46 2009 UTC (17 years, 3 months ago) by joerg
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -3
lines
Fix a bug in pkg_add's -P handling. For dependencies the pkgdb path was
computed incorrectly and included destdir more than once.
Fix the ACTIVE_FTP option to actually set the "a" flag and not the old
"p" flag.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Aug 6 16:53:34 2009 UTC (17 years, 3 months ago) by joerg
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +7 -2
lines
pkg_install-20090806:
- pkg_add: add support to check license conditions before installation
- pkg_delete: add -k option to skip over preserve packages.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Apr 25 21:31:14 2009 UTC (17 years, 6 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2009Q2-base,
pkgsrc-2009Q2
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +5 -3
lines
pkg_install-20090425:
Add logic to evaluate license conditions. As frontend for pkgsrc,
pkg_admin gets two new commands (check-license and
check-single-license), which can be used to evaluate a given condition.
pkg_add will be changed to honour licenses at a later point.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Feb 28 16:03:56 2009 UTC (17 years, 8 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2009Q1-base,
pkgsrc-2009Q1
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +7 -2
lines
pkg_install-20090228:
Integrate the PKG_PATH logic for tightly with the find_archive logic:
- remember initial current working directory from the time PKG_PATH is
processed, it will be used as reference for all relative entries
- remove now redundant fchdir dance in pkg_add
- pass down to find_archive if this is a top-level package (e.g.
requested on the command line) or not; the location of top-level
packages is searched for packages first and for URLs or path names the
PKG_PATH itself is not processed (e.g. pkg_add foo/bar not look into
PKG_PATH for bar). This addresses PR 33884 in a different way.
- document the rules for finding packages more explicitly
- allow specifying PKG_PATH in pkg_install.conf as well; environment
takes precendence.
- remove PKG_PATH related logic in pkg_info(1), it doesn't deal with
PKG_PATH anyway
- remove PKG_PATH, PKG_TMPDIR and TMPDIR description in pkg_info(1),
they are no longer used
Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Feb 3 13:44:34 2009 UTC (17 years, 9 months ago) by joerg
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -3
lines
Fix PR 40456: Mac OS X can't deal well with BSS in static libraries.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Feb 2 12:35:01 2009 UTC (17 years, 9 months ago) by joerg
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +139 -0
lines
Merge pkg_install-20090201 from pkg_install-renovation branch.
- DB support is always included from libnbcompat if needed
- pkg_view and linkfarm are not installed any more; they are not moved
into the attic yet, so they can easily be installed as separte package
- common configuration file to customise the behavior of various
components; this supersedes the old audit-packages.conf
- support for PKSC7 signatures (using X509 certs) and GPG signatures for
packages in a secure way. See pkg_admin(8) for how to create them and
pkg_install.conf(5) for the options to use them
- audit-packages and download-vulnerability-list are wrapper scripts
around pkg_admin. They try to mimic the classic options if used sanely.
"pkg_admin audit" is now an order of magnitude faster than before
- pkg_add uses libarchive and libfetch instead of external ftp and tar:
- progress bar is currently missing for downloads
- "pkg_add -" is no longer supported
- no adhoc check for conficts between dependencies and already
installed packages
- "pkg_add -s" has been replaced with an option in pkg_install.conf,
verification of plain detached GPG signatures is no longer supported
- optional check for vulnerabilities before adding a package
- if /var and /usr/pkg are on different fileystems it is twice as fast
now
- conflicts due to overlapping plists are checked before installation
- pkg_add no longer plays with the process limits
- pkg_add and pkg_delete have a new destdir option; scripts have to
either be modified to use PKG_DESTDIR or should be disabled
- pkg_add -u for now can't be used to update to the exact same version
- internal "rm -rf" and "mkdir_p" code
- all memory allocation failures are not explicitly fatal
- if a file is not removed due to a failed checksum, still remove the
entry from pkgdb
Revision 1.1.2.8: download - view: text, markup, annotated - select for diffs
Mon Feb 2 11:55:16 2009 UTC (17 years, 9 months ago) by joerg
Branches: pkg_install-renovation
Diff to: previous 1.1.2.7: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.7: +4 -6
lines
pkg_install-20090201:
- sync DESCR and MESSAGE with HEAD and the branch state
- sync Makefile
- regen configure
- cleanup __RCSID
- merge audit logic in pkg_add and pkg_admin into new audit_packages
function. As side effect, pkg_add will list all vulnerabilities before
asking the user whether it should continue
- sort config_variable array
Revision 1.1.2.7: download - view: text, markup, annotated - select for diffs
Tue Jan 27 22:24:05 2009 UTC (17 years, 9 months ago) by joerg
Branches: pkg_install-renovation
Diff to: previous 1.1.2.6: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.6: +10 -2
lines
pkg_install-20090127:
Add options to specify user-id and keyrings for GPG operations.
Revision 1.1.2.6: download - view: text, markup, annotated - select for diffs
Thu Jan 8 00:01:31 2009 UTC (17 years, 10 months ago) by joerg
Branches: pkg_install-renovation
Diff to: previous 1.1.2.5: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.5: +7 -2
lines
pkg_install-20090108:
pkg_add optionally checks for vulnerable packages and bails out.
Revision 1.1.2.5: download - view: text, markup, annotated - select for diffs
Thu Aug 21 16:04:39 2008 UTC (18 years, 2 months ago) by joerg
Branches: pkg_install-renovation
Diff to: previous 1.1.2.4: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.4: +15 -3
lines
pkg_install-20080821:
- Recognize file:// urls to prevent double quoting.
- Fix some err/errx botchups.
- Add configuration options for verbose logging of net IO, enabling of
active FTP (switching to passive FTP as default) and for ignoring proxy
settings.
- When iterating over PACKAGES to find a match, warn if an entry can't
processed (e.g. bad URL).
Revision 1.1.2.4: download - view: text, markup, annotated - select for diffs
Sat Aug 2 20:33:50 2008 UTC (18 years, 3 months ago) by joerg
Branches: pkg_install-renovation
Diff to: previous 1.1.2.3: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.3: +5 -11
lines
Most memory allocation failures were fatal already and the majority of
the rest lacked an explicit check. Add the usual x* wrappers around
malloc and friends that explicitly terminate on error and use them in
all but Dewey.
Revision 1.1.2.3: download - view: text, markup, annotated - select for diffs
Mon May 19 10:42:41 2008 UTC (18 years, 6 months ago) by joerg
Branches: pkg_install-renovation
Diff to: previous 1.1.2.2: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.2: +7 -2
lines
Add variable to control how packages are installed.
VERIFIED_INSTALLATION supports:
never (default): print signature, but don't care about it.
always: check for valid signature, abort otherwise
trusted: ask for packages without valid signature
interactive: always ask before installation
Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Sun May 11 20:20:38 2008 UTC (18 years, 6 months ago) by joerg
Branches: pkg_install-renovation
Diff to: previous 1.1.2.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.1: +8 -4
lines
Add support PKCS7 signatures in packages and pkg-vulnerabilities.
The support for non-native OpenSSL still needs to be done, e.g.
ensure static linkage for that. Documentation is essentially missing.
Revision 1.1.2.1: download - view: text, markup, annotated - select for diffs
Thu May 8 23:34:27 2008 UTC (18 years, 6 months ago) by joerg
Branches: pkg_install-renovation
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +113 -0
lines
Move configuration parser into libinstall.
Add a new VERIFY_CMD to be used by pkg_add soon.
Revision 1.1
Thu May 8 23:34:27 2008 UTC (18 years, 6 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2008Q4-base,
pkgsrc-2008Q4,
pkgsrc-2008Q3-base,
pkgsrc-2008Q3,
pkgsrc-2008Q2-base,
pkgsrc-2008Q2,
pkg_install-renovation-base,
cwrapper-base,
cwrapper,
cube-native-xorg-base,
cube-native-xorg
Branch point for: pkg_install-renovation
FILE REMOVED
file parse-config.c was initially added on branch pkg_install-renovation.
CVSweb <webmaster@jp.NetBSD.org>