Commit graph

169 commits

Author SHA1 Message Date
Bryan Drewery
825647e47b Move the release MANIFESTS to misc/freebsd-release-manifests.
Also add a dependency for ca_root_nss to Poudriere.
2016-06-29 23:37:51 +00:00
Bryan Drewery
5efb37b46b Fix debugging that crept in 2016-06-24 15:53:47 +00:00
Bryan Drewery
f456be1f91 - Update to 3.0-1677-g146fc3f
- Support 252 colors for job IDs
  - Ensure bmake is used for ports_env (fixes usage for 9.x)
  - Fix creating /nxb-bin in the root system
2016-06-24 15:51:06 +00:00
Bryan Drewery
7cd28fe816 - Update to checkin 3.0-1669-g5d15cfe
Changes:
 - jail -c: Fix fetching for 11.0-ALPHA
2016-06-11 22:11:06 +00:00
Bryan Drewery
0510940b0b - Update to checkin 3.0-1668-g5880c23
Changes:
  - jail: Fix usage for -m src=PATH
  - jail -v: Note that non-listed methods used the value only for display.
  - QEMU: Copy the latest emulator into the jail at startup. This fixes
    the jail running into bugs with qemu that are fixed with the latest
    qemu.  It was only copying it in during creation before.
  - bulk: Avoid redundant cleaning message with jailversion cleanup.
  - Add and document PORTBUILD_UID and CCACHE_DIR_NON_ROOT_SAFE. [1]

PR:		209786 [1]
2016-06-03 22:36:48 +00:00
Bryan Drewery
c2d922f037 - Update to 3.0-1663-gf6c1bad
Changes:
 - Tweak ccache+BUILD_AS_NON_ROOT so that BUILD_AS_NON_ROOT is just default
   off, with a warning, when CCACHE_DIR is set.

PR:		209786
2016-05-31 22:31:16 +00:00
Bryan Drewery
1046f6f6c8 - Update to 3.0-1662-gc11d922
Changes:
 - Fix incorrect handling of null-mounting /nxb-bin in jail
 - Disable BUILD_AS_NON_ROOT if CCACHE_DIR is set [1]
 - Fix mount path too long when using linprocfs

PR:		209786 [1]
2016-05-31 16:47:49 +00:00
Bryan Drewery
65b4f132ac - Update to 3.0-1659-gfdf5930
Changes:
  - Fix build on < 10.0.

PR:		209656
Reported by:	vas@mpeks.tomsk.su
2016-05-20 18:49:16 +00:00
Bryan Drewery
f80b9c18bc - Update to 3.0-1658-g99b3286
Changes:
  - Hide warnings when cleaning up schg files.
2016-05-19 17:45:03 +00:00
Bryan Drewery
c3f8fa15e6 - Update to 3.0-1657-g0b204f0
Changes:
  - jail/ports -u: Default git pull to use --rebase.
  - destroyfs: Run chflags -R 0 and on a smaller subset of files.
  - ports: Ignore failures when removing the ports tree
  - jail: Ignore errors trying to remove the jail
  - Create port-specific directories in do_portbuild_mounts.
  - Rework the cleanup to respect -x inside of the directory.
  - Support -(j|p|z)<param> without space for poudriere.conf lookups
  - hash_var_name: Quote the pattern to _gsub to avoid globbing local files.
  - Update sh from head @ r296813
  - Switch BUILD_AS_NON_ROOT as default to on.
2016-05-18 22:59:51 +00:00
Mathieu Arnold
8d6597e0bb Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:16:16 +00:00
Bryan Drewery
2ad59ab084 - Update to 3.0-1641-gf976ae1
Changes:
   - Fix error starting up when jail contains ':' (or other special characters)
