2010-07-09  Laszlo Peter  <laca@sun.com>

	* NEWS:
	* macros.in:
	* rpm_spec.pm.in:
	Fixes bug: #
	Reviewed by: 

2010-07-06  Laszlo Peter  <laca@sun.com>

	* NEWS: update
	* pkgdb.pm.in: fix regexp to allow pkg:/ prefix in package names
	  (patch by Rich Lowe)
	* rpm_package.pm: fix problem with undefined files list reference
	  (reported by Michal Pryc)

2010-06-28  Laszlo Peter  <laca@sun.com>

	* pkgbuild.pl.in: fix typo in the smf fmri for gconf-cache

2010-06-24  Laszlo Peter  <laca@sun.com>

	* NEWS: update
	* configure.in: bump version
	* doc/pkgtool.1: add info about --dry-run
	* pkgbuild.spec.in: add missing dirs
	* pkgtool.pl: implement download --dry-run option for download
	  testing
	* spectool.pl: fix typo that breaks spectool

	======= pkgbuild 1.3.102 =======

2010-06-07  Laszlo Peter  <laca@sun.com>

	* doc/Makefile.am: add docs to EXTRA_DIST

2010-06-07  Laszlo Peter  <laca@sun.com>

	* ips_utils.pm: print a warning when pkg/readonly is true
	* pkgbuild.pl.in: automatically enable IPS mode when PKGBUILD_IPS_SERVER
	  is set or a local depotd is running

2010-06-06  Laszlo Peter  <laca@sun.com>

	* Makefile.am: add doc subdir
	* NEWS: update
	* configure.in: add doc subdir
	* doc/Makefile.am:
	* doc/pkgbuild.1: (new) manual page for pkgbuild
	* doc/pkgtool.1: (new) manual page for pkgtool
	* doc/spec-files.txt: (new) spec file format documentation
	* doc/spectool.1: (new) manual page for spectool
	* ips_utils.pm: verify the PKGBUILD_IPS_SERVER end with a "/"
	* pkgbuild.pl.in: exit with an error if PKGBUILD_IPS_SERVER is not
	  valid; escape "+" chars in package names for regexp processing;
	  use %_buildshell for scriptlets; remove extra "/" from paths
	  in manifests; use the IPS package name ("/" chars escaped) in
	  the manifest file names; only tag doc, devel and l10n subpkgs;
	* pkgbuild.spec.in: use package/pkgbuild as the IPS package name
	* pkgdb.pm.in: escape "+" in package names for regexp processing
	* pkgtool.pl: exit with an error if PKGBUILD_IPS_SERVER is not valid
	* rpm_package.pm: subpkgs do not inherit IPS_Package_Name; generate
	  a single SVr4 package for all subpackages with the same SVr4
	  package name (SUNW_Pkg)
	* rpm_spec.pm.in: link together all SVr4 subpackages with the same name
	* spectool.pl: add usage info; implement get_files and
	  match_package_names

2010-04-09  Laszlo Peter  <laca@sun.com>

	* NEWS: update
	* ips_utils.pm: change code that identifies the local IPS repo to
	  work in more situations.  It now opens a connection to a repo to
	  check the IP address on this side of the connection and it assumes
	  that the local IPS server is running on the same IP;
	  s/authority/publisher/g
	* pkgbuild.spec.in: add IPS_Package_Name: command/build/pkgbuild
	* pkgtool.pl: s/authority/publisher/g and clarify hint printed when
	  the local repo cannot be identified
	* rpm_package.pm: make sure a package are created if there is no
	  %files section (or empty) but there is a non-empty %actions section
	* rpm_spec.pm.in: evaluate macros in the arguments of %package and
	  %files
	* spectool.pl: s/authority/publisher/

2010-04-07  Laszlo Peter  <laca@sun.com>

	* Makefile.am: add ips_package.pm
	* NEWS: update
	* ips_package.pm: (new) a module representing an IPS module
	* ips_utils.pm: new function: is_installed returns if a given package
	  is installed in the current image
	* pkgbuild.pl.in: remove some debug code; fix the regexp that parses
	  the "PUBLISHED..." message; fix a typo in the shebang line of
	  the publishing scripts; set the verbosity of pkgdb.pm to be the same
	  as pkgbuild's verbosity
	* pkgdb.pm.in: print messages prefixed with "PKGDB:"; rewrite the code
	  that translates dep specs to IPS package names to be faster and
	  work on 2009.06 and later
	* pkgtool.pl: implement --update; update incorporations for packages
	  that has a version change and are included in incorporations.
	* spectool.pl: implement get_ips_pkgname and get_publish_scripts

