1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00
Commit Graph

228 Commits

Author SHA1 Message Date
Bryan Drewery
a45f79495a Fix typo in r458054.
Reported by:	antoine
Approved by:	portmgr (implicit)
MFH:		2018Q1
2018-01-04 20:01:46 +00:00
Bryan Drewery
37aedfab77 Fix some *-list targets not properly passing FLAVOR down the chain.
Approved by:	portmgr (implicit)
MFH:		2018Q1
2018-01-04 19:58:18 +00:00
Dmitry Marakasov
273db182a9 Report (in q/a) and fix (in shebangfix) python[23] shebangs
Currently, only python shebangs (e.g. /bin/python, /usr/local/bin/python,
/usr/bin/env python etc.) are reported by stage Q/A and fixed by
USES=shebangfix. We need to do the same for python[23] as well.

Before the problem was not noticeable since many ports had e.g.
USES=python:2, which added a dependency on python2 metaport, however
that's going to switch to USES=python:2.7, and neither it, nor more
widely used USES=python adds a dependency on metaports, so there's
very high probability that python[23] links are not available.

Approved by:	portmgr (mat)
Differential Revision:	https://reviews.freebsd.org/D13571
2017-12-21 13:27:51 +00:00
Mathieu Arnold
f3c8470783 Fix a edge case in the fetch related targets.
This would have given an error when:

- The port uses DIST_SUBDIR
- That sub-directory does not exist
- The current user does not have permission to write in DISTDIR.

Something like:

$ sudo rmdir /usr/ports/distfiles/gallery2
$ make fetch-urlall-list
mkdir: /usr/ports/distfiles/gallery2: Permission denied
*** Error code 1

PR:		222819
Reported by:	sunpoet
Sponsored by:	Absolight
2017-12-16 08:53:07 +00:00
Mathieu Arnold
e5587103cd Fix qa lib dependency checks when using libmap.conf.
This happens, for instance, if x11/nvidia-driver is installed.

PR:		221406
Submitted by:	tobik
Approved by:	bapt
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D11977
2017-12-15 15:56:09 +00:00
Bryan Drewery
15714bc164 Fix 'make -j'.
- Pass MAKEFLAGS down into do-depends properly.
- Remove redundant dependencies, run-depends and lib-depends, from
  targets that already depend on earlier targets that depend on
  the needed targets.

Reported by:	emaste
With hat:	portmgr
2017-12-07 01:51:00 +00:00
Mathieu Arnold
30c4ca5784 Generic FLAVORS work.
- Enable FLAVORS.
- Make make describe flavors aware.
- Add a qa check for unique package names amongst flavors.
- Make MOVEDlint understand flavors.
- Add a bit of sanity check to make sure FLAVORS stay lowercase.
- Various fixes.

Reviewed by:	portmgr
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D12577
2017-11-30 15:33:29 +00:00
Antoine Brodin
0e8ef7f48c Skip comments when parsing GID_FILES
Reviewed by:	bapt
MFH:		2017Q4
Differential Revision:	https://reviews.freebsd.org/D12682
2017-10-16 08:30:27 +00:00
Adriaan de Groot
0607e8e163 Take out the check that suggests that all <foo>-qt5 ports should be
part of USE_QT5, since all of those suggestions are wrong.

Approved by:	rakuco (mentor), tcberner (mentor), portmgr (mat)
Differential Revision:	https://reviews.freebsd.org/D12526
2017-10-04 21:01:09 +00:00
Mathieu Arnold
e2e97eb2bc Implement basic flavors.
**Do not start migrating any ports, a hook will prevent it**

This has been a long awaiting feature, most of the work has been done by
bapt, bdrewery and antoine, I am just the one actually doing the commit.

All this informations, and more to come are in the first link to our wiki
in the bottom block. A roadmap is in the second link.

To define a different flavors in a port, before any include, set:

FLAVORS=  flavor1 flavor2 [...]

The first flavor in the list will be the default.

You can then check for flavors after includ'ing bsd.port.options.mk with:

.if ${FLAVOR} == flavor2
[some stuff]
.endif

To build flavor2, simply run:

make FLAVOR=flavor2

To depend on a specific flavor, write @<flavor> at the end of the depend
string, like:

RUN_DEPENDS=	something:origin@foo

Submitted by:	bapt, bdrewery, antoine
Reviewed by:	portmgr
More infos:	https://wiki.freebsd.org/Ports/FlavorsMigration
Todo List:	https://wiki.freebsd.org/Ports/FlavorsAndSubPackages
With hat:	portmgr
Differential Revision: https://reviews.freebsd.org/D10327
2017-09-26 14:14:44 +00:00
Mathieu Arnold
2454b666be Remove a useless block in the shebang checks.
* Once upon a time, we checked all of STAGEDIR/PREFIX's executable
  files.
* We then decided too many false positives were found, so we switched to
  only checking executable files in bin/sbin/libexec/www, and also
  symlinks that were in there.
* And then, we decided to go back to check all of STAGEDIR/PREFIX's
  executable files, but forgot to remove the checks for symlinks (which
  are now useless because we already check all the executable files.)

Reported by:	lifanov
Sponsored by:	Absolight
2017-09-25 22:45:08 +00:00
Mathieu Arnold
3fcd0e41de Remove USES=execinfo.
PR:		220271
Submitted by:	mat (review), Yasuhiro KIMURA (PR)
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D11488
2017-09-22 10:48:28 +00:00
Tobias C. Berner
25bf018f0f - Update The Glorious Glasgow Haskell Compiler to version 8.0.2
- Simplified port by only suporting GCC, and creating a build.mk file
- Update Pandoc to 1.19.2.1
- Update git-annex to 6.20170520
- Update Darcs to 2.12.5
- Update Gtk2Hs to 0.13.2.2
- Update Agda to 2.5.2

Please note that port revisions for all the Haskell ports without version
changes are bumped.

