1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00
Commit Graph

3601 Commits

Author SHA1 Message Date
Bryan Drewery
fb1737054c Update to 3.2.3-64-gc33e3600
- Fix build of ports with '-' in PKGBASE.
  - Fix some output not being timestamp-prefixed.
2018-01-02 23:01:37 +00:00
Stefan Eßer
b47f5eb864 Add undocumented option --package-format=<fmt>. I'm not sure, that this is
a useful feature, and the txz-format is currently hard-wired in a lot of
places in portmaster, but there has been a request to allow creation of
packages in a non-standard archive format.

Approved by:	antoine (implicit)
2018-01-02 22:44:39 +00:00
Bryan Drewery
16a5938f21 Update to 3.2.3-62-g832b3a1c
- image: Document -m in manpage
  - processonelog: Add case for #error
  - Allow MAX_FILES_<PKGBASE> to override MAX_FILES
2018-01-02 19:47:35 +00:00
Stefan Eßer
dc24a9071d Fix package name: the pattern that gets replaced with the actual version
string at build time had been replaced by a version string from a test
version.

Reported by:	herbert@gojira.at (Herbert J. Skuhra)
Approved by:	antoine (implicit)
2018-01-02 14:26:20 +00:00
Stefan Eßer
e74eb8af18 Increment PORTREVISION, forgotten in previous commit.
Approved by:	antoine (implicit)
2018-01-02 14:05:09 +00:00
Stefan Eßer
177c5fb794 Add --backup-format=<fmt> option to allow faster creation of package
backups with no or less compression than the default of "txz" provides.

Support for different archive format for packages in general could be
provided, but not added at this time, since I'm not convinced that this
would be a useful feature (please let me know, if you disagree ...).

Approved by:    antoine (implicit)
2018-01-02 14:03:35 +00:00
Stefan Eßer
05fc103eac ----------------------------------------------------------------------------
Fix spelling of OPTIONS_FILE.

Approved by:	antoine (implicit)
2017-12-30 22:14:58 +00:00
Stefan Eßer
1525eb96a8 Bump PORT_REVISION, forgotten in previous commit.
Approved by:	antoine (implicit)
2017-12-29 22:14:24 +00:00
Stefan Eßer
81e1fde0e0 Fix regression in kill_bad_children: add missing $ before progcmd ...
Approved by:	antoine (implicit)
2017-12-29 22:13:22 +00:00
Joe Marcus Clarke
9cc44c271c Update to 2.17.15.
* Don't check for direct command use for ONLY_FOR_ARCHS_REASON
  and NOT_FOR_ARCHS_REASON when a specific arch has been specified. [1]
* Preserve an original variable value to make sure the check for copying
  dependecies is actually performed.
* Don't complain about incon installation if the port is a Qt5 port. [2]
* Check that PLIST_FILES entries do not contain %%FOO% notation. [3]
* Check that DOCS and EXAMPLES are defined as OPTIONS when using %%PORTDOCS%%
  and %%PORTEXAMPLES%%. [4]
* Check that if USE_LDCONFIG is defined, then the port installs shared
  objects. [5]
* Check that when USE_KDE is defined, then USES=kde:5 is also defined. [6]
* Ignore flavors when trying to find port directories. [7]
* Revert the fix for 221971 (USE_GITHUB).  More debate is needed here.

PR:		223285 [1]
		223498 [2]
		223539 [3]
		223541 [4]
		223762 [5]
		224140 [6]
		224245 [7]
Submitted by:	adridg [2]
		mat [4]
		224245 [7]
2017-12-28 23:46:54 +00:00
Stefan Eßer
2327d5967a Fix installation from local or remote package including the --packages-build
case. Partially based on patches supplied by Alexander Leidinger.

Reported by:	phk, netchild
Approved by:	antoine (implicit)
2017-12-23 16:36:51 +00:00
Stefan Eßer
1e72c927a7 Add PKG_DEPENDS, EXTRACT_DEPENDS, PATCH_DEPENDS and FETCH_DEPENDS to the
make_dep_list function when called with parameter build-depends-list or
all-depends-list.

