notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

non port: Mk/bsd.pkgng.mk

Number of commits found: 67

Monday, 1 Sep 2014
13:03 bapt search for other commits by this committer
Remove support for pkg_install
Merge back bsd.pkgng.mk into bsd.port.mk
Add a note about @stopdaemon not being supported anymore

With hat:	portmgr
Differential Revision:	https://reviews.freebsd.org/D693
Original commitRevision:366875 
05:43 bapt search for other commits by this committer
Remove support for NO_STAGE
Mark all current non staged ports as BROKEN

Reviewed by:	antoine
Exp-run:	antoine
Differential Revision:	https://reviews.freebsd.org/D693
Original commitRevision:366839 
Thursday, 21 Aug 2014
18:30 bdrewery search for other commits by this committer
- Make 'clean-restricted' tell that it is deleting the package.
  Don't show this verbose output when calling delete-package on
  failures from do-package though.

With hat:	portmgr
Original commitRevision:365576 
Friday, 8 Aug 2014
21:01 antoine search for other commits by this committer
Allow installing ports with the same origin but a different pkgname

Phabric:	D565
Reviewed by:	bapt
With hat:	portmgr
Original commitRevision:364383 
Thursday, 31 Jul 2014
23:00 antoine search for other commits by this committer
Honor PKG_SUFX with pkgng

PR:		ports/191529
With hat:	portmgr
Original commitRevision:363682 
22:44 bapt search for other commits by this committer
Simplify manifest generation and make it ucl compliant so pkg(8) does not have
to fall back on the libyaml parser
Original commitRevision:363681 
Thursday, 24 Jul 2014
17:01 bapt search for other commits by this committer
Activate NO_ARCH support
Original commitRevision:362832 
Wednesday, 18 Jun 2014
12:22 bapt search for other commits by this committer
tabspace: 8
Original commitRevision:358259 
Saturday, 17 May 2014
03:25 des search for other commits by this committer
Fix quoting: make is too smart and quotes tildes, which trips up pkg.

Approved by:	portmgr (bapt)
Original commitRevision:354278 
02:43 des search for other commits by this committer
Add support for package annotations.  PKG_NOTES is a list of
annotation keys.  For each key "foo", there should be a variable
PKG_NOTE_foo which contains the corresponding value.

Approved by:	portmgr (bdrewery)
Original commitRevision:354276 
Friday, 16 May 2014
21:14 bapt search for other commits by this committer
Remove useless .undef opt
Fix indentation

Reported by:	des
Original commitRevision:354264 
Tuesday, 15 Apr 2014
13:04 bapt search for other commits by this committer
Revert bdrewery will work on this later
Original commitRevision:351327 
12:49 bapt search for other commits by this committer
Register deprecation and expiration in packages
Original commitRevision:351326 
Saturday, 12 Apr 2014
22:29 bapt search for other commits by this committer
Add PKG_ENV to pkg register command
Original commitRevision:351154 
Thursday, 3 Apr 2014
13:35 bapt search for other commits by this committer
Add PKG_ENV to allow specifying the file to read the ABI from in case of cross
building
Add STRIPBIN set the the cross building version of strip in MAKE_ENV so
install(1) use
the proper one in case of cross building
Original commitRevision:350010 
Wednesday, 26 Mar 2014
08:34 antoine search for other commits by this committer
Add ocamlfind to _FORCE_POST_PATTERNS
This will silence warnings from pkg about files already removed by "ocamlfind
remove" during "pkg remove".
Note: I am not convinced that running "ocamlfind remove" during uninstall is
necessary as all files are tracked.
Original commitRevision:349235 
Sunday, 23 Mar 2014
15:34 bdrewery search for other commits by this committer
- Create package in WRKDIR/pkg/ instead of WORKDIR/ to avoid pkg-create bug
  not creating the PKGNAME.PKG_SUFX if PKGNAME already exists.

  Fixes regression packaging some from r348861

