1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
Commit Graph

4439 Commits

Author SHA1 Message Date
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
Baptiste Daroussin
0636191626 Add PORTSDIR path into PKG_ENV to allow the pkg command to properly find the keywords when PORTSDIR is not /usr/ports 2014-04-12 22:35:09 +00:00
Baptiste Daroussin
ae64e0c22c Add PKG_ENV to pkg register command 2014-04-12 22:29:15 +00:00
Antoine Brodin
0ade3b428b Do not advise to strip ELF relocatables, usually it is harmful
With hat:	portmgr
2014-04-12 20:49:52 +00:00
Antoine Brodin
32d4470be8 Reduce the number of false positives reported by the shebang qa check
by looking only at files and symlinks in bin, sbin and libexec

Reviewed by:	bdrewery
With hat:	portmgr
2014-04-12 20:48:04 +00:00
Bryan Drewery
4070b12551 - Add a @sample plist keyword
It accepts a file (must end in .sample, this is not configurable):

    @sample file.conf.sample

  This will install file.conf.sample and copy it to file.conf. The file.conf
  will be removed if it matches file.conf.sample on deinstall.

  This replaces older patterns of:

    @unexec if cmp -s %D/etc/pkgtools.conf %D/etc/pkgtools.conf.sample; then rm -f %D/etc/pkgtools.conf; fi
    etc/pkgtools.conf.sample
    @exec [ -f %B/pkgtools.conf ] || cp %B/%f %B/pkgtools.conf

  [1] This somewhat obsoletes work in ports/157168 which added CONF_FILES,
      but we have been moving towards more logic in pkg-plist where possible
      and less magical macros. Though this thinking does clash with autoplist
      ideas. We may still want CONF_FILES, which just drops a list of
      @sample entries into the plist anyway.
- Add a Keywords/pkg_install.awk and hook it into generate-plist. This is
  for pkg_install compatibility since it does not know how to read
  Keywords/sample.yaml.
  This file gives us a strategy to implement more keywords before
  pkg_install is EOL.
  Keywords are documented here:
  bffc31420b
- This needs to be documented in PH and portlint support added still.

PR:		ports/157168 [1]
Discussed with:	bapt
Reviewed by:	bapt
Requested by:	many
With hat:	portmgr
2014-04-12 03:39:02 +00:00
Kubilay Kocak
25fa2634a3 Mk/bsd.python.mk: Space to tabs in user message
Fix (replace) spaces with a tab in user message for valid Python versions.

Submitted by:	John Hein <john dot hein at microsemi dot com>
2014-04-12 03:07:31 +00:00
Brooks Davis
ad2f70940d Allow an alternative install prefix to be specified with
CMAKE_INSTALL_PREFIX.  This is similar to GNU_CONFIGURE_PREFIX and is
useful for ports that would conflict if installed directly in PREFIX.
2014-04-11 21:45:55 +00:00
Jung-uk Kim
6b6b88f5da Update comments. 2014-04-11 17:17:33 +00:00
Sunpoet Po-Chuan Hsieh
841cd91930 - Fix _JAVA_PORT_LINUX_ORACLE_JDK_1_8_INFO
- Reorder _JAVA_VENDOR_*
- Update comment

Submitted by:	sunpoet (myself)
Approved by:	bapt (portmgr)
2014-04-11 15:37:52 +00:00
Bryan Drewery
33c153382d - Make shebang a warning for now, too many false-positives in files we
do not care about.

  antoine@ is working on a better solution for this.

With hat:	portmgr
2014-04-11 14:15:57 +00:00
Baptiste Daroussin
86fffbda3c followup with recent cleanup 2014-04-11 12:45:16 +00:00
Sunpoet Po-Chuan Hsieh
9d89ae5c91 - Pet portlint: use PYTHON_DISTNAME instead of PYTHON_DISTFILE 2014-04-11 08:25:00 +00:00
Greg Lewis
713cd98aca . Set maintainer to java@FreeBSD.org. 2014-04-11 02:08:05 +00:00
Baptiste Daroussin
164f3070a4 Only include bsd.gecko.mk when USE_GECKO or WANT_GECKO is set 2014-04-10 19:20:30 +00:00
Bryan Drewery
05eb127ac5 - Fix error handling in check-config, 'exit' is not a command.
make: exec(exit) failed (No such file or directory)

 With hat:	portmgr