2016-02-16 17:01:44 +00:00
Bryan Drewery
cbc5818542 - Update to 3.0-1639-ga5325bf
Changes:
  - Optimize jail startup/cloning/rollback and mtree comparisons.
  - api: Make more useful
  - check_fs_violation: Use mktemp rather than hard-coded tmpfile
  - Fix false-positive 'Leftover processes' warning after disabling jexecd
  - Conditionalize the jexec logic around USE_JEXECD and add back missing jkills.
  - QEMU: Remove _MAKE_JOBS not present in release-3.1 and noted to break
    builds by sbruno
  - Kill processes before remounting/rolling back the builder FS, rather than
    after.
  - jail -c: Support older FREEBSD_HOST=ftp.freebsd.org URL schemes still. [1]
  - jail -c: Support pre-distributed MANIFESTs for checksum comparing.

PR:		206848 [1]
2016-02-16 00:14:38 +00:00
Bryan Drewery
651d23fa1c Enable ZSH option by default 2016-02-09 00:07:53 +00:00
Bryan Drewery
b1d21a4c2e - Update to 3.0-1609-g7147a70
Changes:
 - jail -c: Always copy in QEMU emulator, even if not building from src.
 - jail -c: Ensure MANIFEST is not empty or give an error.
 - Clear CMD_ENV to disallow sneaking in environment vars
 - Update libnv to the latest head @ r293361
 - Update sh from head @ r293359
 - Null-mount read-only /rescue and /nxb-bin into the jails as they will not
   change.
 - Add a MUTABLE_BASE option (default yes) to experiment with null-mounting of
   base.
 - Prefer https://download.FreeBSD.org for snapshot downloads from FreeBSD.
 - Remove duplicate NM from make.nxb.conf.
2016-01-27 19:56:35 +00:00
Baptiste Daroussin
c387f93b28 Fix default svn url for ports
Reported by:	many
Pointy hat:	bapt
2015-12-31 12:50:32 +00:00
Bryan Drewery
89c08f63ee - Update to 3.0-1596-g9dc9ca4
Changes:
  - jail -d: If stdin is a TTY, confirm before removing jail.
  - Disable rexec/jexecd for now as it has issues on <head and seems racy on
    head as well, possibly leading to "Unable to execute id(1) in jail."
  - QEMU: Use host pkg-static in the jail for repo to speed it up.  For
    this PKG_REPO_FROM_HOST=yes may be needed on mips.
2015-12-04 16:42:29 +00:00
Bryan Drewery
9db7964a0e Revert usage of -x for rm(1) for now due to 9.x not having it. 2015-11-30 17:26:50 +00:00
Bryan Drewery
869a663eae - Update to master branch checkin 1e0fd46149f9e17e12dadcdd0a28ef40b06587aa
This brings in almost a year of updates that had been held back.

Changes: https://github.com/freebsd/poudriere/wiki/release_notes_32

  - New sub-command 'image' which is still in development, for generating
    install images.
  - Some poudriered fixes, but it is still experimental.
  - DISTFILES_CACHES may be 'no' to use distfiles/ from ports tree.
  - A cache daemon has been added in, off by default, for experimentation.
  - The ports 'environment' feature from Mk/Scripts/functions.sh:export_ports_env
    is used for dependency gathering now, which avoids 8 or so fork/execs for
    every make -V call.

  jail:
    - New -K [KERNCONF] flag to build and install a kernel into the jail.
    - New -S <path> flag to specify what srcpath to use from the master jail,
      rather than /usr/src.
    - Git support.
    - New -U flag to specify what url to fetch from for git and svn.
    - EXTRA_DISTS added to add to the distribution list fetched/extracted, from
      poudriere.conf.
    - NO_LIB32 added, when set to 'yes' skips installing lib32 distribution.

  ports:
    - Support '-m none' to disable portsnap usage.
    - New -U flag to specify what url to fetch from for git and svn.

  Build process handling:
    - A jexecd process is spawned in the jail and communicated with via rexec
      using a pipe.  This is intended to lessen the jail locking contention,
      allow more easily cleaning up processes, and limiting of TTY.  It is
      still considered experimental.
