Commit graph

31 commits

Author SHA1 Message Date
jmmv
41d1ef3661 Update to 1.17:
- Recognize the PKGSRC_COMPILER variable and set it automatically in mk.conf.
- Add the REAL_CCACHE variable: if set, the directory pointed by it will be
  null-mounted inside the chroot in a place known by ccache to store the
  cache.  This is useful to keep it across rebuilds of the sandbox.
  Idea suggested by gavan@.
2004-02-21 13:08:31 +00:00
snj
b838585d87 s/independant/independent/ 2004-02-13 23:52:07 +00:00
jmmv
678d560818 Update to 1.16:
- Use WRKDIR_BASENAME instead of OBJMACHINE to get a unique name of object
  directories.  This way, multiple jails can use the same pkgsrc tree with
  write access and get the right obj links.
- Fix COPYROOTCFG.
2004-02-11 22:53:18 +00:00
jmmv
1955870fa2 Update to 1.15:
- Automatic builds can now be interrupted at any time with CTRL+C and then
  resumed! (with 'auto resume' from the command line).
- MAKE_PACKAGES has been deprecated in favour of two new variables:
  BUILD_PACKAGES, which tells which packages to build after a 'makeroot'
  and AUTO_PACKAGES, used during the 'auto' target.
- MOUNT_SCRIPT and UMOUNT_SCRIPT have been deprecated in favour of MOUNT_HOOKS
  and UMOUNT_HOOKS, which take a list of shell functions or external commands
  to be executed.
- /pkg_comp is now symlinked to /p inside the chroot, to make paths simpler
  when working inside it (i.e., with the 'chroot' target).
- security/audit-packages is not installed any more inside the chroot by
  default.  This is not needed to get pkgsrc security checks working.
  The user can add it to BUILD_PACKAGES for a regular build.
- pkgtools/xpkgwedge is not installed any more during a 'makeroot'.  pkgsrc
  handles this automatically when needed, so we let it install the package
  for us.
- Ensure that libkver's library is preloaded when doing builds inside the
  chroot, so that packages get the right version number in them.
- When creating a template file, sort all variables alphabetically.
- Several miscellaneous changes in the code: simplification of syntax,
  addition of comments to functions, cleanup of messages...
2004-01-23 09:48:53 +00:00
agc
3ad1bdbf06 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:18:15 +00:00
zuntum
9e20d6aff5 Nuke superfluous space 2004-01-18 20:45:42 +00:00
jmmv
0731c686bd Update to 1.14:
- Add the AUTO_TARGET variable.  This specifies the BUILD_TARGET used during
  an automated build of packages (i.e., pkg_comp auto), so that one can use
  'bin-install'.  Suggested by gavan@.
- Fix minor bug so that a libkver package is built during makeroot.
2004-01-08 14:06:15 +00:00
jmmv
7c0b9c5946 Allow pkgviews installation. 2004-01-06 19:49:24 +00:00
jmmv
953515e348 Update to 1.13:
- Fix detection of outdated pkg_install.  The 'grep' failed because the error
  message shown was recently changed in pkgsrc.
2004-01-03 10:45:50 +00:00
jmmv
321831ac73 Update to 1.12:
* Add the -n flag.  When specified, do not install INSTALL_PACKAGES nor
  MAKE_PACKAGES during the creation of the chroot.
2003-12-19 09:51:55 +00:00
wiz
a7eadd4ab5 Drop trailing space and fix Xr by adding a section number. 2003-12-14 00:07:19 +00:00
seb
0e2d7958b6 Update to version 1.11
Support pathname to configuration files, support latest libkver and
emit the usual BSD_PKG_MK ifdef protection in the generated /etc/mk.conf.

Approved by jmmv@.
2003-12-13 18:29:47 +00:00
jmmv
5850066843 Update to 1.10:
* Sync with audit-packages: use the new pkg-vulnerabilities file.
* Check if the version of pkg_install inside the chroot is up to date before
  building anything.  If not, force a rebuild automatically.
* Disable all those ugly sync's after fsumount (were added because I had
  some strange problems, IIRC).  You can reenabled them by setting
  SYNC_UMOUNT=yes in the configuration file.
2003-09-07 22:31:18 +00:00
wiz
79cf4123e4 Bump date for last; drop trailing space. 2003-08-30 23:17:31 +00:00
jmmv
c51f629e84 Update to 1.9:
- Introduce two new variables, MOUNT_SCRIPT and UMOUNT_SCRIPT, that let the
  user specify a script file run after mounting known filesystems and before
  unmounting them, respectively.  Patch by seb@, thanks!