2014-04-10 17:03:54 +00:00
Baptiste Daroussin
39d3dbfa14 Allow to properly run make check-orphans and make makeplist for gnome ports 2014-04-10 17:02:33 +00:00
Baptiste Daroussin
f718dc1633 Remove bits replaced by USES=gecko 2014-04-10 14:46:37 +00:00
Baptiste Daroussin
2acd3c6d9c Allow regular make xdev to be used as a cross building env 2014-04-10 14:44:52 +00:00
Baptiste Daroussin
8a3c16d98f Add support for OpenJDK 1.8
Add support for Oracle JDK 1.8
Remove support for Sun JDK 1.6 (EOLed)
Remove support for USE_JAVA=1.5
2014-04-10 07:20:23 +00:00
Pawel Pekala
cc754660a3 Reset default qmake flags so that they don't taint our
globally set CFLAGS, CXXFLAGS

PR:		ports/188287
Submitted by:	myself
Approved by:	kde (makc)
2014-04-09 19:00:49 +00:00
Kubilay Kocak
bcd640815d Mk/pathfix.mk: Support more pkgconfig libdir matches
Add support for matching additional pkgconfig libdir entries
that were found in Python's Makefile.pre.in.

It can also be used by other ports [1] by setting PATHFIX_MAKEFILEIN to the
appropriate filename in ${WRKSRC}.

If this file grows support for other pathfix'es beyond Makefile's and
autoconf sources, it may be worth renaming PATHFIX_MAKEFILEIN in future
to suit the broader scope.

[1] Examples: devel/ptlib, graphics/zathura (thanks antoine)

Reviewed by:	antoine
Approved by:	antoine (exp-run)
MFH:		2014Q2
2014-04-09 12:45:54 +00:00
Baptiste Daroussin
53bf9f230c Fix dependency on thunderbird 2014-04-09 12:37:53 +00:00
Baptiste Daroussin
412cfda552 Add USES=geck to handle dependencies on the gecko engine via:
libxul, seamonkey and/or firefox
default being libxul
2014-04-09 10:28:23 +00:00
Baptiste Daroussin
c4abcef202 Drop support for non staged perl ports 2014-04-09 09:53:09 +00:00
Baptiste Daroussin
3ba7dc60bd Remove support for not staged ports
Approved by:	ruby@ (swills)
2014-04-09 09:25:29 +00:00
Koop Mast
972fe6e105 Prevent Makefile from running "gconftool-2 --makefile-install-rule". This
command is run on LOCALBASE instead of STAGEDIR.

Submitted by:	antoine@
2014-04-09 09:10:38 +00:00
Antoine Brodin
5737569545 Rewrite the sharedmimeinfo qa check so that it doesn't produce a false
positive on misc/shared-mime-info

With help from:	bdrewery
With hat:	portmgr
2014-04-08 16:50:13 +00:00
Baptiste Daroussin
e149a86133 Add compiler:gcc-c++11-lib to instrument gcc linking with libc++ on system where default stl is libc++ 2014-04-08 15:16:39 +00:00
Kubilay Kocak
51bf49a441 Welcome Python 3.4 to the FreeBSD Ports Tree!
The FreeBSD Python Team warmly welcomes Python 3.4 to the Ports tree:

- Add lang/python34
- Add devel/py-setuptools34
- Add Python 3.4.0 docs to lang/python-doc

Release Announcement and Major Features:

  https://www.python.org/download/releases/3.4.0/

This also marks the next stage of a cleaner, much-closer-to-upstream
approach to Python on FreeBSD, that builds upon the hard work of the
entire FreeBSD Python team over the last year.

This port is built "entirely" from scratch, retiring as much of the
legacy, workarounds, patches and hacks from the existing Python
ports as possible.

Of particular note: static + shared dual-build is gone, as it was flaky
at best, grossly untested upstream and caused more issues than it
solved. It is replaced by a shared build by default. The static python
library remains installed and usable.

Major changes in this structure are:

- Replace dual static and shared in-tree build with shared-only.
- Use options helpers
- Replace plat-freebsd* hacks with a lighter weight alternative
- Strip all libraries and shared extensions
- Only retain patches that are absolutely necessary
- Replace static disabled_module_list with one from upstream
- Retain NIS and sparc64 workarounds from python33
- Deprecate SEM option, no longer optional.
- Deprecate PTH option, no longer maintained or supported upstream
- Deprecate FPECTL option, no longer maintained or supported upstream
- Add upstream issue references & breadcrumb annotations where possible