2015-11-25 17:27:05 +00:00
Bryan Drewery
90d937a2c2 Update to 3.1.9-30-g47b14b7
Changes:
  - Fix 'builder stop' hook, which never worked.
  - Don't transcend mount directories when running rm -rf
  - Stop exporting MY_JOBID
  - Run 'builder stop' hook always in stop_builder() [this means the hook
    runs at startup as well to clean out stale builders].
  - Enable post-mount jail hooks.
2015-11-23 17:29:31 +00:00
Bryan Drewery
ec0e72e4ad Update to 3.1.9-22-ga91b224.
Unless something major is wrong here, this will be 3.1.10 and the next update
to -devel *will be* master which has a year of pending updates.

Changes:
  -Always call make by absolute path of /usr/bin/make.
  -Update stale comment about MFS
  -Fun things happen with /nonexistent exists. Ensure it doesn't.
  -testport: Allow -o to be optional.
  -Mark poudriere-queue experimental.
  -Using ccache on 10+ is fine so long as we use a PATH.
  -XDEV: Don't endlessly append to make.conf on updates.
  -Fix leftover lock file in /tmp at cleanup
  -Support in-tree ccache for buildworld on recent head
  -Always use the FAST_DEPEND option for buildworld.
  -Go crazy, use -j for installworld targets on recent head
  -Allow comments on the same line with port entries in blacklist
2015-11-09 17:14:12 +00:00
Bryan Drewery
2dd1601dae - Update to 3.1.9
Changes: https://github.com/freebsd/poudriere/wiki/release_notes_319

  - Fix handling of ports dependencies without a PORTSDIR
  - jail -c: Fix fetching when TARGET does not match TARGET_ARCH
2015-10-14 21:06:00 +00:00
Bryan Drewery
373caa805d - Update to 3.1.7-54-g6b5b90c
Changes:
  - Fix cases where /var/db/freebsd-update was not being ignored.
  - Fix crash from 'make showconfig'
2015-09-15 15:48:40 +00:00
Bryan Drewery
0ac6456add - Update to 3.1.7-52-g1988cd4
Changes:
  - Support new pkg bootstrap PUBKEY signature format.

PR:		202622
2015-09-14 23:35:25 +00:00
Bryan Drewery
2ef6d8d856 Add missed distinfo for r393626 2015-09-03 18:38:18 +00:00
Bryan Drewery
8f08c1740b Update to 3.1.7-51-ga3fb251
Changes:
  - Remove old references to the fossil site and point to github.
  - options: Override LOCALBASE to prevent pollution from
    LOCALBASE/etc/perl5_version. Also use which(1) to find
    some helper tools.
  - Avoid SIGINFO crash in startup

As long as this is stable, this will be release as 3.1.8. The next update will
then be an update from master, holding the 3.2 code.
2015-09-03 17:52:39 +00:00
Bryan Drewery
d7eb465606 - Update to 3.1.7-41-gb7d0543
Changes:
  - bulk -c: Restore previous behavior with log deletion. Don't wipe out ALL
             logs, only delete the ones for the given build. This change
             almost inadvertently wiped out all logs and violates POLA at
             this point.
  - bulk -c: Fix it, it wouldn't start.
  - Misc cleanups
2015-08-05 23:06:38 +00:00
Bryan Drewery
7aa35def9b - Update to 3.1.7-34-g1c90084
Changes:
  - jail: check the directory for method src=
  - csup has been deorbited from the project
  - Test to make sure $SVN_CMD is actually set before trying to use it.
    Improve test and error message for detecting if svn is installed.
  - jail -x: Run native-xtools from /usr/src for now.
  - Remove EOL 8.3 support
  - Run 'jail start' hook before any 'make' commands.
  - jail -m src: Fix handling of cross-compile by setting proper TARGET/TARGET_ARCH
  - Remove use of SVN mirrors.
  - Fix need_emulation to only check TARGET_ARCH against kern.supported_archs.
  - Let KEEP_OLD_PACKAGES work on 9.x/8.4 with sort(1) lacking -V [1]
  - Fix typo in poudriere.8
  - Correct typo in poudriere -p help output

