From b4e92650c52a28f97f3bbf5888dbec0b54c0b624 Mon Sep 17 00:00:00 2001 From: Paradigm0001 <46477191+Paradigm0001@users.noreply.github.com> Date: Mon, 23 Aug 2021 06:17:05 +0000 Subject: [PATCH] Upload bees template and patch files --- srcpkgs/bees/patches/sbin-remove.patch | 25 +++++++++++++++++++++ srcpkgs/bees/patches/sbin-remove.patch.args | 1 + srcpkgs/bees/template | 13 +++++++++++ 3 files changed, 39 insertions(+) create mode 100644 srcpkgs/bees/patches/sbin-remove.patch create mode 100644 srcpkgs/bees/patches/sbin-remove.patch.args create mode 100644 srcpkgs/bees/template diff --git a/srcpkgs/bees/patches/sbin-remove.patch b/srcpkgs/bees/patches/sbin-remove.patch new file mode 100644 index 000000000000..0c2077cd2c38 --- /dev/null +++ b/srcpkgs/bees/patches/sbin-remove.patch @@ -0,0 +1,25 @@ +--- Makefile_bak 2021-08-22 22:58:00.224045573 -0700 ++++ Makefile 2021-08-22 23:08:13.971375382 -0700 +@@ -49,18 +49,15 @@ + + scripts: scripts/beesd scripts/beesd@.service + +-install_tools: ## Install support tools + libs +-install_tools: src +- install -Dm755 bin/fiemap $(DESTDIR)$(PREFIX)/bin/fiemap +- install -Dm755 bin/fiewalk $(DESTDIR)$(PREFIX)/sbin/fiewalk +- + install_bees: ## Install bees + libs + install_bees: src $(RUN_INSTALL_TESTS) +- install -Dm755 bin/bees $(DESTDIR)$(LIBEXEC_PREFIX)/bees ++ install -Dm755 bin/bees $(DESTDIR)$(PREFIX)/bin/bees ++ install -Dm755 bin/fiemap $(DESTDIR)$(PREFIX)/bin/fiemap ++ install -Dm755 bin/fiewalk $(DESTDIR)$(PREFIX)/bin/fiewalk + + install_scripts: ## Install scipts + install_scripts: scripts +- install -Dm755 scripts/beesd $(DESTDIR)$(PREFIX)/sbin/beesd ++ install -Dm755 scripts/beesd $(DESTDIR)$(PREFIX)/bin/beesd + install -Dm644 scripts/beesd.conf.sample $(DESTDIR)/$(ETC_PREFIX)/bees/beesd.conf.sample + ifneq ($(SYSTEMD_SYSTEM_UNIT_DIR),) + install -Dm644 scripts/beesd@.service $(DESTDIR)$(SYSTEMD_SYSTEM_UNIT_DIR)/beesd@.service diff --git a/srcpkgs/bees/patches/sbin-remove.patch.args b/srcpkgs/bees/patches/sbin-remove.patch.args new file mode 100644 index 000000000000..f3c7a7c5da68 --- /dev/null +++ b/srcpkgs/bees/patches/sbin-remove.patch.args @@ -0,0 +1 @@ +Makefile diff --git a/srcpkgs/bees/template b/srcpkgs/bees/template new file mode 100644 index 000000000000..c632bb470aa4 --- /dev/null +++ b/srcpkgs/bees/template @@ -0,0 +1,13 @@ +# Template file for 'bees' +pkgname=bees +version=081a6af278fc2b4f33198e2ec0028f8383bb6d4a +revision=1 +build_style=gnu-makefile +makedepends="gcc git discount" +depends="btrfs-progs" +short_desc="Best-Effort Extent-Same, a btrfs deduplication agent" +maintainer="Paradigm " +license="GPL-3.0-or-later" +homepage="https://github.com/Zygo/bees" +distfiles="https://github.com/Zygo/bees/archive/${version}.tar.gz" +checksum=c7251c3b3cf2eec79c35dad93e1bb2d160175c99c35d03e7cd37ae1f8bbb437a