2009-11-29  Laszlo Peter  <laca@sun.com>

	* NEWS: update
	* pkgbuild.pl.in: [ 2904564 ] use buildarch tag for svr4 packages
	  Patch by Paolo Abeni

2009-11-28  Laszlo Peter  <laca@sun.com>

	* NEWS: update
	* pkgbuild.pl.in, rpm_spec.pm.in: [ 2904561 ] support '--target'
	  command line.  Patch by Paolo Abeni

2009-11-28  Laszlo Peter  <laca@sun.com>

	* pkgtool.pl: fix [ 2744961 ] warning message printed during build
	* NEWS: update

2009-11-23  Laszlo Peter  <laca@sun.com>

	* configure.in: post-release version bump

2009-11-23  Laszlo Peter  <laca@sun.com>

	* NEWS: update
	* macros.in: add _use_ips_autotag default definition
	* pkgbuild.pl.in: implement autotag; add actions from the
	  %actions section to the manifest; adjust regexps so that whitespaces
	  are not required around version specs in Requires/BuildRequires tags;
	  create separate packages for %packages that define an IPS name;
	  correctly recognise self-dependencies, even if separate IPS and SVr4
	  package names are used
	* pkgdb.pm.in: adjust regexp to work with new IPS output format
	* rpm_file.pm: implement ips_tags
	* rpm_package.pm: implement set_subpkg() for setting/unsetting
	  subpkg status of a %package; implement add_action() for adding
	  actions to a package, based on the %actions section
	* rpm_spec.pm.in: process %actions in parser; implement
	  find_package_by_{ips,svr4,pkg}_name() functions that find
	  rpm_package objects based on IPS, SVr4 or either names;
	  process %ips_tags modifiers

	======= pkgbuild 1.3.101 =======

2009-09-01  Laszlo Peter  <laca@sun.com>

	* Makefile.am: add version-file
	* NEWS: update for version 1.3.101
	* TODO: update
	* configure.in: update version, add version-file to AC_OUTPUT
	* pkgbuild.pl.in: implement source IPS packages; move dependency
	  checking code to pkgdb.pm
	* pkgdb.pm.in: add lots of dependency checking code that supports
	  both SVr4 and IPS package dependencies
	* pkgtool.pl: look for either an IPS or and SVr4 package
	* rpm_package.pm: add function that returns the SVr4 source package
	  name (get_svr4_src_pkg_name)
	* rpm_spec.pm.in: define IPS_package_name and IPS_component_version;
	  fix nosource and nopatch split regexps
	* version-file.in: (new) file with the pkgbuild version in it, to be
	  included in SVr4 source packages.

2009-05-11  Laszlo Peter  <laca@sun.com>

	* configure.in: bump version to 1.3.99
	* NEWS: update
	* ips_utils.pm: add warning when the current hostname cannot be
	  resolved
	* pkgtool.pl: --rmlog option, deletes log instead of appending to it.
	  Patch from John Fischer.

	======= pkgbuild 1.3.98.4 =======

2009-04-22  Laszlo Peter  <laca@sun.com>

	* configure.in: bump version to 1.3.98.4
	* ips_utils.pm: adjust regexp used for parsing the output of
	  'pkg authority' so that it works with both older and newer
	  versions of IPS
	* NEWS: update

	======= pkgbuild 1.3.98.3 =======

2009-04-17  Laszlo Peter  <laca@sun.com>

	* NEWS: update for 1.3.98.3
	* TODO: minor updates
	* configure.in: bump version
	* get_rpm_topdir: exit 0 so we can detect when things really go wrong
	* ips_utils.pm: rewrite to use the output of 'pkg authority' instead
	  of parsing /var/pkg/cfg_cache
	* pkgbuild.pl.in: ignore version spec in Requires/BuildRequires
	  statements; use a single info.source_url and info.classification
	  attributes instead of one per source/classification; only try
	  to create an IPS package if running on an IPS-enabled system
	* pkgbuild.spec.in: update the source url; add Meta tags
	* pkgtool.pl: minor version checking fix; use SUNW_Pkg when
	  checking dependencies defined in the specs
	* rpm_package.pm: inherit Meta tags in subpackages
	* rpm_spec.pm.in: improve error handling when determining the
	  value of topdir
	* spectool.in: set pkgbuild_prefix
	* spectool.pl: avoid warning on non-IPS systems

2009-02-27  Laszlo Peter  <laca@sun.com>

	* pkgbuild.pl.in: fix bug where the copyright file is not found
	  if specified by a URL.  Reported by Baban Kenkre.