PR:		193732 [1]
2015-08-04 19:45:33 +00:00
Bryan Drewery
0144377185 Update to 3.1.7-15-ge84bac5.
I had intended to update this to master but have not yet fixed a blocking
bug on it.

Changes:
  - status -a: Fix handling of showing older builds.
  - QEMU: Add a hack to raise the default build times.
  - Don't crash starting up a job, or otherwise, if the time goes backwards.
  - blacklist: Fix loading of JAIL-SETNAME-blacklist
  - QEMU: Always try loading a qemu-blacklist file
  - Add a helper 'clock_monotonic' to use clock_gettime(CLOCK_MONOTONIC)
    rather than non-monotonic 'date +%s'
  - Use monotonic time for calculating durations
  - Add a build.started epoch time.
  - Add a build.ended epoch time that is set in the last HTML json generation.
  - Update sh to FreeBSD r281982
  - Fix build on older FreeBSD due to sh. If F_DUPFD_CLOEXEC is unavailable
    then use system sh.
  - Ignore /var/db/freebsd-update/ too.
2015-06-08 20:37:58 +00:00
Bryan Drewery
e335283ca2 Update to 3.1.7
Changes: https://github.com/freebsd/poudriere/wiki/release_notes_317
 - Restore /usr/sbin and /sbin to PATH lost in 3.1.5
 - HTML: Fix broken log link from 3.1.5
 - Avoid copying /var/db/freebsd-update into build jails
 - QEMU: Fix handling of elftoolchain install for older src checkouts.
2015-05-27 14:44:14 +00:00
Bryan Drewery
58e884a591 Update to 3.1.6
Changes:
  - jail -m src: Fix asking about removing files. This was a bug in 3.1.0. The
    fix came in right after 3.1.5 release.
2015-05-11 15:57:51 +00:00
Bryan Drewery
677d6537a9 Update to 3.1.5
Changes: https://github.com/freebsd/poudriere/wiki/release_notes_315
2015-05-11 14:03:53 +00:00
Bryan Drewery
5f81aa59f7 Update to 3.1.4-71-g652abb7
Changes:
  - Fix running poudriere in a jail due to lack of procctl(2) access.
2015-05-01 17:25:25 +00:00
Bryan Drewery
b02499c80b Update to 3.1.4-70-gea2537e
Changes:
  - Fix testport -o for invalid origins.
  - HTML open tag fixes
  - Fix temporary file creation causing bad 'mv: fastcopy' warnings about
    JSON files.
2015-04-29 05:39:24 +00:00
Bryan Drewery
5f9aedd9d5 No need for bsd.port.options.mk now 2015-04-28 17:27:28 +00:00
Bryan Drewery
50dc2835d5 Update to 3.1.4-62-g431268b
Changes:
  Fix building of HTML json files / an occasional 'mv: fastcopy:' warning.
2015-04-22 16:18:28 +00:00
Bryan Drewery
c93dd5c05c Remove my accidentally committed test for r384436 2015-04-21 18:24:18 +00:00
Bryan Drewery
f1324f8f05 Update to 3.1.4-61-g2259889
Changes:
  Support STRICT_DEPENDS.
2015-04-21 18:20:08 +00:00
Bryan Drewery
811b15052e Update to 3.1.4-60-ga6e4d2b
Changes:
  Fix build with 8.4.
