Commit graph

136 commits

Author SHA1 Message Date
Dmitry Marakasov
748a2e5cae - Add CPE info
Approved by:	portmgr blanket
2015-04-14 02:19:00 +00:00
Matthias Andree
b50a4b0708 Berkeley DB cleanup, remove versions 4.0 ... 4.7.
- Mk/bsd.database.mk rewrite, new default to db5.
- db6 is eligible by default only if installed on the system.
- Bump PORTREVISION of all ports that directly depend on BerkeleyDB or
  where USE_BDB is found in the port's directory
- Patch a few ports such that they will pick up or work with newer
  versions.
- Add UPDATING entry
- Drive-by format fix for pks
- Drop BerkeleyDB option from mail/popular for now, requires more work.
- Exp-run logs linked from the PR below.
- Ports that do not build (IGNORE, BROKEN, etc.) have pro-forma changes
  for new Berkeley DB, but are untested.

NOTE: please read UPDATING and the Wiki page before proceeding!

Announcement:	http://lists.freebsd.org/pipermail/freebsd-ports-announce/2014-August/000090.html
Wiki reference:	https://wiki.freebsd.org/Ports/BerkeleyDBCleanup
PR:		192690
Approved by:	portmgr (implicit, PORTREVISION bump on unstaged ports)
2014-08-21 22:50:29 +00:00
Tijl Coosemans
c0f51fae12 math/gsl:
- Add USES=libtool and bump dependent ports
- Add USES=pathfix and INSTALL_TARGET=install-strip

Approved by:	portmgr (implicit, bump unstage port)
2014-08-17 13:09:56 +00:00
Tijl Coosemans
9f8b4bcde3 Support LIBS like LDFLAGS.
- Add LIBS="${LIBS}" to MAKE_ENV and CONFIGURE_ENV.
- Add an option helper for LIBS.
- Adjust all ports that already use LIBS.  Also remove references to
  PTHREAD_CFLAGS and PTHREAD_LIBS while here.
- Some ports did not support having a LIBS environment variable and
  required additional patches.

Somewhat simplified a linker command line looks like:

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

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

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

PR:		190592
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-06-11 14:49:59 +00:00
Matthias Andree
cd2648b130 USE_BZIP2 modernized to USES=tar:bzip2. 2014-05-20 16:54:01 +00:00
Adam Weinberger
0c42add522 Make it possible to fully disable DOCS by considering
everything in DOCSDIR to be part of PORTDOCS. Really,
the "contrib" stuff belong in EXAMPLESDIR.

While here, use OPTIONS helpers, add DOCS to the
OPTIONS_DEFINE list, and bump PORTREVISION.

Maintainer should consider moving the contrib pieces
to EXAMPLESDIR, and moving the pkg-install to a
pkg-message so that it can be viewed later.
2014-04-30 13:26:18 +00:00
Matthias Andree
fc1e4986a4 Support staging. 2013-10-01 14:21:35 +00:00
Baptiste Daroussin
fd61959c15 Add NO_STAGE all over the place in preparation for the staging support (cat: mail) 2013-09-20 19:59:12 +00:00
Andrej Zverev
d6908e9cb1 - convert to the new perl5 framework
- convert USE_GMAKE to Uses

Approved by:	portmgr (bapt@, blanket)
2013-09-15 08:15:41 +00:00
Guido Falsi
642be1b81d - Make ports use the libc provided iconv implementation on 10-CURRENT
after r254273
- Fix a bunch of ports to properly work after this
- Mark converters/libiconv as IGNORE for systems with iconv in libc

Reviewed by:	bapt
Approved by:	portmgr (bapt)
Discussed with:	bapt, bsam (who both contributed ideas and code)
2013-09-04 18:06:07 +00:00
Brendan Fabeny
6c4fa199d0 Update math/gsl to 1.16 and adjust some dependent ports 2013-08-26 16:06:37 +00:00
Matthias Andree
93117d09c7 Cleanup. 2013-07-29 21:29:23 +00:00
Matthias Andree
115c083f30 Update LIB_DEPENDS for gsl to new format. 2013-07-29 20:57:12 +00:00
Ade Lovett
e4d968507a Couple of missed patches from recent automake update. 2013-07-16 20:10:08 +00:00
Ade Lovett
b3b33257e5 - Update devel/automake to 1.14
- Update devel/gettext to 0.18.3
- Fix known-broken (from exp-runs) ports
- Clean up a lot of cruft in the devel/gettext port itself,
  based on work from tijl@

PR:		178883
Submitted by:	ade
Sponsored by:	Wadsworth 6X
2013-07-16 05:42:36 +00:00
Matthias Andree
cb902163f1 Update to new upstream release 1.2.4 which basically only contained what
patches we hade in the 1.2.3 port.
2013-07-04 06:37:48 +00:00
Matthias Andree
0d5d668fd7 Fix read-from-NULL-pointer crashes when command line option arguments
are missing from long options --syslog-tag, --timestamp-date, or
--db-cachesize (the short option equivalents were unaffected); or when
BOGODIR/BOGOFILTER_HOME/HOME environment variables are all three
missing when running bogotune. (This is all under the invoking user's
control and not believed to be security relevant.)

Reported by Alexandre Rebert, found within the Mayhem project he is with.

Obtained from:	http://svn.code.sf.net/p/bogofilter/code/trunk
2013-07-01 06:26:49 +00:00
Matthias Andree
851e890049 Pull in patch from SVN in an attempt to fix flex-related -CURRENT build issues.
While here, fix bogofilter slave port's Makefile banners.
2013-06-12 07:41:34 +00:00
Bryan Drewery
db556054bc - Fix build after USES=iconv conversion in r316662,
USES must be defined before bsd.port.pre.mk

Reported by:	John Marino <draco@marino.st>
2013-05-09 12:06:38 +00:00
Marcus von Appen
a3a0715f38 - Convert USE_ICONV=yes to USES=iconv
- Change USE_GNOME=pkgconfig|gnomehack to USES=pathfix|pkgconfig while here

Reviewed by:	zeising
2013-04-27 11:59:28 +00:00
Matthias Andree
aebb6a388f - remove three self-tests again, two because they were meant to be
disabled due to timings on the package builders,
  one (t.abort) because it fails on pointyhat.

Submitted by:	miwi
2013-03-21 20:27:32 +00:00
Matthias Andree
f9a2030bc9 Convert to Options NG.
Clean up Makefile header.
2013-01-06 11:13:13 +00:00
Matthias Andree
d8c09eec63 Update bogofilter to new upstream release 1.2.3.
Security update to fix a heap corruption bug with invalid base64 input,
reported and fixed by Julius Plenz, FU Berlin, Germany.

Feature safe:   yes
Security:       CVE-2012-5468
Security:       f524d8e0-3d83-11e2-807a-080027ef73ec
2012-12-03 20:16:21 +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
Matthias Andree
d2b93068f0 Demote CONFLICTS to CONFLICTS_INSTALL.
Bump PORTREVISION on slave ports to pull in master port bugfix for trainbogo.sh.
2011-08-31 10:32:13 +00:00
Matthias Andree
fa640c6e9b Fix contrib/trainbogo.sh to use md5 rather than md5sum.
Reported by: RW

Split CPPFLAGS from CONFIGURE_ENV.
Reported by: portlint
2011-08-31 10:19:57 +00:00
Olli Hauer
c5284f2b4e - remove MD5 2011-07-03 13:53:52 +00:00
Brendan Fabeny
4fd0a4b1c1 Update math/gsl to 1.15, and adjust PORTREVISION
and LIB_DEPENDS of dependent ports
2011-05-09 16:42:27 +00:00
Ade Lovett
4a8684e352 Sync to new bsd.autotools.mk 2010-12-04 07:34:27 +00:00
Ade Lovett
6abd00a86b Punt autoconf267->autoconf268 2010-10-16 11:52:47 +00:00
Ade Lovett
7e80cde328 Round one migration of ports from automake{19,110} to automake111 2010-10-05 19:57:56 +00:00
Ade Lovett
8262a7b51d Autotools update. Read ports/UPDATING 20100915 for details.
Approved by:	portmgr (for Mk/bsd.port.mk part)
Tested by:	Multiple -exp runs
2010-09-15 18:35:24 +00:00
Matthias Andree
ca56b9fa53 Update to new upstream version 1.2.2. Remove now-obsolete patch. 2010-07-19 22:43:21 +00:00
Matthias Andree
abd3050dfb Fix crash in base64 decoder. Pending CVE assignment from oss-security@.
Also pending vulndb entry.

Approved by:  garga (mentor, implicit)
Feature safe: yes
2010-07-06 09:03:44 +00:00
Wen Heping
6905d4a0d8 - Bump PORTREVISION to chase the update of math/gsl 2010-03-29 01:12:27 +00:00
Matthias Andree
f3ce4983d6 Update to new upstream release 1.2.1.
Submitted by: lwhsu@
PR:           ports/141417
Approved by:  garga@ (mentor)
2010-01-07 15:17:59 +00:00
Max Brazhnikov
7cb3294da7 Chase math/gsl update,
bump PORTREVISION
2009-12-01 20:33:45 +00:00
Dmitry Marakasov
a13d9a603d - Switch SourceForge ports to the new File Release System: categories starting with M 2009-08-22 00:28:34 +00:00
Mark Linimon
93c7eadf59 Mark as broken on sparc64: fails self-tests.
Hat:		portmgr
2009-08-16 04:32:24 +00:00
Martin Wilke
3fcd9d1387 Update to late May SVN snapshot to
- Fix quoted-printable decoding in the presence of excess CR characters
  (continuation lines)
- Fix parallel build by removing two files that were accidentally shipped

PR:		135149
Submitted by:	Matthias Andree <matthias.andree@gmx.de> (maintainer)
2009-06-02 21:43:10 +00:00
Mark Linimon
cd2de3d556 Mark as broken on sparc64: fails self-tests. 2009-05-29 04:26:22 +00:00
Philip M. Gollucci
fddc819e25 - Update to 1.4.20
- Bump PORTREVISION for SHLIB bump

PR:             ports/134596
Submitted by:   lwshu
2009-05-17 06:35:19 +00:00
Martin Wilke
2961515b93 - Update to 1.2.0, resetting PORTREVISION where set.
- use bsd.database.mk framework (USE_BDB/USE_SQLITE)
- set MAKE_JOBS_SAFE for parallel builds

PR:		134323
Submitted by:	Matthias Andree <matthias.andree@gmx.de> (maintainer)
2009-05-13 08:49:43 +00:00
Philip M. Gollucci
2b72de428f - Update to 4.1.16
- Bump PORTREVISION for SHLIB bump
2009-04-25 00:34:39 +00:00
Mark Linimon
2e408b73ec Mark bogofilter and slave ports as broken on sparc64: coredump while
installing.
2009-02-03 06:16:40 +00:00
Martin Wilke
3381619583 - Chase gsl shlib bump 2009-01-12 20:37:24 +00:00
Martin Wilke
f2ad124582 - Set CONFLICT with mail/bogofilter-tc.
PR:		127039
Submitted by:	Matthias Andree <matthias.andree@gmx.de> (maintainer)
2009-01-08 16:00:18 +00:00
Rong-En Fan
741aa71483 Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.

To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.

To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.

Changes to Mk/*:
 - Add runtime detection magic in bsd.port.mk
 - Remove CONFIGURE_TARGET hack in various bsd.*.mk
 - USE_GNOME=gnometarget is now an no-op

Changes to individual ports, other than removing the CONFIGURE_TARGET hack:

= pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables)
  - comms/gnuradio
  - science/abinit
  - science/elmer-fem
  - science/elmer-matc
  - science/elmer-meshgen2d
  - science/elmerfront
  - science/elmerpost

= use x86_64 as ARCH
  - devel/g-wrap

= other changes
  - print/magicfilter
    GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf

Total # of ports modified:  1,027
Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes)

PR:		126524 (obsoletes 52917)
Submitted by:	rafan
Tested on:	two pointyhat 7-amd64 exp runs (by pav)
Approved by:	portmgr (pav)
2008-08-21 06:18:49 +00:00
Ion-Mihai Tetcu
a0d0239042 - update to 1.1.7 [1]
- use SF macro [2]

PR:		ports/123420 [1]
Submitted by:	maintainer [1], itetcu@ (me) [2]
2008-05-06 22:21:00 +00:00
Philippe Audeoud
d369e5c287 - Chase the gsl shared lib bump.
Approved by:	thierry (mentor)
2008-04-08 13:53:22 +00:00