facb555a2da170d8559ba0242c86642fe28d97d8
16 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
a48e2eda88 |
Extract PLIST_SUB substitutions into a sed script.
This fixes PLIST_SUB being too big and PLIST_SUB_SED getting bigger than _POSIX2_LINE_MAX. PR: 222355 Reported by: asomers Reviewed by: asomers, mfechner Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D14014 |
||
|
|
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 |
||
|
|
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 |
||
|
|
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 |
||
|
|
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 |
||
|
|
f69e8567aa |
Ease debugging of Mk/Scripts scripts.
Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D6474 |
||
|
|
d715852bba |
Don't hardcode CCACHE_DIR.
PR: 199509 Submitted by: ngie (based on) Sponsored by: EMC / Isilon Storage Division With hat: portmgr |
||
|
|
525472b249 |
Fix a false positive home directory leftover for ports with multiple USERS
or with USERS matching another user in UIDs Reported by: adamw (mail/spamassassin) With hat: portmgr |
||
|
|
82646f1abd |
Replace @dirrm/@dirrmtry with @dir in makeplist and leftovers check
Differential Revision: https://reviews.freebsd.org/D901 Reviewed by: bapt With hat: portmgr |
||
|
|
6423d85837 |
Update to 1.3.8 Changes:
- Plist parser do not accept modes like o+w g+s u+r - @owner/@group with no argument reset the default ownership to root/wheel - Plug regression tests into the release mechanism as mandatory - Allow url in repository configuration to be overriden by another configuration file - If one of -P, -I or -R is not explicitly given on the command line do not emit error messages while searching for a mechanism to find data about the latest available ports. - External keywords can now take arguments - Directories under PREFIX are automatically handled and removed if needed - MTREE are not packaged anymore neither extracted on final installation - OS major checking (to determine if pkg is running on an upgraded base system) uses the same mechanism as ABI detection instead of relying on UNAME_r which can have false positivie on jails - Add @dir keyword for plist which is used to package explicitly directories (directories with non root/wheel or outside prefix) and empty directories (@dirrm and @dirrmtry are now considered as deprecated) - root/wheel are now considered as the default user/group when creating a package except @owner/@group are used to change that behaviour - Import newer version of libucl which improves error messages in case of problem parsing manifest or configuration files - Fix pkg register so it checks for conflicts before actually copying files on to the filesystem - pkg now support a new no_provide_lib annotation to preventing automatic populating of provided libs (useful for packages bundling libraries like wine) - Improve documentations - Ability to select usage of IPv4/IPv6 via config, repository config or command line - Lots of bug fixes Side effects: - Convert to install-mtree target into a no-op target Add empty directories to plist of ports that needs them to run: - share/aclocal to devel/automake and devel/automake14 - share/applications to devel/desktop-file-utils - share/xml share/sgml to textproc/xmlcatmgr - Prevent check-plist to issue warnings about some @dir* - Adjist check_leftovers.sh to not take in account anything related to mtree - Bump the default required version of pkg to 1.3.8 |
||
|
|
3777dc8252 |
- Add the same workaround for ignoring PREFIX/info removal when PREFIX !=
LOCALBASE, as check-stagedir has. With hat: portmgr |
||
|
|
f6add42b9a |
- Always ignore /root/.ccache. Missed with r352918
With hat: portmgr |
||
|
|
e15449a9ef |
- Rename check-orphans to check-plist. Keep the old for backwards-compat.
- Bug fixes:
makeplist/check-plist:
- Fix showing directories owned by RUN_DEPENDS/LIB_DEPENDS [1]
- Use proper "rmdir PATH" syntax, not "rmdir >/dev/null... PATH" which
pkg will not recognize.
- Never consider base /etc/mtree/BSD.usr.dist or LOCLABASE
Templates/BSD.local.dist as needing @dirrm handling.
check-plist:
- Fix showing PORTDOCS/PORTEXAMPLES files when the OPTIONS are not set.
makeplist will still suggest them.
- Fix showing files installed through unselected OPTIONS as orphans,
by considering "@comment file" to be ignored. [2]
- Fix @sample, @fc, @fcfontsdir, @fontsdir support
- Fix return status when orphans are found to be non-zero
- Add note when PREFIX=!LOCALBASE
- Be more clear when orphans/no orphans are found.
- Add a whitelist mechanism for globally approved ignores.
- Add *.bak/*.orig to orphan whitelist for now.
- Fix false-positive with dirs installed to /, such as with
archivers/dpkg creating /var/db/dpkg
- Fix false-positive with @dirrm ending in /, such as with
ports-mgmt/poudriere with a @dirrmtry share/zsh/
- There are likely still some false-positives. I fixed as many as I could
find. Please let me know of others.
* One in particular that is not easily fixable is installing a file into
a directory owned by another port where that other port is not a run-time
dependency. So the leaf port may create all of the parent dirs and never
clean them up. Cleaning them up is not proper unless no other package is
depending on them. This will be addressed by pkg(8) once pkg_install is
EOL, or sooner.
- Consider @dirrm of directories owned by run-time dependencies, or
/etc/mtree/* or Templates/BSD.local.dist (at LOCALBASE) as fatal errors.
These should not be removed in the plist. @comment lines are not
considered for this; they will not ignore an error.
===> Checking for directories owned by dependencies or MTREEs
Error: Owned by dependency: @dirrmtry share/locale/af/LC_MESSAGES
Error: Owned by dependency: @dirrmtry share/locale/af
Error: Owned by dependency: @dirrmtry %%PERL5_MAN3%%
- Detect files in plist that do not exist in the stagedir. Pkgng already did
this, but now we have it unified with this check. @comment lines are
not considered for this; they will not ignore an error.
===> Checking for items in pkg-plist which are not in STAGEDIR
Error: Missing: foo
Error: Missing: @dirrmtry bar
- Change orphaned output due to several new errors introduced:
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: foo
- Send errors to stderr
check_leftovers.sh:
- Prefer longer values for PLIST_SUB.
bsd.options.mk:
- Fix NOPORTDOCS/WITHOUT_NLS/NOPORTEXAMPLES not unsetting their respective
OPTIONS.
- Mark NOPORTDOCS/NOPORTEXAMPLES deprecated and hook them into the
OPTIONS_WARNING to tell users the new format.
- check-stagedir.sh refactoring:
- Switch to using new PLIST_SUB_SED
- Use ! instead of , in sed(1) regex to allow files/dirs with ','
- Rework PORTEXAMPLES/PORTDOCS handling so it acts on PLIST_SUB_SED'd
value and not absolutes. Also simplify the regex for these a bit to
allow reuse.
- No longer need DOCSDIRS/EXAMPLESDIR in env
- Wrap long lines
- Unset some vars in env when they are done being used to free space for
larger sed vars
- Cleanup redundant sed regexes
- Add a Scripts/plist_sub_sed_sort.sh to prefer longer values when substituting
over shorter values.
- To make check-plist ignore a file *as an orphan* do one of the following:
1. Install it
2. post-install: ${RM} ${STAGEDIR}file
3. Put the file behind an OPTION with a PLIST_SUB: %%OPTION%%file
4. Add to plist as a @comment [2]:
@comment file
@comment @dirrmtry dir
Reviewed by: mat (much earlier version)
Discussed with: mat, antoine, bapt, swills (various bits)
With hat: portmgr
PR: ports/185561 [1]
Reported By: Alexander Yerenkow <yerenkow@gmail.com> [1]
Tested with: pkg and pkg_install
Reported by: many (false-positives)
[2] This is a partial solution, we may still need a plist.ignore too. It
doesn't make much sense to add files in main pkg-plist we don't care about,
but maybe it does since you'll see and reconsider them being ignored
someday. @comment is used as all the OPTION PLIST_SUB deactivations use
@comment instead of something like @ignore.
|
||
|
|
193b6cc6d8 |
- Fix HOMEDIR handling to not exclude all directories for ports without USERS
Reported by: antoine With hat: portmgr |
||
|
|
e0e4f6e0e6 |
- Document PLIST_SUB_SED= will disable PLIST_SUB hints
- Avoid a redundant 'test -d' - Properly show %%PORTEXAMPLES%% %%PORTDOCS%% where needed - Avoid some forking for always-ignored files With hat: portmgr |
||
|
|
2221aba2de |
- Add script for handling leftover processing by poudriere/tinderbox.
This will contain all approved/whitelisted leftovers in a single
reference. It will also allow us to update the whitelist without
needing a new release of poudriere/tinderbox and forcing users
to update those tools.
Usage: env PORTSDIR=... check_leftovers.sh category/port
stdin:
- missing-file
+ new-file
M modified-file reason...
stdout:
same -/+/M format, but with files substituted, without approved
whitelisted files, and hides any directories already in plist.
- Add /var/qmail/queue to the list of whitelisted directories just as
/var/mail is. This queue directory contains mails in flight and may receive
or have mail removed during an upgrade.
Obtained from: Mostly poudriere
Reviewed by: antoine
With hat: portmgr
|