2015-04-21 17:01:50 +00:00
Bryan Drewery
c726dd5df1 Update to 3.1.4-58-gd237819
Changes:
    Fix not setting proper UNAME_m/p for powerpc64 cross build
    Fix qemu builds not setting MACHINE/MARCHINE_ARCH in make.conf
    QEMU: No need to set MACHINE/MACHINE_ARCH in env.
    QEMU: For consistency set UNAME_m/p in jail's login.conf.
    Don't let balance_pool() failure crash a builder.
    Avoid double ln(1) when called in a clean_pool/stop_build failure from build_pkg
    When a build crashes and does not complete, properly cleanup its builder jail.
    bulk queue optimizations
    Call pkg_cache_data in a separate worker. This allows build_pkg() to finish quicker.
    bulk -t/testport: Fix the first package built in a jail not showing its needed shared libraries.
    Disable 'set -x' in some noisy functions
    Rewrite lock_acquire() to not spam 'sleep 0.1'
    SIGINFO: Disable trap when erroring, exiting or in other traps
    SIGINFO: Don't allow running twice, and ignore errors.
    SIGINFO: Hide html_json's sleep(1) SIGINFO output
    Allow TMPFS_DATA to be used for builders too.
    Always protect(1) poudriere and its coprocesses from OOM killer.
    Create temporary files in [MASTER]MNT/.p/tmp when possible rather than /tmp
    Don't ignore SIGINT in bg processes. This should fix cpdup spam on ^C during cloning.
    Fix some interleaved messages during parallel processing.
    Rework stderr prefixer for parallel jobs.
    Don't show 2 errors when failing to get PKGNAME.
    Import and prefer /bin/sh from FreeBSD r281718. This simplifies compatibility and allows job control.
2015-04-20 16:34:00 +00:00
Bryan Drewery
5acb2d8b21 Update to 3.1.3-7-g07740a0
Changes:
  - Run ldconfig -m (/etc/rc.d/ldconfig) on jail startup rather than
    jail creation.
2015-04-10 01:54:02 +00:00
Bryan Drewery
e97430e0b1 Update to 3.1.3-6-g784f9aa
Changes:
  - jail -cx: Fix incorrect hard linking.
  - Support building powerpc from powerpc64 without qemu.
  - Document that '.' is not allowed in -jzp
  - jail_start: Enforce no '.' in -jzp.
2015-04-09 18:55:33 +00:00
Bryan Drewery
ecd4ad78f3 Update to 3.1.3
Changes:
  - Fix deleting jails when using NO_ZFS/TMPFS_ALL is used.
2015-04-04 04:45:06 +00:00
Bryan Drewery
1076dc61a3 Update to 3.1.2
Changes:
  - HTML: Fix JS error processing data.status by improving compatibilty with
    older JSON files.
2015-03-31 17:12:18 +00:00
Bryan Drewery
b095e282a3 Update to 3.1.1-42-g77fcbdb
Changes:
  - jail -u: Fix freebsd-update caring about host `sysctl kern.bootfile`
2015-03-28 01:59:13 +00:00
Bryan Drewery
5d0c7072fa Update to 3.1.1-41-g00ae908
Changes:
  - Fix 'cp: File Exists' and 'identical (not copied)' errors
  - jail -u: Fix freebsd-update for EOL and non-TTY usage
  - ATOMIC_PACKAGE_REPOSITORY: Fix crash if user removes the dir .latest
    refers to
2015-03-26 22:03:24 +00:00
Bryan Drewery
8c9ad9f26a Update to 3.1.1-36-g2c5e0ca
Changes:
  - jail -i: Show 'fs' and 'mnt' values
  - Fix ZFS not rolling back the jail to clean when using TMPFS
2015-03-25 05:30:31 +00:00
Bryan Drewery
d25eacbd97 - Update to 3.1.1-34-g9b5d330
This fixes a realpath warning from all poudriere commands.
2015-03-23 21:17:34 +00:00
Bryan Drewery
4ac087e9d4 Actually there is a harmless warning only. 2015-03-23 21:07:59 +00:00
Bryan Drewery
2cf8453e6d Block this for now as it is not actually running now. 2015-03-23 21:05:41 +00:00