With hat:	portmgr
Original commitRevision:348865 
15:22 bdrewery search for other commits by this committer
- Only create ports-mgmt/pkg latest link if can write to PACKAGES

With hat:	portmgr
Original commitRevision:348862 
15:21 bdrewery search for other commits by this committer
- pkgng: Create package in WRKDIR and then try to link it to the PACKAGES dir.
  If that fails, copy it. This fixes packaging as non-root when not able to
  write to the PACKAGES dir which causes the following warning:
      pkg-static:
archive_write_open_filename(/usr/ports/packages/All/myport-1.2.3.txz): Bad file
descriptor

  We do the same thing for pkg_install already.

With hat:	portmgr
Original commitRevision:348861 
Wednesday, 5 Mar 2014
13:53 bdrewery search for other commits by this committer
- Remove redundant WITH_PKGNG checks. bsd.pkgng.mk is only included if
  it is defined.

With hat:	portmgr
Discussed with:	bapt
Original commitRevision:347113 
Wednesday, 12 Feb 2014
21:35 antoine search for other commits by this committer
Add ccache-update-links to _FORCE_POST_PATTERNS to run it after gcc has
been uninstalled

With hat:	portmgr
Original commitRevision:344019 
Friday, 17 Jan 2014
17:22 antoine search for other commits by this committer
Handle _FORCE_POST_PATTERNS for staged ports

PR:		ports/185369
Reviewed by:	bapt
With hat:	portmgr
Original commitRevision:340084 
Friday, 10 Jan 2014
13:07 bapt search for other commits by this committer
Backout encoding of comments, it is triggering a pkgng bug with one of our ports
Original commitRevision:339348 
Monday, 6 Jan 2014
23:34 bapt search for other commits by this committer
pkgng expect all non ascii code and '%' to be urlencoded in the comment

Reported by:	antoine
Tested by:	antoine
Original commitRevision:338956 
Friday, 3 Jan 2014
23:05 bapt search for other commits by this committer
Remove more now useless fallback targets
Original commitRevision:338592 
Friday, 20 Dec 2013
23:05 bapt search for other commits by this committer
Stop registering recursively dependencies into package with pkgng

pkg has a naive solver but good enough to properly order the dependencies
and not get into a missed dependency
pkg register is also able to figure out by itself lib_depends magically
added during the compilation.
Original commitRevision:337100 
Tuesday, 10 Dec 2013
19:05 bapt search for other commits by this committer
Disable NO_ARCH for now as it prevent from upgrading from pkg 1.1 to pkg 1.2
(pkg 1.1 will not understand it and claim there invalid ABIs)
Let's wait a bit before activating it.

Reported by:	mat
Original commitRevision:336083 
Friday, 6 Dec 2013
09:14 ak search for other commits by this committer
- Use NO_ARCH instead of NOARCH for consistency with other NO_ knobs

Suggested by:	Eugene Stenkin <eugeni.stenkin@gmail.com>
Approved by:	portmgr (bapt)
Original commitRevision:335727 
08:20 ak search for other commits by this committer
- Implement support for architecture-neutral ports
- Replace 'alpha' with 'amd64'
- Remove gratuitous whitespaces at the end of the line

Approved by:	portmgr (bapt)
Original commitRevision:335725 
Monday, 25 Nov 2013
22:49 rakuco search for other commits by this committer
Fix typo (PKGPOSRDEINSTALL -> PKGPOSTDEINSTALL).

Approved by:	portmgr (bapt)
Original commitRevision:334905 
Wednesday, 30 Oct 2013
22:13 bdrewery search for other commits by this committer
Fix copying +INSTALL after r332158

Reported by:	antoine
With hat:	portmgr
Original commitRevision:332184 
17:47 bapt search for other commits by this committer
Staging showed that user/groups creation from plist are done in
post-install process instead of pre-install. in case pkgng is in
use.
Replace it by a new mecanism that allows to append scripts into
what will become pre-install, post-install, pre-deinstall or
post-deinstall
Change the user-group creation to use that mecanism in case the
ports tree is using pkgng.

