Commit graph

1211 commits

Author SHA1 Message Date
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
Bryan Drewery
294bff9f94 install-package: Use WRKDIR/PKGNAME.PKG_SUFX if available
With hat:	portmgr
2014-03-23 15:09:50 +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
Baptiste Daroussin
5512e4aa7d USE_LHA is not used anymore in the ports tree 2014-03-12 10:24:51 +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
Baptiste Daroussin
e2c6345d51 fix removed by accident .else 2014-03-07 14:41:37 +00:00
Baptiste Daroussin
2947c34754 extract USE_MAKESELF from bsd.port.mk 2014-03-07 14:37:18 +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
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
Rene Ladan
0e229de718 Add a new flag QUIET to make targets quiet, currently only 'checkpatch'
Approved by:	portmgr (bapt)
2014-02-24 17:36:15 +00:00
Tijl Coosemans
564a799c71 Convert all USE_FORTRAN=yes to "USES=fortran, USE_GCC=yes". In most cases
USE_GCC=yes has been omitted though.

Remove USE_FORTRAN handling from bsd.port.mk and bsd.gcc.mk.

Minor cleanups in some ports like USE_GMAKE, NOPORTDOCS,...

Exp-run:	bdrewery
Approved by:	portmgr (bdrewery)
2014-02-16 17:15:31 +00:00
Baptiste Daroussin
3ea3e4e09f Add a user warning so that everyone get a notice about the upcoming EoL of pkg_install
Add a end user NO_WARNING_PKG_INSTALL_EOL to allow users willing to stay a bit more with pkg_install
to not get bothered all the time with the warning

With hat:	portmgr
2014-02-04 14:23:08 +00:00
Max Brazhnikov
353f538b87 Mk/bsd.port.mk:
- Fix typo (apparently I'm the first who's trying to use new mesa ports :)

Approved by:	portmgr (bapt)
2014-02-03 07:39:39 +00:00
Tijl Coosemans
64a0347268 Introduce USES=libtool to replace USE_AUTOTOOLS=libtool.
Unlike USE_AUTOTOOLS=libtool which makes a port use libtool from
devel/libtool, this just patches the copy of libtool included in the
port.  This allows adding it to all ports that use libtool including
ports that build Fortran libraries and ports that use different
compilers or binutils than the ones used to build devel/libtool.

USES=libtool also changes the library naming specification similar
to what USE_GNOME=ltverhack does.  Given the libtool version info
$current:$revision:$age and $major=$current-$age the library will be
named libname.so.$major.$age.$revision instead of libname.so.$current
and libname.so.$major becomes a symlink.  Because $major increases
less frequently than $current this reduces the number of library
version bumps which means fewer rebuilds of dependent packages.

To ease the conversion from USE_AUTOTOOLS=libtool this naming spec
can be disabled with USES=libtool:oldver but the intention is that
all libtool ports eventually use the new naming.

Another change is that only libraries that are listed on the command
line will be linked into executables.  Normally libtool would link in
the entire tree of library dependencies.  This reduces the number of
direct dependencies on a given library which means fewer packages
need to be rebuilt on a library version bump.

Approved by:	portmgr (bapt)
2014-01-28 18:25:52 +00:00
Baptiste Daroussin
5bbc87c519 Do not overwrite MAKE_ENV when WITH_DEBUG is defined 2014-01-27 23:30:12 +00:00
Baptiste Daroussin
881d45a661 Add DONTSTRIP to MAKE_ENV to prevent install(1) from stripping the binaries when WITH_DEBUG is set 2014-01-27 23:23:50 +00:00
Baptiste Daroussin
7dad680ae3 Use again package-noinstall now that is works
Tested by:	smh
2014-01-27 21:54:50 +00:00
Baptiste Daroussin
9f2ea862b9 Fix make package-recursive
Keep the ugly way for non staged ports
and properly build the package for staged ports

Tested by:	smh
2014-01-27 21:23:49 +00:00
Baptiste Daroussin
23fd3eae2a Fix ports that passes MAKE_ARGS and are not staged yet 2014-01-27 20:05:59 +00:00
Baptiste Daroussin
7c89ef9773 Do not pass DESTDIR to build target (with a syntax compatible with both fmake and bmake)
That fixes a couple of STAGEDIR references in the install files
2014-01-27 08:14:30 +00:00
Baptiste Daroussin
5d68e6a30c Add USES=desthack
This allow to pass DESTDIR through configure --prefix to ports that are
not destdir aware

Obtained from:	OpenBSD ports tree (discussed in Malta with Marc Espie)
2014-01-27 07:29:32 +00:00
Baptiste Daroussin
e8e46de2d1 Add the forgotten test around the IGNORE
Pointyhat to:	bapt
2014-01-20 09:09:04 +00:00
Baptiste Daroussin
c26c9eb22b NO_STAGEd ports will fail if STAGEDIR is defined.
Undefined STAGEDIR if already set from make.conf
Raise an error if set from command line (which cannot be undefined)

PR:		ports/182972
Submitted by:	"Scot W. Hetzel" <swhetzel@gmail.com>
2014-01-20 07:42:00 +00:00
Baptiste Daroussin
c7617a10fb xz being included in all supported base system, remove code using version
from ports
while here properly define XSCAT is is used to allow xzed patches.

PR:		ports/185725
Submitted by:	naddy
2014-01-13 07:28:31 +00:00
Marcus von Appen
78b8b9e4ba New USES=uniquefiles to make files or directories unique
by adding a prefix or suffix to them.

Files listed in UNIQUE_PREFIX_FILES will receive the prefix
set via UNIQUE_PREFIX. The same applies to UNIQUE_SUFFIX_FILES,
but with the chosen UNIQUE_SUFFIX. UNIQUE_PREFIX and
UNIQUE_SUFFIX are set to PKGNAMEPREFIX and PKGNAMESUFFIX by
default.
The uniquefiles USES enables ports to name files in special
ways, e.g. by outlining that the port does not support X11
(-nox11). A binary named bin/foo thus can be easily renamed
to bin/foo-featureA via

USES=                 uniquefiles
UNIQUE_SUFFIX=        -featureA
UNIQUE_SUFFIX_FILES=  bin/foo

The uniquefiles USES automatically adjusts the plist at
installation time. There is no need to consider the prefix
or suffix in the pkg-plist file itself. If the original name
of the renamed file is bin/foo, this exact name should be put
into pkg-plist.

The dirs argument to USES=uniquefiles will cause certain
standard directories, such as DOCSDIR or EXAMPLESDIR to be
prepended with the UNIQUE_PREFIX. The change to the directories
will hapen prior to configuring or building the port, so that
the port Makefile as well as the port's build logic are aware
of the changed name.

Since the uniquefiles USES effectively manipulates the port's
installation and file layout, it will only be available for
stagedir-aware ports. Ports with NO_STAGE=yes will be unable
to use the uniquefiles USES.

Reviewed by:	portmgr@
Approved by:	portmgr@
2014-01-11 16:52:34 +00:00
Baptiste Daroussin
d5e886e911 Fix checkpatch with the new way target sequence are defined
Reported by:	rene
2014-01-07 23:34:54 +00:00
Antoine Brodin
3e57d15fbe - Remove USE_FAM, it has been replaced by USES=fam
- Add a developer error if it is set

Approved by:	portmgr (bapt)
2014-01-05 13:33:37 +00:00
Baptiste Daroussin
c2359aa2f6 Reinvokes portaudit a second time in case a problem has been reported. So if a refetch (or another temporary problem) caused the error it will succeed on a second attempt, while a correctly detected vulnerability will be detected a second time.
PR:		ports/168479
Submitted by:	Michael Gmelin <freebsd@grem.de>
2014-01-05 01:16:34 +00:00
Baptiste Daroussin
56bc288a07 Add the forgotten targets to _STAGE_SUSEQ 2014-01-04 00:28:42 +00:00
Baptiste Daroussin
b420248356 Properly add targets to the sequence they belong to, that now makes them predictable 2014-01-04 00:26:03 +00:00
Baptiste Daroussin
ba951253f8 Add the end-user targets to .PHONY 2014-01-04 00:05:01 +00:00
Baptiste Daroussin
11e8713e2b Mark all targets defines in _SEQ and .ORDER has .PHONY which they all should be
If one day we are no adding a target actually correspond to an actual file, simply adding
the name of the target to the NOTPHONY will make it work as expected
2014-01-04 00:02:08 +00:00
Baptiste Daroussin
6905529b63 Add charsetfix-post-patch to _PATCH_SEQ 2014-01-03 23:45:50 +00:00
Baptiste Daroussin
48682c41de Add pathfix-pre-path to the _PATCH_SEQ and do not anymore make it a dependency of pre-patch
That makes applying the pathfix target predictable
2014-01-03 23:43:34 +00:00
Baptiste Daroussin
1b4b1006f8 Mark the -message targets as PHONY 2014-01-03 23:22:48 +00:00
Baptiste Daroussin
44868c3189 extract-message target definition was moved by mistake 2014-01-03 23:21:23 +00:00
Baptiste Daroussin
cafecb3515 Fix typos
Reported by:	kwm
2014-01-03 23:18:53 +00:00
Baptiste Daroussin
599a920e4a Remove 2 more target fallback 2014-01-03 23:12:57 +00:00
Baptiste Daroussin
7b3bd1cc0d Rework ordering and definition of targets.
Move ordering of targets to the very end of bsd.port.post.mk and make it define dynamically
Now all targets should be defined prior to the end of bsd.port.post.mk to allow .ORDER to control
the sequence of the targets properly.
From now all structural targets should also be defined in one of the _SEQ variable.
Extra bonus only the really defined targets are set in the final order sequence meaning that we do
not need anymore to create a ${DO_NADA} fallback target anymore, which improves performance and
simplify debugging.

Exp-run:	bdrewery
With hat:	portmgr
2014-01-03 23:01:01 +00:00
Baptiste Daroussin
d63eadee34 Allow to follow 302 redirection when fetching from http.
The main reason for it to not be allowed was to avoid infinite redirection loop
it appears that fetch(1) anyway limit the number of redirections to 5 on 8.3 and 9.1
20 on 9.2 and 10+ meaning we have no good reasons anymore to continue forbidding
following redirections.

Thanks to Michael Gmelin for having investigation

Reported by:	many
2014-01-03 00:02:08 +00:00
David Naylor
e288e58754 Convert Mk/bsd.cran.mk to the Uses framework.
PR:		ports/184699
Reviewed by:	bapt
Approved by:	portmgr (bdrewery), wen (maintainer, timeout > 2 weeks)
2013-12-28 10:28:40 +00:00
Baptiste Daroussin
ef9aea6687 New CFLAGS_${ARCH} and CXXFLAGS_${ARCH}
Those are respectively appended to CFLAGS and CXXFLAGS on the matching arches
That avoid having to include .pre.mk just for selecting where to add CFLAGS
2013-12-27 10:46:54 +00:00
Antoine Brodin
9ff26af3d4 - Remove USE_OPENAL code
- Add a developer error to bsd.sanity.mk if it is used

Approved by:	portmgr (bapt)
2013-12-26 06:51:03 +00:00
Rene Ladan
d06bb3f036 - Replace USE_DOS2UNIX target by a wrapper for USES=dos2unix
- Remove comments for USE_DOS2UNIX

This makes bsd.port.mk line-ending clean.

PR:		ports/184168
Submitted by:	myself
Approved by:	portmgr (bdrewery)
Exp-runs by:	bdrewery
2013-12-24 10:22:26 +00:00
Baptiste Daroussin
09753f8230 Fix user belonging to multiple groups when a package is staged
Reported by:	flo
2013-12-18 00:03:53 +00:00
Niclas Zeising
47be7a61c9 Switch FreeBSD CURRENT to use the new xorg stack (WITH_NEW_XORG=) [0]
If the old xorg stack is still needed, it is possible to add WITHOUT_NEW_XORG=
to /etc/make.conf to get the old version.

Update several xorg related ports, including:
x11/libxcb 1.9.1 -> 1.9.3
graphics/libdrm 2.4.46 -> 2.4.50
x11/pixman 0.30.2 -> 0.32.4
x11/xkeyboard-config 2.9 -> 2.10.1
x11-drivers/xf86-input-keyboard 1.7.0 -> 1.8.0

Fix dissapearing cursor in xf86-video-vmware [2]

Stagify all x11@-owned ports

Bump portrevisions for xf86-* ports due to xserver version change.

Fix fallout from updates where needed.

Thanks to:	all testersi, bdrewery and the FreeBSD x11@ team
exp-run by:	bdrewery [1]
PR:		ports/184684 [1], ports/181385 [2]
Submitted by:	Douglas Carmichael <dcarmich@dcarmichael.net> [2]
Approved by:	portmgr (bdrewery), core (jhb) [0]
2013-12-16 11:11:09 +00:00
Eitan Adler
18934abe04 bsd.port.mk: add LEGAL_TEXT and LEGAL_PACKAGE variable
The license system did not a method to give 'positive' permissions or other
'LEGAL' information without affecting the resulting package in some way
(RESTRICTED, NO_PACKAGE, NO_CDROM, etc.).