See the UPDATING file for instructions.

New ports (63):

hs-EdisonAPI                     API for EdisonCore
hs-EdisonCore                    Efficent, purely-functional data structures
hs-ListLike                      Generic support for list-like structures
hs-Only                          Canonical anonymous 1-tuple type
hs-aeson-compat                  Compatibility layer for aeson
hs-attoparsec-iso8601            Parsing of ISO 8601 dates
hs-base-compat                   Compatibility with later versions of base
hs-call-stack                    Support call stacks
hs-clock                         Access to high-resolution clocks and timers
hs-code-page                     Adjusting code pages on Windows
hs-colour                        Data type for colors and transparency
hs-concurrent-output             Ungarble output from several threads
hs-cryptohash-md5                Pure MD5 implementation
hs-cryptohash-sha1               Pure SHA-1 implementation
hs-cryptohash-sha256             Pure SHA-256 implementation
hs-data-endian                   Endian-sensitive data
hs-dbus                          Client for the D-Bus IPC system
hs-disk-free-space               Retrieving information about disk space usage
hs-doctemplates                  Pandoc-style document templates
hs-ed25519                       Ed25519 public-key signature system
hs-fdo-notify                    FreeDesktop.org's Desktop Notifications
hs-fixed                         Signed 15.16 precision fixed point arithmetic
hs-fmlist                        FoldMap lists
hs-foundation                    Custom Prelude
hs-gitrev                        Compile-time git revision info
hs-graphviz                      Binding for the GraphViz library
hs-hackage-security              Tools for securing the Hackage package server
hs-half                          Half-precision floating-point
hs-haskell-lexer                 Fully compliant Haskell 98 lexer
hs-http-api-data                 Converting types to and from HTTP API data
hs-integer-logarithms            Integer logarithms implementation
hs-io-streams                    Easy-to-use primitives for I/O using streams
hs-io-streams-haproxy            HAProxy protocol version 1.5 support
hs-magic                         Binding to the libmagic library
hs-microlens                     Microlens
hs-microlens-th                  Automated generation of lenses
hs-microstache                   Mustache templates
hs-monad-unlift                  Type classes for unlifting monad transformers
hs-monadplus                     Partial maps and filters over MonadPlus
hs-mono-traversable-instances    Extra type classes for mono-traversable
hs-mountpoints                   Listing currently mounted filesystems
hs-newtype-generics              Full replacement of newtype
hs-pretty-show                   Working with derived Show instances
hs-process-extras                Read process input/output as ByteString/Text
hs-psqueues                      Priority Search Queues
hs-readable                      Reading data types from ByteString/Text
hs-refact                        Data type for apply-refact
hs-regex-pcre                    PCRE backend to accompany regex-base
hs-safe-exceptions               Safe, consistent, and easy exception handling
hs-say                           Send messages to handles in a thread-safe way
hs-scanner                       Incremental combinator parser for ByteStrings
hs-skylighting                   Syntax highlighting library binding
hs-terminal-size                 Get terminal window sizes without ncurses
hs-text-short                    Data type for keeping short strings in memory
hs-th-abstraction                Inspecting types via Template Haskell
hs-th-lift                       Derive Template Haskell's Lift class
hs-th-lift-instances             Orphan instances for commonly used types
hs-tls-session-manager           TLS session manager
hs-typed-process                 Launching/interaction with external processes
hs-unexceptionalio               IO without non-error/synchronous exceptions
hs-uri-bytestring                RFC3986 compliant URI parser
hs-uri-bytestring-aeson          Aeson instance for URI.ByteString
hs-wl-pprint-text                Version of wl-pprint to use Text

Updated ports (314):

