diff options
author | rh <rh> | 2002-04-12 08:20:32 +0000 |
---|---|---|
committer | rh <rh> | 2002-04-12 08:20:32 +0000 |
commit | 8b20a3bb4494b0e848990dd483dd6fdd8630e0fb (patch) | |
tree | 850f702b289dab51b8a94cd4e77bbbfc27b1f327 /net/bpalogin | |
parent | add7f52d97cb5615b7531db9092e18d173b4925a (diff) | |
download | pkgsrc-8b20a3bb4494b0e848990dd483dd6fdd8630e0fb.tar.gz |
Initial import of bpalogin-2.0.1, a login client for Telstra's BigPond
Advance cable internet service.
Diffstat (limited to 'net/bpalogin')
-rw-r--r-- | net/bpalogin/DESCR | 12 | ||||
-rw-r--r-- | net/bpalogin/MESSAGE | 10 | ||||
-rw-r--r-- | net/bpalogin/Makefile | 29 | ||||
-rw-r--r-- | net/bpalogin/PLIST | 5 | ||||
-rw-r--r-- | net/bpalogin/distinfo | 4 | ||||
-rwxr-xr-x | net/bpalogin/files/bpalogin | 28 | ||||
-rw-r--r-- | net/bpalogin/patches/patch-aa | 16 |
7 files changed, 104 insertions, 0 deletions
diff --git a/net/bpalogin/DESCR b/net/bpalogin/DESCR new file mode 100644 index 00000000000..4d177a9dfde --- /dev/null +++ b/net/bpalogin/DESCR @@ -0,0 +1,12 @@ + BPALogin is a replacement for the Telstra supplied client for connecting +and using Telstra's Big Pond Advance powered by Cable. + + BPALogin has the following advantages over the standard Bigpond +LaunchPad client: + + * Does not crash like the standard one + * Reconnects when there is a network problem + * Is available for most operating systems, whereas BPA + only support Windows and MacOS + * Can run as a service on WinNT/2000 + * Comes with source code to allow endless customisation diff --git a/net/bpalogin/MESSAGE b/net/bpalogin/MESSAGE new file mode 100644 index 00000000000..ab27ecc4c33 --- /dev/null +++ b/net/bpalogin/MESSAGE @@ -0,0 +1,10 @@ +========================================================================== +$NetBSD: MESSAGE,v 1.1.1.1 2002/04/12 08:20:32 rh Exp $ + + bpalogin has now been installed in ${PREFIX}. + + To use this package, you need to install a configuration file called + bpalogin.conf in ${PKG_SYSCONFDIR} (an example configuration + file is provided in ${PREFIX}/share/examples/bpalogin. + +========================================================================== diff --git a/net/bpalogin/Makefile b/net/bpalogin/Makefile new file mode 100644 index 00000000000..6eae91541c3 --- /dev/null +++ b/net/bpalogin/Makefile @@ -0,0 +1,29 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/04/12 08:20:32 rh Exp $ +# + +DISTNAME= bpalogin-2.0.1-src +PKGNAME= ${DISTNAME:S/-src//} +CATEGORIES= net +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=bpalogin/} + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://bpalogin.sourceforge.net/ +COMMENT= BigPond Advance login client + +WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} + +ALL_TARGET= bpalogin + +pre-install: + ${SED} ${FILES_SUBST_SED} ${FILESDIR}/bpalogin \ + > ${WRKDIR}/bpalogin + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/bpalogin ${PREFIX}/sbin + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/bpalogin + ${INSTALL_DATA} ${WRKSRC}/bpalogin.conf \ + ${PREFIX}/share/examples/bpalogin + ${INSTALL_SCRIPT} ${WRKDIR}/bpalogin ${PREFIX}/etc/rc.d + +.include "../../mk/bsd.pkg.install.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/net/bpalogin/PLIST b/net/bpalogin/PLIST new file mode 100644 index 00000000000..6a6cad97236 --- /dev/null +++ b/net/bpalogin/PLIST @@ -0,0 +1,5 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/04/12 08:20:32 rh Exp $ +etc/rc.d/bpalogin +sbin/bpalogin +share/examples/bpalogin/bpalogin.conf +@dirrm share/examples/bpalogin diff --git a/net/bpalogin/distinfo b/net/bpalogin/distinfo new file mode 100644 index 00000000000..313d40fba9d --- /dev/null +++ b/net/bpalogin/distinfo @@ -0,0 +1,4 @@ + +SHA1 (bpalogin-2.0.1-src.tar.gz) = c0f7008586a4076f3fd932c64862dad6eaff1340 +Size (bpalogin-2.0.1-src.tar.gz) = 20722 bytes +SHA1 (patch-aa) = d324a6eaf1bc4f442c171f4bd057e3339c2fd258 diff --git a/net/bpalogin/files/bpalogin b/net/bpalogin/files/bpalogin new file mode 100755 index 00000000000..b82a190bfeb --- /dev/null +++ b/net/bpalogin/files/bpalogin @@ -0,0 +1,28 @@ +#!/bin/sh +# +# $NetBSD: bpalogin,v 1.1.1.1 2002/04/12 08:20:32 rh Exp $ +# +# bpalogin startup script +# +# PROVIDE: bpalogin +# REQUIRE: DAEMON dhcpd + +if [ -f /etc/rc.subr ] +then + . /etc/rc.subr +fi + +name="bpalogin" +rcvar=${name} +command="@PREFIX@/sbin/${name}" +command_args="-c @PKG_SYSCONFDIR@/${name}.conf & sleep 1" +required_files="${command} @PKG_SYSCONFDIR@/${name}.conf" + +if [ -f /etc/rc.subr ] +then + load_rc_config $name + run_rc_command "$1" +else + @ECHO@ -n " ${name}" + ${command} ${bpalogin_flags} ${command_args} +fi diff --git a/net/bpalogin/patches/patch-aa b/net/bpalogin/patches/patch-aa new file mode 100644 index 00000000000..3965abfc19f --- /dev/null +++ b/net/bpalogin/patches/patch-aa @@ -0,0 +1,16 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/04/12 08:20:32 rh Exp $ + +--- Makefile.orig Thu Aug 31 20:37:16 2000 ++++ Makefile +@@ -2,11 +2,6 @@ + ETCPATH = /etc + INITPATH = /etc/rc.d/init.d + +-CFLAGS = -O2 -Wall +-CC = gcc +-LIBS = +-LFLAGS = -static +- + OBJS = bpalogin.o protocol.o transaction.o gen_md5.o unixmain.o + + bpalogin: $(OBJS) |