2009-02-27  Laszlo Peter  <laca@sun.com>

	* pkgbuild.pl.in: fix typo that causes Meta tags not to be added
	  to the manifest; add variant.arch tag
	* rpm_spec.pm.in: remove leading whitespace from Meta values

	======= pkgbuild 1.3.98 =======

2009-02-22  Laszlo Peter  <laca@sun.com>

	* NEWS: add info about wget and ssl cert check
	* pkgbuild.pl.in: add info.source_url tags for each source specified
	  with a url and not hidden by NoSource
	* pkgtool.pl: remove incorrect assertion
	* rpm_package.pm: (get_spec) new method that returns the spec file
	  that the package belongs to (parent spec)

2009-02-22  Laszlo Peter  <laca@sun.com>

	* TODO: we need some way to associate actions in %files
	* ips_utils.pm: define 'policy' section to get rid of warning
	* pkgbuild.pl.in: set correct license name, based on License
	* pkgtool.pl: use wget option to disable checking ssl certs so
	  that automatic download of https works (--sslcheckcert=0 or
	  --no-check-certificate depending on the wget version)

2009-02-02  Laszlo Peter  <laca@sun.com>

	* pkgtool.pl: fix ips_utils undef problem when IPS is not found;
	  implement publish-pkgs mode
	* pkgbuild.pl.in: fix ips_utils undef problem when IPS is not found;
	  implement "publish-pkgs" mode
	* NEWS: add info about publish-pkgs

2009-01-28  Laszlo Peter  <laca@sun.com>

	* pkgbuild.pl.in: implement Requires: /path/to/file for IPS
	* pkgdb.pm.in: add IPS support (very slow!)
	* pkgtool.pl: installation aborts if the local authority is not
	  defined and a hint is printed.
	* rpm_package.pm: update versioning to match OpenSolaris spec
	* rpm_spec.pm.in: (get_used_spec_labels): new function for
	  getting the labels assigned to sub-specs, e.g %use label = foo.spec
	* spectool.pl: add -l option for spectool get_used_spec, which
	  makes it print the labels as well.
	* configure.in: bump version to 1.3.98
	* NEWS: update
	* TODO: udpate

2008-12-08  Laszlo Peter  <laca@sun.com>

	* Makefile.am: add ips_utils.pm
	* NEWS: update, lots of new stuff
	* ips_utils.pm: (new) perl module for parsing the IPS cfg_cache file
	  and other helper functions
	* pkgbuild.pl.in: publish to $PKGBUILD_IPS_SERVER instead of hard coded
	  localhost:80; use debug_print for printing debug messages so it's
	  easier to globally enable/disable them; generate proper dependency
	  info for IPS packages; use pkg(5) conformant version string;
	  enhance the publishing script to return non-zero for errors;
	  add metadata to IPS manifests according to the latest guidelines;
	  add legacy actions to manifests; use tags for "subpackages", create
	  separate packages for packages defined with -n
	* pkgtool.pl: use $PKGBUILD_IPS_SERVER or the local depotd, if running;
	  new option: --update (update_if_newer in .pkgtoolrc) enables
	  rebuilding if the spec version is newer than the legacy version;
	  fix can_install to look at the order of Software Installation,
	  Primary Administrator and Basic Solaris User; install packages from
	  the depotd that we publish to (in build mode)
	* rpm_package.pm: define new tags for IPS versioning; new_subpackage:
	  2 new optional args: pkg_tag (e.g. "devel") and is_subpkg (boolean);
	  get_svr4_name (new) returns the SVr4 package name of the package;
	  get_ips_name (new) returns the IPS package name of the package;
	  set_meta / get_meta / get_meta_hash: new functions for handling
	  the Meta tags; get_pkg_tag, is_subpkg: new functions used for
	  determining whether a package is a subpkg and a tagged part of
	  the main package in IPS; don't return the SUNW_Pkg for get_name()
	* rpm_spec.pm.in: new tags: ips_component_version, ips_build_version;
	  ips_vendor_version and meta(key): value; create subpackages when
	  %package is not defined with -n name
	* spectool.pl: fix get_package_names to return proper info for
	  IPS packages; new mode: get_meta for returning meta tag
	  information

2008-11-11  Laszlo Peter  <laca@sun.com>

	* spectool.pl: exit with non-zero on errors (the value returned is
	  the number of spec files that could not be parsed)

2008-11-10  Laszlo Peter  <laca@sun.com>

	* spectool.pl: implement get_requires, get_prereq and
	  get_buildrequires in spectool
	* NEWS: update

2008-11-10  Laszlo Peter  <laca@sun.com>

	* pkgbuild.pl.in: implement _duplicate_files_terminate_build macro
	  that controls whether file included in multiple packages cause
	  a warning or an error
	* rpm_spec.pm.in: set _duplicate_files_terminate_build to 0 by default
	* configure.in: bump version to 1.3.4
	* NEWS: update