hs-ALUT                                  2.4.0.0_1        --> 2.4.0.2
hs-Agda                                  2.4.2.3          --> 2.5.2
hs-Agda-stdlib                           0.9_1            --> 0.13
hs-BNFC                                  2.8              --> 2.8.1
hs-Boolean                               0.2.3            --> 0.2.4
hs-DAV                                   1.0.7            --> 1.3.1
hs-DRBG                                  0.5.4            --> 0.5.5
hs-Diff                                  0.3.2            --> 0.3.4
hs-GLURaw                                1.5.0.1          --> 2.0.0.3
hs-GLUT                                  2.7.0.1_1,1      --> 2.7.0.12,1
hs-Glob                                  0.7.5_2          --> 0.8.0
hs-HStringTemplate                       0.8.3            --> 0.8.6
hs-HTTP                                  4000.2.20        --> 4000.3.7
hs-HUnit                                 1.2.5.2_7        --> 1.6.0.0
hs-HaXml                                 1.25.3           --> 1.25.4
hs-HsOpenSSL                             0.11.1.1         --> 0.11.4.9
hs-JuicyPixels                           3.2.6            --> 3.2.8.2
hs-List                                  0.5.2            --> 0.6.0
hs-MemoTrie                              0.6.2_2          --> 0.6.8
hs-MissingH                              1.3.0.1          --> 1.4.0.1
hs-MonadRandom                           0.4              --> 0.5.1
hs-ObjectName                            1.1.0.0          --> 1.1.0.1
hs-OpenAL                                1.7.0.0          --> 1.7.0.4
hs-OpenGL                                2.12.0.1,1       --> 3.0.2.0,1
hs-OpenGLRaw                             2.5.1.0_1        --> 3.2.4.0
hs-QuickCheck                            2.8.1            --> 2.10.0.1
hs-RSA                                   2.1.0.1          --> 2.3.0
hs-ReadArgs                              1.2.2            --> 1.2.3
hs-STMonadTrans                          0.3.3            --> 0.4.3
hs-StateVar                              1.1.0.1          --> 1.1.0.4
hs-TypeCompose                           0.9.10_2         --> 0.9.12
hs-activehs                              0.3.1_12         --> 0.3.2
hs-activehs-base                         0.3.0.2_9        --> 0.3.0.4
hs-adjunctions                           4.2.1            --> 4.3
hs-aeson                                 0.8.0.2          --> 1.2.1.0
hs-aeson-pretty                          0.7.2            --> 0.8.5
hs-alex                                  3.1.4            --> 3.2.1
hs-ansi-terminal                         0.6.2.1          --> 0.6.3.1
hs-asn1-data                             0.7.1_9          --> 0.7.2
hs-asn1-encoding                         0.9.0            --> 0.9.5
hs-asn1-parse                            0.9.1            --> 0.9.4
hs-asn1-types                            0.3.0            --> 0.3.2
hs-async                                 2.0.2            --> 2.1.1.1
hs-atomic-primops                        0.8              --> 0.8.0.4
hs-attoparsec                            0.12.1.6         --> 0.13.1.0
hs-authenticate                          1.3.2.11         --> 1.3.3.2
hs-auto-update                           0.1.2.2          --> 0.1.4
hs-aws                                   0.12.1           --> 0.16
hs-base-orphans                          0.4.4            --> 0.6
hs-basic-prelude                         0.5.0            --> 0.6.1.1
hs-bifunctors                            5                --> 5.4.2
hs-blaze-builder                         0.4.0.1          --> 0.4.0.2
hs-blaze-html                            0.8.1.0          --> 0.9.0.1
hs-blaze-markup                          0.7.0.2          --> 0.8.0.0
hs-brainfuck                             0.1.0.2          --> 0.1.0.3
hs-c2hs                                  0.28.1_1         --> 0.28.2_1
hs-cabal-install                         1.22.6.0         --> 1.24.0.2
hs-cairo                                 0.13.1.0         --> 0.13.3.1
hs-case-insensitive                      1.2.0.4          --> 1.2.0.10
hs-cassava                               0.4.3.1          --> 0.5.0.0
hs-cereal                                0.4.1.1          --> 0.5.4.0
hs-cgi                                   3001.2.2.2,1     --> 3001.3.0.2,1
hs-checkers                              0.4.3            --> 0.4.7
hs-chunked-data                          0.2.0            --> 0.3.0
hs-cipher-aes128                         0.7.0.1          --> 0.7.0.3
hs-classy-prelude                        0.12.1.1         --> 1.2.0.1
hs-classy-prelude-conduit                0.12.0.1         --> 1.2.0
hs-clientsession                         0.9.1.1          --> 0.9.1.2
hs-cmark                                 0.4.0.1          --> 0.5.5.1
hs-cmdargs                               0.10.13          --> 0.10.17
hs-comonad                               4.2.7.2          --> 5.0.1
hs-conduit                               1.2.5            --> 1.2.11
hs-conduit-combinators                   1.0.3            --> 1.1.1
hs-conduit-extra                         1.1.9.1          --> 1.1.16
hs-connection                            0.2.5            --> 0.2.8
hs-constraints                           0.4.1.3          --> 0.9.1
hs-contravariant                         1.3.2            --> 1.4
hs-cookie                                0.4.1.6          --> 0.4.2.1
hs-cpphs                                 1.19             --> 1.20.8
hs-criterion                             1.1.0.0          --> 1.2.1.0
hs-cryptohash                            0.11.6_2         --> 0.11.9
hs-cryptohash-cryptoapi                  0.1.3_2          --> 0.1.4
hs-cryptonite                            0.6              --> 0.24
hs-css-text                              0.1.2.1_2        --> 0.1.2.2
hs-darcs                                 2.10.1           --> 2.12.5
hs-data-default                          0.5.3_7          --> 0.7.1.1
hs-data-default-class                    0.0.1_7          --> 0.1.2.0
hs-data-default-instances-base           0.0.1_7          --> 0.1.0.1
hs-data-lens                             2.10.7           --> 2.11.1
hs-data-lens-template                    2.1.9            --> 2.2
hs-data-pprint                           0.2.4            --> 0.2.4.1
hs-deepseq-generics                      0.1.1.2          --> 0.2.0.0
hs-dia-base                              0.1.1.3          --> 0.1.1.4
hs-directory-tree                        0.12.0_2         --> 0.12.1
hs-distributive                          0.4.4_2          --> 0.5.2
hs-dlist                                 0.7.1.1          --> 0.8.0.3
hs-dlist-instances                       0.1_2            --> 0.1.1.1
hs-dns                                   2.0.0            --> 2.0.10
hs-double-conversion                     2.0.1.0          --> 2.0.2.0
hs-either                                4.4.1            --> 4.4.1.1
hs-ekg                                   0.4.0.8          --> 0.4.0.13
hs-ekg-core                              0.1.1.0          --> 0.1.1.1
hs-ekg-json                              0.1.0.0          --> 0.1.0.5
hs-email-validate                        2.1.3            --> 2.3
hs-enclosed-exceptions                   1.0.1.1          --> 1.0.2
hs-entropy                               0.3.7            --> 0.3.8
hs-equivalence                           0.3.1            --> 0.3.2
hs-errors                                2.0.0            --> 2.2.1
hs-esqueleto                             2.4.1            --> 2.5.3
hs-exceptions                            0.8.0.2          --> 0.8.3
hs-extra                                 1.4.1            --> 1.6
hs-fast-logger                           2.4.1            --> 2.4.10
hs-feed                                  0.3.10.0         --> 0.3.12.0
hs-fgl                                   5.5.2.1          --> 5.5.3.1
hs-file-embed                            0.0.9            --> 0.0.10
hs-filestore                             0.6.1            --> 0.6.3.1
hs-free                                  4.12.1           --> 4.12.4
hs-gconf                                 0.13.0.2         --> 0.13.1.0
hs-generic-deriving                      1.8.0            --> 1.11.2
hs-geniplate-mirror                      0.7.1            --> 0.7.5
hs-ghc-events                            0.4.4.0          --> 0.6.0
hs-gio                                   0.13.1.0         --> 0.13.3.1
hs-git-annex                             5.20150727_1     --> 6.20170520
hs-gitit                                 0.11.1           --> 0.12.2.1
hs-glib                                  0.13.1.1         --> 0.13.4.1
hs-gnuidn                                0.2.1_3          --> 0.2.2
hs-gtk                                   0.13.9           --> 0.14.6
hs-gtk2hs                                0.13,1           --> 0.13.2.2,1
hs-gtk2hs-buildtools                     0.13.0.4_1       --> 0.13.2.2
hs-gtksourceview2                        0.13.1.3         --> 0.13.3.1
hs-haddock                               2.16.1           --> 2.17.5
hs-haddock-api                           2.16.1           --> 2.17.4
hs-haddock-library                       1.2.1            --> 1.4.3
hs-happstack-server                      7.4.4            --> 7.4.6.4
hs-hashable                              1.2.3.3,1        --> 1.2.6.1,1
hs-hashtables                            1.2.0.2          --> 1.2.1.1
hs-haskell-src-exts                      1.16.0.1         --> 1.19.1
hs-hasktags                              0.69.1           --> 0.69.3
hs-hedis                                 0.6.9            --> 0.9.8
hs-heist                                 0.14.1.1         --> 1.0.1.0
hs-hexpat                                0.20.9           --> 0.20.13
hs-highlighting-kate                     0.6              --> 0.6.4
hs-hinotify                              0.3.8.1          --> 0.3.9
hs-hint                                  0.4.2.3          --> 0.7.0
hs-hjsmin                                0.1.5.0          --> 0.2.0.2
hs-hlint                                 1.9.21           --> 2.0.9
hs-hoauth2                               0.4.8            --> 0.5.9
hs-hoogle                                4.2.41           --> 5.0.12
hs-hourglass                             0.2.9            --> 0.2.10
hs-hscolour                              1.23,1           --> 1.24.1,1
hs-hslogger                              1.2.9            --> 1.2.10
hs-hslua                                 0.4.0            --> 0.5.0
hs-hspec                                 2.1.10           --> 2.4.4
hs-hspec-core                            2.1.10           --> 2.4.4
hs-hspec-discover                        2.1.10           --> 2.4.4
hs-hspec-expectations                    0.7.1            --> 0.8.2
hs-html-conduit                          1.2.0            --> 1.2.1.1
hs-http-client                           0.4.20           --> 0.5.7.0
hs-http-client-tls                       0.2.2_2          --> 0.3.5.1
hs-http-conduit                          2.1.8            --> 2.2.3.1
hs-http-reverse-proxy                    0.4.2            --> 0.4.4
hs-http-types                            0.8.6            --> 0.9.1
hs-http2                                 1.0.4            --> 1.6.3
hs-hxt                                   9.3.1.15         --> 9.3.1.16
hs-hxt-regex-xmlschema                   9.2.0.2          --> 9.2.0.3
hs-ieee754                               0.7.6            --> 0.8.0
hs-iproute                               1.5.0            --> 1.7.1
hs-js-jquery                             1.11.3           --> 3.2.1
hs-kan-extensions                        4.2.2            --> 5.0.2
hs-keys                                  3.10.2           --> 3.11
hs-kqueue                                0.1.2.6_2        --> 0.2
hs-language-c                            0.5.0            --> 0.6.1
hs-language-javascript                   0.5.14.2         --> 0.6.0.10
hs-largeword                             1.2.3_2          --> 1.2.5
hs-lens                                  4.12.3           --> 4.15.3
hs-libmpd                                0.9.0.2          --> 0.9.0.6
hs-lifted-async                          0.7.0.1          --> 0.9.3
hs-lifted-base                           0.2.3.6          --> 0.2.3.11
hs-map-syntax                            0.2              --> 0.2.0.2
hs-math-functions                        0.1.5.2_2        --> 0.2.1.0
hs-memory                                0.8              --> 0.14.6
hs-mime-mail                             0.4.9            --> 0.4.13.1
hs-mime-types                            0.1.0.6          --> 0.1.0.7
hs-mmorph                                1.0.4            --> 1.1.0
hs-monad-control                         1.0.0.4          --> 1.0.2.1
hs-monad-logger                          0.3.13.2         --> 0.3.24
hs-monad-par                             0.3.4.7          --> 0.3.4.8
hs-monadcryptorandom                     0.6.1_2          --> 0.7.1
hs-monads-tf                             0.1.0.2_2        --> 0.1.0.3
hs-mono-traversable                      0.9.2.1          --> 1.0.2
hs-mueval                                0.9.1.1.2        --> 0.9.3
hs-murmur-hash                           0.1.0.8          --> 0.1.0.9
hs-mutable-containers                    0.3.2            --> 0.3.3
hs-mwc-random                            0.13.3.2         --> 0.13.6.0
hs-mysql                                 0.1.1.8          --> 0.1.4
hs-network                               2.6.2.1          --> 2.6.3.2
hs-network-info                          0.2.0.7          --> 0.2.0.8
hs-network-multicast                     0.1.0            --> 0.2.0
hs-network-uri                           2.6.0.3          --> 2.6.1.0
hs-nonce                                 1.0.2            --> 1.0.4
hs-oeis                                  0.3.6            --> 0.3.9
hs-optparse-applicative                  0.11.0.2         --> 0.14.0.0
hs-pandoc                                1.15.0.6_1       --> 1.19.2.1
hs-pandoc-citeproc                       0.7.3.1          --> 0.10.5.1
hs-pandoc-types                          1.12.4.5         --> 1.19
hs-pango                                 0.13.1.0         --> 0.13.3.1
hs-parallel                              3.2.0.6          --> 3.2.1.1
hs-parsec                                3.1.9            --> 3.1.11
hs-path-pieces                           0.2.0            --> 0.2.1
hs-pcre-light                            0.4.0.3          --> 0.4.0.4
hs-persistent                            2.2              --> 2.7.0
hs-persistent-sqlite                     2.2              --> 2.6.2
hs-persistent-template                   2.1.3.4          --> 2.5.2
hs-pointed                               4.2.0.2          --> 5
hs-polyparse                             1.11             --> 1.12
hs-prelude-extras                        0.4_2            --> 0.4.0.3
hs-primitive                             0.6              --> 0.6.2.0
hs-probability                           0.2.4.1_2        --> 0.2.5.1
hs-profunctors                           5.1.1            --> 5.2
hs-pureMD5                               2.1.2.1_10       --> 2.1.3
hs-quickcheck-io                         0.1.1_2          --> 0.2.0
hs-reflection                            2                --> 2.1.2
hs-regex-applicative                     0.3.2.1          --> 0.3.3
hs-regex-tdfa                            1.2.0_2          --> 1.2.2
hs-resourcet                             1.1.6            --> 1.1.9
hs-safe                                  0.3.9            --> 0.3.15
hs-sandi                                 0.3.5            --> 0.4.0
hs-scientific                            0.3.3.8          --> 0.3.5.1
hs-semigroupoids                         5.0.0.3          --> 5.2
hs-semigroups                            0.16.2.2         --> 0.18.3
hs-setlocale                             1.0.0.4          --> 1.0.0.5
hs-shake                                 0.15.5           --> 0.15.11
hs-shakespeare                           2.0.5            --> 2.0.13
hs-shelly                                1.6.3.3          --> 1.6.8.3
hs-simple-sendfile                       0.2.21           --> 0.2.25
hs-skein                                 1.0.9.3          --> 1.0.9.4
hs-snap                                  0.14.0.6         --> 1.0.0.1
hs-snap-core                             0.9.7.2          --> 1.0.2.1
hs-snap-server                           0.9.5.1          --> 1.0.2.2
hs-socks                                 0.5.4_2          --> 0.5.5
hs-split                                 0.2.2_7          --> 0.2.3.2
hs-statistics                            0.13.2.3         --> 0.14.0.2
hs-stm                                   2.4.4            --> 2.4.4.1
hs-streaming-commons                     0.1.12.1         --> 0.1.18
hs-svgcairo                              0.13.0.3         --> 0.13.1.1
hs-syb                                   0.5.1            --> 0.7
hs-syb-with-class                        0.6.1.6          --> 0.6.1.7
hs-tagged                                0.8.1            --> 0.8.5
hs-tagsoup                               0.13.3           --> 0.14.1
hs-tar                                   0.4.2.1          --> 0.5.0.3
hs-temporary                             1.2.0.3_2        --> 1.2.1
hs-test-framework-hunit                  0.3.0.1_2        --> 0.3.0.2
hs-test-framework-quickcheck2            0.3.0.3_2        --> 0.3.0.4
hs-texmath                               0.8.3            --> 0.9.4.1
hs-text                                  1.2.1.3          --> 1.2.2.2
hs-threads                               0.5.1.3          --> 0.5.1.4
hs-threadscope                           0.2.7            --> 0.2.8
hs-time-locale-compat                    0.1.1.0          --> 0.1.1.3
hs-timezone-olson                        0.1.7            --> 0.1.8
hs-timezone-series                       0.1.5.1          --> 0.1.8
hs-tls                                   1.3.1            --> 1.3.11
hs-torrent                               10000.0.0        --> 10000.1.1
hs-transformers-compat                   0.4.0.4          --> 0.5.1.4
hs-unix-compat                           0.4.1.4          --> 0.4.3.1
hs-unix-time                             0.3.5            --> 0.3.7
hs-unlambda                              0.1.4.1          --> 0.1.4.2
hs-unordered-containers                  0.2.5.1          --> 0.2.8.0
hs-uri                                   0.1.6.3          --> 0.1.6.4
hs-utf8-string                           1                --> 1.0.1.1
hs-utility-ht                            0.0.10_2         --> 0.0.14_2
hs-uuid                                  1.3.11           --> 1.3.13
hs-uuid-types                            1.0.2            --> 1.0.3
hs-uulib                                 0.9.20           --> 0.9.22
hs-vault                                 0.3.0.4          --> 0.3.0.7
hs-vector                                0.10.12.3        --> 0.12.0.1
hs-vector-binary-instances               0.2.1.0_2        --> 0.2.3.5
hs-vector-instances                      3.3.1            --> 3.4
hs-vector-space                          0.10.2           --> 0.10.4
hs-vector-th-unbox                       0.2.1.2          --> 0.2.1.6
hs-void                                  0.7              --> 0.7.2
hs-vte                                   0.13.0.2         --> 0.13.1.1
hs-wai                                   3.0.3.0          --> 3.2.1.1
hs-wai-app-static                        3.1.1            --> 3.1.6.1
hs-wai-extra                             3.0.10           --> 3.0.20.0
hs-wai-logger                            2.2.4.1          --> 2.3.0
hs-warp                                  3.1.3            --> 3.2.13
hs-warp-tls                              3.1.1            --> 3.2.4
hs-webkit                                0.13.1.3         --> 0.14.2.1
hs-wx                                    0.91.0.0         --> 0.92.3.0
hs-wxc                                   0.91.0.0         --> 0.92.3.0
hs-wxcore                                0.91.0.0         --> 0.92.3.0
hs-wxdirect                              0.91.0.0         --> 0.92.3.0
hs-x509                                  1.6.0            --> 1.6.5
hs-x509-store                            1.6.0            --> 1.6.2
hs-x509-system                           1.6.0            --> 1.6.4
hs-x509-validation                       1.6.0            --> 1.6.5
hs-xml-conduit                           1.3.1            --> 1.5.1
hs-xml-hamlet                            0.4.0.11         --> 0.4.1
hs-xmlhtml                               0.2.3.4          --> 0.2.4
hs-xmobar                                0.24.3           --> 0.24.5
hs-xss-sanitize                          0.3.5.6          --> 0.3.5.7
hs-yaml                                  0.8.13           --> 0.8.23.1
hs-yesod                                 1.4.1.5          --> 1.4.5
hs-yesod-auth                            1.4.6            --> 1.4.17.2
hs-yesod-auth-hashdb                     1.4.2.2          --> 1.6.1
hs-yesod-bin                             1.4.13.3         --> 1.5.2.3
hs-yesod-core                            1.4.13           --> 1.4.35
hs-yesod-form                            1.4.4.1          --> 1.4.12
hs-yesod-persistent                      1.4.0.3          --> 1.4.2
hs-yesod-static                          1.5.0.2          --> 1.5.3
hs-yesod-test                            1.4.3.1          --> 1.5.7
hs-zip-archive                           0.2.3.7          --> 0.3.1.1
hs-zlib                                  0.5.4.2          --> 0.6.1.2
scroll                                   1.20151219       --> 1.20170122

