Commit graph

2760 commits

Author SHA1 Message Date
Shaun Amott
6acc56d7fb Add staging support. 2014-07-04 15:48:37 +00:00
Tijl Coosemans
a5185846f0 Bump PORTREVISION on all ports with USE_SQLITE=yes or USE_SQLITE=3 that
have not been bumped yet after the latest libsqlite3.so library version
change.

Approved by:	portmgr (implicit)
2014-07-04 09:40:59 +00:00
Antoine Brodin
046f632b9d Attempt to unbreak 2014-07-01 18:58:54 +00:00
Koop Mast
fd5cc8b21d Stagify.
Use USES=shared-mime-info for packagekit port.
2014-07-01 07:42:24 +00:00
Vsevolod Stakhov
5885a25654 Update to 1.3.0.b9
Changes:
- Quit pkg ssh if an error occurs while reading
- Fix critical issue with manifest fields (path->repopath) [1]
- Set reponame for local packages [1]
- Fix forced upgrade [1]
- Fix packages count in pkg-delete
- Allow override `enabled` state for repos
- Fix message if a pattern has not been found
- Move the pkg_keys[] array from private/pkg.h to pkg.c to reduce duplication [1]
- Add package validation function
- Fix local packages installation
- Validate pkg when changing its uid
- Rework solver initial guessing
- Fix multirepos documentation
- Fix issue with repository metafile updating
- Fix issue with unnecessary fingerprints check
- Fix meta loading

Submitted by:	des [1]
With hat:	pkg@
2014-06-30 13:52:33 +00:00
Martin Wilke
bd48d39657 - Chase database/sqlite3 slib bump
Approved by:	portmgr (myself)
2014-06-27 17:21:06 +00:00
Bryan Drewery
a3a0e37d74 - Update to checkin 6d00750ddc
Changes:
  * HTML: Fix printing of "Remaining" on the jail page
  * Build reason: Change "missing LDFLAGS" to "missing_LDFLAGS" to have a one
    word reason
  * Update example nginx config for 1.6: nginx 1.6 now includes
    application/json in default mime.times
  * Add USE_PROCFS and USE_FDESCFS to allow disabling requirement on them
2014-06-27 03:30:50 +00:00
Vsevolod Stakhov
5e1f0868b9 Update to 1.3.0.b8.
Changes:
- Fix pkg-backup display issues
- Fix UID changing when looking for upgrade candidates
- Rework integritycheck procedure to use uids
- Improve searching of local and remote packages
- Lazy load of files and dirs for remote packages
- Fix upgrades with UID changed
- Fix actions count in jobs progress display
- Fix serious bug in pkg-repo by moving to socketpairs from pipes
- Detect SOCK_SEQPACKET support and fallback to SOCK_DGRAM (for 8.x)

With hat:	pkg@
2014-06-26 13:30:24 +00:00
Baptiste Daroussin
a33191366c Convert GMAKE to MAKE_CMD
Please note that lots of invocation of MAKE_CMD here are wrong as they do not
properly respect MAKE_ENV and friends

With hat:	portmgr
2014-06-25 05:35:31 +00:00
Vanilla I. Shu
d5dd9713b5 Stagify.
Approved by:	portmgr@ (blanket approval)
2014-06-24 15:42:43 +00:00
Jason E. Hale
62eae3dbd3 - Support staging
- Simplify MASTER_SITES
- Remove indefinite article from COMMENT
- USES_BZIP2 -> USE=tar:bzip2

Approved by:	portmgr (blanket approval)
2014-06-24 03:56:37 +00:00
Jason E. Hale
7ae5daeb11 - Support staging
Approved by:	portmgr (blanket approval)
2014-06-24 03:28:04 +00:00
Antoine Brodin
c32d17775a gnome-packagekit builds fine in ports/head
With hat:	portmgr
2014-06-23 19:42:55 +00:00
Vsevolod Stakhov
2ecafe66a4 Update to 1.3.0.b7
Changes:
- Save repo type in the annotation.
- Fix packages fetching for reinstallation
- Convert pkg repo from threads to processes (no more pthread dependency)
- Add progress indicators to repo create
- Implement new repo style:
	* Add metafile
	* Use data from that metafile
	* Use advanced manifest digests format
	* Implement legacy repos creation