Tested by:	many (Special thanks to Andrew Berg)
Reviewed by:	xmj, nemysis, antoine
2014-04-08 13:10:25 +00:00
Max Brazhnikov
1415b9ff7f Mk/bsd.options.desc.mk:
- Add description for PHONON and QT5
- Remove KDE3
2014-04-05 17:30:08 +00:00
Pawel Pekala
e58af7ef98 Document COPYTREE_BIN, COPYTREE_SHARE commands
PR:		ports/188292
Submitted by:	myself
Approved by:	portmgr (bapt)
2014-04-05 16:08:16 +00:00
Rene Ladan
283b661902 Tell the configure scripts to use ${PERL} for PERL_PATH, this fixes
e.g. devel/libbonobo

Approved by:	portmgr (bapt)
2014-04-04 11:29:07 +00:00
Baptiste Daroussin
0a1e865fd4 Fix bmake detection logic 2014-04-04 08:53:00 +00:00
Baptiste Daroussin
ccaa7208df Use bmake features to easier cross building support
This makes cross building only work with bmake given it is only supported on FreeBSD 10+ this is not a problem
2014-04-04 08:14:24 +00:00
Baptiste Daroussin
8d0a887aa5 Revert STRIPBIN adding to INSTALL_PROGRAM and INSTALL_LIB, this breaks with libtool 2014-04-03 23:01:16 +00:00
Baptiste Daroussin
e8135b1163 Fix missing space 2014-04-03 22:18:46 +00:00
Baptiste Daroussin
2c0fd1a724 Prepend install(1) command with the STRIPBIN env defined to the proper STRIPBIN to allow cross-installation
Reported by:	ian
2014-04-03 22:11:52 +00:00
Baptiste Daroussin
6ad5aba590 Define HCC and HCXX (host cc and host cxx when cross building)
Simplify what need to be defined by directly using the cc in the sysroot instead of the one in LOCALBASE/bin
which might call ${LOCALBASE}/bin/ld instead of the cross build ld (same for as) if binutils from ports is installed and a build system messes up with the CFLAGS
2014-04-03 16:29:01 +00:00
Bryan Drewery
678c058c5d - stage-qa: Fix absolute symlink check to look at target not fully resolved
path. Now tested on both good and bad symlinks.

Reported by:	antoine
Pointyhat to:	bdrewery
With hat:	portmgr
2014-04-03 14:09:00 +00:00
Baptiste Daroussin
bafe604880 Cross building is only supported for staged ports 2014-04-03 13:37:41 +00:00
Baptiste Daroussin
a0bbe9aa9f Add PKG_ENV to allow specifying the file to read the ABI from in case of cross building
Add STRIPBIN set the the cross building version of strip in MAKE_ENV so install(1) use
the proper one in case of cross building
2014-04-03 13:35:51 +00:00
Bryan Drewery
97b80d5bd4 - Fix fatal checks not exiting with non-zero [1]
This means that files referrencing stagedir or linked to stagedir will
  now be fatal errors as intended.
- Stop polluting global namespace with IFS changes
- Speedup find(1) -exec usage by execing far less
- Ignore known false-positive/harmless stagedir files in paths() [2]

Reported by:	eadler [1]
Discussed with:	antoine [2]
With hat:	portmgr
2014-04-03 13:00:17 +00:00
Max Brazhnikov
65b2b253dc KDE/FreeBSD team presents KDE SC 4.12.4 and KDE Workspace 4.11.8!
KDE ports:
- Convert to USES=tar:xz

devel/p5-perlqt, multimedia/kdemultimedia4-ffmpegthumbs:
- Convert LIB_DEPENDS to new style

devel/p5-perlqt, devel/p5-perlkde:
- Don't remove directories installed by perl port

net/kdnssd:
- moved to net/zeroconf-ioslave (renamed upstream)

x11/kdelibs4:
- Clean up non-standard shared mime files and directories after deinstall

The area51 repository features commits by Alonso Schaich
<alonsoschaich@fastmail.fm> and makc.
2014-04-03 09:49:10 +00:00
Baptiste Daroussin
c0363d7491 First bit of support to cross build the ports tree will only work
with simple ports for now, lots of improvements are pending

cd devel/pkgconf; make X_BUILD_FOR=armv6-freebsd10.0 package

Will create a armv6 ready package
Note that right now the generated package does not have the proper ABI defined
But the content is the right one
2014-04-02 16:13:44 +00:00
Bryan Drewery
85066fe55f - Add NO_PREFIX_RMDIR to allow not removing PREFIX at deinstall if it does
not match LOCALBASE. This is needed for qmail ports where they install
  to a different PREFIX (/var/qmail), but only the main qmail port should
  remove and own the dir. Otherwise permissions are incorrectly set when
  using staging.

