]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
New package libtirpc
authorJonatan Schlag <jonatan.schlag@ipfire.org>
Sat, 7 May 2016 14:16:34 +0000 (16:16 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 17 May 2016 13:08:45 +0000 (14:08 +0100)
libtirpc is a dependency of rpcbind

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/rootfiles/packages/libtirpc [new file with mode: 0644]
lfs/libtirpc [new file with mode: 0644]
make.sh

diff --git a/config/rootfiles/packages/libtirpc b/config/rootfiles/packages/libtirpc
new file mode 100644 (file)
index 0000000..e197563
--- /dev/null
@@ -0,0 +1,61 @@
+etc/netconfig
+#usr/include/tirpc
+#usr/include/tirpc/netconfig.h
+#usr/include/tirpc/rpc
+#usr/include/tirpc/rpc/auth.h
+#usr/include/tirpc/rpc/auth_des.h
+#usr/include/tirpc/rpc/auth_unix.h
+#usr/include/tirpc/rpc/clnt.h
+#usr/include/tirpc/rpc/clnt_soc.h
+#usr/include/tirpc/rpc/clnt_stat.h
+#usr/include/tirpc/rpc/des.h
+#usr/include/tirpc/rpc/des_crypt.h
+#usr/include/tirpc/rpc/key_prot.h
+#usr/include/tirpc/rpc/nettype.h
+#usr/include/tirpc/rpc/pmap_clnt.h
+#usr/include/tirpc/rpc/pmap_prot.h
+#usr/include/tirpc/rpc/pmap_rmt.h
+#usr/include/tirpc/rpc/raw.h
+#usr/include/tirpc/rpc/rpc.h
+#usr/include/tirpc/rpc/rpc_com.h
+#usr/include/tirpc/rpc/rpc_msg.h
+#usr/include/tirpc/rpc/rpcb_clnt.h
+#usr/include/tirpc/rpc/rpcb_prot.h
+#usr/include/tirpc/rpc/rpcb_prot.x
+#usr/include/tirpc/rpc/rpcent.h
+#usr/include/tirpc/rpc/svc.h
+#usr/include/tirpc/rpc/svc_auth.h
+#usr/include/tirpc/rpc/svc_dg.h
+#usr/include/tirpc/rpc/svc_mt.h
+#usr/include/tirpc/rpc/svc_soc.h
+#usr/include/tirpc/rpc/types.h
+#usr/include/tirpc/rpc/xdr.h
+#usr/include/tirpc/rpcsvc
+#usr/include/tirpc/rpcsvc/crypt.h
+#usr/include/tirpc/rpcsvc/crypt.x
+#usr/lib/libtirpc.a
+#usr/lib/libtirpc.la
+#usr/lib/libtirpc.so
+usr/lib/libtirpc.so.3
+usr/lib/libtirpc.so.3.0.0
+#usr/lib/pkgconfig/libtirpc.pc
+#usr/share/man/man3/bindresvport.3t
+#usr/share/man/man3/des_crypt.3t
+#usr/share/man/man3/getnetconfig.3t
+#usr/share/man/man3/getnetpath.3t
+#usr/share/man/man3/getrpcent.3t
+#usr/share/man/man3/getrpcport.3t
+#usr/share/man/man3/rpc.3t
+#usr/share/man/man3/rpc_clnt_auth.3t
+#usr/share/man/man3/rpc_clnt_calls.3t
+#usr/share/man/man3/rpc_clnt_create.3t
+#usr/share/man/man3/rpc_secure.3t
+#usr/share/man/man3/rpc_soc.3t
+#usr/share/man/man3/rpc_svc_calls.3t
+#usr/share/man/man3/rpc_svc_create.3t
+#usr/share/man/man3/rpc_svc_err.3t
+#usr/share/man/man3/rpc_svc_reg.3t
+#usr/share/man/man3/rpc_xdr.3t
+#usr/share/man/man3/rpcbind.3t
+#usr/share/man/man3/rtime.3t
+#usr/share/man/man5/netconfig.5
diff --git a/lfs/libtirpc b/lfs/libtirpc
new file mode 100644 (file)
index 0000000..382d7e5
--- /dev/null
@@ -0,0 +1,84 @@
+###############################################################################
+#                                                                             #
+# IPFire.org - A linux based firewall                                         #
+# Copyright (C) 2016 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        = 1.0.1
+
+THISAPP    = libtirpc-$(VER)
+DL_FILE    = $(THISAPP).tar.bz2
+DL_FROM    = $(URL_IPFIRE)
+DIR_APP    = $(DIR_SRC)/$(THISAPP)
+TARGET     = $(DIR_INFO)/$(THISAPP)
+PROG       = libtirpc
+PAK_VER    = 1
+
+DEPS       = ""
+
+###############################################################################
+# Top-level Rules
+###############################################################################
+
+objects = $(DL_FILE)
+
+$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
+
+$(DL_FILE)_MD5 = 36ce1c0ff80863bb0839d54aa0b94014
+
+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 jxf $(DIR_DL)/$(DL_FILE)
+       cd $(DIR_APP) && ./configure --prefix=/usr --sysconfdir=/etc --disable-gssapi --disable-ipv6
+       cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE)
+       cd $(DIR_APP) && make install
+       @rm -rf $(DIR_APP)
+       @$(POSTBUILD)
diff --git a/make.sh b/make.sh
index fee4edd824721e41b9454ea83b9d789e6f987057..6219f290a7564bb9af9b6e1c4441be092204e937 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -678,6 +678,7 @@ buildipfire() {
   ipfiremake tcpwrapper
   ipfiremake libevent
   ipfiremake libevent2
+  ipfiremake libtirpc
   ipfiremake portmap
   ipfiremake nfs
   ipfiremake gnu-netcat