1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
Commit Graph

2560 Commits

Author SHA1 Message Date
Matthew Seaman
08f342435d Mark all my architecture independent ports using shell/perl/PHP as
NO_ARCH=yes

While here, fix a few other niggles:

net/phpldapadmin -- remove indefinite article from COMMENT

www/p5-RT* -- fix comments referencing the different versions of RT

x11-fonts/gentium-{basic,plus} -- mention ${STAGEDIR} explicitly in the
  install targets; rework the handling of ${FONTPATH}
2013-12-08 22:38:52 +00:00
Eitan Adler
8f2c34bf19 Add recently added NO_ARCH variable to some of my ports which can use it. 2013-12-07 05:19:44 +00:00
Bryan Drewery
4078eb542f poudriere.d should be a @dirrmtry as it is user modifiable 2013-12-06 18:59:25 +00:00
Bryan Drewery
36eebfc58a - Fix build on 8.x
With hat:	portmgr
2013-12-06 16:14:27 +00:00
Baptiste Daroussin
d6b482fe1c Update to 1.2.2
Changelog:
- Fix pkg which returns bogus non-zero exit status on success
- Better check libucl returns
- Fix bad build system resulting in broken binaries on arm and ia64
- Update pkg.conf documentation
- Add manpage for pkg config
- OOTB support for dragonfly
- Lots of fixes in libucl
- Fix pkg register complaining about shared libraries not found
- Do not resume a jailed or chrooted pkg(8) upgrade
- Document the plist format (in pkg-create(8))
- Pet mandoc -Tlint
- Add manpage for pkg_repos(3)
- Fix dependencies losing portepoch information
- pkg-[r]query: Add %q to display architecture
- Fix pkg add allowing to install package with missing dependencies
- Fix description being stored escaped

