FreeBSD Bugzilla – Attachment 209322 Details for
Bug 242144
new port: graphics/airsaned-d20211018: Apple AirScan compatible SANE web frontend
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
shar archive of initial port version
airsane-d20191120.shar (text/plain), 6.01 KB, created by
J.R. Oldroyd
on 2019-11-21 16:57:07 UTC
(
hide
)
Description:
shar archive of initial port version
Filename:
MIME Type:
Creator:
J.R. Oldroyd
Created:
2019-11-21 16:57:07 UTC
Size:
6.01 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># graphics/airsane ># graphics/airsane/pkg-plist ># graphics/airsane/distinfo ># graphics/airsane/Makefile ># graphics/airsane/pkg-descr ># graphics/airsane/files ># graphics/airsane/files/airsaned.in ># graphics/airsane/files/patch-CMakeLists.txt ># graphics/airsane/files/patch-web-httpserver.cpp ># graphics/airsane/files/patch-imageformats-pngencoder.cpp ># graphics/airsane/files/patch-zeroconf-hotplugnotifier.cpp ># >echo c - graphics/airsane >mkdir -p graphics/airsane > /dev/null 2>&1 >echo x - graphics/airsane/pkg-plist >sed 's/^X//' >graphics/airsane/pkg-plist << 'ed7eaa7caf70bef6901fb9b9844eeab1' >Xsbin/airsaned >ed7eaa7caf70bef6901fb9b9844eeab1 >echo x - graphics/airsane/distinfo >sed 's/^X//' >graphics/airsane/distinfo << '1b2751b8319c021a8751971b338cbd63' >XTIMESTAMP = 1574344683 >XSHA256 (SimulPiscator-AirSane-d20191120-120fd25_GH0.tar.gz) = c7175977b4d4e05bc1bfa5b7fca63d5367cd6fe20a73a646bfdc337165b6b890 >XSIZE (SimulPiscator-AirSane-d20191120-120fd25_GH0.tar.gz) = 50545 >1b2751b8319c021a8751971b338cbd63 >echo x - graphics/airsane/Makefile >sed 's/^X//' >graphics/airsane/Makefile << '00fec1487272556d3505f17029fa3da5' >X# $FreeBSD:$ >X >XPORTNAME= airsane >XPORTVERSION= d20191120 >XCATEGORIES= graphics >X >XMAINTAINER= fbsd@opal.com >XCOMMENT= Apple AirScan compatible SANE web frontend >X >XLICENSE= GPLv3 >XLICENSE_FILE= ${WRKSRC}/LICENSE >X >XLIB_DEPENDS=\ >X libavahi-client.so:net/avahi-app \ >X libjpeg.so:graphics/jpeg-turbo \ >X libpng.so:graphics/png \ >X libsane.so:graphics/sane-backends >X >XUSES= cmake compiler:gcc-c++11-lib >XUSE_GITHUB= yes >XUSE_RC_SUBR= ${PORTNAME}d >X >XGH_ACCOUNT= SimulPiscator >XGH_PROJECT= AirSane >XGH_TAGNAME= 120fd25 >X >XCFLAGS+= "-I${PREFIX}/include" >X >X.include <bsd.port.mk> >00fec1487272556d3505f17029fa3da5 >echo x - graphics/airsane/pkg-descr >sed 's/^X//' >graphics/airsane/pkg-descr << '056acff17981de306ffbacf164705676' >XA SANE WebScan frontend that supports Apple's AirScan protocol. >XScanners are detected automatically, and published through mDNS. >XThough images may be acquired and transferred in JPEG, PNG, and >XPDF/raster format through a simple web interface, AirSane's intended >Xpurpose is to be used with AirScan/eSCL clients such as Apple's >XImage Capture. >X >XImages are encoded on-the-fly during acquisition, keeping memory/storage >Xdemands low. Thus, AirSane will run fine on a Raspberry Pi or similar >Xdevice. >X >XAirSane has been developed by reverse-engineering the communication >Xprotocol implemented in Apple's AirScanScanner client (macos 10.12.6, >X/System/Library/Image Capture/Devices/AirScanScanner.app). >X >XAuthentication and secure communication are not supported. >X >XIf you are looking for a powerful SANE web frontend, AirSane may >Xnot be for you. You may be interested in phpSANE instead. >X >XWWW: https://github.com/SimulPiscator/AirSane >056acff17981de306ffbacf164705676 >echo c - graphics/airsane/files >mkdir -p graphics/airsane/files > /dev/null 2>&1 >echo x - graphics/airsane/files/airsaned.in >sed 's/^X//' >graphics/airsane/files/airsaned.in << '2e515198449537f1ebbb7cef139cbac3' >X#!/bin/sh >X >X# $FreeBSD:$ >X# >X# PROVIDE: airsaned >X# REQUIRE: LOGIN >X# KEYWORD: shutdown >X# >X# Add the following line to /etc/rc.conf[.local] to enable airsaned: >X# airsaned_enable="YES" >X >X. /etc/rc.subr >X >Xname=airsaned >Xrcvar=airsaned_enable >X >Xload_rc_config airsane >X >X: ${airsaned_enable:="NO"} >X: ${airsaned_args:=""} >X >Xcommand="%%PREFIX%%/sbin/${name}" >Xsig_stop="KILL" >X >Xcase "$1" in >Xstart) echo "Starting ${name}." >X ${command} ${airsaned_args} & >X ;; >X*) run_rc_command "$1" >X ;; >Xesac >2e515198449537f1ebbb7cef139cbac3 >echo x - graphics/airsane/files/patch-CMakeLists.txt >sed 's/^X//' >graphics/airsane/files/patch-CMakeLists.txt << 'a6b6a094d5f41bc58b914ee878a444c9' >X--- CMakeLists.txt.orig 2019-10-18 14:41:49 UTC >X+++ CMakeLists.txt >X@@ -63,16 +63,9 @@ target_link_libraries( >X png >X avahi-client >X avahi-common >X- usb-1.0 >X+ usb >X ) >X install(TARGETS ${PROJECT_NAME} >X- RUNTIME DESTINATION bin >X-) >X-install(FILES systemd/airsaned.service >X- DESTINATION /lib/systemd/system >X-) >X-install(FILES systemd/airsaned.default >X- DESTINATION /etc/default >X- RENAME airsane >X+ RUNTIME DESTINATION sbin >X ) >X >a6b6a094d5f41bc58b914ee878a444c9 >echo x - graphics/airsane/files/patch-web-httpserver.cpp >sed 's/^X//' >graphics/airsane/files/patch-web-httpserver.cpp << '29c8e73115a523bd328ebd9379cd5725' >X--- web/httpserver.cpp.orig 2019-10-18 14:41:49 UTC >X+++ web/httpserver.cpp >X@@ -28,6 +28,7 @@ along with this program. If not, see <http://www.gnu. >X #include <sys/socket.h> >X #include <sys/ioctl.h> >X #include <arpa/inet.h> >X+#include <netinet/in.h> >X #include <net/if.h> >X #include <ifaddrs.h> >X #include <unistd.h> >29c8e73115a523bd328ebd9379cd5725 >echo x - graphics/airsane/files/patch-imageformats-pngencoder.cpp >sed 's/^X//' >graphics/airsane/files/patch-imageformats-pngencoder.cpp << '05f205cf2fe2e3a38203a4a7d6d8d18e' >X--- imageformats/pngencoder.cpp.orig 2019-10-18 14:41:49 UTC >X+++ imageformats/pngencoder.cpp >X@@ -17,10 +17,10 @@ along with this program. If not, see <http://www.gnu. >X */ >X >X #include "pngencoder.h" >X-#include <libpng/png.h> >X+#include <png.h> >X #include <stdexcept> >X #include <vector> >X-#include <endian.h> >X+#include <sys/endian.h> >X #include <arpa/inet.h> >X >X struct PngEncoder::Private >05f205cf2fe2e3a38203a4a7d6d8d18e >echo x - graphics/airsane/files/patch-zeroconf-hotplugnotifier.cpp >sed 's/^X//' >graphics/airsane/files/patch-zeroconf-hotplugnotifier.cpp << 'ed9739c828ada7e096fc43636c5dc317' >X--- zeroconf/hotplugnotifier.cpp.orig 2019-10-18 14:41:49 UTC >X+++ zeroconf/hotplugnotifier.cpp >X@@ -22,7 +22,7 @@ along with this program. If not, see <http://www.gnu. >X #include <atomic> >X #include <csignal> >X #include <pthread.h> >X-#include <libusb-1.0/libusb.h> >X+#include <libusb.h> >X >X struct HotplugNotifier::Private >X { >ed9739c828ada7e096fc43636c5dc317 >exit >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 242144
:
209322
|
209325
|
209711
|
228458
|
228459
|
228462