Reported by:	mandree
Reviewed by:	bdrewery
Original commitRevision:332158 
Wednesday, 16 Oct 2013
00:38 bdrewery search for other commits by this committer
- Properly reference pkg(8) for conflcts instead of pkg_delete(1)

Reported by:	Julian H. Stacey, gjb
With hat:	portmgr
Original commitRevision:330466 
Friday, 27 Sep 2013
19:11 amdmi3 search for other commits by this committer
- Fix message displayed when the port being installed is already installed

Approved by:	portmgr (bdrewery via irc)
Original commitRevision:328508 
Monday, 23 Sep 2013
05:56 bapt search for other commits by this committer
Add support for staging area in the ports tree

The ports tree is now staged by default. With pkgng the sequence hasn't
changed, the main difference is that creating package is now independent
from installing it. With pkg_install, the package is now created first
and make install, do install the package.

New macros:
- STAGEDIR: PATH to the directory where the port will be staged.
- NO_STAGE: Keep the old behaviour of the ports tree (aka no staging area)

Unsupported macro if NO_STAGE is not set:
- MAN* with staging man page compression and handling of hardlinks and
symlinks is automatically done in the stage. the manpages becomes then a
"normal" plist files and should be tracked in pkg-plist.
- MANCOMPRESSED the compress-man target is able to only compress when it
needed.

New target:
- stage: this installs everything into the stage directory
- makeplist: this will create a pkg-plist and print it to stdout. This is
a sample plist and it should always be _reviewed_ not directly used.

NOTE: with staging only what is in the plist will be installed, nothing more,
meaning a port staged cannot have leftovers exect directories left. It is
really important to double check the pkg-plist to make sure all the files
the maintainer want to package are in! make makeplist can help in that area.

The goal is to handle as quickly as possible a full removal of the NO_STAGE
support.

More features can be added once the full ports tree is converted to using the
staging area

Conversion notes:
- Remove NO_STAGE
- in {pre,do,post}-install
  * Before any usage of ${PREFIX}, ${ETCDIR}, ${PORTSDIR}, ${PORTEXAMPLES}
    prepend ${STAGEDIR}
  * Remove any thing that is done by @exec or +INSTALL script it will be
    done automatically when syncing packages
  * Remove any code to show PKG-MESSAGE it will be done automatically when
    syncing packages
  * Directory creation should remain in post-install (in particular because
    pkgng doesn't work like pkg_install in that area and pkgng ignores the
    @exec mkdir but directly pack the directory even if empty)
- PORTDOCS/PORTEXAMPELS
  To support PORTDOCS, PORTEXAMPLES most of the time there is no more need
  for hacks. just add the right %%PORTDOCS%% or %%PORTEXAMPLES%% in your
  plist then the given files from the stagedir will or will not sync
  according to NOPORTDOCS and NOPORTEXAMPLES.

With hat:	portmgr
Reviewed by:	bdrewery
Original commitRevision:327910 
Friday, 5 Jul 2013
12:29 bdrewery search for other commits by this committer
- Fix pkg2ng due to UID/ID not being defined.
  Pkg-1.1.4 will define UID=0 when sourcing bsd.pkgng.mk directly.
  This extra defined(UID) can eventually be removed, but is needed
  for backwards compatibility for now.

Reported by:	uqs
Reviewed by:	bapt
With hat:	portmgr
Original commitRevision:322320 
Wednesday, 3 Jul 2013
16:00 bapt search for other commits by this committer
Better attempt to comment r322214 and fix typos.
Base on suggestions and typo fixes by: pluknet@ and sunpoet@
Original commitRevision:322235 
05:48 bapt search for other commits by this committer
pkg2ng is calling directly bsd.pkgng.mk if present which will fail because of
the lack of UID.
Define it if not already defined earlier

Submitted by:	Yar Tikhiy <yar.tikhiy@gmail.com>
Original commitRevision:322214 
Tuesday, 25 Jun 2013
12:24 bapt search for other commits by this committer
Define UID earlier so that it can be used inside bsd.pkng.mk
Allow make deinstall to prompt for su if run as a user if using pkgng

