Index: head/comms/Makefile =================================================================== --- head/comms/Makefile (revision 538092) +++ head/comms/Makefile (revision 538093) @@ -1,222 +1,223 @@ # $FreeBSD$ # COMMENT = Communication utilities SUBDIR += acfax SUBDIR += airspy SUBDIR += aldo SUBDIR += amtterm SUBDIR += anyremote SUBDIR += apitran SUBDIR += aprsd SUBDIR += atslog SUBDIR += bfhist SUBDIR += bforce-kst SUBDIR += birda SUBDIR += bladerf SUBDIR += bluegps SUBDIR += bluez-firmware SUBDIR += bpl+ SUBDIR += chirp SUBDIR += chu SUBDIR += comserv SUBDIR += concordance SUBDIR += congruity SUBDIR += conserver-com SUBDIR += cqrlog SUBDIR += cubicsdr SUBDIR += cutecom SUBDIR += cwdaemon SUBDIR += cwstudio SUBDIR += dcf77pi SUBDIR += deforaos-phone SUBDIR += dfu-programmer SUBDIR += dfu-util SUBDIR += digiham SUBDIR += direwolf SUBDIR += dsd SUBDIR += dump1090 SUBDIR += ebook2cw SUBDIR += ebook2cwgui SUBDIR += ebusd SUBDIR += echolinux SUBDIR += efax SUBDIR += ems-flasher SUBDIR += fl_moxgen SUBDIR += flamp SUBDIR += flcluster SUBDIR += fldigi SUBDIR += fllog SUBDIR += flmsg SUBDIR += flrig SUBDIR += flwrap SUBDIR += freedv SUBDIR += gammu SUBDIR += gkermit SUBDIR += gnocky SUBDIR += gnokii SUBDIR += gnuradio SUBDIR += gpredict SUBDIR += gqrx SUBDIR += gr-osmosdr SUBDIR += grig SUBDIR += gstreamer1-plugins-spandsp SUBDIR += gtkmmorse SUBDIR += hackrf SUBDIR += hamlib SUBDIR += hcidump SUBDIR += hidapi SUBDIR += hylafax SUBDIR += ibp SUBDIR += inspectrum SUBDIR += iwmbt-firmware SUBDIR += java-simple-serial-connector SUBDIR += kb SUBDIR += kermit SUBDIR += klog SUBDIR += libbtbb SUBDIR += libconcord SUBDIR += libfap SUBDIR += libfec SUBDIR += libimobiledevice SUBDIR += libirman SUBDIR += libmodbus SUBDIR += librs232 SUBDIR += libsdr SUBDIR += libsdr-gui SUBDIR += libticables2 SUBDIR += libticalcs2 SUBDIR += libusbmuxd SUBDIR += linrad SUBDIR += liquid-dsp SUBDIR += lirc SUBDIR += locator SUBDIR += lrzsz SUBDIR += lysdr SUBDIR += mbelib SUBDIR += mgetty+sendfax SUBDIR += minicom SUBDIR += mlan3 SUBDIR += morse SUBDIR += multimon-ng SUBDIR += nanovna-saver SUBDIR += nasawash SUBDIR += ncid SUBDIR += nec2c SUBDIR += nmealib SUBDIR += o2sms SUBDIR += obexapp + SUBDIR += opencbm SUBDIR += openobex SUBDIR += openzwave SUBDIR += openzwave-devel SUBDIR += owfs SUBDIR += p5-Cisco-UCS SUBDIR += p5-Device-Gsm SUBDIR += p5-Device-Modem SUBDIR += p5-Device-SerialPort SUBDIR += p5-Fax-Hylafax-Client SUBDIR += p5-Nexmo-SMS SUBDIR += p5-SMS-SMS77 SUBDIR += p5-SMS-Send SUBDIR += p5-SMS-Send-DeviceGsm SUBDIR += p5-SMS-Send-NexmoUnicode SUBDIR += p5-SMS-Send-TW-HiAir SUBDIR += p5-SMS-Send-TW-PChome SUBDIR += p5-SMS-Send-TW-Qma SUBDIR += p5-SMS-Send-TW-ShareSMS SUBDIR += p5-SMS-Send-TW-Socket2Air SUBDIR += p5-SMS-Send-TW-chtsns SUBDIR += p5-SMS-Send-TW-emome SUBDIR += pear-Horde_ActiveSync SUBDIR += pear-Horde_SyncMl SUBDIR += picocom SUBDIR += pr SUBDIR += predict SUBDIR += py-adafruit-ampy SUBDIR += py-bulksms SUBDIR += py-esptool SUBDIR += py-gammu SUBDIR += py-hidapi SUBDIR += py-libconcord SUBDIR += py-lirc SUBDIR += py-qt5-serialport SUBDIR += py-serial SUBDIR += py-xmodem SUBDIR += pyla SUBDIR += qico SUBDIR += qpage SUBDIR += qrq SUBDIR += qsstv SUBDIR += qt5-connectivity SUBDIR += qt5-sensors SUBDIR += qt5-serialbus SUBDIR += qt5-serialport SUBDIR += qtel SUBDIR += quisk SUBDIR += redsea SUBDIR += remserial SUBDIR += rtl-sdr SUBDIR += rubygem-callsign SUBDIR += rubygem-ruby-termios SUBDIR += rubygem-serialport SUBDIR += rxtx SUBDIR += scmxx SUBDIR += scrcpy SUBDIR += sdr-wspr SUBDIR += ser2net SUBDIR += serialoverip SUBDIR += seyon SUBDIR += sms_client SUBDIR += smstools3 SUBDIR += snap7 SUBDIR += soapyairspy SUBDIR += soapybladerf SUBDIR += soapyplutosdr SUBDIR += soapyredpitaya SUBDIR += soapyremote SUBDIR += soapysdrhackrf SUBDIR += soapyuhd SUBDIR += spandsp SUBDIR += splat SUBDIR += sredird SUBDIR += sunxi-tools SUBDIR += svxlink SUBDIR += syncterm SUBDIR += tcpser SUBDIR += telldus-core SUBDIR += thebridge SUBDIR += tilp2 SUBDIR += tio SUBDIR += tits SUBDIR += tkhylafax SUBDIR += tkscanfax SUBDIR += tlf SUBDIR += trustedqsl SUBDIR += twpsk SUBDIR += uarduno SUBDIR += uartlirc SUBDIR += uhd SUBDIR += uird SUBDIR += ujprog SUBDIR += unixcw SUBDIR += usbmuxd SUBDIR += viewfax SUBDIR += vrflash SUBDIR += wsjtx SUBDIR += wwl SUBDIR += wy60 SUBDIR += xastir SUBDIR += xcwcp SUBDIR += xdemorse SUBDIR += xdx SUBDIR += xlog SUBDIR += xmorse SUBDIR += xnec2c SUBDIR += xnecview SUBDIR += yagiuda SUBDIR += yaps SUBDIR += yfklog SUBDIR += zssh .include Index: head/comms/opencbm/Makefile =================================================================== --- head/comms/opencbm/Makefile (nonexistent) +++ head/comms/opencbm/Makefile (revision 538093) @@ -0,0 +1,74 @@ +# Created by: Felix Palmen +# $FreeBSD$ + +PORTNAME= opencbm +PORTVERSION= ${OCBM_VERSION} +CATEGORIES= comms archivers + +PATCHFILES= 12ef17d4cf78903c9c52d7a348a816424d549b89.diff + +MAINTAINER= felix@palmen-it.de +COMMENT= Commodore CBM serial IEC/IEEE-488 bus utilities + +LICENSE= GPLv2 BSD3CLAUSE +LICENSE_COMB= multi + +BUILD_DEPENDS= cc65:devel/cc65 + +USES= gmake +USE_LDCONFIG= yes + +OPTIONS_DEFINE= DOCS INFO +OPTIONS_DEFAULT= DOCS INFO + +MAKE_ARGS= CC=cc INFODIR=${PREFIX}/share/info +MAKEFILE= LINUX/Makefile +MAKE_JOBS_UNSAFE= yes +ALL_TARGET= opencbm plugin-xu1541 plugin-xum1541 +INSTALL_TARGET= install install-plugin-xu1541 install-plugin-xum1541 + +DOCS_BUILD_DEPENDS= dvips:print/tex-dvipsk \ + latex:print/tex-formats \ + linuxdoc:textproc/linuxdoc-tools +DOCS_USES= ghostscript:build +DOCS_ALL_TARGET= doc +DOCS_MAKE_ARGS_OFF= TXT= DVI= PDF= HTML= + +INFO_BUILD_DEPENDS= linuxdoc:textproc/linuxdoc-tools +INFO_USES= makeinfo +INFO_ALL_TARGET= doc +INFO_INFO= opencbm +INFO_MAKE_ARGS_OFF= INFO= + +OCBM_CONFDIR= ${LOCALBASE}/etc/opencbm.conf.d + +post-patch: + @${REINPLACE_CMD} -e 's|_ETC="$$1"|_ETC="$${1:-${LOCALBASE}/etc}"|' \ + -e 's|in /.*/ instead|in ${OCBM_CONFDIR}/ instead|' \ + -e "s|execute 'opencbm_|execute '|" \ + ${WRKSRC}/opencbm/LINUX/plugin_helper_tools + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libopencbm.so.${OCBM_LIBVERSION} +.for p in xu1541 xum1541 + ${STRIP_CMD} ${STAGEDIR}${PLUGINBASENAME}${p}.so.${OCBM_LIBVERSION} +.endfor + @${RM} ${STAGEDIR}${PREFIX}/etc/opencbm.conf + @${MV} ${STAGEDIR}${PREFIX}/etc/opencbm.conf.d/00opencbm.conf \ + ${STAGEDIR}${PREFIX}/etc/opencbm.conf.d/00opencbm.conf.sample + @${MV} ${STAGEDIR}${PREFIX}/bin/opencbm_plugin_helper_tools \ + ${STAGEDIR}${PREFIX}/sbin/opencbm_plugin_helper_tools + +post-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC}/opencbm/docs && \ + ${COPYTREE_SHARE} "html misc opencbm.pdf opencbm.txt" \ + ${STAGEDIR}${DOCSDIR}) + +post-install-INFO-on: + ${INSTALL_MAN} ${WRKSRC}/opencbm/docs/opencbm.info \ + ${STAGEDIR}${PREFIX}/${INFO_PATH} + +.include "Makefile.inc" + +.include Property changes on: head/comms/opencbm/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/comms/opencbm/Makefile.inc =================================================================== --- head/comms/opencbm/Makefile.inc (nonexistent) +++ head/comms/opencbm/Makefile.inc (revision 538093) @@ -0,0 +1,20 @@ +# Created by: Felix Palmen +# $FreeBSD$ + +OCBM_VERSION= 0.4.99.99a +DISTVERSIONPREFIX= v +DIST_SUBDIR= opencbm +DISTINFO_FILE= ${.CURDIR}/../opencbm/distinfo + +PATCH_DIST_STRIP= -p1 +PATCH_SITES= https://github.com/OpenCBM/OpenCBM/commit/ + +USE_GITHUB= yes +GH_ACCOUNT= OpenCBM +GH_PROJECT= OpenCBM + +PATCHDIR= ${.CURDIR}/../opencbm/files +PATCH_WRKSRC= ${WRKDIR}/OpenCBM-${OCBM_VERSION} + +OCBM_LIBVERSION= 0.4.99.99 +PLUGINBASENAME= ${PREFIX}/lib/opencbm/plugin/libopencbm- Property changes on: head/comms/opencbm/Makefile.inc ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/comms/opencbm/distinfo =================================================================== --- head/comms/opencbm/distinfo (nonexistent) +++ head/comms/opencbm/distinfo (revision 538093) @@ -0,0 +1,11 @@ +TIMESTAMP = 1590503036 +SHA256 (opencbm/OpenCBM-OpenCBM-v0.4.99.99a_GH0.tar.gz) = 0ae35e9011231eef1c4b6800bba16ced82690e80a91d67853888d49c63b874a0 +SIZE (opencbm/OpenCBM-OpenCBM-v0.4.99.99a_GH0.tar.gz) = 8661428 +SHA256 (opencbm/ca4c06e7430caf3b2296d4e1e00051fff015fc53.diff) = 3babd55eaa0378c688a422b1176325874a46fa4014e9420e672418998c592c27 +SIZE (opencbm/ca4c06e7430caf3b2296d4e1e00051fff015fc53.diff) = 8726 +SHA256 (opencbm/12ef17d4cf78903c9c52d7a348a816424d549b89.diff) = 2bea76abc6e3f19d93776c39a921c6e17d892613ae6e4740eda5f555483bb095 +SIZE (opencbm/12ef17d4cf78903c9c52d7a348a816424d549b89.diff) = 561 +SHA256 (opencbm/073b833772e4325c7f680d6aeb81bc11844f03ca.diff) = e4c5858162d000e099140d78590effc8b5dccbf1f80c9dcdfffc4420ad9b6c03 +SIZE (opencbm/073b833772e4325c7f680d6aeb81bc11844f03ca.diff) = 27055 +SHA256 (opencbm/3e967551e200d0c03aa4898e482626a7510acd21.diff) = d1d73fa395e16956dce1e971750ecefbb2b80b6be1c1ec95392fc9be4d2d4676 +SIZE (opencbm/3e967551e200d0c03aa4898e482626a7510acd21.diff) = 825 Property changes on: head/comms/opencbm/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/comms/opencbm/files/patch-fs.c =================================================================== --- head/comms/opencbm/files/patch-fs.c (nonexistent) +++ head/comms/opencbm/files/patch-fs.c (revision 538093) @@ -0,0 +1,11 @@ +--- opencbm/libimgcopy/fs.c.orig 2017-09-06 16:59:00 UTC ++++ opencbm/libimgcopy/fs.c +@@ -121,7 +121,7 @@ static int open_disk(CBM_FILE fd, imgcopy_settings *se + } + else + { +- printf("filesize=%d, blockcount=%d, calc1=%d, calc2=%d\n", filesize, block_count, block_count * (BLOCKSIZE), block_count * (BLOCKSIZE + 1)); ++ printf("filesize=%ld, blockcount=%d, calc1=%d, calc2=%d\n", (long)filesize, block_count, block_count * (BLOCKSIZE), block_count * (BLOCKSIZE + 1)); + /* D64 sonderformate + + for( tr = D82_TRACKS; !is_image && tr <= D82_TRACKS; ) Property changes on: head/comms/opencbm/files/patch-fs.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/comms/opencbm/pkg-descr =================================================================== --- head/comms/opencbm/pkg-descr (nonexistent) +++ head/comms/opencbm/pkg-descr (revision 538093) @@ -0,0 +1,17 @@ +Commodore CBM serial IEC/IEEE-488 bus utilities + +The OpenCBM package contains user space support programs and development +libraries to control and use CBM serial IEC/IEEE-488 bus devices as used by +most Commodore (CBM) 8-bit machines. + +OpenCBM allows for access to Commodore seriel IEC bus devices such as CBM +1540, 1541, 1570, 1571 and 1581 floppy disk drives. + +OpenCBM allows for access to Commodore (parallel) IEEE-488 bus devices such as +CBM 2031, 2040, 3040, 4031, 4040, 8050, 8250, 8280 and SFD-1001 floppy disk +drives. + +The devices are connected via a custom USB adapter (called xu1541 or xum1541). +A fast .d64 disk copier/transfer program is included. + +WWW: http://opencbm.sourceforge.net/ Property changes on: head/comms/opencbm/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/comms/opencbm/pkg-plist =================================================================== --- head/comms/opencbm/pkg-plist (nonexistent) +++ head/comms/opencbm/pkg-plist (revision 538093) @@ -0,0 +1,101 @@ +bin/cbmcopy +bin/cbmctrl +bin/cbmformat +bin/cbmforng +bin/cbmlinetester +bin/cbmread +bin/cbmrpm41 +bin/cbmwrite +bin/d64copy +bin/d82copy +bin/frm_analyzer +bin/imgcopy +bin/samplelibtransf +bin/xum1541cfg +@sample etc/opencbm.conf.d/00opencbm.conf.sample +etc/opencbm.conf.d/10xu1541.conf +etc/opencbm.conf.d/10xum1541.conf +include/cbmcopy.h +include/d64copy.h +include/opencbm.h +lib/libopencbm.a +lib/libopencbm.so +lib/libopencbm.so.0 +lib/libopencbm.so.0.4.99.99 +lib/opencbm/plugin/libopencbm-xu1541.a +lib/opencbm/plugin/libopencbm-xu1541.so +lib/opencbm/plugin/libopencbm-xu1541.so.0 +lib/opencbm/plugin/libopencbm-xu1541.so.0.4.99.99 +lib/opencbm/plugin/xu1541/read_event_log +lib/opencbm/plugin/xu1541/usb_echo_test +lib/opencbm/plugin/libopencbm-xum1541.a +lib/opencbm/plugin/libopencbm-xum1541.so +lib/opencbm/plugin/libopencbm-xum1541.so.0 +lib/opencbm/plugin/libopencbm-xum1541.so.0.4.99.99 +man/man1/cbmcopy.1.gz +man/man1/cbmctrl.1.gz +man/man1/cbmformat.1.gz +man/man1/cbmforng.1.gz +man/man1/cbmlinetester.1.gz +man/man1/cbmread.1.gz +man/man1/cbmrpm41.1.gz +man/man1/cbmwrite.1.gz +man/man1/d64copy.1.gz +man/man1/d82copy.1.gz +man/man1/frm_analyzer.1.gz +man/man1/imgcopy.1.gz +man/man1/samplelibtransf.1.gz +man/man1/xum1541cfg.1.gz +sbin/opencbm_plugin_helper_tools +%%PORTDOCS%%%%DOCSDIR%%/html/opencbm-1.html +%%PORTDOCS%%%%DOCSDIR%%/html/opencbm-10.html +%%PORTDOCS%%%%DOCSDIR%%/html/opencbm-11.html +%%PORTDOCS%%%%DOCSDIR%%/html/opencbm-12.html +%%PORTDOCS%%%%DOCSDIR%%/html/opencbm-13.html +%%PORTDOCS%%%%DOCSDIR%%/html/opencbm-14.html +%%PORTDOCS%%%%DOCSDIR%%/html/opencbm-15.html +%%PORTDOCS%%%%DOCSDIR%%/html/opencbm-16.html +%%PORTDOCS%%%%DOCSDIR%%/html/opencbm-17.html +%%PORTDOCS%%%%DOCSDIR%%/html/opencbm-18.html +%%PORTDOCS%%%%DOCSDIR%%/html/opencbm-19.html +%%PORTDOCS%%%%DOCSDIR%%/html/opencbm-2.html +%%PORTDOCS%%%%DOCSDIR%%/html/opencbm-20.html +%%PORTDOCS%%%%DOCSDIR%%/html/opencbm-21.html +%%PORTDOCS%%%%DOCSDIR%%/html/opencbm-22.html +%%PORTDOCS%%%%DOCSDIR%%/html/opencbm-23.html +%%PORTDOCS%%%%DOCSDIR%%/html/opencbm-24.html +%%PORTDOCS%%%%DOCSDIR%%/html/opencbm-25.html +%%PORTDOCS%%%%DOCSDIR%%/html/opencbm-26.html +%%PORTDOCS%%%%DOCSDIR%%/html/opencbm-27.html +%%PORTDOCS%%%%DOCSDIR%%/html/opencbm-28.html +%%PORTDOCS%%%%DOCSDIR%%/html/opencbm-29.html +%%PORTDOCS%%%%DOCSDIR%%/html/opencbm-3.html +%%PORTDOCS%%%%DOCSDIR%%/html/opencbm-30.html +%%PORTDOCS%%%%DOCSDIR%%/html/opencbm-31.html +%%PORTDOCS%%%%DOCSDIR%%/html/opencbm-32.html +%%PORTDOCS%%%%DOCSDIR%%/html/opencbm-33.html +%%PORTDOCS%%%%DOCSDIR%%/html/opencbm-34.html +%%PORTDOCS%%%%DOCSDIR%%/html/opencbm-35.html +%%PORTDOCS%%%%DOCSDIR%%/html/opencbm-36.html +%%PORTDOCS%%%%DOCSDIR%%/html/opencbm-4.html +%%PORTDOCS%%%%DOCSDIR%%/html/opencbm-5.html +%%PORTDOCS%%%%DOCSDIR%%/html/opencbm-6.html +%%PORTDOCS%%%%DOCSDIR%%/html/opencbm-7.html +%%PORTDOCS%%%%DOCSDIR%%/html/opencbm-8.html +%%PORTDOCS%%%%DOCSDIR%%/html/opencbm-9.html +%%PORTDOCS%%%%DOCSDIR%%/html/opencbm-software-installed-uninstall.png +%%PORTDOCS%%%%DOCSDIR%%/html/opencbm-software-installed.png +%%PORTDOCS%%%%DOCSDIR%%/html/opencbm.html +%%PORTDOCS%%%%DOCSDIR%%/html/zadig-listalldevices.png +%%PORTDOCS%%%%DOCSDIR%%/html/zadig-success.png +%%PORTDOCS%%%%DOCSDIR%%/html/zadig-uac.png +%%PORTDOCS%%%%DOCSDIR%%/html/zadig-xu1541.png +%%PORTDOCS%%%%DOCSDIR%%/html/zadig-xum1541.png +%%PORTDOCS%%%%DOCSDIR%%/misc/README +%%PORTDOCS%%%%DOCSDIR%%/misc/ibmlpt.txt +%%PORTDOCS%%%%DOCSDIR%%/misc/serial-bus.txt +%%PORTDOCS%%%%DOCSDIR%%/misc/serial.txt +%%PORTDOCS%%%%DOCSDIR%%/opencbm.pdf +%%PORTDOCS%%%%DOCSDIR%%/opencbm.txt +@postexec opencbm_plugin_helper_tools rebuild +@preunexec rm -f %%LOCALBASE%%/etc/opencbm.conf Property changes on: head/comms/opencbm/pkg-plist ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property