Commit graph

2890 commits

Author SHA1 Message Date
Mathieu Arnold
57a5fef707 Deprecate.
Sponsored by:	Absolight
2014-11-05 11:05:02 +00:00
Baptiste Daroussin
5afb8f4cf2 Simplify plist 2014-10-31 15:33:37 +00:00
Baptiste Daroussin
de9370fcd7 Simplify plist 2014-10-31 15:32:43 +00:00
Baptiste Daroussin
94fe893051 Update to 1.4.0.a4
Changes:
- Reinstall packages if one of its dependency have change
  While hackish this allows seamless upgrade of perl5 and ruby2
- Fix pkg audit as used from ports
- Reject chroot for unknown ABIs
- Fix generating repos from 1.3 created packages
- Allow to build out of the source tree
- Fix ABI detection on armeb
- Fix some left overs from Unique id migration
- Fix pkg delete regression (it is again recursive by default)
- Locked packages prevent deleting anything that depends on them
- Fix pkg upgrade on multi repo
- Fix pkg upgrade ignoring the lock flag

Thank you very much for all the testers and reports! Please keep testing!
2014-10-30 14:41:21 +00:00
Vasil Dimov
88a99b6d3e ports-mgmt/portsearch: Update the distfile checksum after the
precompiled binary was removed from it. Also move ${MASTER_SITE_LOCAL}
towards the end in MASTER_SITES because the new file is still not
propagated to the mirrors.
2014-10-30 08:06:38 +00:00
Stephen Hurd
35538ba361 Fix segfault caused by passing a string literal pointer to mkstemp()
Submitted by:	Oki Sawada <oki@tamon.co.jp>
2014-10-30 07:47:05 +00:00
Baptiste Daroussin
e139980a3f Update to 1.4.0 alpha3:
- Fix pkg check -r to make it also compute checksums for symlinks
- Fix pkg register in case the ancient arch as not already been defined
2014-10-29 07:00:11 +00:00
Olli Hauer
7634187b32 - new port pkgcompare
This program provides for an alternate pkg upgrade procedure.

Usage: pkg-compare [options] new_path old_path

This program reads local.sqlite in new_path and compares list of installed
packages in local.sqlite in old_path. If a package is found in old_path which
is not in new_path then the name of the port is printed, one per line.

Command line switches:
    -p  prefix uninstalled packages with 'pkg install -Rf'
    -m  show manually installed packages only, no deps

WWW: https://github.com/waitman/pkg-compare

PR:		186484
Submitted by:	waitman@waitman.net
2014-10-28 22:55:13 +00:00
Baptiste Daroussin
9e24a2e4af Sorry I didn't checksum the right file 2014-10-28 22:53:16 +00:00
Bryan Drewery
042faa631c Update to checkin d2f5c83
Changes:
  * Minor display fixes
  * poudriered cleanups
  * ports -l: Support -n like jail
  * Add a 'jail stop' hook called right before jail is shutdown
  * Auto fix shadowed files in repository that are owned by pkg(8)
  * jail -cx: TARGET/TARGET_ARCH fixes
2014-10-28 19:04:52 +00:00
Baptiste Daroussin
b83cfef8c9 Update to 1.4.0.alpha2
Changes:
- Change the default fetch site for vuxml
- simplify some code
- fix too small buffers
- only add in provided shlibs the files starting with lib*
2014-10-28 19:04:22 +00:00
Joe Marcus Clarke
dfba912666 Update to 2.16.1.
Add an additional check for EXTRACT_SUFX.

Submitted by:	ak
2014-10-27 16:02:01 +00:00
Johannes Jost Meixner
6cd04d3114 ports-mgmt/porttools: upgrade to 1.03
- Upgrade to 1.03

Changelog:
- Mark port submit as broken
- Mark port followup as broken

PR:		194323
Differential Revision:	https://reviews.freebsd.org/D992
Approved by:	swills (mentor)
2014-10-27 12:23:54 +00:00
Baptiste Daroussin
cff7b12443 Update to pkg 1.4.0.alpha1
Changes:
- Lots of cleanup in the API
- Huge refactoring to avoid using hashes where not needed
- add a new @config keyword for all files with such flags pkg will try
  automatically to merge the difference with newer version on upgrades
  a vanilla version of the file is kept in the db to allow 3 way merge
  this was the last blocker to be able to package base
