Hi all, I try to make to work ftpobex with my Nokia N72. I try with new versions for openobex and ftpobex. It's compile fine but if i try to list compatible USB obex device, my phone isn't found.
bash-3.2# obexftp -u Found 0 USB OBEX interfaces Use '-u interface_number' to connect Nothing to do. Use --help for help. My phone is connected : bash-3.2# usbdevs -v Controller /dev/usb0: addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), Intel(0x8086), rev 1.00 port 1 powered port 2 powered port 3 powered port 4 powered port 5 powered port 6 powered Controller /dev/usb1: addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), Intel(0x8086), rev 1.00 port 1 powered port 2 powered port 3 powered port 4 powered port 5 powered port 6 powered Controller /dev/usb2: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x8086), rev 1.00 port 1 addr 2: full speed, power 100 mA, config 1, Nokia N72(0x04c4), Nokia(0x0421), rev 0.00 port 2 powered Controller /dev/usb3: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x8086), rev 1.00 port 1 addr 2: low speed, power 98 mA, config 1, USB Optical Mouse(0x00c3), vendor 0x15ca(0x15ca), rev 5.12 port 2 powered Controller /dev/usb4: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x8086), rev 1.00 port 1 powered port 2 powered Controller /dev/usb5: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x8086), rev 1.00 port 1 powered port 2 powered I join my dmesg: OpenBSD 4.4-beta (GENERIC.MP) #1759: Tue Jul 1 20:52:58 MDT 2008 [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 3476131840 (3315MB) avail mem = 3372560384 (3216MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf06e0 (71 entries) bios0: vendor American Megatrends Inc. version "0704" date 10/30/2007 bios0: ASUSTeK Computer INC. P5K acpi0 at bios0: rev 2 acpi0: tables DSDT FACP APIC MCFG OEMB HPET OSFR acpi0: wakeup devices P0P2(S4) P0P1(S4) UAR1(S4) PS2K(S4) EUSB(S4) USBE(S4) P0P5(S4) P0P6(S4) P0P7(S4) P0P8(S4) P0P9(S4) USB0(S4) USB1(S4) USB2(S4) USB3 (S4) USB4(S4) USB5(S4) USB6(S4) P0P4(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2405.80 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR,NXE,LONG cpu0: 4MB 64b/line 16-way L2 cache cpu0: apic clock running at 267MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2405.46 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR,NXE,LONG cpu1: 4MB 64b/line 16-way L2 cache cpu2 at mainbus0: apid 2 (application processor) cpu2: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2405.46 MHz cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR,NXE,LONG cpu2: 4MB 64b/line 16-way L2 cache cpu3 at mainbus0: apid 3 (application processor) cpu3: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2405.46 MHz cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR,NXE,LONG cpu3: 4MB 64b/line 16-way L2 cache ioapic0 at mainbus0 apid 4 pa 0xfec00000, version 20, 24 pins acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (P0P2) acpiprt2 at acpi0: bus 5 (P0P1) acpiprt3 at acpi0: bus -1 (P0P5) acpiprt4 at acpi0: bus -1 (P0P6) acpiprt5 at acpi0: bus -1 (P0P7) acpiprt6 at acpi0: bus 3 (P0P8) acpiprt7 at acpi0: bus 2 (P0P9) acpiprt8 at acpi0: bus 4 (P0P4) acpicpu0 at acpi0: PSS acpicpu1 at acpi0: PSS acpicpu2 at acpi0: PSS acpicpu3 at acpi0: PSS acpibtn0 at acpi0: PWRB pci0 at mainbus0 bus 0: configuration mode 1 pchb0 at pci0 dev 0 function 0 "Intel 82G33 Host" rev 0x02 ppb0 at pci0 dev 1 function 0 "Intel 82G33 PCIE" rev 0x02: apic 4 int 16 (irq 11) pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 vendor "ATI", unknown product 0x9442 rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) agp0 at vga1: no integrated graphics azalia0 at pci1 dev 0 function 1 vendor "ATI", unknown product 0xaa30 rev 0x00: apic 4 int 17 (irq 10) azalia0: /usr/src/sys/dev/pci/azalia.c/1348 invalid PCM format: 0x00000000 azalia0: No codecs found uhci0 at pci0 dev 26 function 0 "Intel 82801I USB" rev 0x02: apic 4 int 16 (irq 11) uhci1 at pci0 dev 26 function 1 "Intel 82801I USB" rev 0x02: apic 4 int 21 (irq 3) uhci2 at pci0 dev 26 function 2 "Intel 82801I USB" rev 0x02: apic 4 int 18 (irq 5) ehci0 at pci0 dev 26 function 7 "Intel 82801I USB" rev 0x02: apic 4 int 18 (irq 5) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 azalia1 at pci0 dev 27 function 0 "Intel 82801I HD Audio" rev 0x02: apic 4 int 22 (irq 15) azalia1: codec[s]: Realtek ALC883 audio0 at azalia1 ppb1 at pci0 dev 28 function 0 "Intel 82801I PCIE" rev 0x02: apic 4 int 17 (irq 10) pci2 at ppb1 bus 4 ppb2 at pci0 dev 28 function 4 "Intel 82801I PCIE" rev 0x02: apic 4 int 17 (irq 10) pci3 at ppb2 bus 3 jmb0 at pci3 dev 0 function 0 "JMicron JMB363 IDE/SATA" rev 0x03 ahci0 at jmb0: apic 4 int 16 (irq 11), AHCI 1.0 scsibus0 at ahci0: 32 targets, initiator 32 pciide0 at jmb0: DMA, channel 0 wired to native-PCI, channel 1 wired to native-PCI pciide0: using apic 4 int 16 (irq 11) for native-PCI interrupt wd0 at pciide0 channel 0 drive 1: <Maxtor 6Y160P0> wd0: 16-sector PIO, LBA48, 156334MB, 320173056 sectors wd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 6 pciide0: channel 1 disabled (no drives) ppb3 at pci0 dev 28 function 5 "Intel 82801I PCIE" rev 0x02: apic 4 int 16 (irq 11) pci4 at ppb3 bus 2 "Attansic Technology L1" rev 0xb0 at pci4 dev 0 function 0 not configured uhci3 at pci0 dev 29 function 0 "Intel 82801I USB" rev 0x02: apic 4 int 23 (irq 7) uhci4 at pci0 dev 29 function 1 "Intel 82801I USB" rev 0x02: apic 4 int 19 (irq 14) uhci5 at pci0 dev 29 function 2 "Intel 82801I USB" rev 0x02: apic 4 int 18 (irq 5) ehci1 at pci0 dev 29 function 7 "Intel 82801I USB" rev 0x02: apic 4 int 23 (irq 7) usb1 at ehci1: USB revision 2.0 uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb4 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0x92 pci5 at ppb4 bus 5 xl0 at pci5 dev 1 function 0 "3Com 3c905C 100Base-TX" rev 0x74: apic 4 int 17 (irq 10), address 00:01:02:da:a4:34 bmtphy0 at xl0 phy 24: Broadcom 3C905C internal PHY, rev. 6 "VIA VT6306 FireWire" rev 0xc0 at pci5 dev 3 function 0 not configured pcib0 at pci0 dev 31 function 0 "Intel 82801IB LPC" rev 0x02 pciide1 at pci0 dev 31 function 2 "Intel 82801I SATA" rev 0x02: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI pciide1: using apic 4 int 22 (irq 15) for native-PCI interrupt wd1 at pciide1 channel 1 drive 0: <MAXTOR STM3320820AS> wd1: 16-sector PIO, LBA48, 305245MB, 625142448 sectors wd1(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 5 ichiic0 at pci0 dev 31 function 3 "Intel 82801I SMBus" rev 0x02: apic 4 int 18 (irq 5) iic0 at ichiic0 spdmem0 at iic0 addr 0x50: 2GB DDR2 SDRAM non-parity PC2-6400CL5 spdmem1 at iic0 addr 0x52: 2GB DDR2 SDRAM non-parity PC2-6400CL5 pciide2 at pci0 dev 31 function 5 "Intel 82801I SATA" rev 0x02: DMA, channel 0 wired to native-PCI, channel 1 wired to native-PCI pciide2: using apic 4 int 22 (irq 15) for native-PCI interrupt usb2 at uhci0: USB revision 1.0 uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb3 at uhci1: USB revision 1.0 uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb4 at uhci2: USB revision 1.0 uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb5 at uhci3: USB revision 1.0 uhub5 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb6 at uhci4: USB revision 1.0 uhub6 at usb6 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb7 at uhci5: USB revision 1.0 uhub7 at usb7 "Intel UHCI root hub" rev 1.00/1.00 addr 1 isa0 at pcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: <PC speaker> spkr0 at pcppi0 wbsio0 at isa0 port 0x2e/2: W83627DHG rev 0x23 lm1 at wbsio0 port 0x290/8: W83627DHG fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 mtrr: Pentium Pro MTRR support uhidev0 at uhub3 port 1 configuration 1 interface 0 "vendor 0x15ca USB Optical Mouse" rev 2.00/5.12 addr 2 uhidev0: iclass 3/1 ums0 at uhidev0: 3 buttons, Z dir wsmouse0 at ums0 mux 0 softraid0 at root root on wd1a swap on wd1b dump on wd1b umodem0 at uhub2 port 2 configuration 1 interface 8 "Nokia Nokia N72" rev 2.00/0.00 addr 2 umodem0: data interface 9, has no CM over data, has break umodem0: status change notification available ucom0 at umodem0 And diff for use last obexftp and openobex version. If Anyone has an idea. Thanks, BSDManiak
diff -urN /usr/ports/comms/obexftp/Makefile comms/obexftp/Makefile --- /usr/ports/comms/obexftp/Makefile Sun Sep 16 03:37:09 2007 +++ comms/obexftp/Makefile Fri Jul 4 22:01:33 2008 @@ -1,11 +1,10 @@ # $OpenBSD: Makefile,v 1.9 2007/09/16 01:37:09 merdely Exp $ COMMENT= file copying over the OBEX protocol -DISTNAME= obexftp-0.10.4 -PKGNAME= ${DISTNAME}p1 -SHARED_LIBS += bfb 0.4 # .0.4 -SHARED_LIBS += cobexbfb 0.8 # .0.8 +DISTNAME= obexftp-0.22 +SHARED_LIBS += bfb 0.8 # .0.8 SHARED_LIBS += obexftp 0.11 # .0.11 +SHARED_LIBS += multicobex 1.1 CATEGORIES= comms HOMEPAGE= http://triq.net/obex/ @@ -15,13 +14,20 @@ PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes -WANTLIB= c +WANTLIB= c m usb MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openobex/} -LIB_DEPENDS= openobex.>=1::comms/openobex +LIB_DEPENDS= openobex.>=1::comms/openobex \ + ruby.>=1::lang/ruby \ + iconv.>=5::converters/libiconv CONFIGURE_STYLE= gnu USE_LIBTOOL= Yes +USE_GMAKE= Yes + +MODULES= lang/ruby + +EXTRACT_SUFX= .tar.bz2 .include <bsd.port.mk> diff -urN /usr/ports/comms/obexftp/distinfo comms/obexftp/distinfo --- /usr/ports/comms/obexftp/distinfo Thu Apr 5 17:37:47 2007 +++ comms/obexftp/distinfo Fri Jul 4 20:54:22 2008 @@ -1,5 +1,5 @@ -MD5 (obexftp-0.10.4.tar.gz) = oBuYPmQISBImBdkCK1E9tw== -RMD160 (obexftp-0.10.4.tar.gz) = 6vXGjvo++0a9TC4AphKMsXXEutU= -SHA1 (obexftp-0.10.4.tar.gz) = YYVBpjkCXxL99tkuCNPSYnIyKxQ= -SHA256 (obexftp-0.10.4.tar.gz) = gUAkvGYHGFZF0sA43yVJLTQLIokC9GhFTTtoFd5fdNM= -SIZE (obexftp-0.10.4.tar.gz) = 374317 +MD5 (obexftp-0.22.tar.bz2) = 0WfP3qJE46X5c6exaGRBnA== +RMD160 (obexftp-0.22.tar.bz2) = o5YP0VzXXPtwZsVl7p+pDcenwR8= +SHA1 (obexftp-0.22.tar.bz2) = h1OuEFNlOwHrDe7jt9McAqykl00= +SHA256 (obexftp-0.22.tar.bz2) = CWhwEtXgFid/pjjyK4x4SupoAwVscNFGFOO3UViq6Hc= +SIZE (obexftp-0.22.tar.bz2) = 402570 diff -urN /usr/ports/comms/obexftp/patches/CVS/Entries comms/obexftp/patches/CVS/Entries --- /usr/ports/comms/obexftp/patches/CVS/Entries Tue Jul 1 11:59:46 2008 +++ comms/obexftp/patches/CVS/Entries Thu Jan 1 01:00:00 1970 @@ -1,4 +0,0 @@ -/patch-obexftp_client_c/1.1.1.1/Fri Nov 12 08:06:54 2004// -/patch-obexftp_dirtraverse_c/1.1.1.1/Fri Nov 12 08:06:54 2004// -/patch-obexftp_obexftp_io_c/1.1.1.1/Fri Nov 12 08:06:54 2004// -D diff -urN /usr/ports/comms/obexftp/patches/CVS/Repository comms/obexftp/patches/CVS/Repository --- /usr/ports/comms/obexftp/patches/CVS/Repository Tue Jul 1 11:59:46 2008 +++ comms/obexftp/patches/CVS/Repository Thu Jan 1 01:00:00 1970 @@ -1 +0,0 @@ -ports/comms/obexftp/patches diff -urN /usr/ports/comms/obexftp/patches/CVS/Root comms/obexftp/patches/CVS/Root --- /usr/ports/comms/obexftp/patches/CVS/Root Tue Jul 1 11:59:46 2008 +++ comms/obexftp/patches/CVS/Root Thu Jan 1 01:00:00 1970 @@ -1 +0,0 @@ -/cvs diff -urN /usr/ports/comms/obexftp/patches/patch-configure comms/obexftp/patches/patch-configure --- /usr/ports/comms/obexftp/patches/patch-configure Thu Jan 1 01:00:00 1970 +++ comms/obexftp/patches/patch-configure Fri Jul 4 21:59:29 2008 @@ -0,0 +1,11 @@ +$OpenBSD$ +--- configure.orig Fri Jul 4 21:56:31 2008 ++++ configure Fri Jul 4 21:59:19 2008 +@@ -22915,6 +22915,7 @@ cat confdefs.h >>conftest.$ac_ext + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + ++ #include <sys/types.h> + #include <openobex/obex.h> + #include <openobex/obex_const.h> + diff -urN /usr/ports/comms/obexftp/patches/patch-obexftp_client_c comms/obexftp/patches/patch-obexftp_client_c --- /usr/ports/comms/obexftp/patches/patch-obexftp_client_c Fri Nov 12 09:06:54 2004 +++ comms/obexftp/patches/patch-obexftp_client_c Thu Jan 1 01:00:00 1970 @@ -1,45 +0,0 @@ -$OpenBSD: patch-obexftp_client_c,v 1.1.1.1 2004/11/12 08:06:54 grange Exp $ ---- obexftp/client.c.orig Thu Apr 29 23:44:07 2004 -+++ obexftp/client.c Mon Nov 8 23:13:21 2004 -@@ -78,6 +78,7 @@ - #endif - #endif - -+#include <limits.h> - - typedef struct { /* fixed to 6 bytes for now */ - uint8_t code; -@@ -427,10 +428,10 @@ int obexftp_cli_connect(obexftp_client_t - - } - #endif -- if (ret == -1 /* -ESOCKTNOSUPPORT */) -+ if (ret < 0 /* -ESOCKTNOSUPPORT */) - ret = IrOBEX_TransportConnect(cli->obexhandle, "OBEX"); - DEBUG(3, "%s() IR %d\n", __func__, ret); -- if (ret == -1 /* -ESOCKTNOSUPPORT */) -+ if (ret < 0 /* -ESOCKTNOSUPPORT */) - ret = OBEX_TransportConnect(cli->obexhandle, NULL, 0); - DEBUG(3, "%s() TC %d\n", __func__, ret); - #endif -@@ -899,6 +900,9 @@ static time_t atotime (const char *date) - - DIR *obexftp_opendir(obexftp_client_t *cli, const char *name) - { -+ struct dirstream *stream; -+ int res; -+ - /* purge stat buffer */ - while (statbuf != NULL) { - STATENTRY *p = statbuf->next; -@@ -908,8 +912,8 @@ DIR *obexftp_opendir(obexftp_client_t *c - statbuf = NULL; - - /* read dir */ -- struct dirstream *stream = malloc(sizeof(struct dirstream)); -- int res = 0; -+ stream = malloc(sizeof(struct dirstream)); -+ res = 0; - - /* List folder */ - res = obexftp_list(cli, NULL, name); diff -urN /usr/ports/comms/obexftp/patches/patch-obexftp_dirtraverse_c comms/obexftp/patches/patch-obexftp_dirtraverse_c --- /usr/ports/comms/obexftp/patches/patch-obexftp_dirtraverse_c Fri Nov 12 09:06:54 2004 +++ comms/obexftp/patches/patch-obexftp_dirtraverse_c Thu Jan 1 01:00:00 1970 @@ -1,11 +0,0 @@ -$OpenBSD: patch-obexftp_dirtraverse_c,v 1.1.1.1 2004/11/12 08:06:54 grange Exp $ ---- obexftp/dirtraverse.c.orig Wed Oct 20 22:11:21 2004 -+++ obexftp/dirtraverse.c Wed Oct 20 22:11:36 2004 -@@ -29,6 +29,7 @@ - #define _POSIX_PATH_MAX MAX_PATH - #endif /* _WIN32 */ - #include <dirent.h> -+#include <limits.h> - - #include "dirtraverse.h" - #include <common.h> diff -urN /usr/ports/comms/obexftp/patches/patch-obexftp_obexftp_io_c comms/obexftp/patches/patch-obexftp_obexftp_io_c --- /usr/ports/comms/obexftp/patches/patch-obexftp_obexftp_io_c Fri Nov 12 09:06:54 2004 +++ comms/obexftp/patches/patch-obexftp_obexftp_io_c Thu Jan 1 01:00:00 1970 @@ -1,11 +0,0 @@ -$OpenBSD: patch-obexftp_obexftp_io_c,v 1.1.1.1 2004/11/12 08:06:54 grange Exp $ ---- obexftp/obexftp_io.c.orig Wed Oct 20 22:10:20 2004 -+++ obexftp/obexftp_io.c Wed Oct 20 22:10:53 2004 -@@ -26,6 +26,7 @@ - #include <sys/stat.h> - - #include <fcntl.h> -+#include <limits.h> - #include <string.h> - #include <time.h> - diff -urN /usr/ports/comms/obexftp/pkg/PFRAG.shared comms/obexftp/pkg/PFRAG.shared --- /usr/ports/comms/obexftp/pkg/PFRAG.shared Fri Dec 23 15:16:01 2005 +++ comms/obexftp/pkg/PFRAG.shared Fri Jul 4 22:00:13 2008 @@ -1,4 +1,6 @@ [EMAIL PROTECTED] $OpenBSD: PFRAG.shared,v 1.2 2005/12/23 14:16:01 bernd Exp $ [EMAIL PROTECTED] $OpenBSD$ @lib lib/libbfb.so.${LIBbfb_VERSION} [EMAIL PROTECTED] lib/libcobexbfb.so.${LIBcobexbfb_VERSION} [EMAIL PROTECTED] lib/libmulticobex.so.${LIBmulticobex_VERSION} @lib lib/libobexftp.so.${LIBobexftp_VERSION} +lib/ruby/site_ruby/${MODRUBY_REV}/x86_64-openbsd4.3/obexftp.so +libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/OBEXFTP/OBEXFTP.so diff -urN /usr/ports/comms/obexftp/pkg/PLIST comms/obexftp/pkg/PLIST --- /usr/ports/comms/obexftp/pkg/PLIST Fri Nov 12 09:06:54 2004 +++ comms/obexftp/pkg/PLIST Fri Jul 4 22:00:13 2008 @@ -1,20 +1,33 @@ [EMAIL PROTECTED] $OpenBSD: PLIST,v 1.1.1.1 2004/11/12 08:06:54 grange Exp $ [EMAIL PROTECTED] $OpenBSD$ %%SHARED%% -bin/obexftp -bin/obexftpd [EMAIL PROTECTED] bin/obexftp [EMAIL PROTECTED] bin/obexftpd include/bfb/ include/bfb/bfb.h include/bfb/bfb_io.h -include/cobexbfb/ -include/cobexbfb/cobex_bfb.h +include/multicobex/ +include/multicobex/multi_cobex.h include/obexftp/ include/obexftp/client.h include/obexftp/obexftp.h include/obexftp/object.h +include/obexftp/uuid.h lib/libbfb.a lib/libbfb.la -lib/libcobexbfb.a -lib/libcobexbfb.la +lib/libmulticobex.a +lib/libmulticobex.la lib/libobexftp.a lib/libobexftp.la +lib/pkgconfig/ +lib/pkgconfig/obexftp.pc +lib/ruby/site_ruby/${MODRUBY_REV}/x86_64-openbsd4.3/ +libdata/perl5/${MACHINE_ARCH}-openbsd/ +libdata/perl5/${MACHINE_ARCH}-openbsd/5.8.8/ +libdata/perl5/${MACHINE_ARCH}-openbsd/5.8.8/perllocal.pod +libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/ +libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/OBEXFTP.pm +libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/ +libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/OBEXFTP/ +libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/OBEXFTP/OBEXFTP.bs @man man/man1/obexftp.1 [EMAIL PROTECTED] man/man1/obexftpd.1
diff -urN /usr/ports/comms/openobex/Makefile comms/openobex/Makefile --- /usr/ports/comms/openobex/Makefile Sun Sep 16 03:37:10 2007 +++ comms/openobex/Makefile Fri Jul 4 23:43:56 2008 @@ -1,8 +1,7 @@ # $OpenBSD: Makefile,v 1.10 2007/09/16 01:37:10 merdely Exp $ COMMENT= OBEX protocol implementation -DISTNAME= openobex-1.0.1 -PKGNAME= ${DISTNAME}p3 +DISTNAME= openobex-1.3 SHARED_LIBS += openobex 1.0 # .1.0 CATEGORIES= comms @@ -19,5 +18,11 @@ USE_GMAKE= Yes USE_LIBTOOL= Yes CONFIGURE_STYLE= gnu +CONFIGURE_ARGS= --enable-apps \ + --enable-debug \ + --enable-syslog \ + --enable-dump + +LIB_DEPENDS= usb.>=9::devel/libusb .include <bsd.port.mk> diff -urN /usr/ports/comms/openobex/config.log comms/openobex/config.log --- /usr/ports/comms/openobex/config.log Thu Jan 1 01:00:00 1970 +++ comms/openobex/config.log Fri Jul 4 23:40:30 2008 @@ -0,0 +1,17 @@ + +## ---------------------- ## +## Running config.status. ## +## ---------------------- ## + +This file was extended by config.status, which was +generated by GNU Autoconf 2.59. Invocation command line was + + CONFIG_FILES = + CONFIG_HEADERS = + CONFIG_LINKS = + CONFIG_COMMANDS = + $ w-openobex-1.3/openobex-1.3/config.status + +on baccardi + +config.status:0: error: cannot find input file: Makefile.in diff -urN /usr/ports/comms/openobex/distinfo comms/openobex/distinfo --- /usr/ports/comms/openobex/distinfo Thu Apr 5 17:37:47 2007 +++ comms/openobex/distinfo Fri Jul 4 19:38:10 2008 @@ -1,5 +1,5 @@ -MD5 (openobex-1.0.1.tar.gz) = N0Jma7mCWfrOdr5Jtz6onQ== -RMD160 (openobex-1.0.1.tar.gz) = cNx9Lji4Ga8MNcyyb4BreqdoKw4= -SHA1 (openobex-1.0.1.tar.gz) = qnOz+eNFCI6PHAcODnJ/WGgg0g4= -SHA256 (openobex-1.0.1.tar.gz) = BmHBXotXhsmiINAlfKM5sU+94XTp60WWLuYFvfpNntg= -SIZE (openobex-1.0.1.tar.gz) = 211696 +MD5 (openobex-1.3.tar.gz) = /qpd/lFRwOcOj4aPpGSKQw== +RMD160 (openobex-1.3.tar.gz) = 84R04Xqv8Xmey19F3mqyPDvcjeA= +SHA1 (openobex-1.3.tar.gz) = pvu1mRvBS5C6bEL68Ca/a/oyXX8= +SHA256 (openobex-1.3.tar.gz) = OoC6JSTGakbbOsF6eIp1kBWh953mpJX83zoxbhn+fCM= +SIZE (openobex-1.3.tar.gz) = 337614 diff -urN /usr/ports/comms/openobex/patches/patch-configure comms/openobex/patches/patch-configure --- /usr/ports/comms/openobex/patches/patch-configure Thu Jan 1 01:00:00 1970 +++ comms/openobex/patches/patch-configure Fri Jul 4 23:43:29 2008 @@ -0,0 +1,21 @@ +$OpenBSD$ +--- configure.orig Wed Jun 14 15:58:30 2006 ++++ configure Fri Jul 4 23:43:24 2008 +@@ -9352,7 +9352,7 @@ if test "${ac_cv_lib_usb_usb_get_busses+set}" = set; t + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + ac_check_lib_save_LIBS=$LIBS +-LIBS="-lusb $LIBS" ++LIBS="-L${prefix}/lib -lusb $LIBS" + cat >conftest.$ac_ext <<_ACEOF + /* confdefs.h. */ + _ACEOF +@@ -9425,7 +9425,7 @@ if test "${ac_cv_lib_usb_usb_interrupt_read+set}" = se + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + ac_check_lib_save_LIBS=$LIBS +-LIBS="-lusb $LIBS" ++LIBS="-L${prefix}/lib -lusb $LIBS" + cat >conftest.$ac_ext <<_ACEOF + /* confdefs.h. */ + _ACEOF diff -urN /usr/ports/comms/openobex/patches/patch-lib_Makefile_in comms/openobex/patches/patch-lib_Makefile_in --- /usr/ports/comms/openobex/patches/patch-lib_Makefile_in Thu Jan 1 01:00:00 1970 +++ comms/openobex/patches/patch-lib_Makefile_in Fri Jul 4 20:29:10 2008 @@ -0,0 +1,13 @@ +$OpenBSD$ +--- lib/Makefile.in.orig Wed Jun 14 15:58:30 2006 ++++ lib/Makefile.in Fri Jul 4 20:28:24 2008 +@@ -61,7 +61,8 @@ am_libopenobex_la_OBJECTS = obex.lo obex_main.lo obex_ + obex_client.lo irobex.lo inobex.lo btobex.lo databuffer.lo \ + usbobex.lo + libopenobex_la_OBJECTS = $(am_libopenobex_la_OBJECTS) +-DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) ++DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) -I$(top_builddir)/include \ ++ -I$(includedir) + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles + COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ diff -urN /usr/ports/comms/openobex/patches/patch-openobex-config_in comms/openobex/patches/patch-openobex-config_in --- /usr/ports/comms/openobex/patches/patch-openobex-config_in Fri Nov 12 09:04:22 2004 +++ comms/openobex/patches/patch-openobex-config_in Thu Jan 1 01:00:00 1970 @@ -1,20 +0,0 @@ -$OpenBSD: patch-openobex-config_in,v 1.1.1.1 2004/11/12 08:04:22 grange Exp $ ---- openobex-config.in.orig Wed Oct 20 22:18:55 2004 -+++ openobex-config.in Wed Oct 20 22:19:30 2004 -@@ -4,6 +4,7 @@ [EMAIL PROTECTED]@ - [EMAIL PROTECTED]@ - exec_prefix_set=no - [EMAIL PROTECTED]@ [EMAIL PROTECTED]@ - - usage() - { -@@ -87,7 +88,7 @@ if $cflags; then - fi - - if $libs; then -- all_flags="$all_flags $services $the_libs -lopenobex" -+ all_flags="$all_flags $services $the_libs -L$libdir -lopenobex" - fi - - if test -z "$all_flags" || test "x$all_flags" = "x "; then diff -urN /usr/ports/comms/openobex/patches/patch-src_Makefile_in comms/openobex/patches/patch-src_Makefile_in --- /usr/ports/comms/openobex/patches/patch-src_Makefile_in Fri Nov 12 09:04:22 2004 +++ comms/openobex/patches/patch-src_Makefile_in Thu Jan 1 01:00:00 1970 @@ -1,12 +0,0 @@ -$OpenBSD: patch-src_Makefile_in,v 1.1.1.1 2004/11/12 08:04:22 grange Exp $ ---- src/Makefile.in.orig Fri Nov 12 10:51:50 2004 -+++ src/Makefile.in Fri Nov 12 10:52:19 2004 -@@ -95,7 +95,7 @@ lib_LTLIBRARIES = libopenobex.la - libopenobex_la_SOURCES = obex.c obex_main.c obex_main.h obex_connect.c obex_connect.h obex_header.c obex_header.h obex_object.c obex_object.h obex_transport.c obex_transport.h obex_server.c obex_server.h obex_client.c obex_client.h irobex.c irobex.h inobex.c inobex.h btobex.c btobex.h netbuf.c netbuf.h irda.h irda_wrap.h - - --libopenobex_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -release $(LT_RELEASE) -export-symbols $(top_srcdir)/src/obex.sym -+libopenobex_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -export-symbols $(top_srcdir)/src/obex.sym - - - INCLUDES = -I$(top_srcdir)/src diff -urN /usr/ports/comms/openobex/patches/patch-src_irda_h comms/openobex/patches/patch-src_irda_h --- /usr/ports/comms/openobex/patches/patch-src_irda_h Fri Nov 12 09:04:22 2004 +++ comms/openobex/patches/patch-src_irda_h Thu Jan 1 01:00:00 1970 @@ -1,13 +0,0 @@ -$OpenBSD: patch-src_irda_h,v 1.1.1.1 2004/11/12 08:04:22 grange Exp $ ---- src/irda.h.orig Wed Oct 20 21:47:28 2004 -+++ src/irda.h Wed Oct 20 21:47:46 2004 -@@ -26,7 +26,9 @@ - #define IRDA_H - - #include <sys/types.h> -+#ifndef __OpenBSD__ - #include <stdint.h> -+#endif - - /* Hint bit positions for first hint byte */ - #define HINT_PNP 0x01 diff -urN /usr/ports/comms/openobex/patches/patch-src_netbuf_h comms/openobex/patches/patch-src_netbuf_h --- /usr/ports/comms/openobex/patches/patch-src_netbuf_h Fri Nov 12 09:04:22 2004 +++ comms/openobex/patches/patch-src_netbuf_h Thu Jan 1 01:00:00 1970 @@ -1,15 +0,0 @@ -$OpenBSD: patch-src_netbuf_h,v 1.1.1.1 2004/11/12 08:04:22 grange Exp $ ---- src/netbuf.h.orig Wed Oct 20 21:48:32 2004 -+++ src/netbuf.h Wed Oct 20 21:48:55 2004 -@@ -37,7 +37,11 @@ - #ifndef G_NETBUF_H - #define G_NETBUF_H - -+#ifndef __OpenBSD__ - #include <stdint.h> -+#else -+#include <sys/types.h> -+#endif - - typedef struct _slist_t{ - void *data; diff -urN /usr/ports/comms/openobex/patches/patch-src_obex_const_h comms/openobex/patches/patch-src_obex_const_h --- /usr/ports/comms/openobex/patches/patch-src_obex_const_h Fri Nov 12 09:04:22 2004 +++ comms/openobex/patches/patch-src_obex_const_h Thu Jan 1 01:00:00 1970 @@ -1,15 +0,0 @@ -$OpenBSD: patch-src_obex_const_h,v 1.1.1.1 2004/11/12 08:04:22 grange Exp $ ---- src/obex_const.h.orig Wed Oct 20 21:46:41 2004 -+++ src/obex_const.h Wed Oct 20 21:47:01 2004 -@@ -30,7 +30,11 @@ - #ifndef OBEX_CONST_H - #define OBEX_CONST_H - -+#ifndef __OpenBSD__ - #include <stdint.h> -+#else -+#include <sys/types.h> -+#endif - - typedef union { - uint32_t bq4; diff -urN /usr/ports/comms/openobex/patches/patch-src_obex_h comms/openobex/patches/patch-src_obex_h --- /usr/ports/comms/openobex/patches/patch-src_obex_h Fri Nov 12 09:04:22 2004 +++ comms/openobex/patches/patch-src_obex_h Thu Jan 1 01:00:00 1970 @@ -1,15 +0,0 @@ -$OpenBSD: patch-src_obex_h,v 1.1.1.1 2004/11/12 08:04:22 grange Exp $ ---- src/obex.h.orig Wed Oct 20 21:47:57 2004 -+++ src/obex.h Wed Oct 20 21:48:22 2004 -@@ -30,7 +30,11 @@ - #ifndef OBEX_H - #define OBEX_H - -+#ifndef __OpenBSD__ - #include <stdint.h> -+#else -+#include <sys/types.h> -+#endif - - #ifdef _WIN32 - #include <winsock.h> diff -urN /usr/ports/comms/openobex/pkg/PLIST comms/openobex/pkg/PLIST --- /usr/ports/comms/openobex/pkg/PLIST Fri Nov 12 09:04:22 2004 +++ comms/openobex/pkg/PLIST Fri Jul 4 22:24:16 2008 @@ -1,10 +1,16 @@ @comment $OpenBSD: PLIST,v 1.1.1.1 2004/11/12 08:04:22 grange Exp $ %%SHARED%% -bin/openobex-config [EMAIL PROTECTED] bin/ircp [EMAIL PROTECTED] bin/irobex_palm3 [EMAIL PROTECTED] bin/irxfer [EMAIL PROTECTED] bin/obex_tcp [EMAIL PROTECTED] bin/obex_test include/openobex/ include/openobex/obex.h include/openobex/obex_const.h lib/libopenobex.a lib/libopenobex.la +lib/pkgconfig/ +lib/pkgconfig/openobex.pc share/aclocal/ share/aclocal/openobex.m4 diff -urN /usr/ports/comms/openobex/pkg/PLIST.orig comms/openobex/pkg/PLIST.orig --- /usr/ports/comms/openobex/pkg/PLIST.orig Thu Jan 1 01:00:00 1970 +++ comms/openobex/pkg/PLIST.orig Fri Jul 4 20:29:44 2008 @@ -0,0 +1,11 @@ [EMAIL PROTECTED] $OpenBSD: PLIST,v 1.1.1.1 2004/11/12 08:04:22 grange Exp $ +%%SHARED%% +include/openobex/ +include/openobex/obex.h +include/openobex/obex_const.h +lib/libopenobex.a +lib/libopenobex.la +lib/pkgconfig/ +lib/pkgconfig/openobex.pc +share/aclocal/ +share/aclocal/openobex.m4