1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
Commit Graph

4567 Commits

Author SHA1 Message Date
Adam Weinberger
491174ff50 Remove extra space.
Noticed by:	George L. Yermulnik
2014-06-26 14:51:16 +00:00
Antoine Brodin
bd2bbe06be Do not hide errors listing info pages in the pkg case
With hat:	portmgr
2014-06-26 08:04:55 +00:00
Bryan Drewery
96fd89767a Update MASTER_SITE_QMAIL 2014-06-25 15:15:41 +00:00
Baptiste Daroussin
21a7c0265d Fix category 2014-06-25 09:21:46 +00:00
Baptiste Daroussin
e1d7d7f00f Use print/texinfo-lite to install info pages
This allows to use modern version of texinfo as well as allow packages to
install properly on a system built WITHOUT_INFO
2014-06-25 08:36:36 +00:00
Baptiste Daroussin
090570fe5d Add USES=makeinfo that will handle the build dependency on the makeinfo utility
using the base version if exists of the port version if it doesn't exists in
base
2014-06-25 06:57:38 +00:00
Baptiste Daroussin
9a51bfd65d Add a lite argument to USES=gmake
This enforce usage of gmake-lite instead of gmake to avoid circular dependency

Suggested by:	miwi
2014-06-25 06:33:58 +00:00
Baptiste Daroussin
a2ab66be0e Use MAKE_CMD instead of GMAKE 2014-06-24 21:39:04 +00:00
Philippe Audeoud
500e384052 - Add Creative Commons Zero v1.0 Universal as license
CR:		D239
Approved by:	portmgr (bapt@)
2014-06-23 11:13:21 +00:00
Baptiste Daroussin
15128d1d38 Remove the IGNOREFILES feature: it was an unsafe feature allowing to use files
fetched from untrusted sources directly into the ports tree

CR:		D269
Reviewed by:	portmgr (antoine)
2014-06-23 09:57:27 +00:00
Rene Ladan
1bb96a2f96 Add --strip-debug to STRIP_CMD to avoid removing kernel symbols from the
installed kernel module.  This would otherwise break comms/uarduno on amd64
when converting this port to USES=kmod.

PR:		189621 (in private followup)
Submitted by:	Bob Frazier <bobf@mrp3.com>
MFH:		2014Q2
2014-06-22 21:01:11 +00:00
Tijl Coosemans
3e4a806167 Add 4 new sed commands to USES=libtool. The first two apply some of the
changes that Debian made to their libtool.  The first command applies to
libtool versions 1.4 and up.  The second command is somewhat more elaborate
but essentially it uses the sed hold space to move an "elif...fi" block
down.  It applies to 2.x.  Together these reduce overlinking to unpatched
.la files (from ports that don't have USES=libtool yet but also .la files
in the work directory).

The third and fourth command fix relinking.  During staging libtool may
relink libA when it links to another library in the work directory libB.
The reason is that libA created during build phase has its runpath set to
the location of libB in the work directory.  This allows running an
executable that links to libA from within the work directory.  The relink
removes this extra runpath.

When libtool relinks libA it replaces "libB.la" on the linker command line
with "-L${STAGEDIR}${PREFIX}/lib -lB" with the intention to link to libB in
the stage directory but this -L flag isn't necessarily the first so another
libB may be linked instead.  The two sed commands make relink the same as a
normal link.  This means libtool will relink with libraries from the work
directory using a path similar to "../srcB/.libs/libB.so" without -L flags.
This applies to libtool 1.4 and up.  Earlier versions don't seem to relink
libraries.
(This fixes ports like devel/apr1 so they link with freshly built libraries
instead of installed libraries.)

Fix all ports with missing libraries.

Additionally:
archivers/rpm4: USES=patchfix.
databases/gdbm: INSTALL_TARGET=install-strip.
devel/gnome-vfs: remove patch that doesn't change anything.
devel/ois: INSTALL_TARGET=install-strip and use standard USE_AUTOTOOLS.
devel/zziplib: INSTALL_TARGET=install-strip, MAKE_CMD.
multimedia/mjpegtools: remove USE_AUTOTOOLS, use modern compiler on i386
   instead of disabling optimisations.
net/libnetdude: disable static plugins.

PR:		190941
Exp-run:	antoine
Approved by:	portmgr (antoine)
2014-06-22 10:44:29 +00:00
Mathieu Arnold
8a6a8f9d0b Add a small notice about maintainership of this file.
With hat:	portmgr
Sponsored by:	Absolight
2014-06-21 17:08:34 +00:00
Antoine Brodin
011795377d Use short name from spdx.org for OpenSSL license
Reviewed by:	eadler
Phabric:	D263
With hat:	portmgr
2014-06-21 16:10:13 +00:00
Adam Weinberger
ba5bf86ca0 Extend eadler's work by making some more OPTIONS a bit more
descriptive.
2014-06-21 14:54:06 +00:00
Adam Weinberger
55d9fcaac4 Improve the clarity of a few descriptions that became less accurate by
overspecificity.
2014-06-21 14:23:15 +00:00
Olli Hauer
ad199a9229 - strip optional WITH parameter from argument if OPTION is set to off
FOO_WITH=	foo=bar

  CONFIGURE_ARGS will become now
  ON:	--with-foo=bar
  OFF:	--without-foo

PR:		191085
Submitted by:	ohauer
Approved by:	portmgr (antoine)
2014-06-21 13:29:30 +00:00
Eitan Adler
42085aba31 Expand upon option descriptions whose only text are 'option support'. Such
descriptions provide no value for the user and should be expanded upon.

While here make one description fit in space limit

Reviewed by:	marino
2014-06-21 06:39:32 +00:00
Antoine Brodin
b06fe94540 Do not report files @commented by multiple options as orphans
With hat:	portmgr
2014-06-20 21:07:30 +00:00
Antoine Brodin
7c7b6b6ef1 Make @dirrmtry handling in pkg_install closer to what pkg does
Original patch:	bapt
Phabric:	D215
Exp-run:	self, less orphans/leftovers with pkg_install with patch than without
		and no new failures with pkg
With hat:	portmgr
2014-06-20 21:03:02 +00:00
Antoine Brodin
e1a0a05fde Clarified Artistic License is compatible with GPL
With hat:	portmgr
2014-06-19 17:01:49 +00:00
Adam Weinberger
49db5b7e2a Use "ClArtistic" as the short name for the Clarified Artistic License.
Also, make it clear that short names come from the spdx.org list.

Requested by:	eadler
Approved by:	portmgr (bapt)
2014-06-19 14:51:20 +00:00
Eitan Adler
e55946fd7f Ask politely that people run changes to bsd.licences.mk and bsd.licenses.db.mk
by me before changing the license database and core logic.

Approved by:	portmgr (bapt)
2014-06-19 05:54:02 +00:00
Adam Weinberger
4176cc1e9f Add the Clarified Artistic License.
PR:	ports/187642
Approved by:	portmgr (bapt)
2014-06-18 22:51:02 +00:00
Mathieu Arnold
1539b3f464 Fixup COPYTREE_* doc. 2014-06-18 22:10:06 +00:00
Raphael Kubo da Costa
37930125af PYTHON_PY3K_PLIST_HACK: Take @dirrmtry entries into account as well.
When using the plist hack to add __pycache__ entries for Python >= 3.2.0,
take @dirrmtry entries into account as well, otherwise if those directories
happen to contain __pycache__ subdirectories the latter will not be removed.

