Update to pilot-link-0.11.8, remove debug flavour

From new maintainer Antoine Jacoutot <ajacoutot@lphp.org>
This commit is contained in:
pvalchev 2004-12-11 04:59:46 +00:00
parent f3031b8d34
commit 9dc7238ff0
24 changed files with 219 additions and 1799 deletions

View File

@ -1,44 +1,51 @@
# $OpenBSD: Makefile,v 1.35 2004/11/21 22:29:51 espie Exp $
# $OpenBSD: Makefile,v 1.36 2004/12/11 04:59:46 pvalchev Exp $
# $NetBSD: Makefile,v 1.37 2004/10/03 00:13:16 tv Exp $
COMMENT= "PalmPilot communication utilities"
COMMENT= "tools to connect your PalmOS® compatible handheld"
VERSION= 0.9.5
DISTNAME= pilot-link.${VERSION}
PKGNAME= pilot-link-${VERSION}p1
CATEGORIES= comms palm
EXTRACT_SUFX= .tar.bz2
DISTNAME= pilot-link-0.11.8
CATEGORIES= comms
MASTER_SITES= http://fresh.t-systems-sfr.com/unix/src/misc/ \
http://mirror.astro.ufl.edu/pub/slackware/slackware-current/source/l/pilot-link/ \
http://gentoo.oregonstate.edu/distfiles/ \
http://oss.redundant.com/pub/gentoo/distfiles/ \
http://downloads.pilot-link.org/
HOMEPAGE= http://www.pilot-link.org/
MAINTAINER= Antoine Jacoutot <ajacoutot@lphp.org>
EXTRACT_SUFX= .tar.bz2
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c m stdc++
MAINTAINER= Peter Valchev <pvalchev@openbsd.org>
WANTLIB= c m ncurses readline stdc++ z
HOMEPAGE= http://www.pilot-link.org
MODULES= converters/libiconv
LIB_DEPENDS= png.4::graphics/png
MASTER_SITES= ${HOMEPAGE}/source/
FLAVORS= debug
FLAVOR?=
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS= --enable-static \
--with-perl5="/usr/bin/perl" \
--without-itcl \
--without-python \
--without-java
.if ${FLAVOR:L:Mdebug}
LIB_DEPENDS= tk83::x11/tk/8.3
WANTLIB+= X11 Xext readline tcl83 termcap
.else
CONFIGURE_ARGS+= --without-tcl --without-tk
.if exists(${LOCALBASE}/lib/libpisock.a)
BROKEN= "You must remove the existing pilot-link installation before compiling this version"
.endif
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/scripts
USE_GMAKE= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/libpng" \
LDFLAGS="-L${LOCALBASE}/lib" \
ac_cv_lib_png_main=yes
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
--with-libiconv=${LOCALBASE} \
--with-libpng=${LOCALBASE} \
--with-perl=/usr/bin/perl \
--without-efence \
--without-java \
--without-python \
--without-tcl
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
MD5 (pilot-link.0.9.5.tar.bz2) = f5f4eb673fe277b2738c889bb355b269
RMD160 (pilot-link.0.9.5.tar.bz2) = cce5cd1a3d71db2f69c431cfd72e91e4080bca84
SHA1 (pilot-link.0.9.5.tar.bz2) = cb026637bebad22a273b38edfd8633853d13e065
MD5 (pilot-link-0.11.8.tar.bz2) = 586f84add601e8b86da3093ab784e997
RMD160 (pilot-link-0.11.8.tar.bz2) = c51c069810edff6c2e38e4c81f2daa959c902ad4
SHA1 (pilot-link-0.11.8.tar.bz2) = 645d4bc49dd4dc4793d13b6e04dd61f24c2bf717

View File

