The NetBSD Project

CVS log for pkgsrc/pkgtools/mksandbox/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / pkgtools / mksandbox

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.17 / (download) - annotate - [select for diffs], Fri Jan 22 11:59:52 2021 UTC (2 months, 4 weeks ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2021Q1-base, pkgsrc-2021Q1, HEAD
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

mksandbox: Update to version 1.10.

Change the /dev/shm handling on Linux to account for systemd being a complete
nightmare and changing mount types behind your back automatically.

The previous fixed works fine, until it magically changes from a tmpfs with
1777 permissions to a devtmpfs with 0755 permissions, with obvious failures
resulting when building as non-root.

Tested on el6 and el7, with the latter now reliably able to build Python.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Dec 7 12:35:52 2020 UTC (4 months, 1 week ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2020Q4-base, pkgsrc-2020Q4
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

mksandbox: Update to version 1.9.

On Linux create an additional read/write bind mount for /dev/shm.  It should be
a tmpfs mount writeable by all users, whereas the default devtmpfs permissions
for the directory are 0755.

Fixes builds of newer python releases as a non-root user.

Revision 1.15 / (download) - annotate - [select for diffs], Sat Jan 18 23:33:26 2020 UTC (15 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

all: migrate several HOMEPAGEs to https

pkglint --only "https instead of http" -r -F

With manual adjustments afterwards since pkglint 19.4.4 fixed a few
indentations in unrelated lines.

This mainly affects projects hosted at SourceForce, as well as
freedesktop.org, CTAN and GNU.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Jan 25 20:08:21 2019 UTC (2 years, 2 months ago) by agc
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

Update mksandbox to version 1.8

Fix in PR pkg/53896 from silas@nocafe.net for mksandbox to fully
support relative pathnames.

Revision 1.13 / (download) - annotate - [select for diffs], Sat Jan 27 19:07:46 2018 UTC (3 years, 2 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1
Changes since 1.12: +5 -5 lines
Diff to previous 1.12 (colored)

pkgtools/*: Realign variables in Makefiles

Mainly done by pkglint, manually reviewed and improved in some few cases.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Oct 14 12:50:07 2016 UTC (4 years, 6 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

Update to mksandbox-1.7.  Changes:

 - Handle /run/resolvconf/resolv.conf explicitly rather than mounting all of
   /run.  If /run exists then systemd will dynamically create /run/user/uid
   tmpfs mounts inside the chroot which mksandbox is unable to unmount.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Mar 3 04:41:15 2016 UTC (5 years, 1 month ago) by agc
Branch: MAIN
CVS Tags: pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

Patch from Silas Silva to:

+ add a --without-src command line argument which allows a sandbox to be
  made without mounting any src tree component

+ bump mksandbox package to 1.6.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Jul 5 11:47:14 2015 UTC (5 years, 9 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

mksandbox-1.5: Mount /run on newer Linux for dynamic resolv.conf

Revision 1.9 / (download) - annotate - [select for diffs], Tue Apr 14 08:55:07 2015 UTC (6 years ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2015Q2-base, pkgsrc-2015Q2
Changes since 1.8: +3 -2 lines
Diff to previous 1.8 (colored)

Update to mksandbox-1.4.  Changes:

 - Only copy $kernel if it exists, fixes warning on OSX 10.10 which moves
   the kernel location to a directory we already mount, noted by J. Lewis
   Muir on pkgsrc-users.

 - Add NO_CHECKSUM=yes to appease pkglint.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Mar 3 03:30:53 2014 UTC (7 years, 1 month ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1
Changes since 1.7: +2 -4 lines
Diff to previous 1.7 (colored)

Just define PKGNAME and use it.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Jul 24 22:16:26 2013 UTC (7 years, 8 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

mksandbox-1.3:

 - Add /usr/sfw to SunOS mount dirs, required for certain binaries on
   newer releases.
 - Mount proper instances of /dev and /dev/fd on SunOS rather than relying
   on devfsadm and ucblinks, the latter of which does not exist on newer
   releases.
 - Do not create /var/games if the games user does not exist.

Revision 1.6 / (download) - annotate - [select for diffs], Sat Jul 20 10:20:42 2013 UTC (7 years, 9 months ago) by jperkin
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

mksandbox-1.2:

  * Mount /proc read-write on Linux, it appears to be required for e.g.
    groupadd to function correctly.

  * Add new --rodirs and --rwdirs options, which allow arbitrary lists
    of directories to be mounted appropriately inside the chroot.

  * Add --without-pkgsrc which prevents the default pkgsrc directories
    from being mounted.

This allows mksandbox to be easily used for chrooted pbulk setups, using
a simple invocation such as:

  mksandbox --without-pkgsrc --rodirs=/usr/pbulk --rwdirs=/shared /chroot

Revision 1.5 / (download) - annotate - [select for diffs], Thu Jul 18 16:07:22 2013 UTC (7 years, 9 months ago) by jperkin
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

mksandbox-1.1:

  * Add /lib64 and /usr/lib64 on Linux.
  * Ensure that read-only --bind mounts on Linux are actually read-only.

Revision 1.4 / (download) - annotate - [select for diffs], Wed May 29 15:57:09 2013 UTC (7 years, 10 months ago) by agc
Branch: MAIN
CVS Tags: pkgsrc-2013Q2-base, pkgsrc-2013Q2
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

I'll take responsibility for this one.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Sep 11 23:19:35 2012 UTC (8 years, 7 months ago) by asau
Branch: MAIN
CVS Tags: pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4, pkgsrc-2012Q3-base, pkgsrc-2012Q3
Changes since 1.2: +1 -3 lines
Diff to previous 1.2 (colored)

"user-destdir" is default these days

Revision 1.2 / (download) - annotate - [select for diffs], Sun Aug 26 22:13:18 2012 UTC (8 years, 7 months ago) by wiz
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

Follow suit -- change to 2-clause BSD, and adapt Makefile LICENSE variable.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Aug 26 10:31:23 2012 UTC (8 years, 7 months ago) by wiz
Branch: MAIN

Import mksandbox-1.0 as pkgtools/mksandbox.

A small shell script to set up a sandbox (usually for a pkgsrc bulk
build), using null mounts.

The file lived in pkgsrc/mk/bulk/mksandbox, but is worthy of its own
package IMHO. New: with manpage.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>