Commit graph

2747 commits

Author SHA1 Message Date
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
Bryan Drewery
d9e14a982a - Update to 3.0.16
- Move to using pkg-plist

Changes:

  This will likely be the last 3.0.x release. 3.1 is almost complete.

  * Leftovers checking has moved to Ports Mk/Scripts/check_leftovers.sh,
    which allows more consistency and easier maintenance without requiring
    a Poudriere release to make changes.
  * Staging Orphans has moved to Ports 'make check-plist' for the same
    reasons. See r351587 for more information on the new behavior.

  The new leftover/orphan code has new %%PLIST%% sub behavior and also
  fixes many false-positive orphans, leftovers, and @dirrm showing.

  * Fix many races in port cleanup/skip handling.
  * Fix crashed builder detection.
  * Hide pkg_install EOL warnings and disable WARNING/ERROR waits when
    testing
  * 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-10 14:27:15 +00:00
Baptiste Daroussin
56c0e361c4 Update to 1.3.0 beta1
Changes:
- pkg audit now accepts vuln.xml with multiple package names
- Prefer SONAME instead of filename for library provides
- Do not require dependencies that are self provided
- pkg upgrade can now have a name in argument to only upgrade a given package and its dependencies
- Lots of bug fixes
2014-05-07 13:29:45 +00:00
Romain Tartière
2dd0a1edeb Update to 1.0.10.
- Rework pkgng detection [1,2];
- Add support for source+ syntax [2];
- Modernize poudriere ports tree locations [2].

PR:		ports/177180 [1]
Submitted by:	Beeblebrox <zaphod@berentweb.com> [1], Creaky <whatexercise@gmail.com> [2]
2014-05-06 10:09:00 +00:00
Matthew Seaman
c1617bf425 Clean up the /var/db/portindex directory (if it is empty) on
deinstallation.

Submitted by:	swills (via jenkins.freebsd.org)
2014-05-05 20:13:39 +00:00
Baptiste Daroussin
4a4ec28d37 Convert all :U to :tu and :L to :tl
Since FreeBSD 8.4 and FreeBSD 9.1 make(1) do support :tu and :tl as a
replacement for :U and :L (which has been marked as deprecated)

bmake which is the default on FreeBSD 10+ only support by default
:tu/:tl a hack has been added at the time to support :U and :L to ease
migration. This hack is now not necessary anymore

Note that this makes the ports tree incompatible with make(1) from
FreeBSD 8.3 or earlier

With hat:	portmgr
2014-05-05 09:45:36 +00:00
Matthew Seaman
b196595973 Update to 3.4
Account for differences between bmake (FreeBSD 10.0 and above) and fmake

   - USES+=tar:xz
2014-05-04 13:23:03 +00:00
Rene Ladan
32e92194b7 Remove expired ports:
2014-04-30 x11-toolkits/gigi: Does not compile on 10 or higher
2014-04-30 net/asterisk-oh323: Depends on broken and unsupported asterisk14
2014-04-30 net/asterisk14: Broken and unsupported
2014-04-30 net/asterisk14-addons: Depends on broken and unsupported asterisk14
2014-04-30 ports-mgmt/pkg_install: Replaced by ports-mgmt/pkg
2014-05-01 x11-drivers/xf86-input-magictouch: Does not compile
2014-05-01 x11-drivers/xf86-video-cyrix: requires pciVideoPtr typedef
2014-05-01 x11-drivers/xf86-video-sis-intel: requires pciVideoPtr typedef
2014-05-01 net/py-spreadmodule: Depends on expired net/spread
2014-05-01 net/p5-Spread-Message: Depends on expired net/spread
2014-05-01 net/p5-POE-Component-Spread: Depends on expired net/spread
2014-05-01 net/p5-Spread-Session: Depends on expired net/spread
2014-05-01 sysutils/wmmemload: Broken
2014-05-01 lang/ml-pnet: Alpha-quality abandonware - Decommissioned Dec 2012 - Use mono
2014-05-01 lang/treecc: PNET dependency decommissioned Dec 2012
2014-05-01 lang/pnetlib: Alpha-quality abandonware - Decommissioned Dec 2012 - Use mono
2014-05-01 lang/pnet-base: Alpha-quality abandonware - Decommissioned Dec 2012 - Use mono
2014-05-01 benchmarks/pnetmark: PNET dependency decommissioned Dec 2012
2014-05-01 lang/pnet: Alpha-quality abandonware - Decommissioned Dec 2012 - Use mono
2014-05-01 x11-wm/stumpwm: Broken for more than 4 months
2014-05-01 sysutils/cpupowerd: Not maintained from upstream anymore and only supports ancient AMD K8.
2014-05-01 net/pchar: Obsolete, abandoned
2014-05-03 x11-fonts/texcm-ttf: Should be replaced by x11-fonts/stix-fonts
2014-05-04 10:51:02 +00:00
Vanilla I. Shu
b3b7323d8e 1: Upgrade jansson to 2.6.
2: bump revision due shared library version.
2014-05-01 01:31:06 +00:00
Baptiste Daroussin
cecd3824ae Update to 1.3.0 alpha10
Changes:
- Document pkg search -U
- Reduce memory usage when loading a package
- Validate package loading against a ucl schema
- Sandbox signature checking with capsicum
- Update man pages
- Be pedantically correct about units and scale factors
- Now uses sqlite full text search extension
- Allow case insensitive search
- Fix pkg add -f
- Lots of fixes in the solver
2014-04-30 13:21:06 +00:00
Frederic Culot
28478b7378 - Fix typo
With hat:	portmgr-lurker
2014-04-27 08:12:14 +00:00
Sunpoet Po-Chuan Hsieh
6a40386c93 - Update LICENSE
- Use USES=tar:xz

Submitted by:	sunpoet (myself)
Approved by:	Jason Bacon <jwbacon@tds.net> (maintainer)
2014-04-25 23:27:31 +00:00
David Naylor
a39d5573ba Update my ports to be compliant with new USES framework and fix other issues.
Changes:
 * various: migrate USE_BZIP2 to USES=tar:bzip2
 * various: migrate USE_XZ to USES=tar:xz
 * multimedia/py-ffmpeg: add and prefer github (GH) as master site
 * ports-mgmt/portbuilder: specify license as BSD2CLAUSE (instead of just BSD)

Most ports are updated infrequently so a single batch commit is preferred over
collating changes per port.
2014-04-24 20:11:01 +00:00
Johannes Jost Meixner
6a1615fc49 ports-mgmt/porttools: Upgrade to 1.02
- Upgrade to 1.02
- Use INSTALL_TARGET helper for DOCS option

Approved by: swills (mentor)
2014-04-24 04:15:46 +00:00