Commit graph

133 commits

Author SHA1 Message Date
Stefan Eßer
4af2489d71 Fix "portmaster --check-port-dbdir" broken by the previous commit. While
the variable $unique_list was created with identical content, its value was
only set within the implicit sub-shell (2nd command in a pipe) and lost on
exit from the while loop.

Reported by:	Jakub Laach
2016-07-24 14:21:13 +00:00
Stefan Eßer
2571fabfb8 Bump PORTREVISION to have portmaster be re-installed with the fix commited
as SVN rev. 418619.

Reported by:	Herbert J. Skuhra (herbert at mailbox.org)
2016-07-16 13:03:56 +00:00
Torsten Zuehlsdorff
fa23faa40b Change MAINTAINER from ports@toco-domains.de to tz@FreeBSD.org
Approved by:	junovitch (mentor)
2016-06-10 09:08:02 +00:00
Adam Weinberger
591a0e0dea Enable BASH and ZSH options (install their completions) by default.
Also, add NO_ARCH. PORTREVISION bump for pkg change.

PR:		207075
Submitted by:	maintainer
2016-03-04 16:50:48 +00:00
Mathieu Arnold
7176f4d377 Remove unneeded dependencies on bash and zsh.
With hat:	portmgr
Sponsored by:	Absolight
2016-02-12 15:46:04 +00:00
John Marino
182f4324d8 ports-mgmt/portmaster: Assign maintainership to Torsten Z.
Torsten has accepted the challenge of whipping portmaster back into
shape.  In addition to changing MAINTAINER, he's starting with fixing
both non-default options by providing their necessary RUN_DEPENDS.

PR:	207075
2016-02-10 18:41:02 +00:00
Bryan Drewery
57212eed10 Update to 3.17.9
Changes:
 - Update manpage for rebuilding ports with pkg.

PR:		191166
Submitted by:	wblock
2016-02-05 22:38:15 +00:00
John Marino
aab1d74bf2 Under strong objection and mandate by portmgr, remove DEPRECATION
I've been ordered by portmgr to remove DEPRECATION designation because
others have indicated they believe people should not be so directly
informed of its poor state.  Despite the fact that there was no expiration
date set and that functionality was not affected in any way (leaving now
informed people free to use this unmaintained port), it was considered a
disruptive change.

Let the record show that I strongly object to this decision and that I
firmly believe that portmaster is a port that *must* have a competent
maintainer that can *develop* it.  It should *not* be allowed to be
unmaintained and still maintain a presence in FreeBSD documentation.
2016-01-27 15:19:51 +00:00
John Marino
f701ed6ee3 ports-mgmt/portmaster: DEPRECATE without expiration date
The portmaster script hasn't had an official maintainer in 9 months and 2
years before that it was only patched in reaction to changes in the ports
framework.  There are many unclaimed PRs in the bugzilla database, many
known bugs, and several areas where portmaster no longer aligns with how
ports work today.  The problem isn't simply getting a maintainer; that
person has to be a ports framework expert and it appears that the people
with these qualifications don't want anything to do with this port.

Moreover, there are better options available.  All FreeBSD platforms
support ports-mgmt/poudriere (although some many struggle under the load)
and the most common amd64 and i386 platform users have the additional
option of ports-mgmt/synth which is user-friendly, lightweight, and aimed
at users of portmaster, portupgrade, and even poudriere.

Unless something drastic regarding portmaster occurs, it's nearing its
natural EOL, so it's users should evaluate alternatives and try to
migrate off of it.
2016-01-26 11:23:38 +00:00
Baptiste Daroussin
1bd2cfa7b7 Remove obsolete pkg-message 2015-10-10 16:40:34 +00:00
Bryan Drewery
ad40b192bb Update to 3.17.8.
Changes:
  - Fixes handling of PORTSDIR when /usr/ports is a symlink after head
    r272363 and stable/10 r287334.

Reported by:	dhw
2015-09-03 17:13:54 +00:00
Adam Weinberger
0f89153b96 Use OPTIONS helpers, add a newline to quiet a half dozen portlint
fatal messages, and make the installation commands more consistent.
2015-08-20 18:52:02 +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
Bryan Drewery
511fe251f8 Convert my ports to the new USE_GITHUB 2015-03-20 01:42:36 +00:00
Bryan Drewery
5b5a90256d Update USE_GITHUB so it does not require GH_COMMIT.
Using this new scheme allows only setting the _tag_ or _commit hash_ in
GH_TAGNAME and not having to know the hash for a tag.  This scheme will
download a tarball that has a different checksum than before due to a changed
directory name for extraction.

The following MASTER_SITES are provided to retain the old checksum and
directory structure (that require GH_COMMIT):
  GH -> GHL
  GITHUB -> GITHUB_LEGACY

Differential Revision:	https://reviews.freebsd.org/D748
Submitted by:	amdmi3
Reviewed by:	mat, swills, antoine, bdrewery
With hat:	portmgr
2015-03-19 16:44:57 +00:00
Baptiste Daroussin
c73851221a cleanup plist 2014-12-20 19:30:54 +00:00
Bryan Drewery
1fdb4ed0a7 - Update to 3.17.7
Changes:
  * Use PM_SU_CMD for pkg set -o