Reported by:	jhb, dim
Submitted by:	jhb
Original commitRevision:321737 
Monday, 17 Jun 2013
16:18 antoine search for other commits by this committer
- Add gtk-query-immodules to _FORCE_POST_PATTERNS to run it post-deinstall
with pkg
- Consistently use full path when running gtk-query-immodules as the path
is embedded in output (we prefer reproducible output)

This fixes leftovers reported by poudriere
====>> Files or directories modified:
etc/gtk-2.0/gtk.immodules

PR:		ports/179230
Approved by:	portmgr (bapt)
Original commitRevision:321140 
Saturday, 15 Jun 2013
09:10 antoine search for other commits by this committer
Add load-octave-pkg to _FORCE_POST_PATTERNS.
This fixes leftovers of octave-forge-* with pkg

PR:		ports/179559
Approved by:	portmgr (bapt)
Original commitRevision:320980 
Friday, 14 Jun 2013
06:56 bapt search for other commits by this committer
Yes more simplification in showconfig, pretty-print-config and pkgng manifest
generation
Original commitRevision:320886 
Monday, 10 Jun 2013
14:38 bapt search for other commits by this committer
Avoid corrupting the manifest when bmake is run with -dl arguments

Reported and tested by:	vsevolod
Original commitRevision:320483 
13:47 bapt search for other commits by this committer
Simplify the creation of the options part of the pkgng manifest
Original commitRevision:320475 
Thursday, 30 May 2013
15:17 bapt search for other commits by this committer
The pkg developement team is proud to announce the new 1.1.0 beta1 release of
pkg.

Here is the list of new features that happened in pkg 1.1:
- new simpler and more reliable solver
- shared libraries are now always tracked
- ssh:// is supported as a protocol to distribute packages (needs pkg 1.1+ on
  the server hosting the packages)
- multirepository is no longer considered experimental and works by default.
- incremental update of the catalog (only if the repository was created by pkg
  1.1+)
- simplification of the public API
- stabilisation of the public API (we will now try to keep it stable and if
  change are needed there will be deprecation time before removal of some old
  functions)
- new experimental pkg convert (can convert from and to legacy pkg database)
  pkg2ng now uses pkg convert (still recommanded to use pkg2ng)
- new pkg lock/unlock to prevent any manipulation of a given package (no
  upgrade,delete,etc)
- improved UI (now you can see the progress of an upgrade what is left to be
  done)
- new pkg annotation to allow one to add annotations (free form key/value) to a
  package)
- pkg audit is now able to directly parse the vuxml native format and not only
  the compact version
- pkg -vv now shows all available options and their current settings
- pkg -vvv now shows a description of all the available options
- pkg info now automatically considers the query as globbing if * is in the
  requested pattern
- new hook plugin interface (allows users to create hooks that get called at
  anytime during and upgrade/installation/deletion of a package)
- new cmd plugin interface (allows users to create new sub command available for
  pkg)
- pkg register can now register a port installation in the legacy database
  format
- repository can be defined in simple yaml files

Internal:
- massive usage of hash tables (uthash), which simplifies a lot of the code,
  and improves performances
- lots of optimisation in plist and manifest parsing
- lots of optimisation in loading packages (mmap used when possible)
- lots of cleanup in memory usage
- regression test framework is now ready (using atf) regression test are slowly
  being added and populated.

To use this new version:
  Ports users (or in building factories: poudriere/tinderbox):
    Add WITH_PKGNG=devel to your make.conf
    pkg set -o ports-mgmt/pkg:ports-mgmt/pkg-devel

  Binary package users, if the remote repository is providing pkg 1.1:
    pkg set -o ports-mgmt/pkg:ports-mgmt/pkg-devel
    pkg upgrade

Note that pkg 1.1 can use a repository created for pkg 1.0 and vis versa.

Huge thanks to all the people that have contributed to the pkg developement:
- may that be by code
- documentation
- bug report
- feedback
- ideas

