1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
Commit Graph

88 Commits

Author SHA1 Message Date
Baptiste Daroussin
4e2de50b4d Enforce libarchive from ports 2015-07-19 14:37:20 +00:00
Johan van Selst
7abac1dbfe Add security fix for CVE-2014-8118
PR:		198796
Submitted by:	Sevan Janiyan <venture37@geeklan.co.uk>
Obtained from:	https://bugzilla.redhat.com/show_bug.cgi?id=1168715
MFH:		2015Q1
2015-03-22 18:40:54 +00:00
John Marino
badd7a1eba Add USES=alias to several ports
Alias is a new USES tool that allows DragonFly to masquerade as FreeBSD
by setting CFLAGS+= -D__FreeBSD__.  For some ports, this fixes the build
without the need for additional patches.

Approved by:	portmgr (bapt, blanket)
2014-10-20 08:12:20 +00:00
Baptiste Daroussin
161b92dff7 Clean up plist 2014-10-19 23:12:06 +00:00
Antoine Brodin
41ace001d9 Really unbreak on freebsd 8/9 2014-09-19 19:38:18 +00:00
Johan van Selst
5efdbede94 Remove dbus option, which has no effect
Submitted by:	tijl
2014-09-19 14:20:53 +00:00
Johan van Selst
0b80c90f59 - Use archivers/libarchive for FreeBSD < 10
- Bump portrevision

Submitted by:	John Hein <john.hein@microsemi.com>
2014-09-19 14:08:10 +00:00
Johan van Selst
81a2e90426 - Update to rpm 4.12.0.1
- Add missing dependency
2014-09-19 12:57:27 +00:00
Johan van Selst
f68cf750cc Update to rpm 4.12.0 2014-09-18 10:26:48 +00:00
John Marino
ea3f80e6c0 archivers/rpm4: Fix build (was missing pkg-plist changes due to update)
The upgrade from version 4.11.2 => 4.11.3 required several lines in the
pkg-plist to be changed, but the file wasn't modified.  "Just fix it" now.
BTW, the pkg-plist needs badly to be alphabetized, but I didn't do this.
2014-09-14 11:16:15 +00:00
Johan van Selst
179f774c4c Update to rpm 4.11.3 2014-09-11 20:10:18 +00:00
Dmitry Marakasov
d379ee7cfa Revert unneeded plist changes 2014-08-29 09:55:54 +00:00
Dmitry Marakasov
8b69c817b8 - Fix build by providing LIBS
- Fix plist

Approved by:	portmgr blanket
2014-08-27 20:42:15 +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
Johan van Selst
0d0f056de5 rpm4 does not build if default python is 3.x - force use of python 2.7
PR:		192061
Submitted by:	pi
2014-07-23 12:11:14 +00:00
Tijl Coosemans
c958a48581 Remove two libtool fixes from Mk/Uses/libtool.mk. They don't always work
when an older version of a package is installed.  This is the case when an
executable links with installed libraries and with uninstalled libraries
that link with other uninstalled libraries.  For each of the directly
linked libraries the executable will have an rpath (/usr/local/lib for the
installed libraries and a path under WRKDIR for each of the uninstalled
libraries), but not for the indirect libraries.  Both ld(1) and rtld(1)
search the rpath of the executable first before any rpath of libraries, so
the indirectly linked libraries will be found in /usr/local/lib if they are
installed instead of in WRKDIR.

With this commit executables will overlink with uninstalled indirect
libraries again so their location is added to the rpath of the executable.

This partially reverts r358784.

PR:		191611
Approved by:	portmgr (bapt)
2014-07-23 10:28:03 +00:00
Adam Weinberger
41fcfb64f9 Reduce unnecessary bsd.port.options.mk inclusions by using OPTIONS helpers.
For liborange, reverse the logic, as I'm pretty sure the OPTIONS were being
used to disable the selected options.

Approved by:	portmgr (blanket)
2014-07-03 19:06:07 +00:00
Tijl Coosemans
3e4a806167 Add 4 new sed commands to USES=libtool. The first two apply some of the
changes that Debian made to their libtool.  The first command applies to
libtool versions 1.4 and up.  The second command is somewhat more elaborate
but essentially it uses the sed hold space to move an "elif...fi" block
down.  It applies to 2.x.  Together these reduce overlinking to unpatched
.la files (from ports that don't have USES=libtool yet but also .la files
in the work directory).

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

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

Fix all ports with missing libraries.

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

PR:		190941
Exp-run:	antoine
Approved by:	portmgr (antoine)
2014-06-22 10:44:29 +00:00
Baptiste Daroussin
e836ab008a Replace lang/lua with the new lang/lua51
lang/lua51 is working the same way lang/lua52, chase ports using lua 5.1
Make the default lua lua52
Make all lua ports using USES=lua

Approved by:	portmgr (implicit)
2014-05-26 15:28:28 +00:00
Johan van Selst
8735e22ac3 - Update to rpm 4.11.2
- Minor port clean-ups
2014-02-13 18:12:16 +00:00
Rene Ladan
50f8eaece1 Python cleanup:
- USE_PYTHON* = 2.X -> USE_PYTHON* = 2
- USE_PYTHON* = 2.X+ -> USE_PYTHON* = yes
Reviewed by:	python (mva, rm)
Approved by:	portmgr-lurkers (mat)
2014-01-13 21:00:02 +00:00
Baptiste Daroussin
dd82006981 Fix pkgname conflicts 2014-01-04 00:54:13 +00:00
Johan van Selst
98f95a8549 - Use PKGNAMESUFFIX instead of LATEST_LINK to avoid conflicts
- Enable staging support
- Shebang-fix in installed scripts
- Explicit PORTDOCS file list
- Remove additional patch for old FreeBSD releases