With hat:	portmgr
2014-04-02 15:33:18 +00:00
Bryan Drewery
5416b34e37 - Simplify main target IGNORECMD handling for now. Order does not matter here.
No functional change.

With hat:	portmgr
2014-04-01 14:17:08 +00:00
Bryan Drewery
68b8b049f6 - Add comments around all of the DEP/SEQ/default target code and try to make
more understandable.

  No functional change.

With hat:	portmgr
2014-04-01 14:12:00 +00:00
Bryan Drewery
de3a95f8ff - The 2nd section of blocks here is the .else to requiring SU. Change it
so it is not relating to USE_SUBMAKE.

  No functional change.

With hat:	portmgr
2014-04-01 14:09:38 +00:00
Baptiste Daroussin
9b2e4e8528 When USES=perl5 is localed (what ever run or build depend) define a cache variable so autoconf always pick up the version from localbase
This eliminate a lot of perl related Q/A warnings
2014-03-30 14:58:51 +00:00
Antoine Brodin
6ab5e9e897 Fix a typo
Submitted by:	rene
With hat:	portmgr
2014-03-30 10:50:26 +00:00
Antoine Brodin
0e39c85753 In the DEBUG case, do not assign INSTALL_TARGET if it is not defined
With hat:	portmgr
2014-03-29 15:14:16 +00:00
Baptiste Daroussin
ba9eb09b58 Automatically convert install-strip target into install target if the debug version is being built 2014-03-28 11:23:38 +00:00
Baptiste Daroussin
db0990d2f9 Make option DEBUG work like WITH_DEBUG 2014-03-28 11:04:54 +00:00
Bryan Drewery
2f86ccfa61 - Fix error running 'make stage' when NO_STAGE is set:
touch: /usr/ports/mail/qmail/work/.stage_done.qmail._var_qmail: No such file or directory

With hat:	portmgr
2014-03-28 04:47:53 +00:00
Alex Dupre
a4cffdad1a Welcome the new mod_php ports, in order to have default packages for
Apache PHP modules.

Submitted by:	marcus
Reworked by:	ale (me)
Requested by:	many, too many
2014-03-27 16:09:37 +00:00
Antoine Brodin
578bdcd05d Make bsd.ocaml.mk more stage friendly
Reviewed by:	bapt
With hat:	portmgr
2014-03-26 20:07:11 +00:00
Antoine Brodin
3502613c64 Add ocamlfind to _FORCE_POST_PATTERNS
This will silence warnings from pkg about files already removed by "ocamlfind remove" during "pkg remove".
Note: I am not convinced that running "ocamlfind remove" during uninstall is necessary as all files are tracked.
2014-03-26 08:34:53 +00:00
Bryan Drewery
cfefdd7bce - Fix USE_PACKAGE_DEPENDS to properly register packages as automatic with pkgng
With hat:	portmgr
2014-03-26 04:29:36 +00:00
Bryan Drewery
8d5717cae9 install-package: Support INSTALLS_DEPENDS to register package as automatic
With hat:	portmgr
2014-03-26 04:03:25 +00:00
Jose Alonso Cardenas Marquez
14627e1fc1 - Update to 2.6.4 2014-03-26 03:32:45 +00:00
Mathieu Arnold
0cfd925acd Have OPTIONS_SUB also fill in SUB_LIST.
Fix two ports that would have been broken with this change.

With hat:	portmgr
2014-03-25 18:19:44 +00:00
Antoine Brodin
7f2e40333f Allow distfiles grouping for linux-rpm ports while not extracting the .src.rpm on the package builders
With hat:	portmgr
2014-03-25 11:42:59 +00:00
Max Brazhnikov
1474f498e4 Mk/bsd.qt.mk:
- Fix packaging Qt 5 ports with legacy pkg tools.

PR:		ports/187856
Reported by:	mandree
2014-03-25 06:26:16 +00:00
Baptiste Daroussin
a45031d7da Convert wxsvg to use wxGTK 3.0
Remove the component part from bsd.wx.mk as only dvdstyler uses it
Make dvdstyle use wxGTK 3.0
2014-03-24 15:53:25 +00:00
Baptiste Daroussin
8ad8bd969b wxGTK 2.9 was a development version now that wxGTK 3.0 is out remove it 2014-03-24 14:09:21 +00:00
Baptiste Daroussin
f74498d2b4 wxGTK 2.6 is EOLed upstream, all ports have switch to at least wxGTK 2.8 2014-03-24 13:30:03 +00:00
Baptiste Daroussin
8930deab79 Use modern LIB_DEPENDS 2014-03-24 09:45:52 +00:00
Tijl Coosemans
999fc210ce - Make Qt4 and Qt5 respect CXXFLAGS during configure so they pick up
-DLIBICONV_PLUG from USES=iconv and always use libc iconv when it is
  available.