2008-10-14  Laszlo Peter  <laca@sun.com>

	* pkgtool.pl: fix [ 2149046 ] pkgtool --notify errs when dbus service
	  is disabled, patch by Andrew Dudman

2008-10-14  Laszlo Peter  <laca@sun.com>

	* pkgtool.pl: fix [ 2149067 ] more colors for summary log
	  based on patch from Andrew Dudman

2008-10-14  Laszlo Peter  <laca@sun.com>

	* pkgtool.pl: fix [ 2006686 ] RFE: Put html summary in page title
	  patch by Damien Carbery.

2008-10-14  Laszlo Peter  <laca@sun.com>

	* pkgbuild.pl.in: fix [ 2148981 ] usage help message inaccurate
	  patch by Andrew Dudman.

2008-10-14  Laszlo Peter  <laca@sun.com>

	* pkgbuild.pl.in: fix normalisation of parent directory names
	  when a package with basedir == / uses %doc
	* pkgtool.pl: fix error where $defaults->set is called too early
	  ($defaults is undef) and causes an error if notify-send is not
	  in the PATH

	======= pkgbuild 1.3.91 =======

2008-09-18  Laszlo Peter  <laca@sun.com>

	* pkgbuild.pl.in: %attr modifiers not processed recursively
	  (broken since 1.3.0)
	* pkgtool.pl: disable dbus notifications if notify-send is not in the
	  PATH
	* NEWS: update
	* TODO: remove an item that is done

2008-09-18  Laszlo Peter  <laca@sun.com>

	* configure.in: post release version bump

	======= pkgbuild 1.3.90 =======

2008-09-05  Laszlo Peter  <laca@sun.com>

	* NEWS: add info about %doc -d subdir
	* pkgbuild.pl.in: implement the changes for %doc -d subdir
	* pkgbuild.spec.in: add %{_datadir} and %{_datadir}/doc to
	  %files so they have correct permissions
	* rpm_file.pm: new functions set_doc_subdir() and get_doc_subdir()
	  needed for the %doc -d subdir feature.
	* rpm_spec.pm.in: implement %doc -d subdir in the spec file parser

2008-09-03  Laszlo Peter  <laca@sun.com>

	* AUTHORS: add Petr and Glynn
	* NEWS: update with new features and bug fixes since 1.3.1
	* pkgbuild.pl.in: new function eval_file for expanding macros
	  in a file in the context of a spec file.  Use eval_file for
	  expanding the macros in the copyright file.  Define a new
	  macro called _pkg_docdir and use it to set/get the location
	  of the %doc files in the package.  Simplify the %doc code
	  somewhat.
	* pkgbuild.spec.in: use %doc :)
	* rpm_package.pm: new function _set_error() that calls
	  the parent spec's _set_error().
	* rpm_spec.pm.in: define _pkg_docdir macro.  Implement
	  %{SOURCEn.url} & friends.  New function has_error()
	  returns 1 is there is an error defined with _set_error()
	* macros.in: add _pkg_docdir

2008-09-03  Laszlo Peter  <laca@sun.com>

	Implement %doc and %docdir

	* pkgbuild.pl.in: process %doc files: copy them to $RPM_BUILD_ROOT,
	  compress if needed and add them to the prototype/manifest.
	  Tag %doc files with doc=true in the manifest.
	* rpm_file.pm: link the rpm_file objects to their package; add
	  get_package() function.  Also, set_compression() and
	  get_compression() functions used for %doc files.
	* rpm_spec.pm.in: process %doc files and %docdir

2008-08-29  Laszlo Peter  <laca@sun.com>

	* rpm_spec.pm.in: apply patch by Boyd Adamson for
	  [ 2019102 ] Compressed patches are recognised but can't be found

2008-08-21  Laszlo Peter  <laca@sun.com>

	* pkgbuild.pl.in: use $fname instead of $file in
	  get_ips_proto_line, since $file is an object, not a file name.
	* TODO: update

2008-08-20  Laszlo Peter  <laca@sun.com>

	* pkgbuild.pl.in: add preserve="renamenew" to config files in
	  IPS manifest.  Patch from Rein Remmel.

2008-08-14  Laszlo Peter  <laca@sun.com>

	* pkgbuild.pl.in: add --pkgformat ips option and only publish the
	  IPS package if this option is used; fix the symlink targets;
	  add fallback upstream_url; delete duplicate ips headers;
	  make sure there are no duplicate entries in the manifest otherwise
	  pkg install fails
	* pkgtool.pl: use --pkgformat ips option when calling pkgbuild
	  if pkgtool was called with --ips