List of people who contributed code:
Baptiste Daroussin, Matthew Seaman, Bryan Drewery, Vsevolod Stakhov,
Marin Atanasov Nikolov, Alexandre Perrin, Romain TartiA"re, Julien Laffaye,
Glen Barber, John Marino, Alex Kozlov, Roman Naumann, Sofian Brabez,
Alberto Villa, Will Andrews, Eitan Adler, Dan McGregor, namor, niamtokik,
Arthur Gautier, Garrett Cooper, Andrew Turner, Jeremy Chadwick,
Hajimu UMEMOTO, Mark Lokowich, Eygene Ryabinkin, Pietro Cerutti,
Rolf Grossmann, Ed Schouten, Dimitry Andric, David Forsythe, Stefan Grundmann,
Craig Rodrigues, Antoine Brodin, Andrey Zonov, Joel Dahl

Stats between 1.0 and 1.1:
287 files changed, 63418 insertions(+), 18763 deletions(-)

1198 commits
Original commitRevision:319432 
Friday, 24 May 2013
11:51 bdrewery search for other commits by this committer
- Run ldconfig in post-deinstall for pkgng.
  This was a pkg-1.0.9 regression. The impact of this is
  that some ld cache files would show as leftovers.

PR:		ports/178837
Submitted by:	Antoine Brodin <antoine@FreeBSD.org>
Tested by:	miwi, bdrewery
With hat:	portmgr
Original commitRevision:318960 
Friday, 26 Apr 2013
20:19 bapt search for other commits by this committer
Do not be verbose while removing old now unused symlinks

Reported by:	sunpoet
Original commitRevision:316634 
Monday, 22 Apr 2013
22:13 bapt search for other commits by this committer
Remove old links while creating the new packages
Force creation of the symlink for pkgng to avoid failure if the link already
exists

Submitted by:	ohauer@
Original commitRevision:316281 
15:51 bapt search for other commits by this committer
LATEST_LINK makes no sense with pkgng

Remove any symlink and category in the packages directory when using WITH_PKGNG.
Only keep links for pkg itself (to allow bootstrap)
Original commitRevision:316243 
Friday, 5 Apr 2013
09:24 bapt search for other commits by this committer
catalog.ports needs to be regenerated in post-deinstall.
glib-compiled-schema needs to be executed in post-deinstall

Approved by:	portmgr (implicit)
Original commitRevision:315732 
Thursday, 4 Apr 2013
17:03 bapt search for other commits by this committer
Execute gdk-pixbuf-query-loaders in post-deinstall with pkgng

Approved by:	portmgr (implicit)
Original commitRevision:315726 
Thursday, 28 Mar 2013
07:45 bapt search for other commits by this committer
Fix typo

Submitted by:	bf
Original commitRevision:315445 
07:00 bapt search for other commits by this committer
Add new _FORCE_POST_PATTERNS which is a pkgng only macro containing a list of
command
that if found in a @(un)exec pkgng will force to push them in
post_deinstallation script.

This allows not to hardcode anymore those in the pkgng binary.
Original commitRevision:315444 
Tuesday, 12 Mar 2013
22:15 bdrewery search for other commits by this committer
- Fix CONFLICTS handling after r313713 caused pkg-query
  output to not properly be piped. This was due to || :
  causing its output to be piped to the while loop
  instead of the pkg-query output.

With hat:	portmgr
Reviewed by:	bapt
Original commitRevision:314004 
Saturday, 9 Mar 2013
14:14 bdrewery search for other commits by this committer
- pkg-query(8) in pkg-1.1.x returns non-zero exit status when
  no matching packages are found. Fix cases that
  expect to potentially find no matches.

PR:		ports/176783
Approved by:	portmgr (bapt)
Original commitRevision:313713 
Thursday, 13 Dec 2012
21:23 bapt search for other commits by this committer
Save RADIO and GROUP option in the pkgng manifest

