Index: head/java/Makefile =================================================================== --- head/java/Makefile (revision 453006) +++ head/java/Makefile (revision 453007) @@ -1,131 +1,132 @@ # $FreeBSD$ # COMMENT = Java language support SUBDIR += aparapi SUBDIR += avis SUBDIR += berkeley-db SUBDIR += bluej SUBDIR += bootstrap-openjdk SUBDIR += bootstrap-openjdk6 SUBDIR += bootstrap-openjdk8 SUBDIR += bouncycastle SUBDIR += bouncycastle15 SUBDIR += cacao SUBDIR += castor SUBDIR += classpath SUBDIR += cos SUBDIR += cryptix-jce SUBDIR += dbvis SUBDIR += eclipse SUBDIR += eclipse-EPIC SUBDIR += eclipse-cdt SUBDIR += eclipse-drjava SUBDIR += eclipse-ecj SUBDIR += eclipse-findbugs SUBDIR += eclipse-log4e SUBDIR += eclipse-lomboz SUBDIR += eclipse-pydev SUBDIR += eclipse-shelled SUBDIR += eclipse-windowbuilder SUBDIR += hamcrest SUBDIR += icedtea-web SUBDIR += infobus SUBDIR += intellij SUBDIR += intellij-fsnotifier SUBDIR += intellij-pty4j SUBDIR += intellij-rubymine SUBDIR += intellij-ultimate SUBDIR += jad SUBDIR += jaf SUBDIR += jai SUBDIR += jakarta-bcel SUBDIR += jakarta-commons-beanutils SUBDIR += jakarta-commons-cli SUBDIR += jakarta-commons-codec SUBDIR += jakarta-commons-collections SUBDIR += jakarta-commons-dbcp SUBDIR += jakarta-commons-discovery SUBDIR += jakarta-commons-httpclient SUBDIR += jakarta-commons-lang SUBDIR += jakarta-commons-lang3 SUBDIR += jakarta-commons-logging SUBDIR += jakarta-commons-pool SUBDIR += jakarta-commons-primitives SUBDIR += jakarta-oro SUBDIR += jakarta-regexp SUBDIR += jamvm SUBDIR += jasmin + SUBDIR += jattach SUBDIR += java-checkstyle SUBDIR += java-cup SUBDIR += java-getopt SUBDIR += java-subversion SUBDIR += java-zoneinfo SUBDIR += java3d SUBDIR += javahelp SUBDIR += javamail SUBDIR += javavmwrapper SUBDIR += jaxen SUBDIR += jcalendar SUBDIR += jcckit SUBDIR += jcommon SUBDIR += jd-gui SUBDIR += jdbcpool SUBDIR += jdk8-doc SUBDIR += jdom SUBDIR += jflex SUBDIR += jfreechart SUBDIR += jgraph SUBDIR += jgrapht SUBDIR += jgraphx SUBDIR += jikes SUBDIR += jlex SUBDIR += jlint SUBDIR += jmf SUBDIR += jode SUBDIR += jomp SUBDIR += jrosetta SUBDIR += jta SUBDIR += jtiger SUBDIR += jump SUBDIR += junit SUBDIR += jxgrabkey SUBDIR += langspec SUBDIR += lightweight-java-profiler SUBDIR += linux-oracle-jdk18 SUBDIR += linux-oracle-jre18 SUBDIR += linux-oracle-jdk9 SUBDIR += linux-oracle-jre9 SUBDIR += mmake SUBDIR += mx4j SUBDIR += netbeans SUBDIR += netbeans-devel SUBDIR += netcomponents SUBDIR += netrexx SUBDIR += netty SUBDIR += openjdk6 SUBDIR += openjdk6-jre SUBDIR += openjdk7 SUBDIR += openjdk7-jre SUBDIR += openjdk8 SUBDIR += openjdk8-jre SUBDIR += openjfx8-devel SUBDIR += openjfx8-scenebuilder SUBDIR += phpeclipse SUBDIR += proguard SUBDIR += sablevm SUBDIR += sablevm-classpath SUBDIR += servingxml SUBDIR += sigar SUBDIR += springframework SUBDIR += springframework31 SUBDIR += sqlitejdbc SUBDIR += trove4j SUBDIR += veditor SUBDIR += visualvm SUBDIR += wildfly10 SUBDIR += wildfly90 SUBDIR += xdoclet .include Index: head/java/jattach/Makefile =================================================================== --- head/java/jattach/Makefile (nonexistent) +++ head/java/jattach/Makefile (revision 453007) @@ -0,0 +1,24 @@ +# $FreeBSD$ + +PORTNAME= jattach +DISTVERSION= g20170928 +CATEGORIES= java devel + +MAINTAINER= mizhka@gmail.com +COMMENT= JVM dynamic attach utility + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= gmake + +USE_GITHUB= yesmake +GH_ACCOUNT= apangin +GH_TAGNAME= ccc2f05 + +PLIST_FILES= bin/jattach + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/build/jattach ${STAGEDIR}${PREFIX}/bin/jattach + +.include Property changes on: head/java/jattach/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/java/jattach/distinfo =================================================================== --- head/java/jattach/distinfo (nonexistent) +++ head/java/jattach/distinfo (revision 453007) @@ -0,0 +1,3 @@ +TIMESTAMP = 1506587842 +SHA256 (apangin-jattach-g20170928-ccc2f05_GH0.tar.gz) = dafb14375200beb6c52ffce6412c0d74c4639d8421f275f9b6085511ca4e886d +SIZE (apangin-jattach-g20170928-ccc2f05_GH0.tar.gz) = 9773 Property changes on: head/java/jattach/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ 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/java/jattach/files/patch-Makefile =================================================================== --- head/java/jattach/files/patch-Makefile (nonexistent) +++ head/java/jattach/files/patch-Makefile (revision 453007) @@ -0,0 +1,21 @@ +--- Makefile.orig 2017-09-27 07:10:05 UTC ++++ Makefile +@@ -2,6 +2,10 @@ ifneq ($(findstring Windows,$(OS)),) + CL=cl.exe + CFLAGS=/O2 /D_CRT_SECURE_NO_WARNINGS + JATTACH_EXE=jattach.exe ++else ++ UNAME_S := $(shell uname -s) ++ifneq ($(findstring FreeBSD,$(UNAME_S)),) ++ JATTACH_EXE=jattach + else + ROOT_DIR:=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST)))) + RPM_ROOT=$(ROOT_DIR)/build/rpm +@@ -10,6 +14,7 @@ else + CC=gcc + CFLAGS=-O2 + JATTACH_EXE=jattach ++endif + endif + + all: build build/$(JATTACH_EXE) Property changes on: head/java/jattach/files/patch-Makefile ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ 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/java/jattach/pkg-descr =================================================================== --- head/java/jattach/pkg-descr (nonexistent) +++ head/java/jattach/pkg-descr (revision 453007) @@ -0,0 +1,8 @@ +The utility to send commands to remote JVM via Dynamic Attach mechanism. +All-in-one jmap + jstack + jcmd + jinfo functionality in a single tiny program. +No installed JDK required, works with just JRE. + +This is the lightweight native version of HotSpot Attach API +https://docs.oracle.com/javase/8/docs/jdk/api/attach/spec/ + +WWW: https://github.com/apangin/jattach Property changes on: head/java/jattach/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ 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