tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: up2date - something for NetBSD?



>   Currently, pkg_summary is created by running pkg_info -X on all
> binary paackges, and that should not change (as it allows to easily
> (re)create the summary).

>   So, I would suggest recording the neccessary information in the
> relevant binary package and have pkg_info -X output it.
How about adding to 'pkg_info -X' output an information with which
version of python/php/apache the package was built.

In pkg_summary-utils I use the following notation:

  ASSIGNMENTS=PYTHON_VERSION_REQD=23,PKG_APACHE=apache2
  PKGNAME=ap2-py23-python-3.3.1
  PKGPATH=www/ap2-python
  ...
  <other fields here>

ASSIGNMENTS variable allows to easily implement source-based upgrades
without hacks aroung package's name.

-- 
Best regards, Aleksey Cheusov.


Home | Main Index | Thread Index | Old Index