- new options AUTOMERGE to prevent pkg to automatically merge @config files
- speed up upgrades by only extracting files that are different from 2 packages
- convert unique package identifier to the package name (at last !)
- drop incremental update support this was preventing allowing multiple packages
  with the same name in a remote repo
- lots of improvements in the pkg update process
- update sqlite to 3.8.7
- Change pkg audit so that it points to the http://vuxml.FreeBSD.org/freebsd/
  location by default
- Lots of fixes in the solver
2014-10-26 22:40:40 +00:00
Joe Marcus Clarke
f48db5d370 Update to 2.16.0
* Remove @MASTERSITES_WHITELIST
* Remove some remnants of multi-OS support: always false conditions and
  unused variables ($automan, $autoinfo, $manstrict, $mancompress,
  $multiplist, $newxdef, $rcsidinplist, $ldconfigwithtrue)
* Remove check for USE_SIZE
* Remove check for 'Version Required' in header
* Remove pkgtools remnants: fix pkg_version invocations,
  remove check for PKGINSTALLVER, remove check for old packages in $portsdir
* Update check for IGNOREFILES macro
* Remove comment about EXEC_DEPENDS
* Remove check for NO_CONFIGURE/NO_PATCH
* Remove '@dirrm for %%DOCSDIR%%' check
* Remove pkg-comment check
* Remove check for /usr/X11R6
* Remove check for gcc_val 3.x and 4.1 conditions
* STAGE is now required
* Remove MANLANG check
* Add NOPORTEXAMPLES/NOPORTDOCS deprecation warning
* Add @stopdaemon, @cwd deprecation warning
* Add PLIST_DIRSTRY deprecation warning
* Add check for make :L :U modifiers
* Add check for for MAN[1-9] macro
* Allow use of absolute path in plist
* Fix checks for EXTRACT_SUFX
* Fix USE_ANT and USES=gmake warning
* Convert WITH(OUT)_$1 to PORT_OPTIONS:M$1 in warning
* Convert USE_DOS2UNIX to USES=dos2unix in warning
* Convert USE_ZIP to USES=zip in EXTRACT_SUFX check
* Convert USE_PERL5 to USES=perl5 in warning
* Convert USE_ICONV to USES=iconv in warning
* Modify checkplist() to accept @fc/@shell/other new keywords