Submitted by:	bdrewery
Original commitRevision:308870 
Friday, 21 Sep 2012
13:30 bdrewery search for other commits by this committer
- Revert ports/171672 patch to 'do-package' due
  to reported problems with defining PKG_SUFX,
  and leaving behind tmp files.

PR:		ports/171672
Reported by:	poyopoyo@puripuri.plala.or.jp
Approved by:	portmgr (beat, implicit)
Original commitRevision:304634 
Thursday, 20 Sep 2012
19:51 beat search for other commits by this committer
- Remove ftp fallback as all supported FreeBSD versions provide fetch [1]
- Don't call 'pre-config' twice in the 'config-conditional' target [2]
- Clean up pkgng metadir so that the 'clean' target can be executed without
  root permissions if the build was done with a non-root user. [3]
- Make 'do-package' atomic while creating the pkg file [4]

PR:		ports/171161 [2], ports/171329 [3], ports/171672 [4]
Submitted by:	bapt [1], A.J. Kehoe IV (Nanoman) <m7k60pkr@nanoman.ca> [2],
Submitted by:	bdrewery [3, 4]
Reported by:	Kimmo Paasiala <kpaasial@gmail.com> [3]
Tested by:	Exp-run on pointyhat, bapt (pkgng changes)
Original commitRevision:304594 
Tuesday, 10 Jul 2012
08:48 bapt search for other commits by this committer
Fix PKG_IGNORE with pkgng

Submitted by:   des@
Original commit
Tuesday, 19 Jun 2012
21:51 bapt search for other commits by this committer
Show notice when a package is installed and flagged as automatic by pkgng

PR:             ports/168909
Submitted by:   "Bryan Drewery" <bryan@shatow.net>
Original commit
Thursday, 14 Jun 2012
21:34 bapt search for other commits by this committer
Fix check-install-conflicts message with pkgng

Submitted by:   avg
Original commit
Sunday, 3 Jun 2012
14:49 bapt search for other commits by this committer
Do not pollute output with error messages in case pkg query failed
Original commit
Tuesday, 29 May 2012
09:54 bapt search for other commits by this committer
New options framework for the ports

for maintainers:
it introduces 3 different types of options: simple, multi and single:
- simple options are the same as the current options (i.e. on or off.)
- multi options are options where at least one must be set (1-N).
- single options are options where one and only one must be set (exclusive
  options).

for users:
- OPTIONS_SET: globally enable some options
- OPTIONS_UNSET: globally disable some options
- ${UNIQUENAME}_SET: enable per-port choice of options
- ${UNIQUENAME}_UNSET: disable per-port choice of options

For compatibility the old OPTIONS framework is now working on top of the new one
The options previously set with old OPTIONS are imported and converted
transparently.

A new knob NO_DIALOG if defined in the the config-conditional target is ignored
(prevent the dialog(1) ui to show up.

Thanks to all people involved:
beat@, crees@, Bryan Drewery, linimon@, novel@ and others, for testing,
comments, patches
Original commit
Thursday, 17 May 2012
22:07 bapt search for other commits by this committer
Fix conflict handling when pkgng is used.

Submitted by:   Garrett Cooper <yanegomi@gmail.com>
Original commit
Thursday, 10 May 2012
14:34 bapt search for other commits by this committer
Stop spamming the port installation output with pkgng

the manifest generation is stable enough we don't need anymore this debug
output.
Original commit
Wednesday, 22 Feb 2012
17:34 bapt search for other commits by this committer
- only include bsd.pkgng.mk once [1]
- only read bsd.pkgng.mk in post.mk [1]
- move the command definition to bsd.command.mk [1]
- fix check-vulnerable [2]

Submitted by:   avilla [1], rene [2]
Original commit
Monday, 30 Jan 2012
12:39 bapt search for other commits by this committer
Please welcome pkgng beta1.

if you want to use it please define WITH_PKGNG=yes in your /etc/make.conf
For more information read the announcement on the mailing list

With hat:               portmgr
Non-Regression test:    linimon
Original commit

Number of commits found: 67