Commit graph

4635 commits

Author SHA1 Message Date
Raphael Kubo da Costa
4e4dc37058 Add x11/qt5-x11extras.
Qt platform-specific features for X11-based systems.

PR:		194008
Submitted by:	Jan Beich <jbeich@vfemail.net>
2014-09-29 21:24:18 +00:00
Tijl Coosemans
fe837ee6c6 Change the way USES is handled:
- Loop over USES twice, once to define all *_ARGS variables and once to
  include Uses/*.mk.  This allows all Uses/*.mk to examine arguments given
  to other USES entries.
- Always define *_ARGS (possibly empty) and replace commas with spaces.

Similar for _USES_POST.

Adjust all Uses/*.mk:
- defined(u_ARGS) becomes !empty(u_ARGS)
- Eliminate helper variables like _*_ARGS=${*_ARGS:C/,/ /g}
- Some Uses/*.mk used ":" as argument separator instead of ",", but no port
  used this form
- Uses/cran.mk: remove unused variable VALID_ARGS and USES+=fortran which
  has no effect
- Uses/twisted.mk: simplify handling of the case where neither "build" nor
  "run" arguments have been specified

PR:		193931
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-09-28 16:36:31 +00:00
Marcus von Appen
6d91b534f2 - Fix awk issue in add-plist-post, if python 3.x is the default
PR:		193966
Submitted by:	corsmith@gmail.com
With hat: 	python@
2014-09-27 07:27:26 +00:00
Tijl Coosemans
6defc67c4d Depend on lang/gccXY if users wish to use a different version of gcc by
default than lang/gcc (currently 4.8).

(I don't fully agree with this implementation but this makes something
like DEFAULT_VERSIONS+=gcc=4.9 in make.conf work correctly.)

Reported by:	Luca Pizzamiglio <luca.pizzamiglio@gmail.com>
Approved by:	gerald
2014-09-26 16:00:41 +00:00
Bryan Drewery
6611d7feaf Try to make this more clear
With hat:	portmgr
2014-09-26 00:50:14 +00:00
Bryan Drewery
6f337093e2 Tell users to update the pkg PORT
With hat:	portmgr
2014-09-25 21:29:57 +00:00
Marcus von Appen
9e9266dead - Resolve relative paths, such as path/./file.py or path/../file.py for
USE_PYTHON=autoplist, which can occur, if relative paths are set in a
  setup.py script. Those cause pkg and QA sanity checks to misbehave.
- Remove @dirrm and @dirmmtry additions for USE_PYTHON=autoplist,
  USE_PYTHON=py3kplist and egg-info entries, if USES=python is set. pkg 1.3.8
  does not need those anymore.
- Add ${PYTHON_VER} to the PLIST_SUB defaults, if USES=python is set.

PR:		193885
Differential Revision:	D812
Reviewed by:	antoine@
Exp-run by:	antoine@
With hat:	python@
2014-09-25 21:01:57 +00:00
Matthias Andree
008fe1b949 Fix shell commands in fix-packlist,
A. avoiding a bogus *** Error code 1 (ignored) on ports that
1. set at least one of the configure, modbuildtiny, or fixpacklist options
   to USES_PERL5=..., AND
2. do not create/install into
   ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/${PERL_ARCH}/auto

B. no longer masking ${FIND} trouble through the leading - on the
   Makefile commands.

PR:		193934
Approved by:	portmgr (bdrewery)
2014-09-25 20:38:32 +00:00
Tijl Coosemans
a6d2f30533 - Set CPPFLAGS and LIBS in a number of ports so configure can find libintl.h
and libintl.so.  This fixes a problem where DATADIRNAME gets an incorrect
  value which causes locale files to be installed in the wrong place.
- The only configure checks that still need to be patched are related
  to intltool so move DATADIRNAME patching from USES=pathfix to
  USE_GNOME=intlhack.

- games/klavaro: remove excessive dependencies
- japanese/libskk: add INSTALL_TARGET=install-strip
- math/libqalculate: add INSTALL_TARGET=install-strip and remove pthread
  patching
- multimedia/freetuxtv: remove excessive dependencies
- science/gramps: fix shared-mime-info use

Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-09-25 15:18:27 +00:00
Steve Wills
f1093059ba lang/ruby21: update to 2.1.3 2014-09-24 03:11:52 +00:00
Steve Wills
897642d681 lang/ruby20: update to 2.0.0p576 2014-09-24 03:11:06 +00:00
Olli Hauer
0a56314ec4 - remove SLAVE_PORT_MODULES (no longer required since apache >= 20)
with hat apache@
2014-09-23 22:10:26 +00:00
Antoine Brodin
ae506a831d Make the fetch of PATCHFILES more quiet
With hat:	portmgr
2014-09-23 20:31:40 +00:00
Olli Hauer
1a469623b4 - fix bad warning example, s/DEFAULT_VERSIONS=/DEFAULT_VERSIONS+=/
with hat apache@
2014-09-23 20:18:01 +00:00
Baptiste Daroussin
b3d2784a5c Introduce USES=pear 2014-09-23 13:47:53 +00:00
Baptiste Daroussin
1cdf78746b Remove dirrm from documentation in header 2014-09-23 12:46:38 +00:00
Baptiste Daroussin
243a3b411b Register license files with absolute path
That makes it still respecting PREFIX while making it more robust to plist using @cwd
2014-09-23 12:42:00 +00:00
Baptiste Daroussin
b19fd64d7e Simplify USES=webplugin 2014-09-23 11:01:24 +00:00
Baptiste Daroussin
1c46d73c04 Remove some useless @cwd
Cleanup documentation about DOCSDIR and dirrm
2014-09-23 10:32:36 +00:00
Bryan Drewery
e5f17bd649 - Fix check-vulerable exiting without printing message since pkg-1.3.4 fixed
'pkg audit' to return non-zero.

With hat:	portmgr
2014-09-22 15:22:58 +00:00
Baptiste Daroussin
124b350ddb Clean out some @dirrmtry
While here remove now no-op targets
2014-09-22 13:21:29 +00:00
Baptiste Daroussin
56dd8dcf3c Use keywords to control exactly when is excutied
the different database updates
2014-09-22 12:48:27 +00:00
Baptiste Daroussin
ba915ddbc1 Stop emitting @dirrm* for PORTDATA and PORTEXAMPLES 2014-09-22 12:24:34 +00:00
Baptiste Daroussin
530013ac67 Spelling
Submitted by:	xmj
2014-09-22 12:09:08 +00:00
Johannes Jost Meixner
05317facbe Update CentOS base to 6.5, add userland ports
The Fedora 10 infrastructure ports have been in use since June 2009 and, while
having served a great deed, have become unsupported upstream and hence affected
by unfixed security vulnerabilities. In addition to that, many recent Linux
binaries need newer libc / stdlibc++ versions.

This commit adds the linux-c6- userland as drop-in replacement for the -f10
infrastructure, as well as upgrading the linux_base-c6 port to CentOS 6.5.

If you want to switch to linux-c6 ports, please define at /etc/make.conf:

    OVERRIDE_LINUX_BASE_PORT=c6
    OVERRIDE_LINUX_NONBASE_PORTS=c6

Additionally, please add the following line to /etc/sysctl.conf:

    compat.linux.osrelease=2.6.18

Upgrading procedures are shown in /usr/ports/UPDATING.

This work has been inspired by Artyom Mirgorodskiy's post to emulation@ in
November 2013, using and extending mav@'s work. It has been tested extensively
and most reported issues were already fixed. Please report any additional bug
or "features" to the emulation mailing list.

Many thanks to: mav@, rene@, allanjude@, netchild@, antoine@, everyone who's
filed Issues and Pull requests on GitHub,

PR:		186820
Differential Revision:	https://reviews.freebsd.org/D793
Reviewed by:	allanjude, antoine, bapt, rene
Approved by:	portmgr (antoine, bapt)
Approved by:	koobs (mentor)
Sponsored by:	Perceivon Hosting Inc.
2014-09-22 10:40:00 +00:00
Baptiste Daroussin
b92b5abdf5 Remove @dirrmtry from PORTSDOC code it is now automatic 2014-09-22 09:42:03 +00:00
Antoine Brodin
68bcf28124 Do not report directories in plist as orphans
With hat:	portmgr
2014-09-22 07:53:57 +00:00
Baptiste Daroussin
3eaa1784f2 PLIST_DIRS and PLIST_DIRSTRY are now equivalent and both emitting @dir entries
(Note that PLIST_DIRSTRY) is now deprecated
2014-09-22 06:30:46 +00:00
Baptiste Daroussin
97c37f55f4 Let pkg(8) track license directories by itself 2014-09-22 06:28:15 +00:00
Baptiste Daroussin
955ab0c5ae Do not set an initial value for owner/wheel pkg(8) does it by itself now 2014-09-22 06:27:13 +00:00
Baptiste Daroussin
cdc718adfc adjust check_stagedir.sh to take in account %%KEY%%@dirrm* 2014-09-22 06:22:56 +00:00
Baptiste Daroussin
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
2014-09-22 05:47:32 +00:00
Olli Hauer
de6bc5227e - change check for httpd version s/-V/-v/
-V also checks for config issues in httpd.conf, this can break a build
  in case there are config issues during rebuilds on a live system.
  -v prints the required info without check

with hat apache@

PR:		191471
Submitted by:	Todd <kovert_at_omniscient.com>
2014-09-21 15:47:08 +00:00
Bryan Drewery
9b977fa9aa - Remove -a when copying package. r329130 broke this when PACKAGES was on
NFS. It is not that important to preserve timestamp for the package, and
  other metadata seems to be fine otherwise. This whole thing needs to be
  reworked so PKGFILE is more respected (another regression of mine).

With hat:	portmgr
Reported by:	will
Pointyhat to:	bdrewery
2014-09-19 15:44:55 +00:00
Tijl Coosemans
ac209cd4f6 Improve the autoreconf documentation:
- Mention configure.in as the old name for configure.ac
- M4 macros provided by autoconf are not copied into aclocal.m4
- Autoheader does not regenerate configure (only config.h.in)
2014-09-19 12:37:48 +00:00
Bryan Drewery
2e0063b2c3 - Fix minimum pkg version check when using pkg from git. Strip out everything
after '-' as it is a hash. It is not strictly newer than the implicit 0.
- Reword msg [1]

Submitted by:	adamw [1]
With hat:	portmgr
2014-09-19 00:50:37 +00:00
Bryan Drewery
1c3c69804d Remove dead pkg_install code 2014-09-18 21:21:34 +00:00
Bryan Drewery
ff9d59c6dd Fix typo.
Submitted by:	sunpoet
With hat:	portmgr
2014-09-18 16:09:56 +00:00
Baptiste Daroussin
d7294f43fd Fix WITH_PKGNG=devel backward compatibility 2014-09-18 13:11:36 +00:00
Baptiste Daroussin
dd340e8b53 Add a minimal version testing for the installed pkg to enforce people to go to the latest version
Set minimal version to 1.3.7 for now

Differential Revision:	D723
Reviewed by:	bdrewery
2014-09-18 13:05:50 +00:00
Mathieu Arnold
46cf4bcb84 Retire MANCOMPRESSED.
Also the compat NO_INSTALL_MANPAGES shim.

Differential Revision:	https://reviews.freebsd.org/D730
Reviewed by:	antoine
With hat:	portmgr
Sponsored by:	Absolight
2014-09-18 12:31:24 +00:00
Antoine Brodin
8c8d939697 Fix typo
With hat:	portmgr
2014-09-17 19:02:59 +00:00
Tijl Coosemans
036fca0b54 Initial version of USES=autoreconf that can replace USE_AUTOTOOLS. It
runs autoreconf in CONFIGURE_WRKSRC to update configure, Makefile.in and
other build scripts.

Approved by:	portmgr (bapt)
2014-09-17 10:06:08 +00:00
Tijl Coosemans
3a1aa3c465 - Remove last uses of USE_AUTOTOOLS=libtool from bsd.gnome.mk
(lthack, ltasneededhack and ltverhack) [1]
- Remove support for USE_AUTOTOOLS=libtool and USE_AUTOTOOLS=libltdl

PR:		188978 [1]
Approved by:	portmgr (bapt)
2014-09-17 07:48:22 +00:00
Bryan Drewery
55ba7688eb - Fix off-by-one with 'make checksum' which caused it to not properly
download files from the last site (distcache).

With hat:	portmgr
2014-09-16 20:38:13 +00:00
Bryan Drewery
5e092869e2 - Continue to define PKGNG_ORIGIN.
- This is used by portupgrade and poudriere bulk/testport -i for
    install-package.
  - The change is not backwards compatible; setting PKGNG_ORIGIN was never
    intended. It is only for reading.

With hat:	portmgr
Discussed with:	bapt
2014-09-16 16:02:50 +00:00
Tijl Coosemans
fad34ea21f Turn the installation of *.la files, without some form of USES=libtool in
the port Makefile, into a stage-qa error.  All ports that would trigger
this error have been converted.  Many thanks to all people involved in
this, especially Dmitry Marakasov (amdmi3) who handled most ports.

At this moment over 2200 ports have USES=libtool and over 20000 library
dependencies between packages have been removed.

This also marks the point where :keepla is no longer special.  It is now
only needed if a port uses *.la files at run-time.

QA-run by:	antoine
Approved by:	portmgr (antoine)
2014-09-15 18:23:21 +00:00
Tijl Coosemans
66fcd054e9 Tell realpath to stay quiet if it cannot resolve a link
Approved by:	portmgr (bdrewery)
2014-09-14 18:41:53 +00:00
Steve Wills
ac2099d806 lang/ruby*: bump portrevision for libexecinfo change
I had thought the package wouldn't change, but it does
2014-09-14 16:06:06 +00:00
Bryan Drewery
5dfbd0f549 Allow this to work on DragonFly which does not have the -f param for readlink(1)
Tested by:	marino
With hat:	portmgr
2014-09-13 20:25:58 +00:00