2003-08-30 21:11:30 +00:00
jmmv
73ccb5cd27 Properly set LD_PRELOAD in the environment so libkver works properly.
Pointed out by seb@.
2003-07-20 16:05:04 +00:00
jmmv
4780dff302 Update to 1.8:
- Add the NETBSD_RELEASE variable.  This is used to automatically configure
  pkgtools/libkver inside the chroot so that packages see the right kernel
  version when issuing calls to sysctl(8).  Suggested by seb@.
- Turn on emacs editing mode by default in sh/ksh.
2003-07-20 15:54:46 +00:00
jmmv
53663d364d Update to 1.7:
- Added support for audit-packages.  pkg_comp will now automatically setup
  the vulnerabilities file inside the chroot so that pkgsrc can check for
  security flaws before building packages.  See the USE_AUDIT_PACKAGES
  variable in the manpage.
- Added support for gcc3.  pkg_comp will now automatically install the gcc3
  compiler inside the chroot and build all packages using it.  See the
  USE_GCC3 variable in the manpage.
- The new MKCONF_VARS variable lets you add any variable to the generated
  mk.conf file from the configuration file (no need for EXTRAMK in most
  cases).
- Deprecated the removepkgs target.  It was buggy and difficult to adapt to
  the new changes.  removeroot+makeroot should produce the same effect.
- Some code cleanup, specially regarding to template file generation and
  default values for variables.  (See next change item)
- Configuration file semantics have changed.  Variables are now set to their
  default value if they are NOT set in the configuration file.  This changes
  the behaviour of SETS_X11 specially, which needs to be explicitly set to
  "no" to disable X11.
- Fixed shell profile configuration.  Now PS1 is properly set when using the
  "chroot" target.
2003-07-18 12:21:38 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
jmmv
c72d103bab Some fixes. 2003-07-15 16:46:09 +00:00
jmmv
0916498c1b Place WRKSRC where it belongs, to make pkglint happy; ok'ed by wiz. 2003-03-29 12:40:00 +00:00
wiz
28a4483bc7 NO_PATCH is deprecated, says pkglint. Remove it. 2003-03-28 21:14:10 +00:00
jmmv
947d414a10 Update pkg_comp to 1.6:
- Allow the user to issue any command inside the chroot environment using the
  "chroot" target, instead of only running ROOTSHELL. Patch provided by seb.
2003-01-24 09:41:27 +00:00
jmmv
655c2c15d5 Update pkg_comp to 1.5. Fixes:
- Check if all sets exist before extracting any of them.
- Treat EXTRAMK properly: only process the variable if it is non-empty.
2003-01-08 17:57:42 +00:00
jmmv
5db3a401f4 Update pkg_comp to 1.4:
- Added an EXTRAMK variable to allow the addition of any kind of stuff
  into the generated mk.conf.
- While creating the template, quote ${LOCALBASE} so it does not get
  replaced. Reported by Douglas Brebner in PR pkg/19509.
2002-12-24 16:28:33 +00:00
jmmv
e5df620236 Update pkg_comp to 1.3:
- Added ability to tune LOCALBASE and PKG_SYSCONFBASE.
- Deprecated PTHREAD_TYPE variable, not useful any more.
- Multiple error checking (directory presence) added.
- Several bugfixes (specially in removepkgs target).
- Replaced "echo -n" with "printf" (more portable).
- Replaced "! -z" with "-n" when doing tests.
- Changed my email address to the NetBSD one.
2002-12-19 14:47:04 +00:00
jmmv
0a620d2df5 Quote $? variable in a here document, so it is not expanded during its
generation. Pointed out by Stoned Elipot. Bump version to 1.2.
2002-12-14 23:27:50 +00:00
wiz
7f01755d75 Bump version number for man page fix. 2002-09-25 18:57:49 +00:00
wiz
514fdd80c9 Update Dd. Fix description of some options per PR 18344 and included
patch from Julio Merino. Begin new sentences on new lines.
2002-09-25 18:57:30 +00:00
wiz
5cfcd6e618 mdoc fixes, ispell. 2002-09-07 13:54:55 +00:00
rh
2a5bf01b6a Initial import of pkg_comp-1.0, a utility that allows retargetable package
building in chrooted environments.
Provided in PR pkg/17986 by Julio Merino <jmmv@hispabsd.org>
2002-09-07 00:08:35 +00:00