freebsd-ports/ftp/linux-f10-curl/Makefile
Johannes Jost Meixner 05317facbe Update CentOS base to 6.5, add userland ports
The Fedora 10 infrastructure ports have been in use since June 2009 and, while
having served a great deed, have become unsupported upstream and hence affected
by unfixed security vulnerabilities. In addition to that, many recent Linux
binaries need newer libc / stdlibc++ versions.

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

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

    OVERRIDE_LINUX_BASE_PORT=c6
    OVERRIDE_LINUX_NONBASE_PORTS=c6

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

    compat.linux.osrelease=2.6.18

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

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

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

PR:		186820
Differential Revision:	https://reviews.freebsd.org/D793
Reviewed by:	allanjude, antoine, bapt, rene
Approved by:	portmgr (antoine, bapt)
Approved by:	koobs (mentor)
Sponsored by:	Perceivon Hosting Inc.
2014-09-22 10:40:00 +00:00

36 lines
1 KiB
Makefile

# Created by: bsam
# $FreeBSD$
PORTNAME= curl
PORTVERSION= 7.19.6
PORTREVISION= 1
CATEGORIES= ftp linux
MASTER_SITES= CRITICAL/rpm/${LINUX_RPM_ARCH}/fedora/${LINUX_DIST_VER}
DISTFILES= curl-${PORTVERSION}-${RPMVERSION}.i386.rpm \
libcurl-${PORTVERSION}-${RPMVERSION}.i386.rpm
MAINTAINER= emulation@FreeBSD.org
COMMENT= Command line tool for transferring files with URL syntax (Linux Fedora 10)
CONFLICTS= linux-curl-[0-9]* linux-f8-curl-[0-9]*
USE_LINUX= f10
USE_LINUX_RPM= yes
USE_LINUX_APPS= cyrus-sasl2 openldap
RPMVERSION= 2.fc10
USE_LDCONFIG= yes
BRANDELF_FILES= usr/bin/curl
DESCR= ${.CURDIR}/../${PORTNAME}/pkg-descr
PLIST_FILES= usr/bin/curl usr/lib/libcurl.so.4 usr/lib/libcurl.so.4.1.1 \
usr/share/man/man1/curl.1.gz
DOCSDIR= usr/share/doc/${PORTNAME}-${PORTVERSION}
PORTDOCS= BUGS COPYING FEATURES README TODO CHANGES FAQ MANUAL RESOURCES TheArtOfHttpScripting
.if defined(PACKAGE_BUILDING)
SRC_DISTFILES= curl-${PORTVERSION}-${RPMVERSION}.src.rpm
ALWAYS_KEEP_DISTFILES= YES
.endif
.include <bsd.port.mk>