Provide a generic mechanism to provide this.

Further, provide a special variable "LEGAL" which can be used to capture any of
NO_PACKAGE, NO_CDROM, RESTRICTED, LEGAL_TEXT in reverse priority order.

PR:		ports/178096
Approved by:	portmgr (bdrewery)
2013-12-11 00:23:15 +00:00
Antoine Brodin
5f1525f56c Some ports install their info pages gzipped (devel/cvs or lang/gauche for
instance)
Handle this case

Approved by:	portmgr (bapt)
2013-12-06 12:19:21 +00:00
Alex Kozlov
325d7d2c22 - Use NO_ARCH instead of NOARCH for consistency with other NO_ knobs
Suggested by:	Eugene Stenkin <eugeni.stenkin@gmail.com>
Approved by:	portmgr (bapt)
2013-12-06 09:14:13 +00:00
Alex Kozlov
fcf2320fd6 - Implement support for architecture-neutral ports
- Replace 'alpha' with 'amd64'
- Remove gratuitous whitespaces at the end of the line

Approved by:	portmgr (bapt)
2013-12-06 08:20:16 +00:00
Antoine Brodin
b03b173fe8 Fix listing of info-* files when staging
Approved by:	portmgr (bapt)
2013-11-29 08:39:03 +00:00
Rene Ladan
b639eee051 Replace deprecated USE_DISPLAY code with a single inclusion of USES=display
and remove the comments describing USE_DISPLAY at the top.

PR:		ports/184167
Submitted by:	myself
Approved by:	portmgr (bdrewery)
Exp-run by:	bdrewery
2013-11-28 11:13:27 +00:00
Baptiste Daroussin
652cb99ce5 pkg audit now uses the vuln.xml file and not the auditfile anymore
Reported by:	kwm
2013-11-27 13:57:06 +00:00
Gerald Pfeifer
123917f35f Expand the description of PKGNAMESUFFIX to also cover its use as a
version designator.

Approved by:	portmgr (bapt)
2013-11-25 11:30:17 +00:00
Koop Mast
a236e2d0bf Say hello to Mate 1.6.
Mate is a lite desktop forked from gnome2.

Most of the work is done by Jeremy Messenger (mezz@). The only thing I did
was update a few ports to later 1.6 release and attempting to keep up with
ports infra changes. Resulting bugs are all mine.

Mate is a sort of replacement for Gnome 2. So people wanting to keep a
Gnome 2 like desktop should switch. Gnome 2 will be replaced by Gnome 3
in the near future. This switch will be announce with a transition time
so people have more time to switch if they haven't already.

This release was made possible by everyone that send friendly pokes to
keep mate on my mind.

Approved by:	portmgr (bapt)
2013-11-23 11:39:07 +00:00
Baptiste Daroussin
4b146fcac9 Fix handling of info files with pkgng, when dealing with .info-X files and also what INFO_SUBDIR.
The .info-X handling was wrong since the beginning of pkgng, the INFO_SUBDIR regression was introduced with stage

PR:		ports/184178
Reported by:	gerald
Tested by:	gerald
2013-11-23 09:48:42 +00:00
Baptiste Daroussin
28a0cf2496 Fix typo 2013-11-20 21:50:11 +00:00
Rene Ladan
050ed194bd Fix some typos and use modern Perl variables in comments.
Approved by:	portmgr (bapt)
2013-11-20 12:30:29 +00:00
Baptiste Daroussin
76deb2a9d8 Fix do-patch
Reported by:	mandree
2013-11-20 07:57:45 +00:00
Baptiste Daroussin
89bcd875ca Ensure make patch fails if a patch fails to apply with bmake being the default make
Reported by:	marino
2013-11-20 07:21:49 +00:00
Eitan Adler
e1e16dd2af Add the ability to build specific ports with WITH_DEBUG
Reviewed by:	Ilya A. Arkhipov <rum1cro@yandex.ru>
Reviewed by:	bsam
Approved by:	portmgr (bapt)
2013-11-18 19:48:21 +00:00
Baptiste Daroussin
a4de18e4c3 Define EXTRACT_SUFX at the very end of the pre section to allow
defining extract suffix from inside bsd.*.mk and USES
2013-11-12 14:56:50 +00:00
Olli Hauer
d5f4c2a2d4 - Fix user users-groups script ('-e')
PR:		ports/183628
Submitted by:	ohauer
Approved by:	portmgr (bapt via PM)
2013-11-07 05:58:42 +00:00
Bryan Drewery
66ff3bcafd - Fix 'make package-recursive' with staging
With hat:	portmgr
Reviewed by:	bapt
Tested by:	dmarker_ on freenode
2013-11-02 10:48:35 +00:00
Bryan Drewery
de9253dbd6 - Fix 'make package' when using pkg_install. Broken in r332158 due to syntax
error in else branch for pkgng.

Reported by:	danfe, mandree
Submitted by:	Takefu <takefu@airport.fm>
With hat:	portmgr
2013-10-31 02:27:14 +00:00
Baptiste Daroussin
ff058e3176 Staging showed that user/groups creation from plist are done in
post-install process instead of pre-install. in case pkgng is in
use.
Replace it by a new mecanism that allows to append scripts into
what will become pre-install, post-install, pre-deinstall or
post-deinstall
Change the user-group creation to use that mecanism in case the
ports tree is using pkgng.

Reported by:	mandree
Reviewed by:	bdrewery
2013-10-30 17:47:48 +00:00
Bryan Drewery
2adacb737d - Fix COPYTREE_BIN and COPYTREE_SHARE so that installed symlinks
have proper permissions set.

PR:		ports/173892
Submitted by:	thierry
With hat:	portmgr
2013-10-28 13:08:14 +00:00
Bryan Drewery
1961a47413 - Don't create share/applications as it is part of BSD.local.dist now
Submitted by:	amdmi3
With hat:	portmgr
2013-10-23 00:43:04 +00:00
Tijl Coosemans
c230edc9ce Don't add "@unexec rmdir ${DESKTOPDIR} ..." to pkg-plist for ports that
use DESKTOP_ENTRIES now that ${DESKTOPDIR} has been added to mtree.

Approved by:	portmgr (bdrewery)
2013-10-22 21:42:38 +00:00
Baptiste Daroussin
3a25a917f7 really apply the fix provided by ohauer
Reported by:	sunpoet, ohauer
Pointyhat to:	bapt
2013-10-21 09:56:26 +00:00
Baptiste Daroussin
9e85f692d4 Fix restage target
PR:		ports/183118
Submitted by:	ohauer
2013-10-21 08:34:26 +00:00
Bryan Drewery
3235c42422 - Fix patch fetching so it tries the next site if one has the wrong size.
Same fix as r325805 was for MASTER_SITES, but this is applied for
  PATCH_SITES

With hat:	portmgr
2013-10-20 02:06:40 +00:00
Baptiste Daroussin
d76bad7482 Readd forgotten port-install-script in the stage seq. 2013-10-17 13:09:58 +00:00
Alex Kozlov
702e463096 - Fix USE_LDCONFIG32 for stage ready ports
Reported by:	garga
Tested by:	garga
Approved by:	portmgr (bapt)
2013-10-15 07:48:06 +00:00
Frederic Culot
4529b8b194 - Update comments to reflect the new "stage" target
Approved by:	portmgr (bapt)
2013-10-11 12:17:59 +00:00
Bryan Drewery
101e14f98c - WITH_CCACHE_BUILD: Respect NOCCACHE as well since that is what devel/ccache
has had documented in its howto forever

With hat:	portmgr
2013-10-11 02:22:24 +00:00
Bryan Drewery
a3236d6e06 - Try to clarify USE_PACKAGE_DEPENDS_ONLY failure message
With hat:	portmgr
2013-10-10 01:30:22 +00:00
Bryan Drewery
b924147649 - Move dialog4ports.sh to more appropriate new directory Mk/Scripts as
it is related to infrastructure/framework and a required portmgr-
  maintained script

With hat:	portmgr
2013-10-09 23:01:54 +00:00
Baptiste Daroussin
aa40865de1 First set of Q/A for staged ports.
A couple of Q/A tests are done if the DEVELOPER macros is set in make.conf
Right now the tests are:
- Check if the symlinks are properly created
- Check if the binaries are stripped (just warn)
- Check if the STAGEDIR or the WORKDIR are referenced in the final files
- Check if the ports provide script with bad shebangs.
2013-10-09 15:11:32 +00:00
Bryan Drewery
c08e691cbf - Fix 'USE_DOS2UNIX= file list' not printing file names since r183768
PR:		ports/180005
Submitted by:	glewis
With hat:	portmgr
2013-10-09 11:30:42 +00:00
Bryan Drewery
1ac0719a3b - Fix not being able to use :DEFAULT group in MASTER_SITES and PATCH_SITES.
This is useful to be able to define extra mirrors in PATCH_SITES for
  a group, while still depending on the master list of PATCH_SITES

  For example:

    .if ${PORT_OPTIONS:MX509}
    PATCH_SITES=	http://mirror1/x509-${X509_VERSION}/:x509
    PATCHFILES=		${PORTNAME}-6.3p1+x509-${X509_VERSION}.diff.gz:-p1:x509
    .endif
    PATCH_SITES+=	http://mirror2/${PORTNAME}/:DEFAULT,x509

  This will use mirror1 only for the X509 option and mirror2 for X509. All
  other patches will use mirror2 but not mirror1.

With hat:	portmgr
PR:		ports/52706
Submitted by:	Alexey Neyman <alex.neyman@auriga.ru>
2013-10-07 10:37:08 +00:00
Bryan Drewery
07933b2444 - PATCHFILES now support an optional :-pX flag that notes which patch strip
level to use. This allows multiple patches in 1 port to use different
  PATCH_DIST_STRIP values without changing PATCH_DIST_STRIP.

  Syntax: PATCHFILES= patch[:-pX][:distgroup]

PR:		ports/168222
Submitted by:	knu
With hat:	portmgr
2013-10-05 10:20:15 +00:00
Baptiste Daroussin
a938bac9ff Allow to mark a port as broken on some given arches without having to add pre/post dancing 2013-10-03 17:21:20 +00:00
Bryan Drewery
23082b3b3c - Fix 'package' with staging+pkg_install when ports are read-only by creating
the package in STAGEDIR and then linking/copying it over to PACKAGES if
  possible

With hat:	portmgr
Reviewed by:	bapt (earlier version)
Tested by:	Stefan Bethke <stb@lassitu.de>
Reported by:	many
2013-10-02 23:49:21 +00:00
Bryan Drewery
ee07cfd901 - Fix staging not checking if a port is already installed when installing
it

With hat:	portmgr
2013-10-01 12:30:53 +00:00
Bryan Drewery
f09d566011 - pkg_install+staging: Fix installing package as non-root to call su.
install-package was depended on twice for install target, but it should
  only be in SUSEQ
- Add a comment to make sequence code a bit more readable

With hat:	portmgr
2013-10-01 12:05:09 +00:00
Niclas Zeising
5a4c543c2b The FreeBSD graphics/x11 team proudly presents
a kwm, zeising production:

MESA 9.1.6

Starring:
Mesa 9.1.6, including libGL, libGLU and dri (new xorg only)
Addition of libEGL and libglesv2
KMS support for ATI graphics cards in 10-current (new xorg only)
Improved sparc64 support for new xorg. [1]
pixman 0.30.2, including shlib bump and portrevision bumps
libX11 1.6.2
Make absolute pointing devices work with x11-drivers/xf86-input-mouse
x11-drivers/xf86-video-ati 7.2.0 for 10-current (KMS aware ati driver)

Also starring:
Updates to drivers and other libraries and utilities

Additional notes:
When updating MESA related ports (libGL, dri) you need to remove old versions
first.  See UPDATING for details.

PR:		ports/181962 [2]
Submitted by:	marius [1]
		zeising [2]
Exp-run by:	bdrewery
Approved by:	portmgr (bdrewery)

