diff options
author | Achim Gottinger <achim@gentoo.org> | 2001-04-23 17:28:28 +0000 |
---|---|---|
committer | Achim Gottinger <achim@gentoo.org> | 2001-04-23 17:28:28 +0000 |
commit | fbb898cfde374efd0a3d6ab00aab40b5f1df62a1 (patch) | |
tree | d3b0c4116bb4fcbbf4f660796a0a67c1aca84f56 | |
parent | Added new app dev-util/cscope which was submitted to me by AJ Lewis (A.K.A. (diff) | |
download | gentoo-2-fbb898cfde374efd0a3d6ab00aab40b5f1df62a1.tar.gz gentoo-2-fbb898cfde374efd0a3d6ab00aab40b5f1df62a1.tar.bz2 gentoo-2-fbb898cfde374efd0a3d6ab00aab40b5f1df62a1.zip |
Fixed glibc-2.2.2 issue
-rw-r--r-- | net-fs/nfs-utils/files/digest-nfs-utils-0.2.1-r3 | 1 | ||||
-rw-r--r-- | net-fs/nfs-utils/files/nfs-utils-0.2.1-r3-gentoo.diff | 11 | ||||
-rw-r--r-- | net-fs/nfs-utils/nfs-utils-0.2.1-r3.ebuild | 56 |
3 files changed, 68 insertions, 0 deletions
diff --git a/net-fs/nfs-utils/files/digest-nfs-utils-0.2.1-r3 b/net-fs/nfs-utils/files/digest-nfs-utils-0.2.1-r3 new file mode 100644 index 000000000000..526bdc17ac1d --- /dev/null +++ b/net-fs/nfs-utils/files/digest-nfs-utils-0.2.1-r3 @@ -0,0 +1 @@ +MD5 cdf44aadf551e4037fd9c9c69ea75930 nfs-utils-0.2.1.tar.gz diff --git a/net-fs/nfs-utils/files/nfs-utils-0.2.1-r3-gentoo.diff b/net-fs/nfs-utils/files/nfs-utils-0.2.1-r3-gentoo.diff new file mode 100644 index 000000000000..2265f309bb14 --- /dev/null +++ b/net-fs/nfs-utils/files/nfs-utils-0.2.1-r3-gentoo.diff @@ -0,0 +1,11 @@ +--- nfs-utils-0.2.1/support/nfs/rpcmisc.c~ Sun Apr 30 06:14:56 2000 ++++ nfs-utils-0.2.1/support/nfs/rpcmisc.c Mon Apr 23 17:20:51 2001 +@@ -13,7 +13,7 @@ + */ + + #include "config.h" +- ++#include <time.h> + #include <sys/types.h> + #include <sys/ioctl.h> + #include <sys/stat.h> diff --git a/net-fs/nfs-utils/nfs-utils-0.2.1-r3.ebuild b/net-fs/nfs-utils/nfs-utils-0.2.1-r3.ebuild new file mode 100644 index 000000000000..0d656e78586a --- /dev/null +++ b/net-fs/nfs-utils/nfs-utils-0.2.1-r3.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/nfs-utils-0.2.1-r3.ebuild,v 1.1 2001/04/23 17:28:28 achim Exp $ + +A=${P}.tar.gz +S=${WORKDIR}/${P} +DESCRIPTION="Kernel NFS-Server" +SRC_URI="ftp://ftp.linuxnfs.sourceforge.org/pub/nfs/"${A} +HOMEPAGE="http://nfs.sourceforge.net" + +DEPEND=">=sys-apps/bash-2.04 + >=sys-libs/glibc-2.1.3" + +src_unpack() { + unpack ${A} + patch -p0 < ${FILESDIR}/${PF}-gentoo.diff +} + +src_compile() { + try ./configure --mandir=${D}/usr/man --with-statedir=/var/lib/nfs \ + --prefix=${D} --exec-prefix=${D} + try make +} + +src_install() { + cd ${S} + try make install STATEDIR=${D}/var/lib/nfs + dodir /etc/rc.d/init.d + cp ${O}/files/nfs ${D}/etc/rc.d/init.d + cp ${O}/files/exports ${D}/etc + dodoc ChangeLog COPYING README + docinto linux-nfs + dodoc linux-nfs/* +} +pkg_config() { + + . ${ROOT}/etc/rc.d/config/functions + . ${ROOT}/var/db/pkg/install.config + + echo "Generating symlinks..." + ${ROOT}/usr/sbin/rc-update add nfs + if [ -n "${nfsserver_home}" ] + then + echo "Export Homedirs..." + cp ${ROOT}/etc/exports ${ROOT}/etc/exports.orig + sed -e "s:^#nfsserver_home:${nfsserver_home}:" \ + -e "s/eth0_net/${eth0_net}/" \ + -e "s/eth0_mask/${eth0_mask}/" \ + ${ROOT}/etc/exports.orig > ${ROOT}/etc/exports + fi +} + + + + |