- Remove the iconv dependency from Qt5.  It uses icu instead.

PR:		ports/186707
Approved by:	kde (makc)
2014-03-23 19:58:33 +00:00
Bryan Drewery
22dbc56c65 - Fix installing with pkg_install when running 'make install' due to the
exists() being evaluated before the package is created.

  Regression from r348859

 With hat:	portmgr
 Pointyhat to:	bdrewery
2014-03-23 19:31:36 +00:00
Bryan Drewery
e09ae1cae1 - Create package in WRKDIR/pkg/ instead of WORKDIR/ to avoid pkg-create bug
not creating the PKGNAME.PKG_SUFX if PKGNAME already exists.

  Fixes regression packaging some from r348861

With hat:	portmgr
2014-03-23 15:34:13 +00:00
Steve Wills
eedf7913ee - Fix patch broken in r292221
PR:		ports/187472
Redported by:	Jeremy Chadwick <jdc@koitsu.org>
2014-03-23 15:31:43 +00:00
Bryan Drewery
5256c01b0d - Only create ports-mgmt/pkg latest link if can write to PACKAGES
With hat:	portmgr
2014-03-23 15:22:36 +00:00
Bryan Drewery
ca93c6f7e1 - pkgng: Create package in WRKDIR and then try to link it to the PACKAGES dir.
If that fails, copy it. This fixes packaging as non-root when not able to
  write to the PACKAGES dir which causes the following warning:
      pkg-static: archive_write_open_filename(/usr/ports/packages/All/myport-1.2.3.txz): Bad file descriptor

  We do the same thing for pkg_install already.

With hat:	portmgr
2014-03-23 15:21:42 +00:00
Bryan Drewery
294bff9f94 install-package: Use WRKDIR/PKGNAME.PKG_SUFX if available
With hat:	portmgr
2014-03-23 15:09:50 +00:00
Beat Gaetzi
afc98c29b1 - Bump SeaMonkey version to 2.25 2014-03-20 11:21:21 +00:00
Beat Gaetzi
c80e090095 - Update Firefox to 28.0
- Update Firefox ESR to 24.4.0
- Update Thunderbird to 24.4.0
- Update NSPR to 4.10.4
- Update NSS to 3.15.5
- Switch GSTREAMER option for non-esr ports to depend on
  multimedia/gstreamer1 [2]
- Switch to Uses/compiler.mk, defaults to lang/gcc47 on 8.x and 9.x
- Use port dependencies for libogg, libvorbis, libopus, harfbuzz, graphite2
- Enable readahead in url-classifier, asmjs, download resume like on Linux
- Build www/firefox and www/seamonkey faster using unified compilation
- Unbreak build on sparc64 [1]
- Workaround OPTIMIZED_CFLAGS startup crash on 8.x and 9.x
- OPTIMIZED_CFLAGS is enabled by default
- A few DEBUG build fixes
- Add clang 3.2/3.3/3.4 workarounds for i386
- Mention known GSTREAMER issue in pkg-message

Submitted by:	Jan Beich
PR:		ports/186580 [1]
Requested by:	kwm [2]
Security:	http://www.vuxml.org/freebsd/610de647-af8d-11e3-a25b-b4b52fce4ce8.html
2014-03-19 20:46:37 +00:00
Bryan Drewery
f0672aab12 Using PKGREPOSITORY is more correct here since PKGFILE uses it
With hat:	portmgr
2014-03-19 11:58:53 +00:00
Thierry Thomas
78d49142aa Let the linux rpm ports use grouping rules, e.g. to download the
binaries and the sources from differents MASTER_SITES.

PR:		ports/186702
Approved by:	netchild
2014-03-18 22:19:01 +00:00
Sunpoet Po-Chuan Hsieh
714ec2af11 - Add shared HTTP2 description 2014-03-18 14:30:51 +00:00
Mathieu Arnold
b6007efa61 Add tar:tbz.
Suggested by:	danfe
Sponsored by:	Absolight
2014-03-17 13:13:01 +00:00
Gerald Pfeifer
4c5c0a2c9f Refer to bsd.default-versions.mk for the canonical version of GCC; no
longer duplicate version information related to that.
2014-03-16 00:45:55 +00:00
Gerald Pfeifer
5b4f2ad658 Move MAINTAINER lines to the end of the initial comment block and
make things a bit more consistent.