2014-08-27 16:33:21 +00:00
Bryan Drewery
7b879fa85a - Update to 3.17.6
Changes:
  * Speedup --list-origins with pkg
  * Use proper /usr/local/etc/portmaster.rc path in portmaster.8
  * Fix running from deleted dirs.
  * Fix losing control of building run-depends of staged ports
    (thus breaking -g and counts). [1]

PR:		189398 [1]
2014-06-19 00:36:18 +00:00
Bryan Drewery
a8b719b6ab - Update to 3.17.5
Changes:
  * Fix some issues with killing child processes
  * Use builtin kill(1)
2014-05-24 19:04:30 +00:00
Bryan Drewery
0d3e691cd0 - Update to 3.17.4
Changes:
  - Fix --check-depends with pkg [1]
  - Allow installing DEPRECATED ports

PR:		ports/186915 [1]
Submitted by:	kaltheat <kaltheat@gmail.com> [1] (based on)
2014-03-15 18:29:41 +00:00
Bryan Drewery
11e80ffd08 - Update to 3.17.3
Changes:
 * Fix with pkg-devel which has broken pkg-info -O compatibility
2013-11-19 15:05:20 +00:00
Bryan Drewery
da8811d66a - Support STAGEDIR 2013-09-23 11:23:47 +00:00
Bryan Drewery
2324655f20 - Add NO_STAGE until validated to be safe for upcoming staging support 2013-09-20 15:58:09 +00:00
Bryan Drewery
e4ce57f02e - Update to 3.17.2
Changes:
 - Fix detection of pkg-devel

PR:		ports/181813 [1]
Reported by:	Takanori Saneto <sanewo@ba2.so-net.ne.jp> [1], eadler
2013-09-14 12:32:14 +00:00
Bryan Drewery
0c28ddccc8 - Update to 3.17.1
Changes:
  * Fix --check-port-dbdir support after ports r321785 changed
    to /var/db/ports/category_port (OPTIONS_NAME) instead of
    UNIQUENAME [1]

Reported by:	many
2013-07-22 00:41:45 +00:00
Bryan Drewery
dc8f131329 - Update to 3.17
Changes:
  - Fix completion scripts when ports are not checked out.

PR:		ports/179098
Reported by:	Doug Barton <dougb@dougbarton.us>
2013-06-22 16:38:09 +00:00
Bryan Drewery
f579b30bcd - Remove temporary WRKSRC hack
- Rename distfile and fix checksum errors. These errors
  were due to renaming the upstream account, which changed
  which directory the distfile untarred in.
- Shuffle MASTER_SITES so that FreeBSD.org and other more
  reliable mirrors come before github
2013-06-08 11:28:13 +00:00
Bryan Drewery
4484e1151b - Fix build with temporary fix
Reported by:	John Ko <john@johnko.ca>
2013-06-04 01:47:18 +00:00
Bryan Drewery
830c8be52b Update MASTER_SITE to github.com/freebsd 2013-06-03 10:49:41 +00:00
Bryan Drewery
ab2198cf03 - Update to 3.16
This fixes a regression with non-pkgng usage that would invoke
the bootstrapper when upgrading ports. My testing did not
cover systems with the bootstrapper that did not use pkgng, so
this was missed.

The impact of this was just a hung build during deinstall.

Reported by:	mandree
Pointyhat to:	bdrewery
2013-03-29 23:48:02 +00:00
Bryan Drewery
8dd2f7091d Mark BROKEN as I fix a reported regression 2013-03-29 23:31:25 +00:00
Bryan Drewery
3b9dc59b3f - Update to 3.15
- Add extra mirror
- Remove PKGNGPATCH option

Changes:
  - The pkgng patch has been fully integrated upstream with its
    history copied from the pkgng repo over to portmaster's repo
  - Add extra messages before/after killing background processes so
    that 'Terminated' messages look less unexpected
  - Fix running from / trying to build the entire tree
  - pkgng: Fix -s not respecting the automatic flag
  - Fix "Argument list too long" errors
  - Add PM_SU_CMD documentation to the sample config file [1]
  - Fix -o not showing the specified origin [pkgng patch bug]

Submitted by: Oleg Pudeyev <oleg@bsdpower.com> [1]
2013-03-29 20:43:54 +00:00
Bryan Drewery
282a9890b6 Remove standard descriptions for BASH/ZSH
Suggested by:	danfe
2013-03-23 11:21:50 +00:00
Bryan Drewery
d8d3b88b2b - Enable pkgng support by default. This is safe for
non-pkgng users as well.
2013-03-23 02:07:26 +00:00
Bryan Drewery
8d9524b3b8 - Remove use of bsd.port.pre.mk
- Reword pkg-message to try to be more clear
2013-03-14 22:11:47 +00:00
Bryan Drewery
39224de87d - Don't force pkg as a RUN_DEPENDS. The patch should be
safe for non-pkgng usage.
  I am in the process of testing this and will be fully
  integrating the patch upstream soon.