Removed ports (5):

hs-MonadCatchIO-mtl                 Deprecated in favor of exceptions
hs-MonadCatchIO-transformers        Deprecated in favor of exceptions
hs-citeproc-hs                      Replaced by pandoc-citeproc
hs-directory                        Part of the packages shipped with GHC
hs-syb-with-class-instances-text    Upstream is unmaintained

This was created together with pgj@.

Reviewed by:		pgj, 6yearold_gmail.com
Differential Revision:	https://reviews.freebsd.org/D11558
2017-08-08 17:21:45 +00:00
Nikolai Lifanov
327751a539 add new stage-qa target: gemdeps
This checks whether rubygem ports have all of their dependencies
in gemspec satisfied by what's currently installed. Sample output:

====> Running Q/A tests (stage-qa)
Error: RubyGem dependency archive-tar-minitar = 0.5.2 is not satisfied.
*** Error code 1

Stop.
make: stopped in /usr/home/lifanov/src/svn/freebsd/ports/head/archivers/rubygem-fpm

These ports would be broken at runtime.

Big thanks to:
  swills - discussion
  mat - reviews
  antoine - exp runs
  sunpoet - fixing several dozens of ports :)

PR:		220605
Reviewed by:	mat, sunpoet
Approved by:	portmgr (mat)
Differential Revision:	https://reviews.freebsd.org/D11841
2017-08-07 19:09:41 +00:00
Koop Mast
3d842c21b9 Add gstreamer 0.10 and 1.0 hints to the qa script.
Approved by:	portmgr (bapt@)
Differential Revision:	https://reviews.freebsd.org/D11610
2017-08-05 22:07:45 +00:00
Bryan Drewery
6120a2f751 Exec less rm(1) for existing files.
Reported by:	mjg
Approved by:	portmgr (implicit)
2017-07-28 20:30:44 +00:00
Gerald Pfeifer
fe8181378f Ignore info/*/dir (as used by the lang/gcc* ports, for example) in addition
to */info/dir and info/dir.

