FreeBSD Bugzilla – Attachment 215236 Details for
Bug 227392
[NEW PORT] java/ohc: Off-heap cache library for Java
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Shar archive for v0.7.0
ohc.shar (text/plain), 9.93 KB, created by
Angelo Polo
on 2020-06-04 20:35:28 UTC
(
hide
)
Description:
Shar archive for v0.7.0
Filename:
MIME Type:
Creator:
Angelo Polo
Created:
2020-06-04 20:35:28 UTC
Size:
9.93 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: ># ># ohc ># ohc/Makefile ># ohc/distinfo ># ohc/files ># ohc/files/patch-ohc-core_src_main_java_org_caffinitas_ohc_linked_Uns.java ># ohc/files/patch-ohc-core_pom.xml ># ohc/files/patch-pom.xml ># ohc/pkg-descr ># >echo c - ohc >mkdir -p ohc > /dev/null 2>&1 >echo x - ohc/Makefile >sed 's/^X//' >ohc/Makefile << 'fd8f240a63f68d6c266bbf1835639163' >X# $FreeBSD$ >X >XPORTNAME= ohc >XPORTVERSION= 0.7.0 >XCATEGORIES= java devel >XMASTER_SITES= LOCAL:maven >XDISTFILES+= ${PORTNAME}-${PORTVERSION}-maven-repository.tar.gz:maven >X >XMAINTAINER= language.devel@gmail.com >XCOMMENT= Off-heap-cache for Java >X >XLICENSE= APACHE20 >X >XP_B_DEPENDS= snappyjava>0:archivers/snappy-java \ >X ${LOCALBASE}/share/java/maven33/bin/mvn:devel/maven33 >XPATCH_DEPENDS= ${P_B_DEPENDS} >XBUILD_DEPENDS= ${P_B_DEPENDS} >XRUN_DEPENDS= snappyjava>0:archivers/snappy-java >X >XOPTIONS_DEFINE= TESTS >XTESTS_DESC= Compile and run tests and benchmarking >X >XUSE_GITHUB= yes >XGH_ACCOUNT= snazy >X >XJAVA_VERSION= 8 11 >XJAVA_VENDOR= openjdk >XUSE_JAVA= yes >X >XPLIST_FILES= ${JAVAJARDIR}/ohc-core.jar >X >X.include <bsd.port.options.mk> >X >X.if ${PORT_OPTIONS:MTESTS} >XNOTESTS_FLAG= >X.else >XNOTESTS_FLAG= -Dmaven.test.skip=true >X.endif >X >XSNAPPY_VERSION=`${PKG_QUERY} '%v' snappyjava` >X >Xpost-patch: >X SNAPPY_VERSION=$$( ${PKG_QUERY} '%v' snappyjava ) ; cd ${WRKSRC} ; \ >X ${REINPLACE_CMD} "s|version.org.xerial.snappy>[0-9].[0-9].[0-9].[0-9]<|version.org.xerial.snappy>$$SNAPPY_VERSION<|" pom.xml ; \ >X ${LOCALBASE}/share/java/maven33/bin/mvn install:install-file -Dfile=${JAVAJARDIR}/snappy-java.jar \ >X -DgroupId=org.xerial.snappy -DartifactId=snappy-java -Dversion=$$SNAPPY_VERSION -Dpackaging=jar -Dmaven.repo.local=${WRKDIR}/repository --offline >X >Xpost-patch-TESTS-off: >X ${REINPLACE_CMD} -e 's|<module>ohc-benchmark</module>|<!--module>ohc-benchmark</module-->|' \ >X -e 's|<module>ohc-jmh</module>|<!--module>ohc-jmh</module-->|' ${WRKSRC}/pom.xml >X >Xdo-build: >X cd ${WRKSRC} ; ${LOCALBASE}/share/java/maven33/bin/mvn clean install -Dmaven.repo.local=${WRKDIR}/repository ${NOTESTS_FLAG} --offline >X >Xdo-install: >X ${INSTALL_DATA} ${WRKSRC}/ohc-core/target/ohc-core-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}/ohc-core.jar >X >X.include <bsd.port.mk> >fd8f240a63f68d6c266bbf1835639163 >echo x - ohc/distinfo >sed 's/^X//' >ohc/distinfo << 'e6a72dd81bc6ddfc978def57dfada992' >XTIMESTAMP = 1590747667 >XSHA256 (ohc-0.7.0-maven-repository.tar.gz) = 45afeb0533cb7b2816e627b3fa33ab9c76df9cb13259294b3dd6fb1fd3b01ea4 >XSIZE (ohc-0.7.0-maven-repository.tar.gz) = 66746501 >XSHA256 (snazy-ohc-0.7.0_GH0.tar.gz) = 02c859fea1d6c714b96116f16fbdd0bf6fbc7bc9d711210b6aadca9981263b36 >XSIZE (snazy-ohc-0.7.0_GH0.tar.gz) = 138567 >e6a72dd81bc6ddfc978def57dfada992 >echo c - ohc/files >mkdir -p ohc/files > /dev/null 2>&1 >echo x - ohc/files/patch-ohc-core_src_main_java_org_caffinitas_ohc_linked_Uns.java >sed 's/^X//' >ohc/files/patch-ohc-core_src_main_java_org_caffinitas_ohc_linked_Uns.java << 'a8f972d076ac8ad91f23d34b096ce750' >X--- ohc-core/src/main/java/org/caffinitas/ohc/linked/Uns.java.orig 2018-08-19 14:34:29 UTC >X+++ ohc-core/src/main/java/org/caffinitas/ohc/linked/Uns.java >X@@ -204,49 +204,49 @@ final class Uns >X static void putLong(long address, long offset, long value) >X { >X validate(address, offset, 8L); >X- unsafe.putLong(null, address + offset, value); >X+ unsafe.putLong(address + offset, value); >X } >X >X static long getLong(long address, long offset) >X { >X validate(address, offset, 8L); >X- return unsafe.getLong(null, address + offset); >X+ return unsafe.getLong(address + offset); >X } >X >X static void putInt(long address, long offset, int value) >X { >X validate(address, offset, 4L); >X- unsafe.putInt(null, address + offset, value); >X+ unsafe.putInt(address + offset, value); >X } >X >X static int getInt(long address, long offset) >X { >X validate(address, offset, 4L); >X- return unsafe.getInt(null, address + offset); >X+ return unsafe.getInt(address + offset); >X } >X >X static void putShort(long address, long offset, short value) >X { >X validate(address, offset, 2L); >X- unsafe.putShort(null, address + offset, value); >X+ unsafe.putShort(address + offset, value); >X } >X >X static short getShort(long address, long offset) >X { >X validate(address, offset, 2L); >X- return unsafe.getShort(null, address + offset); >X+ return unsafe.getShort(address + offset); >X } >X >X static void putByte(long address, long offset, byte value) >X { >X validate(address, offset, 1L); >X- unsafe.putByte(null, address + offset, value); >X+ unsafe.putByte(address + offset, value); >X } >X >X static byte getByte(long address, long offset) >X { >X validate(address, offset, 1L); >X- return unsafe.getByte(null, address + offset); >X+ return unsafe.getByte(address + offset); >X } >X >X static boolean decrement(long address, long offset) >a8f972d076ac8ad91f23d34b096ce750 >echo x - ohc/files/patch-ohc-core_pom.xml >sed 's/^X//' >ohc/files/patch-ohc-core_pom.xml << '30ce78d2323ccbf9cf3c07c7c5b86a69' >X--- ohc-core/pom.xml.orig 2018-08-19 14:34:29 UTC >X+++ ohc-core/pom.xml >X@@ -287,6 +287,7 @@ >X <configuration> >X <additionalOptions>${javadoc.args}</additionalOptions> >X <doclint>all,-html</doclint> >X+ <source>8</source> >X </configuration> >X </plugin> >X <plugin> >X@@ -344,7 +345,7 @@ >X <goal>test</goal> >X </goals> >X <configuration> >X- <classesDirectory>target/notexists</classesDirectory> >X+ <classesDirectory>target/classes</classesDirectory> >X <additionalClasspathElements> >X <element>target/ohc-core-${project.version}.jar</element> >X </additionalClasspathElements> >30ce78d2323ccbf9cf3c07c7c5b86a69 >echo x - ohc/files/patch-pom.xml >sed 's/^X//' >ohc/files/patch-pom.xml << '657d494cba360a29e8badd3f22b3c847' >X--- pom.xml.orig 2018-08-19 14:34:29 UTC >X+++ pom.xml >X@@ -86,8 +86,8 @@ >X <version.org.apache.maven.plugins.maven-site-plugin>3.7.1</version.org.apache.maven.plugins.maven-site-plugin> >X <version.org.apache.maven.plugins.maven-shade-plugin>3.1.1</version.org.apache.maven.plugins.maven-shade-plugin> >X <version.org.apache.maven.plugins.maven-source-plugin>3.0.1</version.org.apache.maven.plugins.maven-source-plugin> >X- <version.org.apache.maven.plugins.maven-surefire-plugin>2.22.0</version.org.apache.maven.plugins.maven-surefire-plugin> >X- <version.org.apache.maven.plugins.maven-surefire-report-plugin>2.22.0</version.org.apache.maven.plugins.maven-surefire-report-plugin> >X+ <version.org.apache.maven.plugins.maven-surefire-plugin>3.0.0-M4</version.org.apache.maven.plugins.maven-surefire-plugin> >X+ <version.org.apache.maven.plugins.maven-surefire-report-plugin>3.0.0-M4</version.org.apache.maven.plugins.maven-surefire-report-plugin> >X <version.org.apache.logging.log4j>2.11.1</version.org.apache.logging.log4j> >X <version.org.codehaus.mojo.cobertura-maven-plugin>2.7</version.org.codehaus.mojo.cobertura-maven-plugin> >X <version.org.codehaus.mojo.exec-maven-plugin>1.6.0</version.org.codehaus.mojo.exec-maven-plugin> >X@@ -222,6 +222,7 @@ >X <show>protected</show> >X <includeDependencySources>false</includeDependencySources> >X <includeTransitiveDependencySources>false</includeTransitiveDependencySources> >X+ <source>8</source> >X </configuration> >X <executions> >X <execution> >X@@ -315,6 +316,7 @@ >X <failOnError>false</failOnError> >X <includeDependencySources>true</includeDependencySources> >X <includeTransitiveDependencySources>false</includeTransitiveDependencySources> >X+ <source>8</source> >X </configuration> >X <reportSets> >X <reportSet> >X@@ -334,10 +336,6 @@ >X <activation> >X <jdk>11</jdk> >X </activation> >X- <properties> >X- <surefire.jvmargs>--add-exports java.base/sun.nio.ch=ALL-UNNAMED</surefire.jvmargs> >X- <javadoc.args>--add-exports java.base/sun.nio.ch=ALL-UNNAMED</javadoc.args> >X- </properties> >X </profile> >X >X <profile> >X@@ -347,6 +345,9 @@ >X <plugin> >X <groupId>org.apache.maven.plugins</groupId> >X <artifactId>maven-javadoc-plugin</artifactId> >X+ <configuration> >X+ <source>8</source> >X+ </configuration> >X </plugin> >X </plugins> >X </build> >X@@ -359,6 +360,9 @@ >X <plugin> >X <groupId>org.apache.maven.plugins</groupId> >X <artifactId>maven-javadoc-plugin</artifactId> >X+ <configuration> >X+ <source>8</source> >X+ </configuration> >X </plugin> >X >X <plugin> >657d494cba360a29e8badd3f22b3c847 >echo x - ohc/pkg-descr >sed 's/^X//' >ohc/pkg-descr << '653878802fa3cd210b60e6a2952d854c' >XAn off-heap cache library for Java. >X >XWWW: https://github.com/snazy/ohc >653878802fa3cd210b60e6a2952d854c >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 227392
:
192364
| 215236