Special thanks to mat@ (for bug busting) and cognet@ (tracking down 2 issues
on arm and as a side effect fixing on ia64
2013-12-06 15:35:13 +00:00
Alex Kozlov
12927ebb3e - Update pkgng patch to 8.0.6
* Fix issue with pkgng when the dependent packages are not installed

PR:	ports/184528
Submitted by:	Ken DEGUCHI <kdeguchi@sz.tokoha-u.ac.jp> (maintainer)
2013-12-06 10:33:25 +00:00
Alex Kozlov
8d91e210eb - Use recently implemented NO_ARCH knob in my architecture-neutral ports
- While here, use shebangfix for print/txtbdf2ps
2013-12-06 09:57:12 +00:00
Bryan Drewery
aa420ba38f - Update to 2.4.11.3
Changes:

 * Fix date parsing with pkg_install
 * Show proper origin in 'portupgrade' when duplicates detected
 * Fix crash when attempting to upgrade bsdpan packages

PR:		ports/184428
PR:		ports/184426
Submitted by:	Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
2013-12-05 14:38:35 +00:00
Bryan Drewery
1f97a6b4f1 - Update to checkin 3778f5c
Changes:

 * Fix date parsing with pkg_install
 * Show proper origin in 'portupgrade' when duplicates detected
 * Fix crash when attempting to upgrade bsdpan packages

PR:		ports/184428
PR:		ports/184426
Submitted by:	Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
2013-12-02 14:05:57 +00:00
Eitan Adler
a43d36d2ca Someone should take this port and make it work with pkgng. 2013-12-01 03:41:06 +00:00
John Marino
2600ce4b43 ports-mgmt/pkg*: Prepare for alternative PORTSDIR support
With the PKG_PORTSDIR make argument set, Release 1.2.2 will properly build
pkg when PORTSDIR doesn't equal the default /usr/ports, as is the standard
case with DragonFly.

Additionally, pkg(8) and pkg-static(8) man pages are conditionally edited
to remove references to the -j option when libjail isn't found on the
system.  This extra-patch should never be used on FreeBSD.
2013-11-29 18:34:34 +00:00
Matthias Andree
772dd8c9f8 New version 0.4.0
- Support pkgNG. Known issue is that pkg which returns bogus exit codes,
  spamming your screen.  pkgs_which works nonetheless.
  https://github.com/freebsd/pkg/issues/657

  Note that pkgNG always uses --nocache implictly for speed:
  https://github.com/freebsd/pkg/issues/658

  Known issue: the pkgNG detection is a hack. It just looks for the
  executable and the database in default locations, but does not attempt
  to run "pkg -N".
2013-11-28 01:09:09 +00:00
Baptiste Daroussin
a00c8be88c Release pkg 1.2.1
Changes:
- Fix pkg rquery always printing index like lines
- Fix pkg -vv suggestion so it print something actually usable
- Fix shlib's -P and -R options were swapped round.
- Replace broken pkg_repos_count() by pkg_repos_total_count() and pkg_repos_activated_count()
- Fix parsing of options (in manifest)
- pkg add http:// now fetch to a temporary location and cleanup after itself
- Fix generation of the manifest digest
- Properly calculate how many packages where removed
- Fix support for dependencies with the same name (grrrr Fix you port if they have package name collision !!!!)
- Fix pkg info -R in case multiple dependencies has the same name
2013-11-27 18:26:48 +00:00
Danilo Egea Gondolfo
2a7a5c4cee - Revert to the original installation schema. With stage, files can be unconditionally installed
Reported by:	ak
2013-11-27 14:47:05 +00:00
Danilo Egea Gondolfo
12d29c7727 - Support pkg-1.2 [1]
- Fix the unconditional installation of files

PR:		ports/184319
Submitted by:	Ken DEGUCHI <kdeguchi@sz.tokoha-u.ac.jp> (maintainer) [1]
2013-11-27 13:38:56 +00:00
Baptiste Daroussin
3022fc034b First errata:
- Fix pkg rquery always printing index like lines [1]
- Fix pkg -vv suggestion so it print something actually usable [2]

Reported by:	gjb [1]
Reported by:	ohauer [2]
2013-11-26 17:39:40 +00:00
Baptiste Daroussin
579d16acec Welcome pkg 1.2 final
Changelog:
- Improved build system
- Allow to hook plugins, before closing the local db if it was opened in RW mode
- Allow ARCH to be printed by pkg info
- New pkg bootstrap subcommand that is the counter part of the pkg(7) bootstrap subcommand
- Use port specified in the SRV entries to connect to a given mirror
- Properly support srv priority/weigh when ordering mirrors
- Lots of spelling/grammar fixes
- Broken incremental pkg repo support was removed.
- ABI is now checked again using globs:
  * a 'noarch' package should just specify: ARCH: 'freebsd:*'
  * a package working on both i386 and amd64: ARCH: 'freebsd:9:x86:*'
- new pkg config subcommand to allow direct query of options
- options can now have a description
- pkg repo can now take new arguments:
  pkg repo [path] [rsa_key|'signing_command: <command>']
  This allow calling external command to perform the signing and
  pass the checksum to be signed in the command stdin.
- in case pkg info is querying a file or is a single direct match
  query then default on -f
- pkg info -q is now equivalent of pkg info -qa
- expat is now always bundled (for vuxml)
- vuxml is now the default source for pkg audit
- Accept empty/comment only configuration files
- Print a pkg name only once - even if multiple vulns were found - when using -q
  in pkg audit
- pkg info now default on glob matching
- Support for pkg+foo url scheme where foo can be (http, https, ftp).
- pkg add is now able to read the packages from a pipe or a non-regular
  file '-' is an alias for stdin, this also works from pipes, fifos,
  unix domain sockets etc.
- New 'fingerprint' kind of signature:
    if a repository is declared using the fingerprint type of
    signature, a fingerprint directory should also be provided.
    Inside that fingerprint directory should be 2 directories:
    trusted and revoked.  Those directories will contains files (in
    yaml/ucl format) containing the fingerprint of the trusted
    certificated and the revoked ones:

    --- begins --
    function: sha256
    fingerprint: an_hex_representation_of_the_fingerprint
    --- ends ---

    All unknown attribute will be silently ignored to allow extending
    in the future.

    It also support multiple signatures inside the catalog. the
    catalog should provide the signature in the following form:
    name.sig
    name.cert

- packagesite in pkg.conf is deprecated in favour using dedicated
  repository configuration files
- REPO_DIR is now a list instead of a simple string
- New git like aliases to allow creating custom commands
- Allow using '?' operator in pkg query expressions
- Fix ssh:// support
- New PKG_SSH_ARGS to allow passing custom arguments to ssh command
  used for the ssh:// protocol
- Do not generate catalogs in pkg 1.0 format anymore.
- YAML is replaced by UCL format:

  Both formats are really simular. pkg(8) will falls back on parsing YAML
  when the UCL parser fail. And will emit a warning to the
  user showing a syntax that is compatible with both YAML and UCL.
  More informations on UCL: https://github.com/vstakhov/libucl
- Dependencies on library is now automatic via pkg register and pkg
  create
- Auto upgrade of pkg(8) now restart the upgrade process automatically
- Lots of bug fixes discovered by Coverity Scan
- New debug level traces
- Bug fixes in zsh completion
- rquery can now take a -I argument to output index like lines (needed for
bsdconfig)
- Skip self upgrade with -F is passed
- Autodetect if libelf should be used bundled
- Lots of bug fixes

Thanks a lot to all people allowed this release to happen, may that be from providing
code, ideas, submitting bugs, documenting or just supporting.
2013-11-26 14:49:04 +00:00
Baptiste Daroussin
a0a6a34953 Release final pkg 1.2 version:
- changes since 1.2.0 rc1:
  * Couple of style fixes
  * Fix loading yaml keywords
  * Fix building on Dragonfly
  * Autodetect if libelf should be used bundled
  * Fix a bug if pkg audit -F got interrupted
  * Allow 'enabled' entry from repo configuration to be a string and raise a warning about it
2013-11-26 14:33:36 +00:00
Eitan Adler
de9bf77fd2 - Stagify 2013-11-23 07:00:36 +00:00
Eitan Adler
31c507c5a7 - Make this port build with different versions of TCL
- stagify
- use modern variables (USES mainly)
2013-11-23 06:55:51 +00:00
Eitan Adler
ed175fb997 Move WITH_DEBUG check below b.p.m so it works with WITH_DEBUG_PORTS
Approved by:	portmgr (bapt, maintainer)
2013-11-23 06:43:14 +00:00
Max Brazhnikov
b97da74ba1 - Convert to USES=qmake (and other USES while I'm here)
- Add state support
- Convert LIB_DEPENDS to new style, adjust USE_QT4 components, etc.

Approved by:	portmgr (blanket approval)
2013-11-22 18:48:41 +00:00
Baptiste Daroussin
5260470ce1 in case WITH_PKGNG=devel, create pkg-devel latest link as pkg and name the package pkg to allow bulks using the devel version of pkg 2013-11-22 14:53:39 +00:00
Philippe Audeoud
1553b15184 - Update to 3.0.4
PR:		ports/184017
Submitted by:	maintainer
2013-11-22 10:05:28 +00:00
Bryan Drewery
9968e05d2a - Fix leftover detection on HEAD due to nmtree update 2013-11-19 23:59:35 +00:00
Bryan Drewery
79060e73e7 - Update to 3.0.13
Changes:
 * Fix leftover detection on HEAD due to new nmtree
 * Fix jail rollback on HEAD due to new nmtree which manifested
   as missing dependencies in /new_packages
 * Don't exclude anything when looking for stage orphans, which
   fixes finding /var/run/PORTNAME as an orphan
2013-11-19 23:54:20 +00:00
Baptiste Daroussin
7e7a0c3b4e - Update to 1.2.0.rc1
- Changes:
 * Fix loading of fingerprints
 * Fix ssh transport by refactoring
 * Skip self upgrade with -F is passed
 * Fix pkg info -[q]O
 * Fix pkg info -q (with no other options)
 * Make fingerprints signature checking actually working
2013-11-19 18:04:11 +00:00
Bryan Drewery
5f801cfb4a - Update to 1.1.4_10 ahead of 1.2 update with critical fixes
Changes:
 * When using SRV mirrors, order the mirrors by the advertised
   priority and weight. This should fix 'pkg update' using mirror
   A while 'pkg upgrade' and 'pkg fetch' end up using mirrors
   A, B and C, resulting in checksum errors due to not all mirrors
   being updated at the same time.
 * Add support for 'pkg+http://' URL scheme and deprecate
   'http://' when using SRV mirroring. This is only a cosmetic change
   that encourages users to not try loading the PACKAGESITE into
   a browser to view it.

Discussed with:	bapt
With hat:	portmgr
Obtained from:	upstream git
2013-11-19 17:30:14 +00:00
Bryan Drewery
0bec1b77a7 - Fix leftover
With hat:	portmgr
2013-11-19 15:05:40 +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
David Naylor
0908661164 Add stage support for ports-mgmt/portbuilder. 2013-11-18 18:12:18 +00:00
Eitan Adler
56ac9da8fd Clean up the portaudit port
- let the ports-secteam maintain this port instead of secteam.  This should assign PRs to the appropriate place. [1]
- recent freebsd versions should use pkg audit instead of portaudit
- stagify
- remove mention of preference file format changes which changed in 2004

PR:		ports/184004 (partial
Discussed with:	simon (many months ago) [1]
2013-11-17 02:00:30 +00:00
Mathieu Arnold
f6a45b75f9 Fixup submit when port is ruby or python based.
maintainer timeout.
PR:		ports/183468
Submitted by:	Johannes Jost Meixner
2013-11-15 14:06:13 +00:00
Bryan Drewery
99175fedc5 - Support DEBUG
PR:		ports/183277
With hat:	portmgr
2013-11-13 12:01:10 +00:00
Bryan Drewery
f4df7b1171 - Support WITH_DEBUG
- Add shebangfix for bash completion

PR:		ports/183277
Submitted by:	mandree (based on)
With hat:	portmgr
2013-11-13 12:00:06 +00:00
Mathieu Arnold
24c8f46f04 /usr/ports may not be the reference tree you want to use, allow users to
customize that.

maintainer timeout.

PR:		ports/183412
Submitted by:	mat
2013-11-12 13:30:22 +00:00
Ryan Steinmetz
6690bf52a3 - Set MAINTAINER to ports-secteam
Requested by:	des@
With hat:	ports-secteam@
2013-11-12 13:09:18 +00:00
Baptiste Daroussin
6d48b9ee16 Update to pkg 1.2.0 beta2
- Update bundled libucl code (which fixes bugs)
- Fix double escaped \n for script and messages
- Fix rquery with -e not properly working [1]
- rquery can now take a -I argument to output index like lines (needed for bsdconfig)
- Fix local database creation (initial)
- With build with older bsd.prog.mk
- Improved documentation for pkg query

Reported by:	mat [1]
2013-11-07 15:45:55 +00:00
Sunpoet Po-Chuan Hsieh
38e2e32e06 - Allow use with bmake (default make on 10 and above)
- Bump PORTREVISION for package change

PR:		ports/183104
Submitted by:	sunpoet (myself)
Approved by:	maintainer (timeout, 18 days)
2013-11-06 20:03:31 +00:00
Baptiste Daroussin
6a48508e9e Fix build with older bsd.prog.mk 2013-11-06 19:59:15 +00:00
Baptiste Daroussin
101824f068 Update to pkg 1.2.0 b1
Changes:
- Bug fixes in zsh completion
- Lots of bug fixes discovered by Coverity Scan
- New debug level traces
- Auto upgrade of pkg(8) now restart the upgrade process automatically
- Dependencies on library is now automatic via pkg register and pkg
  create
- YAML is replaced by UCL format:

  Both formats are really simular. pkg(8) will falls back on parsing YAML
  when the UCL parser fail. And will emit a warning to the
  user showing a syntax that is compatible with both YAML and UCL.
  More informations on UCL: https://github.com/vstakhov/libucl

- Do not generate catalogs in pkg 1.0 format anymore.
- Working ssh protocol supported for repositories
- New PKG_SSH_ARGS to allow passing custom arguments to ssh command
  used for the ssh:// protocol
- Allow using '?' operator in pkg query expressions
- New git like aliases to allow creating custom commands
- REPO_DIR is now a list instead of a simple string
- packagesite in pkg.conf is deprecated in favour using dedicated
  repository configuration files
- New 'fingerprint' kind of signature:

    if a repository is declared using the fingerprint type of
    signature, a fingerprint directory should also be provided.
    Inside that fingerprint directory should be 2 directories:
    trusted and revoked.  Those directories will contains files (in
    yaml/ucl format) containing the fingerprint of the trusted
    certificated and the revoked ones:

    --- begins --
    function: sha256
    fingerprint: an_hex_representation_of_the_fingerprint
    --- ends ---

    All unknown attribute will be silently ignored to allow extending
    in the future.

    It also support multiple signatures inside the catalog. the
    catalog should provide the signature in the following form:
    name.sig
    name.cert

- pkg add is now able to read the packages from a pipe or a non-regular
  file '-' is an alias for stdin, this also works from pipes, fifos,
  unix domain sockets etc.
- Support for pkg+foo url scheme where foo can be (http, https, ftp).
- pkg info now default on glob matching
- Print a pkg name only once - even if multiple vulns were found -
  when using -q
- Accept empty/comment only configuration files
- vuxml is now the default source for pkg audir
- expat is now bundled (for vuxml)
- pkg info -q is now equivalent of pkg info -qa
- in case pkg info is querying a file or is a single direct match
  query then default on -f
- pkg repo can now take new arguments:
  pkg repo [path] [rsa_key|'signing_command: <command>']

  This allow calling external command to perform the signing and
  pass the checksum to be signed in the command stdin.
- options can now have a description
- new pkg config subcommand to allow direct query of options
- ABI is now checked again using globs:
  a 'noarch' package should just specify: ARCH: 'freebsd:*'
  a package working on both i386 and amd64: ARCH: 'freebsd:9:x86:*'
- Broken incremental pkg repo support was removed.
- Lots of spelling/grammar fixes
- Properly support srv priority/weigh when ordering mirrors
- Use port specified in the SRV entries to connect to a given mirror
- New pkg bootstrap subcommand that is the counter part of the
  pkg(7) bootstrap subcommand
- Allow ARCH to be printed by pkg info
- Allow to hook plugins, before closing the local db if it was
  opened in RW mode
- Improved build system
2013-11-06 16:24:10 +00:00
Mathieu Arnold
be244381a9 - Fixup after latest textproc/cdiff update
- Convert to staging

PR:		ports/183188
Submitted by:	mat
Approved by:	maintainer
2013-11-06 12:25:51 +00:00
Vanilla I. Shu
33fcdce510 Support STAGEDIR. 2013-11-06 01:18:34 +00:00
Chris Rees
b5a67c059f Warn on changed behaviour: checks out to $(pwd).
While here, stagify

Submitted by:	Torfinn Ingolfsen
2013-11-01 19:38:50 +00:00
Baptiste Daroussin
5852c7462d Remove useless NEED_ROOT in favour of a proper USES=uidfix 2013-10-31 07:49:27 +00:00
Bryan Drewery
22c31c19ba - Update to checkin 6da5271386
Changes:
  * Fix crash when ALLOW_MAKE_JOBS is set
2013-10-29 00:25:25 +00:00
Bryan Drewery
1557c1e84d - Update to 3.0.12
Changes:
  * Fix testport -i regression in 3.0.11
2013-10-29 00:23:20 +00:00
Dirk Meyer
f9a95694ae - revert r331810 2013-10-28 20:17:49 +00:00
Dirk Meyer
338eecf237 - use STAGEDIR
- use OPTIONS_DEFINE
2013-10-27 22:29:46 +00:00
Olli Hauer
62fe43164b - add stage support to tinderbox / tinderbox-devel
- sync OPTIONS
- preserve use hooks / scrips by using dirrmtry
- remove ' from DESC (don't break vim sytax)

PR:		ports/182615
Submitted by:	ohauer
Approved by:	maintainer timeout (> 20 days)
2013-10-27 18:19:13 +00:00