@ -1,56 +0,0 @@
$OpenBSD: patch-Makefile_in,v 1.3 2002/02/18 21:37:41 pvalchev Exp $
--- Makefile.in.orig Tue Jun 19 10:25:29 2001
+++ Makefile.in Mon Feb 18 14:23:28 2002
@@ -19,7 +19,7 @@ TCLTK_LIBS = @TCLTKLIBS@
# Include directives needed to compile with Tcl & Tk, and
# -DTCL if Tcl is available, and
# -DTK if Tk is available.
-TCLTK_FLAGS = @TCLTKFLAGS@
+TCLTK_FLAGS = @TCLTKFLAGS@ -I${X11BASE}/include
# Libraries needed to link with GNU readline
RLLIBS = @RLLIBS@
@@ -115,32 +115,32 @@ libcc/libpicc.a: FORCE
$(SUBMAKE_COMM_CC) libpicc.a
installdirs:
- $(SHELL) ${srcdir}/scripts/mkinstalldirs $(bindir) $(includedir) $(libdir) $(pixdir) $(mandir1) $(mandir7)
+ $(SHELL) ${srcdir}/scripts/mkinstalldirs ${DESTDIR}/$(bindir) \
+ ${DESTDIR}/$(includedir) ${DESTDIR}/$(libdir) \
+ ${DESTDIR}/$(pixdir) ${DESTDIR}/$(mandir1) \
+ ${DESTDIR}/$(mandir7)
install: $(EXECS) installdirs $(PILIB) $(PICCLIB)
- $(INSTALL_DATA) $(PILIB) $(libdir)/libpisock.la
- if test -n "$(PICCLIB)"; then \
- $(INSTALL_DATA) $(PICCLIB) $(libdir)/libpicc.la; \
- fi
+ $(LIBTOOL) $(INSTALL_DATA) $(PILIB) ${DESTDIR}/$(libdir)/libpisock.la
+ $(LIBTOOL) $(INSTALL_DATA) $(PICCLIB) ${DESTDIR}/$(libdir)/libpicc.la
for p in $(CEXECS); do \
$(STRIP) ".libs/$$p"; \
done
for p in $(EXECS); do \
- $(INSTALL_PROGRAM) $$p $(bindir)/$$p; \
+ $(LIBTOOL) $(INSTALL_PROGRAM) $$p ${DESTDIR}/$(bindir)/$$p; \
done
for h in include/*.h $(srcdir)/include/*.h include/*.hxx $(srcdir)/include/*.hxx; do \
- $(INSTALL_DATA) $$h $(includedir)/`basename $$h`; \
+ $(INSTALL_DATA) $$h ${DESTDIR}/$(includedir)/`basename $$h`; \
done
for m in ${srcdir}/man/*.1; do \
- $(INSTALL_DATA) $$m $(mandir1)/`basename $$m`; \
+ $(INSTALL_DATA) $$m ${DESTDIR}/$(mandir1)/`basename $$m`; \
done
for m in ${srcdir}/man/*.7; do \
- $(INSTALL_DATA) $$m $(mandir7)/`basename $$m`; \
+ $(INSTALL_DATA) $$m ${DESTDIR}/$(mandir7)/`basename $$m`; \
done
for p in $(srcdir)/tools/pix/*.gif $(srcdir)/tools/pix/*.xbm; do \
- $(INSTALL_DATA) $$p $(pixdir)/`basename $$p`; \
+ $(INSTALL_DATA) $$p ${DESTDIR}/$(pixdir)/`basename $$p`; \
done
- $(LIBTOOL) -n --finish $(libdir)
uninstall:
-for p in $(EXECS) $(PERLEXECS) $(CXXEXECS) $(TCLEXECS); do \

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-bindings_Makefile_in,v 1.1 2004/12/11 04:59:46 pvalchev Exp $
--- bindings/Makefile.in.orig Tue Jul 1 13:09:05 2003
+++ bindings/Makefile.in Fri Dec 10 21:51:33 2004
@@ -355,7 +355,7 @@ python-clean: Python/setup.py
#
Perl/Makefile: Perl/Makefile.PL
- cd Perl && $(PERL) Makefile.PL INSTALLDIRS=vendor
+ cd Perl && $(PERL) Makefile.PL INSTALLDIRS=site
perl-build: Perl/Makefile
cd Perl && $(MAKE) PREFIX=$(DESTDIR)$(prefix)

View File

@ -1,90 +1,29 @@
$OpenBSD: patch-configure,v 1.3 2004/08/09 11:46:23 espie Exp $
--- configure.orig Tue Mar 13 05:06:17 2001
+++ configure Mon Aug 9 13:32:27 2004
@@ -1736,7 +1736,7 @@ int main() {
EOF
if { (eval echo configure:1738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
- RLLIBS="-lreadline"
+ RLLIBS="-lreadline -lcurses"
$OpenBSD: patch-configure,v 1.4 2004/12/11 04:59:46 pvalchev Exp $
--- configure.orig Tue Jul 1 13:08:40 2003
+++ configure Fri Dec 10 21:51:33 2004
@@ -3010,7 +3010,7 @@ fi
if test "${lt_cv_path_LD+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
@@ -2829,8 +2829,10 @@ fi
itcl=''
if test "x$with_tcl" = "xyes" || test "x$with_tcl" = "x" ; then
for tcl_path in /usr /usr/local /usr/lib/tcl8.3 /usr/local/tcl8.0 /usr/local/tcl7.6 /usr/local/tcl7.5 /usr/local/tcl7.4; do
- if test -f $tcl_path/lib/tclConfig.sh; then
+ if test -f $tcl_path/lib/tcl8.3/tclConfig.sh; then
with_tcl=$tcl_path; break
+ elif test -f $tcl_path/lib/tclConfig.sh; then
+ with_tcl=$tcl_path; break
elif test -f $tcl_path/lib/itcl/tclConfig.sh; then
itcl='/itcl'
with_tcl=$tcl_path; break
@@ -2870,13 +2872,13 @@ if test "x$with_tcl" = "x"; then
elif test "x$with_tcl" = "xno"; then
echo "$ac_t""not used" 1>&6
else
- tclConfig="$with_tcl/lib$itcl/tclConfig.sh"
+ tclConfig="$with_tcl/lib/tcl8.3$itcl/tclConfig.sh"
if test ! -f $tclConfig; then
echo "$ac_t""Unable to find tclConfig.sh" 1>&6
else
. $tclConfig
echo "$ac_t""version $TCL_VERSION from $tclConfig" 1>&6
- TCL_INC="-I$TCL_PREFIX/include$itcl"
+ TCL_INC="-I$TCL_PREFIX/include/tcl8.3$itcl"
TCL_BIN="$TCL_EXEC_PREFIX/bin"
TCLLIBS="$TCL_LIB_SPEC $TCL_LIBS"
TCLTKLIBS="$TCLLIBS"
@@ -2889,7 +2891,7 @@ else
if test "x$with_itcl" = "xyes" || test "x$with_itcl" = "x"; then
for itcl_path in $with_tcl; do
- if test -f $itcl_path/lib$itcl/itclConfig.sh; then
+ if test -f $itcl_path/lib/tcl8.3$itcl/itclConfig.sh; then
with_itcl=$itcl_path; break
fi
done
@@ -2907,13 +2909,13 @@ echo "configure:2905: checking for Itcl"
elif test "x$with_itcl" = "xno"; then
echo "$ac_t""not used" 1>&6
else
- itclConfig="$with_itcl/lib$itcl/itclConfig.sh"
+ itclConfig="$with_itcl/lib/tcl8.3$itcl/itclConfig.sh"
if test ! -f $itclConfig; then
echo "$ac_t""Unable to find itclConfig.sh" 1>&6
else
. $itclConfig
echo "$ac_t""version $ITCL_VERSION from $itclConfig" 1>&6
- ITCL_INC="-I$TK_PREFIX/include$itcl"
+ ITCL_INC="-I$TK_PREFIX/include/tcl8.3$itcl"
#TK_BIN="$TK_EXEC_PREFIX/bin"
#TKLIBS="$TK_LIB_SPEC $TCL_LIB_SPEC $TK_LIBS"
#TCLTK_LIBS="\$(TK_LIB_SPEC) \$(TCL_LIB_SPEC) \$(TK_LIBS)"
@@ -2931,7 +2933,7 @@ echo "configure:2905: checking for Itcl"
- if test -z "$LD"; then
+ if true; then
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
for ac_dir in $PATH; do
test -z "$ac_dir" && ac_dir=.
@@ -9259,14 +9259,14 @@ _ACEOF
usb_type=linux
msg_usb="yes, Linux"
;;
- *freebsd*)
+ *bsd*)
cat >>confdefs.h <<\_ACEOF
#define HAVE_USB 1
_ACEOF
usb_type=freebsd
- msg_usb="yes, FreeBSD"
+ msg_usb="yes, FreeBSD (OpenBSD)"
;;
esac
if test "x$with_tk" = "xyes" || test "x$with_tk" = "x"; then
for tk_path in $with_tcl; do
- if test -f $tk_path/lib$itcl/tkConfig.sh; then
+ if test -f $tk_path/lib/tk8.3$itcl/tkConfig.sh; then
with_tk=$tk_path; break
fi
done
@@ -2949,13 +2951,13 @@ echo "configure:2947: checking for Tk" >
elif test "x$with_tk" = "xno"; then
echo "$ac_t""not used" 1>&6
else
- tkConfig="$with_tk/lib$itcl/tkConfig.sh"
+ tkConfig="$with_tk/lib/tk8.3$itcl/tkConfig.sh"
if test ! -f $tkConfig; then
echo "$ac_t""Unable to find tkConfig.sh" 1>&6
else
. $tkConfig
echo "$ac_t""version $TK_VERSION from $tkConfig" 1>&6
- TK_INC="-I$TK_PREFIX/include$itcl"
+ TK_INC="-I$TK_PREFIX/include/tk8.3$itcl"
TK_BIN="$TK_EXEC_PREFIX/bin"
TKLIBS="$TK_LIB_SPEC $TCL_LIB_SPEC $TK_LIBS"
TCLTK_LIBS="\$(TK_LIB_SPEC) \$(TCL_LIB_SPEC) \$(TK_LIBS)"

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-include_pi-address_hxx,v 1.1 2002/09/27 18:02:28 naddy Exp $
--- include/pi-address.hxx.orig Mon Jul 31 02:16:54 2000
+++ include/pi-address.hxx Fri Sep 27 19:59:27 2002
@@ -33,7 +33,7 @@ class address_t : public baseApp_t
char *_entry[19];
- friend addressList_t;
+ friend class addressList_t;
address_t *_next;

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-include_pi-datebook_hxx,v 1.1 2002/09/27 18:02:28 naddy Exp $
--- include/pi-datebook.hxx.orig Mon Jul 31 02:18:40 2000
+++ include/pi-datebook.hxx Fri Sep 27 19:59:27 2002
@@ -34,7 +34,7 @@ class appointment_t : public baseApp_t
};
private:
- friend appointmentList_t;
+ friend class appointmentList_t;
tm _begin; // When the appointment begins
tm _end; // When the appointment ends

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-include_pi-iambicExpense_hxx,v 1.1 2002/09/27 18:02:28 naddy Exp $
--- include/pi-iambicExpense.hxx.orig Mon Jul 31 02:13:34 2000
+++ include/pi-iambicExpense.hxx Fri Sep 27 19:59:27 2002
@@ -27,7 +27,7 @@ class iambicExpenseList_t; // Forward d
class iambicExpense_t : public baseApp_t
{
- friend iambicExpenseList_t;
+ friend class iambicExpenseList_t;
short _flags;
char *_type;

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-include_pi-memo_hxx,v 1.1 2002/09/27 18:02:28 naddy Exp $
--- include/pi-memo.hxx.orig Mon Jul 31 02:13:34 2000
+++ include/pi-memo.hxx Fri Sep 27 19:59:27 2002
@@ -19,7 +19,7 @@ class memoList_t; // Forward declaratio
class memo_t : public baseApp_t
{
- friend memoList_t;
+ friend class memoList_t;
char *_text;
int _size;

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-include_pi-todo_hxx,v 1.1 2002/09/27 18:02:28 naddy Exp $
--- include/pi-todo.hxx.orig Mon Jul 31 02:13:34 2000
+++ include/pi-todo.hxx Fri Sep 27 19:59:27 2002
@@ -23,7 +23,7 @@ class todoList_t;
class todo_t : public baseApp_t
{
- friend todoList_t;
+ friend class todoList_t;
struct tm *_due; // Non-NULL if there is a due date
int _priority; // A priority in the range 1-5

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-libpisock_freebsdusb_c,v 1.1 2004/12/11 04:59:46 pvalchev Exp $
--- libpisock/freebsdusb.c.orig Tue Aug 6 02:51:38 2002
+++ libpisock/freebsdusb.c Fri Dec 10 21:51:33 2004
@@ -50,7 +50,7 @@
# define O_NONBLOCK 0
#endif
-#if defined(__FreeBSD__)
+#if defined(__FreeBSD__) || defined(__OpenBSD__)
/* freebsd usb header */
#include <dev/usb/usb.h>
#define MAX_BUF 256