Approved by:	portmgr (bapt)
2014-03-15 10:31:54 +00:00
Sunpoet Po-Chuan Hsieh
74e93dfa15 - Check test: 2014-03-13 15:08:21 +00:00
Baptiste Daroussin
2963832cdf Fix typo 2014-03-13 13:54:30 +00:00
Sunpoet Po-Chuan Hsieh
d2c4f34737 - Add regression-test: for all USES=perl5 ports
Approved by:	mat (portmgr)
Tested by:	sunpoet (myself, almost 2 years)
2014-03-12 18:49:03 +00:00
Sunpoet Po-Chuan Hsieh
e4a6a5ed41 - Add USES=tar:lzma for .tar.lzma case
Approved by:	bapt (portmgr)
2014-03-12 17:59:02 +00:00
Baptiste Daroussin
9e94573f8f Now that default gcc is 4.7 switch back to USE_GCC=yes where appropriate 2014-03-12 17:45:48 +00:00
Baptiste Daroussin
b78025f085 Fix collision with DEPRECATED
Pointyhat to:	bapt
2014-03-12 11:36:05 +00:00
Baptiste Daroussin
60b82dc5cb Remove cruft 2014-03-12 11:15:25 +00:00
Baptiste Daroussin
21ca628439 Simplify bsd.sanity.mk a bit
Reviewed by:	mat
2014-03-12 11:07:55 +00:00
Baptiste Daroussin
ed17a6ccac USE_LHA is unsupported not deprecated
Reported by:	mat
2014-03-12 10:33:20 +00:00
Baptiste Daroussin
5512e4aa7d USE_LHA is not used anymore in the ports tree 2014-03-12 10:24:51 +00:00
Baptiste Daroussin
23f6a67993 Fix bad copy/paste 2014-03-12 10:20:58 +00:00
Baptiste Daroussin
d17874dc5d Two new USES added to finish handling distfiles formats a consistent way:
USES=tar[:[xz|bzip2|Z|tgz]] handles distributions files in format:
- plain tar
- tar.xz
- tar.bz2
- tar.Z
- tgz

USES=lha handles distributions files info LHA format
2014-03-12 09:17:06 +00:00
Sunpoet Po-Chuan Hsieh
4169d79ffc - Remove e.pypi.python.org from MASTER_SITE_CHEESESHOP
% host e.pypi.python.org
Host e.pypi.python.org not found: 3(NXDOMAIN)
2014-03-11 17:41:37 +00:00
Baptiste Daroussin
42951b2446 Remove the now unused USE_ZIP=yes, everyone should now use USES=zip 2014-03-11 07:02:30 +00:00
Gerald Pfeifer
04bfaa8ecd Update the default version of GCC used in the Ports Collection from
GCC 4.6.4 to GCC 4.7.3.  This entails updating the lang/gcc port as
well as changing the default in Mk/bsd.default-versions.mk.

This adds powerpc64 as a supported architecture (and removes ia64,
though it can be supported by manually installing lang/gcc48).

New binaries %%GNU_HOST%%-gcc-ar47, %%GNU_HOST%%-gcc-nm47, and
%%GNU_HOST%%-gcc-ranlib47 are provided to support link-time
optimization (LTO) which scales significantly better.

And it adds support for indirect functions (IFUNCS), experimental
support for transactional memory in the compiler as well as a supporting
run-time library called libitm, a new string length optimization pass,
and support for atomic operations specifying the C++11/C11 memory model.

Version 3.1 of the OpenMP specification is now supported for the C,
C++, and Fortran compilers.

GCC accepts the options -std=c11 and -std=gnu11 for the C11 revision
of the ISO C standard which inlcude support for unicode strings,
nonreturning functions (_Noreturn and <stdnoreturn.h>), alignment
support (_Alignas, _Alignof, max_align_t, <stdalign.h>), and a
__builtin_complex built-in function.

The C++ frontend now accepts the -std=c++11, -std=gnu++11, and
-Wc++11-compat options and implements many C++11 features of the
language including extended friends syntax, explicit override
control, non-static data member initializers, user-defined literals,
alias declarations, delegating constructors, atomic classes, and more.

The C++ standard library and Fortran frontend have received many
improvements.  See http://gcc.gnu.org/gcc-4.7/changes.html for an
extense list of changes; http://gcc.gnu.org/gcc-4.7/porting_to.html
for information on how to port to that new version.

