1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-18 08:02:48 +00:00
Commit Graph

262 Commits

Author SHA1 Message Date
Mathieu Arnold
b19fe1e937 SC1004: This backslash+linefeed is literal. Break outside single quotes if you just want to break the line.
You have a single quoted string containing a backslash followed by a
linefeed (newline). Unlike double quotes or unquoted strings, this has
no special meaning. The string will contain a literal backslash and a
linefeed.

If you wanted to break the line but not add a linefeed to the string,
stop the single quote, break the line, and reopen it.

PR:             227109
Submitted by:   mat
Sponsored by:   Absolight
2018-06-08 09:26:41 +00:00
Mathieu Arnold
49b7fa03ac SC2035: Use ./*glob* or -- *glob* so names with dashes won't become options.
Since files and arguments are strings passed the same way, programs
can't properly determine which is which, and rely on dashes to determine
what's what.

A file named -f (touch -- -f) will not be deleted by the problematic
code. It will instead be interpreted as a command line option, and rm
will even report success.

Using ./* will instead cause the glob to be expanded into ./-f, which no
program will treat as an option.

It is not possible to use `-f *` because -f only forces the next
argument to be a directory, a later directory named -delete would mess
things up.

PR:             227109
Submitted by:   mat
Sponsored by:   Absolight
2018-06-08 09:26:38 +00:00
Mathieu Arnold
b234bfd716 SC2162: read without -r will mangle backslashes.
By default, read will interpret backslashes before spaces and line
feeds, and otherwise strip them. This is rarely expected or desired.

Normally you just want to read data, which is what read -r does. You
should always use -r unless you have a good reason not to.

PR:             227109
Submitted by:   mat
Sponsored by:   Absolight
2018-06-08 09:26:34 +00:00
Mathieu Arnold
ac5e64ba02 SC2015: Note that A && B || C is not if-then-else. C may run when A is true.
It's common to use A && B to run B when A is true, and A || C to run C
when A is false.

However, combining them into A && B || C is not the same as if A then B
else C.

In this case, if A is true but B is false, C will run.

If an if clause is used instead, this problem is avoided.

PR:             227109
Submitted by:   mat
Sponsored by:   Absolight
2018-06-08 09:26:31 +00:00
Mathieu Arnold
e2bee271c6 Don't exec with a pipe afterwards, it is weird.
PR:             227109
Submitted by:   mat
Sponsored by:   Absolight
2018-06-08 09:26:28 +00:00
Mathieu Arnold
52abedae74 SC2185: Some finds don't have a default path. Specify '.' explicitly.
(false positive, split flags to avoid triggering it.)

PR:             227109
Submitted by:   mat
Sponsored by:   Absolight
2018-06-08 09:26:25 +00:00
Mathieu Arnold
258800dd7b SC2046: Quote this to prevent word splitting.
When command expansions are unquoted, word splitting and globbing will
occur. This often manifests itself by breaking when filenames contain
spaces.

Trying to fix it by adding quotes or escapes to the data will not work.
Instead, quote the command substitution itself.

If the command substitution outputs multiple pieces of data, use a loop
instead.

Add an exception when using set -- where splitting is intended.

PR:             227109
Submitted by:   mat
Exp-run by:	antoine
Sponsored by:   Absolight
2018-06-08 09:26:20 +00:00
Mathieu Arnold
bf064c8390 SC2006: Use $(..) instead of legacy ...
Backtick command substitution `STATEMENT` is legacy syntax with several
issues.

 - It has a series of undefined behaviors related to quoting in POSIX.
 - It imposes a custom escaping mode with surprising results.
 - It's exceptionally hard to nest.

$(STATEMENT) command substitution has none of these problems, and is
therefore strongly encouraged.

PR:		227109
Submitted by:	mat
Sponsored by:	Absolight
2018-06-01 16:20:54 +00:00
Mathieu Arnold
473030b0ea SC2155: Declare and assign separately to avoid masking return values.
In the original code, the return value of mycmd is ignored, and export
will instead always return true. This may prevent conditionals, set -e
and traps from working correctly.

PR:		227109
Submitted by:	mat
Sponsored by:	Absolight
2018-06-01 16:20:51 +00:00
Mathieu Arnold
ccbfedd88c SC2164: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
cd can fail for a variety of reasons: misspelled paths, missing
directories, missing permissions, broken symlinks and more.

If/when it does, the script will keep going and do all its operations in
the wrong directory. This can be messy, especially if the operations
involve creating or deleting a lot of files.

PR:		227109
Submitted by:	mat
Sponsored by:	Absolight
2018-06-01 16:20:48 +00:00
Mathieu Arnold
2364943f9d SC2153: Possible misspelling: PORTNAME may not be assigned, but portname is.
ShellCheck has noticed that you reference a variable that is not
assigned in the script, which has a name remarkably similar to one that
is explicitly assigned. You should verify that the variable name is
spelled correctly.

PR:		227109
Submitted by:	mat
Sponsored by:	Absolight
2018-06-01 16:20:45 +00:00
Mathieu Arnold
644b6c731d SC2091: Remove surrounding $() to avoid executing output.
ShellCheck has detected that you have a command that just consists of a
command substitution.

This is typically done in order to try to get the shell to execute a
command, because $(..) does indeed execute commands. However, it's also
replaced by the output of that command.

PR:		227109
Submitted by:	mat
Sponsored by:	Absolight
2018-06-01 16:20:42 +00:00
Mathieu Arnold
267d5b45d4 SC2163: Exporting an expansion rather than a variable.
export takes a variable name, but shellcheck has noticed that you give
it an expanded variable instead. The problematic code does not export
MYVAR but a variable called foo if any.

Add exception when using indirections where the variable to extract is
actually the value of the variable.

PR:		227109
Submitted by:	mat
Sponsored by:	Absolight
2018-06-01 16:20:39 +00:00
Mathieu Arnold
c9551e33bb SC2034: <some var> appears unused. Verify it or export it.
Variables not used for anything are often associated with bugs, so
ShellCheck warns about them.

PR:		227109
Submitted by:	mat
Sponsored by:	Absolight
2018-06-01 16:20:36 +00:00
Mathieu Arnold
6675b402ba SC2198: Arrays don't work as operands in [ ]. Use a loop (or concatenate with * instead of @).
Array expansions become a series of words in [ .. ]. Operators expect
single words only.

PR:		227109
Submitted by:	mat
Sponsored by:	Absolight
2018-06-01 16:20:33 +00:00
Mathieu Arnold
9035fb8956 SC2221 & SC2222: This pattern always overrides a later/previous one.
You have specified multiple patterns in a case statement, where one will
always override the other. The pattern being overridden is indicated
with a SC2222 warning.

PR:		227109
Submitted by:	mat
Sponsored by:	Absolight
2018-06-01 16:20:29 +00:00
Mathieu Arnold
c71660dad5 SC2068: Double quote array expansions to avoid re-splitting elements.
Double quotes around $@ prevents globbing and word splitting of
individual elements, while still expanding to multiple separate
arguments.

Add exceptions when splitting is the intended behavior.

PR:		227109
Submitted by:	mat
Sponsored by:	Absolight
2018-06-01 16:20:26 +00:00
Mathieu Arnold
d605296d6e SC2145: Argument mixes string and array. Use * or separate argument.
The behavior when concatenating a string and array is rarely intended.
The preceeding string is prefixed to the first array element, while the
succeeding string is appended to the last one. The middle array elements
are unaffected.

For example, with the parameters foo,bar,baz, "--flag=$@" is equivalent
to the three arguments "--flag=foo" "bar" "baz".

PR:		227109
Submitted by:	mat
Sponsored by:	Absolight
2018-06-01 16:20:22 +00:00
Bryan Drewery
9c31cc2ac7 stage-qa: Change stripped check to only look for .debug_info.
'strip -x', and splitting out debug symbols with objcopy, will leave
a .symtab section but will still remove the .debug_info section.  file(1)
shows this distinction as well after the use of 'strip -x':

    work/tcl8.7a1/unix/libtcl8.7.so:       ELF 64-bit LSB shared object, x86-64, version 1 (FreeBSD), dynamically linked, with debug_info, not stripped
    work/stage/usr/local/lib/libtcl8.7.so: ELF 64-bit LSB shared object, x86-64, version 1 (FreeBSD), dynamically linked, not stripped

This fixes false-positives when using install-strip and symbol splitting.

With hat:	portmgr
2018-05-10 23:00:15 +00:00
Bryan Drewery
7b11b952b5 Add PORTS_ENV_VARS caching support to USES=objc.
Approved by:	portmgr (implicit)
2018-03-13 21:43:28 +00:00
Mathieu Arnold
3754818b76 Handle flavors in the proxydeps qa check.
Reviewed by:	bdrewery
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D14595
2018-03-07 09:17:33 +00:00
Mathieu Arnold
eb10fef04c Add a hint about devel/boost-python-libs.
Sponsored by:	Absolight
2018-03-06 16:25:16 +00:00
Bryan Drewery
874f7991d2 Avoid double exporting PORTS_ENV.
Approved by:	portmgr (implicit)
2018-03-03 01:18:50 +00:00
Bryan Drewery
dc15d9f81f Add compiler.mk to PORTS_ENV.
This only handles the default CC=cc but is enough to significantly improve
INDEX/Poudriere ports var gathering due to reducing around a dozen cc
fork+exec for every port that all have the same result.  These values
are reused during the port build as well which reduces more fork+exec
contention there.

Approved by:	portmgr (implicit)
2018-02-28 19:34:05 +00:00
Bryan Drewery
ecec71a78a ports_env: Store list of variables to export in PORTS_ENV_VARS in mk files.
This will avoid renamed/removed variables being orphaned, and allows for
exporting variables in ports_env that are not wanted to be exported in
sub-makes via _EXPORTED_VARS.

Approved by:	portmgr (implicit)
2018-02-28 18:38:17 +00:00
Bryan Drewery
ef270f29a9 Chase r459584: Remove _PYTHON_DEFAULT_VERSION.
Approved by:	portmgr (implicit)
2018-02-28 18:34:31 +00:00
Bryan Drewery
5960d1f56f Remove leftover debugging 2018-02-21 21:26:46 +00:00
Bryan Drewery
e5a42a8c3c Fix RANDOMIZE_MASTER_SITES.
- /usr/games/random moved to /usr/bin/random in 11.0+
- Need to explicitly add in the pipe '|'

Approved by:	portmgr (implicit)
2018-02-20 22:58:19 +00:00
Mathieu Arnold
1aecf7b366 Extract desktop-categories, check-desktop-entries, and install-desktop-entries into scripts.
PR:		225301
Exp-run by:	antoine
Reviewed by:	jilles, kevans
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D11304
2018-01-28 08:25:06 +00:00
Mathieu Arnold
3bbc00468a Add support to passing directories to EXTRA_PATCHES.
Instead of:

  EXTRA_PATCHES=	${PATCHDIR}/feat-foo-patch-file.c \
			${PATCHDIR}/feat-foo-patch-file.h \
			${PATCHDIR}/feat-foo-patch-file2.c

Move those files to ${PATCHDIR}/feat-foo/, name them patch-*, and set:

  EXTRA_PATCHES=	${PATCHDIR}/feat-foo

Approved by:	bdrewery
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D10855
2018-01-25 09:12:21 +00:00
Bryan Drewery
6339d61d4f Allow passing -DDEPENDS_SHOW_FLAVOR to list flavors for dependency lists.
Submitted by:	se (based on D13535)
With hat:	portmgr
2018-01-24 18:54:57 +00:00
Kyle Evans
ad1a66c1f3 make makepatch: Don't replace patches with only metadata changes
Rather than replacing patches that are effectively the same but with
different timestamps, drop the new version and let the old version remain in
place. This yields a `make makepatch` that doesn't try and produce unwanted
churn.

Approved by:	portmgr (mat)
Differential Revision:	https://reviews.freebsd.org/D13960
2018-01-22 16:42:44 +00:00
Torsten Zuehlsdorff
2816b55780 add new stage-qa target: gemfiledeps
This checks whether rubygem based ports have all of their dependencies
in Gemfile(s) satisfied by what's currently installed. Sample output:

====> Running Q/A tests (stage-qa)
Warning: Dependencies defined in /usr/ports/www/gitlab/work/stage/usr/local/www/gitlab/Gemfile are not satisfied

These ports could (!) be broken at runtime. Be aware: some projects
defines multiple Gemfiles and not all are used at runtime. For example
www/gitlab has two Gemfiles, but only one is used for testing and warnings
about it can be ignored.

Approved by: portmgr (mat), lifanov
Differential Revision: https://reviews.freebsd.org/D11865
2018-01-22 16:35:23 +00:00
Mathieu Arnold
ed29b995f5 Remove confusing and obsolete comment, 10.2 support was axed in
ports r430441.
2018-01-18 15:42:15 +00:00
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