PR:		219274
Approved by:	portmgr (mat)
2017-07-19 22:29:54 +00:00
Tobias Kortkamp
05b30a8d06 When specifying Git dependencies in Cargo.toml developers can set 3
additional keys: rev, branch, tag [1].  These are reflected in a
projects' Cargo.lock file as e.g.

git+https://github.com/servo/angle?branch=servo#a1371e8a160128677af863d1d73f150862ba42b2
git+https://github.com/rust-lang/libc?tag=0.2.26#288942e6858a4b2f8ee56338da5386263b9c4b82

Currently cargo-crates.awk generates the wrong output in these cases:

GH_TUPLE=	servo:angle?branch=servo:a1371e8a160128677af863d1d73f150862ba42b2:angle \
		rust-lang:libc?tag=0.2.26:288942e6858a4b2f8ee56338da5386263b9c4b82:libc

Fix cargo-crates.awk to ignore the query string (except in the tag
case) and generate

GH_TUPLE=	servo:angle:a1371e8a160128677af863d1d73f150862ba42b2:angle \
		rust-lang:libc:0.2.26:libc

instead.

[1] https://github.com/rust-lang/cargo/blob/master/src/doc/specifying-dependencies.md#specifying-dependencies-from-git-repositories

PR:		220548
Reported by:	jbeich
Reviewed by:	jbeich, mat
Differential Revision:	https://reviews.freebsd.org/D11571
2017-07-19 14:00:16 +00:00
Mathieu Arnold
5fb8017b6b Fix using more than one files in UID_FILES and GID_FILES.
Repeat after me: If you change IFS, it will break something unexpected.