Thanks to all who helped testing!
2013-09-29 17:01:41 +00:00
Bryan Drewery
f2b717c401 - Don't needlessly depend on ccache with WITH_CCACHE_BUILD when NO_BUILD is set
With hat:	portmgr
2013-09-27 13:17:14 +00:00
Bryan Drewery
2e490c038b - Fix FORCE_PKG_REGISTER with pkg_install with staging
Submitted by:	garga
Reviewed by:	bapt
With hat:	portmgr
2013-09-27 11:38:48 +00:00
Baptiste Daroussin
2cf20aa209 Only make the pkg-plist start with @owner and @group if root is not needed 2013-09-24 13:40:09 +00:00
Baptiste Daroussin
f1a178ff3c Allow packaging as a user for stage ready ports
If you really root then you have to define NEED_ROOT in your port Makefile
2013-09-24 13:38:07 +00:00
Baptiste Daroussin
d857548a65 Fix typo 2013-09-24 10:24:19 +00:00
Baptiste Daroussin
1ac2ad3700 In case the port is supporting staging, initialize the PLIST with
@owner root
@group wheel
to force all the content to in the end being installed with root owner even if packaged with
a non root credential
2013-09-24 10:07:59 +00:00
Baptiste Daroussin
c2d1a328f9 Define UID earlier so that it can be used by USES 2013-09-24 10:04:22 +00:00
Bryan Drewery
d2ea5f25e2 - Be explicit about prefix with @cwd for USE_LDCONFIG
This fixes an issue with staging with pkg_install since it uses pkg_create
  -S which doesn't seem to work properly with "@cwd" resetting to -p
2013-09-24 01:31:44 +00:00
Baptiste Daroussin
b9e24c0e2f Fix STAGEDIR support for ports using DESKTOP_ENTRIES
Reported by:	bsam
Tested by:	bsam
2013-09-23 21:21:05 +00:00
Baptiste Daroussin
b7af6146d2 Introduce a new MANDIRS macros to make the compress-man determine where the makefiles should be found
Previous implementation was based on etc/man.d which doesn't exists in FreeBSD 8.
By default MANDIRS is ${MANPREFIX}/man. if a port adds USES=perl5 then the perl default locations is added

Reviewed by:	bdrewery
2013-09-23 20:07:18 +00:00
Baptiste Daroussin
2f20d741ce Do not require root credential for make clean if the stage cookie is not present
Requested by:	sunpoet
2013-09-23 16:52:56 +00:00
Bryan Drewery
f6eba986d7 - Fix PORTDOCS, PORTEXAMPLES and PORTDATA with staging.
The first file was being missed due to an extra STAGEDIR

Reported by:	antoine
Reviewed by:	bapt
With hat:	portmgr
2013-09-23 13:19:39 +00:00
Baptiste Daroussin
cf099c77fa Add support for staging area in the ports tree
The ports tree is now staged by default. With pkgng the sequence hasn't
changed, the main difference is that creating package is now independent
from installing it. With pkg_install, the package is now created first
and make install, do install the package.

New macros:
- STAGEDIR: PATH to the directory where the port will be staged.
- NO_STAGE: Keep the old behaviour of the ports tree (aka no staging area)

Unsupported macro if NO_STAGE is not set:
- MAN* with staging man page compression and handling of hardlinks and
symlinks is automatically done in the stage. the manpages becomes then a
"normal" plist files and should be tracked in pkg-plist.
- MANCOMPRESSED the compress-man target is able to only compress when it
needed.

New target:
- stage: this installs everything into the stage directory
- makeplist: this will create a pkg-plist and print it to stdout. This is
a sample plist and it should always be _reviewed_ not directly used.

NOTE: with staging only what is in the plist will be installed, nothing more,
meaning a port staged cannot have leftovers exect directories left. It is
really important to double check the pkg-plist to make sure all the files
the maintainer want to package are in! make makeplist can help in that area.

The goal is to handle as quickly as possible a full removal of the NO_STAGE
support.

More features can be added once the full ports tree is converted to using the
staging area

Conversion notes:
- Remove NO_STAGE
- in {pre,do,post}-install
  * Before any usage of ${PREFIX}, ${ETCDIR}, ${PORTSDIR}, ${PORTEXAMPLES}
    prepend ${STAGEDIR}
  * Remove any thing that is done by @exec or +INSTALL script it will be
    done automatically when syncing packages
  * Remove any code to show PKG-MESSAGE it will be done automatically when
    syncing packages
  * Directory creation should remain in post-install (in particular because
    pkgng doesn't work like pkg_install in that area and pkgng ignores the
    @exec mkdir but directly pack the directory even if empty)
- PORTDOCS/PORTEXAMPELS
  To support PORTDOCS, PORTEXAMPLES most of the time there is no more need
  for hacks. just add the right %%PORTDOCS%% or %%PORTEXAMPLES%% in your
  plist then the given files from the stagedir will or will not sync
  according to NOPORTDOCS and NOPORTEXAMPLES.

With hat:	portmgr
Reviewed by:	bdrewery
2013-09-23 05:56:35 +00:00
Bryan Drewery
c6dc82531e - Rename public name of SSP support to WITH_SSP_PORTS as /usr/src
has issues with 'installworld' when WITH_SSP is defined. [1]
  Keep WITH_SSP support for now since it has been announced as that
  already.
- Remove redundant wording in UPDATING [2]

Suggested by:	bapt [1]
Reported by:	blakkheim on EFNet
With hat:	portmgr
2013-09-22 00:26:05 +00:00
Sunpoet Po-Chuan Hsieh
8fe34b9fd6 - Add 2 settable variables
- WARNING_WAIT: seconds to wait after warnings (default: 10)
  - DEV_WARNING_WAIT: seconds to wait after developer warnings (default: 10)

Submitted by:	sunpoet (myself)
Approved by:	portmgr (bapt)
2013-09-21 14:14:23 +00:00
Bryan Drewery
c93dfc2e9f SSP support has been added to ports with WITH_SSP for i386 and amd64
on FreeBSD 10, and amd64 on earlier versions.

SSP_UNSAFE is added to disable in a port if it fails to build, but
this should only be used in rare circumstances such as kernel modules.
Otherwise, the port may just be failing due to lack of respecting
LDFLAGS.

On FreeBSD 10, this uses an ldscript in /usr/lib/libc.so to pull in
libssp_nonshared.a to address issues linking on i386 [1].

On earlier FreeBSD versions the WITH_SSP knob will add -lssp_nonshared
to LDFLAGS on i386. This is not needed on amd64. However, several hundred
ports do not currently respect LDFLAGS, so this support is disabled currently
as it causes build failures if a dependency is looking for the stack_chk
symbols.

Many thanks to jlh@ for this as he had many years of patience in getting
all of the necessary pieces [1][2] in.

[1] http://svnweb.freebsd.org/base/head/lib/libc/libc.ldscript?revision=251668&view=markup

PR:		ports/138228 [2]
Submitted by:	jlh (bsd.ssp.mk based on)
Reviewed by:	bapt
With hat:	portmgr
exp-runs done:	37 over a month on 91i386,91amd64,10i386,10amd64
2013-09-20 12:54:54 +00:00
Baptiste Daroussin
ddd7769c06 Fix typo
Submitted by:	tijl
2013-09-19 08:17:21 +00:00
Baptiste Daroussin
cb471dbbdc Move the target for sanity checking to the end of bsd.port.mk so that
WARNING and DEV_* can be defined anywhere
While here, change sleep time from 5 to 10 so that users have time to read it [1]