- Fix symlinks checksums (reported by misha @ #pkgng)
- Fix pkg backup -r messages
- Now pkg is able to delete multiple versions of the same package (e.g. when some packages are
 merged into one another)
- Fix repo schema upgrade
- Do not try to re-fetch broken packages infinitely
- Fix couple minor bugs and crashes

With hat:	pkg@
2014-06-23 13:56:49 +00:00
Dmitry Marakasov
275c65d7c3 - Switch devel/jansson to libtool, drop .la files
- Bump dependent ports as .so version has changed

Approved by:	portmgr blanket
2014-06-23 13:20:54 +00:00
Dmitry Marakasov
b856ae2798 - Remove redundant pkg-message display
Approved by:	portmgr blanket
2014-06-23 12:54:24 +00:00
Baptiste Daroussin
1014aaf8b0 Mark as broken: it is failing for a while
With hat:	portmgr
2014-06-22 22:31:36 +00:00
Joe Marcus Clarke
b999e16732 Update to 2.15.2.
* Add s3.amazonaws.com to the list of whitelist master sites. [1]
* Correct a typo. [2]
* Add support for the @sample directive. [3]
* Check for USE_AUTOTOOLS=libtool and suggest USES=libtool instead.

PR:		183864 [3]
Submitted by:	skreuzer [1]
		culot [2]
2014-06-21 19:24:50 +00:00
Vsevolod Stakhov
c2ff371b35 Update to 1.3.0 beta6.
Changes:
- fixed pkg-delete bug
- fixed issues with progress displaying

With hat:	pkg@
2014-06-20 08:47:53 +00:00
Bryan Drewery
cdbd7f5388 - Update to checkin 81baf7e90d
Changes:
  * Fix bulk -f handling of relative file
2014-06-19 23:07:17 +00:00
John Marino
cb4839820c ports-mgmt/pkg-devel: Chase relocation of pkg.8 man page
The pkg.8 manpage is edited by an extra patch on DragonFly due to
differences in jail operation.  The patch no longer applies both due
to file relocation and regular bitrot.  Regenerate the patch and
change its name to reflect the new file location.  This is a no-op
on all releases of FreeBSD.

Approved by:	just-fix-it blanket
2014-06-19 20:51:52 +00:00
Bryan Drewery
2599040fab - Update to checkin df5632bbea
Changes:
  * bulk: Always clean restricted packages when done building if NO_RESTRICTED
    is set
  * bulk: Don't rebuild unneeded deps which were not specified on the cmdline.
    NOTE: This means that partial builds will not create a consistent repo of
          other existing packages. I.e., running bulk PORT1 PORT2 and then
          running bulk PORT1 will make it only create a consistent repo
          for PORT1. Always build with the ports you expect to be there.
  * Fix 'msg_error' not defined errors.
  * pkgclean/distclean: Consider hardlinks for size calculation
  * distclean:
    - Fix some false-positives
    - Support multiple -p options
    - Parallelization improvements
  * HTML:
    - Fix skipped column sorting
    - Pkg/Hour: Don't show 'Infinity' for older builds
    - More column width tweaks to fix word breaking
    - Fix skipped filter
  * jail:
    - Better support for native builds on powerpc and other archs,
      -a now accepts TARGET.TARGET_ARCH or TARGET_ARCH.
    - Add several new methods (see poudriere.8). Note that some
      of these may change a lot before release.
      * Null import an existing jail: -m null -M path
      * Install from existing src/obj dir: -m src=PATH
      * Install from tarball: -m tar=PATH
    - Always run -u after -c to get latest freebsd-updates
    - Fix -r and give hints on next steps
    - Try to modify the jail on creation less and do it during build
      startup instead.
  * Updates to log processing to offset common "cluster" reason
  * Better QEMU support
  * Better deadlock detection analysis
  * testport: Add -w to save workdir just as bulk has
  * Remove TRACK_BUILDTIMES
  * Sign the pkg.txz for pkg(7) when using SIGNING_COMMAND
  * portsnap interactive support
  * Try to handle long mount points better with MNAMELEN limit of 88
    by shortening many internal paths and hashing the mastername when
    required.
  * Support poudriere.d/[jail-][ptname-][setname-]poudriere.conf (this support
    is a bit unreliable still)
  * status: Add -r to show results of a build
  * Remove DURATION_FORMAT and always show HH:MM:SS to avoid wrapping at
    24 hours back to 00.
  * Improvements to internal timestamp utility
  * Fixes for update_stats lock crashes
  * Fixes for 'make clean' crashes which typically crashes a builder
  * Avoid restarting jail on build start to help with lock contention
2014-06-19 15:04:31 +00:00
Vsevolod Stakhov
9b7cae180b Update to 1.3.0 beta5
Changes:
- repositories system has been reworked to support opaque repository operations
- progress bar has been reworked and simplified
- pkg backups generated by the distributed script are now plain sql files
- fixed some visual issues while installing packages

With hat:	pkg@
2014-06-19 13:18:42 +00:00
Bryan Drewery
7b879fa85a - Update to 3.17.6
Changes:
  * Speedup --list-origins with pkg
  * Use proper /usr/local/etc/portmaster.rc path in portmaster.8
  * Fix running from deleted dirs.
  * Fix losing control of building run-depends of staged ports
    (thus breaking -g and counts). [1]

PR:		189398 [1]
2014-06-19 00:36:18 +00:00
Stephen Hurd
4e5b54a3ec Update my ports to use my shurd@FreeBSD.org account
Approved by:    db, skreuzer (mentors)
2014-06-18 20:18:11 +00:00
Vsevolod Stakhov
cf38f40174 Update to 1.3.0.b4.
With hat:	pkg@
2014-06-15 15:10:11 +00:00
Vsevolod Stakhov
e6c4b05d8b Change the maintainer of the development version of pkg to pkg@ instead of portmgr@
Approved by:	portmgr (bapt, bdrewery)
With hat:	pkg
2014-06-14 12:33:31 +00:00
Bryan Drewery
600d8ff67a Fix regex, which fixes portmaster/portupgrade integration
Reported by:	kwm
2014-06-12 20:15:10 +00:00
Chris Rees
3d27e21889 Respect WITH_SUBVERSION_VER
PR:		ports/190946
Submitted by:	ohauer
Submitted by:	Simon Wright
2014-06-11 21:00:24 +00:00
Bryan Drewery
913fc3d387 Fix loading of reverse dependencies 2014-06-11 19:41:23 +00:00
Baptiste Daroussin
6c35651f27 Update to 1.3.0 beta3
Changes:
- Now unicity is made on the typle (origin, name) to allow sub packages but cannot be made to only name to break installation from prior sanitization of the names
- Fix pkg stat
- Fix speed regression
- 411.pkg-backup does not hide errors anymore
- Improve documentation
- debug now print stacktrace on freebsd 10+
- globalize common variables
- new option to allow profiling sql queries
- fix flatsize calculation
- improve ui (better output)
- add a new shiny progress bar and start using it everywhere
- create a pkg_checksum api
- fix pkg rquery -I
- rework package digest
- allow to use ldns instead of the FreeBSD dns api if needed
- change the upgrade package path: first rename a file then extract the new file then unlink the renamed one
- add a version script to avoid exposing external third party library symbols
- fix pkg upgrade (it was changing the automatic flags when it shouldn't)
2014-06-11 16:01:34 +00:00
Baptiste Daroussin
119d718d67 Add a version script to only public expose public function in libpkg
PR:		190742
Submitted by:	feld
With help from:	jilles
2014-06-11 15:04:35 +00:00
Stefan Walter
eea07d0858 Properly include bsd.port.pre.mk before checking for WITH_PKGNG, so that
explicitly setting the latter on FreeBSD 10 is not required.

PR:		182923
Submitted by:	dt71@gmx.com
2014-06-07 18:46:59 +00:00
Jonathan Chu
4bb37acce5 Update ports-mgmt/portupdate-scan to 0.4
- Add support for pkgng.
- ISCL License
- Incorporates -a argument suggested by Marcel Bonnet in PR 179637. Hence this supersedes PR 179637, which can now be closed.
- Other misc. fixes and enhancements, including correcting typos.

PR:		190051
Submitted by:	alex@stangl.us
Approved by:	swills (eadler)
2014-06-04 15:42:35 +00:00
Sean Bruno
2149902e8d Add option to pull in emulators/qemu-static-user to assist in x-compiling
for non-x86 architectures.

Reviewed by:	bdrewery
2014-06-03 14:03:21 +00:00
Alex Kozlov
0cc4bd9c2f - Update to 1.16 2014-05-31 14:59:03 +00:00
Bryan Drewery
9acf7ecf00 - Fix build with upcoming default -fPIE in head
pkg 1.3 deals with this better.
2014-05-30 15:30:32 +00:00
Antoine Brodin
7e36c656f6 Fix packaging on head, .MAKE.FreeBSD_UL has been retired from bmake
With hat:	portmgr
2014-05-29 06:24:08 +00:00
Bryan Drewery
689709f06d - Fix building as user 2014-05-25 23:35:46 +00:00
Bryan Drewery
d66d215cad - Blacklist ruby-bdb with Ruby 2.1 [1]
- Stop installing script(1) wrapper [2]
- Fix ZSH dir leftover (somewhat a false-positive) [3]

PR:		ports/188084 [1]
Submitted by:	Christoph Moench-Tegeder <cmt@burggraben.net> [1]
Submitted by:	sunpoet [2]
Reported by:	swills [3]
2014-05-25 16:24:26 +00:00
Bryan Drewery
01186891de - Update to checkin 352086b
Changes:
  * Use random temporary file for building index
2014-05-24 19:09:22 +00:00
Bryan Drewery
a8b719b6ab - Update to 3.17.5
Changes:
  * Fix some issues with killing child processes
  * Use builtin kill(1)
2014-05-24 19:04:30 +00:00
Baptiste Daroussin
7d6a250fe2 Update to pkg 1.3.0 beta2
Changes:
- more fixes in pkg audit
- move audit functions into the library
- pkg lock -l now list the locked packages
- database lock behaviour is now configurable
- symlinks now has a checksum to ensure they are valid
- more fixes on the solver
- add long version of the options
2014-05-22 10:11:10 +00:00
Alex Kozlov
5d6a8e4ab8 - Add/update license when possible
- Modernize ports Makefiles
- Update MASTER_SITES/distfile for converters/chmview
2014-05-20 06:06:35 +00:00
Bryan Drewery
c2ae3b2328 - Update to checkin 33c926770a
Changes:
  * Fix bulk -a
2014-05-18 01:10:14 +00:00
Bryan Drewery
45993cbf50 - Update to checkin 3a2569440b
- Fix build on 9.1 which does not have F_DUPFD_CLOEXEC

Changes:
  * status/jail -l: Fix sort(1) error on <10
  * Fix crash with SIGINFO done too early in build
  * Prevent appending the same make.conf multiple times
  * Fix (-s) showing in sanity when pkg is missing
  * Fix jail -u
  * jail -u: Name the jail with -default so it can be stopped
             with jail -k.
  * Add ALLOW_MAKE_JOBS_PACKAGES which lets the named package globs
    to always run with MAKE_JOBS regardless of ALLOW_MAKE_JOBS. Default
    is set to allow 'pkg' and 'ccache' to build with MAKE_JOBS as they
    typically holdup the rest of the build.
  * No longer run 'make clean' before building a port as it is not needed
    due to always using a WRKDIRPREFIX
  * Fix -a to work with bad-styled category Makefiles
  * sem(4) is only needed on <9
2014-05-17 15:48:50 +00:00
Dirk Meyer
93f17d52c0 - update to 1.77
added support for pkg *
2014-05-16 09:25:23 +00:00
Tijl Coosemans
1f8935d509 Convert x11-toolkits/unique to "USES=libtool pathfix tar:bzip2".
Bump PORTREVISION on all dependent ports. [1]

audio/ario: USES=libtool.
audio/gmpc: USES=libtool.
audio/gnome-media: USES=libtool:keepla tar:bzip2.
audio/xfce4-mixer: USES=libtool tar:bzip2.
graphics/shotwell: Unbreak and USES=tar:xz.
science/gwyddion: USES=libtool tar:bzip2.
sysutils/mate-control-center: USES=libtool.
x11/xfce4-clipman-plugin: USES=libtool tar:bzip2.

Approved by:	portmgr (implicit) [1]
2014-05-13 11:54:53 +00:00
Ryan Steinmetz
6a34a8319b - Remove ports-mgmt/pver as it does not support pkgng 2014-05-11 18:53:23 +00:00
Bryan Drewery
abf8087a19 - Update to checkin f86a423218
Changes:
    * Reduce jail restarting for networking access by now always starting
      2 jails. One with networking support and one without. This allows
      not constantly restarting jails to enable/disable networking, which
      causes a lot of jail lock contention.
    * Color support has been added. This is disabled by any of:
      1. poudriere -N <sub-command>
      2. stdout or stderr NOT in a TTY (piped)
      3. USE_COLORS=no in poudriere.conf
    * Add DURATION_FORMAT and BUILDTIME_FORMAT to allow changing time
      display and default build name.
    * madvise(MADV_PROTECT) the main poudriere process to allow it to cleanup
      on failure from out-of-swap.
    * Running commands as non-root will *auto queue* them to poudriered
      if it is running. See rc.d/poudriered.
    * HTML/Web major changes:
      - Stop polling the server once the build is done.
      - There is now a top-level and jail-level page. The top-level only
        shows the *latest* build for each jail-ports-set combination.
        The jail-level only shows for a specific jail-ports-set combination.
        These pages will only be updated with builds done after upgrading.
        This may change before 3.1 release using a statsd to populate with
        all historical builds as well.
      - The main build page has been majorly reworked.
        * It no longer has 2 columns which overlap each other when zoomed in.
          The site is now much more responsive to zooming and mobile viewing.
        * More links to logs and elapsed times are shown
        * More system and build stats are shown such as "Impulse" which is
          the rate of package building over the last 2-10 minutes. This is
          done in browser/js currently so will reset when reloading the page.
      - The layout for httpd setup has changed. Now instead of duplicating
        the html/assets into every build dir, the html dir from
        /usr/local/share/poudriere/html/ should be served directly
        and the /data dir should be symlinked or aliased to the equivalent
        /usr/local/poudriere/data/logs/bulk/ dir on your system. See
        /usr/local/share/examples/poudriere/nginx.conf.sample for an
        example nginx setup.
     ** Note that this is still being improved for 3.1 and may undergo some
        backwards-incompatible changes before release.
    * status: Major changes.
      - By default only show running builds
      - Use -a to show all builds, not just latest
      - Use -f to show finished builds, only latest
      - Add -c for a more compact format
      - Displaying the SIGINFO/builder output now requires -b.
      - -B/-j/-p/-z can be used to filter the output.
    * Show buildtimes in output now.
    * TIMESTAMP_LOGS has been improved
    * poudriered is no longer installed in sbin/
    * Fix MAX_MEMORY so it actually works. Note that this may break openjdk
      building.
    * Fix incorrect timeout message shown during install phase
    * jail -l, ports -l, status: Auto format width of columns to output
    * jail: Add back -i support to show information about a jail
    * Improvements to fork less often
    * testport: Now default to -n. Add -P to test with custom prefix.
    * testport -I: Fix longstanding bug of displaying wrong jail -k hint.
    * qemu-mips support
    * ports: Allow -B with git method
    * All the fixes from the 3.0.16 release as well:
      * Disable DEVELOPER from make.conf; Poudriere will automatically
        set it when appropriate. This prevents testing of port dependencies
        that were not requested to be tested.
      * distclean: Prevent removing all files by accident.
      * Having PKG_REPO_SIGNING_KEY set but the file missing is now fatal.
      * kern.securelevel >=1 is now fatal.
      * Fix 'kill: No such process' warnings with older /bin/sh (8.x)
      * Fix crash on 8.3 due to bug with $(()) handling of _vars (fixed in
        base r234001)
      * Fix case of packages always rebuilding with "changed options" when
        the port has an OPTION defined multiple times (such as fixed in
        ports r352512)
      * Fix 'Terminated' warning showing at shutdown with older /bin/sh (fixed
        by r218105 but never made it to stable/8)
2014-05-11 18:03:34 +00:00