PR:		194285
Submitted by:	ak
2014-10-26 18:34:52 +00:00
Alex Kozlov
98482df214 - Update to 20141022 [1]
* Set -k (keep going) option when -O (don't check dependencies) is set.
- Remove PLIST_DIRSTRY

PR:	194524 [1]
Submitted by:	Ken DEGUCHI <kdeguchi at sz.tokoha-u.ac.jp> (maintainer) [1]
2014-10-24 10:01:24 +00:00
Vasil Dimov
1d7eae2ef1 Upgrade ports-mgmt/portsearch from 1.3.3 to 1.3.4 2014-10-24 06:31:47 +00:00
Marcus von Appen
b997ee32c8 - Convert ports from german/, java/, japanese/ and ports-mgmt/ to new
USES=python

Approved by:	portmgr (implicit)
2014-10-19 17:45:13 +00:00
Rodrigo Osorio
d54da5ee82 Update port to version 0.5
Update maintainer email address
Remove unnecessary PLIST_DIRS

PR:		ports/194023
Submitted by:	mario.g.pavlov@gmail.com (maintainer)
Approved by:	mentors (implicit)
2014-10-15 21:48:04 +00:00
Bryan Drewery
b47e3677c2 - Add dependency back for ruby-bdb for Ruby 2.0.
PR:		188084
PR:		185523
2014-10-13 15:54:59 +00:00
Mathieu Arnold
3bfa450500 Retire ports-mgmt/portaudit, it stopped working a month ago when pkg_tools
support was removed.  Also retire three ports requiring it, and a few optionnal
dependencies.

With hat:	portmgr
Noticed by:	ak
Sponsored by:	Absolight
2014-10-13 15:45:02 +00:00
Baptiste Daroussin
2303f42042 Update to 1.4.0.pre-alpha16
Changes:
- Rework the job request processing
- Fix pkg install/upgrade
- Fix forced reinstall
- Rework of integrity checking
- The ABI is now defined using MACHINE_ARCH meaning freebsd:10:x86:64 is now FreeBSD:10:amd64
  this is encoded in the package as "abi" the old "arch" key remains for compatibility and is translated to the old ABI
- New option ALTABI represent the ancient ABI format
- Repository configuration files can now talle ${ALTABI} as well as ${ABI}
- The audit periodic script is able to audit pkgs in jails or chroots from the host system
- The backup periodic script is able to backup database from jails or chroots to the host system
- The status periodic script is able to report on chroots and jails from the host system.
- The checksum periodic script is able to report on checksum mismatches in chroots and jails.
- pkg check now support -q (--quiet)
- 3 way merge code has been imported from the fossil scm project (not yet in use)
- Code cleanup
- Lots of minor bug fixes
- Update libucl
- Rationalise path before packaging ( /something//bla is not the same a /something/bla)
- pkg info/search -R can now specify ucl as a format for the raw output
2014-10-13 14:30:48 +00:00
Joe Marcus Clarke
ae09692954 Update to 2.15.6.
* Check to make sure each instance of USES is properly sorted.

PR:		193792
2014-10-13 05:53:56 +00:00
Joe Marcus Clarke
21491c1623 Update to 2.15.5.
* Do not report on DEBUG as an OPTION. [1]
* Check for use of muted INSTALL_foo commands.
* Warn on use of @dirrm[try].
* Check to make sure rc.d scripts contain a '# PROVIDE:' line. [2]
* Check to see that the options provided to USES are sorted. [3]
* Fix an errant "direct use of command" warning. [4]
* Remove the check to see if StartupNotify is the empty string in
  DESKTOP_ENTRIES.  This is allowed per the spec and per the porter's
  handbook. [5]
* Check for empty lines in plist. [6]
* Check for direct command use in SHEBANG_FILES. [7]

PR:		192525 [1]
		193464 [2]
		193792 [3]
		193793 [4]
		193456 [5]
		193794 [6]
		193795 [7]
2014-10-08 23:40:03 +00:00
Emanuel Haupt
e283a7caf5 Remove @dirrm, @dirrmtry 2014-10-08 14:26:25 +00:00
Baptiste Daroussin
3a885f4283 Fix a regression that made some plist errors non fatal
Reported by:	antoine
2014-10-07 06:53:49 +00:00
Alex Kozlov
f72d13e942 - Update to 1.17 2014-10-07 05:59:26 +00:00
Bryan Drewery
f9a6f5b59b - Update to 2.4.13
- Update plist for pkg-1.3
- Remove pkg-message as ALT_PKGDEP has not worked properly since 2008.
  See https://github.com/freebsd/portupgrade/issues/61

Changes:
  * portinstall/upgrade -P[P] now supported with pkgng
  * pkg_fetch now supports pkgng
  * Fixed pkg-1.3 delete support to not recurse
  * Fixed portupgrade -b support with pkgng
  * Improved portsclean performance with pkgng (#59)
  * Use service(8) for rc script restarting
  * Show command executions with PORTUPGRADE_DEBUG in environment
  * Deprecate rc script handling in lieu of pkg's HANDLE_RC_SCRIPTS in pkg.conf
2014-10-06 23:04:56 +00:00
Bryan Drewery
4c9b998ba3 - Plist fixes. No need for @exec and use @sample. 2014-10-06 23:00:14 +00:00
Bryan Drewery
42e89c245c - Update to checkin 2161660, which matches 2.4.13
- Update @dir usage

Changes:
  * portinstall/upgrade -P[P] now supported with pkgng
  * pkg_fetch now supports pkgng
  * Fixed pkg-1.3 delete support to not recurse
  * Fixed portupgrade -b support with pkgng
  * Improved portsclean performance with pkgng (#59)
  * Use service(8) for rc script restarting
  * Show command executions with PORTUPGRADE_DEBUG in environment
  * Deprecate rc script handling in lieu of pkg's HANDLE_RC_SCRIPTS in pkg.conf
2014-10-06 22:53:47 +00:00
Bryan Drewery
ea864cc4d0 - Update to checkin caf0bb9
Changes:
  * jail -x: Build and install native-xtools cross compile tools.
    Submitted by sbruno@
2014-09-27 04:19:10 +00:00
Baptiste Daroussin
1ab7d6e712 Fix an important regresion preventing pkg2ng to work properly
Reported by:	roberto
Tested by:	roberto
2014-09-26 13:14:20 +00:00
Bryan Drewery
78a2c89be6 Add a way to work around the pkg2ng gate for now.
With hat:	portmgr
2014-09-26 01:14:14 +00:00
Bryan Drewery
d3649e3087 - Fix crash when overriding repo configs.
PR:		193890
Reported by:	Nikolai Lifanov
With hat:	portmgr
Pointyhat to:	bdrewery
2014-09-24 18:35:27 +00:00
Eitan Adler
4ea635fd2d Hand back my ports to the pool.
Ports require time and TLC which I no longer have.
2014-09-24 06:00:09 +00:00
Bryan Drewery
dd8257ed58 - Update to checkin 96b7698
Changes:
  * Fix another race in balance_ool() causing crashed builds
  * More color fixes
  * jail -u: Fix detection of invalid jails
  * Better handling of crashed builds
  * Fix incremental rebuild for pkg/pkg-devel
2014-09-23 04:35:23 +00:00
Bryan Drewery
dc9116af30 If not built with WITH_PKG=devel, depend on ports-mgmt/pkg. This will use
the normal pkg for packaging pkg-devel. This is needed because the repo is
expected to be only non-devel packages.

This also fixes a poudriere crash when the repo is empty and both pkg and
pkg-devel are built. When pkg-devel would finish first it would crash due to
not having a pkg to use for caching various metadata from the package.

Differential Revision:	D809
With hat:		portmgr
Reviewed by:		bapt
2014-09-22 21:23:52 +00:00
Baptiste Daroussin
f458787f5b Simplify plist 2014-09-22 15:34:48 +00:00
Baptiste Daroussin
6423d85837 Update to 1.3.8 Changes:
- Plist parser do not accept modes like o+w g+s u+r
- @owner/@group with no argument reset the default ownership to root/wheel
- Plug regression tests into the release mechanism as mandatory
- Allow url in repository configuration to be overriden by another configuration
  file
- If one of -P, -I or -R is not explicitly given on the command line do not emit
  error messages while searching for a mechanism to find data about the latest
  available ports.
- External keywords can now take arguments
- Directories under PREFIX are automatically handled and removed if needed
- MTREE are not packaged anymore neither extracted on final installation
- OS major checking (to determine if pkg is running on an upgraded base system)
  uses the same mechanism as ABI detection instead of relying on UNAME_r which
  can have false positivie on jails
- Add @dir keyword for plist which is used to package explicitly directories
  (directories with non root/wheel or outside prefix) and empty directories
  (@dirrm and @dirrmtry are now considered as deprecated)
- root/wheel are now considered as the default user/group when creating a
  package except @owner/@group are used to change that behaviour
- Import newer version of libucl which improves error messages in case of
  problem parsing manifest or configuration files
- Fix pkg register so it checks for conflicts before actually copying files on
  to the filesystem
- pkg now support a new no_provide_lib annotation to preventing automatic
  populating of provided libs (useful for packages bundling libraries like wine)
- Improve documentations
- Ability to select usage of IPv4/IPv6 via config, repository config or command
  line
- Lots of bug fixes

Side effects:
- Convert to install-mtree target into a no-op target Add empty directories to
  plist of ports that needs them to run:
- share/aclocal to devel/automake and devel/automake14
- share/applications to devel/desktop-file-utils
- share/xml share/sgml to textproc/xmlcatmgr
- Prevent check-plist to issue warnings about some @dir*
- Adjist check_leftovers.sh to not take in account anything related to mtree
- Bump the default required version of pkg to 1.3.8
2014-09-22 05:47:32 +00:00
Bryan Drewery
508a1f5dc5 - Update to checkin 4555dff [now a git hash]
- Poudriere's home has moved to https://github.com/freebsd/poudriere/wiki

Changes:
  * Fix some error handling with the recent races fixes, which led to them
    still crashing.
  * Display some nicer errors in some cases rather then just exiting.
  * jail -m null: Fix /etc/login.conf.db being stale after deleting
    the jail.
  * Fix a possible case of dependency calculation errors being lost.
2014-09-19 14:36:51 +00:00
Baptiste Daroussin
dd340e8b53 Add a minimal version testing for the installed pkg to enforce people to go to the latest version
Set minimal version to 1.3.7 for now

Differential Revision:	D723
Reviewed by:	bdrewery
2014-09-18 13:05:50 +00:00
Mathieu Arnold
46cf4bcb84 Retire MANCOMPRESSED.
Also the compat NO_INSTALL_MANPAGES shim.

Differential Revision:	https://reviews.freebsd.org/D730
Reviewed by:	antoine
With hat:	portmgr
Sponsored by:	Absolight
2014-09-18 12:31:24 +00:00
Bryan Drewery
dc44d10de8 - Update to 3.0.19
Changes:
  * Fix improper call to 'msg_warn'. Bad backport from 3.1.

Reported by:	sunpoet
2014-09-17 15:51:37 +00:00
Bryan Drewery
119df4dd91 - Update to checkin d7e95d9102
Changes:
  * HTML: Fix NaN showing in a case
  * Fix handling of SIGPIPE for cleaning up.
  * Improvements to cleanup handling such that recursive errors will not
    stop the cleanup process.
  * HTML: Add an apache example
  * testport: Allow tee(1) more time to flush buffer before killing it off.
  * bulk: Remove the use of tee(1)
  * bulk: Fix several races leading to "stuck_in_queue" and "Unknown stuck
    queue bug".
  * jail -m src=: Also copy in the src tree now. .git and .svn are ignored.
  * bulk: Fix high CPU usage/spinning when the queue is waiting on the last
    jobs to finish.
  * Remove use of stripcolors pipe which used far too much CPU.
  * bulk: Fix a case where computing deps was not delaying errors until
    the end of deps calculation was intended.
2014-09-16 17:17:13 +00:00
Bryan Drewery
c94d6270d3 - Update to 3.0.18
Changes:
  * Add a check for 3.1 repository and reject the build. 3.0 does not know
    how to handle 3.1's repository format. Downgrading is not supported
    at this point.
  * Allow securelevel>=1 with USE_TMPFS=all
  * Add a warning that DEVELOPER=yes is ignored in lieu of bulk -t/testport
2014-09-16 17:07:11 +00:00
Baptiste Daroussin
627d890c90 Update to 1.4.0-alpha15
Changes:
- pkg register checks conflicts before installing the files
- do not provide any shlibs if the "no_provide_shlib" annotation is set
- fix invalid free() in keywords arguments parsing
- Add ability to select usage of IPv4/IPv6 via config, repository config or command line
- some documentation fixes and improvements
- If one of -P, -I or -R is not explicitly given on the command line, do
  not emit error messages while searching for a mechanism to find data
  about the latest available ports.
- Rework automatic directory deletion
2014-09-14 23:00:04 +00:00
Antoine Brodin
5fe6df46d8 Allow staging as a regular user 2014-09-13 15:30:13 +00:00
Gerald Pfeifer
15945f8122 Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.

Part II, Bump PORTREVISIONs.

PR:		192025
Tested by:	antoine (-exp runs)
Approved by:	portmgr (implicit)
2014-09-10 20:50:31 +00:00
Baptiste Daroussin
f4afd32cb9 Update to 1.4.0-pre-alpha14
Changes:
- New @dir keyword
- @dirrm/@dirrmtry will now expose a warning in DEVELOPER_MODE
- directories outside of PREFIX are now automatically handled
- Determine the running OS version from /bin/sh not uname so that
pkg doesn't think a jail running on a newer host is an OS upgrade
- Remove libyaml
- The plist now entirely default on owner root, group wheel
- Add more regressions tests
2014-09-10 14:07:50 +00:00
Antoine Brodin
0c1e2782cc Allow staging as a regular user 2014-09-08 19:05:58 +00:00