Commit graph

3049 commits

Author SHA1 Message Date
John Marino
a5f84a8ad8 Add new port ports-mgmt/genpatch (toolset used in dports for 18 months)
=====

This is a set of three simple tools written in sh(1) for generating single
patches for use in Ports.  This set is ideal for creating a new patch when
it is inconvenient or undesirable to use the "make makepatch" utility.

The first tool is "dupe" which is a quick copy utility.  The second tool
is "genpatch" which creates patches in the standards diff format and
using the standard file name conventions.  The last tool is "portfix"
which runs "dupe", an editor of choice, and "genpatch" serially as a
macro as a convenient and quick way to create port patches.

Please see the dupe, genpatch, and portfix man pages for details.
2015-05-17 23:48:01 +00:00
Joe Marcus Clarke
76df15a96d Update to 2.16.4
* Correct a typo.  This should have been SITE_ARCH_REL. [1]
* Pre-populate USES with an explicit grep of the Makefile. [2]
* Correct a typo to prevent direct command usage checking in pkg-* files. [3]
* Adjust the order of first-paragraph items so that proper checking is done. [4]
* Adjust the warning about installing docs by wrapping with
  .if ${PORT_OPTIONS:MDOCS}. [5]
* Add a check for ${SETENV} instead of ${ENV}. [5]

PR:		199974 [2]
		199693 [3]
		199428 [4]
		199417 [5]
Submitted by:	adamw [4]
		sunpoet [1]
2015-05-17 22:44:09 +00:00
Bryan Drewery
fcbbe93db8 Update to 2.4.13-7-g47dfa22
Changes:
  * Don't install missing dependencies which are already satisfied (#62).
    Note that this purposely causes these missing dependencies to not show
    in the job (-n) and final results output which is a compromise to at least
    avoid the wrong packages being installed. The logging issue is in #30.
2015-05-15 00:15:39 +00:00
Bryan Drewery
21abd79a72 Update to 2.4.13-6-g72b4c34
Changes:
  * Fix ordering of build based on FETCH/PATCH/EXTRACT dependencies.

PR:		177365
Submitted by:	truckman@
2015-05-14 22:03:33 +00:00
Bryan Drewery
ca8cbf8b91 Update to 2.4.13-3-g9696855
Changes:
  * Support security vulnerabilities as a build failure reason.

