git: 13ef8134efd1 - main - pkgbase: Create a FreeBSD-fetch package
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Dec 2021 09:18:11 UTC
The branch main has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=13ef8134efd1c0a39c2dab0197b5c4558101253e commit 13ef8134efd1c0a39c2dab0197b5c4558101253e Author: Emmanuel Vadot <manu@FreeBSD.org> AuthorDate: 2021-12-15 11:00:47 +0000 Commit: Emmanuel Vadot <manu@FreeBSD.org> CommitDate: 2021-12-21 09:17:46 +0000 pkgbase: Create a FreeBSD-fetch package It's useful for small image to fetch some data but we don't want to install utilities nor bloat runtime. MFC after: 2 weeks Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D33463 --- lib/libfetch/Makefile | 2 ++ release/packages/Makefile.package | 2 ++ usr.bin/fetch/Makefile | 1 + 3 files changed, 5 insertions(+) diff --git a/lib/libfetch/Makefile b/lib/libfetch/Makefile index 99c4ceea9dd9..607ff6e05c5e 100644 --- a/lib/libfetch/Makefile +++ b/lib/libfetch/Makefile @@ -2,6 +2,8 @@ .include <src.opts.mk> +PACKAGE= fetch + LIB= fetch CFLAGS+= -I. SRCS= fetch.c common.c ftp.c http.c file.c \ diff --git a/release/packages/Makefile.package b/release/packages/Makefile.package index 2f90307cfda2..fbad12dd56f4 100644 --- a/release/packages/Makefile.package +++ b/release/packages/Makefile.package @@ -44,6 +44,8 @@ ee_COMMENT= Easy Editor Utilities ee_DESC= Easy Editor Utilities efi-tools_COMMENT= UEFI Utilities efi-tools_DESC= UEFI Utilities +fetch_COMMENT= Fetch Utility +fetch_DESC= Fetch Utility ftp_COMMENT= FTP Utilities ftp_DESC= FTP Utilities ftpd_COMMENT= FTP Daemon diff --git a/usr.bin/fetch/Makefile b/usr.bin/fetch/Makefile index 1c2ea1d78595..37ddb7393904 100644 --- a/usr.bin/fetch/Makefile +++ b/usr.bin/fetch/Makefile @@ -1,5 +1,6 @@ # $FreeBSD$ +PACKAGE= fetch PROG= fetch LIBADD= fetch