From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonatan Schlag To: development@lists.ipfire.org Subject: [PATCH 1/2] New package libtirpc (libtirpc is a dependency of rpcbind) Date: Mon, 25 Apr 2016 17:13:15 +0200 Message-ID: <1461597196-885-2-git-send-email-jonatan.schlag@ipfire.org> In-Reply-To: <1461597196-885-1-git-send-email-jonatan.schlag@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3912988556708468532==" List-Id: --===============3912988556708468532== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Signed-off-by: Jonatan Schlag --- config/rootfiles/packages/libtirpc | 61 +++++++++++++++++++++++++++ lfs/libtirpc | 84 ++++++++++++++++++++++++++++++++++++= ++ 2 files changed, 145 insertions(+) create mode 100644 config/rootfiles/packages/libtirpc create mode 100644 lfs/libtirpc diff --git a/config/rootfiles/packages/libtirpc b/config/rootfiles/packages/l= ibtirpc new file mode 100644 index 0000000..b103329 --- /dev/null +++ b/config/rootfiles/packages/libtirpc @@ -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 index 0000000..3705648 --- /dev/null +++ b/lfs/libtirpc @@ -0,0 +1,84 @@ +############################################################################= ### +# = # +# IPFire.org - A linux based firewall = # +# Copyright (C) 2016 IPFire Team = # +# = # +# 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 . = # +# = # +############################################################################= ### + +############################################################################= ### +# Definitions +############################################################################= ### + +include Config + +VER =3D 1.0.1 + +THISAPP =3D libtirpc-$(VER) +DL_FILE =3D $(THISAPP).tar.bz2 +DL_FROM =3D $(URL_IPFIRE) +DIR_APP =3D $(DIR_SRC)/$(THISAPP) +TARGET =3D $(DIR_INFO)/$(THISAPP) +PROG =3D libtirpc +PAK_VER =3D 1 + +DEPS =3D "" + +############################################################################= ### +# Top-level Rules +############################################################################= ### + +objects =3D $(DL_FILE) + +$(DL_FILE) =3D $(DL_FROM)/$(DL_FILE) + +$(DL_FILE)_MD5 =3D 36ce1c0ff80863bb0839d54aa0b94014 + +install : $(TARGET) + +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) + +download :$(patsubst %,$(DIR_DL)/%,$(objects)) + +md5 : $(subst %,%_MD5,$(objects)) + +dist:=20 + @$(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=3D/usr --sysconfdir=3D/etc --disable-= gssapi --disable-ipv6=20 + cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE) + cd $(DIR_APP) && make install + @rm -rf $(DIR_APP) + @$(POSTBUILD) --=20 2.1.4 --===============3912988556708468532==--