Reported by:	phk
Approved by:	antoine (implicit)
2017-12-21 21:44:45 +00:00
Baptiste Daroussin
b1b7d0d33d Remove useless MASTER_SITES entries 2017-12-21 09:14:45 +00:00
Stefan Eßer
5d83816bc6 Update to version 3.18, which already contains all patches required for the
previous version.

Approved by:    antoine (implicit)
2017-12-21 09:11:48 +00:00
Stefan Eßer
aa82bf23b9 Patch package version into the port and install man-page with patched path
for non-standard LOCALBASE. The port used to patch the man-page, but then
installed the unpatched version.

Approved by:	antoine (implicit)
2017-12-21 08:25:55 +00:00
Stefan Eßer
d0a5a6f380 Fix execution of portmaster in a port directory without any port or package
parameters.

Reported by:	lenzi.sergio@gmail.com
Approved by:	antoine (implicit)
2017-12-20 20:05:27 +00:00
Stefan Eßer
6d8a3ed3c9 Add flavor support to routines that convert port origins to shell variable
names. The character '@' is illegal in such names and must be converted to
a legal character same as [-+./].
remobve post processing of "pkg check -dn" output, which was a left-over
from pre-PKG_NG times.

Reported by:	koobs (invalid @), tatsuki_makino@hotmail.com (pkg check)
Approved by:	antoine (implicit)
2017-12-20 12:17:46 +00:00
Stefan Eßer
9d15f65803 Add back local package installation support, which was disabled for PKG_NG.
The patch attached to PR 181450 did no longer apply cleanly, therefore I
edited portmaster to follow the intent and in part the letter of the patch.
This patch should not affect port building in any way. I have no use for
the feature (and I'm still considering to completely remove support for the
installation of packages in portmaster), and therefore did not test that
it performs as expected by the submitter.

PR:		181450
Submitted by:	rozhuk.im@gmail.com
Approved by:	antoine (implicit)
2017-12-19 12:25:34 +00:00
Stefan Eßer
f3376fc92a Add all-depends-list case required for portmaster -t.
Approved by:	antoine (implicit)
2017-12-18 22:22:07 +00:00
Stefan Eßer
3a223ed53d Remove stray double-quote character left from an incomplete edit of that
line (result of directly editing the patch for a trivial change ...)

Approved by:	antoine (implicit)
2017-12-17 13:36:53 +00:00
Stefan Eßer
134638cb8f Add LIB_DEPENDS to dependencies relevant for installation of a package.
Approved by:	antoine (implicit)
2017-12-17 13:32:28 +00:00
Stefan Eßer
0020f526a7 Add support for ports that have been upgraded with a change of both
origin and package name (sans version), as was the case for e.g. the
lang/cython3 port, which was moved to lang/cython@py36 with a package
name change from cython3-$version to py36-cython-$version.

Approved by:	antoine (implicit)
2017-12-17 13:01:28 +00:00
Stefan Eßer
29314a7c31 Fix query for package to be replaced: This could lead to a wrong package
being identified and replaced when the new package is installed.

Add library dependencies to the list of build dependencies to consider.

Reported by:	Robert Huff
Approved by:	antoine (implicit)
2017-12-16 15:17:58 +00:00
Stefan Eßer
f87a111e76 USe correct origin in multiport case (several packages specified on the
command line, which is different from passing "-a").

Reported by:	Robert Huff
Approved by:	antoine (implicit)
2017-12-16 14:05:37 +00:00
Pawel Pekala
aead878569 Update to version 1.6
Changelog:
pfind:
    Add -N option, finds port that provides given package, including flavor

upgrade-ports:
    Fix pkg -> port conversion for ports with one flavor
    Fix backup package path generation
    Fix sorting of flavored ports
    Improve sanity checking procedure
    Work directory can have different name depending on flavor,
    parametrize its usage
    Interactive selection fixes
2017-12-15 22:26:11 +00:00
Stefan Eßer
c934c7e3e4 Add another check for a flavor passed attached to the port directory.
Without this fix, the default flavor was built in specific situations.

