aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt/pkg/files
Commit message (Collapse)AuthorAgeFilesLines
* ports-mgmt/pkg: Regenerate EXTRA_PATCHES (unbreaks DragonFly)John Marino2015-04-141-6/+6
| | | | | | | | | | The patch target will fail if EXTRA_PATCHES is defined, but it is only defined on DragonFly (change is no-op for FreeBSD) Approved by: Just fix it Notes: svn path=/head/; revision=384028
* Update pkg to 1.4.0Baptiste Daroussin2014-12-093-73/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update pkg-devel to 1.4.99.0 (aka 1.5 pre-alpha0) Changes since pkg 1.3.0: Changes you can expect in pkg 1.4 are the following: - Loads of bug fixes - Stricter checking of the path passed via the plist - Removal of the bundled libyaml - new --raw-format to chose the output format for info -R and search -R - ABI (for freebsd, unchanged for dragonfly) is now follwing MACHINE_ARCH (freebsd:10:x86:64 become FreeBSD:10:amd64) the old ABI is available as a fallback in ALTABI - pkg check now support a quiet mode - new 3 way merge code ("stolen" from the fossil-scm) to allow automerging configuration files - new @config keyword to mark a file as a config file (during upgrade/reinstallation it will try to merge the configuration with the one the user may have modified) an option AUTOMERGE is available to prevent automerging if automerge fails a .pkgnew file will be created along with the untouched user version of the configuration - The update procedure has been improved and speed up a lot (in particular for machine with low resources) - The unique identifier has been modified to be pkgname meaning now ports can be moved in new categories without having to be considered a different package - Only libraries starting by lib* are added to the provided libraries - General speed up of all operations - pkg set gain a -n option (equivalent to -o but works on name rather than origin) - pkg set -o now considered deprecated - pkg version accept '?' and '!' in pkg version limchar Notes: svn path=/head/; revision=374397
* Fix a regression that made some plist errors non fatalBaptiste Daroussin2014-10-071-0/+31
| | | | | | | Reported by: antoine Notes: svn path=/head/; revision=370273
* Fix an important regresion preventing pkg2ng to work properlyBaptiste Daroussin2014-09-261-0/+14
| | | | | | | | Reported by: roberto Tested by: roberto Notes: svn path=/head/; revision=369323
* - Fix crash when overriding repo configs.Bryan Drewery2014-09-241-0/+28
| | | | | | | | | | PR: 193890 Reported by: Nikolai Lifanov With hat: portmgr Pointyhat to: bdrewery Notes: svn path=/head/; revision=369194
* Update to 1.3.2Baptiste Daroussin2014-07-272-97/+0
| | | | | | | | | | Changes: - Import fixes from libucl (fixes memory corruption with pkg.conf) - Fix memory corruption when reinstalling packages - Rework pkg repo process distribution Notes: svn path=/head/; revision=363108
* Fix reading pkg.conf (this will prevent pkg from segfault)Andrej Zverev2014-07-271-0/+68
| | | | | | | Approved by: bapt@ (portmrg@) Notes: svn path=/head/; revision=363076
* Fix the build on PowerPC: apparently it declares that it has atomic builtins,Alexey Dokuchaev2014-07-231-0/+29
| | | | | | | | | | but GCC 4.2 bombs with internal compiler error (= unrecognizable instruction) when compiling libucl/src/ucl_util.c. Approved by: bapt (portmgr, maintainer) Notes: svn path=/head/; revision=362707
* Update to 1.3.0Baptiste Daroussin2014-07-236-343/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since pkg 1.2: - 373 files changed, 66973 insertions(+), 38512 deletions(-) - 29 differents contributors - Merge of one of the 2013 Summer of code project Changelog: - New solver that can support external solvers using the CUDF format and the internal SAT solver - pkg-ssh(8) is now sandboxed with capsicum if it is available - pkg-ssh(8) now uses poll(2) - Remove StringList usage to improve portability - Rework the build system to use autotools to help portability - Now fetching is done to a temporary location and cleaned up if it fails - Remove PACKAGESITE - pkg-audit: remove support for portaudit compact database (only VulnXML will be used) - Improved UI experience based on jmmv write up (http://julipedia.meroh.net/search/label/cli-design) - Reworking the database locking mechanism into a finer grain and more clever system - Dynamic conflict handling if a conflict on files is detected at the sanity check level, try to solve the problem again with the new conflict information - Fix %t (timestamp) modifier in pkg_printf(3) - Full output now has a new field "date installed" - New pkg -o A=B to overwrite configuration from command line without the need of defining environment variables - pkg-install now can handle local files - pkg-add is now an alias on pkg-install - Simplify API by using more and more libucl objects (hidden behind an opaque 'pkg_object') - Rework multirepository handling - Prepare code for repository abstraction support - Sandbox signature checking and extraction - Support long options - Rework the extraction process - unicity of a package is now origin~name allowing subpackages and flavours - Improve ui for all commands - pkg lock -l now list the locked packages - symlinks now has a checksum to ensure they are valid - pkg backups generated by the distributed script are now plain sql files - Tons of bugfixes - Tons of behavour fixes Notes: svn path=/head/; revision=362699
* - Fix pkg-rquery -I to have all expected output.Bryan Drewery2014-07-041-0/+43
| | | | | | | | | Obtained from: upstream 29c9c84e0e11c2c182a8d79634344e57bf2575f1 With hat: portmgr Reported by: dteske Notes: svn path=/head/; revision=360653
* Add a version script to only public expose public function in libpkgBaptiste Daroussin2014-06-111-0/+234
| | | | | | | | | PR: 190742 Submitted by: feld With help from: jilles Notes: svn path=/head/; revision=357490
* Fix packaging on head, .MAKE.FreeBSD_UL has been retired from bmakeAntoine Brodin2014-05-291-0/+18
| | | | | | | With hat: portmgr Notes: svn path=/head/; revision=355668
* Add the ability to specifiy the file where the ABI string will be determined ↵Baptiste Daroussin2014-04-031-0/+25
| | | | | | | from Notes: svn path=/head/; revision=350008
* Detect invalid packages that list directories as a file in plistAntoine Brodin2014-04-011-0/+18
| | | | | | | | Exp-run by: bdrewery With hat: portmgr Notes: svn path=/head/; revision=349874
* Update to 1.2.5:Baptiste Daroussin2014-01-131-28/+0
| | | | | | | | | | | - Manpage improvements - fix $auditfile in pkg audit periodic script - Fix repo-*.sqlite being corrupted when pkg update is interrupted by the user - pkg add now tells the version of the package missing - Strop decoding/encoding all fields, only scripts and description are now encoded/decoded Notes: svn path=/head/; revision=339595
* Fix sefault while cleaning upBaptiste Daroussin2013-12-161-0/+28
| | | | | | | | | | | It only happens if one has list or key/value list in pkg.conf a workaround to update is to comment it out the time to upgrade Reported by: many Pointyhat to: bapt (again) Notes: svn path=/head/; revision=336622
* Update to pkg 1.2.3Baptiste Daroussin2013-12-101-14/+0
| | | | | | | | | | | | | | Changes: - Workaround a bug in bsd.*.mk on FreeBSD 8.x - Fix a pkg repo segfault - Document aliases in pkg.conf(5) - Be more verbose when refusing a repository configuration file - Sync libucl with upstream (bug fixes) - Fix a fd leak in pkg repo - Fix memory leaks due bad usage of libarchive Notes: svn path=/head/; revision=336063
* - Fix build on 8.xBryan Drewery2013-12-061-0/+14
| | | | | | | With hat: portmgr Notes: svn path=/head/; revision=335770
* ports-mgmt/pkg*: Prepare for alternative PORTSDIR supportJohn Marino2013-11-291-0/+34
| | | | | | | | | | | | | With the PKG_PORTSDIR make argument set, Release 1.2.2 will properly build pkg when PORTSDIR doesn't equal the default /usr/ports, as is the standard case with DragonFly. Additionally, pkg(8) and pkg-static(8) man pages are conditionally edited to remove references to the -j option when libjail isn't found on the system. This extra-patch should never be used on FreeBSD. Notes: svn path=/head/; revision=335210
* Release pkg 1.2.1Baptiste Daroussin2013-11-271-62/+0
| | | | | | | | | | | | | | | | | Changes: - Fix pkg rquery always printing index like lines - Fix pkg -vv suggestion so it print something actually usable - Fix shlib's -P and -R options were swapped round. - Replace broken pkg_repos_count() by pkg_repos_total_count() and pkg_repos_activated_count() - Fix parsing of options (in manifest) - pkg add http:// now fetch to a temporary location and cleanup after itself - Fix generation of the manifest digest - Properly calculate how many packages where removed - Fix support for dependencies with the same name (grrrr Fix you port if they have package name collision !!!!) - Fix pkg info -R in case multiple dependencies has the same name Notes: svn path=/head/; revision=335041
* First errata:Baptiste Daroussin2013-11-261-0/+62
| | | | | | | | | | | - Fix pkg rquery always printing index like lines [1] - Fix pkg -vv suggestion so it print something actually usable [2] Reported by: gjb [1] Reported by: ohauer [2] Notes: svn path=/head/; revision=334957
* Welcome pkg 1.2 finalBaptiste Daroussin2013-11-2617-554/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: - Improved build system - Allow to hook plugins, before closing the local db if it was opened in RW mode - Allow ARCH to be printed by pkg info - New pkg bootstrap subcommand that is the counter part of the pkg(7) bootstrap subcommand - Use port specified in the SRV entries to connect to a given mirror - Properly support srv priority/weigh when ordering mirrors - Lots of spelling/grammar fixes - Broken incremental pkg repo support was removed. - ABI is now checked again using globs: * a 'noarch' package should just specify: ARCH: 'freebsd:*' * a package working on both i386 and amd64: ARCH: 'freebsd:9:x86:*' - new pkg config subcommand to allow direct query of options - options can now have a description - pkg repo can now take new arguments: pkg repo [path] [rsa_key|'signing_command: <command>'] This allow calling external command to perform the signing and pass the checksum to be signed in the command stdin. - in case pkg info is querying a file or is a single direct match query then default on -f - pkg info -q is now equivalent of pkg info -qa - expat is now always bundled (for vuxml) - vuxml is now the default source for pkg audit - Accept empty/comment only configuration files - Print a pkg name only once - even if multiple vulns were found - when using -q in pkg audit - pkg info now default on glob matching - Support for pkg+foo url scheme where foo can be (http, https, ftp). - pkg add is now able to read the packages from a pipe or a non-regular file '-' is an alias for stdin, this also works from pipes, fifos, unix domain sockets etc. - New 'fingerprint' kind of signature: if a repository is declared using the fingerprint type of signature, a fingerprint directory should also be provided. Inside that fingerprint directory should be 2 directories: trusted and revoked. Those directories will contains files (in yaml/ucl format) containing the fingerprint of the trusted certificated and the revoked ones: --- begins -- function: sha256 fingerprint: an_hex_representation_of_the_fingerprint --- ends --- All unknown attribute will be silently ignored to allow extending in the future. It also support multiple signatures inside the catalog. the catalog should provide the signature in the following form: name.sig name.cert - packagesite in pkg.conf is deprecated in favour using dedicated repository configuration files - REPO_DIR is now a list instead of a simple string - New git like aliases to allow creating custom commands - Allow using '?' operator in pkg query expressions - Fix ssh:// support - New PKG_SSH_ARGS to allow passing custom arguments to ssh command used for the ssh:// protocol - Do not generate catalogs in pkg 1.0 format anymore. - YAML is replaced by UCL format: Both formats are really simular. pkg(8) will falls back on parsing YAML when the UCL parser fail. And will emit a warning to the user showing a syntax that is compatible with both YAML and UCL. More informations on UCL: https://github.com/vstakhov/libucl - Dependencies on library is now automatic via pkg register and pkg create - Auto upgrade of pkg(8) now restart the upgrade process automatically - Lots of bug fixes discovered by Coverity Scan - New debug level traces - Bug fixes in zsh completion - rquery can now take a -I argument to output index like lines (needed for bsdconfig) - Skip self upgrade with -F is passed - Autodetect if libelf should be used bundled - Lots of bug fixes Thanks a lot to all people allowed this release to happen, may that be from providing code, ideas, submitting bugs, documenting or just supporting. Notes: svn path=/head/; revision=334937
* - Update to 1.1.4_10 ahead of 1.2 update with critical fixesBryan Drewery2013-11-193-0/+206
| | | | | | | | | | | | | | | | | | | | Changes: * When using SRV mirrors, order the mirrors by the advertised priority and weight. This should fix 'pkg update' using mirror A while 'pkg upgrade' and 'pkg fetch' end up using mirrors A, B and C, resulting in checksum errors due to not all mirrors being updated at the same time. * Add support for 'pkg+http://' URL scheme and deprecate 'http://' when using SRV mirroring. This is only a cosmetic change that encourages users to not try loading the PACKAGESITE into a browser to view it. Discussed with: bapt With hat: portmgr Obtained from: upstream git Notes: svn path=/head/; revision=334333
* - Force pkg to not use base libbsdyml, which was available in head|stable/10Bryan Drewery2013-10-133-0/+41
| | | | | | | | | | | for some months. libbsdyml is being removed for 10-R. The bundled libyaml will be used instead. Discussed with: bapt With hat: portmgr Notes: svn path=/head/; revision=330262
* Fix pkg register -i (staged pass mode) not properly respecting @owner/@groupBaptiste Daroussin2013-10-052-5/+76
| | | | | | | Reported by: naddy Notes: svn path=/head/; revision=329483
* - Fix spelling of "Upgrades" since it keeps being reportedBryan Drewery2013-09-251-0/+11
| | | | | | | With hat: portmgr Notes: svn path=/head/; revision=328290
* - Fix staging of meta ports that have no files, such asBryan Drewery2013-09-241-0/+11
| | | | | | | | | | mail/squirrelmail-plugins Discussed with: bapt With hat: portmgr Notes: svn path=/head/; revision=328199
* Fix @exec/post-install script execution with pkg register -i [1]Baptiste Daroussin2013-09-243-0/+54
| | | | | | | | | | Fix MTREE not properly being extracted with pkg register -i [2] Reported by: garga [1] bdrewery [2] Notes: svn path=/head/; revision=328121
* Fix build on mipsBaptiste Daroussin2013-09-195-5/+111
| | | | | | | Fix analyzing elf when package/registering from a stage directory Notes: svn path=/head/; revision=327648
* - Fix crash when registering some linux ports, such asBryan Drewery2013-09-051-6/+15
| | | | | | | | | | games/linux-candycruncher-demo With hat: portmgr Reported by: mva Notes: svn path=/head/; revision=326389
* - Rename ARM patch to proper name and remove unneeded newvers.sh patchBryan Drewery2013-09-051-13/+0
| | | | | | | | | as the PORTREVISION is passed in MAKE_ENV With hat: portmgr Notes: svn path=/head/; revision=326387
* Add proper support for detect new arm eabiBaptiste Daroussin2013-07-171-0/+58
| | | | | | | | | Bump port revision. Submitted by: andrew@ Notes: svn path=/head/; revision=323162
* - Update to 1.1.4Bryan Drewery2013-07-061-19/+0
| | | | | | | | | | | | | | | | | Changes: * Fix crash when opening repository in some cases * Fix build with -Werror * Fix 'pkg install [-f] pkg' not finding results * Fix 'pkg upgrade -f' always wanting to upgrade pkg first * Fix 'pkg install -R' always wanting to install pkg first * Fix backwards compatibility for 1.0-built packages for tracking shlibs. This may cause some packages to be reinstalled after the repository is updated. * Fix pkg (upgrade|fetch|install) -r <repo> crash * Fix crash when specifying invalid repo with -r Notes: svn path=/head/; revision=322385
* - Fix build with -WerrorBryan Drewery2013-06-301-0/+19
| | | | Notes: svn path=/head/; revision=322087
* - Update to 1.1.3Bryan Drewery2013-06-281-42/+0
| | | | | | | | | | | | | | | | | Changes: - Fix repository signing verification with new format during update - Disable terminal title setting - Fix %a/%k returning true/false instead of 0/1 - Various memory/fd leaks have been fixed - Fixed pkg self-upgrade detection - ZSH completion fixes - Several crashes fixed With hat: portmgr Notes: svn path=/head/; revision=322002
* - Fix 'pkg query %a' returning true/false instead of 0/1.Bryan Drewery2013-06-271-0/+42
| | | | | | | | | | | | This was showing as a warning in portmaster/portupgrade and could have caused packages to be registered incorrectly automatic/non-automatic on upgrade. Reported by: many Obtained from: upstream git Notes: svn path=/head/; revision=321846
* - Update to 1.0.14, bringing minor fixes before the 1.1 release.Bryan Drewery2013-06-191-39/+0
| | | | | | | | | | | | | Changes: - 'pkg update' fix [already in port] - Crash fix on i386 [already in port] - Fix for periodic scripts [1] PR: ports/179723 [1] Reported by: fred@SUNBOT.Homedns.ORG [1] Notes: svn path=/head/; revision=321337
* Actually push the right patchBaptiste Daroussin2013-06-181-10/+10
| | | | Notes: svn path=/head/; revision=321219
* Fix a segfault on i386 and powerpc64 while registering a port as automatic [1]Baptiste Daroussin2013-06-181-0/+39
| | | | | | | | | | | | Prevent 'pkg update' will always think that the repo is up to date if no mtime header is sent by the http server [2] Bump port revision Reported by: adrian[1], hrs [1] Tested by: hrs [1] Submitted by: cperciva [2] Notes: svn path=/head/; revision=321218
* - Update to 1.0.13Bryan Drewery2013-06-111-26/+0
| | | | | | | | | | | | | | | | | | Changes: - Add pkg -N to detect if pkgng is installed and activated. See pkg(8) for usage as this is not completely safe for 9.1's bootstrapper. - Update manpages with examples - Fix crash in shlib handling (was already in port) - Fix shlibs scanning over NFS - Update to new repository/upstream URL at http://github.com/freebsd/pkg With hat: portmgr Notes: svn path=/head/; revision=320556
* - Fix crash while packaging netbeansBryan Drewery2013-05-171-0/+26
| | | | | | | | Reported by: many Reviewed by: bapt Notes: svn path=/head/; revision=318356
* - Update to 1.0.12Bryan Drewery2013-05-011-56/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | *** Binary Package Builders: It is recommended to rebuild all packages and then run 'pkg check -Ba' and 'pkg upgrade' on your client servers once. This will allow the new shlib tracking to reinstall packages that have changed shlib requirements. This step is optional. Changes: * Always track provided SHLIBS now when packages are created * Automatically reinstall packages when their needed shlibs or dependencies change. This removes the need to run 'pkg install -Rf' in many, but not all, cases. * New DB lock strategy when stored on a network filesystem * pkg version: Show ? when package is missing on remote * pkg check -s: Return non-zero exit status if a mismatch is found * pkg audit: Implement -q * Add more periodic scripts * Add bash completion script * pkg audit: Performance optimizations * Build fixes * Add some forward-compatibility support for upcoming 1.1 Thank you to all contributors, listed in the upstream commits: https://github.com/pkgng/pkgng/commits/1.0.12 With hat: portmgr Notes: svn path=/head/; revision=317043
* Fix build after addition of -Wmissing-variable-declarations to WARNS=6 in HEADBaptiste Daroussin2013-04-201-0/+56
| | | | | | | | Submitted by: ed Feature safe: yes Notes: svn path=/head/; revision=316166
* - Update to 1.0.10Bryan Drewery2013-03-302-40/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | - Replace tab with space in pkg-descr Changes: - gcc44/gcc48 build fixes - pkg-install now returns 0 when requested pkgs already installed - Fixed pkgconf file handling - Hard-coded post-deinstall list has been moved to bsd.pkgng.mk as _FORCE_POST_PATTERNS so we can update that instead of having a pkgng release every time a new one is identified. - Add pkg check -n for -d to be scriptable - Fix memory corruption if WWW passed directly to manifest - COMMENT/Description/WWW are now required to make valid packages - Store fetched packages as 0644 - Add events for conflicts - Add -F to pkg-install - Pipe fixes - Misc fixes Notes: svn path=/head/; revision=315596
* - Fix lib/gio/modules/giomodule.cache being seen as a leftoverBryan Drewery2013-03-181-0/+12
| | | | | | | | | | | | due to @unexec gio-querymodules running before files were deinstalled. A more extensible solution is being sought for 1.0.10 to be used through bsd.pkgng.mk Reported by: miwi, swills With hat: portmgr Notes: svn path=/head/; revision=314562
* - Remove the need to patch newvers.sh on revision updates byBryan Drewery2013-03-181-19/+0
| | | | | | | passing PORTREVISION into the MAKE_ENV Notes: svn path=/head/; revision=314561
* - Fix crash in pkg-updateBryan Drewery2013-03-142-0/+47
| | | | | | | | | | | | You may need to manually 'pkg add' 1.0.9_1 or rebuild from ports if you are on 1.0.9 Submitted by: Alexandre Perrin <alexandre.perrin@netoxygen.ch> Obtained from: upstream git With hat: portmgr Notes: svn path=/head/; revision=314143
* - update to 1.0.5:Baptiste Daroussin2013-01-228-100/+0
| | | | | | | | | | | | | | | | | | | | | - changes: * Expand all instances of $ORIGIN in RPATH strings * Use -rpath when building pkg * Handle the case where left-over records are present in the local database * Fix license logic * Fix spelling in manpages * Fix built with gcc when build without DEBUG_FLAGS * Allow to set HTTP_PROXY/FTP_PROXY directly in pkg.conf(5) * Fix +MTREE_DIR extracting during binary installation of a package * Add experimental feature: HTTP_MIRRORS, see below Please note that this version does something we normally do not do in a release branch. It adds an experimental feature: HTTP_MIRRORS, that was requested for PC-BSD. This feature makes possible to retrieve a list of mirrors via an http request first, looking for the URL: http://... lines in the fetched page. Notes: svn path=/head/; revision=310807
* - Fix build due to uninitialized variables, whichBryan Drewery2013-01-135-0/+56
| | | | | | | | | | were previously hidden due to DEBUG_FLAGS Obtained from: Upstream git repo Approved by: bapt Notes: svn path=/head/; revision=310327
* Do not install .symbols on currentBaptiste Daroussin2013-01-122-0/+25
| | | | | | | Reported and tested by: kwm Notes: svn path=/head/; revision=310293