diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2002-07-22 00:24:51 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2002-07-22 00:24:51 +0000 |
commit | 13e8dc53411986d2ddb40a845cc59fae4ff3a240 (patch) | |
tree | 24430e5626942f39e2b0545fa11908c29887bbc9 /net-misc/ipx-utils | |
parent | version bumped (diff) | |
download | historical-13e8dc53411986d2ddb40a845cc59fae4ff3a240.tar.gz historical-13e8dc53411986d2ddb40a845cc59fae4ff3a240.tar.bz2 historical-13e8dc53411986d2ddb40a845cc59fae4ff3a240.zip |
Initial release
Diffstat (limited to 'net-misc/ipx-utils')
-rw-r--r-- | net-misc/ipx-utils/ChangeLog | 10 | ||||
-rw-r--r-- | net-misc/ipx-utils/files/digest-ipx-utils-1.1 | 1 | ||||
-rw-r--r-- | net-misc/ipx-utils/files/ipx-utils-1.1-gentoo.diff | 24 | ||||
-rw-r--r-- | net-misc/ipx-utils/files/ipx.confd | 42 | ||||
-rw-r--r-- | net-misc/ipx-utils/files/ipx.init | 44 | ||||
-rw-r--r-- | net-misc/ipx-utils/ipx-utils-1.1.ebuild | 44 |
6 files changed, 165 insertions, 0 deletions
diff --git a/net-misc/ipx-utils/ChangeLog b/net-misc/ipx-utils/ChangeLog new file mode 100644 index 000000000000..f1d41539c676 --- /dev/null +++ b/net-misc/ipx-utils/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-misc/ipx-utils +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/ipx-utils/ChangeLog,v 1.1 2002/07/22 00:24:51 azarah Exp $ + +*net-misc/ipx-utils-1.1 (22 Jul 2002) + + 22 Jul 2002; Martin Schlemmer <azarah@gentoo.org> ipx-utils-1.1.ebuild, ipx.init, ipx.confd : + Initial import. Ebuild submitted by myself. + + diff --git a/net-misc/ipx-utils/files/digest-ipx-utils-1.1 b/net-misc/ipx-utils/files/digest-ipx-utils-1.1 new file mode 100644 index 000000000000..dda49eb20af9 --- /dev/null +++ b/net-misc/ipx-utils/files/digest-ipx-utils-1.1 @@ -0,0 +1 @@ +MD5 300bdb7e4c8ed31d510c4781c0ae3969 ipx-1.1.tar.gz 8177 diff --git a/net-misc/ipx-utils/files/ipx-utils-1.1-gentoo.diff b/net-misc/ipx-utils/files/ipx-utils-1.1-gentoo.diff new file mode 100644 index 000000000000..0d7b4a53d000 --- /dev/null +++ b/net-misc/ipx-utils/files/ipx-utils-1.1-gentoo.diff @@ -0,0 +1,24 @@ +--- Makefile.orig Fri Jul 19 21:31:42 2002 ++++ Makefile Fri Jul 19 21:33:05 2002 +@@ -10,17 +10,9 @@ + install: $(UTILS) + for i in $(UTILS); \ + do \ +- install --strip $$i /sbin; \ +- install $$i.8 /usr/man/man8; \ ++ install --strip $$i ${DESTDIR}/sbin; \ ++ install $$i.8 ${DESTDIR}/usr/share/man/man8; \ + done +- install init.ipx /etc/rc.d/init.d/ipx +- install -m 0644 config.ipx /etc/sysconfig/ipx +- rm -f /etc/rc.d/rc2.d/S15ipx +- ln -sf /etc/rc.d/init.d/ipx /etc/rc.d/rc2.d/S15ipx +- rm -f /etc/rc.d/rc3.d/S15ipx +- ln -sf /etc/rc.d/init.d/ipx /etc/rc.d/rc3.d/S15ipx +- rm -f /etc/rc.d/rc5.d/S15ipx +- ln -sf /etc/rc.d/init.d/ipx /etc/rc.d/rc5.d/S15ipx +- rm -f /etc/rc.d/rc6.d/K55ipx +- ln -sf /etc/rc.d/init.d/ipx /etc/rc.d/rc6.d/K55ipx ++# install init.ipx /etc/rc.d/init.d/ipx ++# install -m 0644 config.ipx /etc/sysconfig/ipx + diff --git a/net-misc/ipx-utils/files/ipx.confd b/net-misc/ipx-utils/files/ipx.confd new file mode 100644 index 000000000000..ebe98d6460ec --- /dev/null +++ b/net-misc/ipx-utils/files/ipx.confd @@ -0,0 +1,42 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/net-misc/ipx-utils/files/ipx.confd,v 1.1 2002/07/22 00:24:51 azarah Exp $ + +# Config file for /etc/init.d/ipx + + +# Automatically selecting a primary interface. + +IPX_AUTO_PRIMARY=on + + +# Automatically creating interfaces. + +IPX_AUTO_INTERFACE=on + + +# Interface to which IPX sockets are bound. + +IPX_DEVICE=eth0 + + +# The IPX frame type to use + +IPX_FRAME=802.2 + + +# Create a special kind of IPX interface that does not +# have a physical device or frame type. + +IPX_INTERNAL_NET=no + + +# Network number + +IPX_NETNUM=1 + + +# Node number + +IPX_NODENUM=1 + diff --git a/net-misc/ipx-utils/files/ipx.init b/net-misc/ipx-utils/files/ipx.init new file mode 100644 index 000000000000..3af5e8e02d31 --- /dev/null +++ b/net-misc/ipx-utils/files/ipx.init @@ -0,0 +1,44 @@ +#!/sbin/runscript +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/net-misc/ipx-utils/files/ipx.init,v 1.1 2002/07/22 00:24:51 azarah Exp $ + +#NB: Config is in /etc/conf.d/ipx + + +depend() { + use net +} + +start() { + local retval=0 + + ebegin "Bringing IPX up" + if [ ${IPX_INTERNAL_NET} = "yes" ] + then + /sbin/ipx_internal_net add ${IPX_NETNUM} ${IPX_NODENUM} + retval=$? + else + /sbin/ipx_interface add -p ${IPX_DEVICE} \ + ${IPX_FRAME} ${IPX_NETNUM} + retval=$? + fi + + ipx_configure \ + --auto_primary=${IPX_AUTO_PRIMARY} \ + --auto_interface=${IPX_AUTO_INTERFACE} + retval=$(( $retval + $? )) + eend ${retval} "Failed to bring IPX up" +} + +stop() { + local retval=0 + + ebegin "Bringing IPX down" + /sbin/ipx_configure --auto_primary=off --auto_interface=off + retval=$? + /sbin/ipx_interface delall + retval=$(( $retval + $? )) + eend ${retval} "Failed to down IPX" +} + diff --git a/net-misc/ipx-utils/ipx-utils-1.1.ebuild b/net-misc/ipx-utils/ipx-utils-1.1.ebuild new file mode 100644 index 000000000000..27c870c1bad6 --- /dev/null +++ b/net-misc/ipx-utils/ipx-utils-1.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/ipx-utils/ipx-utils-1.1.ebuild,v 1.1 2002/07/22 00:24:51 azarah Exp $ + +S=${WORKDIR}/${P/-utils} +DESCRIPTION="The IPX Utilities" +HOMEPAGE="http://foo.bar.com" +SRC_URI="ftp://sunsite.unc.edu/pub/Linux/system/filesystems/ncpfs/${P/-utils}.tar.gz" + +LICENSE="Caldera" +SLOT="0" +KEYWORDS="x86" + +DEPEND="virtual/glibc" + +src_unpack() { + unpack ${A} + + cd ${S} + # Fix CFLAGS + cp Makefile Makefile.orig + sed -e "s:-O2 -Wall:${CFLAGS}:" \ + Makefile.orig > Makefile + + # Fix install locations + patch -p0 < ${FILESDIR}/${P}-gentoo.diff || die +} + +src_compile() { + emake || die +} + +src_install() { + dodir /sbin /usr/share/man/man8 + make DESTDIR=${D} install || die + + insinto /etc/conf.d + newins ${FILESDIR}/ipx.confd ipx + exeinto /etc/init.d + newexe ${FILESDIR}/ipx.init ipx + + dodoc COPYING README +} + |