From nobody Mon Aug 21 00:23:41 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RTY9p3CqRz4qvkw; Mon, 21 Aug 2023 00:23:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RTY9n740kz4dKP; Mon, 21 Aug 2023 00:23:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692577422; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=V39UOs9BcZTtDcXGMA1hgac2NocH/e7chmsopNKcIfw=; b=SwrVoWcZ9izMwQya0h7Z4A0e75d14aoprzlKrN4JUOlqC1kj1bIqqkGF35o5KHTVVjyI27 OIcCny7s4fp6+DmRP+4s5GrUHJIZT3YjxbQjlAXDR4C929GeHn+VfuzyOT1WAgwMMdITY4 MW4/4uKrp54B27S7iOK0TADfAtSWSNv5i9UHSQdSudIV9+QZmoDC0AOXMOYjVzN1Gu0G2q UsoM1fKtPIOvdufqHHakPLUmtrRmEs8kXjKaMfKYfltLQlZIuIBv+YLnjgFaXnqxL7tTdZ zm3VY4F7uarmuABIBwc9txxJBp5o/7n4t3sqRD5trgX+O5ZihsBGfCtk6MH0TQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692577422; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=V39UOs9BcZTtDcXGMA1hgac2NocH/e7chmsopNKcIfw=; b=bO7I7MuF7HW4TTkvW4+9C/dz9yAzhKoL8Gz1nk7YtT88sgO4yOw6sMTSu2Ut9gJcbCOJKM cEgEnJqXf37q2TUim67NJXRuX9RCjWxDFIFAm80oKZ10G51iTMbv2nHDs0tu+esyAZ3JX/ a/l7WDxm2NTPcbg55/F61DrF6MTQle8JzZxp0/rVBrHQ7u1CdY86MeBwmnoRk8ZrzbJEX3 speHTo06pNknCxZ7d3wqtGsNqR8OUF/r29YtGnZ01fU9XDIyPTaTmRqLT8Dnl4RUs24byO YNX9oPbyWUPIWRuzadabAABTSdpEOgg/Hy5frmqAX2Rrr7Cq13FvEjq5CaiRBA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1692577422; a=rsa-sha256; cv=none; b=AXygRoBGU73xgK8rMvw+J4PGrwEYmJQjdrIdD/wS1IiGK50+I5mK2NfqwoJQdpeSg6rcYF rH3iR+fBE158UvbVc3Y6pLjAdhwCYuOBIf0jMaQsHkb3jfc2Ad28QTQHZuCNgDbBd3Rk/L KBNv/xfnKhF9OEQjSwaPrNbPeT4q0S/7L8NSAc/c+cdNwcHygGyWtT18rnISs95uAiQZ8i E1ukYf8jV7A4C10A1Cdjehmbeyy8/6A0PJf1dk/yeJpQh6CeMt/99YamhfwTXRYM8brr8Y 2Ni8lz5isRgq/WQt3oGxTEISf4J8bQVhIZY3eFDkgFZzzgkQS5hBO8zmd2TS0g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RTY9n67sMz103j; Mon, 21 Aug 2023 00:23:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 37L0NfYq022351; Mon, 21 Aug 2023 00:23:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37L0NfRc022348; Mon, 21 Aug 2023 00:23:41 GMT (envelope-from git) Date: Mon, 21 Aug 2023 00:23:41 GMT Message-Id: <202308210023.37L0NfRc022348@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dan Langille Subject: git: 661403a5a143 - main - sysutils/bacula11-libs3: Add new port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dvl X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 661403a5a14390fa0210f3b0a60c7d8c28cdc43a Auto-Submitted: auto-generated The branch main has been updated by dvl: URL: https://cgit.FreeBSD.org/ports/commit/?id=661403a5a14390fa0210f3b0a60c7d8c28cdc43a commit 661403a5a14390fa0210f3b0a60c7d8c28cdc43a Author: Dan Langille AuthorDate: 2023-08-21 00:21:36 +0000 Commit: Dan Langille CommitDate: 2023-08-21 00:23:38 +0000 sysutils/bacula11-libs3: Add new port This is the bundled S3 library for Bacula ports. According to https://www.bacula.org/source-download-center/, the same libraries are used for both Bacula 11 and Bacula 13. --- sysutils/Makefile | 1 + sysutils/bacula11-libs3/Makefile | 26 ++++++ sysutils/bacula11-libs3/distinfo | 3 + sysutils/bacula11-libs3/files/patch-GNUmakefile | 101 ++++++++++++++++++++++++ sysutils/bacula11-libs3/pkg-descr | 11 +++ sysutils/bacula11-libs3/pkg-plist | 6 ++ 6 files changed, 148 insertions(+) diff --git a/sysutils/Makefile b/sysutils/Makefile index 95fdf00d8e58..237544057f90 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -91,6 +91,7 @@ SUBDIR += bacula11-client SUBDIR += bacula11-client-static SUBDIR += bacula11-docs + SUBDIR += bacula11-libs3 SUBDIR += bacula11-server SUBDIR += bacula13-client SUBDIR += bacula13-client-static diff --git a/sysutils/bacula11-libs3/Makefile b/sysutils/bacula11-libs3/Makefile new file mode 100644 index 000000000000..3b0f220a9d64 --- /dev/null +++ b/sysutils/bacula11-libs3/Makefile @@ -0,0 +1,26 @@ +PORTNAME= bacula11-libs3 +PORTVERSION= 20200523 +CATEGORIES= sysutils +MASTER_SITES= https://www.bacula.org/downloads/ +DISTNAME= libs3-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX} + +MAINTAINER= ml@netfence.it +COMMENT= Bacula libs3 +WWW= https://www.bacula.org/ + +LICENSE= LGPL3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS+= libcurl.so:ftp/curl + +MAKEFILE= GNUmakefile +MAKE_ARGS= MYDESTDIR=${STAGEDIR}/${PREFIX} \ + MYINSTALL=install +USES= compiler:gcc-c++11-lib gmake gnome ssl +USE_GNOME+= libxml2 + +post-install: + ${STRIP_CMD} ${STAGEDIR}/${PREFIX}/bin/s3 + ${STRIP_CMD} ${STAGEDIR}/${PREFIX}/lib/libs3.so.4.1.bac + +.include diff --git a/sysutils/bacula11-libs3/distinfo b/sysutils/bacula11-libs3/distinfo new file mode 100644 index 000000000000..594911721d3b --- /dev/null +++ b/sysutils/bacula11-libs3/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1631776465 +SHA256 (libs3-20200523.tar.gz) = a604df5c4c95994a41f14f156b624a6ab87ec71b8320e9bbc7af1a664817812f +SIZE (libs3-20200523.tar.gz) = 117367 diff --git a/sysutils/bacula11-libs3/files/patch-GNUmakefile b/sysutils/bacula11-libs3/files/patch-GNUmakefile new file mode 100644 index 000000000000..c96a7ec2ccaf --- /dev/null +++ b/sysutils/bacula11-libs3/files/patch-GNUmakefile @@ -0,0 +1,101 @@ +--- GNUmakefile.orig 2020-05-23 16:23:54 UTC ++++ GNUmakefile +@@ -83,15 +83,15 @@ endif + + + # -------------------------------------------------------------------------- +-# DESTDIR directory +-ifndef DESTDIR +- DESTDIR := /usr ++# MYDESTDIR directory ++ifndef MYDESTDIR ++ MYDESTDIR := /usr + endif + + # -------------------------------------------------------------------------- + # LIBDIR directory + ifndef LIBDIR +- LIBDIR := ${DESTDIR}/lib ++ LIBDIR := ${MYDESTDIR}/lib + endif + + # -------------------------------------------------------------------------- +@@ -149,7 +149,7 @@ CFLAGS += -Wall -Werror -Wshadow -Wextra -Wno-format-t + LDFLAGS = $(CURL_LIBS) $(LIBXML2_LIBS) $(OPENSSL_LIBS) -lpthread + + STRIP ?= strip +-INSTALL := install --strip-program=$(STRIP) ++MYINSTALL := install --strip-program=$(STRIP) + + + # -------------------------------------------------------------------------- +@@ -171,12 +171,12 @@ exported: libs3 s3 headers + + .PHONY: install + install: exported +- $(QUIET_ECHO) $(DESTDIR)/bin/s3: Installing executable +- $(VERBOSE_SHOW) $(INSTALL) -Dps -m u+rwx,go+rx $(BUILD)/bin/s3 \ +- $(DESTDIR)/bin/s3 ++ $(QUIET_ECHO) $(MYDESTDIR)/bin/s3: Installing executable ++ $(VERBOSE_SHOW) $(MYINSTALL) -Dps -m u+rwx,go+rx $(BUILD)/bin/s3 \ ++ $(MYDESTDIR)/bin/s3 + $(QUIET_ECHO) \ + $(LIBDIR)/libs3.so.$(LIBS3_VER): Installing shared library +- $(VERBOSE_SHOW) $(INSTALL) -Dps -m u+rw,go+r \ ++ $(VERBOSE_SHOW) $(MYINSTALL) -Dps -m u+rw,go+r \ + $(BUILD)/lib/libs3.so.$(LIBS3_VER_MAJOR) \ + $(LIBDIR)/libs3.so.$(LIBS3_VER) + $(QUIET_ECHO) \ +@@ -186,11 +186,11 @@ install: exported + $(QUIET_ECHO) $(LIBDIR)/libs3.so: Linking shared library + $(VERBOSE_SHOW) ln -sf libs3.so.$(LIBS3_VER_MAJOR) $(LIBDIR)/libs3.so + $(QUIET_ECHO) $(LIBDIR)/libs3.a: Installing static library +- $(VERBOSE_SHOW) $(INSTALL) -Dp -m u+rw,go+r $(BUILD)/lib/libs3.a \ ++ $(VERBOSE_SHOW) $(MYINSTALL) -Dp -m u+rw,go+r $(BUILD)/lib/libs3.a \ + $(LIBDIR)/libs3.a +- $(QUIET_ECHO) $(DESTDIR)/include/libs3.h: Installing header +- $(VERBOSE_SHOW) $(INSTALL) -Dp -m u+rw,go+r $(BUILD)/include/libs3.h \ +- $(DESTDIR)/include/libs3.h ++ $(QUIET_ECHO) $(MYDESTDIR)/include/libs3.h: Installing header ++ $(VERBOSE_SHOW) $(MYINSTALL) -Dp -m u+rw,go+r $(BUILD)/include/libs3.h \ ++ $(MYDESTDIR)/include/libs3.h + + + # -------------------------------------------------------------------------- +@@ -200,12 +200,12 @@ install: exported + uninstall: + $(QUIET_ECHO) Installed files: Uninstalling + $(VERBOSE_SHOW) \ +- rm -f $(DESTDIR)/bin/s3 \ +- $(DESTDIR)/include/libs3.h \ +- $(DESTDIR)/lib/libs3.a \ +- $(DESTDIR)/lib/libs3.so \ +- $(DESTDIR)/lib/libs3.so.$(LIBS3_VER_MAJOR) \ +- $(DESTDIR)/lib/libs3.so.$(LIBS3_VER) ++ rm -f $(MYDESTDIR)/bin/s3 \ ++ $(MYDESTDIR)/include/libs3.h \ ++ $(MYDESTDIR)/lib/libs3.a \ ++ $(MYDESTDIR)/lib/libs3.so \ ++ $(MYDESTDIR)/lib/libs3.so.$(LIBS3_VER_MAJOR) \ ++ $(MYDESTDIR)/lib/libs3.so.$(LIBS3_VER) + + + # -------------------------------------------------------------------------- +@@ -338,7 +338,7 @@ $(DEBPKG): exported $(BUILD)/deb/DEBIAN/control $(BUIL + $(BUILD)/deb/usr/share/doc/libs3/changelog.gz \ + $(BUILD)/deb/usr/share/doc/libs3/changelog.Debian.gz \ + $(BUILD)/deb/usr/share/doc/libs3/copyright +- DESTDIR=$(BUILD)/deb/usr $(MAKE) install ++ MYDESTDIR=$(BUILD)/deb/usr $(MAKE) install + rm -rf $(BUILD)/deb/usr/include + rm -f $(BUILD)/deb/usr/lib/libs3.a + @mkdir -p $(dir $@) +@@ -351,7 +351,7 @@ $(DEBDEVPKG): exported $(BUILD)/deb-dev/DEBIAN/control + $(BUILD)/deb-dev/usr/share/doc/libs3-dev/changelog.gz \ + $(BUILD)/deb-dev/usr/share/doc/libs3-dev/changelog.Debian.gz \ + $(BUILD)/deb-dev/usr/share/doc/libs3-dev/copyright +- DESTDIR=$(BUILD)/deb-dev/usr $(MAKE) install ++ MYDESTDIR=$(BUILD)/deb-dev/usr $(MAKE) install + rm -rf $(BUILD)/deb-dev/usr/bin + rm -f $(BUILD)/deb-dev/usr/lib/libs3.so* + @mkdir -p $(dir $@) diff --git a/sysutils/bacula11-libs3/pkg-descr b/sysutils/bacula11-libs3/pkg-descr new file mode 100644 index 000000000000..f0a801978e53 --- /dev/null +++ b/sysutils/bacula11-libs3/pkg-descr @@ -0,0 +1,11 @@ +Bacula is a set of computer programs that permit you (or the system +administrator) to manage backup, recovery, and verification of +computer data across a network of computers of different kinds. +In technical terms, it is a network Client/Server based backup program. +Bacula is relatively easy to use and efficient, while offering many +advanced storage management features that make it easy to find and +recover lost or damaged files. Due to its modular design, Bacula is +scalable from small single computer systems to systems consisting of +hundreds of computers located over a large network. + +This is its bundled S3 library. diff --git a/sysutils/bacula11-libs3/pkg-plist b/sysutils/bacula11-libs3/pkg-plist new file mode 100644 index 000000000000..9a0f6dc8ae97 --- /dev/null +++ b/sysutils/bacula11-libs3/pkg-plist @@ -0,0 +1,6 @@ +include/libs3.h +lib/libs3.a +lib/libs3.so.4 +lib/libs3.so +lib/libs3.so.4.1.bac +bin/s3