pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
First attempt to add devel/libtirpc to pkgsrc.
Module Name: pkgsrc-wip
Committed By: Alexander Schreiber <als%thangorodrim.de@localhost>
Pushed By: als
Date: Fri Mar 17 22:50:02 2023 +0100
Changeset: 7213a08e639e6d1dc7e1bdec8ef8ad3f806a268f
Added Files:
libtirpc/DESCR
libtirpc/Makefile
libtirpc/PLIST
libtirpc/buildlink3.mk
libtirpc/distinfo
libtirpc/patches/patch-doc-Makefile.am
Log Message:
First attempt to add devel/libtirpc to pkgsrc.
This is the first attempt to add devel/libtirpc to pkgsrc.
It is currently a work in progress and likely needs further
improvements.
Signed-off-by: Alexander Schreiber <als%thangorodrim.de@localhost>
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=7213a08e639e6d1dc7e1bdec8ef8ad3f806a268f
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
libtirpc/DESCR | 12 ++++++
libtirpc/Makefile | 35 ++++++++++++++++
libtirpc/PLIST | 75 ++++++++++++++++++++++++++++++++++
libtirpc/buildlink3.mk | 12 ++++++
libtirpc/distinfo | 6 +++
libtirpc/patches/patch-doc-Makefile.am | 14 +++++++
6 files changed, 154 insertions(+)
diffs:
diff --git a/libtirpc/DESCR b/libtirpc/DESCR
new file mode 100644
index 0000000000..7b9750ee0f
--- /dev/null
+++ b/libtirpc/DESCR
@@ -0,0 +1,12 @@
+LIBTIRPC 0.1 FROM SUN'S TIRPCSRC 2.3 29 Aug 1994
+
+This package contains SunLib's implementation of transport-independent
+RPC (TI-RPC) documentation. This library forms a piece of the base of
+Open Network Computing (ONC), and is derived directly from the Solaris
+2.3 source.
+
+TI-RPC is an enhanced version of TS-RPC that requires the UNIX System V
+Transport Layer Interface (TLI) or an equivalent X/Open Transport Interface
+(XTI). TI-RPC is on-the-wire compatible with the TS-RPC, which is supported
+by almost 70 vendors on all major operating systems. TS-RPC source code
+(RPCSRC 4.0) remains available from several internet sites.
diff --git a/libtirpc/Makefile b/libtirpc/Makefile
new file mode 100644
index 0000000000..1000946660
--- /dev/null
+++ b/libtirpc/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD$
+
+DISTNAME= libtirpc-1.3.3
+CATEGORIES= devel
+MASTER_SITES= https://downloads.sourceforge.net/libtirpc/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= als%thangorodrim.ch@localhost
+HOMEPAGE= https://sourceforge.net/projects/libtirpc/
+COMMENT= Port of SUNs Transport-Independent RPC library
+LICENSE= original-bsd
+
+ONLY_FOR_PLATFORM= Linux-*-*
+
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
+CONFIGURE_ARGS+= --datadir=${PREFIX}/share/examples/${PKGBASE}
+
+EGDIR= ${PREFIX}/share/examples/${PKGBASE}
+CONF_FILES= ${EGDIR}/bindresvport.blacklist ${PKG_SYSCONFDIR}/bindresvport.blacklist
+CONF_FILES+= ${EGDIR}/netconfig ${PKG_SYSCONFDIR}/netconfig
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= pkg-config autoconf autoreconf automake
+
+PKGCONFIG_OVERRIDE+= libtirpc.pc.in
+
+pre-configure:
+ cd ${WRKSRC} && sh ./autogen.sh
+
+.include "../../mk/bsd.prefs.mk"
+
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/krb5.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/libtirpc/PLIST b/libtirpc/PLIST
new file mode 100644
index 0000000000..9e764f945c
--- /dev/null
+++ b/libtirpc/PLIST
@@ -0,0 +1,75 @@
+@comment $NetBSD$
+include/tirpc/netconfig.h
+include/tirpc/rpc/auth.h
+include/tirpc/rpc/auth_des.h
+include/tirpc/rpc/auth_gss.h
+include/tirpc/rpc/auth_unix.h
+include/tirpc/rpc/clnt.h
+include/tirpc/rpc/clnt_soc.h
+include/tirpc/rpc/clnt_stat.h
+include/tirpc/rpc/des.h
+include/tirpc/rpc/des_crypt.h
+include/tirpc/rpc/key_prot.h
+include/tirpc/rpc/nettype.h
+include/tirpc/rpc/pmap_clnt.h
+include/tirpc/rpc/pmap_prot.h
+include/tirpc/rpc/pmap_rmt.h
+include/tirpc/rpc/raw.h
+include/tirpc/rpc/rpc.h
+include/tirpc/rpc/rpc_com.h
+include/tirpc/rpc/rpc_msg.h
+include/tirpc/rpc/rpcb_clnt.h
+include/tirpc/rpc/rpcb_prot.h
+include/tirpc/rpc/rpcb_prot.x
+include/tirpc/rpc/rpcent.h
+include/tirpc/rpc/rpcsec_gss.h
+include/tirpc/rpc/svc.h
+include/tirpc/rpc/svc_auth.h
+include/tirpc/rpc/svc_auth_gss.h
+include/tirpc/rpc/svc_dg.h
+include/tirpc/rpc/svc_mt.h
+include/tirpc/rpc/svc_soc.h
+include/tirpc/rpc/types.h
+include/tirpc/rpc/xdr.h
+include/tirpc/rpcsvc/crypt.h
+include/tirpc/rpcsvc/crypt.x
+lib/libtirpc.la
+lib/pkgconfig/libtirpc.pc
+man/man3/bindresvport.3t
+man/man3/des_crypt.3t
+man/man3/getnetconfig.3t
+man/man3/getnetpath.3t
+man/man3/getrpcent.3t
+man/man3/getrpcport.3t
+man/man3/rpc.3t
+man/man3/rpc_clnt_auth.3t
+man/man3/rpc_clnt_calls.3t
+man/man3/rpc_clnt_create.3t
+man/man3/rpc_gss_get_error.3t
+man/man3/rpc_gss_get_mech_info.3t
+man/man3/rpc_gss_get_mechanisms.3t
+man/man3/rpc_gss_get_principal_name.3t
+man/man3/rpc_gss_get_versions.3t
+man/man3/rpc_gss_getcred.3t
+man/man3/rpc_gss_is_installed.3t
+man/man3/rpc_gss_max_data_length.3t
+man/man3/rpc_gss_mech_to_oid.3t
+man/man3/rpc_gss_qop_to_num.3t
+man/man3/rpc_gss_seccreate.3t
+man/man3/rpc_gss_set_callback.3t
+man/man3/rpc_gss_set_defaults.3t
+man/man3/rpc_gss_set_svc_name.3t
+man/man3/rpc_gss_svc_max_data_length.3t
+man/man3/rpc_secure.3t
+man/man3/rpc_soc.3t
+man/man3/rpc_svc_calls.3t
+man/man3/rpc_svc_create.3t
+man/man3/rpc_svc_err.3t
+man/man3/rpc_svc_reg.3t
+man/man3/rpc_xdr.3t
+man/man3/rpcbind.3t
+man/man3/rpcsec_gss.3t
+man/man3/rtime.3t
+man/man5/netconfig.5
+share/examples/libtirpc/bindresvport.blacklist
+share/examples/libtirpc/netconfig
diff --git a/libtirpc/buildlink3.mk b/libtirpc/buildlink3.mk
new file mode 100644
index 0000000000..d48fdec6d1
--- /dev/null
+++ b/libtirpc/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD$
+
+BUILDLINK_TREE+= libtirpc
+
+.if !defined(LIBTIRPC_BUILDLINK3_MK)
+LIBTIRPC_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libtirpc+= libtirpc>=1.3.3
+BUILDLINK_PKGSRCDIR.libtirpc?= ../../devel/libtirpc
+.endif # LIBTIRPC_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libtirpc
diff --git a/libtirpc/distinfo b/libtirpc/distinfo
new file mode 100644
index 0000000000..72c610111e
--- /dev/null
+++ b/libtirpc/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+BLAKE2s (libtirpc-1.3.3.tar.bz2) = 0e04d88695974121081c792bc227f87c305f63c182727d4c0855e30104a3b82a
+SHA512 (libtirpc-1.3.3.tar.bz2) = df0781a74ff9ded2d3c4f5eb7e05496b9f58eac8060c02c68331dc14c4a00304dcd19f46836f5756fe0d9d27095fd463d42dd696fcdff891516711b7d63deabe
+Size (libtirpc-1.3.3.tar.bz2) = 562812 bytes
+SHA1 (patch-doc-Makefile.am) = e473cd47ffce7e33674e8555236f467c91d6ec2d
diff --git a/libtirpc/patches/patch-doc-Makefile.am b/libtirpc/patches/patch-doc-Makefile.am
new file mode 100644
index 0000000000..713527fec0
--- /dev/null
+++ b/libtirpc/patches/patch-doc-Makefile.am
@@ -0,0 +1,14 @@
+$NetBSD$
+
+Move to config files via the data mechanism out of /etc and
+into share/examples (where they will be copied to etc/
+during pkg install).
+
+--- doc/Makefile.am.orig 2023-03-16 21:19:58.827408077 +0100
++++ doc/Makefile.am 2023-03-16 21:20:56.494030533 +0100
+@@ -1,4 +1,4 @@
+-dist_sysconf_DATA = netconfig bindresvport.blacklist
++dist_data_DATA = netconfig bindresvport.blacklist
+
+ CLEANFILES = cscope.* *~
+ DISTCLEANFILES = Makefile.in
Home |
Main Index |
Thread Index |
Old Index