2008-08-12  Glynn Foster  <glynn.foster@sun.com>

	* pkgbuild.pl.in: Use :: instead of : in info.classification.

2008-08-12  Glynn Foster  <glynn.foster@sun.com>

	* m4/perl.m4: aclocal doesn't seem to like comments at the end
	of the m4 file. Remove.
	* pkgbuild.pl.in: Add short comment about repository.

2008-08-13  Laszlo Peter  <laca@sun.com>

	* pkgtool.pl: add --notify/--nonotify options; use notify-send
	  to tell the user when a spec file is done.
	* configure.in: bump version to 1.3.90 in preparation for
	  1.4.0

2008-08-12  Glynn Foster  <glynn.foster@sun.com>

	* pkgbuild.pl.in, pkgtool.pl: Ensure that we now build IPS and
	SVr4 packages by default, and utilize the SVr4 infrastructure
	in preparing the IPS package to be published to the repository.
	Add some additional meta-data to the IPS publishing stage.

2008-08-06  Petr Sobotka  <sobotkap@gmail.com>

	* pkgbuild.pl.in: Commit patches send by Glynn Foster - wrong
	metadata variable names

2008-07-12  Petr Sobotka  <sobotkap@gmail.com>

	* pkgbuild.pl.in: Add creating IPS publish script
	when running with --ips
	* pkgtool.pl: Passing new ips arguments to pkgbuild. 
	Installing IPS package is commented as IPS bug #2253 blocks it.

2008-06-19  Laszlo Peter  <laca@sun.com>

	* config.pm: set undefined settings to '' to avoid perl errors
	  (error reported by Andras Barna)
	* pkgdbgrep.c: (read_contents): unC99ify
	* pkgtool.pl: clarify an error message

2008-03-26  Laszlo Peter  <laca@sun.com>

	* pkgtool.pl: add --version command line option
	* rpm_spec.pm.in: add get_version function

2008-03-26  Laszlo Peter  <laca@sun.com>

	* configure.in: post release version bump.
	* pkgtool.pl: create the download directory if it doesn't exist.
	  Reported by Michal Bielicki.

	======= pkgbuild 1.3.0 =======

2008-03-12  Laszlo Peter  <laca@sun.com>

	* pkgbuild.pl.in: run the %check block after %install
	* rpm_spec.pm.in: implement support for the %check scriptlet
	* NEWS: update

2008-03-05  Laszlo Peter  <laca@sun.com>

	* pkgtool.pl: generate xhtml build reports, patch from
	  Damien Carbery.

2008-02-16  Laszlo Peter  <laca@sun.com>

	* Makefile.am: add pkgdb.pm and pkgdbgrep.c
	* NEWS: update
	* TODO: delete completed items
	* configure.in: bump version to 1.3.0, add AM_PROG_CC_C_O for
	  pkgdbgrep
	* pkgbuild.pl.in: fix bugs 1707525 Add requires: /path/to/file,
	  1705877 defattr takes an optional 4th arg in rpmbuild.
	  fix bug where { and } are eaten by glob even if the file
	  exists and includes { and }
	* pkgdb.pm.in: (new) perl module that finds the package name
	  for a file name.  Based on code by Mike Bristow.
	* pkgdbgrep.c: C program that quickly finds files in the Solaris
	  contents file.  This is used instead of grep so that regexps
	  don't need to be escaped.
	* pkgtool.pl: try to find spec files with .spec appended if not
	  found without the .spec
	* rpm_file.pm: add defattributes arg
	* rpm_package.pm: add dirmode as an optional attribute
	* rpm_spec.pm.in: handle the optional dirmode attribute in
	  %attr and %defattr evalutate the arguments of %files -f

2008-02-02  Laszlo Peter  <laca@sun.com>

	* pkgtool.pl: implement --autodeps; adds spec files to the build
	  automatically to satisfy missing dependencies.
	* pkgbuild.pl.in: add --with-foo / --without-foo to usage ()

2008-01-20  Laszlo Peter  <laca@sun.com>

	* rpm_spec.pm.in: use /usr/bin/uncompress for tar.Z tarballs
	* macros.in: define macros for uncompress, although they
	  are not currently used.  Patch from Thomas Wagner.

2008-01-06  Laszlo Peter  <laca@sun.com>

	* pkgtool.pl: download tarballs under a temporary name first,
	  then rename it to the real file name if the download is
	  successful.  Fixes 1767423.

2008-01-06  Laszlo Peter  <laca@sun.com>

	* pkgtool.pl: add --tries=1 to wget options, fixes 1812491.
	  Fix by Ananth Shrinivas S.