PR:		192232
Submitted by:	Yuri <yuri@rawbw.com>
2015-05-14 18:32:22 +00:00
Bryan Drewery
779a636130 Update to 2.4.13-2-g2c079e1
Changes:
  * portupgrde -p: Fix new dependencies not getting installed. (#58)

PR:		184672
2015-05-14 18:27:30 +00:00
Mathieu Arnold
60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00
Mathieu Arnold
88bfe4bd43 Cleanup DIST* variables.
When appropriate:
- Try to use DISTVERSION{SUF,PRE}FIX
- Replace PORTNAME-PORTVERSION by DISTNAME
- Convert MASTER_SITES to use macros
- Other light cleanup

With hat:	portmgr
Sponsored by:	Absolight
2015-05-11 18:34:57 +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
Mathieu Arnold
65a99e72a5 Move p5- ports from ports@ to perl@.
With hat:	perl@
Sponsored by:	Absolight
2015-05-11 12:04:18 +00:00
Antoine Brodin
49caccfa22 Unbreak portshaker-config slave port 2015-05-08 16:37:46 +00:00
Baptiste Daroussin
aa69fca2a3 Update to 1.5.2
Changes:
- Documentation updates
- Make pkg alias -l respect quiet
- Reinstall packages if shlib provided has changed
- Do not expose shlibs without SONAME as provided libs
- Fix pkg audit -r formatting
- Stop elf analysis sooner if not operating on an elf file
- Fix checking signatures on arm
2015-05-07 22:50:51 +00:00
Baptiste Daroussin
cc8d23daab Update to 1.5.99.2
Changes:
- Documentation updates
- Make pkg alias -l respect quiet
- Reinstall packages if shlib provided has changed
- Do not expose shlibs without SONAME as provided libs
- Update sqlite to 3.8.9
- Add linenoise to have editing capabilities with pkg shell
- Fix pkg audit -r formatting
- Stop elf analysis sooner if not operating on an elf file
- Fix checking signatures on arm
2015-05-07 22:45:08 +00:00
Mathieu Arnold
fe8c93a322 Update ports in the p* categories to not use GH_COMMIT.
With minor cleanups to make things simpler.

With hat:	portmgr
Sponsored by:	Absolight
2015-05-07 17:32:52 +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
aa6ad6e726 USE_GITHUB: For the new support, fix DISTNAME to be more consistent.
When using GH_TAGNAME the DISTNAME would have GH_PROJECT and GH_ACCOUNT in
it. When not using GH_TAGNAME it would not have this. Now both cases
will add in the GH_PROJECT and GH_ACCOUNT.

Add special care to ensure that the DISTVERSION is not added in twice. If
a port does GH_TAGNAME=v${PORTVERSION} it will be added in twice though. For
that case DISTVERSIONPREFIX=v should be set and no GH_TAGNAME should be used.

empty() is used rather than (!defined || !${}) to support fmake.

The purpose of setting DISTNAME at all in these cases is to make it more clear
that the distfile is from *GITHUB* and to avoid collisions if a project were
to be renamed or moved. Without adding in GH_PROJECT and GH_ACCOUNT then there
are real risks that collisions on filenames would happen on renamed or moved
projects, which is fairly common. A GITHUB-generated file may not match
a custom-rolled or git-archive-rolled distfile.

PR:		199069
With hat:	portmgr
Testing done:	All USE_GITHUB ports without GH_COMMIT were checksum/fetch/extract/WRKSRC tested.
2015-04-28 18:44:04 +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
John Marino
330ab91772 ports-mgmt/pkg-devel: Regenerate EXTRA_PATCHES (unbreaks DragonFly)
The patch target will fail if EXTRA_PATCHES is defined, but it is
only defined on DragonFly (change is no-op for FreeBSD)

Approved by:	Just fix it
2015-04-16 22:23:19 +00:00
Grzegorz Blach
45bf4cceb6 Back to the pool.
Currently and in near future I don't have time to be responsible
for any port.
2015-04-16 20:13:43 +00:00
Baptiste Daroussin
e78a6af418 Update to 1.5.1
Changes:
- Fix pkg ssh://
- Fix a missing '\n' in pkg audit
- Fix compat at functions to not mess up with cwd
2015-04-16 15:28:37 +00:00
Baptiste Daroussin
36a72bc24f Update to 1.5.99.1
Changes:
- Fix pkg ssh://
- Fix a missing '\n' in pkg audit
- Fix compat at functions to not mess up with cwd
2015-04-16 15:25:43 +00:00
John Marino
aadfeb0da6 ports-mgmt/pkg: Regenerate EXTRA_PATCHES (unbreaks DragonFly)
The patch target will fail if EXTRA_PATCHES is defined, but it is
only defined on DragonFly (change is no-op for FreeBSD)

Approved by:	Just fix it
2015-04-14 21:32:00 +00:00
Bryan Drewery
ea5adfb8f1 Let WITH_CCACHE_BUILD work on the pkg port that is not PKG_ORIGIN.
For example, if ports-mgmt/pkg is PKG_ORIGIN then it is safe to use
ccache for ports-mgmt/pkg-devel.
2015-04-14 20:58:26 +00:00
Baptiste Daroussin
27b1e9e432 Update to 1.5.0
Changes since pkg 1.4.0:
- Initial provides/requires support
- Lots of new regression tests have been added
- Initial support for OS X
- Initial support for NetBSD/EdgeBSD
- Update most of the bundled third party software has been updated to their
  latest version
- Improve the messages reported by pkg
- Properly support file flags
- Implement argument support for custom keywords
- Extend setting credential via plist to allow to set file flags
- Make credential syntax via plist more flexible allow to only defines the first
- pkg updating now supports case insensitive matching
- pkg create now support a verbose mode
- Add an option to change the default on question, until now the default answer
  was "No" with that option set it would be "Yes"
- Lots of fixes to pkg audit -r
- Global memory usage reduction and speed up
- Improvements and cleanup on pkg alias
- pkg annotate --show --all has been fixed
- Make pkg.h C++ friendly
- Lots of improvements in the solver
- Lots of fixes on 32 bits platforms
- Add support for: pkg create -M ./plop.ucl -p ./plop.plist
- New pkg -r <rootdir> that will install in the given rootdir without chrooting
- Export PKG_ROOTDIR to scripts allow to make them as portable as possible
- Stop trying to remove all installed package with the argument of pkg delete is
  a local file
- Be more explicit about why the solver it going to reinstall, remove or upgrade
  (when possible)
- Plenty of bug fixes
- Plenty of new bugs
- pkg shlibs now support -q
- pkg lock gained a new --has-locked-packages option
- pkg now resumes fetch if possible
- CONSERVATIVE_UPGRADE is now on by default
- pkg alias now have a -l argument to list aliases
- A sample pkg.conf is now installed with a bunch of aliases set by default
- Fix the backup script to properly export an sql which will be importable via
  pkg shell and/or sqlite out of box

Thanks to all testers and contributors,
2015-04-14 19:07:53 +00:00
Baptiste Daroussin
0bfa28f3ea Update to 1.5.99.0 aka (1.5.0 but from master branch)
Changes:
- Fix pkg query -e "%#0"
- Add some test for pkg query
- Add some tests for pkg repo
- pkg repo now follows symlinks and skip Latest
- Bunch of documentation updates
2015-04-14 18:59:17 +00:00
Joe Marcus Clarke
88071ad77f Update to 2.16.3.
* Check the patches to make sure they were generated using ``make patch'' [1]
* Do not throw a bunch of Perl errors if the makefile is bad [2]

PR:		197747
		198887
2015-04-13 04:53:25 +00:00
Baptiste Daroussin
2aacf18235 Update to 1.4.99.20 aka pkg 1.5.0 rc2
Changes:
- Print notice to stdout
- Prevent pkg-static from trying to load plugins
- Bring back displaying of download size
- pkg shlib now support -q (quiet)
- Accept symlinks in pkg repo and ignore directories named (Latest or hidden: starting with a .)
2015-04-11 13:30:48 +00:00
Bryan Drewery
4b36d9cb6b Update to 3.1.4
Changelog: https://github.com/freebsd/poudriere/wiki/release_notes_314
2015-04-10 16:06:21 +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
8b25d0a634 I'm really not working on this. Please direct questions to ports@FreeBSD.org.
If someone else would like to maintain this please discuss with me and I will
get you access to the github account where the code lives.
2015-04-09 15:20:31 +00:00
Michael Landin
11a889d0f8 - change dbm to bsddb
- RUN_DEPENDS

PR:	199294
2015-04-08 17:19:21 +00:00
Dag-Erling Smørgrav
c7dd917d9f Still working on an updated version 2015-04-07 21:03:46 +00:00
Baptiste Daroussin
b9f89802dc Install a default pkg.conf is not already existing
Requested by:	amdmi3
2015-04-07 12:09:35 +00:00
Baptiste Daroussin
f4e0af4cde Update to 1.4.99.19 aka 1.5.0-rc1
Changes:
- Activate CONSERVATIVE_UPGRADE by default (by popular demand)
- Add -l to pkg alias
- Small improvements on zsh completion
- Add some new popular aliases to the sample pkg.conf
2015-04-07 12:08:59 +00:00
Michael Landin
0b9cf3e59a - fix unfetchable port (MASTER_SITES) 2015-04-07 10:57:22 +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
Baptiste Daroussin
b82954d753 Update to 1.44.99.18
Changes:
- Add the user_version in the sql dump
- Fix pkg version when checking the ports tree without INDEX
- Make pkg lock -l respect -q
- Fix ipv6
- Add noauto alias
- Make lead alias more accurate
- New pkg lock --has-locked-packages (return 0 if it has locked packages 1 otherwise)
- Resume fetch support for http/ftp
2015-04-03 20:03:04 +00:00
Baptiste Daroussin
cc047292ea Update to pkg 1.4.99.17 (pkg 1.5.0 beta2)
Changes:
- Allow processing of Transfer-Encoding: chunked responses. when fetch a package
- Only consider compatible ABI when processing shlibs provides/requires
- Ensure to first satisfy requires on packages already in universe before trying
  add new ones into the universe
2015-04-02 18:14:45 +00:00
Jason Helfman
3577423614 - remove do_nada
Approved by:	portmgr (blanket)
2015-04-01 22:08:58 +00:00
Jason Helfman
166d6c7638 - remove do_nada and unmute installation
Approved by:	portmgr (blanket)
2015-04-01 22:06:12 +00:00
Jason Helfman
c2e1640fcb - portell is BROKEN 2015-04-01 20:09:13 +00:00
Jason Helfman
061e2a1317 - mark broken, no longer distributed on SF
Approved by:	portmgr (bdrewery)
2015-04-01 18:48:18 +00:00