Suggested by:	many [1]
2013-09-19 08:05:05 +00:00
Baptiste Daroussin
ef09420b4c Remove cruft 2013-09-18 22:03:12 +00:00
Baptiste Daroussin
38ec65ad7e Add a new bsd.sanity.mk.
This file is responsible to do some sanity checking on port, as well as doing some sanity checking on users configuration
New macro for developer: WARNING (this will issue a warning to the normal users can be used to warn the user about deprecating feature that will be unsupported soon.
New macro to put in your make.conf for Maintainers: DEVELOPER=yes this macro will activate warning on usage of deprecated features and errors on now unspported usage of macros.

Reviewed by:	bdrewery
2013-09-18 21:16:25 +00:00
Baptiste Daroussin
3911a83860 Remove the old perl framework, that also means all the perl code is not loaded inconditionnaly anymore
Huge thanks for az@ for his hard work on the subject!

PR:		ports/172608
Submitted by:	az
2013-09-18 08:44:21 +00:00
Baptiste Daroussin
c3f673a223 Introduce a new USE_CXXSTD similar to USE_CSTD to allow enforcing the C++ language standard to use when building a port 2013-09-09 10:37:03 +00:00
Maxim Sobolev
355a219c79 Don't rely on `file -L' to follow symlinks and find type of the file
they point to. It only works if symlink points to the file directly and
fails if there are more than one level of symlinks. Use realpath(1) to
drill out the actual path to the shared lib and feed it to file(1)
then.

This fixes issue with cerain LIB_DEPENDS, such as databases/db42.

Approved by:	portmgr (bapt)
2013-09-08 19:28:29 +00:00
Bryan Drewery
ef5f6a9353 - Followup to r325807, with USE_PACKAGE_DEPENDS_ONLY, still allow
ports framework to use the port for *_DEPENDS= ${NONEXISTENT}:PORT:target
  dependencies

  An example port is irc/gseen.mod, it depends on another port being
  extracted, not an installed pkg.

PR:		ports/180725
Reported by:	antoine
With hat:	portmgr
2013-09-03 12:50:47 +00:00
Bryan Drewery
858fc84d23 - Fix regression from r325805 and allow 'make fetch' to work
without distinfo

Reported by:	sunpoet
With hat:	portmgr
2013-09-03 01:13:10 +00:00
Bryan Drewery
86ed19b18b - Fix regression with 'makesum' from r325805 by respecting
DISABLE_SIZE

Reported by:	sahil, tobez, many
With hat:	portmgr
Pointyhat to:	bdrewery
2013-09-01 13:42:47 +00:00
Bryan Drewery
954b650462 - Add USE_PACKAGE_DEPENDS_ONLY which will try installing dependencies
from existing packages and not fallback on building from source.

  This is useful for package building tools such as poudriere and tinderbox
  to avoid building from source and confusing the build log, if a dependency
  failed to build for some reason.

  NOTE: USE_PACKAGE_DEPENDS has not changed here. It has always
        reverted to source if the package was not present.

PR:		ports/180725
Submitted by:	crees
With hat:	portmgr
2013-08-31 13:56:08 +00:00
Bryan Drewery
1045299f41 - make fetch/checksum: If a fetched file does not match the expected size,
delete it and try the next site, if there is one to try.

  Normally fetch(1) will detect that the size is wrong, fail, and the 'fetch'
  target will move on to the next site:

  => Attempting to fetch http://www.chiark.greenend.org.uk/~sgtatham/agedu/agedu-r9723.tar.gz
  fetch: http://www.chiark.greenend.org.uk/~sgtatham/agedu/agedu-r9723.tar.gz: size mismatch: expected 155321, actual 163319
  => Attempting to fetch http://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/sunpoet/agedu-r9723.tar.gz
  agedu-r9723.tar.gz                            100% of  151 kB  259 kBps

  However, if the remote server does not properly advertise the size of the file,
  fetch(1) will still download the file, and succeed. The 'fetch' target then
  stops, assuming it has a proper file. This is returned to 'checksum', which fails,
  and then tries a refetch, but on the same broken site. In this example, the size
  is expected to be 214984, but a 4830 size is fetched and checksummed.

  => Attempting to fetch http://kornelix.squarespace.com/storage/downloads/picpuz-2.1.1.tar.gz
  fetch: http://kornelix.squarespace.com/storage/downloads/picpuz-2.1.1.tar.gz: size unknown
  fetch: http://kornelix.squarespace.com/storage/downloads/picpuz-2.1.1.tar.gz: size of remote file is not known
  picpuz-2.1.1.tar.gz                                   4830  B   48 kBps
  ===> Fetching all distfiles required by picpuz-2.1.1_5 for building
  => SHA256 Checksum mismatch for picpuz-2.1.1.tar.gz.

  Now the 'fetch' target will verify the size is proper before returning to
  'checksum':

  => Attempting to fetch http://kornelix.squarespace.com/storage/downloads/picpuz-2.1.1.tar.gz
  fetch: http://kornelix.squarespace.com/storage/downloads/picpuz-2.1.1.tar.gz: size unknown
  fetch: http://kornelix.squarespace.com/storage/downloads/picpuz-2.1.1.tar.gz: size of remote file is not known
  picpuz-2.1.1.tar.gz                                   4830  B  130 kBps
  => Fetched file size mismatch (expected 214984 actual 4830)
  => Trying next site
  => Attempting to fetch http://www.stasyan.com/devel/distfiles/picpuz-2.1.1.tar.gz
  picpuz-2.1.1.tar.gz                           100% of  209 kB   20 kBps 00m00s
  ===> Fetching all distfiles required by picpuz-2.1.1_5 for building
  => SHA256 Checksum OK for picpuz-2.1.1.tar.gz.

Reviewed by:	bapt
With hat:	portmgr
2013-08-31 13:22:01 +00:00
Bryan Drewery
f3a777ce3c - make checksum: When encountering a checksum mismatch, delete the file
before retrying.

  The previous behavior would try to download a range of the new bytes and
  then hit the 'Requested Range Not Satisfiable' error and never actually
  redownload the file.

  This fixes cases where a port is rerolled and distinfo updated, but
  users have a bad distfile sitting there that they would manually need
  to remove.

Reviewed by:	bapt
Reported by:	danfe
With hat:	portmgr
2013-08-31 01:16:24 +00:00
Bryan Drewery
1fffe1142c - Fix WITH_CCACHE_BUILD support on ports that have a *PATH var in their
MAKE_ENV. This only intended to ignore PATH.

  All of these were not supporting WITH_CCACHE_BUILD and a partial exp-run
  was done on:

  audio/fdmf biology/biojava devel/ace games/hex graphics/cimg
  graphics/inventor graphics/peps graphics/wings graphics/wings-devel
  lang/python26 lang/python27 lang/python31 lang/python32 lang/python33
  lang/siod math/py-basemap math/py-basemap-data multimedia/gpodder
  multimedia/gstreamer-ffmpeg multimedia/gstreamer1-libav
  multimedia/handbrake print/py-reportlab print/py-reportlab2 science/ncs
  science/netcdf4 security/nss textproc/adabrowse x11-toolkits/py-kivy

With hat:	portmgr
2013-08-30 11:41:31 +00:00
Bryan Drewery
ecf1a462d7 - Support overriding CONFIG_SITE 2013-08-29 16:46:54 +00:00
Baptiste Daroussin
b19d5a14b5 On HEAD fetch is now checking for https, which lead to lots of fetch failures
on invalid websites, given the ports tree already checks the distfiles against
a hash, it is safe to skip the certificate validation.

Submitted by:	Michael Gmelin <freebsd@grem.de>
2013-07-31 13:30:18 +00:00
Baptiste Daroussin
07b24b6cf9 Define MAKE_CMD in post.mk to allow anything to overwrite it 2013-07-30 06:32:01 +00:00
Baptiste Daroussin
527d92de23 do-install also needs MAKE_CMD 2013-07-30 05:48:55 +00:00
Baptiste Daroussin
aa6a847926 Reduce code duplication by overwriting MAKE_CMD when it is different. 2013-07-30 05:33:25 +00:00
Baptiste Daroussin
e5e2c2aaa6 Remove excessive colon
Reported by:	mandree
2013-07-29 20:12:43 +00:00
Baptiste Daroussin
95b64b8a5a Fix formatting when finding shared library with new LIB_DEPENDS format
Reported by:	mandree
2013-07-29 20:09:21 +00:00
Baptiste Daroussin
eec2cb8d74 Remove support for Qt3/kde in preparation for full Qt3/kde3 removal
PR:		ports/180745
Submitted by:	rene
2013-07-26 19:14:50 +00:00
Baptiste Daroussin
dc9339863a Prevent MAKE_JOBS_NUMBER from being recursive
Reported by:	swills
2013-07-16 14:35:57 +00:00
Baptiste Daroussin
33f4366ba1 Activate multiple jobs by default [1]
Add a new macro to allow a port to limit itself the maximum numbers of jobs allowed [2]

Submitted by:		danfe (based on) [1]
			pgj (base on) [2]
Reviewed by:		bdrewery, miwi
Multiple exp-run:	bapt
2013-07-16 12:04:09 +00:00
Baptiste Daroussin
e3b01a75e8 Remove USE_MOTIF as it is not used anymore 2013-07-10 07:41:13 +00:00
Baptiste Daroussin
8b330db9e1 Error message when not able to create the optiondir directory.
optiondir being defined in a subshell wasn't defined when the error message is printed.

PR:		ports/176849
Submitted by:	Oleg Ginzburg <olevole@olevole.ru>
2013-07-10 06:44:19 +00:00
Baptiste Daroussin
5dd54c7ca6 Move loading of USES post actions after the load of all the bsd.*.mk post actions.
This fixes bsd.php.mk complaining about do-install being already defined
2013-07-08 13:34:24 +00:00
Baptiste Daroussin
624578f4cd Remove all X_FONTS* macros, as they are not used anymore 2013-07-08 11:43:25 +00:00
Baptiste Daroussin
3fbabd14ea Remove X_FONTS_MISC_PORT and X_FONTS_ALIAS_PORT now that they are not used anymore 2013-07-07 13:00:00 +00:00
Baptiste Daroussin
edf7ecb356 Remove direct usage of X_FONTS_MISC_PORT and X_FONTS_ALIAS_PORT
While here fixed missing ${PORTSDIR} [1]

Reported by:	rm [1]
2013-07-07 12:56:07 +00:00
Baptiste Daroussin
c70b09a55f Remove X_VFBSERVER_PORT now that it is not used anymore 2013-07-07 12:24:32 +00:00
Baptiste Daroussin
13821d22f7 Remove X_FONTSERVER_PORT now that it is not used anymore 2013-07-07 12:10:29 +00:00
Baptiste Daroussin
71aec7fcbd Fix MAKE_FORCE_JOBS 2013-07-06 12:53:57 +00:00
Baptiste Daroussin
3ac6602ab1 Move PKGORIGIN definition a bit later so that PKGCATEGORY defined in Makefile.local or Makefile.inc works again
Reported by:	dinoex
Tested by:	dinoex
2013-07-05 20:15:48 +00:00
Baptiste Daroussin
e7965f1cae Add new LIB_DEPENDS syntax:
libname.so:${PORTSDIR}/devel/name
libname.so.0.1.2:${PORTSDIR}/devel/name

This syntax is support to replace the old syntax and code which has multiple weakness:
It was replying on ldconfig -r which arbritrary limited our valid library to name of the following form:
libname.so[.X] where X can be a number
foo.3 could match both libfoo.3.do and libfoo.so.3

Reviewed by:	bdrewery, danfe, miwi
2013-07-05 14:10:55 +00:00
Baptiste Daroussin
01d6c7d5de Import new gmake.mk and rip out USE_GMAKE from bsd.port.mk
A USE_GMAKE stub as be created to help migration please now use USES=gmake

Reviewed by:	bdrewery
Exp-run by:	bdrewery
2013-07-05 13:32:31 +00:00
Baptiste Daroussin
0fa3776fec Add a mechanism to allow USES to define code to be loaded after post.mk
Reviewed by:	bdrewery
Exp-run by:	bdrewery
2013-07-05 13:16:57 +00:00
Rene Ladan
f5cb941311 Switch the default Linux DRI port to linux-f10-dri and remove support
for the unused USE_GL=linux (this avoids hardcoding the Linux DRI port).

PR:		ports/180231
Submitted by:	myself
Approved by:	portmgr (bapt)
2013-07-03 15:32:01 +00:00
Baptiste Daroussin
e1d25bc997 This time USE_IMAKE is totally gone 2013-06-29 09:01:57 +00:00
Baptiste Daroussin
3ca10d451f There are still some USE_IMAKE in the ports tree, add a stub to make them continue working until USE_IMAKE is totally goone 2013-06-28 18:11:52 +00:00
Baptiste Daroussin
932db7c46c New USES imake to handle the dependency on imake.
This uses accept 'env' as an argument for ports that do use their own or a different do-configure target.

Modify xmkmf so it accept IMAKECPPFLAGS as default flags for imake and pass it to the called imake.
Modify xorg-cf-files (the FreeBSD.cf configuration file) to allow CppCmd to be overwritten.
Pass CppCmd CcCmd and CplusplusCmd via command line to each call of imake via IMAKECPPFLAGS
Pass IMAKE_DEFINE with the above arguments to MAKE_ARGS so that imake spawned from Makefile generated by a previous
imake also inherit the defined CppCmd CcCmd and CplusplusCmd.
Make imake use devel/tradcpp all the time, so that when buidling with clang we do not depend on gcc's cpp.
Make imake respect CC and CXX
Make imake respect USE_GCC (if set imake will use gcc's cpp).

While here:
- Remove a couple of indefinite articles from comments
- Trim headers
- Fix a couple of ports to build with clang or use: USE_GCC=any
- Fix a now useless redefinition of the extraction chain
- Fix a typo in japanese/Wnn7-lib bundled imake template definitions
- Fix some XMKMF execution with no env specified
- Use options helper in x11/xautolock to simplify the port
2013-06-28 11:51:05 +00:00
Baptiste Daroussin
35982b23be Replace OPTIONSFILE by OPTIONS_FILE which is a more robust variable with unicity
insurance in its path to avoid collision.

A compatibility layer is available to automatically load and migration from
OPTIONSFILE to OPTIONS_FILE (this is all transparent for users.)

It is recommanded that ports that used to overwrite OPTIONSFILE to prevent the
known bugs should keep the OPTIONSFILE overwrite for a while (6 month) to allow
the migration to happen automatically and users to not lose their old save
options.

New options file is now based on the PKGORIGIN therefor the definition of the
PKGORIGIN has been moved ealier in bsd.port.mk to allow it's usage from withing
bsd.options.mk

PR:		ports/148637
Reviewed by:	bdrewery
2013-06-26 07:22:06 +00:00
Baptiste Daroussin
4b653b49e1 Define UID earlier so that it can be used inside bsd.pkng.mk
Allow make deinstall to prompt for su if run as a user if using pkgng

Reported by:	jhb, dim
Submitted by:	jhb
2013-06-25 12:24:10 +00:00
Baptiste Daroussin
21413d18f5 Fix warning if compat.ia32.maxvmem sysctl does not exists and the ports tree is being used via bmake
Reported by:	demon
Tested by:	demon
Reviewed by:	bdrewery
2013-06-25 12:05:14 +00:00
Baptiste Daroussin
677c6f08e0 Update dialog4ports to 0.1.5
Changes:
- Don't free memory when process is exiting [1]
- Some style fixes [1]
- Consistently use C99 bool, true and false [1]
- Generalise parsing of env var into StringList [1]
- Rename ITEM_SEPARATE to ITEM_SEPARATOR [1]
- Highlight new options (by a '+' at the beginning of the line) [1]

Submitted by:	tijl [1]
2013-06-17 11:12:22 +00:00
Baptiste Daroussin
2eb34fa38e Remove trailing @ which breaks PATCH_DEBUG_TMP
Submitted by:	bf
2013-06-16 12:23:45 +00:00
Tijl Coosemans
bdace5957e Let config-conditional take options configured in make.conf into account.
The option dialog will not appear if all options have been configured
before, either using the dialog or in make.conf.  This means you can set
options once for all ports in make.conf and not have dialogs pop up if
those are the only options.

Also let config-conditional run make config instead of do-config.  Make
config handles NO_DIALOG and pre-config.

Discussed with:	danfe
Approved by:	portmgr (bapt)
2013-06-14 12:59:02 +00:00
Baptiste Daroussin
632f0ed926 Yes more simplification in showconfig, pretty-print-config and pkgng manifest generation 2013-06-14 06:56:16 +00:00
Baptiste Daroussin
a36753e6ab No need to globally define X_NESTSERVER_PORT 2013-06-13 22:48:26 +00:00
Baptiste Daroussin
29aea2e3ae Previous attempt to fix the make patch with bmake (make it fail if a patch fails) was too intrusive.
Turn it back into a full script with set -e expliticly added.
2013-06-13 18:56:24 +00:00
Baptiste Daroussin
bd52432030 Fix patching
Reported by:	kwm
2013-06-13 12:41:03 +00:00
Baptiste Daroussin
c353152f66 Fails is a dependency checking failed with bmake 2013-06-13 11:19:10 +00:00
Baptiste Daroussin
d7c459b38b Fail in case a checksum fails with bmake 2013-06-13 09:32:39 +00:00
Baptiste Daroussin
c86f37ff4d Fix make patch not stopping in case a patch does not apply cleanly with bmake.
bmake does not run shell with set -e causing the difference between both fmake and bmake in the area.

While here clean up a bit the syntax.

Add support for xz'ed patches for EXTRA PATCHES

Discussed with:	sjg
2013-06-13 06:43:08 +00:00
Baptiste Daroussin
8a0e32c0aa Removed useless quotes 2013-06-10 07:27:05 +00:00
Baptiste Daroussin
209e1cfffd Testing COMPLETE_OPTIONS_LIST is enought to determine if there is options to print 2013-06-10 06:42:37 +00:00
Baptiste Daroussin
741efabb33 Factorize pre-config 2013-06-10 06:40:45 +00:00
Baptiste Daroussin
27a9752a63 Factorise make pretty-print-config code 2013-06-10 06:30:30 +00:00
Baptiste Daroussin
74f5741bfc Show options group descriptions in make showconfig,
While here, factorize code
2013-06-10 06:22:49 +00:00
Bryan Drewery
3aaf281423 Fix grammar in comment 2013-06-07 13:28:30 +00:00
Bryan Drewery
fb58afc3dd Add WRKSRC_SUBDIR to simplify overriding WRKSRC:
WRKSRC=		${WRKDIR}/${DISTNAME}/src
  This becomes:
	WRKSRC_SUBDIR=	src

Reviewed by:	bapt
With hat:	portmgr
2013-06-07 13:25:22 +00:00
Baptiste Daroussin
a639e24276 Do not automatically popup dialog in case only options from global options are defined
Requested by:	many
2013-06-07 08:06:17 +00:00
Baptiste Daroussin
0eb6b89d24 The pkg developement team is proud to announce the new 1.1.0 beta1 release of
pkg.

Here is the list of new features that happened in pkg 1.1:
- new simpler and more reliable solver
- shared libraries are now always tracked
- ssh:// is supported as a protocol to distribute packages (needs pkg 1.1+ on
  the server hosting the packages)
- multirepository is no longer considered experimental and works by default.
- incremental update of the catalog (only if the repository was created by pkg
  1.1+)
- simplification of the public API
- stabilisation of the public API (we will now try to keep it stable and if
  change are needed there will be deprecation time before removal of some old
  functions)
- new experimental pkg convert (can convert from and to legacy pkg database)
  pkg2ng now uses pkg convert (still recommanded to use pkg2ng)
- new pkg lock/unlock to prevent any manipulation of a given package (no
  upgrade,delete,etc)
- improved UI (now you can see the progress of an upgrade what is left to be
  done)
- new pkg annotation to allow one to add annotations (free form key/value) to a
  package)