2008-01-06  Laszlo Peter  <laca@sun.com>

	* pkgbuild.pl.in: quote some strings in regexps to avoid perl
	  runtime errors, fixes 1786439 (patch from Anonymous submitter)
	* NEWS: update

2008-01-06  Laszlo Peter  <laca@sun.com>

	* TODO: updated
	* config.pm: (readrc) add optional arg ignore_unknown: makes
	  it silently ignore all settings in the rc file that is not
	  defined.
	* pkgtool.pl: do not send build failure emails for DEP_FAILED
	  specs, plus some cosmetic changes
	* rpm_spec.pm.in: define %error and %warning macros

2007-04-27  Laszlo Peter  <laca@sun.com>

	* rpm_spec.pm.in: expand macros in the filename argument of
	  %files -f filename.  Patch by Mike Bristow, fixes bug 1708029.

2007-04-27  Laszlo Peter  <laca@sun.com>

	* configure.in: fix detecting GNU tar to work with gtar >= 1.15.1.
	  Patch from Mike Bristow.  Fixes bug 1706401.

2007-04-27  Laszlo Peter  <laca@sun.com>

	* pkgtool.pl: delete warning message when a non-tarball is found
	  in the tarball dir and not in the source dir.

2007-04-02  Laszlo Peter  <laca@sun.com>

	* configure.in: post-release version bump

	======== pkgbuild version 1.2.0 ========

2007-03-29  Laszlo Peter  <laca@sun.com>

	* pkgtool.pl: fix warning when source_mirror is not set

2007-03-29  Laszlo Peter  <laca@sun.com>

	* rpm_spec.pm.in: fix find_package_by_name to check both Name
	  and SUNW_Pkg.
	* configure.in: bump version to 1.2.0 since there are new
	  features not just bug fixes.

2007-03-26  Laszlo Peter  <laca@sun.com>

	* pkgbuild.pl.in:
	  - fix bug where pkgtool build-only missed dependencies on
	    non-installed packages as reported by Eric Boutilier.
	  - implement hard links
	* pkgtool.pl:
	  - fix bug where pkgtool build-only was looking for both
	    the BuildRequires and the Requires dependencies.
	    build-install must look for both kinds, but build-only
	    should only check BuildRequires dependencies.  Reported
	    by Paul Cunningham.
	  - count DEP_FAILED packages as failed in the return value
	  - create a .pkgnames file in %_topdir for pkgbuild to pick
	    up package descriptions from
	* rpm_file.pm: implement hard links
	* rpm_spec.pm.in: implement hard links (%hard modified in
	    %files)

2007-03-10  Laszlo Peter  <laca@sun.com>

	* pkgtool.pl: ignore duplicates if a spec file is listed mutliple
	  times on the command line

2007-03-08  Laszlo Peter  <laca@sun.com>

	* rpm_spec.pm.in: fix 1661513 Unitialized value warning in
	  find_package_by_name function; based on Damien's patch.

2007-03-08  Laszlo Peter  <laca@sun.com>

	* configure.in: bump to 1.1.2
	* pkgtool.in: use @PERL@ instead of "perl" found in the PATH
	* pkgtool.pl: add new config setting: source_mirrors -- list
	  of tarball mirror sites to try if the original source in
	  unavailable.  Fix handling datastream packages.
	* rpm_package.pm: return SUNW_pkg as the string value of a
	  package, if defined.
	* rpm_spec.pm.in: fixes for datastream packages
	* spectool.pl: add source_mirrors setting for symmetry;
	  add pkgformat options and fix handling datastream pkgs.

	======== pkgbuild version 1.1.1 ========

2006-09-28  Laszlo Peter  <laca@sun.com>

	* rpm_spec.pm.in: attempt to find the real home directory of the
	  user so that the correct rc files are used
	* pkgtool.pl: same again
	* spectool.pl: same again

2006-09-26  Laszlo Peter  <laca@sun.com>

	* NEWS: update
	* config.pm: fix bug introduced in 1.1.0 where %{_topdir} is not
	  expanded in configuration settings like download_to
	* configure.in: bump version number
	* pkgtool.pl: define %{topdir} 
	* rpm_spec.pm.in: make %patch use %_patch_options

	======== pkgbuild version 1.1.0 ========

2006-08-24  Laszlo Peter  <laca@sun.com>

	* macros.in: define _pkgmapdir, for completeness
	* pkgbuild.pl.in: use _pkgmapdir for finding the copyright, depend,
	  proto, etc directories; use _pkgdir to find PKGS, _srcpkgdir
	  to find SPKGS; create the subdirectories under %_topdir as needed
	* rpm_spec.pm.in: define defaults for __pkgbuild_libdir, 
	  _pkgdir, _srcpkgdir, _pkgmapdir