View File

@ -0,0 +1,28 @@
$OpenBSD: patch-libpisock_unixserial_c,v 1.1 2004/12/11 04:59:46 pvalchev Exp $
--- libpisock/unixserial.c.orig Tue Jul 30 09:52:24 2002
+++ libpisock/unixserial.c Fri Dec 10 21:51:33 2004
@@ -178,13 +178,23 @@ s_open(struct pi_socket *ps, struct pi_s
i;
char *tty = addr->pi_device;
struct pi_serial_data *data = (struct pi_serial_data *)ps->device->data;
+#define maxretries 100
+ int retries;
#ifndef SGTTY
struct termios tcn;
#else
struct sgttyb tcn;
#endif
- if ((fd = open(tty, O_RDWR | O_NONBLOCK)) == -1) {
+
+ for (retries = 0 ; retries <= maxretries ; retries++ ) {
+ if ((fd = open(tty, O_RDWR | O_NONBLOCK)) != -1) {
+ break;
+ }
+ usleep(50000);
+ }
+
+ if (fd == -1) {
return -1; /* errno already set */
}

File diff suppressed because it is too large Load Diff

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-pilot-mail_c,v 1.2 2002/02/18 21:37:41 pvalchev Exp $
--- pilot-mail.c.orig Mon May 21 00:55:45 2001
+++ pilot-mail.c Mon Feb 18 13:20:26 2002
@@ -28,7 +28,7 @@
#define POPUSER ""
#define POPPASS ""
#define PILOTFROM ""
-#define SENDMAIL "/usr/lib/sendmail -t -i"
+#define SENDMAIL "/usr/sbin/sendmail -t -i"
#define POPKEEP "keep"
#define DISPOSE "keep"
#define TOPILOT_MHDIR ""

View File

@ -1,14 +0,0 @@
$OpenBSD: patch-pilot-schlep_c,v 1.2 2002/09/07 04:26:50 pvalchev Exp $
--- pilot-schlep.c.orig Mon May 21 00:55:45 2001
+++ pilot-schlep.c Fri Sep 6 22:25:52 2002
@@ -71,8 +71,8 @@ void Connect(void)
exit(1);
}
- printf
- (" Port: %s\n\n Please press the HotSync button now...\n",
+ fprintf
+ (stderr, "Port: %s\n\n Please press the HotSync button now...\n",
device);
ret = pi_listen(sd, 1);

View File

@ -1,36 +0,0 @@
$OpenBSD: patch-scripts_ltconfig,v 1.2 2002/02/18 21:37:41 pvalchev Exp $
--- scripts/ltconfig.orig Fri Oct 27 17:10:06 2000
+++ scripts/ltconfig Mon Feb 18 13:20:49 2002
@@ -706,7 +706,7 @@ hardcode_shlibpath_var=unsupported
runpath_var=
case "$host_os" in
-amigaos* | sunos4*)
+amigaos* | sunos4* | openbsd*)
# On these operating systems, we should treat GNU ld like the system ld.
gnu_ld_acts_native=yes
;;
@@ -819,10 +819,21 @@ else
;;
openbsd*)
- archive_cmds='$LD -Bshareable -o $lib$libobjs'
- hardcode_libdir_flag_spec='-R$libdir'
hardcode_direct=yes
hardcode_shlibpath_var=no
+ case "$host_os" in
+ openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
+ archive_cmds='$LD -Bshareable -o $lib$libobjs'
+ hardcode_libdir_flag_spec='-R$libdir'
+ ;;
+ *)
+ archive_cmds='$CC -shared $pic_flag -o $lib$libobjs'
+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
+ if [ "`/usr/bin/file /usr/lib/libc.so.* | grep ELF`" != "" ]; then
+ export_dynamic_flag_spec='${wl}-E'
+ fi
+ ;;
+ esac
;;
os2*)