Approved by:    antoine (implicit)
2017-12-15 21:01:14 +00:00
Stefan Eßer
df010168c9 Fix patch: The patch had been created from the version used to debug the
previous version's problem and I forgot to
Fix shbang: Remove the -x that had been added for debugging.

Reported by:    (Walter Schwarzenfeld) w.schwarzenfeld@utanet.at
Approved by:	antoine (implicit)
2017-12-15 20:13:38 +00:00
Stefan Eßer
912a5ef5ef Fix regression: The find_new_port function is now invoked from an earlier
place than before flavor	support	was added. Move	its definition to an
appropriate place.

Silence	one pkq	query command that may be called for a non-existing
package	name.

Approved by:    antoine	(implicit)
Reported by:	Milan Obuch, Paul Beard
2017-12-15 17:55:49 +00:00
Stefan Eßer
606a3cac9d Add flavor support to portmaster. This version has been lightly tested and
supports upgrades from non-flavored port versions based on the information
in the MOVED file.

For initial installations of flavored ports, the flavor must be specified
as part of the port origin, e.g. "devel/py-py@py36" for the Python-3.6
version of that port. Dependent ports will automatically be installed with
the correct flavor passed via the dependency mechanism.

It is planned to add a --flavor option to ease flavor selection for ports
that are initially installed with portmaster.

Approved by:	antoine (implicit)
2017-12-14 20:32:26 +00:00
Bryan Drewery
65259ed0ca Update to 3.2.3-56-g0d8338bc
- image: Fix miniroot issues.
  - testport -n: Implement as dry-run.
  - bulk: Fix detection of non-existent FLAVOR.
  - poudriere.8: Document FLAVORS
  - testport: Allow -B to work.
2017-12-14 00:21:37 +00:00
Jan Beich
03fec4df02 Re-try ports affected by bug 193528 on powerpc* after r449590 2017-12-12 04:35:49 +00:00
Bryan Drewery
d5c9ae81da Update to 3.2.3-44-g55026502
- image: Initial pass at miniroot support
2017-12-09 05:56:11 +00:00
Torsten Zuehlsdorff
b27126764f ports-mgmt/portmaster: Pass maintainer-ship to se@
Stefan will continue to maintain portmaster.
2017-12-08 14:00:02 +00:00
Joe Marcus Clarke
09bc079590 Emergency update to 2.17.14.
Escape a variable in an RE to prevent corruption.

Submitted by:	gahr
2017-12-07 11:26:19 +00:00
Tobias Kortkamp
4af51899c6 ports-mgmt/synth: Update to 2.02
- flavor fixes, repo build and package installs

PR:		224139
Submitted by:	Jonathan Chen <jonc@chen.org.nz>
Approved by:	ericturgeon.bsd@gmail.com (maintainer)
2017-12-06 11:57:19 +00:00
Pawel Pekala
e64edf4309 Update to version 1.5
Changelog:
tbuilder:
- Add flavors support, add 'all' alias to build all flavors

upgrade-ports:
- Use deinstall instead of reinstall, make backup package so things
  can be restored when install fails
- Improve usage help description
- Add flavors support
2017-12-05 20:35:45 +00:00
Bryan Drewery
90c21f1068 - Update to 3.2.3
Changes: https://github.com/freebsd/poudriere/wiki/release_notes_323

   - bulk: Fix MOVED origin not causing a package rebuild.  This
     could result in a reverse dependency continuing to rebuild
     due to a "new dependency" now with FLAVORS support.
   - jail -c -m null: Fix this to work rather than error about
     having an existing directory already.
   - jail -c -m src: Respect existing _/usr/src/.cpignore_
   - jail -c -m null -S: Respect the `-S path` rather than assume the jail has
     a _/usr/src_.
   - jail -c -m null: Assert that the jail is populated already.
   - HTML: Throw explicit error if unknown ports type is encountered. [1]