- pkg audit is now able to directly parse the vuxml native format and not only
  the compact version
- pkg -vv now shows all available options and their current settings
- pkg -vvv now shows a description of all the available options
- pkg info now automatically considers the query as globbing if * is in the
  requested pattern
- new hook plugin interface (allows users to create hooks that get called at
  anytime during and upgrade/installation/deletion of a package)
- new cmd plugin interface (allows users to create new sub command available for
  pkg)
- pkg register can now register a port installation in the legacy database
  format
- repository can be defined in simple yaml files

Internal:
- massive usage of hash tables (uthash), which simplifies a lot of the code,
  and improves performances
- lots of optimisation in plist and manifest parsing
- lots of optimisation in loading packages (mmap used when possible)
- lots of cleanup in memory usage
- regression test framework is now ready (using atf) regression test are slowly
  being added and populated.

To use this new version:
  Ports users (or in building factories: poudriere/tinderbox):
    Add WITH_PKGNG=devel to your make.conf
    pkg set -o ports-mgmt/pkg:ports-mgmt/pkg-devel

  Binary package users, if the remote repository is providing pkg 1.1:
    pkg set -o ports-mgmt/pkg:ports-mgmt/pkg-devel
    pkg upgrade

Note that pkg 1.1 can use a repository created for pkg 1.0 and vis versa.

Huge thanks to all the people that have contributed to the pkg developement:
- may that be by code
- documentation
- bug report
- feedback
- ideas

List of people who contributed code:
Baptiste Daroussin, Matthew Seaman, Bryan Drewery, Vsevolod Stakhov,
Marin Atanasov Nikolov, Alexandre Perrin, Romain Tartière, Julien Laffaye,
Glen Barber, John Marino, Alex Kozlov, Roman Naumann, Sofian Brabez,
Alberto Villa, Will Andrews, Eitan Adler, Dan McGregor, namor, niamtokik,
Arthur Gautier, Garrett Cooper, Andrew Turner, Jeremy Chadwick,
Hajimu UMEMOTO, Mark Lokowich, Eygene Ryabinkin, Pietro Cerutti,
Rolf Grossmann, Ed Schouten, Dimitry Andric, David Forsythe, Stefan Grundmann,
Craig Rodrigues, Antoine Brodin, Andrey Zonov, Joel Dahl

Stats between 1.0 and 1.1:
287 files changed, 63418 insertions(+), 18763 deletions(-)

1198 commits
2013-05-30 15:17:29 +00:00
Martin Wilke
749316327b - Remove support for Linux 2.4
Submitted by:	rene@
2013-05-30 08:55:05 +00:00
Bryan Drewery
01b1319fa6 Fix build with WITH_CCACHE_BUILD with ports that override PATH via
MAKE_ENV or CONFIGURE_ENV. I.e., don't set PATH in MAKE_ENV twice as
env(1) only takes one, in which case some ports fail to build. One
example is any USES=ada port (such as textproc/xmlada). Instead,
add the ccache path into PATH via := and let it fall into there
via the sourcing port's MAKE_ENV=PATH=...:${PATH} line.

A more comprehensive solution to this could be to add a MACRO/feature
to modify the PATH for all ports without using MAKE_ENV via
something like ADDPATH=...

With hat:	portmgr
Tested by:	several exp-runs
2013-05-30 01:14:42 +00:00
Niclas Zeising
92ea0d614b The FreeBSD x11 team proudly presents
an zeising, kwm, miwi, bapt, eadler production:

Xorg 7.7

Starring:
xserver 1.12.4 (new xorg only)
Mesa 8.0.4, including libGL, libGLU and dri (new xorg only)
libX11 1.5.0
libxcb 1.9
libdrm 2.4.42 (new xorg only)
freeglut 2.8.1
Also starring:
Updates to drivers and other libraries and utilities

Additional notes:
Change pkgconf to be a build dependency.
Add a new USE_XORG, xcb, to depend on libxcb and update all ports to use
this.
Trim makefile headers.
Take maintanership of x11/xcb-proto, ok'd by ashish.
If you are running WITH_NEW_XORG=, you need to rebuild all installed
drivers, see UPDATING for more information.
Various fixes to make ports compile.

PR:		ports/177942
Exp-run by:	miwi
Approved by:	portmgr (miwi)

Thanks to all who helped testing!
2013-05-25 14:37:02 +00:00
Baptiste Daroussin
e406c7cc21 Fix regression in MLINKS handling when using bmake 2013-05-24 10:36:04 +00:00
Bryan Drewery
d7e1eea732 - Follow-up to r317320: fix MAKE_JOBS_NUMBER not being set
if none of DISABLE_MAKE_JOBS or MAKE_JOBS_UNSAFE or
  MAKE_JOBS_SAFE or FORCE_MAKE_JOBS were set. This fixes
  the build for several ports updated in r317320.

Reported by:	miwi
With hat:	portmgr
2013-05-08 00:12:08 +00:00
Baptiste Daroussin
1e5ccf2bb9 USE_GETTEXT has totally been replaced by USES=gettext thanks, jgh and ak
USE_NCURSES has totally been replaced by USES=ncurses
USE_READLINE has totally been replaced by USES=readline
2013-05-07 08:01:46 +00:00
Hiroki Sato
139838ce1d TeXLive mega commit. The following ports have been added:
* Meta port
   - print/texlive-full: meta port to install all of the TeXLive components

  * Libraries
   - devel/tex-kpathsea: kpathsea library
   - devel/tex-web2c: WEB2C toolchain and TeX engines
   - print/tex-ptexenc: character code conversion library for pTeX

  * Base part of the TeXLive
   - print/texlive-base: binary programs in TeXLive
   - print/texlive-texmf: macro and font data in TeXLive
   - print/texlive-infra: tlmgr dependency (Perl modules)

  * TeX Formats
   - print/tex-formats: TeX, LaTeX, PDFTeX, AMSTeX, ConTeXT, CSLaTeX,
       EplainTeX, METAFONT, MLTeX, PDFTeX, TeXsis
   - print/tex-aleph: Aleph/Lambda
   - print/tex-xetex: XeTeX
   - print/tex-luatex: LuaTeX
   - print/tex-jadetex: JadeTeX
   - print/tex-xmltex: XMLTeX
   - japanese/tex-ptex: pTeX

  * DVI ware
   - print/tex-xdvik: XDvi

Mk/bsd.tex.mk is added for common part and USE_TEX knob [1].

Approved by:	portmgr (old version) [1]
PR:		ports/171571
PR:		ports/176399 [1]
2013-05-06 00:44:22 +00:00
Bryan Drewery
63f76304d6 - When DISABLE_MAKE_JOBS or MAKE_JOBS_UNSAFE is set, also set
MAKE_JOBS_NUMBER to 1. This makes it safe to do -j${MAKE_JOBS_NUMBER}
  without any extra logic.
- Cleanup ports working around the empty MAKE_JOBS_NUMBER
- This also fixes several ports that were expecting MAKE_JOBS_NUMBER
  to always have a number

