summaryrefslogtreecommitdiff
path: root/comms/malsync
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2000-06-15 14:04:46 +0000
committerrh <rh@pkgsrc.org>2000-06-15 14:04:46 +0000
commitf9cb871689499527cf0891fa3f77de85560ba19b (patch)
tree17f7b94cd29379444ba67d902dea5c0a167d83e7 /comms/malsync
parenta0b056ab24816aa88dae982afd3de7ba650fc71b (diff)
downloadpkgsrc-f9cb871689499527cf0891fa3f77de85560ba19b.tar.gz
Initial import of malsync-2.0.4, a utility to synchronize Palm Pilots to
the AvantGo.com service
Diffstat (limited to 'comms/malsync')
-rw-r--r--comms/malsync/Makefile25
-rw-r--r--comms/malsync/files/README_avantgo133
-rw-r--r--comms/malsync/files/README_malsync96
-rw-r--r--comms/malsync/files/md53
-rw-r--r--comms/malsync/files/patch-sum4
-rw-r--r--comms/malsync/patches/patch-aa35
-rw-r--r--comms/malsync/patches/patch-ab21
-rw-r--r--comms/malsync/pkg/COMMENT1
-rw-r--r--comms/malsync/pkg/DESCR7
-rw-r--r--comms/malsync/pkg/PLIST5
10 files changed, 330 insertions, 0 deletions
diff --git a/comms/malsync/Makefile b/comms/malsync/Makefile
new file mode 100644
index 00000000000..efdd5bcbcae
--- /dev/null
+++ b/comms/malsync/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/06/15 14:04:46 rh Exp $
+#
+
+DISTNAME= ${PKGNAME:S/-/_/}.src
+PKGNAME= malsync-2.0.4
+WRKSRC= ${WRKDIR}/malsync/mal/client/unix
+CATEGORIES= comms
+MASTER_SITES= http://www.tomw.org/malsync/
+
+MAINTAINER= rh@netbsd.org
+HOMEPAGE= http://www.tomw.org/malsync/
+
+DEPENDS+= pilot-link>=0.9.3:../../comms/pilot-link
+
+NO_CONFIGURE= YES
+USE_GMAKE= YES
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/malsync ${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/malsync
+.for doc in README_avantgo README_malsync
+ ${INSTALL_DATA} ${FILESDIR}/${doc} ${PREFIX}/share/doc/malsync
+.endfor
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/comms/malsync/files/README_avantgo b/comms/malsync/files/README_avantgo
new file mode 100644
index 00000000000..e7b95943b3d
--- /dev/null
+++ b/comms/malsync/files/README_avantgo
@@ -0,0 +1,133 @@
+AVANTGO.COM AND UNIX DESKTOPS
+=============================
+
+AvantGo.com is a web capture and browsing service for handheld
+devices. The setup incudes software on both your Palm device and your
+desktop and an account on the AvantGo.com site. If you have a modem
+(wireless or wired) for your Palm, you technically do not need the
+desktop software, though you'll probably want it anyway.
+
+This readme includes instructions for using a desktop Unix system to
+sync your Palm V, III, IIIx, VII, or PalmPilot Professional
+(collectively, "Palm device") to an AvantGo.com account.
+
+There is currently no method for synchronizing your Windows CE device
+to AvantGo.com through a Unix desktop.
+
+Support:
+--------
+
+THIS PRODUCT IS NOT OFFICIALLY SUPPORTED BY AVANTGO. IT IS PROVIDED
+AS IS FOR THE BENEFIT OF THE UNIX COMMUNITY.
+
+For support, please use one of the following:
+
+- The pilot-unix mailing list. To participate in this list, send a
+message to pilot-unix-request@lists.best.com with the body containing
+(on separate lines) "subscribe" or "help".
+
+- The newsgroups news://comp.sys.palmtops.pilot,
+news://alt.soft-sys.avantgo, or news://de.comp.sys.palmtops.pilot
+(German)
+
+What You'll Need:
+-----------------
+
+malsync
+
+ This is the actual synchronization executable.
+ Get it from http://www.tomw.org/malsync
+ Available in source or binary forms
+ View the README in the source/binary directory for build
+instructions.
+
+Palm OS .prc files
+
+ Specifically libmal.prc, MobileLink.prc, and avantgo.prc
+ You will need to install these using pilot-xfer or Mac/Win Hotsync
+ Included with malsync, or from
+ http://www.avantgo.com/download/unsupported
+
+pilot-xfer
+
+ Unix utility to install .prc files to Palm OS devices.
+ Included with the pilot-link utility. V 0.9.3 is known to work.
+ Get it from ftp://ryeham.ee.ryerson.ca/pub/PalmOS/
+ Use 'make pilot-xfer' once uncompressed
+
+
+Instructions:
+-------------
+
+1) Copy the built executable (malsync) to the chosen directory and
+ change it to an executable permission, e.g.:
+
+ chmod ugo+x ./malsync
+
+2) Determine the correct serial port to which your Palm device is
+connected.
+ Two common options are /dev/ttyS0 and /dev/ttyS1. Do one of two
+things:
+
+ - set the PILOTPORT environment variable to that device, e.g.
+
+ setenv PILOTPORT /dev/ttyS1
+
+ - OR, bind the /dev/pilot port to the serial device, e.g.
+
+ ln -s /dev/ttyS1 /dev/pilot (root access required)
+
+3) Determine and set the correct communication speed. Taking no
+action
+ will result in 9600 baud connection. An alternative might be:
+
+ setenv PILOTRATE 57600
+
+4) Transfer the .prc's to the Palm device with pilot-xfer:
+
+ pilot-xfer -i MobileLink.prc libmal.prc avantgo.prc
+
+When the sync is finished, click on the Applications button of the
+Palm device. A successful pilot-xfer will result in AvantGo and
+Mobile Link icons appearing in this list.
+
+5) Now you will need to set up your AvantGo account.
+
+-
+Go to http://avantgo.com/setup/account_only.html and select the Palm
+Computing link. - Continue through the install pages until you hit
+the page where you'll enter account information. - Enter your account
+information and submit the page. Write down the username and password
+you used here.
+
+Note: The site changes periodically, so the exact URL may be
+different.
+
+5) Tap the Mobile Link icon on the Palm device. Enter this
+information:
+
+ Server: AvantGo Server
+ Server Addr: sync.avantgo.com
+ Port: 80
+ User Name: <your AvantGo.com username>
+ Password: <your AvantGo.com password>
+ Enabled: Should be checked
+
+6) In the directory in which you've put malsync, enter
+
+ ./malsync (use options if necessary)
+
+This should retrieve the stated channels from AvantGo.com. A
+successful sync will result in these channels showing on your Palm
+device.
+
+
+
+
+
+
+
+
+
+
+ \ No newline at end of file
diff --git a/comms/malsync/files/README_malsync b/comms/malsync/files/README_malsync
new file mode 100644
index 00000000000..81ee2dc9d91
--- /dev/null
+++ b/comms/malsync/files/README_malsync
@@ -0,0 +1,96 @@
+
+INTRODUCTION:
+
+This is a bare bones utility to enable people who have Palm OS
+devices to sync to Mobile Application Link (MAL) compliant servers.
+AvantGo (www.avantgo.com) and Puma Technologies (www.pumatech.com)
+are the first two companies committing to producing servers which speak
+this protocol. This utility will allow a user to sync with multiple servers,
+simultaneously or separately. The AvantGo.com service (www.avantgo.com)
+is the first such server.
+
+There is currently no way to set server parameters on the desktop; you
+need to use the MobileLink application on the device.
+
+MALSync only operates from the command line. If you want to build it
+into some Unix-based, HotSync-like GUI, more power to you.
+
+BINARIES:
+
+Executables for MALSync on Linux, Solaris, and FreeBSD are available at
+http://www.tomw.org/malsync
+
+Whether you use the pre-existing binaries or build MALSync yourselves,
+you will need the Palm OS applications. Get these from
+http://www.avantgo.com/download/unsupported/ and install to your Palm
+with either HotSync (MS Windows/Mac OS) or pilot-link (unix).
+The binaries are also included with all the binary distributions of
+malsync from http://www.tomw.org/malsync
+
+COMPILING:
+
+To compile you need the source, which you can get
+from http://www.tom.org/malsync.
+
+You also need the pilot-link distribution, which can be found at
+ftp://ryeham.ee.ryerson.ca/pub/PalmOS/
+Download the latest version. You need libpisock.a. You
+can either compile the whole thing and the library will be in
+libsock/.libs or you can just type "make libpisock.a" in
+the libsock directory (after running configure first).
+
+Now you need to edit the Makefile in the mal/client/unix
+directory. Change "PILOT_LINK_DIR" to the appropriate
+directory.
+
+It should all make and be happy. If not, send email to me
+(tom@tomw.org) or the mal-dev mailing list (see below).
+
+RUNNING:
+
+You need to set two environment variables:
+
+PILOTRATE is the baud rate you want to use
+
+PILOTPORT is the port your handheld is connected to.
+
+All this stuff is documented in the pilot link distribution.
+
+
+Usage: ./malsync [OPTIONS]
+
+ -p, --proxyaddress Proxy address.
+ -r, --proxyport Proxy port.
+ -u, --proxyname Proxy username.
+ -d, --proxypasswd Proxy password.
+ -s, --socksproxy Socks proxy.
+ -o, --socksport Socks port.
+ -q, --quiet Be as quiet as this program can.
+ -D, --daemon Work as a daemon (disconnect from shell).
+
+
+The serial port to connect to may be specified by the PILOTPORT
+environment variable. If not specified it will default to
+/dev/pilot
+
+The baud rate to connect with may be specified by the PILOTRATE
+environment variable. If not specified, it will default to 9600.
+Please use caution setting it to higher values, as several types
+of workstations have problems with higher rates.
+
+
+SUPPORT AND BUGS:
+
+THIS PRODUCT IS NOT OFFICIALLY SUPPORTED BY AVANTGO. IT IS
+PROVIDED AS IS FOR THE BENEFIT OF THE UNIX COMMUNITY.
+
+The pilot-unix mailing list can be investigated by sending
+email to pilot-unix-requests@lists.best.com with the body
+message "help".
+
+If you have any bugs or feature requests you can send them
+to tom@tomw.org. Also feel free to fix or add them yourself
+and send me the diffs!
+
+
+
diff --git a/comms/malsync/files/md5 b/comms/malsync/files/md5
new file mode 100644
index 00000000000..2abc1eb84dd
--- /dev/null
+++ b/comms/malsync/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/06/15 14:04:46 rh Exp $
+
+MD5 (malsync_2.0.4.src.tar.gz) = 781f9e19333817dd75623becb085a309
diff --git a/comms/malsync/files/patch-sum b/comms/malsync/files/patch-sum
new file mode 100644
index 00000000000..9f8ed0b7349
--- /dev/null
+++ b/comms/malsync/files/patch-sum
@@ -0,0 +1,4 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/06/15 14:04:46 rh Exp $
+
+MD5 (patch-aa) = d7307f664bbf1ef2ec6bc49c473caeb8
+MD5 (patch-ab) = ebd83a9b4e15db85bc771edc751cb74a
diff --git a/comms/malsync/patches/patch-aa b/comms/malsync/patches/patch-aa
new file mode 100644
index 00000000000..3ff0a52299f
--- /dev/null
+++ b/comms/malsync/patches/patch-aa
@@ -0,0 +1,35 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/06/15 14:04:47 rh Exp $
+
+--- Makefile.orig Sun May 14 23:17:35 2000
++++ Makefile Thu Jun 15 15:54:24 2000
+@@ -1,4 +1,3 @@
+-CC = gcc
+ TARGET = malsync
+
+ PLAT := $(shell uname)
+@@ -12,9 +11,9 @@
+ endif
+
+ TREETOP = ../../..
+-PILOT_LINK_DIR = $(TREETOP)/vendor/pilot/pilot-link.0.9.3
++PILOT_LINK_DIR = ${PREFIX}
+
+-CFLAGS = -Wall -g -DMALSYNC -I$(TREETOP)/mal/common \
++CFLAGS+=-DMALSYNC -D__unix__ -I$(TREETOP)/mal/common \
+ -I$(TREETOP)/mal/client/common -I$(PILOT_LINK_DIR)/include -I.
+
+
+@@ -55,10 +54,12 @@
+
+ OBJS = $(SRC:.c=.o)
+
++all: ${TARGET}
++
+
+ $(TARGET): $(OBJS)
+ $(CC) -rdynamic $(CFLAGS) -o $@ $(OBJS) \
+- -L${PILOT_LINK_DIR}/libsock -lpisock $(LINKLIBS)
++ -L${PILOT_LINK_DIR}/lib -Wl,-R${PILOT_LINK_DIR}/lib -lpisock $(LINKLIBS)
+ clean:
+ rm -f $(OBJS) $(TARGET)
+
diff --git a/comms/malsync/patches/patch-ab b/comms/malsync/patches/patch-ab
new file mode 100644
index 00000000000..138cc6e4567
--- /dev/null
+++ b/comms/malsync/patches/patch-ab
@@ -0,0 +1,21 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/06/15 14:04:47 rh Exp $
+
+--- ../../../mal/common/AGNet.h.orig Sun May 14 23:17:36 2000
++++ ../../../mal/common/AGNet.h Thu Jun 15 14:20:07 2000
+@@ -54,6 +54,7 @@
+ # else /* defined(macintosh) */
+ # include <netdb.h>
+ # include <sys/types.h>
++# include <sys/param.h>
+ # include <sys/socket.h>
+ # include <unistd.h>
+ # include <netinet/in.h>
+@@ -61,7 +62,7 @@
+ # include <sys/filio.h>
+ # include <arpa/inet.h>
+ # else
+-# ifdef __FreeBSD__
++# if (defined(BSD) && BSD >= 199306)
+ # include <sys/ioctl.h>
+ # include <arpa/inet.h>
+ # else
diff --git a/comms/malsync/pkg/COMMENT b/comms/malsync/pkg/COMMENT
new file mode 100644
index 00000000000..395ffde5b50
--- /dev/null
+++ b/comms/malsync/pkg/COMMENT
@@ -0,0 +1 @@
+utility to synchronize Palm Pilots to the AvantGo.com service
diff --git a/comms/malsync/pkg/DESCR b/comms/malsync/pkg/DESCR
new file mode 100644
index 00000000000..879dfc7448a
--- /dev/null
+++ b/comms/malsync/pkg/DESCR
@@ -0,0 +1,7 @@
+ MalSync is a bare bones utility to enable people who have Palm OS
+devices to sync to Mobile Application Link (MAL) compliant servers.
+AvantGo (www.avantgo.com) and Puma Technologies (www.pumatech.com)
+are the first two companies committing to producing servers which
+speak this protocol. This utility will allow a user to sync with
+multiple servers, simultaneously or separately. The AvantGo.com
+service (www.avantgo.com) is the first such server.
diff --git a/comms/malsync/pkg/PLIST b/comms/malsync/pkg/PLIST
new file mode 100644
index 00000000000..6cead10d66c
--- /dev/null
+++ b/comms/malsync/pkg/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/06/15 14:04:46 rh Exp $
+bin/malsync
+share/doc/malsync/README_avantgo
+share/doc/malsync/README_malsync
+@dirrm share/doc/malsync