From owner-svn-ports-all@freebsd.org Wed Mar 25 21:25:33 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E27BF264247; Wed, 25 Mar 2020 21:25:33 +0000 (UTC) (envelope-from 0mp@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48nh3v2wGgz4RML; Wed, 25 Mar 2020 21:25:31 +0000 (UTC) (envelope-from 0mp@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C760821A71; Wed, 25 Mar 2020 21:06:08 +0000 (UTC) (envelope-from 0mp@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 02PL68c8072638; Wed, 25 Mar 2020 21:06:08 GMT (envelope-from 0mp@FreeBSD.org) Received: (from 0mp@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 02PL67UF072631; Wed, 25 Mar 2020 21:06:07 GMT (envelope-from 0mp@FreeBSD.org) Message-Id: <202003252106.02PL67UF072631@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: 0mp set sender to 0mp@FreeBSD.org using -f From: Mateusz Piotrowski <0mp@FreeBSD.org> Date: Wed, 25 Mar 2020 21:06:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r529128 - in head/devel: . libmatthew libmatthew/files X-SVN-Group: ports-head X-SVN-Commit-Author: 0mp X-SVN-Commit-Paths: in head/devel: . libmatthew libmatthew/files X-SVN-Commit-Revision: 529128 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Mar 2020 21:25:34 -0000 Author: 0mp Date: Wed Mar 25 21:06:07 2020 New Revision: 529128 URL: https://svnweb.freebsd.org/changeset/ports/529128 Log: New port: devel/libmatthew Selection of libraries for Java which are useful and not provided with Java. - Unix Sockets Library: This is a collection of classes and native code to allow you to read and write Unix sockets in Java. - Debug Library: This is a comprehensive logging and debugging solution. - CGI Library: This is a collection of classes and native code to allow you to write CGI applications in Java. - I/O Library: This provides a few much needed extensions to the Java I/O subsystem. Firstly, there is a class which will connect and InputStream with an OutputStream and copy data between them. Secondly there are two classes for inserting into an Input or OutputStream pipe a command line command, so that everything is piped through that command. Thirdly there are a pair of classes for splitting streams in two. This can either be to two OuputStreams, or to an OutputStream and a file. Equivelent to the UNIX tool tee in UNIX pipes. - Hexdump: This class formats byte-arrays in hex and ascii for display. WWW: http://www.matthew.ath.cx/projects/java/ Added: head/devel/libmatthew/ head/devel/libmatthew/Makefile (contents, props changed) head/devel/libmatthew/distinfo (contents, props changed) head/devel/libmatthew/files/ head/devel/libmatthew/files/patch-Makefile (contents, props changed) head/devel/libmatthew/pkg-descr (contents, props changed) head/devel/libmatthew/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Wed Mar 25 21:05:30 2020 (r529127) +++ head/devel/Makefile Wed Mar 25 21:06:07 2020 (r529128) @@ -1242,6 +1242,7 @@ SUBDIR += liblxqt SUBDIR += libmaa SUBDIR += libmatheval + SUBDIR += libmatthew SUBDIR += libmba SUBDIR += libmill SUBDIR += libmimedir Added: head/devel/libmatthew/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libmatthew/Makefile Wed Mar 25 21:06:07 2020 (r529128) @@ -0,0 +1,27 @@ +# $FreeBSD$ + +PORTNAME= libmatthew +DISTVERSION= 0.8.1 +CATEGORIES= devel java +MASTER_SITES= http://www.matthew.ath.cx/projects/java/ +DISTNAME= ${PORTNAME}-java-${DISTVERSION} + +MAINTAINER= 0mp@FreeBSD.org +COMMENT= Selection of Java libraries by Matthew Johnson + +LICENSE= EXPAT +LICENSE_NAME= Expat License +LICENSE_FILE= ${WRKSRC}/COPYING +LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept + +USES= gmake localbase:ldconfig +USE_JAVA= yes +USE_LDCONFIG= yes + +MAKE_ENV= JAVA_HOME='${JAVA_HOME}' \ + LDSHAREFLAGS='-fpic -shared' + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/jni/*-java.so + +.include Added: head/devel/libmatthew/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libmatthew/distinfo Wed Mar 25 21:06:07 2020 (r529128) @@ -0,0 +1,3 @@ +TIMESTAMP = 1585137871 +SHA256 (libmatthew-java-0.8.1.tar.gz) = 46782b940c71d8db07470633efcf65c2aeda94de9a846fe178a5918fb2ad026f +SIZE (libmatthew-java-0.8.1.tar.gz) = 29064 Added: head/devel/libmatthew/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libmatthew/files/patch-Makefile Wed Mar 25 21:06:07 2020 (r529128) @@ -0,0 +1,32 @@ +--- Makefile.orig 2020-03-25 12:08:05 UTC ++++ Makefile +@@ -6,13 +6,13 @@ GCJ?=gcj + CC?=gcc + LD?=gcc + JPPFLAGS+=-C -P +-CFLAGS+=-Wall -Os -pedantic -Werror ++CFLAGS+=-Wall -pedantic -Werror + CSTD?=-std=c99 + CSHAREFLAG+=-fpic -fno-stack-protector + GCJJNIFLAG=-fjni + JVERCFLAGS+=-source 1.5 + JCFLAGS+= +-INCLUDES+=-I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux ++INCLUDES+=-I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/freebsd + JAVADOCFLAGS?=-quiet -author -link http://java.sun.com/j2se/1.4.2/docs/api/ + + LDVER?=$(shell ld -v | cut -d' ' -f1) +@@ -91,11 +91,11 @@ libmatthew-java-$(MATTVER).tar.gz: Makefile cx cgi-jav + tar zcf $@ libmatthew-java-$(MATTVER) + + debug-enable-$(DEBUGVER).jar: cx/ath/matthew/debug/Debug.jpp +- make .enabledebug ++ $(MAKE) .enabledebug + echo "Class-Path: $(JARDIR)/hexdump.jar" > Manifest + (cd classes;jar cfm ../$@ ../Manifest cx/ath/matthew/debug/*.class) + debug-disable-$(DEBUGVER).jar: cx/ath/matthew/debug/Debug.jpp +- make .disabledebug ++ $(MAKE) .disabledebug + echo "Class-Path: $(JARDIR)/hexdump.jar" > Manifest + (cd classes;jar cfm ../$@ ../Manifest cx/ath/matthew/debug/*.class) + .enabledebug: cx/ath/matthew/debug/Debug.jpp Added: head/devel/libmatthew/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libmatthew/pkg-descr Wed Mar 25 21:06:07 2020 (r529128) @@ -0,0 +1,18 @@ +Selection of libraries for Java which are useful and not provided with Java. + +- Unix Sockets Library: This is a collection of classes and native code to + allow you to read and write Unix sockets in Java. +- Debug Library: This is a comprehensive logging and debugging solution. +- CGI Library: This is a collection of classes and native code to allow you to + write CGI applications in Java. +- I/O Library: This provides a few much needed extensions to the Java I/O + subsystem. Firstly, there is a class which will connect and InputStream with + an OutputStream and copy data between them. Secondly there are two classes + for inserting into an Input or OutputStream pipe a command line command, so + that everything is piped through that command. Thirdly there are a pair of + classes for splitting streams in two. This can either be to two OuputStreams, + or to an OutputStream and a file. Equivelent to the UNIX tool tee in UNIX + pipes. +- Hexdump: This class formats byte-arrays in hex and ascii for display. + +WWW: http://www.matthew.ath.cx/projects/java/ Added: head/devel/libmatthew/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libmatthew/pkg-plist Wed Mar 25 21:06:07 2020 (r529128) @@ -0,0 +1,14 @@ +lib/jni/libcgi-java.so +lib/jni/libunix-java.so +%%JAVASHAREDIR%%/cgi-0.6.jar +%%JAVASHAREDIR%%/cgi.jar +%%JAVASHAREDIR%%/debug-disable-1.1.jar +%%JAVASHAREDIR%%/debug-disable.jar +%%JAVASHAREDIR%%/debug-enable-1.1.jar +%%JAVASHAREDIR%%/debug-enable.jar +%%JAVASHAREDIR%%/hexdump-0.2.jar +%%JAVASHAREDIR%%/hexdump.jar +%%JAVASHAREDIR%%/io-0.1.jar +%%JAVASHAREDIR%%/io.jar +%%JAVASHAREDIR%%/unix-0.5.jar +%%JAVASHAREDIR%%/unix.jar