The first part of these changes were committed in r331479
2013-10-24 13:11:04 +00:00
Johan van Selst
7e07f77eb4 update 2013-10-24 11:45:48 +00:00
Baptiste Daroussin
b80ec3e204 Add NO_STAGE all over the place in preparation for the staging support (cat: archivers) 2013-09-20 13:11:20 +00:00
Baptiste Daroussin
ecfa41e79d Convert archivers from USE_GMAKE to USES=gmake
While here:
- Trim headers
- Convert some port to the new perl world
- Convert some port from USE_GNOME=pkgconfig to USES=pkgconfig
2013-08-30 01:02:57 +00:00
Johan van Selst
44fa95635b Update RPM to 4.11.1 2013-07-14 16:10:23 +00:00
Marcus von Appen
821843ca06 - Convert USE_ICONV=yes to USES=iconv
- Change USE_GNOME=pkgconfig|gnomehack to USES=pathfix|pkgconfig while here

Reviewed by:	bapt, kwm
2013-04-27 08:50:46 +00:00
Alex Kozlov
e159824929 - Convert USE_GETTEXT to USES (part 3)
Approved by:	portmgr (bapt)
2013-04-24 18:10:30 +00:00
Johan van Selst
54345369c0 - Update rpm to 4.11.0.1
Release notes: http://rpm.org/wiki/Releases/4.11.0
2013-02-06 17:47:51 +00:00
Johan van Selst
801590780d Shortly after the initial release, a new tarball was uploaded which
includes a small fix that was duplicated already in the FreeBSD port.
- Update checksum and remove patch introduced with the original release

No functional changes.
2012-12-22 12:45:23 +00:00
Johan van Selst
a89bb95f1b - Update rpm 4.10.2
- Trim makefile header
- Update local patch to fix compilation issue
2012-12-09 17:09:40 +00:00
Johan van Selst
053c7b5c57 Update rpm to 4.10.1
Release notes http://rpm.org/wiki/Releases/4.10.1
2012-10-05 15:56:40 +00:00
Johan van Selst
5ceaed7ee7 Fix build on FreeBSD 7.x
Reported by:	pav (pointyhat)
2012-06-17 21:00:21 +00:00
Johan van Selst
bfd38a27c0 - Update rpm to 4.10
http://rpm.org/wiki/Releases/4.10.0
- Remove unneeded library version numbers
- Remove patch file that's no longer relevant
- Register conflict with rpm 5.x
- Convert to new options framework
- Note: shared library version got bumped
2012-06-15 16:22:32 +00:00
Johan van Selst
c14da463da Correct previous commit: now use the real patch,
rather than a patch of the patch to update the port

Reported by:	fluffy
Pointyhat to:	johans
2012-06-01 15:04:16 +00:00
Johan van Selst
51d481d8eb Add patch to fix compilation on CURRENT (10.x)
PR;		ports/168463
Submitted by:	Rodrigo OSORIO <rodrigo@bebik.net>
2012-05-31 21:14:41 +00:00
Johan van Selst
377795f82b Update rpm4 to 4.9.1.3
Feature safe:	yes
2012-04-06 12:58:24 +00:00
Johan van Selst
3f0b8fea95 - Fix plist when python is not selected [1]
- Aggregate variable settings

Reported by:	Peter <pmc@citylink.dinoex.sub.org> [1]
Feature safe:	yes
2011-12-04 16:34:20 +00:00
Johan van Selst
c8144eafb4 Fix conflicting glob_t definitions, which triggered a crash
when importing the rpm4 module in Python.

PR:		ports/162483
Submitted by:	Sean Mitchell <smitchell@hcn-inc.com>
Feature safe:	yes
2011-11-14 21:47:47 +00:00
Martin Wilke
f0306011f3 - Get rid FreeBSD 6.X support 2011-11-06 16:22:23 +00:00
Johan van Selst
177f503bd7 Update to rpm 4.9.1.2 (bugfix release) 2011-10-07 14:33:17 +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
Johan van Selst
b2f06fb4c7 - Fix segmentation faults caused by missing libc function prototypes
Returned pointers could be truncated to (potentially smaller) integers

Reported by:	will (with detailed analysis)
2011-09-15 16:51:00 +00:00
Johan van Selst
9b2ffc7129 Update to rpm 4.9.1.1 (bugfix release) 2011-08-04 21:40:59 +00:00
Johan van Selst
b00ce9fccb Update to rpm 4.9.1 2011-07-16 15:39:13 +00:00
Johan van Selst
4916065e9f Update rpm4 to 4.9.0 2011-06-11 10:59:10 +00:00
Matthias Andree
48eee7cdcb Bump USE_BDB due to impending db45 removal.
Mark db51 invalid (breaks build).
2011-05-23 17:12:24 +00:00
Martin Wilke
65e190c0f0 - Get Rid MD5 support
With hat:	portmgr (myself)
2011-03-18 17:59:50 +00:00
Erwin Lansing
7a46125574 Fix shared lib version of lzma.
Pointy hat:	johans

Submitted by:	pointyhat
2010-12-16 10:35:47 +00:00