mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
btrfs-progs: New package
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org> Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
committed by
Arne Fitzenreiter
parent
4f6f5e6844
commit
09bb459edb
33
config/rootfiles/common/btrfs-progs
Normal file
33
config/rootfiles/common/btrfs-progs
Normal file
@@ -0,0 +1,33 @@
|
||||
lib/udev/rules.d/64-btrfs-dm.rules
|
||||
lib/udev/rules.d/64-btrfs-zoned.rules
|
||||
usr/bin/btrfs
|
||||
usr/bin/btrfs-convert
|
||||
usr/bin/btrfs-find-root
|
||||
usr/bin/btrfs-image
|
||||
usr/bin/btrfs-map-logical
|
||||
usr/bin/btrfs-select-super
|
||||
usr/bin/btrfsck
|
||||
usr/bin/btrfstune
|
||||
usr/bin/fsck.btrfs
|
||||
usr/bin/mkfs.btrfs
|
||||
#usr/include/btrfs
|
||||
#usr/include/btrfs/ctree.h
|
||||
#usr/include/btrfs/ioctl.h
|
||||
#usr/include/btrfs/kerncompat.h
|
||||
#usr/include/btrfs/list.h
|
||||
#usr/include/btrfs/rbtree.h
|
||||
#usr/include/btrfs/rbtree_types.h
|
||||
#usr/include/btrfs/send-stream.h
|
||||
#usr/include/btrfs/send-utils.h
|
||||
#usr/include/btrfs/send.h
|
||||
#usr/include/btrfs/version.h
|
||||
#usr/include/btrfsutil.h
|
||||
#usr/lib/libbtrfs.a
|
||||
#usr/lib/libbtrfs.so
|
||||
usr/lib/libbtrfs.so.0
|
||||
usr/lib/libbtrfs.so.0.1
|
||||
#usr/lib/libbtrfsutil.a
|
||||
#usr/lib/libbtrfsutil.so
|
||||
usr/lib/libbtrfsutil.so.1
|
||||
usr/lib/libbtrfsutil.so.1.2.0
|
||||
#usr/lib/pkgconfig/libbtrfsutil.pc
|
||||
85
lfs/btrfs-progs
Normal file
85
lfs/btrfs-progs
Normal file
@@ -0,0 +1,85 @@
|
||||
###############################################################################
|
||||
# #
|
||||
# IPFire.org - A linux based firewall #
|
||||
# Copyright (C) 2007-2023 IPFire Team <info@ipfire.org> #
|
||||
# #
|
||||
# This program is free software: you can redistribute it and/or modify #
|
||||
# it under the terms of the GNU General Public License as published by #
|
||||
# the Free Software Foundation, either version 3 of the License, or #
|
||||
# (at your option) any later version. #
|
||||
# #
|
||||
# This program is distributed in the hope that it will be useful, #
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
|
||||
# GNU General Public License for more details. #
|
||||
# #
|
||||
# You should have received a copy of the GNU General Public License #
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
|
||||
# #
|
||||
###############################################################################
|
||||
|
||||
###############################################################################
|
||||
# Definitions
|
||||
###############################################################################
|
||||
|
||||
include Config
|
||||
|
||||
VER = 6.7.1
|
||||
|
||||
THISAPP = btrfs-progs-v$(VER)
|
||||
DL_FILE = $(THISAPP).tar.xz
|
||||
DL_FROM = $(URL_IPFIRE)
|
||||
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
|
||||
###############################################################################
|
||||
# Top-level Rules
|
||||
###############################################################################
|
||||
|
||||
objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_BLAKE2 = 4e05e9dd80e5531425490970318389aef280f61cc636a80aa2bbc630399afd4f1f3ce649d194822ff93ff4b1774d65a504e3bed6f1426ff60830e4c0d0ac87b0
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
|
||||
|
||||
download :$(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
|
||||
b2 : $(subst %,%_BLAKE2,$(objects))
|
||||
|
||||
dist:
|
||||
@$(PAK)
|
||||
|
||||
###############################################################################
|
||||
# Downloading, checking, b2sum
|
||||
###############################################################################
|
||||
|
||||
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
|
||||
@$(CHECK)
|
||||
|
||||
$(patsubst %,$(DIR_DL)/%,$(objects)) :
|
||||
@$(LOAD)
|
||||
|
||||
$(subst %,%_BLAKE2,$(objects)) :
|
||||
@$(B2SUM)
|
||||
|
||||
###############################################################################
|
||||
# Installation Details
|
||||
###############################################################################
|
||||
|
||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
@$(PREBUILD)
|
||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
|
||||
$(UPDATE_AUTOMAKE)
|
||||
cd $(DIR_APP) && ./autogen.sh
|
||||
cd $(DIR_APP) && ./configure \
|
||||
--prefix=/usr \
|
||||
--disable-documentation \
|
||||
--disable-python
|
||||
cd $(DIR_APP) && make $(MAKETUNING)
|
||||
cd $(DIR_APP) && make install
|
||||
@rm -rf $(DIR_APP)
|
||||
@$(POSTBUILD)
|
||||
Reference in New Issue
Block a user