View File

@ -1,89 +0,0 @@
$OpenBSD: patch-scripts_ltmain_sh,v 1.2 2004/08/09 11:46:23 espie Exp $
--- scripts/ltmain.sh.orig Mon Jul 31 02:13:38 2000
+++ scripts/ltmain.sh Mon Aug 9 13:32:27 2004
@@ -506,8 +506,29 @@ if test -z "$show_help"; then
deplibs="$deplibs $arg"
;;
- -l*) deplibs="$deplibs $arg" ;;
+ -l*)
+ if test "$arg" = "-lc"; then
+ case "$host" in
+ *-*-openbsd*)
+ # Do not include libc due to us having libc/libc_r.
+ continue
+ ;;
+ esac
+ elif test "$arg" = "-lc_r"; then
+ case "$host" in
+ *-*-openbsd*)
+ # Do not include libc_r directly, use -pthread flag.
+ continue
+ ;;
+ esac
+ fi
+ deplibs="$deplibs $arg"
+ ;;
+ -?thread)
+ deplibs="$deplibs $arg"
+ ;;
+
-no-undefined)
allow_undefined=no
continue
@@ -1002,7 +1023,15 @@ if test -z "$show_help"; then
# Add libc to deplibs on all systems.
dependency_libs="$deplibs"
- deplibs="$deplibs -lc"
+ case "$host_os" in
+ openbsd*)
+ # do not include libc due to us having libc/libc_r.
+ ;;
+ *)
+ # Add libc to deplibs on all other systems.
+ deplibs="$deplibs -lc"
+ ;;
+ esac
if test "$build_libtool_libs" = yes; then
# Get the real and link names of the library.
@@ -2023,37 +2052,6 @@ libdir='$install_libdir'\
done
fi
- echo "------------------------------------------------------------------------------"
- echo "Libraries have been installed in:"
- for libdir in $libdirs; do
- echo " $libdir"
- done
- echo
- echo "To link against installed libraries in a given directory, LIBDIR,"
- echo "you must use the \`-LLIBDIR' flag during linking."
- echo
- echo " You will also need to do one of the following:"
- if test -n "$shlibpath_var"; then
- echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
- echo " during execution"
- fi
- if test -n "$runpath_var"; then
- echo " - add LIBDIR to the \`$runpath_var' environment variable"
- echo " during linking"
- fi
- if test -n "$hardcode_libdir_flag_spec"; then
- libdir=LIBDIR
- eval flag=\"$hardcode_libdir_flag_spec\"
-
- echo " - use the \`$flag' linker flag"
- fi
- if test -f /etc/ld.so.conf; then
- echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
- fi
- echo
- echo "See any operating system documentation about shared libraries for"
- echo "more information, such as the ld(1) and ld.so(8) manual pages."
- echo "------------------------------------------------------------------------------"
exit 0
;;

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_Makefile_in,v 1.1 2004/12/11 04:59:46 pvalchev Exp $
--- src/Makefile.in.orig Tue Jul 1 13:09:01 2003
+++ src/Makefile.in Fri Dec 10 21:51:33 2004
@@ -100,7 +100,7 @@ PISYNC_AGE = @PISYNC_AGE@
PISYNC_CURRENT = @PISYNC_CURRENT@
PISYNC_REVISION = @PISYNC_REVISION@
PNG_CFLAGS = @PNG_CFLAGS@
-PNG_LIBS = @PNG_LIBS@
+PNG_LIBS = @PNG_LIBS@ -lz -lm
PYTHON = @PYTHON@
RANLIB = @RANLIB@
RL_CFLAGS = @RL_CFLAGS@

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_read-todos_c,v 1.1 2004/12/11 04:59:46 pvalchev Exp $
--- src/read-todos.c.orig Tue Jul 1 12:28:30 2003
+++ src/read-todos.c Fri Dec 10 21:51:33 2004
@@ -184,7 +184,7 @@ int main(int argc, char *argv[])
printf("Priority: %d\n", t.priority);
printf("Completed: %s\n", t.complete ? "Yes" : "No");
if (t.indefinite)
- printf("Due: No Date");
+ printf("Due: No Date\n");
else
printf("Due: %s", asctime(&t.due));
if (t.description)