The problem is that we use IFS to change read's field separator.  This
has the side effect of changing how sh(1) splits all string, including
in command parsing functions.

In this case, unless quoted, the strings are always splitted using IFS.
So changing IFS will change how these strings are splitted, and you end
up having a headache.  For example:

    $ GID_FILES="foo bar"
    $ set -x
    $ echo $GID_FILES
    + echo foo bar
    foo bar

    $ IFS=:
    $ GID_FILES="foo bar"
    $ set -x
    $ echo $GID_FILES
    + echo 'foo bar'
    foo bar

In the first case, it runs echo with two arguments, first is foo, second is bar.
In the second case, it runs echo with one argument, 'foo bar'.

To fix this, restrict the time during which IFS changes to only one
command, set, and use positional parameters to extract values.

Reported by:	feld
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D11632
2017-07-19 11:55:46 +00:00
Tobias Kortkamp
1db23587bd Add USES=cargo to make creating ports of Rust applications easier
Approved by:	mat (mentor)
Reviewed by:	dumbbell, mat
Differential Revision:	https://reviews.freebsd.org/D11162
2017-06-21 16:22:32 +00:00
David Naylor
9920d3ae65 qa: add check for NO_ARCH
If NO_ARCH is set then check that no FreeBSD elf(5) files are in $STAGEDIR.
If an elf(5) file is bundles as part of the package, but is not meant to be
run directly (i.e. the elf(5) file is a payload, and not compiled) then
those files can be added to NO_ARCH_IGNORE to avoid the check from failing,