PR:	224065 [1]
2017-12-05 19:06:28 +00:00
Baptiste Daroussin
bfd7582edd Fix segfault in pkg version against the ports tree
PR:		224023
Reported by:	jrm, kib, Trond.Endrestol@ximalas.info
Tested by:	jrm (an early version of the patch)
2017-12-05 16:22:01 +00:00
Bryan Drewery
7cdc7f571e Update to 3.2.2-37-gf25a99c8
- jail -c -m null: Fix crashing with existing-dir error after commit 1d0222b696.
  - jail -c -m src: Respect existing .cpignore properly
  - jail -m null -S <path>: Use the -S path for jail source rather than
    expect <jail>/usr/src.
  - jail -c -m null: Assert that the jail is populated already.
  - HTML: Throw explicit error if unknown ports type is encountered. [1]

PR:		224065 [1]
2017-12-04 23:53:18 +00:00
Baptiste Daroussin
d389ce1e3e Update to 1.10.3
- Accept DT_SONAME anywhere in .dynamic when parsing elf binaries
- Fix pkg version when it deals with the ports tree and INDEX after flavors
- Sort fts traversal in repo creation (for reproducible builds)
- Documentation improvements
- make pkg version -r imply -R
2017-12-04 21:32:01 +00:00
Bryan Drewery
400d9dbf1d Update to 3.2.2-32-gd8cbf566
- bulk: Properly rebuild packages that have moved origins.
2017-12-04 21:10:41 +00:00
Tobias Kortkamp
cea1af496b ports-mgmt/synth: Update to 2.01
PR:		224075
Submitted by:	Jonathan Chen <jonc@chen.org.nz>
Approved by:	ericturgeon.bsd@gmail.com (maintainer)
2017-12-04 14:20:44 +00:00
Kurt Jaeger
9444b40ec2 ports-mgmt/synth: update 1.71 -> 2.00, add FLAVOR support
PR:		224049
Approved by:	ericturgeon.bsd@gmail.com (maintainer)
2017-12-03 12:32:42 +00:00
Antoine Brodin
38308bbce8 - Add explicit FLAVOR to a few dependencies
- Remove FLAVOR from py-docutils dependency in comms/uhd, in this case
  it needs the rst2html command, not the docutils module
- Mark some ports as not compatible with python3
2017-12-03 08:25:31 +00:00
Pawel Pekala
4ad77d4041 Register conflict 2017-12-01 22:12:15 +00:00
Baptiste Daroussin
bec657efdd Add patches from git to handle pkg version with newly flavoured ports tree 2017-12-01 14:10:54 +00:00
Mathieu Arnold
551be3c723 Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored.  They will
  automatically get flavors (py27, py34, py35, py36) depending on what
  versions they support.

  There is also a USE_PYTHON=flavors for ports that do not use distutils
  but need FLAVORS to be set.  A USE_PYTHON=noflavors can be set if
  using distutils but flavors are not wanted.

  A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
  added to cope with Python ports that did not have the Python
  PKGNAMEPREFIX but are flavored.

  USES=python now also exports a PY_FLAVOR variable that contains the
  current python flavor.  It can be used in dependency lines when the
  port itself is not python flavored.  For example, deskutils/calibre.

  By default, all the flavors are generated.  To only generate flavors
  for the versions in PYTHON2_DEFAULT and PYTHON3_DEFAULT, define
  BUILD_DEFAULT_PYTHON_FLAVORS in your make.conf.

  In all the ports with Python dependencies, the *_DEPENDS entries MUST
  end with the flavor so that the framework knows which to build/use.
  This is done by appending '@${PY_FLAVOR}' after the origin (or
  @${FLAVOR} if in a Python module with Python flavors, as the content
  will be the same).  For example:

    RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}

PR:		223071
Reviewed by:	portmgr, python
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D12464
2017-11-30 15:50:30 +00:00
Bryan Drewery
5ebc72a86c Update to 3.2.2
- jail -u: Fix error with freebsd-update.fixed not found.
2017-11-29 20:52:49 +00:00
Bryan Drewery
55e82b5d36 Update to 3.2.2-25-g8695dfd6
- jail -u: Fix error with freebsd-update.fixed not found.
2017-11-29 20:52:26 +00:00
Bryan Drewery
88800d0116 Update to 3.2.1
Changes: https://github.com/freebsd/poudriere/wiki/release_notes_321
2017-11-28 20:18:47 +00:00