PR:		182136
Supported by:	Christoph Moench-Tegeder <cmt@burggraben.net> (fixing many ports)
Tested by:	bdrewery (two -exp runs)
2014-03-10 20:41:10 +00:00
Dmitry Sivachenko
79cd466b4d Update python33: 3.3.4 --> 3.3.5. 2014-03-10 11:28:55 +00:00
John Marino
af58a9f955 Uses/ada.mk: Add support for soon-to-be-older Ada compiler
Currently the Ada framework uses a single compiler based on gcc47.
Soon this compiler will be updated to the gcc49 base, but not all Ada
ports are currently happy about this.

This update to ada.mk induces the ARGS of "47" which causes the port to
use the newly-created lang/gcc47-aux port which is currently a clone
of lang/gcc-aux.  When the latter is updated, the Ada Framework will
use it except for those ports that feature "USES+= ada:47"
2014-03-09 21:25:46 +00:00
Sunpoet Po-Chuan Hsieh
df5fb71a8e - Fix following error message when "make update" with python{32,33} as default python interpreter
make[1]: "/usr/ports/Mk/bsd.python.mk" line 343: Malformed conditional (exists(${PYTHON_CMD}-config) && ${PORTNAME} != python33)
make[1]: Fatal errors encountered -- cannot continuemake: "/usr/ports/Mk/bsd.port.subdir.mk" line 123: warning: "make -V PYTHONBASE USE_PYTHON=1 -f /usr/ports/Mk/bsd.port.mk" returned non-zero status

Approved by:	antoine (portmgr)
2014-03-09 16:26:10 +00:00
Antoine Brodin
3ea8134a8b Make it possible to override EXTRACT_SUFX when using zip, some distfiles
(emulators/ods2reader for instance) have a .ZIP extension
2014-03-08 17:21:31 +00:00
Sunpoet Po-Chuan Hsieh
d219bcb5a2 - Add shared MPI, MPICH2 and OPENMPI descriptions 2014-03-08 16:24:39 +00:00
Baptiste Daroussin
bebb0247f7 Allow multiple EXTRACT_DEPENDS
Reported by:	mat
2014-03-07 15:25:41 +00:00
Baptiste Daroussin
9fc416d031 Add USES=zip and USES=zip:infozip
To handle the zip archives from distfiles

Reviewed by:	mat, antoine
2014-03-07 15:25:02 +00:00
Baptiste Daroussin
06b21dbe65 this is makeself, not gmake.mk :) 2014-03-07 14:46:57 +00:00
Baptiste Daroussin
e2c6345d51 fix removed by accident .else 2014-03-07 14:41:37 +00:00
Baptiste Daroussin
d9dce0d24d Add USE_MAKESELF to the sanity check 2014-03-07 14:38:14 +00:00
Baptiste Daroussin
2947c34754 extract USE_MAKESELF from bsd.port.mk 2014-03-07 14:37:18 +00:00
Baptiste Daroussin
1efa84b8f3 Create a makeself uses to handle makeself archives 2014-03-07 14:36:03 +00:00
Antoine Brodin
28a38d6cf8 Fix packaging of python32 and python33 when they are already installed
The ABIVER was appended twice to some files in the plist

Reported and tested by:	demon
2014-03-06 20:48:23 +00:00
Sunpoet Po-Chuan Hsieh
65a813492b - Add slave port of devel/py-setuptools for different python versions (27, 32 and 33)
- Update Mk/bsd.python.mk to use new devel/py-setuptools{27|32|33}

PR:		ports/187091
Submitted by:	sunpoet (myself)
Discussed with:	lwhsu, mva, koobs, crees
Exp-run by:	bdrewery
With hat:	python
MFH:		2014Q1
2014-03-06 16:33:17 +00:00
Bryan Drewery
8d8103d173 - Remove redundant WITH_PKGNG checks. bsd.pkgng.mk is only included if
it is defined.

With hat:	portmgr
Discussed with:	bapt
2014-03-05 13:53:51 +00:00
Max Brazhnikov
f3f8c20d6a KDE/FreeBSD team presents KDE SC 4.12.3 and KDE Workspace 4.11.7!
deskutils/kdepim4:
- Add depedency on coreutils, kleopatra needs md5sum and sha1sum programs [1]

misc/kdehier4:
- add tests directory (r343428 commit to Templates/BSD.local.dist)

security/kwallet:
- moved to security/kwalletmanager (renamed upstream)

x11/kdelibs:
- remove workaround, which is not needed after global fix in
  Mk/bsd.kde4.mk (r315373)