CR:		D191
PR:		190847
2014-06-18 19:37:49 +00:00
Baptiste Daroussin
c87b481f98 Revert a commit that should not have crept in 2014-06-18 12:35:11 +00:00
Baptiste Daroussin
a5fe4d9993 Register USE_DRUPAL as unsupported 2014-06-18 12:23:22 +00:00
Baptiste Daroussin
63abcca016 tabspace: 8 2014-06-18 12:22:20 +00:00
Baptiste Daroussin
9ef263b8c1 tabspace: 8 2014-06-18 12:21:35 +00:00
Baptiste Daroussin
8328645b21 tabspace: 8 2014-06-18 12:20:53 +00:00
Baptiste Daroussin
6624bfc27f Remove support for USE_DRUPAL 2014-06-18 12:18:44 +00:00
Baptiste Daroussin
a8e29575e4 New USES=drupal
It accepts 6 or 7 as a mandatory argument (version of drupal)
It accept nothing (aka drupal main port) or a mutually exclusive "theme"/"module"
2014-06-18 12:16:43 +00:00
Baptiste Daroussin
65c94dee99 tabspace: 8 2014-06-18 09:43:38 +00:00
Baptiste Daroussin
78514c9368 tabspace: 8 2014-06-18 09:41:25 +00:00
Baptiste Daroussin
1923e19f51 tabspace: 8 2014-06-18 07:30:24 +00:00
Baptiste Daroussin
36fa7f4d66 tabspace: 8 2014-06-18 07:28:44 +00:00
Baptiste Daroussin
1ca49c12f5 tabspace: 8 2014-06-18 07:26:25 +00:00
Baptiste Daroussin
e48106740b tabspace: 8 2014-06-18 07:20:29 +00:00
Baptiste Daroussin
742f751bd9 Switch to tabspace: 8 2014-06-18 07:17:13 +00:00
Baptiste Daroussin
f2f654692d Switch to default tabspace: 8 2014-06-18 07:14:22 +00:00
Baptiste Daroussin
7c484e741d Switch back to default tabspace: 8 2014-06-18 07:13:26 +00:00
Antoine Brodin
fcb5fc3711 Fix packaging of lang/tolua++ with pkg_install
With hat:	portmgr
2014-06-17 19:44:28 +00:00
Baptiste Daroussin
b37132f13b Also support fmake 2014-06-17 15:42:45 +00:00
Mathieu Arnold
427e48f5de Introduce Uses/gssapi.mk to help handle dependencies on Kerberos in a
consistent way.

Submitted by:	hrs
With hat:	portmgr
Sponsored by:	Absolight
2014-06-17 15:00:21 +00:00
Rene Ladan
3143a73f6d Mk/Scripts/qa.sh: add /bin/tcsh as a valid shebang.
Phabric:	D231
Approved by:	portmgr (antoine)
2014-06-17 14:33:53 +00:00
Marcus von Appen
434a1673f1 - Support relative paths below man/ for manpages, when using
PYDISTUTILS_AUTOPLIST. This is necessary for localized manpages, which do
  not install into the standard path man/manX, but into a locale-specific
  directory matching form man/<locale_subdirs>/manX.
  Some ports feature localized manpages - this change makes additional patches
  and plist hacks unnecessary.

With hat:	python@
2014-06-16 18:43:11 +00:00
Baptiste Daroussin
f75c3c94a3 Remove manpage leftovers in stage 2014-06-16 12:23:52 +00:00
Thomas Zander
4af105408a - Rewrite explanation of LICENSE_PERM components (dist-mirror dist-sell
pkg-mirror pkg-sell auto-accept) to make it more clear to the reader