Reviewed by:	bapt
Spotted by:	John Marino <draco@marino.st>
With hat:	portmgr
2013-05-04 14:06:08 +00:00
Baptiste Daroussin
d5c63e5a5d ghostscript 7 has been resurrected (this fix package building of ghostscript7 packages on packages builder 2013-05-03 23:37:06 +00:00
Baptiste Daroussin
40b085ef55 Preliminary support for bmake
Please note that bmake it only supported on current starting at r250164:

- make sure bmake treats -V as expected [1]
- tell bmake we use the old :L :U modifiers [1]
- workaround an incompatible loop syntax using bmake's inline loop [1]
- avoid forking a shell to get the CKSUMFILES which gives a make(1)/bmake(1) compatible syntax [2]

Submitted by:	sjg[1]
Obtained from:	dports[2]
2013-05-02 14:07:31 +00:00
Baptiste Daroussin
5271da855f Rely on bsdtar to autodetermine the format of the distfiles when possible
For a while now bsdtar is able to autotermine compression and archive format.
Let's then use tar directly instead of piping to tar.

Now USE_BZIP2 and USE_XZ only set EXTRACT_SUFX to the right format
2013-04-29 08:57:12 +00:00
Baptiste Daroussin
ab7078e178 Remove any reference to USE_ICONV now that it has been totally replace by USES= iconv
Submitted by:	mva
2013-04-27 22:15:26 +00:00
Baptiste Daroussin
dba80fffe4 Remove USE_CDRTOOLS from bsd.port.mk
This macros has been useless since cdrtools-cjk port has gone.
This macros also lead to badly handled dependencies assuming that the dependency
on cdrtools was most BUILD and RUN dependency. While most of the time it is
simply a RUN dependency and sometime a build one.

While here:
- Trim some headers
- Convert some ports to optionsng
- Convert some ports to USES= gettext
2013-04-26 12:35:50 +00:00
Baptiste Daroussin
982dc133e0 Remove USE_FREETYPE from bsd.port.mk
It added no really value and was used only by 8 ports
2013-04-26 09:27:26 +00:00
Baptiste Daroussin
c4eb46fbd3 Remove the now useless compatibility bits for USE_CMAKE 2013-04-25 06:48:09 +00:00
Baptiste Daroussin
ae5d9d6d94 Remove now unused USE_PKGCONFIG code 2013-04-23 14:28:52 +00:00
Bryan Drewery
4292fecc2e - Add WITH_CCACHE_BUILD support during 'configure' phase
- Add CCACHE_DIR
  The MAKE_ENV/CONFIGURE_ENV+= method of adding CCACHE_DIR
  in /etc/make.conf does not work for many ports since they
  overwrite using = instead of appending with +=. By adding
  CCACHE_DIR into the ENV variables after reading in the port
  the directory is properly set in the environment. Without
  this, the ccache support would sometimes work but incorrectly
  not respect the set CCACHE_DIR, potentially using 2 caches.

With hat:	portmgr
2013-04-23 00:26:55 +00:00
Baptiste Daroussin
185c92f4d9 Use simple glob matching instead of a regex to test if PREFIX defined as an absolute patch 2013-04-22 17:01:33 +00:00
Baptiste Daroussin
43ba324fd5 Add a global config.site cache.
This has 2 effects:
- it caches lots of things autotools are looking for and we know that are
  already on FreeBSD (speeding up configure scripts)
- it forces the autotool enable build chain to use by default commands from the
  base system like sed, awk, cp, bzip2, gzip etc

To overwrite things set in config.site just add the variable in CONFIGURE_ENV
within your port

Please help us to add new values in this config.site
2013-04-22 16:16:46 +00:00
Bryan Drewery
1697c075d9 - Fix check-vulnerable failing when pkg(8) is not installed
and WITH_PKGNG is set. This can happen when deinstall and
  reinstalling ports-mgmt/pkg in some cases

With hat:	portmgr
2013-03-30 05:31:29 +00:00
Baptiste Daroussin
39eb1ba22b ghostscript7 is very very outdated consider using newer version like print/ghostscript9
Approved by:	doceng (gjb)
2013-03-26 15:55:59 +00:00
Baptiste Daroussin
2dccb25602 Fix displaying multi description 2013-03-21 15:43:29 +00:00
Bryan Drewery
cca914e0f6 - Fix dialog4ports missing when PREFIX!=LOCALBASE
PR:		ports/177174
Reported by:	Hirohisa Yamaguchi <umq@ueo.co.jp>
With hat:	portmgr
2013-03-21 11:13:49 +00:00
Martin Wilke
58df3eebfb - Ports that use alternative targets to depend on others, for example:
BUILD_DEPENDS=	${NONEXISTENT}:${PORTSDIR}/foo/bar:target
  fail when built in jails that restrict network access during !fetch phase.
  This commit address this problem.

Tested by:	bmany exp-runs, drewery, bapt, crees

PR:		169850
Submitted by:	crees@
2013-03-21 07:34:50 +00:00
Bryan Drewery
becd92b496 - Remove prompt for dialog4ports. Dialog4Ports is a
required part of ports 'make config' now. This is seen
  as not much different than any other dependency.
- Allow dialog4ports to work with INSTALL_AS_USER
  by building and using the port's WRKDIR version
  through a Tools/scripts wrapper
- Add NO_DIALOG for 'config' as well.
- Fix D4P environment variables not passing to dialog4ports:
  D4PHEIGHT, D4PWIDTH, D4PFULLSCREEN

Reviewed by:	miwi, bapt, rum1cro@yandex.ru
Tested by:	miwi, bapt, rum1cro@yandex.ru
Tested by:	bdrewery (small exp-run)
Requested by:	many
2013-03-21 02:55:32 +00:00
Baptiste Daroussin
72a8d49547 Make config-depends target respect NO_DIALOG
Clean out the dialog4ports workdir after installing it

Reported by:	flo
Tested by:	flo
2013-03-20 09:30:04 +00:00
Baptiste Daroussin
e27e2c7316 if user has decide not to install dialog4ports, quit with a failre.
Reported by:	many
2013-03-20 07:58:56 +00:00
Max Brazhnikov
f8a306de30 Convert USE_CMAKE to USES macro:
Usage:		USES= cmake or USES= cmake:ARGS
 Valid ARGS:	outsource (perform an out-of-source build)

Tested by:	exp-run (bapt)
Approved by:	portmgr (bapt)
2013-03-19 17:59:30 +00:00
Baptiste Daroussin
5718fc3071 Make the ports tree use dialog4ports for make config.
dialog4ports has been contributed by Ilya A. Arkhipov. It extends dialog(3) to
provide a mixed dialog widget allowing to represent all features provide by the
new options framework.

This allows the ports tree to not anymore depends on dialog(1) from base to configure
the options and be able to improve if needed on all supported plateforms at the same time.

Exp-run by:	miwi
2013-03-19 09:27:52 +00:00
Bryan Drewery
63f96859ce - Convert USE_QMAIL_RUN, USE_QMAIL_BUILD and WANT_QMAIL into USES feature
bapt contributed to the qmail.mk as well
- Trim headers

USES= qmail:run will add qmail into RUN_DEPENDS
USES= qmail:build will add qmail into BUILD_DEPENDS
USES= qmail[:both] will add qmail into both RUN and BUILD DEPENDS
USES= qmail:vars will set QMAIL_PREFIX

With hat:	portmgr
2013-03-15 22:03:42 +00:00
Baptiste Daroussin
911c27a74b r314316 loads the features a bit too late it should be done prior to the path sanity checking
Reported by:	bdrewery
2013-03-15 16:45:47 +00:00
Baptiste Daroussin
be3b808c2a Load features at the end of pre.mk instead of the begonning of post.mk
This allows to test/manipulates variables from USES between .pre.mk and .post.mk

Having it loaded in the end of pre.mk still allows to set USES inside bsd.*.mk
and after bsd.port.options.mk.

The only limitation is that USES set after bsd.port.pre.mk will not be taken loaded.
Which is the same behaviour as for USE_*.

Requested by:	bdrewery
Exp-run by:	miwi
2013-03-15 16:37:31 +00:00
Baptiste Daroussin
5285b348d3 Fix info files with pkgng.
This bring the first Keyword into the ports tree.
Keywords are pkgng custom plist keyword definition.

info.yaml defines a new @info keyword usable only with pkgng which will:
- add the info agument to the file list
- set a post-installation execution script
- set a post-deinstallation execution script

in keyword definition the script uses the same format (%f, %F, %D, ...) as @exec/@unexec does
it just add a new one: %@ which correspond the the keyword argument line.

Exp-run:	miwi
2013-03-14 10:11:19 +00:00
Bryan Drewery
f7fde92337 - Fix fetch-urlall-list fetch-url-list fetch-url-list-int targets
incorrectly looking at distinfo data. These were copied from
  do-fetch at some point, but they do not actually run FETCH_CMD,
  so the DIR and CKSIZE vars are not needed.

PR:		ports/175717
Submitted by:	amdmi3
With hat:	portmgr
2013-03-13 02:20:47 +00:00
Bryan Drewery
cec5e7a589 - Make the config sanity check more clear that it defaults
to [Y]es

PR:		ports/171083
Submitted by:	rakuco
With hat:	portmgr
2013-03-13 00:31:27 +00:00
Baptiste Daroussin
7d20ef9811 Get rid of XAWVER option in bsd.port.mk it does not need to be specified there also remove a useless global XAWVER PLIST_SUB 2013-03-09 21:43:02 +00:00
Baptiste Daroussin
f4285add25 Remove some dead variables 2013-03-09 21:23:54 +00:00
Baptiste Daroussin
7372ce16d9 Remove old USE_BISON related code from bsd.port.mk 2013-03-08 11:34:33 +00:00
Martin Wilke
0f92912af4 - Add new knob USE_LHA [1]
- Convert few ports to USE_LHA [1]
- Revert r303619 since CONFIGURE_ENV already sets CPPFLAGS and LDFLAGS by default. [2]

PR:		176187 [1]
		174790 [2]
Submitted by:	Christoph Mallon <christoph.mallon@gmx.de> [1]
		Gerald Pfeifer <gerald@pfeifer.com> [2]
2013-03-07 17:08:13 +00:00
Baptiste Daroussin
da12e6723d Convert USE_FUSE macros into USES feature.
While here trim headers
Convert some USE_GNOME= gnomehack -> USES= pathfix
2013-03-06 16:52:02 +00:00
Baptiste Daroussin
05b55e937f New USES macros that loads "features" on demand.
First feature implemented: pathfix which will lookup in WRKSRC for Makefile.in
and configure and fix common path that doesn't fit with FreeBSD hier(7)

This is an extract of bsd.gnome.mk's gnomehack to avoid porters to have to load
the full bsd.gnome.mk just for this feature

More features to come...
2013-03-06 14:28:57 +00:00
Baptiste Daroussin
f05b0c8f66 Do not append options to pkg-plist when using pkgng given that this is already
appended to +MANIFEST in bsd.pkgng.mk

Submitted by:	bdrewery
2013-03-06 07:04:45 +00:00
Martin Wilke
20490dc7a0 - Drop obsoleted USE_QT_VER=4 [1]
- Add auditdistd user to the blacklist [2]

PR:		171797 [1]
		176276 [2]
Submitted by:	makc@ [1]
		"John W. O'Brien" <john@saltant.com> [2]
2013-03-03 06:53:34 +00:00
Max Brazhnikov
537fa0cbd2 Update DESKTOP_ENTRIES framework:
- update list of categories to the version 1.1 of Desktop Menu Specification
- require Icon field to follow Desktop Entry Specification (the field must be
  absolute path or icon name if icon theme is used)
- require main category to be set (listed in DESKTOP_CATEGORIES_MAIN)
- remove deprecated Encoding key
- allow StartupNotify field to be empty string
- be less strict when generating filename for desktop entry (to improve
  readability when full path to executable is used)
- use port ${COMMENT} if comment field is not set
- add GenericName key (comment field will be used)

PR:		ports/175102
Approved by:	portmgr (bapt)
Tested by:	mini exp-run (bapt)
2013-01-23 14:32:20 +00:00
Florian Smeets
d26530b713 - introduce a USE_FUSE macro
- convert all fuse ports to use the new macro

The macro makes sure sysutils/fusefs-libs gets installed and depending on
fuse being in base or not it installs sysutils/fusefs-kmod.

Approved by:	portmgr (bapt)
2012-12-14 15:47:00 +00:00
Koop Mast
1dc6a664e3 Rename USE_GSTREAMER08 to USE_GSTREAMER1. The old one is a left over from
when bsd.gstreamer.mk had support for the 0.8 Gstreamer series. The new macro
will be used for the Gstreamer 1.x framework. This isn't completly finished yet
but this allows me to drop bsd.port.mk from my patchset.

Approved by:	portmgr (bapt)
2012-12-10 12:46:43 +00:00
Baptiste Daroussin
34d5249610 Extend the options framework providing 2 new macros:
OPTIONS_RADIO: a more user friendly way to allow selecting only 0 or 1 options
               among a list of options
OPTIONS_GROUP: this macros should be used to group options by theme allowing the
               user to select 0 or N options among a list of options

With hat:	portmgr
Reviewed by:	beat
2012-12-10 10:14:05 +00:00
Baptiste Daroussin
0adf8ae323 PKG_DEVEL is not there yet, this shouldn't have been committed, sorry
Feature safe:	yes
2012-10-26 08:16:17 +00:00
Baptiste Daroussin
e32eca5754 Remove GOGO option and gogo run dependencies along with gogo mp3 encoder itself
Feature safe:	yes
2012-10-26 06:33:41 +00:00
Beat Gaetzi
b7139dede3 - Only add GH to MASTER_SITES if not already there [1]
- Allow WRKSRC to be overridden when using USE_GITHUB [2]

PR:		ports/171644 [1], ports/171688 [2]
Submitted by:	bdrewery
Reviewed by:	gahr
Tested by:	Exp-run on pointyhat
2012-10-10 18:20:21 +00:00
Baptiste Daroussin
3fe25b5e4e Add a part forgotten in previous commit concerning switching to pkgng 2012-10-10 13:12:17 +00:00
Baptiste Daroussin
39055bef9c Switching current to use pkgng by default
Adding WITHOUT_PKGNG for people not willing to migrate to pkgng now

Hat:		portmgr
Non-regression:	beat
Exp-runs:	beat
2012-10-10 08:40:21 +00:00
Baptiste Daroussin
3cb75a18a9 - add STAT to bsd.commands.mk
- use ${STAT} -f \"%z\" in make makesum to calculate size
- speed up USE_PKGCONFIG by using a more efficient syntax [1]
  and test in the order it is most expected to appear: "yes/build"
  first, "both" second, "run being the last one.

Reported by:	dougb [1]
Exp-Run by:	beat
2012-10-09 17:18:43 +00:00
Bryan Drewery
7a7575288a - Revert ports/171672 patch to 'do-package' due
to reported problems with defining PKG_SUFX,
  and leaving behind tmp files.

PR:		ports/171672
Reported by:	poyopoyo@puripuri.plala.or.jp
Approved by:	portmgr (beat, implicit)
2012-09-21 13:29:20 +00:00
Beat Gaetzi
87ed9dc1c6 - Remove ftp fallback as all supported FreeBSD versions provide fetch [1]
- Don't call 'pre-config' twice in the 'config-conditional' target [2]
- Clean up pkgng metadir so that the 'clean' target can be executed without
  root permissions if the build was done with a non-root user. [3]
- Make 'do-package' atomic while creating the pkg file [4]

PR:		ports/171161 [2], ports/171329 [3], ports/171672 [4]
Submitted by:	bapt [1], A.J. Kehoe IV (Nanoman) <m7k60pkr@nanoman.ca> [2],
Submitted by:	bdrewery [3, 4]
Reported by:	Kimmo Paasiala <kpaasial@gmail.com> [3]
Tested by:	Exp-run on pointyhat, bapt (pkgng changes)
2012-09-20 19:51:30 +00:00
Bryan Drewery
adcf192e54 - Fix install when PACKAGE_BUILDING is not defined
Approved by:	portmgr (tabthorpe)
Approved by:	eadler (mentor)
2012-09-07 00:05:58 +00:00
Mark Linimon
bfb3226436 - Remove obsolete USE_XLIB and MACHINE_ARCH definitions [1], [4]
- Include top-level Makefile.inc from correct directory [2]

 - Add new target add-plist-buildinfo for package build details [3]

PR:		ports/152871 [1]
PR:		ports/164207 [2]
PR:		ports/162397 [3]
PR:		ports/167677 [4]

Submitted by:	eadler [1], [4]; glarkin [2]; jhelfman@experts-exchange.com [3]
2012-09-06 20:59:27 +00:00
Mark Linimon
c0d91f37b3 Add a "make pbi" and "make clean-pbi" target to the ports build system.
PR:		ports/167825
Submitted by:	kmoore
2012-09-05 04:32:25 +00:00
Mark Linimon
2650f95f80 - Add hast to USERS_BLACKLIST [1].
- Add USE_READLINE knob [2].
 - Fix typo [3].

PR:	ports/157128 [1]
PR:	ports/162995 [2]
PR:	ports/165125 [3]

Submitted by: Ruslan Mahmatkhanov <cvs-src@yandex.ru> [1],
	fjoe [2], "Conrad J. Sabatier" <conrads@cox.net> [3]
2012-09-03 20:47:01 +00:00
Beat Gaetzi
c7c279fc67 - Partially back out r303381: readlink -f is not available on all
supported FreeBSD versions.

Reported by:	gahr@, tota@
2012-09-01 22:21:57 +00:00
Beat Gaetzi
68384983e2 - Add ccache support for building ports. [1]
- Fix CONFIGURE_FAIL_MESSAGE to be pkgng-aware. [2]
- Resolve symlinks in PREFIX on deinstall. [3]
- Introduce CLEAN_FETCH_ENV variable to disable package dependency
  in fetch target for mass fetching. [4]

PR:		ports/169579 [1], ports/170552 [2],
		ports/170784 [3], ports/170796 [4]
Submitted by:	bdrewery@ [1], crees@ [2], gahr@ [3], ohauer@ [4]
Tested on:	pointyhat
2012-08-30 15:31:25 +00:00
Beat Gaetzi
2e3297bade - Record the selected OPTIONS from the port build into the resulting
+CONTENTS file.

PR:		ports/170469
Submitted by:	bdrewery@
Tested by:	exp-run on pointyhat
2012-08-21 17:29:11 +00:00
Koop Mast
5aa7246575 Switch from libglut to freeglut and retire libglut. Libglut hasn't been
developed in years and has been dropped from the MESA 8.0 distribution.
Freeglut is a rewrite of glut and is actively developed and is used by
many linux distributions instead of libglut.

Bump all ports that directly depend on libglut because of the shlib version
change.

There are some extra items in this patch.

*) Because freeglut doesn't have the same dependancies as libglut, some ports
	need extra dependencies added to USE_XORG to make them build.