2013-01-25 19:30:25 +00:00
Bryan Drewery
8416505cff - Add upstream patch for fixing bash completions with PKGNG
and to respect env PORTSDIR/PKG_DBDIR

Feature safe:	yes
2012-12-06 17:46:10 +00:00
Bryan Drewery
4522cd5f2f - Fix PKGNG patch trying to call pkg(8) when not
actually using pkgng due to improper short-circuit
  logic

Submitted by:	John Hein <jhein@symmetricom.com>
Feature safe:	yes
2012-10-29 19:06:13 +00:00
Bryan Drewery
fc79661a53 - Update ZSH completions to work on CURRENT with pkgng [1]
- Don't depend on ports-mgmt/pkg on 7.x with PKGNGPATCH option

Submitted by:	ume [1]
Feature safe:	yes
2012-10-20 19:26:34 +00:00
Bryan Drewery
2e25939099 - Fix WITH_PKGNG detection on CURRENT, as it may
not be defined in /etc/make.conf.

Submitted by:	dim
Feature safe:	yes
2012-10-18 16:02:29 +00:00
Bryan Drewery
138760a2b8 - Update ZSH completions with pkgng support [1]
- Enable the PKGNG patch by default if WITH_PKGNG
  is defined.

Submitted by:	ume [1]
Feature safe:	yes
2012-10-16 03:00:00 +00:00
Bryan Drewery
395142568b - Add ports-mgmt/pkg as a RUN_DEPENDS if enabling pkgng support
- Add UPDATING entry and pkg-message to assist in converting

Feature safe:	yes
2012-10-15 16:14:35 +00:00
Bryan Drewery
c3b5b180ed - Rename PKGNG option to PKGNGPATCH to fix
this port confusing bsd.pkgng.mk into thinking
  that WITH_PKGNG is defined and pkg(8) shoul be
  used to register.

Pointyhat to:	bdrewery
Feature safe:	yes
2012-10-15 15:50:21 +00:00
Bryan Drewery
300c0a9c56 - Add backup non-https mirror
- Add PKGNG option to apply pkgng support patch. This will
  be fully integrated upstream in the next version. This
  functionality is only enabled when WITH_PKGNG is defined
  in make.conf (or a recent CURRENT by default, see
  UPDATING 20121010). Due to the compat OPTION handling,
  defining WITH_PKGNG will also apply the patch by default.
  The pkgng patch is contributed by avilla@

Feature safe:	yes
2012-10-15 06:10:44 +00:00
Bryan Drewery
7821cd7798 - Move to new home, http://github.com/portmaster
- Take maintainership
- Convert to new options framework
- Use USE_GITHUB for fetching
- Add DISTNAME to avoid conflict with existing distfile as
  the checksum of the distfile has changed now that it is
  no longer modified for release.
- Remove use of bsd.port.pre.mk
2012-10-10 13:03:04 +00:00
Carlo Strub
5630f5f09c Add a temporary mirror 2012-10-08 11:22:10 +00:00
Doug Barton
deda664425 Throw my ports back in the pool, and make my intentions clear for the
various ports that I've created.

I bid fond fare well
A chapter closes for me
What opens for you?
2012-10-08 10:38:47 +00:00
Doug Barton
6e5b73e7b1 Fix the problem of background fetches hanging forever when the background
process to read the distinfo files encounters a fatal error.
2012-10-01 08:40:16 +00:00
Doug Barton
22aca7c98c Update to 3.13.13:
Minor improvements:
===================
* Improve messages for processing of dependent ports when -r
* If there is an installed version, always print that message, not just
  when we're in the parent
* Optimize determination of $new_port:
 - When first set, let it be global
 - Use a function to incorporate/optimize the various tests from the
   2 different places that it was being set
* Use a more robust method of determining portdir from $PWD. This also
  works for bare 'portmaster' with no arguments now, if you're in a port
  directory.
* Various additional code cleanups

Bug fix:
========
Do read_distinfos() in the background for multiport() too, oops
2012-07-24 20:48:17 +00:00
Doug Barton
323e0ff2eb Update to version 3.13.1
Minor fixes/improvements
========================
* Turns out there are a non-zero number of distinfo files that have SIZE
  listed first, so in the code that parses them for the data to put into
  /var/db/pkg/$port/distfiles, handle this situation gracefully.

* If we trap while working on a child port do not remove that child from
  the PM_NEEDS_UPDATE list so that when it gets printed in the parent
  that child is still on the list.

* Use the count of total ports as $num_of_deps for -Faf

* For -av, add num_{roots|trunks|branches|leaves} values to the headers

* In multiport(), decrement the number of ports to work on and print a -v
  message if we have already seen a port in the worklist as a dependency
  of another port in the list.

* Many other minor code cleanups

Performance enhancement
=======================
* In read_distinfos*() use while read instead of grep. Avoids the fork
  and reduces the total time for building the list(s) of distfiles by 25%
2012-07-17 07:38:27 +00:00