PR:		186662
Submitted by:	riggs
Reviewed by:	bapt, mentors
Approved by:	portmgr (bapt), mentors (implicit)
2014-06-16 05:45:15 +00:00
Baptiste Daroussin
b9b10de142 Fix symlinks of manpage after compression
PR:		184395
Submitted by:	oliver.fromme@secnetix.de
2014-06-15 23:01:16 +00:00
Baptiste Daroussin
fe8a244970 Backout support for WITHOUT_INFO in base it triggers an infinite recursion
print/texinfo depends on help2man which provides info files and thus
need texinfo...
2014-06-15 22:13:02 +00:00
Baptiste Daroussin
e845d10885 do not overwrite RUN and BUILD DEPENDS
Slapped by:	antoine
2014-06-15 21:42:01 +00:00
Baptiste Daroussin
c3654a1b9d Make ports providing info files depending on print/textinfo if base has been built WITHOUT_INFO
PR:		129741
2014-06-15 21:38:29 +00:00
Daichi GOTO
af01be4cba fix a typo 2014-06-13 10:30:45 +00:00
Baptiste Daroussin
e16e20ac67 Make pkg_install aware of @fc @fcfontsdir and @fontsdir
Simplify bsd.xorg.mk by only using those keywords
run pkg_install.awk later to allow to use keywords in most of the targets in Mk/*

Tested by:	mandree
2014-06-12 10:10:50 +00:00
Antoine Brodin
ba606a66f6 Fix USE_LDCONFIG when PREFIX!=LOCALBASE and there is no NO_MTREE
Reported by:	gerald
Reviewed by:	bapt
Phabric:	D209
2014-06-11 21:14:19 +00:00
Baptiste Daroussin
299921ac89 Define X_SYSROOT to avoid duplicating code too much
Define PKG_CONFIG_SYSROOT_DIR for cross building pkgconf files
2014-06-11 21:00:50 +00:00
Baptiste Daroussin
2bacde9c3b Add an @shell keyword to handle adding and remove a shell path in /etc/shell
Bump port revision of all ports that were doing it wrong prior to the keyword

CR:		D208
Reviewed by:	antoine
With hat:	portmgr
2014-06-11 17:42:36 +00:00
Tijl Coosemans
9f8b4bcde3 Support LIBS like LDFLAGS.
- Add LIBS="${LIBS}" to MAKE_ENV and CONFIGURE_ENV.
- Add an option helper for LIBS.
- Adjust all ports that already use LIBS.  Also remove references to
  PTHREAD_CFLAGS and PTHREAD_LIBS while here.
- Some ports did not support having a LIBS environment variable and
  required additional patches.

Somewhat simplified a linker command line looks like:

${CC} ${src_LDFLAGS} ${LDFLAGS} ${src_LIBS} ${LIBS}

where src_LDFLAGS and src_LIBS are controlled by upstream and LDFLAGS and
LIBS can be controlled by us.  If possible -L and -l flags need to be
added to LIBS to make sure they appear after any -L and -l flags set by
upstream.  Many ports currently add -L${LOCALBASE}/lib to LDFLAGS but this
may appear too early on the command line causing installed libraries to
be linked in instead of freshly built ones.

Additional changes:
benchmarks/netio: Replace WITH_IPV6 with an IPV6 option.
comms/gnokii: Replace some patches with USES=pathfix.  Also remove -fPIC.
graphics/gimageview: USES=libtool and install desktop file in DESKTOPDIR.
graphics/visionworkbench: Remove FreeBSD 7 support.
multimedia/libmovtar: New LIB_DEPENDS syntax.
multimedia/opencinematools: Use standard do-build.
net/siproxd: USES=libtool:keepla (port actually needs .la files for plugins)
net-mgmt/nagios: Remove -fPIC.
net-mgmt/nagios4: Remove -fPIC.
print/cups-base: Only add -lssp_nonshared on i386 and OSVERSION < 1000036.
security/p11-kit: Replace PTHREAD_LIBS in CONFIGURE_ENV with
ac_cv_func_pthread_mutexattr_init=no in CONFIGURE_ARGS.  This skips a test
in configure that falsely detects pthread_mutexattr_init in our libc.
sysutils/dar: Fix iconv detection.
x11/rxvt-unicode: Remove -lstdc++ and patch configure to remove a FreeBSD
hack and use $CXX as linker as on other platforms.

PR:		190592
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-06-11 14:49:59 +00:00
Baptiste Daroussin
14d88f8c70 Fix packging icons and desktop files 2014-06-11 14:28:11 +00:00
Beat Gaetzi
0557b9315d - Update Firefox to 30.0
- Update Firefox ESR to 24.6.0
- Update libxul to 24.6.0
- Update NSS to 3.16.1
- Update NSPR to 4.10.6
- Update Thunderbird to 24.6.0
- Convert USE_BZIP2 to USES
- Backport ff31 fix against crashing DEBUG build on newegg.com [1]
- Add a note in UPDATING to not build audio/soundtouch with
  INTEGER_SAMPLES [2]
- Use arc4random_buf(3) to generate UUIDs (version 4)
- Fix debugger detection used by Telemetry and the slow script dialog
- Add STAGE support [3]

PR:		ports/189991 [1]
PR:		ports/189217 [2]
PR:		ports/189488 [2]
Submitted by:	bapt [3]
Sumbitted by:	Jan Beich
Security:	http://www.vuxml.org/freebsd/888a0262-f0d9-11e3-ba0c-b4b52fce4ce8.html
2014-06-11 03:42:55 +00:00
John Marino
0ab15ba065 math/ocamlgsl: Update version 0.6.0 => 1.15.1
As part of this update, bsd.ocaml.mk has been updated to essentially
disable USE_OCAML_LDCONFIG for staged ports.  This means when all
ocaml ports are staged, USE_OCAML_LDCONFIG won't work at all.  It
breaks staging; I don't know what the long term plan is -- maybe some
sort of post-install script will arrive...

PR:		189039
Submitted by:	maintainer (Michael Gruenewald)
Portlint pets:	marino
2014-06-11 01:40:09 +00:00
Mathieu Arnold
2e6c4aa347 Don't run fix-perl-bs when NO_STAGE, it's not needed.
Noticed by:	antoine
Sponsored by:	Absolight
2014-06-10 22:15:11 +00:00
Mathieu Arnold
61de712f46 Remove all the bootstrap files (.bs) from the plists.
Starting with perl 5.20, they're not installed any more if empty,
and on FreeBSD, they're (always ?) empty.

PR:		190681
Submitted by:	mat
Exp-Run by:	antoine
Sponsored by:	Absolight
2014-06-10 12:14:12 +00:00
Sunpoet Po-Chuan Hsieh
0449f732c3 - Ensure up-to-date p5-Module-Build and p5-Module-Build-Tiny to avoid build
failure if installed ones do not satisfy version requirement of ports
2014-06-09 07:10:24 +00:00
Sunpoet Po-Chuan Hsieh
63bf70a31c - Cleanup COMMENT 2014-06-09 06:25:31 +00:00
Antoine Brodin
047b1c8ff7 Kill NO_LDCONFIG_MTREE, it is long dead
Make USE_LDCONFIG work when PREFIX!=LOCALBASE,
LDCONFIG_DIR and LDCONFIG_32DIR are expected in LOCALBASE

Phabric:	D195
Reviewed by:	bapt
With hat:	portmgr
2014-06-08 21:25:54 +00:00
Marcus von Appen
a9c3f17b93 Introduce a new PYTHON_CONCURRENT_INSTALL knob to support the parallel
installation of ports for different python versions.

If set to yes, the knob indicates that the port can be installed for different
python versions at the same time. The port will use a unique prefix for
certain directories using USES=uniquefiles:dirs (see the uniquefiles.mk Uses
for details about the directories). Binaries receive an additional suffix,
based on ${PYTHON_VER}.

With hat:	python@
2014-06-07 16:13:11 +00:00
Baptiste Daroussin
54d99c4de5 Fix NO_PIE env definition
Reported by:	peter
2014-06-07 00:27:41 +00:00
Bryan Drewery
7c2fd382bb - Disable PIE in ports for now until more testing can be done.
This is to avoid issues with upcoming PIE support in head which
  is needed for ASLR.

With hat:	portmgr
2014-06-06 21:40:56 +00:00
Bryan Drewery
adf44e394f lib-depends: Don't show "- not found" on a new line.
With hat:	portmgr
2014-06-05 01:08:26 +00:00
Antoine Brodin
37b589438f Revert r356123
This change was not exp-ran and if breaks a few ports because the python3
metaport and bsd.python.mk do not handle python34 well for now

Discussed with:	mva
With hat:	portmgr
2014-06-02 18:29:22 +00:00
Dmitry Sivachenko
0e33c724df Update python34 port 3.4.0 --> 3.4.1.
Reviewed by:	koobs
2014-06-02 12:36:51 +00:00
Mathieu Arnold
886c83c618 Apply a band-aid on Perl ports plists for perl 5.20.
This is not the right fix, but with this, we can move forward.

With hat:	perl@, portmgr
Sponsored by:	Absolight
2014-06-02 08:48:13 +00:00
Tijl Coosemans
feea508b4d Fix description of NOTIFY option. It usually controls a dependency on
libnotify which deals with popup notifications.
2014-06-01 22:04:16 +00:00
Jean-Sébastien Pédron
56d5f9ce28 graphics/darktable: Update to 1.4.2
The following changes were made to options:

    o  Remove GCC option (see below)
    o  Remove KWALLET option (unused)
    o  Rename FACEBOOK option to FB_PICASA, because both export features
       depend on json-glib.
    o  Add COLORD option (color management)
    o  Add GRAPHMAGICK option (support GraphicsMagick's image formats)
    o  Add LUA option (embed Lua to add scripting)
    o  Add OPENEXR option (support HDR image format)
    o  Add SQUISH option (use libsquish to compress thumbnails)
    o  Add WEBP option (support WebP image format)

The patch enables more options by default, because I think it's more
sensible for a photographer using binary packages:

    o  COLORD
    o  FB_PICASA
    o  FLICKR
    o  GEO
    o  GPHOTO (already on)
    o  LUA
    o  NLS
    o  OPENEXR
    o  OPENJPEG
    o  RAWSPEED (already on)
    o  WEBP

The GCC option was removed because the usage of GCC along with libc++
in FreeBSD 10 and -CURRENT is unstable (this isn't a general truth,
just valid in the case of darktable). In FreeBSD up-to 9, the usage of
lang/gcc is mandatory anyway, because GCC 4.2.1 support is best effort
only (upstream).

Ninja is now used to build darktable, instead of make. This is not mandatory
of course, but brings a 33% build time improvement (at least for me).

pkg-plist is generated with "make makeplist" this time. That's why the
diff seems large. In fact most of the content remains the same, just with
a different order.

All patches were committed upstream and are removed, except one which
comes from upstream but isn't part of release 1.4.2.

The port is now "stagified".

Finally, I take maintainership of it.

PR:		ports/186979
Phabricator:	D107
Reviewed by:	danfe@ (previous version), antoine@
Approved by:	antoine@
2014-06-01 18:52:21 +00:00
Rene Ladan
ef6c646bb3 Remove support for Python 3.1 from bsd.python.mk, it expired on 2014-06-01
Approved by:	python (mva)
2014-06-01 15:29:43 +00:00
Dmitry Sivachenko
5dbe4e1bf1 Python 3.4 is a latest version of python-3 branch, so use it. 2014-06-01 14:03:29 +00:00
Antoine Brodin
030f1bf0af Remove a trailing backslash
With hat:	portmgr
2014-06-01 09:01:42 +00:00
Olivier Duchateau
a08779fd1a - Remove some Xfce download mirrors (no longer available)
Approved by:	portmgr (antoine@)
2014-06-01 08:51:51 +00:00
Marcus von Appen
a406ee6e80 Handle non-ASCII encoded setup.py files properly, if the locale of the
execution environment does not match the encoding of the setup.py file. Simply
read everything in as binary data without trying to convert it to the matching
locale.
2014-05-31 08:14:24 +00:00
Rene Ladan
3ad8854905 USE_GMAKE is marked as deprecated in bsd.sanity.mk, but it is
unsupported since r355709

Phabric:	D110
Approved by:	portmgr (bdrewery)
2014-05-30 21:32:38 +00:00
Steve Wills
07e2d47f53 - Force use of libreadline from ports rather than base, in order to avoid
unexpectedly getting readline from ports if it's already installed.
- Add patch to work with newer libreadline
- Provide an option to use libedit from ports, avoiding the libedit in base.
- Note 1: The patch to work with newer libreadline is only applied in the
  libreadline case since it actually breaks building with libedit.
- Note 2: libreadline is not BSD licensed and while libedit would be
  preferable, it seems to have issues with UTF8 still, see ruby bug 9204. Once
  that's resolved, we can make libedit the default.

PR:		ports/187928 [1] (based on)
PR:		ports/188077 [2] (based on)
Submitted by:	Shin-ya Murakami <murashin@gfd-dennou.org> [1]
Submitted by:	Christoph Moench-Tegeder <cmt@burggraben.net> [2]
Obtained from:	http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ext/readline/readline.c?r1=43458&r2=45225 (ruby upstream)
MFH:		2014Q2
2014-05-30 18:34:29 +00:00
Bryan Drewery
0713487d3e - Fix grammar and reword
Submitted by:	mandree
With hat:	portmgr
2014-05-30 17:31:44 +00:00
Bryan Drewery
fa72655e3b - When showing vulnerability warning give an explanation that there
will not necessarily be an update. Give advice on how to skip the
  check. It is the user's choice afterall.

With hat:	portmgr
Reported by:	jhb
2014-05-30 16:40:33 +00:00
Peter Wemm
e5b37ac53a Part 2 of r354962: Point MASTER_SITES_LOCAL backup locations to static
servers with the actual data - in case of a geodns failure.

Approved by:	portmgr (bdrewery)
2014-05-30 05:55:54 +00:00
Bryan Drewery
59efeb0862 - The output from PKG_INFO is actually needed
With hat:	portmgr
Pointyhat to:	bdrewery
2014-05-29 22:21:35 +00:00
Bryan Drewery
8b2b8f3d8d - Stop showing pkg warnings when looking for dependencies based on package
version ranges

  old:
    ~/svn/ports/databases/libdrizzle # make
    ===>   libdrizzle-0.8_1 depends on package: doxygen>=0 - not found
    pkg-static: No package(s) matching doxygen
    ===>    Verifying install for doxygen>=0 in /root/svn/ports/devel/doxygen
  new:
    ~/svn/ports/databases/libdrizzle # make build-depends
    ===>   libdrizzle-0.8_1 depends on package: doxygen>=0 - not found
    ===>    Verifying install for doxygen>=0 in /root/svn/ports/devel/doxygen

With hat:	portmgr
2014-05-29 21:57:15 +00:00
Mathieu Arnold
54cec76118 Change postgresql's default version to 9.2.
Requested by:	so many people
Exp-run by:	antoine
Sponsored by:	Absolight
2014-05-29 20:45:04 +00:00
Martin Wilke
30a9cc83fd - Remove USE_GMAKE support, please use USES=gmake instead 2014-05-29 15:17:17 +00:00
Antoine Brodin
e86bd07065 Add 9.4 to the list of valid pgsql versions
With hat:	portmgr
2014-05-29 08:09:24 +00:00
Baptiste Daroussin
3dc87da393 Add a new option, INSTALL_STRIPPED,
which is intended to be used with WITH_DEBUG, allowing the system to build
packages with debugging symbols enabled and kept in build environment but
do not install them with the resulting binaries.

PR:		ports/185309
Submitted by:	delphij
Reviewed by:	bdrewery
2014-05-28 15:59:47 +00:00
Baptiste Daroussin
aac69c1d99 fix checking DISTDIR for writeability
PR:		ports/127467
Submitted by:	Sergey Skvortsov <godegisel@FreeBSD.org>
2014-05-28 14:51:28 +00:00
Baptiste Daroussin
dd96acba30 make missing distinfo file fatal
PR:		ports/184602
Submitted by:	mandree
Reviewed by:	antoine
2014-05-28 13:23:21 +00:00
Baptiste Daroussin
738692c997 Remove support for USE_DISPLAY 2014-05-28 12:14:01 +00:00
Mathieu Arnold
3610c2b4e0 Forgot to add fix-packlist for NEED_ROOT.
Sponsored by:	Absolight
2014-05-27 21:21:48 +00:00
Baptiste Daroussin
fc5c95cd6c Drop support for USE_SCONS please use USES=scons instead 2014-05-27 14:58:58 +00:00
Mathieu Arnold
ca7f62bffc Add perl 5.20.0.
Changes:	http://search.cpan.org/dist/perl-5.20.0/pod/perldelta.pod
Sponsored by:	Absolight
2014-05-27 12:19:24 +00:00
Baptiste Daroussin
1f527e7fbb scons expect lots of variables to be set as arguments 2014-05-27 12:13:05 +00:00
Baptiste Daroussin
599ded0e50 Fix version comparison 2014-05-27 10:55:39 +00:00
Baptiste Daroussin
ff732faf5b Commit forgotten bits to support lua 5.1 2014-05-26 16:02:07 +00:00
Baptiste Daroussin
a599027a85 Remove bsd.lua.mk and USE_LUA support please use USES=lua 2014-05-26 15:49:05 +00:00
Baptiste Daroussin
f2575f39fe Do not overwrite USES but append values to it 2014-05-26 13:43:25 +00:00
Martin Wilke
6ac9cb0c1f - Covert gmake to USES 2014-05-26 13:38:40 +00:00
Baptiste Daroussin
045f2c267e A typo can hide another typo
Submitted by:	kwm
2014-05-26 13:15:11 +00:00
Baptiste Daroussin
6b95894f58 Fix typos
Submitted by:	sunpoet
2014-05-26 13:10:11 +00:00
Baptiste Daroussin
4f347620f2 Move part of bsd.mono.mk into USES=mono
Drop code for nant support which is not used at all in the ports tree
Add dependency handling on lang/mono
Pass maintainership to mono@
2014-05-26 11:41:33 +00:00
Baptiste Daroussin
a1ed68057d Drop compatibility code for USE_DOS2UNIX 2014-05-26 09:29:50 +00:00
Koop Mast
90a58a4d1e Add a USE_GNOME py3gobject3 component for devel/py3-gobject3 added in r355246. 2014-05-26 07:22:01 +00:00
Mathieu Arnold
2be2a7308c SITE_PERL is relative to LOCALBASE, switch to PREFIX for the post-stage fixups.
PR:		ports/189694
Submitted by:	Paul J Murphy
Sponsored by:	Absolight
2014-05-25 20:58:14 +00:00
Mathieu Arnold
d701b8a5c3 Correct a typo in LPPL13a permissions.
Sponsored by:	Absolight
2014-05-25 19:27:18 +00:00
Bryan Drewery
bf30f17d18 - When searching for lib-depends, show which file was found.
This also fixes "- found" showing alone when there are multiple matches.

PR:		ports/187084
2014-05-25 15:42:52 +00:00
Mathieu Arnold
645a02ffca If using WRKDIRPREFIX, the licenses path will be made unusable.
With hat:	portmgr
Sponsored by:	Absolight
2014-05-25 13:39:16 +00:00
Mathieu Arnold
2686164bfb - Add a USE_PERL5=fixpacklist to account for ports creating one when not using
USE_PERL5=configure or USE_PERL5=modbuildtiny.
- Change perl5.mk to use a specific target and not abuse post-stage.

Reviewed by:	bapt
With Hat:	portmgr
Sponsored by:	Absolight
2014-05-25 11:37:28 +00:00
Palle Girgensohn
011a023c6b 'activate' postgresql-9.4 2014-05-24 14:38:42 +00:00
Peter Wemm
7a033d5909 Point MASTER_SITES_BACKUP / MASTER_SITES_LOCAL to distcache.FreeBSD.org
Approved by:    portmgr (bdrewery)
2014-05-23 20:48:20 +00:00
Philippe Audeoud
ef19ef51d9 - Add OpenSSL license
Approved by:	portmgr (antoine@)
2014-05-23 11:43:30 +00:00
Alex Kozlov
98052ca1a2 - Use /usr/bin/unzip for zip files extraction (part 1)
PR:	ports/188419
Exp-run:	bdrewery
Approved by:	portmgr (bapt)
2014-05-22 09:51:35 +00:00
Baptiste Daroussin
caa378d7ef Rename pathfix-pre-patch target into pathfix to be consistent 2014-05-22 06:42:20 +00:00
Barbara Guida
860d00492d - Stage support
- Add DOCS and NVIDIA_GL options
- Restore MASTER_SITES
- Install without using custom commands
- Take maintainership (former maintainer agreed by private mail)
- For MASTER_SITE_IDSOFTWARE, remove ftp.chg.ru (looks dead) and add ftp.gwdg.de
2014-05-22 06:03:44 +00:00
Steve Wills
fd3fa8ddd4 - Hack to avoid touching /root/.gconf
Reviewed by:	kwm
2014-05-19 17:51:15 +00:00
Antoine Brodin
4c05fc29da Add more files to orphans white list:
- .DS_Store files
- some VCS related files

Note: it's still recommended to not extract/install those files if they are
not needed

PR:		ports/189859
Submitted by:	adamw (first version)
Reviewed by:	bapt
With hat:	portmgr
2014-05-19 16:09:00 +00:00
Mathieu Arnold
f6525cea8d Remove a mention to LICENSE_NOTES, it seems it never existed.
With hat:	portmgr
Sponsored by:	Absolight
2014-05-18 01:57:57 +00:00
Bryan Drewery
e380c31a46 - %D is based on @cwd, not PREFIX; Fix false-postives when using pkg_install
and @cwd has changed away from PREFIX:

    plist:
      @cwd /
      @dirrmtry var/spool/dma

    ====> Checking for pkg-plist issues (check-plist)
    ===> Parsing plist
    DIR '/usr/local/etc/dma' CWD: /usr/local
    DIR '/usr/local/var/spool/dma' CWD:
    DIR 'share/licenses/dma-v0.9,1' CWD: /usr/local
    DIR '/usr/local/share/licenses' CWD: /usr/local
    ===> Checking for items in STAGEDIR missing from pkg-plist
    Error: Orphaned: @unexec rmdir "/var/spool/dma" >/dev/null 2>&1 || :
    ===> Checking for directories owned by MTREEs
    ===> Checking for directories handled by dependencies
    ===> Checking for items in pkg-plist which are not in STAGEDIR
    Error: Missing: @dirrmtry var/spool/dma
    ===> Error: Plist issues found.

With hat:	portmgr
Reported by:	erwin
2014-05-18 01:51:43 +00:00
Dag-Erling Smørgrav
46a53638d3 Add support for inserting CPE URIs as package annotations.
To enable this for a particular port, add "cpe" to the USES list and
optionally define CPE_VENDOR, CPE_PRODUCT etc. if the defaults are not
correct (they should be in most cases).

Approved by:	portmgr (bdrewery)
2014-05-17 18:09:14 +00:00
Dag-Erling Smørgrav
284a7045cf Fix quoting: make is too smart and quotes tildes, which trips up pkg.
Approved by:	portmgr (bapt)
2014-05-17 03:25:37 +00:00
Dag-Erling Smørgrav
1504bf2f9f Add support for package annotations. PKG_NOTES is a list of
annotation keys.  For each key "foo", there should be a variable
PKG_NOTE_foo which contains the corresponding value.

Approved by:	portmgr (bdrewery)
2014-05-17 02:43:37 +00:00
Baptiste Daroussin
31d81cbb2b Remove useless .undef opt
Fix indentation

Reported by:	des
2014-05-16 21:14:24 +00:00
Bryan Drewery
2387ec96ea - Fix check-plist showing @sample dest files as orphans and also showing in
makeplist.

Reported by:	droso
With hat:	portmgr
2014-05-16 17:21:44 +00:00
Erwin Lansing
eaa48b14de Change the protocal for the default master site backup used for
fallback distfile fetching from ftp to http.

Requested by:	many
Approved by:	Ports and Package Summit, BSDCan 2014
2014-05-15 17:39:03 +00:00
Bryan Drewery
a89943f7e8 - Support pkg-1.3 pkg-audit not-vuln output.
With hat:	portmgr
2014-05-12 15:46:34 +00:00
Baptiste Daroussin
024eca236d WANT_GECKO is not in used anywhere in the ports tree, let's remove it 2014-05-11 23:10:16 +00:00
Baptiste Daroussin
0165ff621a Switch firebird to use DEFAULT_VERSIONS macro to set the default
While here drop support for firebird 2.0
2014-05-11 20:46:55 +00:00
Max Brazhnikov
90e380e1cb KDE/FreeBSD team presents KDE SC 4.12.5 and KDE Workspace 4.11.9!
deskutils/kdepim4:
- Remove no longer needed patch, the problem was fixed since Qt 4.8.4.

The area51 repository features commits by rakuco and makc.
2014-05-10 19:43:14 +00:00
Dmitry Marakasov
ef84bb2ad7 - Fix MASTER_SITE_GENTOO 2014-05-10 02:50:38 +00:00
Bryan Drewery
94ec4229c2 - Move security-check.awk to Mk/Scripts where it is more proper these days.
With hat:	portmgr
2014-05-09 22:35:50 +00:00
Bryan Drewery
1d6dc187d6 - Fix regression handling files with spaces from r350006.
Separate file(1) and stat(1) output by a newline and read each line
  individually to avoid losing spaces.
- Use <<-EOF with heredocs to avoid bad indent
- Add some more comments
- Quote filenames in output so it is less unclear

Spotted by:	mandree
Reviewed by:	antoine
With hat:	portmgr
2014-05-09 22:29:30 +00:00
Baptiste Daroussin
a4aa94d4c6 Add a USES to handle objective C (chosing compiler adding the right dependency on the runtime library) 2014-05-08 13:32:12 +00:00
Baptiste Daroussin
9ceb54dcbb Use modern LIB_DEPENDS 2014-05-07 23:38:02 +00:00
Baptiste Daroussin
ac8293a2e3 Move updating the desktop database later to make sure it work as expected with pkg_install 2014-05-07 15:41:33 +00:00
Beat Gaetzi
d71f60b2f1 - Update SeaMonkey to 2.26
- Update libxul to 24.5.0
- Switch to USES=tar:bzip2
- Fix SeaMonkey version detection in Uses/gecko.mk

Submitted by:	Jan Beich
Security:	http://www.vuxml.org/freebsd/985d4d6c-cfbd-11e3-a003-b4b52fce4ce8.html
Approved by:	portmgr (bdrewery, security update to non-staged port)
2014-05-06 19:13:09 +00:00
Antoine Brodin
c3dc6f69e9 When a port needs a python version in a specific range that current python
doesn't satisfy, prefer PYTHON2_DEFAULT or PYTHON3_DEFAULT over other
versions.
Previously, python34 was choosen despite python33 being the default python3.

Silence from:	python
With hat:	portmgr
2014-05-06 17:43:11 +00:00
Tijl Coosemans
e9ccd0e2a8 Let stage-qa detect .la libraries and warn that a port needs USES=libtool.
PR:		ports/189255
Approved by:	portmgr (antoine)
2014-05-06 11:57:22 +00:00
Tijl Coosemans
3f890c31c6 - Run autotools in the same order as autoreconf, i.e. libtoolize, aclocal,
autoconf, autoheader, automake. [1]
  This should allow replacing custom pre-configure and run-autotools
  targets that some ports have with USE_AUTOTOOLS.
- Set default LIBTOOLIZE_ARGS:
  -i: install missing build scripts.
  -c: copy files instead of linking them.  This is needed for USES=libtool
      to be able to patch them.
  -f: force replacement of existing files.  This ensures all files belong
      to the same version.

database/vsqlite:
- Fix with new LIBTOOLIZE_ARGS.
- INSTALL_TARGET=install-strip.
- Drop :keepla.

Reported by:	Nikola Kolev <koue@chaosophia.net> [1]
Exp-run:	antoine
Approved by:	portmgr (antoine)
2014-05-06 09:55:35 +00:00
Raphael Kubo da Costa
5b979ce1a8 The KDE on FreeBSD team presents Qt 4.8.6.
This is a minor bugfix release that fortunately contains quite a few patches
that we have upstreamed in the past months.

See http://blog.qt.digia.com/blog/2014/04/24/qt-4-8-6-released/ for a
summary of changes, and
http://download.qt-project.org/official_releases/qt/4.8/4.8.6/changes-4.8.6
for a detailed list of changes.

This patch contains commits by me, makc@ and Schaich Alonso.

PR:		ports/189213
2014-05-05 20:47:22 +00:00
Antoine Brodin
18d30488cc Fix a copy/paste error
Reported by:	rene
With hat:	portmgr
2014-05-05 17:23:02 +00:00
Baptiste Daroussin
05bbadc591 Finish USES=pgsql
Add WANT_PGSQL=client support
Do not test WANT_PGSQL if it is not defined
Fix a couple of typos makeing it unusable
add WANT_PGSQL=lib (default it nothing is specified)
only depends on library if no WANT_PGSQL is set or lib is explicitly
added to WANT_PGSQL
2014-05-05 12:39:54 +00:00
John Marino
38c3dd2370 Mk/bsd.wx.mk: fixed a :U straggler 2014-05-05 12:04:01 +00:00
Baptiste Daroussin
4a4ec28d37 Convert all :U to :tu and :L to :tl
Since FreeBSD 8.4 and FreeBSD 9.1 make(1) do support :tu and :tl as a
replacement for :U and :L (which has been marked as deprecated)

bmake which is the default on FreeBSD 10+ only support by default
:tu/:tl a hack has been added at the time to support :U and :L to ease
migration. This hack is now not necessary anymore

Note that this makes the ports tree incompatible with make(1) from
FreeBSD 8.3 or earlier

With hat:	portmgr
2014-05-05 09:45:36 +00:00
Bryan Drewery
009875f080 - Ignore MTREE owned PREFIX and PREFIX/info removal for now.
The removal of PREFIX/info may be a bug in bsd.port.mk and needs
  more testing.

With hat:	portmgr
Reported by:	gerald
2014-05-04 03:09:58 +00:00
Bryan Drewery
f6add42b9a - Always ignore /root/.ccache. Missed with r352918
With hat:	portmgr
2014-05-04 03:08:38 +00:00
Sunpoet Po-Chuan Hsieh
597a7da114 - Convert to new LIB_DEPENDS format
Approved by:	portmgr (blanket)
2014-05-03 16:20:54 +00:00
Bryan Drewery
03fd5eb749 - Fix WITH_CCACHE_BUILD support (fix build) with ports that use
HOME=/dev/null to avoid staging violations. This will force
  CCACHE_DIR=/root/.ccache when running as root, and otherwise
  will force CCACHE_DIR to be manually set.

With hat:	portmgr
PR:		ports/186410 [textproc/xmlto build]
Reported by:	mandree, Rainer Duffner <rainer@ultra-secure.de>
MFH:		2014Q2
2014-05-03 15:11:01 +00:00
Jung-uk Kim
aa834f1ffa Document JAVA_EXTRACT. 2014-05-02 21:35:14 +00:00
Bryan Drewery
a9854d21e1 - Fix with fmake:
/usr/ports/Mk/bsd.sanity.mk", line 111: Malformed conditional (defined(USE_AUTOTOOLS) && (${USE_AUTOTOOLS:Mlibtool} || ${USE_AUTOTOOLS:Mlibtool\:env}))

With hat:	portmgr
2014-05-02 19:51:04 +00:00
Tijl Coosemans
f864fc4bfb Mark USE_AUTOTOOLS=libtool and USE_GNOME=ltverhack deprecated.
PR:		ports/189244
Approved by:	portmgr (antoine)
2014-05-02 19:05:02 +00:00
Tijl Coosemans
ea533c8b26 Use new LIB_DEPENDS syntax in Mk/bsd.sdl.mk. 2014-05-02 14:45:32 +00:00
Ashish SHUKLA
1856447336 - Update to bzr revision 24.4.50
- Update version of emacs-devel port in bsd.emacs.mk
2014-05-02 01:51:50 +00:00
Koop Mast
a2e27959ef Add gtkhtml 4.8.0.
This is the gtk+ 3.0 version of gtkhtml3.

Obtained from:	GNOME dev repo.
2014-05-01 14:23:31 +00:00
Alex Dupre
df6451a093 Update to 5.5.12 release. 2014-05-01 10:36:34 +00:00
Beat Gaetzi
b6e8f8d98d - Update Firefox to 29.0
- Update Firefox ESR to 24.5.0
- Update Thunderbird to 24.5.0
- Update NSS to 3.16
- Use port dependency for soundtouch library
- Require recent graphite2 version explicitly [1]
- Require gst-libav version that doesn't crash on seeking [2]
  and doesn't error out on plugin load [3]
- Remove gstreamer note in pkg-message for www/firefox, [3] may still
  happen with www/firefox-esr but only until it tracks esr31 (ca 2014-09-01)
- Fix USE_XPI in mail/thunderbird-i18n [4]

Security:	http://www.vuxml.org/freebsd/985d4d6c-cfbd-11e3-a003-b4b52fce4ce8.html
PR:		ports/187939 [1]
PR:		ports/188133 [2]
PR:		ports/181964 [3]
PR:		ports/188984 [4]
Submitted by:	Toomas Aas <toomas.aas@raad.tartu.ee> [1]
Submitted by:	Jakub Lach <jakub_lach@mailplus.pl> [2]
Submitted by:	Jan Beich [3] and this update!
Submitted by:	Toni Ballesta <mustelator@yahoo.es> [4]
Approved by:	portmgr (bdrewery, security update to non-staged port)
2014-04-29 20:35:24 +00:00
Sunpoet Po-Chuan Hsieh
7f1820e2c3 - Add shared UDUNITS and UDUNITS2 descriptions 2014-04-29 13:28:44 +00:00
Baptiste Daroussin
51b7c9f6d0 Allow to append -p[0-9] to EXTRA_PATCHES to specify the patch(1) stripping level 2014-04-28 15:47:50 +00:00
Olli Hauer
edfcd95e30 - automatically strip modules build with
AP_FAST_BUILD, except if DEBUG is set
2014-04-27 14:11:30 +00:00
Bryan Drewery
779bba4486 - Fix check-stagedir causing staging violating. Quote all directory names
when doing plist checks. This could leak out if an unsupported format
  was used such as 'rmdir -p' or 'rmdir dir1 dir2 dir3'

With hat:	portmgr
Reported by:	antoine
Pointyhat to:	bdrewery
2014-04-24 22:42:06 +00:00
Bryan Drewery
eacc5a1959 - Fix false-positive orphanned dir when '@unexec rmdir -p' is used.
Reported by:	antoine
With hat:	portmgr
2014-04-24 22:31:24 +00:00
Bryan Drewery
821e60e4cc - Refactor a bit into functions
With hat:	portmgr
2014-04-24 22:30:05 +00:00
Jung-uk Kim
d367a33745 - Sort Java implementations by preference, i.e., java/openjdk7 is preferred
over java/openjdk8.  java/openjdk8 is still in its infancy.
- Retire redundant _JAVA_PREFERRED_PORTS hack.  We only have one preferred
port since r290539 and we want to keep it that way.
2014-04-24 18:05:21 +00:00
Bryan Drewery
4541c779c7 check-plist: Don't error if GNOME_MTREE_FILE is missing, which can happen
in nox11 ports that USE_GNOME.

With hat:	portmgr
Reported by:	swills
2014-04-24 12:00:27 +00:00
Bryan Drewery
a0b9955c09 - Fix regression from r315599: Allow pkg to install itself first
if not yet installed and WITH_PKGNG is set. Just skip the
  vulnerabilities check as intended in r315599.

With hat:	portmgr
Reported by:	diizzy on EFNet
Pointyhat to:	bdrewery (with interest)
2014-04-24 00:52:16 +00:00
Bryan Drewery
5c4ee29736 - Fix when USES not defined
With hat:	pormtmgr
Pointyhat to:	bdrewery
2014-04-23 22:22:42 +00:00
Bryan Drewery
2c1715db99 - Fix stage-qa when USES contains desktop-file-utils twice
Reported by:	mandree
With hat:	portmgr
2014-04-23 22:19:58 +00:00
Antoine Brodin
a373437d73 - Handle plist containing @unexec /bin/rmdir
- Handle directories ending with digits

With hat:	portmgr
2014-04-23 20:46:45 +00:00
Tijl Coosemans
aad09bc5e2 When linking a library libA with a library libB using libtool, if libB.la
exists, libtool will add all libraries libB.la refers to (dependency_libs
field) to the linker command line and store them in the dependency_libs
field of libA.la.  So everything that subsequently links with libA will also
link to these extra libraries.  This causes too much overlinking.

This commit modifies Mk/Uses/libtool.mk so it empties the dependency_libs
field in .la libraries during staging.  However, because .la libraries have
very limited use when dependency_libs is empty it makes sense to completely
remove them during staging.

So with this commit USES=libtool is modified to remove .la libraries and a
new form (USES=libtool:keepla) is introduced in case they need to be kept
(dependency_libs is still emptied).

PORTREVISION is bumped on all ports with USES=libtool that install .la
libraries.  Most ports are also changed to add :keepla because .la
libraries have to be kept around as long as there are dependent ports with
.la libraries that refer to them in their dependency_libs field.  In most
cases :keepla can be removed again as soon as all dependent ports that
install .la libraries have some form of USES=libtool added to their
Makefile.

PR:		ports/188759
Exp-run:	bdrewery
Approved by:	portmgr (bdrewery)
2014-04-23 13:25:16 +00:00
Bryan Drewery
196182d95e - Mostly revert r338509 and re-add SF mirrors. Prefer main redirect.
Sourceforce is currently having major issues and without this we
  risk having weekly packages fail to build.

With hat:	portmgr
2014-04-23 00:46:23 +00:00
Bryan Drewery
3964423d4f - Fix handling of "@comment @cwd" so it does not reset real @cwd; only
change the cwd for commented lines (such as %%OPTION%%file). Reset it
  back to the normal on the first non-commented line.
- Sort files after stripping out @comment

With hat:	portmgr
2014-04-22 23:28:27 +00:00
Antoine Brodin
fc05fd3aae Fix directory keywords handling
Reviewed by:	bdrewery
With hat:	portmgr
2014-04-22 14:11:48 +00:00
Bryan Drewery
a12e34d03e - For pkg run-depends dir listing, consider deps recursively.
pkg_install already did this.
- Speedup the pkg_install run-depends listing by processing unique
  packages.

With hat:	portmgr
Reported by:	antoine
2014-04-22 12:56:13 +00:00
Antoine Brodin
4053a4a28f Fill orphans white list with files regenerated by installation scripts:
- info directories
- fonts.dir and fonts.scale
- desktop database
- mime database

With hat:	portmgr
2014-04-21 22:08:32 +00:00
Antoine Brodin
a45906707f - Do not advise to strip non FreeBSD binaries [1]
- Shorten messages

Requested and tested by:	xmj [1]
With hat:	portmgr
2014-04-21 20:17:00 +00:00
Bryan Drewery
b8334287c4 - Split MTREE check into its own check
- Split dependency-owned check its own and make into a non-fatal warning.
  This is not black-and-white. Python/Rubygem ports cleanup the lib dir
  for every installed package, and for python/ruby-gems too. This is fine,
  the extensions should not clean them up then; the error is valid here.
  However, there's other frameworks which don't cleanup in the master package
  and yield unexpected results. An example is that php does not cleanup
  etc/php itself. Only extensions do. So if an extension depends on another
  extension it will complain that the dependent extension owns etc/php,
  so we remove from bsd.php.mk, now it's a leftover. The proper place is in the
  php port itself, but it's unknown how many other cases there are like this.
  So for now make this non-fatal and into a warning.

  This is all mostly moot once pkg auto handles directories anyhow.

With hat:	portmgr
Discussed with:	antoine
2014-04-21 18:42:15 +00:00
Bryan Drewery
e81c57a53d - Sort directories by Lexicographical Depth-First order (find -ds)
With hat:	portmgr
2014-04-21 16:22:20 +00:00
Antoine Brodin
5be1bc5fe0 Fix plist_sub_sed_sort.sh when value contains spaces 2014-04-20 23:47:25 +00:00
Antoine Brodin
4091ee9287 Fix PLIST_SUB_SED when value contains =
With hat:	portmgr
2014-04-20 23:45:56 +00:00
Mathieu Arnold
9ea93fc774 Add / to the blacklist of homedirs that should not be created or touched.
With hat:	portmgr
Sponsored by:	Absolight
2014-04-19 13:54:30 +00:00
Bryan Drewery
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.
2014-04-19 06:44:56 +00:00
Pawel Pekala
914c02c741 makepatch: don't create empty patches
PR:		ports/188764
Submitted by:	myself
Approved by:	portmgr (bdrewery)
2014-04-18 17:31:12 +00:00
Thomas Zander
389bd99220 libvpx is unconditionally built with VP9 support, so adapt its description accordingly
Approved by:	jadawin (co-mentor)
2014-04-18 12:19:10 +00:00
Bryan Drewery
193b6cc6d8 - Fix HOMEDIR handling to not exclude all directories for ports without USERS
Reported by:	antoine
With hat:	portmgr
2014-04-17 14:45:49 +00:00
Bryan Drewery
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
2014-04-17 14:42:44 +00:00
Bryan Drewery
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
2014-04-17 04:56:04 +00:00
Bryan Drewery
bf13bd7229 - Create a DO_MAKE_BUILD which will do the right thing for building, such
as setting MAKE_ENV. Without this things like WITH_CCACHE_BUILD do not
  properly work if a port does its own building.

With hat:	portmgr
2014-04-17 04:02:59 +00:00
Bryan Drewery
c9e5403827 - Add PLIST_SUB_SED which is used to replace absolute paths with PLIST_SUB'd
paths. This will be used for check-stagedir.sh and poudriere/tinderbox
  leftover handling.
  This version handles several flaws of other implementations:
    - Remove VARS that are too generic
    - Remove empty values
    - Remove @comment values
    - Remove quotes
    - Replace . with \. for later sed(1) usage
    - Handle values with spaces
    - By default only use values 2+ characters long. Let this be overridable
      with PLIST_SUB_SED_MIN.

Reviewed by:	antoine, mat
With hat:	portmgr
2014-04-17 03:47:54 +00:00
Bryan Drewery
b8856298ff - Detect failure to create PREFIX for pkg_install workaround added in r351422
With hat:	portmgr
2014-04-16 22:27:38 +00:00
Bryan Drewery
60c86fe0f7 - During 'make package' create PREFIX if not there to workaround a pkg_install
bug [1] requiring it to be even if creating from STAGEDIR. This is only done
  when NO_STAGE is not set and for pkg_install.

  This fixes the following error with 'make package' from stagedir:

    pkg_create: couldn't resolve path for prefix: /var/qmail: No such file or directory

  [1] This is due to base r231300 requiring the prefix to exist when
      running pkg_create (which may not be true in staging). This was
      fixed in r240682, but never made it to 9.1

With hat:	portmgr
2014-04-16 22:17:41 +00:00
Niclas Zeising
39fc32e828 The FreeBSD x11@ and graphics team proudly presents
a zeising, kwm production, with help from dumbbell, bdrewery:

NEW XORG ON FREEBSD 9-STABLE AND 10-STABLE

This update switches over to use the new xorg stack by default on FreeBSD 9
and 10 stable, on osversions where vt(9) is available.
It is still possible to use the old stack by specifying WITHOUT_NEW_XORG in
/etc/make.conf .
FreeBSD 8-STABLE and released versions of FreeBSD still use
the old version.
A package repository with binary packages for new xorg will
be available soon.

This patch also contains updates of libxcb and related ports, pixman, as well
as some drivers and utilities.

Bump portrevisions for xf86-* ports, as well as virtualbox-ose-additions due
to xserver version change.

Apart from these updates, the way shared libraries are handled has been
changed for all xorg ports, as well as libxml2 and freetype, which means
ltverhack is gone and as a consequence shared libraries have been bumped.
The plan is that this change will make library bumps less likely in the
future.
All affected ports have had their portrevisions bumped as a consequence of
this.

Fix some issues where WITH_NEW_XORG weren't detected properly on CURRENT.

Update instructions, hardware support, and more notes can be found on
https://wiki.freebsd.org/Graphics

Thanks to:	all testers, bdrewery and the FreeBSD x11@ team
exp-run by:	bdrewery [1]
PR:		ports/187602 [1]
Approved by:	portmgr (bdrewery), core (jhb)
2014-04-16 18:28:47 +00:00
Bryan Drewery
a189085d53 - Make default target "make stage" if staging supported.
This is so that 'make' followed by 'make deinstall install' will, by default,
  have a much shorter period of files missing on the system as it is without
  staging.

Discussed with:	bapt
With hat:	portmgr
2014-04-16 16:29:38 +00:00
Baptiste Daroussin
86b335b8cc Revert bdrewery will work on this later 2014-04-15 13:04:18 +00:00
Baptiste Daroussin
aa8bd6bc5d Register deprecation and expiration in packages 2014-04-15 12:49:46 +00:00
Steve Wills
d370b8a9bf - Fix issues with specifying ${RUBY} variable
PR:		ports/170916
Reported by:	Hiroto Kagotani <hiroto.kagotani@gmail.com>
2014-04-13 02:44:45 +00:00