*) Mark graphics/f90gl broken, f90gl depends on a header that is only shipped
	with libglut.
*) Remove option for libglut/freeglut selection in games/cake, only freeglut
	remains now.
*) While here fix a png related build issue games/vegastrike.

Thanks to miwi for running the exp-run.

Approved by:	portmgr (miwi)

Collaboration with:	zeising@
Obtained from:	xorg-dev staging area.
2012-08-04 22:52:02 +00:00
Erwin Lansing
0c9a3c5e53 Fix typo
Submitted by:	emax
2012-07-31 18:41:21 +00:00
Baptiste Daroussin
9346b215f0 new devel/pkgconf added to replace devel/pkg-config. new version of pkg-config
are no more self hosting so we are stuck with 0.25 version while pkgconf provide
the same set of features as 0.27 and a compatible frontend. A symlink to
pkg-config has been added for convenience and compatibility

This also introduces a new macro to use pkgconf in your ports:
USE_PKGCONFIG

it can take the following arguments:
 - yes (meaning build only dep)
 - build (meaning build only dep)
 - run (meaning run only dep)
 - both (meaning run and build dep)

From now USE_GNOME= pkgconfig is deprecated in favour of USE_PKGCONFIG
The old gnome macro has been modified to use pkgconf but still the sameway: run
and build dep to avoid large breakage.

While here fix some ports relying on pkg-config but not specifying it, fix some
ports broken because testing wrong .pc files, and fix ports using pkg-config
--version to determine pkg-config version instead of
pkg-config --modversion pkg-config like recommanded by pkg-config

With Hat:	portmgr
Exp-runs by:	bapt (pointhat-west), beat (pointyhat)
2012-07-26 05:40:22 +00:00
Baptiste Daroussin
9bc22bc847 Fix config-conditional
PR:		Gareth Hopkins <gabbawp@gmail.com> (via ports@)
Tested by:	jgh
2012-07-17 16:20:06 +00:00
Baptiste Daroussin
45b04c6514 compare options loading from /var/db/port/options and make.conf against the
complete list of options.
COMPLETE_OPTIONS_LIST being OPTIONS_DEFINE + all the OPTIONS_SINGLE_* + all the
OPTIONS_MULTI_*
2012-07-16 22:36:44 +00:00
Baptiste Daroussin
2bf8210563 - Document new options framework in bsd.options.mk
- new OPTIONS_DEFINE_${ARCH} and OPTIONS_DEFAULT_${ARCH} to define and activate
  options per arches.
- No more append to PORT_OPTIONS options that are not in OPTIONS_DEFINE, (in the
  expection of DOCS, NLS, EXAMPLES for compatibility)
2012-07-16 11:38:36 +00:00
Alberto Villa
f84dc6affb - Remove mention to USE_QT_VER=4 in comments. USE_QT4 has to be used
instead.

With hat on:	kde
Approved by:	portmgr (bapt)
2012-07-01 20:57:48 +00:00
Sunpoet Po-Chuan Hsieh
83b5f64d38 - Revert accidental commit 2012-06-26 13:54:59 +00:00
Sunpoet Po-Chuan Hsieh
8ae901c16d - Add shared TLS description 2012-06-26 13:42:52 +00:00
Baptiste Daroussin
87d793fa02 Fix sanity-config error when using WRKDIRPREFIX [1]
While apply the same fix to fetch-urlall-list and fetch-url-list [2]

PR:		ports/169039 [1]
Reported by:	avg@ [1], Jan Beich <jbeich@tormail.org> [2]
exp-run:	pointyhat-west (bapt)
2012-06-15 12:04:52 +00:00
Martin Wilke
19500a789f - Add optionsNG make config sanity check support
PR:		168480
Submitted by:	"Bryan Drewery" <bryan@shatow.net>
Reviewed by:	bapt
2012-06-09 12:19:12 +00:00
Ryan Steinmetz
73693352c5 Fix condition where _FILE_COMPLETE_OPTIONS_LIST is not defined (introduced by previous commit)
Approved by:	portmgr (tabthorpe)
2012-06-08 19:52:39 +00:00
Baptiste Daroussin
1bbd68d292 Fix make config-conditional with optionsng
Reported by:	ru@
2012-06-08 18:44:17 +00:00
Baptiste Daroussin
2641586787 Silent rmdir after removing the optionfile, the directory might contains other
informations like distfiles (added by portmaster)

While here only check if the optionsfile is there before removing it.

PR:		ports/164422
Submitted by:	Greg Larkin <glarkin@freebsd.org>
2012-06-06 14:23:17 +00:00
Baptiste Daroussin
ac505c31cb Fix sanity checkong for "multi" options 2012-05-31 14:27:23 +00:00
Baptiste Daroussin
633eef1b21 Allow make config to run if description is empty 2012-05-31 07:35:44 +00:00
Baptiste Daroussin
b5ddd364f1 Stop spawning dialog inside its own sh process
This allow us to use normal make quoting when preparing the command line for the
make config dialog
2012-05-31 05:04:04 +00:00
Baptiste Daroussin
8fce177a10 Show nothing if no options are defined as it used to be before optionsng 2012-05-30 21:02:49 +00:00
Baptiste Daroussin
738eb15d73 No more need to use double for comments containing parenthesis or simple quotes
while here, fix make config dialog ui with parenthesis and simple quotes on
single or multi options [1]