View File

@ -1,40 +0,0 @@
$OpenBSD: patch-unixserial_c,v 1.2 2002/09/06 06:25:31 pvalchev Exp $
--- libsock/unixserial.c.orig Wed Jun 6 14:00:17 2001
+++ libsock/unixserial.c Thu Sep 5 23:47:21 2002
@@ -156,6 +156,13 @@ pi_serial_open(struct pi_socket *ps, str
int i;
+ /* Here we need a workaround for BSD USB device used with newer
+ Handspring devices (namely Platinum, Prism, Edge and Treo) */
+
+#define maxretries 100
+ int retries;
+ int rc;
+
#ifndef SGTTY
struct termios tcn;
#else
@@ -167,9 +174,20 @@ pi_serial_open(struct pi_socket *ps, str
if (!tty)
tty = "<Null>";
+ for (retries = 0 ; retries <= maxretries ; retries++ ) {
+ if ((rc = open(tty, O_RDWR | O_NONBLOCK)) == -1) {
+ usleep(50000);
+ } else {
+ ps->mac->fd = rc;
+ break;
+ }
+ }
+
+/* Huh? already open(2) above
if ((ps->mac->fd = open(tty, O_RDWR | O_NONBLOCK)) == -1) {
+*/
+ if (rc == -1)
return -1; /* errno already set */
- }
if (!isatty(ps->mac->fd)) {
close(ps->mac->fd);

View File

@ -1,5 +1,12 @@
Pilot-link is a series of tools designed to extract and add data to a
PalmPilot organizer. There are programs in here to transfer data, debug
the pilot, synchronize with calendars, and a set of include files and
libraries with which you may build your own applications in C, C++,
Perl5, Tcl, Java, and Python.
pilot-link is a suite of tools used to connect your Palm or PalmOS® compatible
handheld with Unix, Linux, and any other POSIX-compatible machine. pilot-link
works with all PalmOS® handhelds, including those made by Handspring, Sony, and
Palm, as well as others.
pilot-link includes userspace "conduits" that allow you to syncronize
information to and from your Palm device, as well as libraries of
Palm-compatible functions that allow other applications to take advantage of the
code included in pilot-link.
There are also several language "bindings" that allow you to use your favorite
development language with pilot-link, such as Java, Tcl, Perl, and Python.

View File

@ -1,2 +0,0 @@
@comment $OpenBSD: PFRAG.debug,v 1.2 2004/08/09 11:46:23 espie Exp $
bin/pilot${FLAVOR_EXT}

View File

@ -1,2 +1,5 @@
@comment $OpenBSD: PFRAG.shared,v 1.3 2004/08/09 11:46:23 espie Exp $
@lib lib/libpisock.so.4.0
@comment $OpenBSD: PFRAG.shared,v 1.4 2004/12/11 04:59:46 pvalchev Exp $
@lib lib/libpisock++.so.0.0
@lib lib/libpisock.so.8.5
@lib lib/libpisync.so.0.1
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/PDA/Pilot/Pilot.so

View File

@ -1,15 +1,16 @@
@comment $OpenBSD: PLIST,v 1.10 2004/08/09 11:46:23 espie Exp $
@comment $OpenBSD: PLIST,v 1.11 2004/12/11 04:59:46 pvalchev Exp $
bin/addresses
bin/ccexample
bin/debugsh
bin/dlpsh
bin/getrom
bin/hinotes
bin/iambicexample
bin/ietf2datebook
bin/install-datebook
bin/install-expenses
bin/install-hinote
bin/install-memo
bin/install-netsync
bin/install-todo
bin/install-todos
bin/install-user
bin/memos
@ -17,19 +18,23 @@ bin/money2qif
bin/pi-csd
bin/pi-getram
bin/pi-getrom
bin/pi-getromtoken
bin/pi-nredir
bin/pi-port
bin/pilot-addresses
bin/pilot-archive
bin/pilot-clip
bin/pilot-datebook
bin/pilot-dedupe
bin/pilot-file
bin/pilot-mail
bin/pilot-foto
bin/pilot-prc
bin/pilot-schlep
bin/pilot-undelete
bin/pilot-xfer
bin/read-expenses
bin/read-ical
bin/read-notepad
bin/read-palmpix
bin/read-todos
bin/reminders
bin/sync-plan
@ -39,61 +44,91 @@ include/pi-appinfo.h
include/pi-appinfo.hxx
include/pi-args.h
include/pi-cmp.h
include/pi-config-win32.h
include/pi-config.h
include/pi-datebook.h
include/pi-datebook.hxx
include/pi-debug.h
include/pi-dlp.h
include/pi-dlp.hxx
include/pi-expense.h
include/pi-file.h
include/pi-header.h
include/pi-hinote.h
include/pi-iambicExpense.h
include/pi-iambicExpense.hxx
include/pi-inet.h
include/pi-inetserial.h
include/pi-macros.h
include/pi-mail.h
include/pi-md5.h
include/pi-memo.h
include/pi-memo.hxx
include/pi-money.h
include/pi-net.h
include/pi-notepad.h
include/pi-padp.h
include/pi-palmpix.h
include/pi-serial.h
include/pi-slp.h
include/pi-sockaddr-win32.h
include/pi-sockaddr.h
include/pi-socket.h
include/pi-source.h
include/pi-sync.h
include/pi-sys.h
include/pi-syspkt.h
include/pi-todo.h
include/pi-todo.hxx
include/pi-usb.h
include/pi-util.h
include/pi-version.h
lib/libpicc.a
lib/libpisock++.a
lib/libpisock++.la
lib/libpisock.a
lib/libpisock.la
lib/pix/
lib/pix/b1.gif
lib/pix/b2.gif
lib/pix/b3.gif
lib/pix/b4.gif
lib/pix/b5.gif
lib/pix/b6.gif
lib/pix/b7.gif
lib/pix/case.gif
lib/pix/case.xbm
lib/pix/casemask.xbm
lib/libpisync.a
lib/libpisync.la
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/PDA/
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/PDA/Pilot.pm
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/PDA/dump.pl
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/PDA/
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/PDA/Pilot/
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/PDA/Pilot/Pilot.bs
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/PDA/Pilot/autosplit.ix
@man man/man1/addresses.1
@man man/man1/dlpsh.1
@man man/man1/hinotes.1
@man man/man1/ietf2datebook.1
@man man/man1/install-datebook.1
@man man/man1/install-expenses.1
@man man/man1/install-hinote.1
@man man/man1/install-memo.1
@man man/man1/install-netsync.1
@man man/man1/install-todo.1
@man man/man1/install-user.1
@man man/man1/memos.1
@man man/man1/pi-getram.1
@man man/man1/pi-getrom.1
@man man/man1/pilot-addresses.1
@man man/man1/pilot-foto.1
@man man/man1/pilot-xfer.1
@man man/man1/read-expenses.1
@man man/man1/read-ical.1
@man man/man1/read-notepad.1
@man man/man1/read-palmpix.1
@man man/man1/read-todos.1
@man man/man7/pilot-link.7
%%debug%%
share/aclocal/
share/aclocal/pilot-link.m4
share/pilot-link/
share/pilot-link/getrom.prc
share/pilot-link/getrom2.prc
share/pilot-link/pix/
share/pilot-link/pix/b1.gif
share/pilot-link/pix/b2.gif
share/pilot-link/pix/b3.gif
share/pilot-link/pix/b4.gif
share/pilot-link/pix/b5.gif
share/pilot-link/pix/b6.gif
share/pilot-link/pix/b7.gif
share/pilot-link/pix/case.gif
share/pilot-link/pix/case.xbm
share/pilot-link/pix/casemask.xbm
%%SHARED%%