Changes to ports:
 - Ports that have NO_ARCH set, but actually compile files have had NO_ARCH
   removed.
 - Ports that have elf(5) payloads have had those files added to
   NO_ARCH_IGNORE.
 - R-cran ports that do not set USES=cran:compiles have NO_ARCH set,

PR:		218976
Reviewed by:	antoine, mat
Approved by:	portmgr
2017-06-18 18:09:16 +00:00
Matthew Rezny
e6acde078c Consolidate the Mesa ports, update to 17.0.4, and add Wayland option
* libGL, libEGL, libglesv2, libglapi, and gbm have been moved into mesa-libs,
  graphics/dri has been renamed to mesa-dri, and USE_GL has been adjusted
* mesa-libs has a new WAYLAND option that enables platform support in libEGL
* mesa-dri now depends on graphics/s2tc for compressed texture support [1]
* re-remove obsolete dependency on makedepends [2]
* correct sed fix backported from 17.1 [3]

PR:		218799 (exp-run), 212762 [1], 218552 [2], 218562 [3]
Submitted by:	dbn [1], jbeich [2,3]
Reported by:	afiskon@devzen.ru [1]
Reviewed by:	kwm, johalun0@gmail.com
Approved by:	portmgr, swills (mentor)
Differential Revision:  https://reviews.freebsd.org/D10448
2017-05-12 18:46:53 +00:00
Mathieu Arnold
15da6f6fbc Sometime, USES=iconv does not bring in the required dependency.
Reported by:	kwm
Sponsored by:	Absolight
2017-05-10 13:03:31 +00:00
Dmitry Marakasov
60f77099e1 - Add /bin/rc to blacklist for qa.sh, since it's not available on FreeBSD
Approved by:	portmgr (mat)
Differential Revision:	https://reviews.freebsd.org/D10426
2017-04-21 08:56:32 +00:00
Dmitry Marakasov
c927ccddc4 Treat python shebangs without version specified (e.g. `/usr/local/bin/python'
and `/usr/bin/env python') as invalid, because ports always depend on specific
version of python (e.g. python2 or python3), and generic `python'
which is link to either of them may point to incorrect version or
be not available at all (since it's installed by separate optional
python metaport)

Approved by:	portmgr (mat), python (sunpoet)
Differential Revision:	D9332
2017-04-10 15:21:25 +00:00
Dmitry Marakasov
e558d8633d Don't limit Q/A check for bad shebangs with just bin, sbin, libexec
and www. Scripts (with possibly incorrect shebangs) may be located
anywhere in ${PREFIX}, including, for instance, lib/ (multimedia/lives):

Error: '/usr/bin/perl' is an invalid shebang you need USES=shebangfix for 'lib/lives/plugins/effects/rendered/colour_replace'

and ${DATADIR}/ (databases/cego):

Error: '/bin/bash' is an invalid shebang you need USES=shebangfix for 'share/cego/cgbackup'

There may be some more false positives, but broken scripts are much
more severe problem. There's also whitelist mechanism which lets
you ignore shebangs for certain kinds of files (like .pm) which may
be extended to fix FPs

Approved by:	portmgr (swills)
Differential Revision:	D8923
2017-04-10 14:19:25 +00:00
Mathieu Arnold
8b27ee4a62 The lang/perl5* ports are allowed to have their shebangs pointing to the
versionned binaries.

Sponsored by:	Absolight
2017-04-04 14:06:41 +00:00
Baptiste Daroussin
067df085eb Finish removal of gal2 2017-04-01 22:21:32 +00:00
Baptiste Daroussin
cdd9171c1c Remove more obsolete gnome2 components 2017-04-01 22:05:39 +00:00
Baptiste Daroussin
ba0c69cb4e Catchup with recent removals 2017-04-01 20:15:36 +00:00
Bryan Drewery
7568613077 ports_env: Fix OPSYS not being exported.
This was causing excessive 'uname -s' executions during Poudriere dependency
calculations.  The reasoning is due to HAVE_COMPAT_IA32_KERN having a newline
quoted at the end of it as '\ ' by bmake:

  # make -f Mk/bsd.port.mk -V 'HAVE_COMPAT_IA32_KERN=${HAVE_COMPAT_IA32_KERN:Q}' | cat -v
  HAVE_COMPAT_IA32_KERN=YES\

This resulted in the following being executed:

  export HAVE_COMPAT_IA32_KERN="YES OPSYS=FreeBSD"

With hat:	portmgr
2017-02-17 22:22:27 +00:00
Koop Mast
50a34a0774 Now that all supported FreeBSD versions support libmap.conf files installed
from ports, remove the symlink dance with libGL/libEGL/libgles and the
nvidia-driver ports.

* Revert libGL/libEGL/libglesv2 ports to normal.
* Rename the conflicting libraries from the nvidia-driver ports with a
  -NVIDIA prefix and install a libmap.conf file to map to these versions.
* Remove the special case from Mk/Scripts/qa.sh for libGL and libEGL.
* Sadly the symlink dance between nvidia-driver and xorg-server for glx.so
  need to stay, due to xorg-server opening that file with dlopen(3).

Approved by:	portmgr@ (mat@ (prio version))
Differential Revision:	https://reviews.freebsd.org/D7848
2017-02-11 16:43:11 +00:00
Mathieu Arnold
a345c5cf11 Tell Module::Build to use LOCALBASE/bin/perl and not
LOCALBASE/bin/perl5.xx.y.

Add a QA check to test for it.

Sponsored by:	Absolight
2017-01-31 16:21:22 +00:00
Mathieu Arnold
ce82850852 Remove some code added in r858[1], still don't know what it was supposed to
be doing at the time.

When fetching, the code was looking for a distfile in either its
DIST_SUBDIR or the main DISTDIR, which was ok.  Until a port
(devel/cargo) moves one of its distfile
(cargo-nightly-x86_64-unknown-freebsd.tar.gz) into a subdirectory.
do-fetch would see the distfile in DISTDIR and say, ok, it's there, and
checksum would not see it in its subdirectory and fail.

1: phabricator's blame mode is really, really, great to unroll history.

PR:		216442
Submitted by:	mat
Reported by:	Bob Willcox, dhw (on ports)
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D9318
2017-01-28 10:52:20 +00:00
Mathieu Arnold
adcd75b823 Provide a port/perl module mapping utility.
Sometime, Perl ports names do not map to the modules they provide
easily, and it makes it impossible to check for the existence of those
modules in Perl core.

Sponsored by:	Absolight
2017-01-19 15:06:38 +00:00
Tijl Coosemans
02f27a83b4 The output of tools like awk, date, sort, tr,... depends on the current
locale set by the user.  Add LANG=C and LC_ALL=C at the beginning of
bsd.port.mk and export them so all commands are executed with the C locale.
LC_ALL=C overrides all other LC_* variables.  LANG is used by setlocale(3)
as default value for LC_* variables, so normally it isn't used when LC_ALL
is set, but there's code out there that looks at LANG directly so it's safer
to set it as well.  The only commands not captured by this are !=
assignments before any inclusion of bsd.port.*mk.

Introduce USE_LOCALE=<locale> that adds LANG=<locale> and LC_ALL=<locale> to
CONFIGURE_ENV and MAKE_ENV so upstream build systems can be executed with a
different locale (e.g. USE_LOCALE=en_US.UTF-8).

PR:		215882
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2017-01-18 13:20:31 +00:00
Mathieu Arnold
49152b839d Implement EXTRA_PATCH_TREE.
PR:		215726
Reported by:	julian
2017-01-16 16:47:05 +00:00
Mathieu Arnold
1cc9fcd1c7 Extract do-patch into a separate script.
PR:		215761
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D9029
2017-01-16 16:47:00 +00:00
Rene Ladan
6f019c90b3 Remove support for FreeBSD < 10.3 from Mk/*
This does not yet convert the files to bmake.

Reviewed by:	mat
Differential Revision:	https://reviews.freebsd.org/D9016
2017-01-03 07:24:49 +00:00
Baptiste Daroussin
ddf28d222b Use dp_DISTINFO_FILE instead of DISTINFO_FILE 2016-12-18 21:43:24 +00:00
Mathieu Arnold
6e9240dfb1 Report the binary with bad linking.
Sponsored by:	Absolight
2016-12-09 14:24:07 +00:00
Sunpoet Po-Chuan Hsieh
ae0db8070b - Skip soname check if ${STAGEDIR}${PREFIX}/lib directory does not exist
Differential Revision:	https://reviews.FreeBSD.org/D8697
Approved by:	mat (portmgr)
2016-12-03 21:30:08 +00:00
Tobias C. Berner
30a183cdd9 Importing KDE Frameworks into the ports tree (required for newer KDE Desktop and Applications)
KDE Frameworks is a collection of libraries and software frameworks by KDE
that serve as technological foundation for KDE Plasma 5 and KDE Applications
distributed under the GNU Lesser General Public License (LGPL) [1].

The work is based on what we have in the KDE testing repo [2].

This is the next big step in updating the KDE Desktop and its Applications
to anything less dusty.

With this change, `USES=kde:5` is now a valid option. Ports that need to depend
on KDE Framework can now set:
	USES=kde:5
	USE_KDE=<framework1> <framework2> ... <frameworkX>

For example: www/qupzilla-qt5 can depend on sysutils/kf5-kwallet via:
	KWALLET_USE=            KDE=wallet

I would like to thank Raphael and Adriaan for reviewing the ports in the testing
repo :)

[1] https://en.wikipedia.org/wiki/KDE_Frameworks
[2] http://src.mouf.net/area51/log/branches/plasma5

Reviewed by:	rakuco, mat, groot_kde.org
Approved by:	rakuco (maintainer)
Differential Revision:	https://reviews.freebsd.org/D8329
2016-11-14 16:12:56 +00:00
Antoine Brodin
428645d185 Fix directory creation when primary group is different from user name 2016-11-01 00:33:36 +00:00
Bryan Drewery
e73c0c591a Fix package upgrade setting wrong ownership on a package's $HOME.
This happens when the UID/GID doesn't match the expected number from
UIDs/GIDs.

https://github.com/freebsd/pkg/issues/1485 has more details.

With hat:	portmgr
Discussed with:	bapt, mat
2016-10-31 22:37:21 +00:00
Bryan Drewery
5851a354c5 Don't truncate DEPENDS_ARGS here.
This code seems unused though since bsd.port.mk has its own handling
for clean-depends.

PR:		212273
With hat:	portmgr
2016-10-31 20:54:50 +00:00
Mathieu Arnold
7c8e7b69a8 Add a Perl CORE QA check.
This will use Module::CoreList to tell you if a dependency you added can
be removed, or only conditionally added.

Approved by:	bapt
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D7832
2016-10-29 10:10:33 +00:00
Mathieu Arnold
73a69a6388 Do not force a lookup in LOCALBASE/lib for shared libraries.
ldd should work correctly if rpath is set, and this adds false
positives.

PR:		213547
Submitted by:	John Hein
Sponsored by:	Absolight
2016-10-25 11:44:19 +00:00
Mathieu Arnold
e7064f0d41 Replace non breaking space \xa0 with a normal space.
Sponsored by:	Absolight
2016-10-20 13:19:39 +00:00
Mathieu Arnold
1ce1ab6ba3 Make make clean be recursive again.
PR:		213188
Submitted by:	tijl
Exp-run by:	antoine
Sponsored by:	Absolight
2016-10-18 15:27:25 +00:00