2006-08-22  Laszlo Peter  <laca@sun.com>

	* .cvsignore: add macros
	* Makefile.am: add macros, macros.in
	* NEWS: update; add info about .pkgbuildmacros
	* config.pm: avoid infinite loop if % appears in a setting
	* configure.in: add macros to AC_OUTPUT and define ARCH
	* macros.in: (new) default macro definitions
	* pkgbuild.pl.in: s/i585/i586/
	* pkgtool.pl: remove topdir config option; use .pkgbuildmacros
	  instead; use /bin/profile instead of just profile to avoid
	  picking up /usr/sfw/bin/profile; s/i585/i586/
	* rpm_spec.pm.in: read default macros from LIBDIR/macros and
	  $HOME/.pkgbuildmacros; s/i585/i586/
	* spectool.in: pass in the full path to pkgbuild on the command
	  line
	* spectool.pl: call pkgbuild with the full path; remove topdir
	  config parameter

2006-08-17  Laszlo Peter  <laca@sun.com>

	* pkgtool.pl: uninstall all instances of packages when running
	  uninstall-pkgs; add $topdir to the --define options passed to
	  pkgbuild if topdir is non-default
	* rpm_spec.pm.in: make the default _tmppath per-user:
	  /var/tmp/pkgbuild-$USER

2006-08-16  Laszlo Peter  <laca@sun.com>

	* pkgbuild.spec.in: fix dependencies
	* pkgtool.pl: fix typo that breaks downloads

2006-08-16  Laszlo Peter  <laca@sun.com>

	* NEWS: updated for 1.1.0
	* TODO: updated
	* config.pm: add lots of comments; enhance to allow adding
	  to existing values, see NEWS for more details
	* configure.in: bump to 1.1.0; set the default prefix to
	  /opt/pkgbuild; use AC_PROG_PERL instead of pipes and greps;
	  remove the --with-topdir and --enable-sticky-dirs options;
	  add spectool and m4/Makefile
	* get_rpm_topdir: update to work without %_topdir existing
	* m4/Makefile.am: (new): add perl.m4 to EXTRA_DIST
	* m4/perl.m4: (new): AC_PROG_PERL macro
	* pkgbuild.pl.in: 
	  - use standard perl functions instead of system() calls for
	    lots of stuff, thanks to Damien for his advice;
	  - add support for SUNW_PKG_ALLZONES, SUNW_PKG_THISZONE,
	    SUNW_PKG_HOLLOW pkginfo fields, required for zones support; 
	  - when creating depend files, read the pkg name from the
	    pkgnames file instead if the pkg is not installed
	  - report a warning if %files contains absolute symlinks
	    and report and error if an absolute symlink points to
	    $RPM_BUILD_ROOT
	  - normalise file names in %files lists to avoid incorrectly
	    reporting unpackaged files, fixes #1490310
	* pkgbuild.spec.in: update the default prefix to /opt/pkgbuild;
	  remove the --with-topdir and --enable-sticky-dirs options;
	  remove the %post and %postun scripts
	* pkgnames: (new): Solaris pkg abbrevs and names, to be used
	  in depend files in case the pkg isn't installed
	* pkgtool.in: don't look for pkgbuild in the PATH, but use
	  the one in the configured prefix; don't let the user run
	  pkgtool as root on Solaris; don't check for Software Installation
	  profile either, it's done within pkgtool.pl now
	* pkgtool.pl:
	  - use standard perl functions instead of system() calls or
	    regex operations for lots of stuff, thanks to Damien for
	    his advice;
	  - define the topdir rc file setting
	  - make the other dirs like sourcedirs, tarballdirs, specdirs
	    use the value of topdir in their default values;
	  - check if the user has the Software Installation profile
	    and print an error message if they try to install/uninstall
	    packages but they don't have the profile;
	  - automatically create the directories under %_topdir as needed;
	  - implement install-pkgs
	* rpm_spec.pm.in: 
	  - add lots of comments
	  - make _default_topdir default to $HOME/packages
	  - fix bug where %ifnarch and %ifnos nested within other
	    %if conditionals cause parsing problems
	  - add support for SUNW_PKG_ALLZONES, SUNW_PKG_THISZONE,
	    SUNW_PKG_HOLLOW pkginfo fields, required for zones support; 
	  - make all %foo directives case insensitive
	* spectool.in: (new) wrapper script that calls spectool.pl
	* spectool.pl: (new) script for extracting info from spec files
	  see spectool --help for more details
	* Makefile.am: add m4 subdir; don't create topdir on install