PR:		ports/187259 [1]
Submitted by:	Tobias Berner <tcberner@gmail.com>
2014-03-04 19:15:39 +00:00
Kubilay Kocak
ea56f87d19 lang/python33: Update to 3.3.4
- Update to 3.3.4
- Update pkg-plist
- Remove patch-CVE-2014-1912 (upstream)
- Remove patch-issue20374 (upstream)
- Repatch and rename patch-Modules__fcntlmodule.c
- Add patch-issue-20695-Lib__test__test_urllibnet.py (tests) [1]
- Add regression-test target for QA

Changes: 3.3.4 - 09/02/2014

    http://docs.python.org/3.3/whatsnew/changelog.html#python-3-3-4

Extra:

- Update python-doc-html distinfo for Python 3.3 docs
- Update bsd.python.mk to support the new version

[1] http://bugs.python.org/issue20695
2014-03-04 12:38:02 +00:00
Mathieu Arnold
653890f812 Correctly sort the DEPENDS targets.
Sponsored by:	Absolight
2014-03-03 18:56:44 +00:00
Mathieu Arnold
583e2da11b Add CONFLICT{,_BUILD,_INSTALL} to the options helpers.
PR:		187226 (based on)
Submitted by:	adamw
Sponsored by:	Absolight
2014-03-03 18:47:37 +00:00
Max Brazhnikov
4cd1e8830e KDE/FreeBSD team is happy to present Qt 5 in ports!
Alberto Villa (avilla@) has done all the hard work to create Qt 5 ports.
Trivial update from 5.2.0-beta1 to 5.2.1 by me.

Special thanks for Adriaan de Groot <groot@kde.org> for his assistance for
Qt-5.2.0 update.

Approved by:	portmgr (bapt) (for Mk/bsd.port.mk)
2014-03-03 16:50:32 +00:00
Mathieu Arnold
b4c82af55d Don't output warnings about WITH_DEBUG being on.
Requested by:	eadler
Sponsored by:	Absolight
2014-03-03 15:12:56 +00:00
Tijl Coosemans
d38461c76f Further restrict the dragonfly RE so it only matches freebsd* as the first
word on a line.

PR:		ports/187208
2014-03-03 14:10:31 +00:00
Dirk Meyer
38dca0bc00 - remove WITH_OPENSSL_HACK7 2014-03-03 05:43:38 +00:00
Sunpoet Po-Chuan Hsieh
4b3e761ef7 - Add shared SWIG descrption 2014-03-02 15:50:31 +00:00
Tijl Coosemans
477efa96a0 In libtool.mk, let the regexp for DragonFly BSD support match both
"freebsd*)" and "freebsd* ", and add "dragonfly*" only if it isn't there
already.

Approved by:	bapt
2014-03-02 13:14:07 +00:00
Rene Ladan
ef50dbb213 PHP 5.2 has reached it end-of-life in the FreeBSD Ports Tree, time
to say goodbye.  Upstream unsupported it since 2011-01-06 (see
http://php.net/eol.php )

Strip PHP 5.2 out of Mk/bsd.php.mk
2014-03-01 00:06:29 +00:00
Sunpoet Po-Chuan Hsieh
3da612f2c3 - Update MASTER_SITE_VIM:
- Update to latest http:// mirrors
  - Remove dead servers
  - Remove servers without latest patch (7.4.192)
  - Remove all ftp:// mirrors

PR:		ports/179330 (based on)
Reference:	http://www.vim.org/mirrors.php
2014-02-28 01:35:33 +00:00
Mathieu Arnold
0f58d15935 Add %%NO_OPT1%% to PLIST_SUB that is enabled when %%OPT1%% is not.
Sponsored by:	Absolight
2014-02-27 16:39:25 +00:00
Pietro Cerutti
bd6a0a40a6 - Get rid of bsd.tcl.mk. See my CHANGES entry from 20130919.
Approved by:	portmgr (antoine)
2014-02-27 15:00:24 +00:00
Tijl Coosemans
85fb32d611 - Some ports ship with libtool 1.5.x + "anygcc" patch. This modified
version calls "gcc" in two places.  Replace that with $CC.
- r346193 added -B${LOCALBASE}/bin in Uses/fortran.mk, just like
  compiler.mk, but libtool doesn't recognise this flag and discards it.
  Patch ltmain.sh so it passes the flag to the linker unmodified.
  This only works on libtool 2.x for now, but that's good enough to fix
  the PRs below and a linker error in math/octave on FreeBSD/i386 8.x.
  (When those ports set USES=libtool.)

PR:		ports/186946, ports/187000
Approved by:	bapt
2014-02-27 09:51:45 +00:00
Sunpoet Po-Chuan Hsieh
7607fadaaa - Use only one single space before trailing backslash 2014-02-27 08:20:18 +00:00