Reported by:	Bryan Drewery (via #bsdports) [1]
2012-05-30 20:50:05 +00:00
Baptiste Daroussin
9ac596012f Do not leave orphan /tmp/portoptions.* files
PR:		ports/168475
Submitted by:	Bryan Drewery <bryan@shatow.net>
2012-05-30 19:04:55 +00:00
Baptiste Daroussin
62bf63ad3f Hide 'cd port && make config' command in 'config-conditional' target
PR:		ports/168453
Submitted by:	Bryan Drewery <bryan@shatow.net>
2012-05-30 09:55:54 +00:00
Baptiste Daroussin
45a1b5ac79 Fix make config when cancel is hit
Reported by:	ketas (via #bsdports)
2012-05-29 16:55:02 +00:00
Baptiste Daroussin
ef49eaca32 Do not spam stdout with dialog command line 2012-05-29 14:25:13 +00:00
Baptiste Daroussin
93428f6af3 Do not print an empty line after description for multi and single options in make showconfig 2012-05-29 14:05:35 +00:00
Baptiste Daroussin
4ab2fee309 Fix python's make config [1]
Better backward compatibility [2]

Reported by:	ketas (on #bsdports) [1], flo@ [2]
Tested by:	flo@ [2]
2012-05-29 13:30:56 +00:00
Baptiste Daroussin
793bb3f35b fix make config with no "basic options" but only single or multi 2012-05-29 10:50:11 +00:00
Baptiste Daroussin
c263127442 New options framework for the ports
for maintainers:
it introduces 3 different types of options: simple, multi and single:
- simple options are the same as the current options (i.e. on or off.)
- multi options are options where at least one must be set (1-N).
- single options are options where one and only one must be set (exclusive
  options).

for users:
- OPTIONS_SET: globally enable some options
- OPTIONS_UNSET: globally disable some options
- ${UNIQUENAME}_SET: enable per-port choice of options
- ${UNIQUENAME}_UNSET: disable per-port choice of options

For compatibility the old OPTIONS framework is now working on top of the new one
The options previously set with old OPTIONS are imported and converted
transparently.

A new knob NO_DIALOG if defined in the the config-conditional target is ignored
(prevent the dialog(1) ui to show up.

Thanks to all people involved:
beat@, crees@, Bryan Drewery, linimon@, novel@ and others, for testing, comments, patches
2012-05-29 09:54:27 +00:00
Martin Wilke
189a4c9099 - Add USE_QT4 to include bsd.qt.mk
PR:		165952
Submitted by:	avilla@
Tested by:	phw
2012-05-24 07:11:41 +00:00
Martin Wilke
61d8acdb49 - Remove emacs mode, -*- mode: ...; -*- [1]
- Comments for BUILD_ and RUN_DEPENDS fail to mention alternate means to specify dependencie [2]
- Fix make reinstall [3]
- Trivial comment change for PORTDATA [4]

PR:		151954 [1]
		161314 [2]
		167085 [3]
		167465 [4]
Submitted by:	Anonymous <swell.k@gmail.com> [1]
		dougb@ and Chris Rees <utisoft@gmail.com> [2]
		Garrett Cooper <yanegomi@gmail.com> [3]
		"Bryan Drewery" <bryan@shatow.net> [4]
Tested via:	phw
2012-05-23 08:17:49 +00:00
Baptiste Daroussin
ca211b18b4 No port installs catpages anymore, let's remove ugly code that tries to magically
figure out if any catpage is installed, now if a port want to install a catpage
it would need to cleanly track it.

With hat:	portmgr
2012-05-20 00:12:46 +00:00
Ryan Steinmetz
e3c28599f4 - Update language used in portaudit message. (cosmetic change)
Approved by:	portmgr (tabthorpe)
Feature safe:	yes
2012-03-13 08:14:45 +00:00
Simon L. B. Nielsen
4d22b6af09 Make bsd.port.mk not parse port audit's auditfile directly to
check for vulnerabilities, but call portaudit instead.

This fixes a remote command execution vulnerability for users who have
portaudit installed.

While changing the code anyway, remove the annoying and very verbose
"Vulnerability check disabled, database not found" warning.

Security:	Remote code execution
Security:	http://vuxml.FreeBSD.org/6d329b64-6bbb-11e1-9166-001e4f0fb9b1.html
Approved by:	portmgr
Feature safe:	yes (or at least approved)
With hat:	so
2012-03-11 21:30:49 +00:00
Baptiste Daroussin
7d51693e8c - only include bsd.pkgng.mk once [1]
- only read bsd.pkgng.mk in post.mk [1]
- move the command definition to bsd.command.mk [1]
- fix check-vulnerable [2]

Submitted by:	avilla [1], rene [2]
2012-02-22 17:34:47 +00:00
Baptiste Daroussin
7654d2a185 Fix a regression in the default target chain introduced when pushing the new pkg-depends target.
Now check-sanity and all depending targets are called again

With hat:	portmgr
2012-02-02 07:21:14 +00:00
Baptiste Daroussin
df0aa973b9 Please welcome pkgng beta1.
if you want to use it please define WITH_PKGNG=yes in your /etc/make.conf
For more information read the announcement on the mailing list

With hat:		portmgr
Non-Regression test:	linimon
2012-01-30 12:39:14 +00:00
Beat Gaetzi
688fdbc2d0 - Apply FreeBSD 10.x workaround on WRKDIR instead of WRKSRC as some ports
provide their configure script outside of WRKSRC.
- Print out all files on which the autotools fix was applied.

Exp-runs by:	miwi
2012-01-22 15:41:33 +00:00
Pav Lucistnik
5a084f8451 - Fix check-already-installed target: comm expects the input to be sorted
PR:		ports/161287
Submitted by:	mandree, nox (used nox's version)
2012-01-15 22:13:42 +00:00
Eitan Adler
984a7b16f9 R.I.P X11BASE
Approved by:	portmgr (pav)
2012-01-13 02:17:01 +00:00
Pav Lucistnik
7eca957720 - Remove unused definition of MD5
PR:		ports/163282
Submitted by:	rene
2012-01-12 22:20:32 +00:00
Martin Wilke
93a599d772 - Make WITH_FBSD10_FIX globally
- Add a new flag WITHOUT_FBSD10_FIX for maintainer testing

Some additional notes:
We are planing to make 10 exp-run after the 9.0 Release within 2 weeks to poke maintainers
and upstream as to ensure that for the 10.0 Release, everything is fixed and we can remove
the current workaround.

Submitted by:	bf@, rea@ (based on)
Thanks to:	beat, kwm, dough
Reviewed by:	erwin
Tested via PH:	2x exp-run
Approved by:	portmgr (myself)
2011-11-09 08:53:12 +00:00
Pav Lucistnik
c357454726 - Fix typo: PKG_NAME should have been PKGNAME
PR:		ports/161495
Submitted by:	lwhsu
2011-11-07 12:44:42 +00:00
Erwin Lansing
1beda15b17 Add a workaround for ports that don't recognize FreeBSD 10.x or newer.
Ports that need this can set WITH_FBSD10_FIX to apply the hack, but
only on FreeBSD 10.  This is only a temporary workaround as the real fix
lies upstream by fixing the included scripts, but this will take a
long time.

Submitted by:	ed, jilles, stas, beat (and more)
Tested on:	pointyhat i386-9-exp and i386-10
2011-10-27 09:46:25 +00:00
Dmitry Marakasov
6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00
Baptiste Daroussin
7626bb39cb Simplify USERS/GROUPS management, use groupmod instead of usermod to append user to a group
This fix group management

PR:		ports/159577
Submitted by:	sahil
Reviewed by:	flz
Exp-run:	bapt
Approved by:	portmgr (flz)
2011-09-09 08:10:29 +00:00
Sunpoet Po-Chuan Hsieh
62896e4934 - Revert accidental commit 2011-09-04 17:35:07 +00:00
Sunpoet Po-Chuan Hsieh
65e103c48f - Remove ftp.net.ohio-state.edu
PR:		ports/160311
Submitted by:	Anton Shterenlikht <mexas@bristol.ac.uk>
2011-09-04 17:31:01 +00:00
Mark Linimon
dd83a86446 Refactor the perl parts of bsd.port.mk to live in bsd.perl.mk. This never
got finished correctly in the first place.

Note that this reverts two things in gabor's original bsd.perl.mk rewrite
that were never actually used/tested:

 - ability of USE_PERL5 and other variables to specify a version.

 - conditional inclusion of bsd.perl.mk based on USE_PERL5 or similar.

What this commit does is to make bsd.perl.mk be _exactly_ the current
code from bsd.port.mk (modulo a few comments).

Work to test the former would be welcome.  The problem with the latter
is that multiple attempts over the last N years to test it inevitably
showed INDEX breakage.  My own conclusion is that that simply makes the
tree too fragile (and is the reason I kept putting off working on it in
the first place).  Others will disagree.

Hopefully this change will make the perl-specific bits in bsd.*.mk easier
to maintain.

While here, fix a bogus comment (CCFLAGS).

Adding to pointy hat collection:	linimon
2011-08-12 16:39:23 +00:00
Mark Linimon
d423cdc650 - fix problem with metadata on tier-2 machines for Pascal ports. The
reason is that bsd.fpc.mk was only defining PPNAME for i386 and amd64.
   Provide a placeholder and proper IGNORE for tier-2 [1]

 - remove obsolete check for /usr/share/mk/bsd.port.options.mk [2]

 - add USE_DRUPAL for easy include of Mk/bsd.drupal.mk [3]

PR:		ports/155017 [2],
		ports/159288 [3]
Submitted by:	linimon (discussed with acm),
		eadler,
		crees
2011-08-12 16:10:02 +00:00
Baptiste Daroussin
a9a18a9577 removed unused __softMAKEFLAGS [0]
remove old security check code [1]

PR:		ports/156077 [1], ports/158956 [0]
Submitted by:	Eitan Adler <lists@eitanadler.com> [1], bapt@ (myself) [0]
Tested on:	pointyhat-west
With hat:	portmgr
2011-07-21 15:10:46 +00:00
Mark Linimon
2e12896268 Fix INDEXFILE for upcoming 10.0 branch.
PR:		ports/158750
Submitted by:	crees
Tested on:	pointyhat-west
2011-07-21 05:04:39 +00:00
Pav Lucistnik
49f1482237 - Unbreak fetch-urlall-list target when DIST_SUBDIR contains forward slashes
PR:		ports/158203
Submitted by:	Mamoru Sakaue <sakaue.mamoru-cmfho5lt@samurai.mwghennn.net>
2011-07-15 08:26:30 +00:00
Erwin Lansing
0f54071016 Update perl to 5.12.4
Changes:	http://search.cpan.org/~lbrocard/perl-5.12.4/pod/perl5124delta.pod

Submitted by:	skv
Tested on:	pointyhat
2011-07-03 15:51:18 +00:00
Baptiste Daroussin
3904f96634 Fix fetch-urlall-list
Reported by:	amdmi3@ (by mail)
Approved by:	portmgr@ (bapt@, self)
2011-06-09 08:22:45 +00:00
Hiroki Sato
cee3955026 - Add print/ghostscript9-nox11.
- Add "9" to USE_GHOSTSCRIPT_* variables and upgrade the default version to it.
2011-06-07 14:22:23 +00:00
Baptiste Daroussin
76eebf07a6 - remove some old code (unsused on supported OS) [1]
- prevent some useless external program call (based on [2])
- simplify (in)valid category detection

PR:		ports/155629 [1],  ports/65804 [2], ports/157273 [3]
Submitted by:	Eitan Adler <lists@eitanadler.com> [1], green@ [2], bapt@ (myself) [2]
Exp-runs by:	pav@
2011-06-06 05:53:51 +00:00
Sergey Skvortsov
b9716b9857 Introduce Perl 5.14.0
Changes:	http://search.cpan.org/~jesse/perl-5.14.0/pod/perldelta.pod
2011-05-17 19:30:03 +00:00
Sergey Skvortsov
2879ba6109 Change default Perl version to 5.12. 2011-05-06 06:20:12 +00:00
Florent Thoumie
c406a95c53 Latest round of infrastructure changes.
- bsd.port.mk: add INDEX_PORTS, to support INDEX creation for a subset of the ports tree [1]
- bsd.port.mk: call target "install-rc-script" before "post-install" [2]
- [patch] ports/Mk bsd.port.mk order if groups/users are created by package [3]
- [bsd.port.mk] [patch] reaper of the dead: md5 has been in /sbin for a while [4]
- [bsd.port.mk] [patch] remove support for pre 7.x systems (b.*.m) [5]
- [patch] [bsd.port.mk] reaper of the dead: are three variable defintions needed [6]

PR:		ports/156575 [1],
		ports/139116 [2],
		ports/152498 [3],
		ports/155983 [4],
		ports/155510 [5],
		ports/156340 [6]
Submitted by:	Florent Thoumie <flz@xbsd.org> [1],
		Sergey Skvortsov <skv@freebsd.org> [2],
		Olli Hauer <ohauer@FreeBSD.org> [3],
		Eitan Adler <lists@eitanadler.com> [4],
		Eitan Adler <lists@eitanadler.com> [5],
		Eitan Adler <lists@eitanadler.com> [6]
2011-05-04 22:33:13 +00:00
Max Brazhnikov
314168b9be Update open-motif to 2.3.3
Remove needles patches (integrated upstream)
Pass maintainership to submitter

PR:		ports/154044
Submitted by:	Mikhail Tsatsenko <m.tsatsenko at gmail.com>
Exp-runs by:	pav
2011-05-02 12:40:24 +00:00
Olli Hauer
aaa59c1b11 Mk/bsd.apache.mk was rewritten with a new logic and some new parameters
to support future apache versions and the transition to apache22.

  Existing and new USE_APACHE* parameters:

  USE_APACHE         set apache and apxs as build and run dependency
  USE_APACHE_BUILD   set apache and apxs as build dependency
  USE_APACHE_RUN     set apache and apxs as run dependency

  The following example is representative of all three possible parameters to use:

  USE_APACHE= 22     specify exact version
  USE_APACHE= 1.3+   specify [min] version, no [max] version
  USE_APACHE= 13-22  specify [min]-[max] range
  USE_APACHE= -2.2   specify [max] version, no [min] version

  Values can be specified with and without "." (dot) between major and minor
  version numbers. For example 22 is equal to 2.2

  For documentation and full changelist please take a look into
  Mk/bsd.apache.mk or http://wiki.freebsd.org/bsd.apache.mk

  Commit with hat apache@

PR:		ports/156533
Submitted by:	ohauer
2011-04-24 15:37:53 +00:00
Baptiste Daroussin
8d27ddb9bd Add a new macro to deal with conflict between ncurses from base and ncurses from ports.
If a ports is linked against ncurses from base or from the ports, it should then add:
USE_NCURSES=yes

it is also possible to specify the hard dependency on the ports ncurses or one the base one adding the following macros:
WITH_NCURSES_PORT=yes or WITH_NCURSES_BASE=yes

PR:		ports/155269
Submitted by:	me
Reviwed by:	pav@
Approved by:	portmgr (pav@)
Exp-run by:	portmgr (pav@)
2011-04-11 08:34:17 +00:00
Thomas Abthorpe
87f78ba5a9 - Disable license checking with DISABLE_LICENSES [1]
- Remove temp files from /tmp when build is interrupted [2]

PR:		ports/149837 [1], ports/155890 [2]
2011-03-31 03:37:14 +00:00
Pav Lucistnik
a3c0bb0134 - Use ${UID} instead of calling ${ID} -u
PR:		ports/155543
Submitted by:	Eitan Adler <lists@eitanadler.com>
2011-03-19 21:30:34 +00:00
Martin Wilke
ab44c29293 - Fix spelling
PR:		ports/155195
Submitted by:	Warren Block <wblock@wonkity.com>

- Remove sanity check for X_WINDOW_SYSTEM
- Remove check for USE_XPM
PR:		ports/155502 ports/155504
Submitted by:	Eitan Adler <lists@eitanadler.com>
2011-03-18 01:43:49 +00:00
Erwin Lansing
d5c7de2d68 Pass CPPFLAGS to MAKE_ENV and CONFIGURE_ENV
PR:		153625
Submitted by:	gerald
2011-03-07 07:32:05 +00:00
Martin Wilke
d594ccc94f - Please welcome Xorg 7.5.1
The X-Server has been patched to the latest 1.7.X series, drivers
and fonts have been updated to the latest versions. This update includes
some components from Xorg 7.6 with a lot of improvements, and it seems
that the performance is much better than the old version. Also this
Update fix build issues with clang and binutils 2.17.50 in current,
remove 6.X gruft and de-author pkg-descr.

I would like to thank:

	Beat Gaetzi
	Dima Panov
	Koop Mast
	Eitan Adler
	and all Testers.

PR:		ports/147646
		ports/148035
		ports/148744
		ports/150223
		ports/152889
		ports/154457
2011-02-25 16:52:50 +00:00
Pav Lucistnik
d88a3287e7 - Allow using linux base 2.4 on FreeBSD 8.X
PR:		ports/154186
Submitted by:	ale
2011-02-25 11:00:59 +00:00
Pav Lucistnik
996d853fd4 - Remove NO_SIZE support
PR:		ports/153547
Submitted by:	Eitan Adler <lists@eitanadler.com>
2011-02-25 10:55:08 +00:00
Mark Linimon
57c29b88a3 - make dirrmtry more friendly [1]
- allow checking STRIP when WITH_DEBUG is defined [2]
- unify the message with real URL by removing superfluous slash [3]

PR:		152102 [1],
		153539 [2],
		154653 [3]
Submitted by:	az [1],
		Anonymous <swell dot k at gmail dot com> [2],
		sunpoet [3]
2011-02-25 00:56:51 +00:00
Erwin Lansing
8f0f2e053a Make actual-package-depends work with (unsupported) non-standard
subtrees of ${PORTSDIR} with depths other than 2.

PR:		144482
Submitted by:	brooks
2011-02-16 10:43:53 +00:00
Erwin Lansing
cbef4fa3fb Remove trailing period to make fetch URL easier to copy/paste.
PR:		154390
Submitted by:	uqs
Feature safe:	yes
2011-02-07 13:50:13 +00:00
Erwin Lansing
3fb8ffdaed Drop the use of <> around portaudit URLs
PR:		127214
Submitted by:	uqs
Tested on:	pointyhat-west
Feature safe:	yes
2011-02-05 15:55:58 +00:00