From: Michael Tremer <michael.tremer@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH 50/62] libnfsidmap: Split into a separate package
Date: Sun, 16 Aug 2020 10:29:41 +0000 [thread overview]
Message-ID: <20200816102953.3881-50-michael.tremer@ipfire.org> (raw)
In-Reply-To: <20200816102953.3881-1-michael.tremer@ipfire.org>
[-- Attachment #1: Type: text/plain, Size: 4998 bytes --]
Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
---
config/rootfiles/packages/libnfsidmap | 15 +++++
lfs/libnfsidmap | 88 +++++++++++++++++++++++++++
make.sh | 1 +
3 files changed, 104 insertions(+)
create mode 100644 config/rootfiles/packages/libnfsidmap
create mode 100644 lfs/libnfsidmap
diff --git a/config/rootfiles/packages/libnfsidmap b/config/rootfiles/packages/libnfsidmap
new file mode 100644
index 000000000..0c9d3ab12
--- /dev/null
+++ b/config/rootfiles/packages/libnfsidmap
@@ -0,0 +1,15 @@
+#usr/include/nfsidmap.h
+#usr/lib/libnfsidmap
+#usr/lib/libnfsidmap.la
+#usr/lib/libnfsidmap.so
+usr/lib/libnfsidmap.so.0
+usr/lib/libnfsidmap.so.0.3.0
+#usr/lib/libnfsidmap/nsswitch.la
+usr/lib/libnfsidmap/nsswitch.so
+#usr/lib/libnfsidmap/static.la
+usr/lib/libnfsidmap/static.so
+#usr/lib/libnfsidmap/umich_ldap.la
+usr/lib/libnfsidmap/umich_ldap.so
+#usr/lib/pkgconfig/libnfsidmap.pc
+#usr/share/man/man3/nfs4_uid_to_name.3
+#usr/share/man/man5/idmapd.conf.5
diff --git a/lfs/libnfsidmap b/lfs/libnfsidmap
new file mode 100644
index 000000000..d0fd46355
--- /dev/null
+++ b/lfs/libnfsidmap
@@ -0,0 +1,88 @@
+###############################################################################
+# #
+# IPFire.org - A linux based firewall #
+# Copyright (C) 2007-2018 IPFire Team <info(a)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 = 0.26
+
+THISAPP = libnfsidmap-$(VER)
+DL_FILE = $(THISAPP).tar.bz2
+DL_FROM = $(URL_IPFIRE)
+DIR_APP = $(DIR_SRC)/$(THISAPP)
+TARGET = $(DIR_INFO)/$(THISAPP)
+PROG = libnfsidmap
+PAK_VER = 1
+
+#CFLAGS += -I/usr/include/tirpc
+
+###############################################################################
+# Top-level Rules
+###############################################################################
+
+objects = $(DL_FILE)
+
+$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
+
+$(DL_FILE)_MD5 = 2c0cf0e2b1665d51fa9a783679494888
+
+install : $(TARGET)
+
+check : $(patsubst %,$(DIR_CHK)/%,$(objects))
+
+download :$(patsubst %,$(DIR_DL)/%,$(objects))
+
+md5 : $(subst %,%_MD5,$(objects))
+
+dist:
+ @$(PAK)
+
+###############################################################################
+# Downloading, checking, md5sum
+###############################################################################
+
+$(patsubst %,$(DIR_CHK)/%,$(objects)) :
+ @$(CHECK)
+
+$(patsubst %,$(DIR_DL)/%,$(objects)) :
+ @$(LOAD)
+
+$(subst %,%_MD5,$(objects)) :
+ @$(MD5)
+
+###############################################################################
+# 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) && ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --disable-static
+ cd $(DIR_APP) && make $(MAKETUNING)
+ cd $(DIR_APP) && make install
+ @rm -rf $(DIR_APP)
+ @$(POSTBUILD)
diff --git a/make.sh b/make.sh
index 9ec868670..0f3917adf 100755
--- a/make.sh
+++ b/make.sh
@@ -1437,6 +1437,7 @@ buildipfire() {
lfsmake2 rpcbind
lfsmake2 keyutils
lfsmake2 rpcsvc-proto
+ lfsmake2 libnfsidmap
lfsmake2 nfs
lfsmake2 gnu-netcat
lfsmake2 ncat
--
2.20.1
next prev parent reply other threads:[~2020-08-16 10:29 UTC|newest]
Thread overview: 61+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-16 10:28 [PATCH 01/62] bison: Update to 3.7.1 Michael Tremer
2020-08-16 10:28 ` [PATCH 02/62] minicom: Update to 2.7.1 Michael Tremer
2020-08-16 10:28 ` [PATCH 03/62] fping: Update to 5.0 Michael Tremer
2020-08-16 10:28 ` [PATCH 04/62] xfsprogs: Update to 5.7.0 Michael Tremer
2020-08-16 10:28 ` [PATCH 05/62] lsof: Update to 4.91 Michael Tremer
2020-08-16 10:28 ` [PATCH 06/62] dnsdist: Update to 1.5.0 Michael Tremer
2020-08-16 10:28 ` [PATCH 07/62] spandsp: Update to 0.0.6 Michael Tremer
2020-08-16 10:28 ` [PATCH 08/62] watchdog: Update to 5.16 Michael Tremer
2020-08-16 10:29 ` [PATCH 09/62] cpio: Package won't build with GCC 10 without -fcommon Michael Tremer
2020-08-16 10:29 ` [PATCH 10/62] dhcp: Fix compiling with GCC 10 Michael Tremer
2020-08-16 10:29 ` [PATCH 11/62] efivar: Fix build " Michael Tremer
2020-08-16 10:29 ` [PATCH 12/62] linux-atm: " Michael Tremer
2020-08-16 10:29 ` [PATCH 13/62] gnupg: Fix building " Michael Tremer
2020-08-16 10:29 ` [PATCH 14/62] cdrkit: Fix build " Michael Tremer
2020-08-16 10:29 ` [PATCH 15/62] logrotate: " Michael Tremer
2020-08-16 10:29 ` [PATCH 16/62] libtirpc: " Michael Tremer
2020-08-16 10:29 ` [PATCH 17/62] sysfsutils: " Michael Tremer
2020-08-16 10:29 ` [PATCH 18/62] cups-filters: " Michael Tremer
2020-08-16 10:29 ` [PATCH 19/62] foomatic: " Michael Tremer
2020-08-16 10:29 ` [PATCH 20/62] htop: " Michael Tremer
2020-08-16 10:29 ` [PATCH 21/62] squidguard: " Michael Tremer
2020-08-16 10:29 ` [PATCH 22/62] netatalk: " Michael Tremer
2020-08-16 10:29 ` [PATCH 23/62] 7zip: Fix build against " Michael Tremer
2020-08-16 10:29 ` [PATCH 24/62] collectd: Fix build with " Michael Tremer
2020-08-16 10:29 ` [PATCH 25/62] icinga: " Michael Tremer
2020-08-16 10:29 ` [PATCH 26/62] openvmtools: Update to 11.1.0 Michael Tremer
2020-08-16 10:29 ` [PATCH 27/62] motion: Fix build with GCC 10 Michael Tremer
2020-08-16 10:29 ` [PATCH 28/62] tftpd: " Michael Tremer
2020-08-16 10:29 ` [PATCH 29/62] w_scan: " Michael Tremer
2020-08-16 10:29 ` [PATCH 30/62] minidlna: " Michael Tremer
2020-08-16 10:29 ` [PATCH 31/62] sarg: " Michael Tremer
2020-08-16 10:29 ` [PATCH 32/62] bird: " Michael Tremer
2020-08-16 10:29 ` [PATCH 33/62] frr: " Michael Tremer
2020-08-16 10:29 ` [PATCH 34/62] iftop: " Michael Tremer
2020-08-16 10:29 ` [PATCH 35/62] lcdproc: " Michael Tremer
2020-08-16 10:29 ` [PATCH 36/62] ipfire-netboot: " Michael Tremer
2020-08-16 10:29 ` [PATCH 37/62] syslinux: " Michael Tremer
2020-08-16 10:29 ` [PATCH 38/62] u-boot: " Michael Tremer
2020-08-16 10:29 ` [PATCH 39/62] kbd: Update to 2.2.0 Michael Tremer
2020-08-16 10:29 ` [PATCH 40/62] bacula: Fix build with GCC 10 Michael Tremer
2020-08-16 10:29 ` [PATCH 42/62] make.sh: Remove -mindirect-branch=thunk and -mfunction-return=thunk as default Michael Tremer
2020-08-16 10:29 ` [PATCH 43/62] Update glibc to 2.32 Michael Tremer
2020-08-16 10:29 ` [PATCH 44/62] rpcsvc-proto: New package Michael Tremer
2020-08-16 10:29 ` [PATCH 45/62] Build libtirpc earlier because RPC does not come with glibc any more Michael Tremer
2020-08-16 10:29 ` [PATCH 46/62] python(2/3): Remove nis module Michael Tremer
2020-08-16 10:29 ` [PATCH 47/62] squid: Remove basic_nis_auth Michael Tremer
2020-08-16 10:29 ` [PATCH 48/62] conntrack-tools: Fix build against libtirpc Michael Tremer
2020-08-16 10:29 ` [PATCH 49/62] xinetd: Fix build against glibc 2.32 (without RPC) Michael Tremer
2020-08-16 10:29 ` Michael Tremer [this message]
2020-08-16 10:29 ` [PATCH 51/62] nfs: Update to 2.5.1 and remove bundled libnfsidmap Michael Tremer
2020-08-16 10:29 ` [PATCH 52/62] cmake: Do not limit compile processes to only two Michael Tremer
2020-08-16 10:29 ` [PATCH 53/62] mpfr: Update to 4.1.0 Michael Tremer
2020-08-16 10:29 ` [PATCH 54/62] gcc: Bundle against OS versions of gmp/mpfr Michael Tremer
2020-08-16 10:29 ` [PATCH 55/62] make.sh: Enable -fstack-clash-protection for x86_64/aarch64 Michael Tremer
2020-08-16 10:29 ` [PATCH 56/62] make.sh: Add -fcf-protection for x86_64/i586 Michael Tremer
2020-08-16 10:29 ` [PATCH 57/62] make.sh: Bump toolchain version Michael Tremer
2020-08-16 10:29 ` [PATCH 58/62] glibc: Drop any custom CFLAGS Michael Tremer
2020-08-16 10:29 ` [PATCH 59/62] glibc: Pass -Wno-error=maybe-uninitialized Michael Tremer
2020-08-16 10:29 ` [PATCH 60/62] make: Run autoreconf after applying patches Michael Tremer
2020-08-16 10:29 ` [PATCH 61/62] perl: Fix build in toolchain stage Michael Tremer
2020-08-16 10:29 ` [PATCH 62/62] make.sh: Increase maximum size of ramdisk to 8GB Michael Tremer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200816102953.3881-50-michael.tremer@ipfire.org \
--to=michael.tremer@ipfire.org \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox