[NEW] www/h2o
Hi all, This is an early draft of a possible import of h2o into the tree. Let me know what you think. Thanks. diff --git a/www/h2o/Makefile b/www/h2o/Makefile new file mode 100644 index 000..df7a730 --- /dev/null +++ b/www/h2o/Makefile @@ -0,0 +1,35 @@ +# $OpenBSD $ + +COMMENT = Web server library +DISTNAME = v${V} +PKGNAME = h2o-${V} +V = 2.1.0 + +SHARED_LIBS = h2o-evloop 0.0 + +CATEGORIES = www + +HOMEPAGE = http://h2o.examp1e.net + +PERMIT_PACKAGE_CDROM = Yes + +MASTER_SITES = https://github.com/h2o/h2o/archive/ + +MODULES = devel/cmake gcc4 +MODGCC4_LANGS = c c++ +MODGCC4_ARCHS = * + +WRKDIST = ${WRKDIR}/${PKGNAME} + +CONFIGURE_ARGS = -DWITH_BUNDLED_SSL=OFF \ + -DBUILD_SHARED_LIBS=ON \ + -DWITH_MRUBY=OFF \ + -DCMAKE_INSTALL_SYSCONFDIR=/etc/h2o + +NO_TEST = No + +post-install: + @mkdir /etc/h2o + ${INSTALL_DATA} ${FILESDIR}/h2o.conf /etc/h2o + +.include diff --git a/www/h2o/distinfo b/www/h2o/distinfo new file mode 100644 index 000..8869ff3 --- /dev/null +++ b/www/h2o/distinfo @@ -0,0 +1,2 @@ +SHA256 (v2.1.0.tar.gz) = QfOFPzCDwv6OcNOre+AsPePCb7d7pfxW/a9GcSQYuZk= +SIZE (v2.1.0.tar.gz) = 15207573 diff --git a/www/h2o/files/h2o.conf b/www/h2o/files/h2o.conf new file mode 100644 index 000..f57cd33 --- /dev/null +++ b/www/h2o/files/h2o.conf @@ -0,0 +1,7 @@ +listen: 8080 +hosts: + "127.0.0.1:8080": +paths: + /: +file.dir: /var/www/htdocs +access-log: /var/log/h2o-access.log diff --git a/www/h2o/pkg/DESCR b/www/h2o/pkg/DESCR new file mode 100644 index 000..2b22290 --- /dev/null +++ b/www/h2o/pkg/DESCR @@ -0,0 +1 @@ +H2o is an optimized HTTP server with support for HTTP/1.x and HTTP/2 diff --git a/www/h2o/pkg/PLIST b/www/h2o/pkg/PLIST new file mode 100644 index 000..984f0d5 --- /dev/null +++ b/www/h2o/pkg/PLIST @@ -0,0 +1,115 @@ +@comment $OpenBSD$ +@bin bin/h2o +@mode 700 +@owner www +@group www +include/h2o/ +include/h2o.h +include/h2o/cache.h +include/h2o/cache_digests.h +include/h2o/configurator.h +include/h2o/file.h +include/h2o/filecache.h +include/h2o/hostinfo.h +include/h2o/http1.h +include/h2o/http1client.h +include/h2o/http2.h +include/h2o/http2_casper.h +include/h2o/http2_internal.h +include/h2o/http2_scheduler.h +include/h2o/linklist.h +include/h2o/memcached.h +include/h2o/memory.h +include/h2o/mruby_.h +include/h2o/multithread.h +include/h2o/openssl_backport.h +include/h2o/rand.h +include/h2o/serverutil.h +include/h2o/socket/ +include/h2o/socket.h +include/h2o/socket/evloop.h +include/h2o/socket/uv-binding.h +include/h2o/socketpool.h +include/h2o/string_.h +include/h2o/time_.h +include/h2o/timeout.h +include/h2o/token.h +include/h2o/tunnel.h +include/h2o/url.h +include/h2o/version.h +include/h2o/websocket.h +@lib lib/libh2o-evloop.so.${LIBh2o-evloop_VERSION} +lib/pkgconfig/libh2o-evloop.pc +share/doc/h2o/ +share/doc/h2o/assets/ +share/doc/h2o/assets/8mbps100msec-nginx195-h2o150.png +share/doc/h2o/assets/firstpaintbench.png +share/doc/h2o/assets/remotebench.png +share/doc/h2o/assets/searchstyle.css +share/doc/h2o/assets/staticfile612-nginx1910-h2o170.png +share/doc/h2o/assets/style.css +share/doc/h2o/benchmarks.html +share/doc/h2o/configure/ +share/doc/h2o/configure.html +share/doc/h2o/configure/access_control.html +share/doc/h2o/configure/access_log_directives.html +share/doc/h2o/configure/base_directives.html +share/doc/h2o/configure/basic_auth.html +share/doc/h2o/configure/cgi.html +share/doc/h2o/configure/command_options.html +share/doc/h2o/configure/compress_directives.html +share/doc/h2o/configure/dos_detection.html +share/doc/h2o/configure/errordoc_directives.html +share/doc/h2o/configure/expires_directives.html +share/doc/h2o/configure/fastcgi_directives.html +share/doc/h2o/configure/file_directives.html +share/doc/h2o/configure/headers_directives.html +share/doc/h2o/configure/http1_directives.html +share/doc/h2o/configure/http2_directives.html +share/doc/h2o/configure/mruby.html +share/doc/h2o/configure/mruby_directives.html +share/doc/h2o/configure/proxy_directives.html +share/doc/h2o/configure/quick_start.html +share/doc/h2o/configure/redirect_directives.html +share/doc/h2o/configure/reproxy_directives.html +share/doc/h2o/configure/status_directives.html +share/doc/h2o/configure/syntax_and_structure.html +share/doc/h2o/configure/throttle_response_directives.html +share/doc/h2o/examples/ +share/doc/h2o/examples/doc_root/ +share/doc/h2o/examples/doc_root.alternate/ +share/doc/h2o/examples/doc_root.alternate/index.txt +share/doc/h2o/examples/doc_root/index.html +share/doc/h2o/examples/h2o/ +share/doc/h2o/examples/h2o/alternate.crt +share/doc/h2o/examples/h2o/alternate.key +share/doc/h2o/examples/h2o/h2o.conf +share/doc/h2o/examples/h2o/server.crt +share/doc/h2o/examples/h2o/server.key +share/doc/h2o/examples/h2o_mruby/
sparc64 bulk build report
bulk build on sparc64-1.ports.openbsd.org started on Wed Jan 18 01:02:29 MST 2017 finished at Fri Jan 27 17:31:53 MST 2017 lasted 10D09h29m done with kern.version=OpenBSD 6.0-current (GENERIC) #73: Tue Jan 17 03:24:22 MST 2017 built packages:8225 Jan 18:234 Jan 19:230 Jan 20:251 Jan 21:133 Jan 22:136 Jan 23:333 Jan 24:324 Jan 25:671 Jan 26:1285 Jan 27:4627 build failures: 10 http://build-failures.rhaalovely.net//sparc64/2017-01-18/audio/openal.log http://build-failures.rhaalovely.net//sparc64/2017-01-18/benchmarks/tcpblast.log http://build-failures.rhaalovely.net//sparc64/2017-01-18/devel/cbmc.log http://build-failures.rhaalovely.net//sparc64/2017-01-18/devel/keystone.log http://build-failures.rhaalovely.net//sparc64/2017-01-18/multimedia/gstreamer1/core.log http://build-failures.rhaalovely.net//sparc64/2017-01-18/multimedia/libvpx.log http://build-failures.rhaalovely.net//sparc64/2017-01-18/security/sslscan,openssl.log http://build-failures.rhaalovely.net//sparc64/2017-01-18/sysutils/u-boot,aarch64.log http://build-failures.rhaalovely.net//sparc64/2017-01-18/textproc/link-grammar,,-main.log http://build-failures.rhaalovely.net//sparc64/2017-01-18/www/varnish.log recurrent failures failures/audio/openal.log failures/devel/cbmc.log failures/devel/keystone.log failures/multimedia/gstreamer1/core.log failures/security/sslscan,openssl.log failures/sysutils/u-boot,aarch64.log failures/textproc/link-grammar,,-main.log new failures +++ ls-failures Fri Jan 27 17:32:22 2017 +failures/benchmarks/tcpblast.log +failures/multimedia/libvpx.log +failures/www/varnish.log resolved failures --- ../old/sparc64/last//ls-failuresTue Jan 17 21:42:46 2017 -failures/devel/cargo.log -failures/lang/rust,-doc.log Base libs: curses.14.0 edit.5.2 event.4.1 expat.11.0 form.6.0 formw.6.0 fuse.1.1 iberty.12.0 menu.6.0 menuw.6.0 ncurses.14.0 ncursesw.14.0 objc.6.0 ossaudio.4.0 panel.6.0 panelw.6.0 perl.17.1 radius.1.0 readline.4.0 rpcsvc.2.0 skey.6.0 sndio.6.1 stdc++.57.0 termcap.14.0 .14.0 usbhid.7.0 util.12.1 z.5.0 pthread.23.0 c.89.2 c.89.2.a kvm.16.2 m.10.0 pcap.8.3 crypto.41.0 ssl.42.0 tls.14.0 X libs: FS.10.0 GLESv1_CM.1.0 GLU.9.0 GLw.6.0 ICE.10.0 SM.9.0 X11-xcb.2.0 X11.16.1 XRes.5.0 Xau.10.0 Xaw.15.0 Xaw7.15.0 Xcomposite.4.0 Xcursor.5.0 Xdamage.4.0 Xdmcp.11.0 Xext.13.0 Xfixes.6.0 Xfontcache.5.0 Xi.12.1 Xinerama.6.0 Xmu.11.0 Xmuu.6.0 Xpm.9.0 Xrandr.7.1 Xrender.6.0 Xss.6.0 Xt.11.0 Xtst.11.0 Xv.6.0 XvMC.6.0 XvMCW.2.0 dmx.2.0 XvMCr600.1.0 Xxf86dga.6.0 Xxf86misc.6.0 Xxf86vm.6.0 drm_nouveau.3.0 drm_radeon.4.0 epoxy.2.0 fontenc.4.0 pciaccess.2.0 pixman-1.32.6 pthread-stubs.2.0 txc_dxtn.0.0 xcb-composite.1.0 xcb-cursor.0.0 xcb-damage.1.0 xcb-dpms.1.0 xcb-dri2.1.1 xcb-dri3.0.0 xcb-ewmh.2.0 xcb-icccm.4.0 xcb-image.2.0 xcb-keysyms.3.0 xcb-render-util.2.0 xcb-res.1.1 xcb-shm.1.1 xcb-util.0.0 xcb-xevie.1.0 xcb-xf86dri.2.0 xcb-xinerama.1.0 xcb-xtest.1.0 xcb-xvmc.1.0 xkbfile.6.0 xkbui.5.0 Xfont.13.0 Xft.10.0 glapi.0.2 fontconfig.11.0 xcb-glx.1.1 xcb-present.0.1 xcb-randr.2.2 xcb-record.1.1 xcb-render.1.1 xcb-screensaver.1.1 xcb-shape.1.1 xcb-sync.1.2 xcb-xfixes.1.2 xcb-xkb.0.1 xcb-xprint.3.0 xcb-xv.1.1 xcb.4.0 xcb-xrm.0.0 drm.7.3 drm_amdgpu.1.2 EGL.1.1 GL.17.1 GLESv2.1.2 OSMesa.10.1 gbm.0.1 freetype.28.0
CVS: cvs.openbsd.org: ports
CVSROOT:/cvs Module name:ports Changes by: bent...@cvs.openbsd.org 2017/01/27 15:47:29 Modified files: print/sile : Makefile Log message: Configure fails without the runtime dependencies. No build, no bump. Failure pointed out by kili@
CVS: cvs.openbsd.org: ports
CVSROOT:/cvs Module name:ports Changes by: st...@cvs.openbsd.org 2017/01/27 15:19:20 Removed files: sysutils/rancid/files: fnlogin.in audio/jack/files: Makefile.am sndio_driver.c sndio_driver.h textproc/ocaml-xmlm/pkg: PFRAG.no-native Log message: zap more zero-byte files, found by rsadowski, who also tested builds without them present.
CVS: cvs.openbsd.org: ports
CVSROOT:/cvs Module name:ports Changes by: afre...@cvs.openbsd.org 2017/01/27 15:14:33 Modified files: devel/p5-Test-Most: Makefile distinfo Log message: Update devel/p5-Test-Most to 0.35 OK bluhm@
CVS: cvs.openbsd.org: ports
CVSROOT:/cvs Module name:ports Changes by: st...@cvs.openbsd.org 2017/01/27 11:52:26 Removed files: graphics/glfw/patches: patch-src-glx_context-c graphics/opencv/patches: patch-apps_haartraining_CMakeLists_txt patch-modules_core_include_opencv2_core_version_hpp net/samba/patches: patch-lib_replace_wscript x11/tellico-kde4/patches: patch-src_fetch_allocinefetcher_cpp patch-src_fetch_discogsfetcher_cpp patch-src_fetch_moviemeterfetcher_cpp patch-src_fetch_themoviedbfetcher_cpp patch-src_fetch_vndbfetcher_cpp patch-src_tests_discogsfetchertest_cpp Log message: zap zero-byte files, list from rsadowski
Re: UPDATE: security/hydra
On Sat Nov 26, 2016 at 11:09:37AM +0100, Rafael Sadowski wrote: > On Mon Oct 17, 2016 at 09:15:49PM +0200, Rafael Sadowski wrote: > > On Sun Oct 09, 2016 at 03:55:27PM +0200, Remi Pointel wrote: > > > On 10/09/16 10:29, Rafael Sadowski wrote: > > > > Index: pkg/PLIST-main > > > > === > > > > RCS file: /cvs/ports/security/hydra/pkg/PLIST-main,v > > > > retrieving revision 1.3 > > > > diff -u -p -u -p -r1.3 PLIST-main > > > > --- pkg/PLIST-main 5 Nov 2011 15:24:39 - 1.3 > > > > +++ pkg/PLIST-main 9 Oct 2016 08:17:22 - > > > > @@ -1,8 +1,15 @@ > > > > @comment $OpenBSD: PLIST-main,v 1.3 2011/11/05 15:24:39 nigel Exp $ > > > > @pkgpath security/hydra > > > > +bin/dpl4hydra.sh > > > > @bin bin/hydra > > > > +bin/hydra-wizard.sh > > > > @bin bin/pw-inspector > > > > +hydra/ > > > > +hydra/etc/ > > > > +hydra/etc/dpl4hydra_full.csv > > > > +hydra/etc/dpl4hydra_local.csv > > > > @man man/man1/hydra.1 > > > > @man man/man1/pw-inspector.1 > > > > share/doc/hydra/ > > > > +share/doc/hydra/LICENSE > > > > share/doc/hydra/README > > > > > > > > > > Hi, > > > > > > I quickly tested and it sounds good for me. > > > However, I would install dpl4hydra_full.csv and dpl4hydra_local.csv in > > > another path (maybe share/doc/hydra/, but not in ${LOCALBASE}/hydra/etc/. > > > > > > Cheers, > > > > > > Remi. > > > > Updated diff with dpl4hydra_* in "share/doc/hydra/": > > > > *ping*, nobody? > Updated version to 8.4. Best regards, Rafael Sadowski Index: Makefile === RCS file: /cvs/ports/security/hydra/Makefile,v retrieving revision 1.56 diff -u -p -u -p -r1.56 Makefile --- Makefile17 Jan 2016 17:29:10 - 1.56 +++ Makefile27 Jan 2017 17:58:40 - @@ -3,50 +3,43 @@ COMMENT-main= parallelized network logon cracker COMMENT-gui= GTK frontend for hydra -VERSION= 8.1 -REVISION-main= 0 -DISTNAME= hydra-${VERSION} +VERSION= 8.4 PKGNAME-main= hydra-${VERSION} PKGNAME-gui= hydra-gui-${VERSION} -CATEGORIES=security +CATEGORIES=security -HOMEPAGE= http://thc.org/thc-hydra/ +GH_ACCOUNT = vanhauser-thc +GH_PROJECT = thc-hydra +GH_TAGNAME = v${VERSION} -#GNU AFFERO GENERAL PUBLIC LICENSE Version 3 -PERMIT_PACKAGE_CDROM= Yes +HOMEPAGE= https://thc.org/thc-hydra/ -WANTLIB= c m +# AGPLv3 (GNU Affero Public License) +PERMIT_PACKAGE_CDROM= Yes -MASTER_SITES = http://www.thc.org/releases/ -MASTER_SITES +=${MASTER_SITE_PACKETSTORM:=groups/thc/} +WANTLIB= c z PSEUDO_FLAVORS=no_x11 FLAVOR?= MULTI_PACKAGES=-main -CONFIGURE_STYLE=gnu dest +CONFIGURE_STYLE=gnu USE_GMAKE= Yes NO_TEST= Yes MAKE_FLAGS=CC=${CC} -CFLAGS += -I${LOCALBASE}/include + +CONFIGURE_ARGS = --with-ssl=prefix="/usr/include" \ + --with-ssl-lib=prefix="/usr/lib" \ + --prefix=${LOCALBASE} .if ${FLAVOR:Mno_x11} ALL_TARGET=hydra pw-inspector - -do-install: - cd ${WRKBUILD}; $(INSTALL_PROGRAM) hydra pw-inspector $(PREFIX)/bin .else - +MODULES= devel/gettext MULTI_PACKAGES+=-gui - ALL_TARGET=all - -MODULES= devel/gettext - -post-configure: - cd ${WRKSRC}/hydra-gtk && ./configure .endif LIB_DEPENDS-main= databases/mariadb,-main \ @@ -55,24 +48,24 @@ LIB_DEPENDS-main= databases/mariadb,-mai devel/pcre \ security/libssh RUN_DEPENDS-main= -WANTLIB-main= ${WANTLIB} curses crypto idn mysqlclient pcre pq pthread ssh ssl + +WANTLIB-main= ${WANTLIB} m crypto curses idn mysqlclient pcre pq ssh ssl + LIB_DEPENDS-gui=x11/gtk+2 \ ${MODGETTEXT_LIB_DEPENDS} -RUN_DEPENDS-gui=hydra-${VERSION}:security/hydra,-main \ + +RUN_DEPENDS-gui=${PKGPATH},-main \ ${MODGETTEXT_RUN_DEPENDS} -WANTLIB-gui= ${WANTLIB} GL X11 Xcomposite Xcursor Xdamage Xfixes \ - Xext Xi Xinerama Xrandr Xrender atk-1.0 freetype fontconfig \ - gdk-x11-2.0 gdk_pixbuf-2.0 gtk-x11-2.0 \ - gio-2.0 gmodule-2.0 gobject-2.0 glib-2.0 gthread-2.0 png \ - pango-1.0 pangocairo-1.0 pixman-1 cairo z expat \ - pangoft2-1.0 pthread pthread-stubs xcb xcb-render \ - xcb-shm -post-extract: - chmod -R u+w ${WRKDIST} +WANTLIB-gui= X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama \ + Xrandr Xrender atk-1.0 cairo fontconfig freetype gdk-x11-2.0 \ + gdk_pixbuf-2.0 gio-2.0 glib-2.0 gobject-2.0 gtk-x11-2.0 \ + pango-1.0 pangocairo-1.0 pangoft2-1.0 intl ${WANTLIB} post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/hydra - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/hydra + ${INSTALL_DATA} ${WRKSRC}/{README,LICENSE} ${PREFIX}/share/doc/hydra + ${INSTALL_DATA}
CVS: cvs.openbsd.org: ports
CVSROOT:/cvs Module name:ports Changes by: z...@cvs.openbsd.org2017/01/27 09:13:08 Modified files: x11/qt5/qtbase : Makefile x11/qt5/qtbase/patches: patch-src_network_ssl_qsslcontext_openssl_cpp Added files: x11/qt5/qtbase/patches: patch-src_network_ssl_qsslsocket_openssl_symbols_cpp patch-src_network_ssl_qsslsocket_openssl_symbols_p_h Log message: Fix after recent LibreSSL changes. Nowadays we have fake SSL_CTRL_SET_CURVES macro, and SSL_CTX_set1_curves defined as synonym to SSL_CTX_set1_groups. So use the latter instead of the former. The patch should be tweaked furthermore before proposing it upstream, but for now we can at least build things again.
CVS: cvs.openbsd.org: ports
CVSROOT:/cvs Module name:ports Changes by: bl...@cvs.openbsd.org 2017/01/27 08:27:59 Modified files: security/p5-IO-Socket-SSL: Makefile distinfo Log message: update p5-IO-Socket-SSL to 2.044
CVS: cvs.openbsd.org: ports
CVSROOT:/cvs Module name:ports Changes by: st...@cvs.openbsd.org 2017/01/27 07:34:24 Modified files: textproc/p5-PDF-API2: Makefile distinfo textproc/p5-PDF-API2/pkg: PLIST Log message: update to p5-PDF-API2 2.031
CVS: cvs.openbsd.org: ports
CVSROOT:/cvs Module name:ports Changes by: st...@cvs.openbsd.org 2017/01/27 04:23:21 Modified files: www/links : Makefile Added files: www/links/patches: patch-connect_c patch-links_h Log message: remove fallback that disables TLS if a connection fails; has been useless for some time but now build fails because options was moved to internal-only in libressl
CVS: cvs.openbsd.org: ports
CVSROOT:/cvs Module name:ports Changes by: st...@cvs.openbsd.org 2017/01/27 04:10:38 Added files: security/sslsplit/patches: patch-ssl_c Log message: use the accessor instead of ssl->state still broken, it also wants ssl->type
CVS: cvs.openbsd.org: ports
CVSROOT:/cvs Module name:ports Changes by: st...@cvs.openbsd.org 2017/01/27 04:01:14 Modified files: security/sslscan: Makefile distinfo security/sslscan/patches: patch-Makefile Added files: security/sslscan/patches: patch-sslscan_c Log message: update to sslscan-1.11.8, convert to GH_* variables, use the SSL_get_state() accessor rather than digging in the struct directly which no longer works in libressl (state was moved to internal).
CVS: cvs.openbsd.org: ports
CVSROOT:/cvs Module name:ports Changes by: st...@cvs.openbsd.org 2017/01/27 03:20:17 Modified files: net/monitoring-plugins: Makefile Added files: net/monitoring-plugins/patches: patch-plugins-scripts_check_ircd_pl Log message: Replace handrolled pack with pack_sockaddr_in to fix check_ircd on systems where sockaddr_storage includes a length. Diff from Alf Schlichting with one minor tweak by me.
CVS: cvs.openbsd.org: ports
CVSROOT:/cvs Module name:ports Changes by: bent...@cvs.openbsd.org 2017/01/27 01:35:36 Modified files: print : Makefile Log message: +sile
CVS: cvs.openbsd.org: ports
CVSROOT:/cvs Module name:ports Changes by: bent...@cvs.openbsd.org 2017/01/27 01:34:57 Log message: Import sile-0.9.4. SILE is a typesetting system. Its job is to produce beautiful printed documents. SILE takes some textual instructions and turns them into PDF output. It has features inspired by TeX and InDesign, but seeks to be more flexible, extensible and programmable than them. It's useful both for typesetting documents written in the SILE language, and as a processing system for styling and outputting structured data. ok landry@ Status: Vendor Tag: bentley Release Tags: bentley_20170127 N ports/print/sile/Makefile N ports/print/sile/distinfo N ports/print/sile/pkg/PLIST N ports/print/sile/pkg/DESCR N ports/print/sile/patches/patch-core_font_lua No conflicts created by this import
CVS: cvs.openbsd.org: ports
CVSROOT:/cvs Module name:ports Changes by: bent...@cvs.openbsd.org 2017/01/27 01:33:00 Modified files: fonts : Makefile Log message: +sunscreen
CVS: cvs.openbsd.org: ports
CVSROOT:/cvs Module name:ports Changes by: bent...@cvs.openbsd.org 2017/01/27 01:32:14 Log message: Import sunscreen-1.0. Step back into the '70s with this disco-inspired display face. Groovy, baby! ok landry@ Status: Vendor Tag: bentley Release Tags: bentley_20170127 N ports/fonts/sunscreen/Makefile N ports/fonts/sunscreen/distinfo N ports/fonts/sunscreen/pkg/PLIST N ports/fonts/sunscreen/pkg/DESCR No conflicts created by this import