Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-01-15 | PR pkg/45799 | ryoon | 1 | -3/+15 | |
* Use "mount -t nullfs" on FreeBSD, instead of "mount -t null". * On Linux, for creating /dev/*, use "mount --bind". Tested on FreeBSD/i386 9.0-RC3 and 9.0-RELEASE, CentOS/i386 6.2, 5.4, and Gentoo Linux/i386 (Linux kernel 3). O.K.ed by wiz@ | |||||
2009-09-20 | Avoid hardcoding sandbox location in a shell script. | wiz | 1 | -2/+2 | |
2009-09-06 | Match changes on NetBSD: mount /usr/X11R7 in sandbox by default instead of | wiz | 1 | -2/+2 | |
/usr/X11R6. | |||||
2008-04-01 | + Skip mounting X11 directories if --without-x is specified. | jlam | 1 | -1/+16 | |
+ Add a "chroot" option, stolen from pkg_comp(8) that starts a root shell with a better environment setup. | |||||
2008-04-01 | Add missing ] | jlam | 1 | -2/+2 | |
2008-02-26 | Add a --without-x flag to the mksandbox script. | jlam | 1 | -3/+9 | |
2008-01-04 | Replaced all references to pkglint with lintpkgsrc, which has its own | rillig | 1 | -6/+6 | |
package since a few days. | |||||
2007-05-19 | On Linux (at least Red Hat Enterprise 3), openssl needs libraries | wiz | 1 | -3/+6 | |
from /usr/kerberos and /dev/random in sandbox. On FreeBSD, use devfs to populate /dev in sandbox. From Sergey Svishchev. | |||||
2006-12-15 | Remove trailing tabs. | martti | 1 | -2/+2 | |
2006-12-14 | add /usr/sadm to the list of sandboxMountDirs for SunOS | dmcmahill | 1 | -2/+2 | |
2006-09-26 | Use /bin/mount if it exists on Linux, because some distros (e.g. Ubuntu | minskim | 1 | -2/+6 | |
Linux) do not have /sbin/mount. | |||||
2006-06-08 | Create /var/spool/lock in the sandbox. The directory is needed to | minskim | 1 | -2/+2 | |
build comm/minicom. | |||||
2005-11-16 | Interix cannot use the generic mksandbox procedure. Exit with error. | tv | 1 | -1/+6 | |
(A future Interix-specific mksandbox procedure is in work.) | |||||
2005-04-21 | by default don't try to include src and xsrc in the list of things to | dmcmahill | 1 | -11/+21 | |
mount in the sandbox. Then in the individual OS section, turn it back on if needed. Right now, just turn on NetBSD. At some point we should probably fill out the other supported OS's or figure out a way to pull in the information from the makefiles which already define much of whats needed. | |||||
2005-02-10 | on Linux, we need more than just /proc in the sandbox. :) | grant | 1 | -2/+2 | |
2004-10-24 | Allow the xsrc directory to be specified on the command line, defaulting to | agc | 1 | -3/+14 | |
/usr/xsrc if not specified, and check for its existence. | |||||
2004-09-16 | Make and mount the local patches directory when relevant. Fixes PR#26951 | cjep | 1 | -2/+10 | |
from Masanori Mikawa. | |||||
2004-09-02 | many kernel-grovelling tools in Linux need /proc mounted to do | grant | 1 | -1/+2 | |
anything useful. make it so. | |||||
2004-07-03 | add /var/sadm so that Solaris pkgchk(8) can read the package database, | grant | 1 | -2/+2 | |
xpm/builtin.mk uses this to determine whether Solaris has xpm. | |||||
2004-07-01 | the timezone file on Solaris is /etc/TIMEZONE. | grant | 1 | -2/+10 | |
2004-06-06 | on Solaris, ensure /usr/tmp and /var/tmp are created in the sandbox, | grant | 1 | -1/+2 | |
as nroff(1) and others complain if these directories don't exist. | |||||
2004-06-06 | remove "local" variable scope, it is not required and is NetBSD sh(1) | grant | 1 | -2/+2 | |
specific. | |||||
2004-02-13 | on Solaris, mount /opt/SUNWspro in the sandbox if it exists. | grant | 1 | -2/+2 | |
2004-01-30 | print a useful error if the pkgsrc directory or src directory | grant | 1 | -3/+16 | |
doesn't exist. | |||||
2004-01-30 | if an unknown option is given, don't treat it as a sandbox | grant | 1 | -3/+9 | |
directory, print the usage message instead. | |||||
2004-01-26 | add /usr/5bin for Solaris. | grant | 1 | -2/+2 | |
2004-01-22 | sandboxed builds also need /usr/dt and /usr/ucblib on Solaris. | grant | 1 | -2/+2 | |
2004-01-20 | on Linux, use --bind arg to mount(8) and call 'MAKEDEV generic' to | grant | 1 | -2/+6 | |
make the device files, as this is what Linux systems seem to use... | |||||
2003-09-02 | Merge pkgviews-mk branch into the HEAD by running: | jlam | 1 | -1/+1 | |
cd pkgsrc/mk cvs update -Pd -A cvs update -Pd -j pkgviews-mk-base -j pkgviews-mk | |||||
2003-08-10 | Also create /var/log/lastlog{,x} in the sandbox if they exist in the | seb | 1 | -2/+2 | |
hosting system. | |||||
2003-07-30 | Rename sandboxDirs to sandboxMountDirs. | seb | 1 | -14/+12 | |
Introduce sandboxEmptyFiles a list of files to create empty in the sandbox if they exist on the hosting system. Hence put /var/run in sandboxEmptyDirs list. Use $cppprog instead of cp. | |||||
2003-07-30 | Whitespace. | seb | 1 | -2/+1 | |
2003-07-29 | Introduce sandboxEmptyDirs a list of directories to create empty | seb | 1 | -5/+14 | |
in the sandbox if they exist on the hosting system: put /var/spool/mqueue as it was already created before and add /var/log for now (needed for various packages, like security/ssh2). Only create /var/run/utmp(x) if they exist on the hosting system. XXX this may better be an opsys dependent action. | |||||
2003-05-06 | Drop trailing whitespace. Ok'ed by wiz. | jmmv | 1 | -2/+2 | |
2003-04-13 | PR#21087. Some files are missing in bulk build sandboxes created by | cjep | 1 | -1/+9 | |
mksandbox. From Brook G. Milligan. | |||||
2002-12-31 | Introduce a variable called kernel which is either empty or contains the | cjep | 1 | -3/+7 | |
full pathname to the kernel file (e.g. for NetBSD /netbsd, OpenBSD /bsd, etc) | |||||
2002-12-31 | Loopback mount /proc on SunOS. shells/tcsh successfully builds in the sandbox | cjep | 1 | -2/+9 | |
except for one peculiar thing: bmake does not pick up a definition for CC. Something is missing (for SunOS). | |||||
2002-12-31 | Add /usr/ccs, /usr/ucb and /usr/xpg4 for SunOS in sandboxDirs. | cjep | 1 | -2/+2 | |
Provided that I copy a working gcc and the binaries from the bootstrap kit into the sandbox manually, this gets me as far as having a pkgsrc sandbox that can build pkg_tools/pkg_install. | |||||
2002-12-31 | 1. On SunOS populate /dev in the sandbox with devfsadm and ucblinks. | cjep | 1 | -21/+20 | |
2. Introduce sandboxDirs, a list of directories that need to be null mounted. This is different (e.g. on SunOS). | |||||
2002-12-31 | 1. Introduce mountflags so that we can tune the mount command for Solaris | cjep | 1 | -8/+13 | |
(et al.). 2. Use the loopback filesystem on Solaris. | |||||
2002-12-31 | Introduce idprog so that Solaris survives the root test. | cjep | 1 | -2/+7 | |
2002-12-03 | Apply patches from Sergey Svishchev in PR 19221 to get the correct value | agc | 1 | -1/+3 | |
for localpatches and to make that directory available in the sandbox. | |||||
2002-11-20 | Fixes from Robert Elz to: | agc | 1 | -9/+17 | |
+ umount filesystems in the reverse order from that which they were mounted + null-mount /lib and /libexec in a way more consistent with the original | |||||
2002-11-08 | Take care of -current's /lib and /libexec. | seb | 1 | -2/+8 | |
Noted by Julio Merino <jmmv at menta dot net> in PR pkg/18968, I had this in my trees for weeks and I forgot about it... | |||||
2002-08-22 | Merge pkgsrc/mk from the buildlink2 branch back into the main trunk. | jlam | 1 | -1/+1 | |
2002-08-15 | Actually Alistair was right: $packages and $distfiles also need to be | seb | 1 | -1/+2 | |
$mkdirprog'ed, it helps on a fresh/virgin/cleaned up bulk building system. | |||||
2002-08-12 | Make sure that /var/games exists in the sandbox, and has the correct | agc | 1 | -1/+11 | |
permissions. | |||||
2002-08-12 | New feature: this script now create $sandbox/sandbox, a shell script | seb | 1 | -1/+50 | |
to ease the use of the sandbox. $sandbox/sandbox umount Umount the null mounts from the sandbox $sandbox/sandbox mount Mount the null mounts required by the sandbox (useful across reboots, ...). $sandbox/sandbox whatever Runs the command passed as arguments, chrooted into the sandbox. Typical usage would be `$sandbox/sandbox /my/favourite/shell'. $sandbox/sandbox Same as `$sandbox/sandbox /bin/sh' Approved by agc. | |||||
2002-08-12 | - Remove $sandbox/etc/localtime before copying /usr/share/zoneinfo/GMT over. | seb | 1 | -4/+5 | |
This prevent surprise when /etc/localtime -previously copied over in the sandbox by pax/tar- is a symlink to /usr/share/zoneinfo/whatever. - Improve somewhat some messages. - Make sure $sandbox/$packages and $sandbox/$distfiles are created instead of $packages and $distfiles. | |||||
2002-08-12 | Don't null-mount all of /var - just do /var/mail for just now, so that | agc | 1 | -2/+2 | |
the packages which expect a sane mail delivery set up can configure and build within the sandbox. |