2006-06-16  Laszlo Peter  <laca@sun.com>

	* config.pm: tracker ID 1409033: applied patch from Damien Carbery
	  for wrapping long lines in --dumprc

2005-12-03  Laszlo Peter  <laca@sun.com>

	* pkgtool.pl: speed up dependency checking by using pkgparam
	  instead of grepping from pkginfo -l
	
	* rpm_spec.pm.in: add a new macro called
	  _invalid_patches_terminate_build: if set to 0 (default is 1),
	  patches that don't apply are ignored (warning printed).  Makes it
	  easier to build from CVS snapshots; fix %{!? to be the same as
	  %{?!, implement more thorough syntax checking in %{? type conditional
	  expressions

2005-10-22  Laszlo Peter  <laca@sun.com>

	* autogen.sh: fix automake/autoconf order
	* configure.in: set version 1.0.1
	* pkgtool.pl: fix --with-foo and --without-foo processing to be
	  the same as in pkgbuild; add the build command to the log.

2005-10-20  Laszlo Peter  <laca@sun.com>

	* pkgbuild.pl.in: use the SUNW_Desc tag for the DESC in pkginfo
	  if defined, otherwise use Summary; define the SUNW_PkgType
	  tag for overriding the default usr/root values; use the
	  SUNW_Rev tag to completely replace the REV part of the version,
	  i.e. do not append the date after it.  Note: this is an
	  incompatible change!  Existing uses of SUNW_Rev need to
	  append .%(date +%Y.%m.%d.%H.%M.%S)

	* rpm_spec.pm.in: add SUNW_PkgType to list of valid tags

	Patch from Simford.Dong@Sun.Com.

2005-10-10  Laszlo Peter  <laca@sun.com>

	* pkgtool.pl: fix bug where class action scripts are not
	  copied in SOURCES

2005-09-29  Laszlo Peter  <laca@sun.com>

	* pkgtool.pl: make some log messages clearer

2005-09-25  Laszlo Peter  <laca@sun.com>

	* configure.in: version 1.0.0
	* pkgbuild.pl.in: implement %ghost files.
	  In pkgbuild's implementation:
	   - %ghost files are volatile ('v' file type in the prototype)
	   - an empty file is added to the prototype if the %ghost file
	     does not exist in $RPM_BUILD_ROOT
	  Slight change in the way %config and %class files work:
	   - %config files that belong to class none are volatile
	   - %config files belong to other classes are editable
	   - non-%config files that belong to a %class are type 'f' in the
	     prototype
	* rpm_spec.pm.in: process %ghost files
	* rpm_file.pm: process %ghost files; add is_ghost()

2005-09-24  Laszlo Peter  <laca@sun.com>

	* configure.in: use gtar on Solaris

2005-09-19  Laszlo Peter  <laca@sun.com>

	* pkgbuild.spec.in: fix build on Linux

2005-08-25  Laszlo Peter  <laca@sun.com>

	* configure.in: bump to 0.10.0
	
	* tests/: add beginnings of an automated test suite

	* rpm_spec.pm.in: fix "cd" commands at the beginning of blocks
	  so they work properly in %use'd spec files.

2005-08-08  Laszlo Peter  <laca@sun.com>

	* configure.in: find GNU patch (gpatch on Solaris)
	
	* rpm_spec.pm.in: use GNU patch found in configure

	* pkgbuild.pm.in: new command line option: --pkgformat
	  valid arguments: datastream (or ds) or filesystem (fs);
	  implement creating datastream format packages
	
	* pkgtool.pl: script for building multiple modules from
	  spec files, tarballs and patches, copying sources/specs to the
	  right directories, etc.  See pkgtool --help for
	  more details.

	* pkgtool: wrapper script for pkgtool.pl

	* config.pm: simple config file parser module used by pkgtool.pl.
	
2005-07-25  Laszlo Peter  <laca@sun.com>

	* pkgbuild.pl.in: implemented --with foo / --without foo command
	  line parsing; the following sintaxes are valid:
	    --with foo
	    --with=foo
	    --with-foo

2005-06-13  Laszlo Peter  <laca@sun.com>

	* configure.in: version 0.9.1

	* rpm_spec.pm.in: implement %if <expression>

	* pkgbuild.pl.in: a baby step towards implementing %pre/post -p shell;
	  avoid running find / when buildroot is unset.

2005-01-25  Laszlo Peter  <laca@sun.com>

	* pkgbuild.pl.in: fix solaris release checking

	* rpm_spec.pm.in: fix solaris release checking

2004-12-22  Laszlo Peter  <laca@sun.com>

	Initial release on pkgbuild.sourceforge.net.  Old ChangeLog
	saved as ChangeLog.pre-sf.
