1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

java/eclipse: Update 4.24 → 4.32, take maintainership

PR:	281123
This commit is contained in:
Norbert Grundmann 2024-09-13 03:48:18 +03:00 committed by Vladimir Druzenko
parent 59df34eab5
commit 27eb99fc47
116 changed files with 4278 additions and 2877 deletions

View File

@ -1,33 +1,29 @@
PORTNAME= eclipse
PORTVERSION= 4.24
PORTREVISION= 2
DISTVERSION= 4.32
CATEGORIES= java devel
# Tag's Timestamp on eclipse-platform/eclipse.platform.releng.aggregator github.com
ECLIPSE_TAG= R4_24
ECLIPSE_TSTAMP= 20220616-0004
ECLIPSE_TAG= R${DISTVERSION:S|.|_|g}
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Eclipse IDE 2022-06
MAINTAINER= ngrundmann@gmx.de
COMMENT= Eclipse IDE
WWW= https://www.eclipse.org/
LICENSE= EPL
ONLY_FOR_ARCHS= aarch64 amd64 powerpc64 powerpc64le
BUILD_DEPENDS= git:devel/git@lite \
maven>0:devel/maven \
BUILD_DEPENDS= git:devel/git \
mvn:devel/maven39 \
zip:archivers/zip
LIB_DEPENDS= libsecret-1.so:security/libsecret \
libwebkit2gtk-4.0.so:www/webkit2-gtk3
PORTSCOUT= ignore:1
USES= compiler:c++11-lang gmake pkgconfig gnome
USE_GNOME= gtk30
USES= compiler:c++17-lang gmake pkgconfig gnome
# The github repositories. The repository under NorbertXYZ is for a predefined maven
# download, so the build does not need to download while do-build is running
USE_GITHUB= yes
GH_TUPLE= eclipse-platform:eclipse.platform.releng.aggregator:${ECLIPSE_TAG} \
eclipse-jdt:eclipse.jdt:${ECLIPSE_TAG}:a/eclipse.jdt \
@ -37,57 +33,69 @@ GH_TUPLE= eclipse-platform:eclipse.platform.releng.aggregator:${ECLIPSE_TAG} \
eclipse-jdt:eclipse.jdt.ui:${ECLIPSE_TAG}:e/eclipse.jdt.ui \
eclipse-pde:eclipse.pde:${ECLIPSE_TAG}:f/eclipse.pde \
eclipse-platform:eclipse.platform:${ECLIPSE_TAG}:g/eclipse.platform \
eclipse-platform:eclipse.platform.common:${ECLIPSE_TAG}:h/eclipse.platform.common \
eclipse-platform:eclipse.platform.debug:${ECLIPSE_TAG}:i/eclipse.platform.debug \
eclipse-platform:eclipse.platform.releng:${ECLIPSE_TAG}:j/eclipse.platform.releng \
eclipse-platform:eclipse.platform.resources:${ECLIPSE_TAG}:k/eclipse.platform.resources \
eclipse-platform:eclipse.platform.runtime:fd42b6e331:l/eclipse.platform.runtime \
eclipse-platform:eclipse.platform.swt:${ECLIPSE_TAG}:m/eclipse.platform.swt \
eclipse-platform:eclipse.platform.swt.binaries:${ECLIPSE_TAG}:n/eclipse.platform.swt.binaries \
eclipse-platform:eclipse.platform.team:${ECLIPSE_TAG}:o/eclipse.platform.team \
eclipse-platform:eclipse.platform.text:${ECLIPSE_TAG}:p/eclipse.platform.text \
eclipse-platform:eclipse.platform.ua:${ECLIPSE_TAG}:q/eclipse.platform.ua \
eclipse-platform:eclipse.platform.ui:${ECLIPSE_TAG}:r/eclipse.platform.ui \
eclipse-platform:eclipse.platform.ui.tools:${ECLIPSE_TAG}:s/eclipse.platform.ui.tools \
eclipse-equinox:equinox.binaries:${ECLIPSE_TAG}:t/rt.equinox.binaries \
eclipse-equinox:equinox.bundles:${ECLIPSE_TAG}:u/rt.equinox.bundles \
eclipse-equinox:equinox.framework:${ECLIPSE_TAG}:v/rt.equinox.framework \
eclipse-equinox:p2:${ECLIPSE_TAG}:w/rt.equinox.p2 \
daemonblade:eclipse-maven-repo:${PORTVERSION}:x
USE_JAVA= 11+
DESKTOP_ENTRIES="Eclipse" \
"${COMMENT}" \
"${PORTNAME}" \
"${PORTNAME}" \
"Development;IDE;Java;" \
"false"
eclipse-platform:eclipse.platform.runtime:fd42b6e331:h/eclipse.platform.runtime \
eclipse-platform:eclipse.platform.swt:${ECLIPSE_TAG}:i/eclipse.platform.swt \
eclipse-platform:eclipse.platform.ui:${ECLIPSE_TAG}:j/eclipse.platform.ui \
eclipse-equinox:equinox:${ECLIPSE_TAG}:k/equinox \
eclipse-equinox:equinox.binaries:${ECLIPSE_TAG}:l/rt.equinox.binaries \
eclipse-equinox:p2:${ECLIPSE_TAG}:m/rt.equinox.p2 \
NorbertXYZ:eclipse-maven:${DISTVERSION}:n
USE_GNOME= gtk30
USE_JAVA= 17+
DESKTOP_ENTRIES= "Eclipse" \
"${COMMENT}" \
"${PORTNAME}" \
"${PORTNAME}" \
"Development;IDE;Java;" \
"false"
PORTSCOUT= ignore:1
SUB_FILES= ${PORTNAME}
MAVEN_ENV= MAVEN_OPTS=-Xmx1024m CC=${CC} CFLAGS="${CFLAGS}" JAVA_HOME=${JAVA_HOME} HOME=${WRKDIR}/githome
MAVEN_ECLIPSE= -Dmaven.repo.local=${WRKDIR}/eclipse-maven-repo-${PORTVERSION} \
-Dnative=gtk.freebsd.${ARCH} \
-DforceContextQualifier=v${ECLIPSE_TSTAMP}
ECLIPSE_RESULT= eclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/target/products/org.eclipse.sdk.ide-freebsd.gtk.${ARCH}.tar.gz
.include <bsd.port.pre.mk>
MAVEN_ENV= MAVEN_OPTS=-Xmx2048m CC=${CC} CFLAGS="${CFLAGS}" JAVA_HOME=${JAVA_HOME}
# To make the build working, set the (maven) architecture to x86_64 instead of amd64
# Finally there are problems with amd64
MAVEN_ARCH= ${ARCH:S|amd64|x86_64|}
MAVEN_PARAMS= --offline \
-Dmaven.repo.local=${WRKDIR}/eclipse-maven-${DISTVERSION} \
-Dnative=gtk.freebsd.${MAVEN_ARCH} \
-DskipTests clean verify
ECLIPSE_RESULT= eclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/target/products/org.eclipse.sdk.ide-freebsd.gtk.${MAVEN_ARCH}.tar.gz
.if ${COMPILER_TYPE} == clang
CFLAGS+= -Wno-deprecated-non-prototype
.endif
# Directories needed, but cannot be stored in git, because they are empty
EMPTY_DIRS= eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.%%ARCH%%/os/freebsd/%%ARCH%% \
eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.%%ARCH%%/target \
eclipse.platform/team/bundles/org.eclipse.core.net.freebsd/target \
rt.equinox.binaries/org.eclipse.equinox.executable/bin/gtk/freebsd/%%ARCH%% \
rt.equinox.binaries/org.eclipse.equinox.launcher.gtk.freebsd.%%ARCH%%
pre-patch:
${CP} -R ${FILESDIR}/addons/ ${WRKSRC}
.for DIR in ${EMPTY_DIRS}
. for _ARCH in aarch64 powerpc64 powerpc64le x86_64
${MKDIR} ${WRKSRC}/${DIR:S|%%ARCH%%|${_ARCH}|g}
${TOUCH} ${WRKSRC}/${DIR:S|%%ARCH%%|${_ARCH}|g}/.empty
. endfor
.endfor
do-build:
cd ${WRKSRC} && ${SETENV} ${MAVEN_ENV} mvn --offline ${MAVEN_ECLIPSE} -DskipTests clean verify
cd ${WRKSRC} && ${SETENV} ${MAVEN_ENV} mvn ${MAVEN_PARAMS}
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}
${TAR} -x --directory ${STAGEDIR}${DATADIR}/.. --file ${WRKSRC}/${ECLIPSE_RESULT}
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
# generate dynamic plist, to cater for different ARCHS
# Generate dynamic plist, to cater for different ARCHS
post-install:
cd ${STAGEDIR}${PREFIX} && ${FIND} -s bin/${PORTNAME} share/${PORTNAME} -not -type d >> ${TMPPLIST}
cd ${STAGEDIR}${PREFIX} && ${FIND} -ds share/${PORTNAME} -type d | ${SED} -e 's,^,@dir ,' >> ${TMPPLIST}

View File

@ -1,11 +0,0 @@
NO_BUILD= yes
USE_JAVA= yes
JAVA_VERSION= 8+
REPO_DIRS?= features plugins
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/eclipse/dropins/${PORTNAME}/eclipse
@(cd ${WRKSRC}; ${COPYTREE_SHARE} "${REPO_DIRS}" ${STAGEDIR}${PREFIX}/share/eclipse/dropins/${PORTNAME}/eclipse/)
@(cd ${STAGEDIR}${PREFIX}; ${FIND} -s share/eclipse/dropins/${PORTNAME} -not -type d) >> ${TMPPLIST}
@(cd ${STAGEDIR}${PREFIX}; ${FIND} -s -d share/eclipse/dropins/${PORTNAME} -type d -empty) | ${SED} -ne 's,^,@dir ,p' >> ${TMPPLIST}

View File

@ -1,51 +1,31 @@
TIMESTAMP = 1656038535
SHA256 (eclipse/eclipse-platform-eclipse.platform.releng.aggregator-4.24-R4_24_GH0.tar.gz) = 8adf38e43f12548a905bc04ca4991e144dcefc074b8484019f982e8473258b02
SIZE (eclipse/eclipse-platform-eclipse.platform.releng.aggregator-4.24-R4_24_GH0.tar.gz) = 689841
SHA256 (eclipse/eclipse-jdt-eclipse.jdt-R4_24_GH0.tar.gz) = a39673bfde615e257d7e038ef66800dd5946f042b18ddf44abcaf37010daa57a
SIZE (eclipse/eclipse-jdt-eclipse.jdt-R4_24_GH0.tar.gz) = 39265
SHA256 (eclipse/eclipse-jdt-eclipse.jdt.core-R4_24_GH0.tar.gz) = 65ca38c7c9ec833c8a0a09147a3a64a7741323222607d6048d5c6397e7359f5f
SIZE (eclipse/eclipse-jdt-eclipse.jdt.core-R4_24_GH0.tar.gz) = 13427635
SHA256 (eclipse/eclipse-jdt-eclipse.jdt.core.binaries-R4_24_GH0.tar.gz) = 948200cfc5578c317611c3633d90aefbe129488e4ea3a64c256e364e290e31e8
SIZE (eclipse/eclipse-jdt-eclipse.jdt.core.binaries-R4_24_GH0.tar.gz) = 34886516
SHA256 (eclipse/eclipse-jdt-eclipse.jdt.debug-R4_24_GH0.tar.gz) = 952c6e6cbe4bc8e940852b1cf4096a737bea638ab61d769e6483f12c06a1fef4
SIZE (eclipse/eclipse-jdt-eclipse.jdt.debug-R4_24_GH0.tar.gz) = 2109736
SHA256 (eclipse/eclipse-jdt-eclipse.jdt.ui-R4_24_GH0.tar.gz) = 2fa4f4f503525dad5d2cee0963059852681d037a7de32234562e02d20c86df27
SIZE (eclipse/eclipse-jdt-eclipse.jdt.ui-R4_24_GH0.tar.gz) = 21833971
SHA256 (eclipse/eclipse-pde-eclipse.pde-R4_24_GH0.tar.gz) = 74445fbdd607d7338c8027d7dd0907842fb19f9d4eda50308578651ca39e1231
SIZE (eclipse/eclipse-pde-eclipse.pde-R4_24_GH0.tar.gz) = 29186052
SHA256 (eclipse/eclipse-platform-eclipse.platform-R4_24_GH0.tar.gz) = e6c8508ca0c96c140625f6704be09a91c165cc26f6d80a3f24c98e06232e62f3
SIZE (eclipse/eclipse-platform-eclipse.platform-R4_24_GH0.tar.gz) = 3059267
SHA256 (eclipse/eclipse-platform-eclipse.platform.common-R4_24_GH0.tar.gz) = 68edec94a3a7e82cf6aec782b30e421366618c30299e0ef33c439374b5536f9a
SIZE (eclipse/eclipse-platform-eclipse.platform.common-R4_24_GH0.tar.gz) = 29779908
SHA256 (eclipse/eclipse-platform-eclipse.platform.debug-R4_24_GH0.tar.gz) = 2d2fbf81bbcfa2a6362bb8307309dff8fbb9f189acc0258bec5043213e54572d
SIZE (eclipse/eclipse-platform-eclipse.platform.debug-R4_24_GH0.tar.gz) = 2295169
SHA256 (eclipse/eclipse-platform-eclipse.platform.releng-R4_24_GH0.tar.gz) = c86ca6261ebcdeefef503b67aebac0b876677ebdbfc4b74d09c761fb11b1d44e
SIZE (eclipse/eclipse-platform-eclipse.platform.releng-R4_24_GH0.tar.gz) = 205802
SHA256 (eclipse/eclipse-platform-eclipse.platform.resources-R4_24_GH0.tar.gz) = 4e0d952381137163b2e434eac903042f19b590d1ab8774902cf7ffef042a1bd5
SIZE (eclipse/eclipse-platform-eclipse.platform.resources-R4_24_GH0.tar.gz) = 1278451
TIMESTAMP = 1724914687
SHA256 (eclipse/eclipse-platform-eclipse.platform.releng.aggregator-4.32-R4_32_GH0.tar.gz) = c00f2fe914a657d4d76f884df9acef9c3ce6325de00919f0cba07c2f8a6064b7
SIZE (eclipse/eclipse-platform-eclipse.platform.releng.aggregator-4.32-R4_32_GH0.tar.gz) = 24287066
SHA256 (eclipse/eclipse-jdt-eclipse.jdt-R4_32_GH0.tar.gz) = e25d95791922b18e68cb25c28b29d173ac37c8a165f930f2ebca5ed2ea338ea6
SIZE (eclipse/eclipse-jdt-eclipse.jdt-R4_32_GH0.tar.gz) = 39587
SHA256 (eclipse/eclipse-jdt-eclipse.jdt.core-R4_32_GH0.tar.gz) = 6f5edeee5cef41f39f853e8612664ff8763594f495d7dfa82ccd1cff5042c869
SIZE (eclipse/eclipse-jdt-eclipse.jdt.core-R4_32_GH0.tar.gz) = 14068032
SHA256 (eclipse/eclipse-jdt-eclipse.jdt.core.binaries-R4_32_GH0.tar.gz) = 9f5c0e2fb690d6f5df46018bd13aa3b79c01744854fda3d6a70cd306d748f775
SIZE (eclipse/eclipse-jdt-eclipse.jdt.core.binaries-R4_32_GH0.tar.gz) = 34885476
SHA256 (eclipse/eclipse-jdt-eclipse.jdt.debug-R4_32_GH0.tar.gz) = c1b3ac3624852492637b30bbbe751acc1f3df9a17c585b8e1b9c6ad25c4cde58
SIZE (eclipse/eclipse-jdt-eclipse.jdt.debug-R4_32_GH0.tar.gz) = 2142808
SHA256 (eclipse/eclipse-jdt-eclipse.jdt.ui-R4_32_GH0.tar.gz) = fb625caac9dad82d3e23b871b21147248dab052129b238380fa91b55796069fb
SIZE (eclipse/eclipse-jdt-eclipse.jdt.ui-R4_32_GH0.tar.gz) = 21908664
SHA256 (eclipse/eclipse-pde-eclipse.pde-R4_32_GH0.tar.gz) = 5b7e12584782988334adfb6a0a3ea1c3723e452c1c9cb7b683d4302b349b6e4e
SIZE (eclipse/eclipse-pde-eclipse.pde-R4_32_GH0.tar.gz) = 34790432
SHA256 (eclipse/eclipse-platform-eclipse.platform-R4_32_GH0.tar.gz) = 4e012785e1df9379665ae660d345cefda9837959758d539d6a5d4c1a330b08b1
SIZE (eclipse/eclipse-platform-eclipse.platform-R4_32_GH0.tar.gz) = 17130373
SHA256 (eclipse/eclipse-platform-eclipse.platform.runtime-fd42b6e331_GH0.tar.gz) = b93e7aefe4c0a588decf8dd840104fb3d54fdfef106e6d4af2c5950e9a3f94b7
SIZE (eclipse/eclipse-platform-eclipse.platform.runtime-fd42b6e331_GH0.tar.gz) = 692044
SHA256 (eclipse/eclipse-platform-eclipse.platform.swt-R4_24_GH0.tar.gz) = 00ee208888bea89031c592ae070b3911194893e60f46eb89b87373ad65039f10
SIZE (eclipse/eclipse-platform-eclipse.platform.swt-R4_24_GH0.tar.gz) = 8904984
SHA256 (eclipse/eclipse-platform-eclipse.platform.swt.binaries-R4_24_GH0.tar.gz) = 4dc1ac798f44081a2db76652147cb9e348db55af8fb0022efc8f1dd8fc4776be
SIZE (eclipse/eclipse-platform-eclipse.platform.swt.binaries-R4_24_GH0.tar.gz) = 1809506
SHA256 (eclipse/eclipse-platform-eclipse.platform.team-R4_24_GH0.tar.gz) = f61f18527ee7baad5d9122c424ab6f146fae9f5ec81db127116230ac5156905a
SIZE (eclipse/eclipse-platform-eclipse.platform.team-R4_24_GH0.tar.gz) = 1738853
SHA256 (eclipse/eclipse-platform-eclipse.platform.text-R4_24_GH0.tar.gz) = c4ee6f5f54229f88a54c2b564038b49760f92f4d12ebbef8daf0d601046dcec2
SIZE (eclipse/eclipse-platform-eclipse.platform.text-R4_24_GH0.tar.gz) = 2052540
SHA256 (eclipse/eclipse-platform-eclipse.platform.ua-R4_24_GH0.tar.gz) = 7450f5e85cd0b525c0f3ad62aeecf36a5e6c8591f9a3d4d786aa2d41b9f7350e
SIZE (eclipse/eclipse-platform-eclipse.platform.ua-R4_24_GH0.tar.gz) = 5646278
SHA256 (eclipse/eclipse-platform-eclipse.platform.ui-R4_24_GH0.tar.gz) = d44eedcbe7fc97b3a3cae711257f6f7672618deed3a3e90e8ca229985409d614
SIZE (eclipse/eclipse-platform-eclipse.platform.ui-R4_24_GH0.tar.gz) = 8917607
SHA256 (eclipse/eclipse-platform-eclipse.platform.ui.tools-R4_24_GH0.tar.gz) = 64db26e499af59326c1ba51a3a3bc7f25788aadd4ce772ba2e040b56a8a9c8f6
SIZE (eclipse/eclipse-platform-eclipse.platform.ui.tools-R4_24_GH0.tar.gz) = 502460
SHA256 (eclipse/eclipse-equinox-equinox.binaries-R4_24_GH0.tar.gz) = 68f7629da546627397279f587523aed11f77def055735616dd9a512feba3a82b
SIZE (eclipse/eclipse-equinox-equinox.binaries-R4_24_GH0.tar.gz) = 894583
SHA256 (eclipse/eclipse-equinox-equinox.bundles-R4_24_GH0.tar.gz) = befe93800fcd86aba752d829bfb826db5a09f92f5ef29afedff79134174ff39e
SIZE (eclipse/eclipse-equinox-equinox.bundles-R4_24_GH0.tar.gz) = 1646631
SHA256 (eclipse/eclipse-equinox-equinox.framework-R4_24_GH0.tar.gz) = 98ecb20567c10cb21b90cc0b47ff1fb768d6d3da4e0a11930af60de29fdc9f45
SIZE (eclipse/eclipse-equinox-equinox.framework-R4_24_GH0.tar.gz) = 1937236
SHA256 (eclipse/eclipse-equinox-p2-R4_24_GH0.tar.gz) = 9730ef8f4807b0fd82e9115f56f30dba0aaf46f0e4b4df98f1406c30ca794f2b
SIZE (eclipse/eclipse-equinox-p2-R4_24_GH0.tar.gz) = 54122344
SHA256 (eclipse/daemonblade-eclipse-maven-repo-4.24_GH0.tar.gz) = 0949c61359f48aacc0a6c7c03b94cf94ebd0f73726144e616cfe59630d2a3d57
SIZE (eclipse/daemonblade-eclipse-maven-repo-4.24_GH0.tar.gz) = 441108883
SHA256 (eclipse/eclipse-platform-eclipse.platform.swt-R4_32_GH0.tar.gz) = 5d8d63679e2b3d96c996d001edfc9f1f8fc15e3296148bc4fb40e6687ce4cdba
SIZE (eclipse/eclipse-platform-eclipse.platform.swt-R4_32_GH0.tar.gz) = 9139469
SHA256 (eclipse/eclipse-platform-eclipse.platform.ui-R4_32_GH0.tar.gz) = 7554c70acb5ce62104be1447922a80099fa23dcbda694e0588b33d1b0b84a24a
SIZE (eclipse/eclipse-platform-eclipse.platform.ui-R4_32_GH0.tar.gz) = 15388992
SHA256 (eclipse/eclipse-equinox-equinox-R4_32_GH0.tar.gz) = 30604b178afab6bc1bed72fd1b28016ce17246efbf46bf072f981a71129d159b
SIZE (eclipse/eclipse-equinox-equinox-R4_32_GH0.tar.gz) = 3562574
SHA256 (eclipse/eclipse-equinox-equinox.binaries-R4_32_GH0.tar.gz) = 68fb0baf3cc62b900cff00327c970e83753c12626a33e703120a7035b35abc8c
SIZE (eclipse/eclipse-equinox-equinox.binaries-R4_32_GH0.tar.gz) = 1319746
SHA256 (eclipse/eclipse-equinox-p2-R4_32_GH0.tar.gz) = 57e537824c10f0d6a95a35ff81ab7e75a349d3b00ee641f1f2cd4373d673af0b
SIZE (eclipse/eclipse-equinox-p2-R4_32_GH0.tar.gz) = 54404329
SHA256 (eclipse/NorbertXYZ-eclipse-maven-4.32_GH0.tar.gz) = db8b20b45b7e0f208514940e4ca6cf555b6ce48ab98f9a48052b546c831d0953
SIZE (eclipse/NorbertXYZ-eclipse-maven-4.32_GH0.tar.gz) = 855731569

View File

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.eclipse.core.filesystem.freebsd.aarch64</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.SchemaBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
</natures>
</projectDescription>

View File

@ -0,0 +1,9 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %fragmentName
Bundle-SymbolicName: org.eclipse.core.filesystem.freebsd.aarch64;singleton:=true
Bundle-Version: 1.4.200.qualifier
Bundle-Vendor: %providerName
Fragment-Host: org.eclipse.core.filesystem;bundle-version="[1.1.0,2.0.0)"
Bundle-Localization: fragment
Eclipse-PlatformFilter: (& (osgi.os=freebsd) (osgi.arch=aarch64))

View File

@ -0,0 +1,36 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>About</title>
</head>
<body lang="EN-US">
<h2>About This Content</h2>
<p>November 30, 2017</p>
<h3>License</h3>
<p>
The Eclipse Foundation makes available all content in this plug-in
(&quot;Content&quot;). Unless otherwise indicated below, the Content
is provided to you under the terms and conditions of the Eclipse
Public License Version 2.0 (&quot;EPL&quot;). A copy of the EPL is
available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>.
For purposes of the EPL, &quot;Program&quot; will mean the Content.
</p>
<p>
If you did not receive this Content directly from the Eclipse
Foundation, the Content is being redistributed by another party
(&quot;Redistributor&quot;) and different terms and conditions may
apply to your use of any object code in the Content. Check the
Redistributor's license that was provided with the Content. If no such
license exists, contact the Redistributor. Unless otherwise indicated
below, the terms and conditions of the EPL still apply to any source
code in the Content and such source code may be obtained at <a
href="http://www.eclipse.org/">http://www.eclipse.org</a>.
</p>
</body>
</html>

View File

@ -0,0 +1,19 @@
###############################################################################
# Copyright (c) 2014 IBM Corporation and others.
#
# This program and the accompanying materials
# are made available under the terms of the Eclipse Public License 2.0
# which accompanies this distribution, and is available at
# https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
# IBM Corporation - initial API and implementation
###############################################################################
bin.includes = META-INF/,\
about.html,\
os/,\
fragment.properties
src.includes = about.html
generateSourceBundle=false

View File

@ -0,0 +1,15 @@
###############################################################################
# Copyright (c) 2014 IBM Corporation and others.
#
# This program and the accompanying materials
# are made available under the terms of the Eclipse Public License 2.0
# which accompanies this distribution, and is available at
# https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
# IBM Corporation - initial API and implementation
###############################################################################
fragmentName = Core File System for Linux Aarch64 bit
providerName = Eclipse.org

View File

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2014, 2015 IBM Corporation and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Distribution License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/org/documents/edl-v10.php
Contributors:
IBM Corporation - initial implementation
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.eclipse.platform</groupId>
<artifactId>eclipse.platform.resources</artifactId>
<version>4.32.0-SNAPSHOT</version>
<relativePath>../../</relativePath>
</parent>
<artifactId>org.eclipse.core.filesystem.freebsd.aarch64</artifactId>
<version>1.4.200-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
<properties>
<skipAPIAnalysis>true</skipAPIAnalysis>
</properties>
</project>

View File

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.eclipse.core.filesystem.freebsd.powerpc64</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.SchemaBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
</natures>
</projectDescription>

View File

@ -0,0 +1,9 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %fragmentName
Bundle-SymbolicName: org.eclipse.core.filesystem.freebsd.powerpc64;singleton:=true
Bundle-Version: 1.4.200.qualifier
Bundle-Vendor: %providerName
Fragment-Host: org.eclipse.core.filesystem;bundle-version="[1.1.0,2.0.0)"
Bundle-Localization: fragment
Eclipse-PlatformFilter: (& (osgi.os=freebsd) (osgi.arch=powerpc64))

View File

@ -0,0 +1,36 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>About</title>
</head>
<body lang="EN-US">
<h2>About This Content</h2>
<p>November 30, 2017</p>
<h3>License</h3>
<p>
The Eclipse Foundation makes available all content in this plug-in
(&quot;Content&quot;). Unless otherwise indicated below, the Content
is provided to you under the terms and conditions of the Eclipse
Public License Version 2.0 (&quot;EPL&quot;). A copy of the EPL is
available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>.
For purposes of the EPL, &quot;Program&quot; will mean the Content.
</p>
<p>
If you did not receive this Content directly from the Eclipse
Foundation, the Content is being redistributed by another party
(&quot;Redistributor&quot;) and different terms and conditions may
apply to your use of any object code in the Content. Check the
Redistributor's license that was provided with the Content. If no such
license exists, contact the Redistributor. Unless otherwise indicated
below, the terms and conditions of the EPL still apply to any source
code in the Content and such source code may be obtained at <a
href="http://www.eclipse.org/">http://www.eclipse.org</a>.
</p>
</body>
</html>

View File

@ -0,0 +1,19 @@
###############################################################################
# Copyright (c) 2014 IBM Corporation and others.
#
# This program and the accompanying materials
# are made available under the terms of the Eclipse Public License 2.0
# which accompanies this distribution, and is available at
# https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
# IBM Corporation - initial API and implementation
###############################################################################
bin.includes = META-INF/,\
about.html,\
os/,\
fragment.properties
src.includes = about.html
generateSourceBundle=false

View File

@ -0,0 +1,15 @@
###############################################################################
# Copyright (c) 2014 IBM Corporation and others.
#
# This program and the accompanying materials
# are made available under the terms of the Eclipse Public License 2.0
# which accompanies this distribution, and is available at
# https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
# IBM Corporation - initial API and implementation
###############################################################################
fragmentName = Core File System for Linux PPC 64 LE bit
providerName = Eclipse.org

View File

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2014, 2015 IBM Corporation and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Distribution License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/org/documents/edl-v10.php
Contributors:
IBM Corporation - initial implementation
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.eclipse.platform</groupId>
<artifactId>eclipse.platform.resources</artifactId>
<version>4.32.0-SNAPSHOT</version>
<relativePath>../../</relativePath>
</parent>
<artifactId>org.eclipse.core.filesystem.freebsd.powerpc64</artifactId>
<version>1.4.200-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
<properties>
<skipAPIAnalysis>true</skipAPIAnalysis>
</properties>
</project>

View File

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.eclipse.core.filesystem.freebsd.powerpc64le</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.SchemaBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
</natures>
</projectDescription>

View File

@ -0,0 +1,9 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %fragmentName
Bundle-SymbolicName: org.eclipse.core.filesystem.freebsd.powerpc64le;singleton:=true
Bundle-Version: 1.4.200.qualifier
Bundle-Vendor: %providerName
Fragment-Host: org.eclipse.core.filesystem;bundle-version="[1.1.0,2.0.0)"
Bundle-Localization: fragment
Eclipse-PlatformFilter: (& (osgi.os=freebsd) (osgi.arch=powerpc64le))

View File

@ -0,0 +1,36 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>About</title>
</head>
<body lang="EN-US">
<h2>About This Content</h2>
<p>November 30, 2017</p>
<h3>License</h3>
<p>
The Eclipse Foundation makes available all content in this plug-in
(&quot;Content&quot;). Unless otherwise indicated below, the Content
is provided to you under the terms and conditions of the Eclipse
Public License Version 2.0 (&quot;EPL&quot;). A copy of the EPL is
available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>.
For purposes of the EPL, &quot;Program&quot; will mean the Content.
</p>
<p>
If you did not receive this Content directly from the Eclipse
Foundation, the Content is being redistributed by another party
(&quot;Redistributor&quot;) and different terms and conditions may
apply to your use of any object code in the Content. Check the
Redistributor's license that was provided with the Content. If no such
license exists, contact the Redistributor. Unless otherwise indicated
below, the terms and conditions of the EPL still apply to any source
code in the Content and such source code may be obtained at <a
href="http://www.eclipse.org/">http://www.eclipse.org</a>.
</p>
</body>
</html>

View File

@ -0,0 +1,19 @@
###############################################################################
# Copyright (c) 2014 IBM Corporation and others.
#
# This program and the accompanying materials
# are made available under the terms of the Eclipse Public License 2.0
# which accompanies this distribution, and is available at
# https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
# IBM Corporation - initial API and implementation
###############################################################################
bin.includes = META-INF/,\
about.html,\
os/,\
fragment.properties
src.includes = about.html
generateSourceBundle=false

View File

@ -0,0 +1,15 @@
###############################################################################
# Copyright (c) 2014 IBM Corporation and others.
#
# This program and the accompanying materials
# are made available under the terms of the Eclipse Public License 2.0
# which accompanies this distribution, and is available at
# https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
# IBM Corporation - initial API and implementation
###############################################################################
fragmentName = Core File System for Linux PPC 64 LE bit
providerName = Eclipse.org

View File

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2014, 2015 IBM Corporation and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Distribution License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/org/documents/edl-v10.php
Contributors:
IBM Corporation - initial implementation
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.eclipse.platform</groupId>
<artifactId>eclipse.platform.resources</artifactId>
<version>4.32.0-SNAPSHOT</version>
<relativePath>../../</relativePath>
</parent>
<artifactId>org.eclipse.core.filesystem.freebsd.powerpc64le</artifactId>
<version>1.4.200-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
<properties>
<skipAPIAnalysis>true</skipAPIAnalysis>
</properties>
</project>

View File

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.eclipse.core.filesystem.freebsd.x86_64</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.SchemaBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
</natures>
</projectDescription>

View File

@ -0,0 +1,19 @@
Native Build Info:
------------------
platform: x86_64-redhat-linux
built by: pawel.pogorzelski@pl.ibm.com
build date: 21-Jan-2010
OS Name: Red Hat Enterprise Linux Client release 4
OS Version: Linux 2.6.9-67.EL x86_64 (glibc-2.3.4-2.39)
Compiler version: gcc version 3.4.6-9
build script:
-------------
#!/bin/sh
rpm -q glibc
#ensure system gcc
export PATH=/usr/bin:$PATH
cd org.eclipse.core.filesystem/natives/unix/linux
make JAVA_HOME=$HOME/jdk1.5.0_11_x86-64
cp liblocalfile_1_0_0.so ../../../../org.eclipse.core.filesystem.linux.x86_64/os/linux/x86_64/

View File

@ -0,0 +1,9 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %fragmentName
Bundle-SymbolicName: org.eclipse.core.filesystem.freebsd.x86_64; singleton:=true
Bundle-Version: 1.2.400.qualifier
Bundle-Vendor: %providerName
Fragment-Host: org.eclipse.core.filesystem;bundle-version="[1.7.200,2.0.0)"
Bundle-Localization: fragment
Eclipse-PlatformFilter: (& (osgi.os=freebsd) (osgi.arch=x86_64))

View File

@ -0,0 +1,36 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>About</title>
</head>
<body lang="EN-US">
<h2>About This Content</h2>
<p>November 30, 2017</p>
<h3>License</h3>
<p>
The Eclipse Foundation makes available all content in this plug-in
(&quot;Content&quot;). Unless otherwise indicated below, the Content
is provided to you under the terms and conditions of the Eclipse
Public License Version 2.0 (&quot;EPL&quot;). A copy of the EPL is
available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>.
For purposes of the EPL, &quot;Program&quot; will mean the Content.
</p>
<p>
If you did not receive this Content directly from the Eclipse
Foundation, the Content is being redistributed by another party
(&quot;Redistributor&quot;) and different terms and conditions may
apply to your use of any object code in the Content. Check the
Redistributor's license that was provided with the Content. If no such
license exists, contact the Redistributor. Unless otherwise indicated
below, the terms and conditions of the EPL still apply to any source
code in the Content and such source code may be obtained at <a
href="http://www.eclipse.org/">http://www.eclipse.org</a>.
</p>
</body>
</html>

View File

@ -0,0 +1,19 @@
###############################################################################
# Copyright (c) 2005, 2007 IBM Corporation and others.
#
# This program and the accompanying materials
# are made available under the terms of the Eclipse Public License 2.0
# which accompanies this distribution, and is available at
# https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
# IBM Corporation - initial API and implementation
###############################################################################
bin.includes = META-INF/,\
about.html,\
os/,\
fragment.properties
src.includes = about.html
generateSourceBundle=false

View File

@ -0,0 +1,15 @@
###############################################################################
# Copyright (c) 2005 IBM Corporation and others.
#
# This program and the accompanying materials
# are made available under the terms of the Eclipse Public License 2.0
# which accompanies this distribution, and is available at
# https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
# IBM Corporation - initial API and implementation
###############################################################################
fragmentName = Core File System for Linux
providerName = Eclipse.org

View File

@ -0,0 +1,63 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2012, 2015 Eclipse Foundation and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Distribution License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/org/documents/edl-v10.php
Contributors:
Igor Fedorenko - initial implementation
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>eclipse.platform.resources</artifactId>
<groupId>org.eclipse.platform</groupId>
<version>4.32.0-SNAPSHOT</version>
<relativePath>../../</relativePath>
</parent>
<artifactId>org.eclipse.core.filesystem.freebsd.x86_64</artifactId>
<version>1.2.400-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
<profiles>
<profile>
<id>build-natives</id>
<activation>
<property>
<!-- This has to be hardcoded. Profiles are not allowed to use pom defined properties :-( -->
<name>native</name>
<value>gtk.freebsd.x86_64</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>natives</id>
<phase>process-resources</phase>
<configuration>
<target>
<exec executable="make" newenvironment="false" dir="../org.eclipse.core.filesystem/natives/unix/freebsd/"/>
<mkdir dir="os/freebsd/x86_64/"/>
<copy todir="os/freebsd/x86_64/">
<fileset dir="../org.eclipse.core.filesystem/natives/unix/freebsd/">
<include name="libunixfile_*.so"/>
</fileset>
</copy>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

View File

@ -0,0 +1,42 @@
#******************************************************************************
# Copyright (c) 2010 IBM Corporation and others.
#
# This program and the accompanying materials
# are made available under the terms of the Eclipse Public License 2.0
# which accompanies this distribution, and is available at
# https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
# IBM Corporation - initial API and implementation
#******************************************************************************/
#
# makefile for libunixfile_1_0_0.so
CORE.C = ../unixfile.c
CORE.O = unixfile.o
LIB_NAME = libunixfile.so
LIB_NAME_FULL = libunixfile_1_0_0.so
#Set this to be your OS type
OS_TYPE = freebsd
#Set this to be the location of your JRE
ifeq (${JAVA_HOME},)
JAVA_HOME = /usr/lib/jvm/java-1.5.0-ibm-1.5.0.9/
endif
JDK_INCLUDE = -I ${JAVA_HOME}/include -I ${JAVA_HOME}/include/${OS_TYPE}
OPT_FLAGS=-O2 -g -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
core:
${CC} $(OPT_FLAGS) -fPIC -c $(JDK_INCLUDE) -o $(CORE.O) $(CORE.C)
${CC} $(OPT_FLAGS) -shared -Wl,-soname,$(LIB_NAME) -o $(LIB_NAME_FULL) $(CORE.O) -lc
clean:
rm -f $(CORE.O) $(LIB_NAME_FULL)
#
#install: core
# rm -f ../../../../org.eclipse.core.filesystem.linux.x86/os/linux/x86/libunixfile_1_0_0.so
# mv libunixfile_1_0_0.so ../../../../org.eclipse.core.filesystem.linux.x86/os/linux/x86/

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="output" path="bin"/>
</classpath>

View File

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.eclipse.core.net.freebsd</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.SchemaBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>

View File

@ -0,0 +1,2 @@
eclipse.preferences.version=1
encoding/<project>=UTF-8

View File

@ -0,0 +1,15 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=17
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
org.eclipse.jdt.core.compiler.release=enabled
org.eclipse.jdt.core.compiler.source=17

View File

@ -0,0 +1,145 @@
eclipse.preferences.version=1
editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true
sp_cleanup.add_all=false
sp_cleanup.add_default_serial_version_id=true
sp_cleanup.add_generated_serial_version_id=false
sp_cleanup.add_missing_annotations=true
sp_cleanup.add_missing_deprecated_annotations=true
sp_cleanup.add_missing_methods=false
sp_cleanup.add_missing_nls_tags=false
sp_cleanup.add_missing_override_annotations=true
sp_cleanup.add_missing_override_annotations_interface_methods=true
sp_cleanup.add_serial_version_id=false
sp_cleanup.also_simplify_lambda=true
sp_cleanup.always_use_blocks=true
sp_cleanup.always_use_parentheses_in_expressions=false
sp_cleanup.always_use_this_for_non_static_field_access=false
sp_cleanup.always_use_this_for_non_static_method_access=false
sp_cleanup.array_with_curly=false
sp_cleanup.arrays_fill=false
sp_cleanup.bitwise_conditional_expression=false
sp_cleanup.boolean_literal=false
sp_cleanup.boolean_value_rather_than_comparison=true
sp_cleanup.break_loop=false
sp_cleanup.collection_cloning=false
sp_cleanup.comparing_on_criteria=false
sp_cleanup.comparison_statement=false
sp_cleanup.controlflow_merge=false
sp_cleanup.convert_functional_interfaces=true
sp_cleanup.convert_to_enhanced_for_loop=true
sp_cleanup.convert_to_enhanced_for_loop_if_loop_var_used=true
sp_cleanup.convert_to_switch_expressions=false
sp_cleanup.correct_indentation=false
sp_cleanup.do_while_rather_than_while=false
sp_cleanup.double_negation=false
sp_cleanup.else_if=false
sp_cleanup.embedded_if=false
sp_cleanup.evaluate_nullable=false
sp_cleanup.extract_increment=false
sp_cleanup.format_source_code=true
sp_cleanup.format_source_code_changes_only=true
sp_cleanup.hash=false
sp_cleanup.if_condition=false
sp_cleanup.insert_inferred_type_arguments=false
sp_cleanup.instanceof=false
sp_cleanup.instanceof_keyword=false
sp_cleanup.invert_equals=false
sp_cleanup.join=false
sp_cleanup.lazy_logical_operator=false
sp_cleanup.make_local_variable_final=true
sp_cleanup.make_parameters_final=false
sp_cleanup.make_private_fields_final=true
sp_cleanup.make_type_abstract_if_missing_method=false
sp_cleanup.make_variable_declarations_final=false
sp_cleanup.map_cloning=false
sp_cleanup.merge_conditional_blocks=false
sp_cleanup.multi_catch=false
sp_cleanup.never_use_blocks=false
sp_cleanup.never_use_parentheses_in_expressions=true
sp_cleanup.no_string_creation=false
sp_cleanup.no_super=false
sp_cleanup.number_suffix=false
sp_cleanup.objects_equals=false
sp_cleanup.on_save_use_additional_actions=true
sp_cleanup.one_if_rather_than_duplicate_blocks_that_fall_through=false
sp_cleanup.operand_factorization=false
sp_cleanup.organize_imports=true
sp_cleanup.overridden_assignment=false
sp_cleanup.overridden_assignment_move_decl=true
sp_cleanup.plain_replacement=false
sp_cleanup.precompile_regex=false
sp_cleanup.primitive_comparison=false
sp_cleanup.primitive_parsing=false
sp_cleanup.primitive_rather_than_wrapper=true
sp_cleanup.primitive_serialization=false
sp_cleanup.pull_out_if_from_if_else=false
sp_cleanup.pull_up_assignment=false
sp_cleanup.push_down_negation=false
sp_cleanup.qualify_static_field_accesses_with_declaring_class=false
sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true
sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true
sp_cleanup.qualify_static_member_accesses_with_declaring_class=true
sp_cleanup.qualify_static_method_accesses_with_declaring_class=false
sp_cleanup.reduce_indentation=false
sp_cleanup.redundant_comparator=false
sp_cleanup.redundant_falling_through_block_end=false
sp_cleanup.remove_private_constructors=true
sp_cleanup.remove_redundant_modifiers=false
sp_cleanup.remove_redundant_semicolons=true
sp_cleanup.remove_redundant_type_arguments=true
sp_cleanup.remove_trailing_whitespaces=true
sp_cleanup.remove_trailing_whitespaces_all=true
sp_cleanup.remove_trailing_whitespaces_ignore_empty=false
sp_cleanup.remove_unnecessary_array_creation=false
sp_cleanup.remove_unnecessary_casts=true
sp_cleanup.remove_unnecessary_nls_tags=true
sp_cleanup.remove_unused_imports=true
sp_cleanup.remove_unused_local_variables=false
sp_cleanup.remove_unused_method_parameters=false
sp_cleanup.remove_unused_private_fields=true
sp_cleanup.remove_unused_private_members=false
sp_cleanup.remove_unused_private_methods=true
sp_cleanup.remove_unused_private_types=true
sp_cleanup.replace_deprecated_calls=false
sp_cleanup.return_expression=false
sp_cleanup.simplify_lambda_expression_and_method_ref=true
sp_cleanup.single_used_field=false
sp_cleanup.sort_members=false
sp_cleanup.sort_members_all=false
sp_cleanup.standard_comparison=false
sp_cleanup.static_inner_class=false
sp_cleanup.strictly_equal_or_different=false
sp_cleanup.stringbuffer_to_stringbuilder=false
sp_cleanup.stringbuilder=false
sp_cleanup.stringbuilder_for_local_vars=true
sp_cleanup.stringconcat_stringbuffer_stringbuilder=false
sp_cleanup.stringconcat_to_textblock=false
sp_cleanup.substring=false
sp_cleanup.switch=false
sp_cleanup.system_property=false
sp_cleanup.system_property_boolean=false
sp_cleanup.system_property_file_encoding=false
sp_cleanup.system_property_file_separator=false
sp_cleanup.system_property_line_separator=false
sp_cleanup.system_property_path_separator=false
sp_cleanup.ternary_operator=false
sp_cleanup.try_with_resource=false
sp_cleanup.unlooped_while=false
sp_cleanup.unreachable_block=false
sp_cleanup.use_anonymous_class_creation=false
sp_cleanup.use_autoboxing=false
sp_cleanup.use_blocks=false
sp_cleanup.use_blocks_only_for_return_and_throw=false
sp_cleanup.use_directly_map_method=false
sp_cleanup.use_lambda=true
sp_cleanup.use_parentheses_in_expressions=false
sp_cleanup.use_string_is_blank=false
sp_cleanup.use_this_for_non_static_field_access=false
sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=true
sp_cleanup.use_this_for_non_static_method_access=false
sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=true
sp_cleanup.use_unboxing=false
sp_cleanup.use_var=false
sp_cleanup.useless_continue=false
sp_cleanup.useless_return=false
sp_cleanup.valueof_rather_than_instantiation=false

View File

@ -0,0 +1,12 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %fragmentName
Bundle-Vendor: %providerName
Bundle-Localization: fragment
Bundle-SymbolicName: org.eclipse.core.net.freebsd;singleton:=true
Bundle-Version: 1.1.200.qualifier
Fragment-Host: org.eclipse.core.net;bundle-version="1.1.0"
Eclipse-PlatformFilter: (osgi.os=freebsd)
Bundle-RequiredExecutionEnvironment: JavaSE-17
Automatic-Module-Name: org.eclipse.core.net.freebsd
Require-Bundle: com.sun.jna

View File

@ -0,0 +1,36 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>About</title>
</head>
<body lang="EN-US">
<h2>About This Content</h2>
<p>November 30, 2017</p>
<h3>License</h3>
<p>
The Eclipse Foundation makes available all content in this plug-in
(&quot;Content&quot;). Unless otherwise indicated below, the Content
is provided to you under the terms and conditions of the Eclipse
Public License Version 2.0 (&quot;EPL&quot;). A copy of the EPL is
available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>.
For purposes of the EPL, &quot;Program&quot; will mean the Content.
</p>
<p>
If you did not receive this Content directly from the Eclipse
Foundation, the Content is being redistributed by another party
(&quot;Redistributor&quot;) and different terms and conditions may
apply to your use of any object code in the Content. Check the
Redistributor's license that was provided with the Content. If no such
license exists, contact the Redistributor. Unless otherwise indicated
below, the terms and conditions of the EPL still apply to any source
code in the Content and such source code may be obtained at <a
href="http://www.eclipse.org/">http://www.eclipse.org</a>.
</p>
</body>
</html>

View File

@ -0,0 +1,20 @@
###############################################################################
# Copyright (c) 2021 Red Hat Inc. and others.
#
# This program and the accompanying materials
# are made available under the terms of the Eclipse Public License 2.0
# which accompanies this distribution, and is available at
# https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
# Red Hat Inc. - initial API and implementation
###############################################################################
bin.includes = fragment.properties,\
.,\
META-INF/,\
about.html
src.includes = about.html
source.. = src/
output.. = bin/

View File

@ -0,0 +1,3 @@
# To force a version qualifier update add the bug here
https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/issues/1184
https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/issues/1659

View File

@ -0,0 +1,15 @@
###############################################################################
# Copyright (c) 2021 Red Hat Inc. and others.
#
# This program and the accompanying materials
# are made available under the terms of the Eclipse Public License 2.0
# which accompanies this distribution, and is available at
# https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
# Red Hat Inc. - initial API and implementation
###############################################################################
fragmentName = Proxy for Linux
providerName = Eclipse.org

View File

@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2012, 2021 Eclipse Foundation and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Distribution License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/org/documents/edl-v10.php
Contributors:
Igor Fedorenko - initial implementation
Red Hat Inc. - modified for use in org.eclipse.core.net.linux
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.eclipse.platform</groupId>
<artifactId>eclipse.platform.team</artifactId>
<version>4.32.0-SNAPSHOT</version>
<relativePath>../../</relativePath>
</parent>
<artifactId>org.eclipse.core.net.freebsd</artifactId>
<version>1.1.200-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
<properties>
<skipAPIAnalysis>true</skipAPIAnalysis>
</properties>
</project>

View File

@ -0,0 +1,387 @@
/*******************************************************************************
* Copyright (c) 2021 Red Hat Inc. and others
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Red Hat Inc. - initial API and implementation
*******************************************************************************/
package org.eclipse.core.net;
import java.io.IOException;
import java.net.URI;
import java.util.ArrayList;
import java.util.Locale;
import java.util.Objects;
import java.util.Properties;
import org.eclipse.core.internal.net.AbstractProxyProvider;
import org.eclipse.core.internal.net.Activator;
import org.eclipse.core.internal.net.Policy;
import org.eclipse.core.internal.net.ProxyData;
import org.eclipse.core.internal.net.StringUtil;
import org.eclipse.core.net.proxy.IProxyData;
import com.sun.jna.Library;
import com.sun.jna.Native;
import com.sun.jna.Pointer;
import com.sun.jna.ptr.PointerByReference;
/**
* JNA version of org.eclipse.core.internal.net.UnixProxyProvider
*
* @author jjohnstn
*
*/
public class ProxyProvider extends AbstractProxyProvider {
private static LibGio fLibGio;
private static Pointer proxySettings = Pointer.NULL;
private static Pointer httpProxySettings = Pointer.NULL;
private static Pointer httpsProxySettings = Pointer.NULL;
private static Pointer socksProxySettings = Pointer.NULL;
private static Pointer ftpProxySettings = Pointer.NULL;
private static final String ENABLE_GNOME = Activator.ID + ".enableGnome"; //$NON-NLS-1$
private static final String LIBRARY_NAME = "gio-2.0"; //$NON-NLS-1$
private static boolean isGnomeLibLoaded = false;
static {
// Load the GSettings JNI library if org.eclipse.core.net.enableGnome is specified
String value = System.getProperty(ENABLE_GNOME);
if ("".equals(value) || "true".equals(value)) { //$NON-NLS-1$ //$NON-NLS-2$
initializeSettings();
}
}
public ProxyProvider() {
// no initialization required
}
@Override
public IProxyData[] select(URI uri) {
String[] nonProxyHosts = getNonProxiedHosts();
if (nonProxyHosts != null) {
String host = uri.getHost();
for (String nonProxyHost : nonProxyHosts) {
if (StringUtil.hostMatchesFilter(host, nonProxyHost)) {
return new IProxyData[0];
}
}
}
IProxyData[] proxies = new IProxyData[0];
if (uri.getScheme() != null) {
ProxyData pd = getSystemProxyInfo(uri.getScheme());
proxies = pd != null ? new IProxyData[] { pd } : new IProxyData[0];
} else {
proxies = getProxyData();
}
if (Policy.DEBUG) {
Policy.debug("LinuxProxyProvider#select result for [" + uri + "]"); //$NON-NLS-1$ //$NON-NLS-2$
for (IProxyData proxy : proxies) {
System.out.println(" " + proxy); //$NON-NLS-1$
}
}
return proxies;
}
@Override
public IProxyData[] getProxyData() {
String[] commonTypes = new String[] { IProxyData.HTTP_PROXY_TYPE,
IProxyData.SOCKS_PROXY_TYPE, IProxyData.HTTPS_PROXY_TYPE };
return getProxyForTypes(commonTypes);
}
private IProxyData[] getProxyForTypes(String[] types) {
ArrayList<IProxyData> allData = new ArrayList<>();
for (String type : types) {
ProxyData pd = getSystemProxyInfo(type);
if (pd != null && pd.getHost() != null) {
allData.add(pd);
}
}
return allData.toArray(new IProxyData[0]);
}
@Override
public String[] getNonProxiedHosts() {
String[] npHosts;
if (Policy.DEBUG_SYSTEM_PROVIDERS)
Policy.debug("Getting no_proxy"); //$NON-NLS-1$
// First try the environment variable which is a URL
String npEnv = getEnv("no_proxy"); //$NON-NLS-1$
if (npEnv != null) {
npHosts = StringUtil.split(npEnv, new String[] { "," }); //$NON-NLS-1$
for (int i = 0; i < npHosts.length; i++)
npHosts[i] = npHosts[i].trim();
if (Policy.DEBUG_SYSTEM_PROVIDERS) {
Policy.debug("Got Env no_proxy: " + npEnv); //$NON-NLS-1$
debugPrint(npHosts);
}
return npHosts;
}
if (isGnomeLibLoaded) {
try {
npHosts = getGSettingsNonProxyHosts();
if (npHosts != null && npHosts.length > 0) {
if (Policy.DEBUG_SYSTEM_PROVIDERS) {
Policy.debug("Got Gnome no_proxy"); //$NON-NLS-1$
debugPrint(npHosts);
}
return npHosts;
}
} catch (UnsatisfiedLinkError e) {
// The library should be loaded, so this is a real exception
Activator.logError(
"Problem during accessing Gnome library", e); //$NON-NLS-1$
}
}
return new String[0];
}
// Returns null if something wrong or there is no proxy for the protocol
protected ProxyData getSystemProxyInfo(String protocol) {
ProxyData pd = null;
String envName = null;
if (Policy.DEBUG_SYSTEM_PROVIDERS)
Policy.debug("Getting proxies for: " + protocol); //$NON-NLS-1$
try {
// protocol schemes are ISO 8859 (ASCII)
protocol = protocol.toLowerCase(Locale.ENGLISH);
// First try the environment variable which is a URL
envName = protocol + "_proxy"; //$NON-NLS-1$
String proxyEnv = getEnv(envName);
if (Policy.DEBUG_SYSTEM_PROVIDERS)
Policy.debug("Got proxyEnv: " + proxyEnv); //$NON-NLS-1$
if (proxyEnv != null) {
int colonInd = proxyEnv.indexOf(":"); //$NON-NLS-1$
if (colonInd !=-1 && proxyEnv.length() > colonInd + 2 && !"//".equals(proxyEnv.substring(colonInd + 1, colonInd + 3))) { //$NON-NLS-1$
proxyEnv = "http://" + proxyEnv; //$NON-NLS-1$
}
URI uri = new URI(proxyEnv);
pd = new ProxyData(protocol);
pd.setHost(Objects.requireNonNull(uri.getHost(), "no host in " + proxyEnv)); //$NON-NLS-1$
int port = uri.getPort();
if (port == -1) {
throw new IllegalStateException("no port in " + proxyEnv); //$NON-NLS-1$
}
pd.setPort(port);
String userInfo = uri.getUserInfo();
if (userInfo != null) {
String user = null;
String password = null;
int pwInd = userInfo.indexOf(':');
if (pwInd >= 0) {
user = userInfo.substring(0, pwInd);
password = userInfo.substring(pwInd + 1);
} else {
user = userInfo;
}
pd.setUserid(user);
pd.setPassword(password);
}
pd.setSource("LINUX_ENV"); //$NON-NLS-1$
if (Policy.DEBUG_SYSTEM_PROVIDERS)
Policy.debug("Got Env proxy: " + pd); //$NON-NLS-1$
return pd;
}
} catch (Exception e) {
Activator.logError(
"Problem during accessing system variable: " + envName, e); //$NON-NLS-1$
}
if (isGnomeLibLoaded) {
try {
// Then ask Gnome
pd = getGSettingsProxyInfo(protocol);
if (pd != null) {
if (Policy.DEBUG_SYSTEM_PROVIDERS)
Policy.debug("Got Gnome proxy: " + pd); //$NON-NLS-1$
pd.setSource("LINUX_GNOME"); //$NON-NLS-1$
return pd;
}
} catch (UnsatisfiedLinkError e) {
// The library should be loaded, so this is a real exception
Activator.logError(
"Problem during accessing Gnome library", e); //$NON-NLS-1$
}
}
return null;
}
private static String getEnv(String env) {
try {
return System.getenv(env);
} catch (Throwable t) {
// Fall-back to running 'env' directly. Warning this is very slow...
// up to 200ms
String cmd[] = { "/bin/sh", //$NON-NLS-1$
"-c", //$NON-NLS-1$
"env | grep -i proxy" }; //$NON-NLS-1$
Properties props = new Properties();
Process proc = null;
try {
proc = Runtime.getRuntime().exec(cmd);
props.load(proc.getInputStream());
} catch (IOException e) {
Activator.logError(
"Problem during accessing system variable: " + env, e); //$NON-NLS-1$
} catch (IllegalArgumentException e) {
Activator.logError(
"Problem during accessing system variable: " + env, e); //$NON-NLS-1$
} finally {
if (proc != null) {
proc.destroy();
}
}
return props.getProperty(env);
}
}
private void debugPrint(String[] strs) {
for (int i = 0; i < strs.length; i++)
System.out.println(i + ": " + strs[i]); //$NON-NLS-1$
}
private interface LibGio extends Library {
Pointer g_settings_new(String schema);
boolean g_settings_get_boolean(Pointer settings, String key);
Pointer g_settings_get_string(Pointer settings, String key);
int g_settings_get_int(Pointer settings, String key);
PointerByReference g_settings_get_strv(Pointer Settings, String key);
void g_strfreev(PointerByReference p);
void g_free(Pointer p);
}
private static void initializeSettings() {
try {
fLibGio = Native.load(LIBRARY_NAME, LibGio.class);
proxySettings = fLibGio.g_settings_new ("org.gnome.system.proxy"); //$NON-NLS-1$
httpProxySettings = fLibGio.g_settings_new ("org.gnome.system.proxy.http"); //$NON-NLS-1$
httpsProxySettings = fLibGio.g_settings_new ("org.gnome.system.proxy.https"); //$NON-NLS-1$
socksProxySettings = fLibGio.g_settings_new ("org.gnome.system.proxy.socks"); //$NON-NLS-1$
ftpProxySettings = fLibGio.g_settings_new ("org.gnome.system.proxy.ftp"); //$NON-NLS-1$
isGnomeLibLoaded= true;
if (Policy.DEBUG_SYSTEM_PROVIDERS)
Policy.debug("Loaded " + //$NON-NLS-1$
System.mapLibraryName(LIBRARY_NAME) + " library"); //$NON-NLS-1$
} catch (UnsatisfiedLinkError e) {
isGnomeLibLoaded= false;
if (Policy.DEBUG_SYSTEM_PROVIDERS)
Policy.debug("Could not load library: " //$NON-NLS-1$
+ System.mapLibraryName(LIBRARY_NAME));
}
}
protected static ProxyData getGSettingsProxyInfo(String protocol) {
if (protocol == null) {
return null;
}
if (proxySettings == Pointer.NULL) {
initializeSettings();
}
// Everything else applies only if the system proxy mode is manual
// Auto-configuration is not supported
Pointer mode = fLibGio.g_settings_get_string(proxySettings, "mode"); //$NON-NLS-1$
if (!mode.getString(0).equalsIgnoreCase("manual")) { //$NON-NLS-1$
fLibGio.g_free(mode);
return null;
}
fLibGio.g_free(mode);
Pointer host;
int port;
switch (protocol.toLowerCase()) {
case "http": //$NON-NLS-1$
host = fLibGio.g_settings_get_string(httpProxySettings, "host"); //$NON-NLS-1$
port = fLibGio.g_settings_get_int(httpProxySettings, "port"); //$NON-NLS-1$
break;
case "https": //$NON-NLS-1$
host = fLibGio.g_settings_get_string(httpsProxySettings, "host"); //$NON-NLS-1$
port = fLibGio.g_settings_get_int(httpsProxySettings, "port"); //$NON-NLS-1$
break;
case "ftp": //$NON-NLS-1$
host = fLibGio.g_settings_get_string(ftpProxySettings, "host"); //$NON-NLS-1$
port = fLibGio.g_settings_get_int(ftpProxySettings, "port"); //$NON-NLS-1$
break;
case "socks": //$NON-NLS-1$
host = fLibGio.g_settings_get_string(socksProxySettings, "host"); //$NON-NLS-1$
port = fLibGio.g_settings_get_int(socksProxySettings, "port"); //$NON-NLS-1$
break;
default:
// Unknown/invalid proxy type
return null;
}
ProxyData proxyData = new ProxyData(protocol);
proxyData.setHost(host.getString(0));
fLibGio.g_free(host);
proxyData.setPort(port);
// Each proxy type is enabled only if the "host" key is non-empty and its "port" key is non-0
if (proxyData.getHost() == null || proxyData.getPort() == 0) {
return null;
}
if (protocol.equalsIgnoreCase("http")) { //$NON-NLS-1$
// Authentication applies only to http proxies
boolean reqAuth = fLibGio.g_settings_get_boolean(httpProxySettings, "use-authentication"); //$NON-NLS-1$
if (reqAuth) {
Pointer user = fLibGio.g_settings_get_string(httpProxySettings, "authentication-user"); //$NON-NLS-1$
proxyData.setUserid(user.getString(0));
fLibGio.g_free(user);
Pointer password = fLibGio.g_settings_get_string(httpProxySettings, "authentication-password"); //$NON-NLS-1$
proxyData.setPassword(password.getString(0));
fLibGio.g_free(password);
}
}
return proxyData;
}
protected static String[] getGSettingsNonProxyHosts() {
if (proxySettings == Pointer.NULL) {
initializeSettings();
}
// Everything else applies only if the system proxy mode is manual
// Auto-configuration is not supported
Pointer mode = fLibGio.g_settings_get_string(proxySettings, "mode"); //$NON-NLS-1$
if (!mode.getString(0).equalsIgnoreCase("manual")) { //$NON-NLS-1$
fLibGio.g_free(mode);
return null;
}
fLibGio.g_free(mode);
PointerByReference npHostsArray = fLibGio.g_settings_get_strv(proxySettings, "ignore-hosts"); //$NON-NLS-1$
String[] npHosts = npHostsArray.getPointer().getStringArray(0);
fLibGio.g_strfreev(npHostsArray);
return npHosts;
}
}

View File

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.eclipse.equinox.launcher.gtk.freebsd.aarch64</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.SchemaBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
</natures>
</projectDescription>

View File

@ -0,0 +1,10 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-Vendor: %providerName
Bundle-SymbolicName: org.eclipse.equinox.launcher.gtk.freebsd.aarch64;singleton:=true
Bundle-Version: 1.2.1000.qualifier
Fragment-Host: org.eclipse.equinox.launcher;bundle-version="[1.5.0,1.7.0)"
Eclipse-PlatformFilter: (& (osgi.ws=gtk) (osgi.os=freebsd) (osgi.arch=aarch64))
Bundle-Localization: launcher.gtk.freebsd.aarch64
Eclipse-BundleShape: dir

View File

@ -0,0 +1,36 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>About</title>
</head>
<body lang="EN-US">
<h2>About This Content</h2>
<p>November 30, 2017</p>
<h3>License</h3>
<p>
The Eclipse Foundation makes available all content in this plug-in
(&quot;Content&quot;). Unless otherwise indicated below, the Content
is provided to you under the terms and conditions of the Eclipse
Public License Version 2.0 (&quot;EPL&quot;). A copy of the EPL is
available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>.
For purposes of the EPL, &quot;Program&quot; will mean the Content.
</p>
<p>
If you did not receive this Content directly from the Eclipse
Foundation, the Content is being redistributed by another party
(&quot;Redistributor&quot;) and different terms and conditions may
apply to your use of any object code in the Content. Check the
Redistributor's license that was provided with the Content. If no such
license exists, contact the Redistributor. Unless otherwise indicated
below, the terms and conditions of the EPL still apply to any source
code in the Content and such source code may be obtained at <a
href="http://www.eclipse.org/">http://www.eclipse.org</a>.
</p>
</body>
</html>

View File

@ -0,0 +1,25 @@
###############################################################################
# Copyright (c) 2015, 2022 Red Hat Inc. and others.
#
# This program and the accompanying materials
# are made available under the terms of the Eclipse Public License 2.0
# which accompanies this distribution, and is available at
# https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
# Red Hat Inc. - initial API and implementation
###############################################################################
bin.includes = META-INF/,\
launcher.gtk.freebsd.aarch64.properties,\
about.html
generateSourceBundle=false
binaryTag=LBv1-1901
# Maven properties, see https://github.com/eclipse/tycho/wiki/Tycho-Pomless#define-properties
tycho.pomless.parent = ../../launcher-binary-parent
pom.model.property.os = freebsd
pom.model.property.ws = gtk
pom.model.property.arch = aarch64

View File

@ -0,0 +1,15 @@
###############################################################################
# Copyright (c) 2015 Red Hat Inc. and others.
#
# This program and the accompanying materials
# are made available under the terms of the Eclipse Public License 2.0
# which accompanies this distribution, and is available at
# https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
# Red Hat Inc. - initial API and implementation
###############################################################################
pluginName = Equinox Launcher Linux AARCH64 Fragment
providerName = Eclipse.org - Equinox

View File

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.eclipse.equinox.launcher.gtk.freebsd.powerpc64</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.SchemaBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
</natures>
</projectDescription>

View File

@ -0,0 +1,10 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-Vendor: %providerName
Bundle-SymbolicName: org.eclipse.equinox.launcher.gtk.freebsd.powerpc64;singleton:=true
Bundle-Version: 1.2.1000.qualifier
Fragment-Host: org.eclipse.equinox.launcher;bundle-version="[1.5.0,1.7.0)"
Eclipse-PlatformFilter: (& (osgi.ws=gtk) (osgi.os=freebsd) (osgi.arch=powerpc64))
Bundle-Localization: launcher.gtk.freebsd.powerpc64
Eclipse-BundleShape: dir

View File

@ -0,0 +1,36 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>About</title>
</head>
<body lang="EN-US">
<h2>About This Content</h2>
<p>November 30, 2017</p>
<h3>License</h3>
<p>
The Eclipse Foundation makes available all content in this plug-in
(&quot;Content&quot;). Unless otherwise indicated below, the Content
is provided to you under the terms and conditions of the Eclipse
Public License Version 2.0 (&quot;EPL&quot;). A copy of the EPL is
available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>.
For purposes of the EPL, &quot;Program&quot; will mean the Content.
</p>
<p>
If you did not receive this Content directly from the Eclipse
Foundation, the Content is being redistributed by another party
(&quot;Redistributor&quot;) and different terms and conditions may
apply to your use of any object code in the Content. Check the
Redistributor's license that was provided with the Content. If no such
license exists, contact the Redistributor. Unless otherwise indicated
below, the terms and conditions of the EPL still apply to any source
code in the Content and such source code may be obtained at <a
href="http://www.eclipse.org/">http://www.eclipse.org</a>.
</p>
</body>
</html>

View File

@ -0,0 +1,25 @@
###############################################################################
# Copyright (c) 2014, 2022 Red Hat Inc. and others.
#
# This program and the accompanying materials
# are made available under the terms of the Eclipse Public License 2.0
# which accompanies this distribution, and is available at
# https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
# Alexander Kurtatkov - initial API and implementation
###############################################################################
bin.includes = META-INF/,\
launcher.gtk.freebsd.powerpc64.properties,\
about.html
generateSourceBundle=false
binaryTag=LBv1-1901
# Maven properties, see https://github.com/eclipse/tycho/wiki/Tycho-Pomless
tycho.pomless.parent = ../../launcher-binary-parent
pom.model.property.os = freebsd
pom.model.property.ws = gtk
pom.model.property.arch = powerpc64

View File

@ -0,0 +1,2 @@
# To force a version qualifier update add the bug here
I20180131-2000 comparator error

View File

@ -0,0 +1,15 @@
###############################################################################
# Copyright (c) 2014 Red Hat Inc. and others.
#
# This program and the accompanying materials
# are made available under the terms of the Eclipse Public License 2.0
# which accompanies this distribution, and is available at
# https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
# Alexander Kurtakov - initial API and implementation
###############################################################################
pluginName = Equinox Launcher Linux PPC64le Fragment
providerName = Eclipse.org - Equinox

View File

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.eclipse.equinox.launcher.gtk.freebsd.powerpc64le</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.SchemaBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
</natures>
</projectDescription>

View File

@ -0,0 +1,10 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-Vendor: %providerName
Bundle-SymbolicName: org.eclipse.equinox.launcher.gtk.freebsd.powerpc64le;singleton:=true
Bundle-Version: 1.2.1000.qualifier
Fragment-Host: org.eclipse.equinox.launcher;bundle-version="[1.5.0,1.7.0)"
Eclipse-PlatformFilter: (& (osgi.ws=gtk) (osgi.os=freebsd) (osgi.arch=powerpc64le))
Bundle-Localization: launcher.gtk.freebsd.powerpc64le
Eclipse-BundleShape: dir

View File

@ -0,0 +1,36 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>About</title>
</head>
<body lang="EN-US">
<h2>About This Content</h2>
<p>November 30, 2017</p>
<h3>License</h3>
<p>
The Eclipse Foundation makes available all content in this plug-in
(&quot;Content&quot;). Unless otherwise indicated below, the Content
is provided to you under the terms and conditions of the Eclipse
Public License Version 2.0 (&quot;EPL&quot;). A copy of the EPL is
available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>.
For purposes of the EPL, &quot;Program&quot; will mean the Content.
</p>
<p>
If you did not receive this Content directly from the Eclipse
Foundation, the Content is being redistributed by another party
(&quot;Redistributor&quot;) and different terms and conditions may
apply to your use of any object code in the Content. Check the
Redistributor's license that was provided with the Content. If no such
license exists, contact the Redistributor. Unless otherwise indicated
below, the terms and conditions of the EPL still apply to any source
code in the Content and such source code may be obtained at <a
href="http://www.eclipse.org/">http://www.eclipse.org</a>.
</p>
</body>
</html>

View File

@ -0,0 +1,25 @@
###############################################################################
# Copyright (c) 2014, 2022 Red Hat Inc. and others.
#
# This program and the accompanying materials
# are made available under the terms of the Eclipse Public License 2.0
# which accompanies this distribution, and is available at
# https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
# Alexander Kurtatkov - initial API and implementation
###############################################################################
bin.includes = META-INF/,\
launcher.gtk.freebsd.powerpc64le.properties,\
about.html
generateSourceBundle=false
binaryTag=LBv1-1901
# Maven properties, see https://github.com/eclipse/tycho/wiki/Tycho-Pomless
tycho.pomless.parent = ../../launcher-binary-parent
pom.model.property.os = freebsd
pom.model.property.ws = gtk
pom.model.property.arch = powerpc64le

View File

@ -0,0 +1,2 @@
# To force a version qualifier update add the bug here
I20180131-2000 comparator error

View File

@ -0,0 +1,15 @@
###############################################################################
# Copyright (c) 2014 Red Hat Inc. and others.
#
# This program and the accompanying materials
# are made available under the terms of the Eclipse Public License 2.0
# which accompanies this distribution, and is available at
# https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
# Alexander Kurtakov - initial API and implementation
###############################################################################
pluginName = Equinox Launcher Linux PPC64le Fragment
providerName = Eclipse.org - Equinox

View File

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.eclipse.equinox.launcher.gtk.freebsd.x86_64</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.SchemaBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
</natures>
</projectDescription>

View File

@ -0,0 +1,4 @@
#Wed Dec 06 11:46:47 EST 2006
eclipse.preferences.version=1
pluginProject.extensions=false
resolve.requirebundle=false

View File

@ -0,0 +1,10 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-Vendor: %providerName
Bundle-SymbolicName: org.eclipse.equinox.launcher.gtk.freebsd.x86_64;singleton:=true
Bundle-Version: 1.2.1000.qualifier
Fragment-Host: org.eclipse.equinox.launcher;bundle-version="[1.5.0,1.7.0)"
Eclipse-PlatformFilter: (& (osgi.ws=gtk) (osgi.os=freebsd) (osgi.arch=x86_64))
Bundle-Localization: launcher.gtk.freebsd.x86_64
Eclipse-BundleShape: dir

View File

@ -0,0 +1,36 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>About</title>
</head>
<body lang="EN-US">
<h2>About This Content</h2>
<p>November 30, 2017</p>
<h3>License</h3>
<p>
The Eclipse Foundation makes available all content in this plug-in
(&quot;Content&quot;). Unless otherwise indicated below, the Content
is provided to you under the terms and conditions of the Eclipse
Public License Version 2.0 (&quot;EPL&quot;). A copy of the EPL is
available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>.
For purposes of the EPL, &quot;Program&quot; will mean the Content.
</p>
<p>
If you did not receive this Content directly from the Eclipse
Foundation, the Content is being redistributed by another party
(&quot;Redistributor&quot;) and different terms and conditions may
apply to your use of any object code in the Content. Check the
Redistributor's license that was provided with the Content. If no such
license exists, contact the Redistributor. Unless otherwise indicated
below, the terms and conditions of the EPL still apply to any source
code in the Content and such source code may be obtained at <a
href="http://www.eclipse.org/">http://www.eclipse.org</a>.
</p>
</body>
</html>

View File

@ -0,0 +1,25 @@
###############################################################################
# Copyright (c) 2011, 2022 IBM Corporation and others.
#
# This program and the accompanying materials
# are made available under the terms of the Eclipse Public License 2.0
# which accompanies this distribution, and is available at
# https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
# IBM Corporation - initial API and implementation
###############################################################################
bin.includes = META-INF/,\
launcher.gtk.freebsd.x86_64.properties,\
about.html
generateSourceBundle=false
binaryTag=LBv1-1901
# Maven properties, see https://github.com/eclipse/tycho/wiki/Tycho-Pomless
tycho.pomless.parent = ../../launcher-binary-parent
pom.model.property.os = freebsd
pom.model.property.ws = gtk
pom.model.property.arch = x86_64

View File

@ -0,0 +1,3 @@
# To force a version qualifier update add the bug here
Bug 403352 - Update all parent versions to match our build stream
I20180131-2000 comparator error

View File

@ -0,0 +1,15 @@
###############################################################################
# Copyright (c) 2007, 2009 IBM Corporation and others.
#
# This program and the accompanying materials
# are made available under the terms of the Eclipse Public License 2.0
# which accompanies this distribution, and is available at
# https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
# IBM Corporation - initial API and implementation
###############################################################################
pluginName = Equinox Launcher Linux X86_64 Fragment
providerName = Eclipse.org - Equinox

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src/"/>
<classpathentry kind="output" path="bin"/>
</classpath>

View File

@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.eclipse.equinox.security.freebsd</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.SchemaBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.api.tools.apiAnalysisBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature>
</natures>
</projectDescription>

View File

@ -0,0 +1,2 @@
eclipse.preferences.version=1
line.separator=\n

View File

@ -0,0 +1,118 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled
org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore
org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull
org.eclipse.jdt.core.compiler.annotation.nonnull.secondary=
org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault
org.eclipse.jdt.core.compiler.annotation.nonnullbydefault.secondary=
org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable
org.eclipse.jdt.core.compiler.annotation.nullable.secondary=
org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=17
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.APILeak=warning
org.eclipse.jdt.core.compiler.problem.annotatedTypeArgumentToUnannotated=info
org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning
org.eclipse.jdt.core.compiler.problem.deadCode=warning
org.eclipse.jdt.core.compiler.problem.deprecation=warning
org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
org.eclipse.jdt.core.compiler.problem.emptyStatement=warning
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=warning
org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore
org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled
org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled
org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning
org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=warning
org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore
org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=warning
org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled
org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore
org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=warning
org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled
org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore
org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=warning
org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning
org.eclipse.jdt.core.compiler.problem.nonnullTypeVariableFromLegacyInvocation=warning
org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error
org.eclipse.jdt.core.compiler.problem.nullReference=warning
org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error
org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning
org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore
org.eclipse.jdt.core.compiler.problem.pessimisticNullAnalysisForFreeTypeVariables=warning
org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore
org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore
org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning
org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning
org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore
org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=warning
org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=warning
org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore
org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled
org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
org.eclipse.jdt.core.compiler.problem.suppressWarningsNotFullyAnalysed=info
org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled
org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
org.eclipse.jdt.core.compiler.problem.terminalDeprecation=warning
org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled
org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning
org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
org.eclipse.jdt.core.compiler.problem.unlikelyCollectionMethodArgumentType=warning
org.eclipse.jdt.core.compiler.problem.unlikelyCollectionMethodArgumentTypeStrict=disabled
org.eclipse.jdt.core.compiler.problem.unlikelyEqualsArgumentType=info
org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning
org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
org.eclipse.jdt.core.compiler.problem.unstableAutoModuleName=warning
org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled
org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled
org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=ignore
org.eclipse.jdt.core.compiler.problem.unusedImport=warning
org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore
org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled
org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore
org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
org.eclipse.jdt.core.compiler.release=enabled
org.eclipse.jdt.core.compiler.source=17
org.eclipse.objectteams.otdt.compiler.option.pure_java=enabled

View File

@ -0,0 +1,109 @@
eclipse.preferences.version=1
editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true
sp_cleanup.add_all=false
sp_cleanup.add_default_serial_version_id=true
sp_cleanup.add_generated_serial_version_id=false
sp_cleanup.add_missing_annotations=true
sp_cleanup.add_missing_deprecated_annotations=true
sp_cleanup.add_missing_methods=false
sp_cleanup.add_missing_nls_tags=false
sp_cleanup.add_missing_override_annotations=true
sp_cleanup.add_missing_override_annotations_interface_methods=true
sp_cleanup.add_serial_version_id=false
sp_cleanup.always_use_blocks=true
sp_cleanup.always_use_parentheses_in_expressions=false
sp_cleanup.always_use_this_for_non_static_field_access=false
sp_cleanup.always_use_this_for_non_static_method_access=false
sp_cleanup.arrays_fill=false
sp_cleanup.bitwise_conditional_expression=false
sp_cleanup.boolean_literal=false
sp_cleanup.break_loop=false
sp_cleanup.collection_cloning=false
sp_cleanup.comparison_statement=false
sp_cleanup.controlflow_merge=false
sp_cleanup.convert_functional_interfaces=false
sp_cleanup.convert_to_enhanced_for_loop=false
sp_cleanup.convert_to_enhanced_for_loop_if_loop_var_used=false
sp_cleanup.convert_to_switch_expressions=false
sp_cleanup.correct_indentation=false
sp_cleanup.double_negation=false
sp_cleanup.else_if=false
sp_cleanup.embedded_if=false
sp_cleanup.evaluate_nullable=false
sp_cleanup.extract_increment=false
sp_cleanup.format_source_code=true
sp_cleanup.format_source_code_changes_only=false
sp_cleanup.hash=false
sp_cleanup.if_condition=false
sp_cleanup.insert_inferred_type_arguments=false
sp_cleanup.instanceof=false
sp_cleanup.join=false
sp_cleanup.lazy_logical_operator=false
sp_cleanup.make_local_variable_final=true
sp_cleanup.make_parameters_final=false
sp_cleanup.make_private_fields_final=true
sp_cleanup.make_type_abstract_if_missing_method=false
sp_cleanup.make_variable_declarations_final=false
sp_cleanup.map_cloning=false
sp_cleanup.merge_conditional_blocks=false
sp_cleanup.multi_catch=false
sp_cleanup.never_use_blocks=false
sp_cleanup.never_use_parentheses_in_expressions=true
sp_cleanup.no_string_creation=false
sp_cleanup.no_super=false
sp_cleanup.number_suffix=false
sp_cleanup.objects_equals=false
sp_cleanup.on_save_use_additional_actions=true
sp_cleanup.organize_imports=true
sp_cleanup.overridden_assignment=false
sp_cleanup.precompile_regex=false
sp_cleanup.primitive_parsing=false
sp_cleanup.primitive_serialization=false
sp_cleanup.pull_up_assignment=false
sp_cleanup.push_down_negation=false
sp_cleanup.qualify_static_field_accesses_with_declaring_class=false
sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true
sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true
sp_cleanup.qualify_static_member_accesses_with_declaring_class=false
sp_cleanup.qualify_static_method_accesses_with_declaring_class=false
sp_cleanup.redundant_falling_through_block_end=false
sp_cleanup.remove_private_constructors=true
sp_cleanup.remove_redundant_modifiers=false
sp_cleanup.remove_redundant_semicolons=true
sp_cleanup.remove_redundant_type_arguments=false
sp_cleanup.remove_trailing_whitespaces=true
sp_cleanup.remove_trailing_whitespaces_all=true
sp_cleanup.remove_trailing_whitespaces_ignore_empty=false
sp_cleanup.remove_unnecessary_array_creation=true
sp_cleanup.remove_unnecessary_casts=true
sp_cleanup.remove_unnecessary_nls_tags=true
sp_cleanup.remove_unused_imports=true
sp_cleanup.remove_unused_local_variables=false
sp_cleanup.remove_unused_private_fields=true
sp_cleanup.remove_unused_private_members=false
sp_cleanup.remove_unused_private_methods=true
sp_cleanup.remove_unused_private_types=true
sp_cleanup.simplify_lambda_expression_and_method_ref=true
sp_cleanup.sort_members=false
sp_cleanup.sort_members_all=false
sp_cleanup.static_inner_class=false
sp_cleanup.strictly_equal_or_different=false
sp_cleanup.stringbuilder=false
sp_cleanup.switch=false
sp_cleanup.ternary_operator=false
sp_cleanup.try_with_resource=false
sp_cleanup.use_anonymous_class_creation=false
sp_cleanup.use_autoboxing=false
sp_cleanup.use_blocks=false
sp_cleanup.use_blocks_only_for_return_and_throw=false
sp_cleanup.use_directly_map_method=false
sp_cleanup.use_lambda=true
sp_cleanup.use_parentheses_in_expressions=false
sp_cleanup.use_this_for_non_static_field_access=false
sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=true
sp_cleanup.use_this_for_non_static_method_access=false
sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=true
sp_cleanup.use_unboxing=false
sp_cleanup.use_var=false
sp_cleanup.useless_continue=false
sp_cleanup.useless_return=false

View File

@ -0,0 +1,13 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %fragmentName
Bundle-SymbolicName: org.eclipse.equinox.security.freebsd;singleton:=true
Bundle-Version: 1.1.300.qualifier
Bundle-Vendor: %providerName
Fragment-Host: org.eclipse.equinox.security;bundle-version="[1.0.0,2.0.0)"
Bundle-RequiredExecutionEnvironment: JavaSE-17
Bundle-Localization: fragment
Eclipse-PlatformFilter: (osgi.os=freebsd)
Export-Package: org.eclipse.equinox.internal.security.freebsd;x-internal:=true
Automatic-Module-Name: org.eclipse.equinox.security.freebsd
Require-Bundle: com.sun.jna;bundle-version="[5.8.0,6.0.0)"

View File

@ -0,0 +1,36 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>About</title>
</head>
<body lang="EN-US">
<h2>About This Content</h2>
<p>November 30, 2017</p>
<h3>License</h3>
<p>
The Eclipse Foundation makes available all content in this plug-in
(&quot;Content&quot;). Unless otherwise indicated below, the Content
is provided to you under the terms and conditions of the Eclipse
Public License Version 2.0 (&quot;EPL&quot;). A copy of the EPL is
available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>.
For purposes of the EPL, &quot;Program&quot; will mean the Content.
</p>
<p>
If you did not receive this Content directly from the Eclipse
Foundation, the Content is being redistributed by another party
(&quot;Redistributor&quot;) and different terms and conditions may
apply to your use of any object code in the Content. Check the
Redistributor's license that was provided with the Content. If no such
license exists, contact the Redistributor. Unless otherwise indicated
below, the terms and conditions of the EPL still apply to any source
code in the Content and such source code may be obtained at <a
href="http://www.eclipse.org/">http://www.eclipse.org</a>.
</p>
</body>
</html>

View File

@ -0,0 +1,21 @@
###############################################################################
# Copyright (c) 2005, 2017 IBM Corporation and others.
#
# This program and the accompanying materials
# are made available under the terms of the Eclipse Public License 2.0
# which accompanies this distribution, and is available at
# https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
# Julien HENRY - Linux implementation
###############################################################################
source.. = src/
output.. = bin/
bin.includes = META-INF/,\
.,\
fragment.properties,\
fragment.xml,\
about.html
src.includes = about.html

View File

@ -0,0 +1,4 @@
# To force a version qualifier update add the bug here
Bug 527899 [9] Implement JEP 280: Indify String Concatenation #1139
https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/issues/1659

View File

@ -0,0 +1,17 @@
###############################################################################
# Copyright (c) 2017, 2021 IBM Corporation and others.
#
# This program and the accompanying materials
# are made available under the terms of the Eclipse Public License 2.0
# which accompanies this distribution, and is available at
# https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
# Julien HENRY - Linux implementation
###############################################################################
fragmentName = Linux libsecret integration
providerName = Eclipse.org - Equinox
linuxModuleName = Linux Integration
providerDescription = The provider uses libsecret to store a randomly generated user-specific \'master\' password. Users who can log into the operating system account can access contents of the secure storage.

View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.2"?>
<fragment>
<extension
id="LinuxKeystoreIntegrationJNA"
name="%linuxModuleName"
point="org.eclipse.equinox.security.secureStorage">
<provider
class="org.eclipse.equinox.internal.security.linux.LinuxPasswordProvider"
description="%providerDescription"
obsoletes="org.eclipse.equinox.security.linuxkeystoreintegration"
priority="5">
<hint
value="AutomaticPasswordGeneration">
</hint>
</provider>
</extension>
</fragment>

View File

@ -0,0 +1,45 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2017, 2020 Eclipse Foundation.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Distribution License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/org/documents/edl-v10.php
Contributors:
Julien HENRY - Linux implementation
Red Hat Inc. - modified to makde org.eclipse.equinox.security.linux
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.eclipse.equinox</groupId>
<artifactId>parent</artifactId>
<version>4.32.0-SNAPSHOT</version>
<relativePath>../../</relativePath>
</parent>
<artifactId>org.eclipse.equinox.security.freebsd</artifactId>
<version>1.1.300-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<configuration>
<dependency-resolution>
<extraRequirements>
<requirement>
<!-- workaround usage of split package https://bugs.eclipse.org/bugs/show_bug.cgi?id=403196 -->
<id>org.eclipse.equinox.registry</id>
<versionRange>0.0.0</versionRange>
<type>p2-installable-unit</type>
</requirement>
</extraRequirements>
</dependency-resolution>
</configuration>
</plugin>
</plugins>
</build>
</project>

View File

@ -0,0 +1,21 @@
/*******************************************************************************
* Copyright (c) 2020 Red Hat Inc.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Red Hat Inc. - initial version
*******************************************************************************/
package org.eclipse.equinox.internal.security.linux;
public class GBusType {
public final static int G_BUS_TYPE_STARTER = -1;
public final static int G_BUS_TYPE_NONE = 0;
public final static int G_BUS_TYPE_SYSTEM = 1;
public final static int G_BUS_TYPE_SESSION = 2;
}

View File

@ -0,0 +1,35 @@
/*******************************************************************************
* Copyright (c) 2020, 2021 Red Hat Inc.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Red Hat Inc. - initial version
*******************************************************************************/
package org.eclipse.equinox.internal.security.linux;
import java.util.List;
import com.sun.jna.Pointer;
import com.sun.jna.Structure;
public class GError extends Structure {
public int domain;
public int code;
public String message;
public GError(Pointer p) {
super(p);
read();
}
@Override
protected List<String> getFieldOrder() {
return List.of("domain", "code", "message"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
}
}

View File

@ -0,0 +1,42 @@
/*******************************************************************************
* Copyright (c) 2020, 2021 Red Hat Inc.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Red Hat Inc. - initial version
*******************************************************************************/
package org.eclipse.equinox.internal.security.linux;
import java.util.List;
import com.sun.jna.Pointer;
import com.sun.jna.Structure;
public class GList extends Structure {
public static class ByReference extends GList implements Structure.ByReference {
public ByReference(Pointer p) {
super(p);
read();
}
}
public GList(Pointer p) {
super(p);
read();
}
public Pointer data;
public GList.ByReference next;
public GList.ByReference prev;
@Override
protected List<String> getFieldOrder() {
return List.of("data", "next", "prev"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
}
}

View File

@ -0,0 +1,186 @@
/*******************************************************************************
* Copyright (c) 2017, 2024 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Julien HENRY - Linux implementation
* Red Hat Inc. - add validation method to handle KDE failures
* Red Hat Inc. - modified to make JNA version
*******************************************************************************/
package org.eclipse.equinox.internal.security.linux;
import java.nio.charset.StandardCharsets;
import java.security.SecureRandom;
import java.util.Map;
import javax.crypto.spec.PBEKeySpec;
import org.eclipse.equinox.internal.security.auth.AuthPlugin;
import org.eclipse.equinox.internal.security.storage.Base64;
import org.eclipse.equinox.internal.security.storage.provider.IValidatingPasswordProvider;
import org.eclipse.equinox.security.storage.provider.IPreferencesContainer;
import org.eclipse.equinox.security.storage.provider.PasswordProvider;
import com.sun.jna.Library;
import com.sun.jna.Native;
import com.sun.jna.Pointer;
import com.sun.jna.ptr.PointerByReference;
public class LinuxPasswordProvider extends PasswordProvider implements IValidatingPasswordProvider {
/**
* The length of the randomly generated password in bytes
*/
private static final int PASSWORD_LENGTH = 64;
private static final String SECRET_COLLECTION_DEFAULT = "default"; //$NON-NLS-1$
// open flags = (RTLD_NODELETE | RTLD_GLOBAL | RTLD_LAZY)
private static final Map<String, Object> LIB_LOAD_OPTIONS = Map.of(Library.OPTION_OPEN_FLAGS, 0x1101);
private final SecretSchema fEquinoxSchema = new SecretSchema("org.eclipse.equinox", //$NON-NLS-1$
SecretSchemaFlags.SECRET_SCHEMA_NONE, new SecretSchemaAttribute(null, 0));
private LibSecret fLibSecret;
private LibGio fLibGio;
private interface LibGio extends Library {
Pointer g_bus_get_sync(int bus_type, Pointer cancellable, PointerByReference gerror);
void g_error_free(Pointer error);
GList g_list_append(GList list, Pointer data);
}
private interface LibSecret extends Library {
Pointer secret_service_get_sync(int flags, Pointer cancellable, PointerByReference gerror);
Pointer secret_collection_for_alias_sync(Pointer service, final String alias, int flags, Pointer cancellable,
PointerByReference gerror);
boolean secret_collection_get_locked(Pointer self);
String secret_collection_get_label(Pointer self);
int secret_service_unlock_sync(Pointer service, GList objects, Pointer cancellable, PointerByReference unlocked,
PointerByReference error);
String secret_password_lookup_sync(SecretSchema schema, Pointer cancellable, PointerByReference error,
Object... attributes);
boolean secret_password_store_sync(SecretSchema schema, String collection, String label, String password,
Pointer cancellable, PointerByReference error, Object... attributes);
}
private void unlockSecretService() {
fLibGio = Native.load("gio-2.0", LibGio.class, LIB_LOAD_OPTIONS); //$NON-NLS-1$
PointerByReference gerror = new PointerByReference();
gerror.setValue(Pointer.NULL);
fLibGio.g_bus_get_sync(GBusType.G_BUS_TYPE_SESSION, Pointer.NULL, gerror);
requireNoError(gerror, "Unable to get DBus session bus: "); //$NON-NLS-1$
fLibSecret = Native.load("secret-1", LibSecret.class, LIB_LOAD_OPTIONS); //$NON-NLS-1$
Pointer secretService = fLibSecret.secret_service_get_sync(SecretServiceFlags.SECRET_SERVICE_LOAD_COLLECTIONS,
Pointer.NULL, gerror);
requireNoError(gerror, "Unable to get secret service: "); //$NON-NLS-1$
Pointer defaultCollection = fLibSecret.secret_collection_for_alias_sync(secretService,
SECRET_COLLECTION_DEFAULT, SecretCollectionFlags.SECRET_COLLECTION_NONE, Pointer.NULL, gerror);
requireNoError(gerror, "Unable to get secret collection: "); //$NON-NLS-1$
if (defaultCollection == Pointer.NULL) {
throw new SecurityException("Unable to find default secret collection"); //$NON-NLS-1$
}
if (fLibSecret.secret_collection_get_locked(defaultCollection)) {
fLibSecret.secret_collection_get_label(defaultCollection);
GList list = fLibGio.g_list_append(null, defaultCollection);
PointerByReference unlocked = new PointerByReference();
fLibSecret.secret_service_unlock_sync(secretService, list, Pointer.NULL, unlocked, gerror);
fLibGio.g_error_free(unlocked.getValue());
fLibGio.g_error_free(list.getPointer());
requireNoError(gerror, "Unable to unlock: "); //$NON-NLS-1$
}
}
private String getMasterPassword() throws SecurityException {
unlockSecretService();
PointerByReference gerror = new PointerByReference();
String password = fLibSecret.secret_password_lookup_sync(fEquinoxSchema, Pointer.NULL, gerror, Pointer.NULL);
requireNoError(gerror, ""); //$NON-NLS-1$
if (password == null) {
throw new SecurityException("Unable to find password"); //$NON-NLS-1$
}
return new String(password.getBytes(), StandardCharsets.UTF_8);
}
private void saveMasterPassword(String password) throws SecurityException {
unlockSecretService();
PointerByReference gerror = new PointerByReference();
String passwordUTF8 = new String(password.getBytes(), StandardCharsets.UTF_8);
fLibSecret.secret_password_store_sync(fEquinoxSchema, SECRET_COLLECTION_DEFAULT, "Equinox master password", //$NON-NLS-1$
passwordUTF8, Pointer.NULL, gerror, Pointer.NULL);
requireNoError(gerror, ""); //$NON-NLS-1$
}
private void requireNoError(PointerByReference gerror, String details) {
if (gerror.getValue() != Pointer.NULL) {
GError error = new GError(gerror.getValue());
String message = error.message;
fLibGio.g_error_free(gerror.getValue());
throw new SecurityException(details + message);
}
}
@Override
public PBEKeySpec getPassword(IPreferencesContainer container, int passwordType) {
boolean newPassword = (passwordType & CREATE_NEW_PASSWORD) != 0;
boolean passwordChange = (passwordType & PASSWORD_CHANGE) != 0;
if (!newPassword && !passwordChange) {
try {
return new PBEKeySpec(getMasterPassword().toCharArray());
} catch (SecurityException e) {
AuthPlugin.getDefault().logError(LinuxPasswordProviderMessages.getMasterPasswordError, e);
return null;
}
}
byte[] rawPassword = new byte[PASSWORD_LENGTH];
new SecureRandom().nextBytes(rawPassword);
String newPasswordString = Base64.encode(rawPassword);
// add info message in the log
AuthPlugin.getDefault().logMessage(LinuxPasswordProviderMessages.newMasterPasswordGenerated);
try {
saveMasterPassword(newPasswordString);
return new PBEKeySpec(newPasswordString.toCharArray());
} catch (SecurityException e) {
AuthPlugin.getDefault().logError(LinuxPasswordProviderMessages.saveMasterPasswordError, e);
return null;
}
}
@Override
public boolean isValid() {
try {
unlockSecretService();
return true;
} catch (SecurityException e) {
return false;
}
}
}

View File

@ -0,0 +1,34 @@
/*******************************************************************************
* Copyright (c) 2017 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Julien HENRY - Linux implementation
*******************************************************************************/
package org.eclipse.equinox.internal.security.linux;
import org.eclipse.osgi.util.NLS;
public class LinuxPasswordProviderMessages extends NLS {
private static final String BUNDLE_NAME = "org.eclipse.equinox.internal.security.linux.messages"; //$NON-NLS-1$
public static String getMasterPasswordError;
public static String saveMasterPasswordError;
public static String newMasterPasswordGenerated;
static {
// load message values from bundle file
reloadMessages();
}
public static void reloadMessages() {
NLS.initializeMessages(BUNDLE_NAME, LinuxPasswordProviderMessages.class);
}
}

View File

@ -0,0 +1,19 @@
/*******************************************************************************
* Copyright (c) 2020 Red Hat Inc.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Red Hat Inc. - initial version
*******************************************************************************/
package org.eclipse.equinox.internal.security.linux;
public class SecretCollectionFlags {
public final static int SECRET_COLLECTION_NONE = 0 << 0;
public final static int SECRET_COLLECTION_LOAD_ITEMS = 1 << 1;
}

View File

@ -0,0 +1,50 @@
/*******************************************************************************
* Copyright (c) 2020, 2021 Red Hat Inc.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Red Hat Inc. - initial version
*******************************************************************************/
package org.eclipse.equinox.internal.security.linux;
import java.util.List;
import com.sun.jna.Pointer;
import com.sun.jna.Structure;
public class SecretSchema extends Structure {
public String name;
public int flags;
public SecretSchemaAttribute[] attributes = new SecretSchemaAttribute[32];
/* <private> */
public int reserved;
public Pointer reserved1;
public Pointer reserved2;
public Pointer reserved3;
public Pointer reserved4;
public Pointer reserved5;
public Pointer reserved6;
public Pointer reserved7;
public SecretSchema(String name, int flags, SecretSchemaAttribute... attributes) {
this.name = name;
this.flags = flags;
for (int i = 0; i < attributes.length; ++i) {
this.attributes[i] = attributes[i];
}
write();
}
@Override
protected List<String> getFieldOrder() {
return List.of("name", "flags", "attributes", "reserved", "reserved1", "reserved2", "reserved3", "reserved4", //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ //$NON-NLS-6$ //$NON-NLS-7$ //$NON-NLS-8$
"reserved5", "reserved6", "reserved7"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
}
}

View File

@ -0,0 +1,37 @@
/*******************************************************************************
* Copyright (c) 2020, 2021 Red Hat Inc.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Red Hat Inc. - initial version
*******************************************************************************/
package org.eclipse.equinox.internal.security.linux;
import java.util.List;
import com.sun.jna.Structure;
public class SecretSchemaAttribute extends Structure {
public String name;
public int type;
public SecretSchemaAttribute() {
}
public SecretSchemaAttribute(String name, int type) {
this.name = name;
this.type = type;
write();
}
@Override
protected List<String> getFieldOrder() {
return List.of("name", "type"); //$NON-NLS-1$ //$NON-NLS-2$
}
}

View File

@ -0,0 +1,20 @@
/*******************************************************************************
* Copyright (c) 2020 Red Hat Inc.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Red Hat Inc. - initial version
*******************************************************************************/
package org.eclipse.equinox.internal.security.linux;
public class SecretSchemaAttributeType {
public static int SECRET_SCHEMA_ATTRIBUTE_STRING = 0;
public static int SECRET_SCHEMA_ATTRIBUTE_INTEGER = 1;
public static int SECRET_SCHEMA_ATTRIBUTE_BOOLEAN = 2;
}

View File

@ -0,0 +1,19 @@
/*******************************************************************************
* Copyright (c) 2020 Red Hat Inc.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Red Hat Inc. - initial version
*******************************************************************************/
package org.eclipse.equinox.internal.security.linux;
public class SecretSchemaFlags {
public static int SECRET_SCHEMA_NONE = 0;
public static int SECRET_SCHEMA_DONT_MATCH_NAME = (1 << 1);
}

View File

@ -0,0 +1,20 @@
/*******************************************************************************
* Copyright (c) 2020 Red Hat Inc.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Red Hat Inc. - initial version
*******************************************************************************/
package org.eclipse.equinox.internal.security.linux;
public class SecretServiceFlags {
public final static int SECRET_SERVICE_NONE = 0;
public final static int SECRET_SERVICE_OPEN_SESSION = 1 << 1;
public final static int SECRET_SERVICE_LOAD_COLLECTIONS = 1 << 2;
}

View File

@ -0,0 +1,18 @@
###############################################################################
# Copyright (c) 2017 IBM Corporation and others.
#
# This program and the accompanying materials
# are made available under the terms of the Eclipse Public License 2.0
# which accompanies this distribution, and is available at
# https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
# Julien HENRY - Linux implementation
###############################################################################
## Linux libsecure integration module
getMasterPasswordError=Secure storage was unable to retrieve the master password from the password storage. If secure storage was created using a different user account, you'll have to switch back to that account. Alternatively, you can use the password recovery, or delete and re-create secure storage.
saveMasterPasswordError=Secure storage was unable to save the master password.
newMasterPasswordGenerated=New secure storage master password was generated (Linux libsecret integration module).

File diff suppressed because it is too large Load Diff

View File

@ -1,52 +0,0 @@
diff -ru eclipse-platform-parent/pom.xml eclipse-platform-parent/pom.xml
--- eclipse-platform-parent/pom.xml 0000-00-00 00:00:00.000000000 +0000
+++ eclipse-platform-parent/pom.xml 0000-00-00 00:00:00.000000000 +0000
@@ -77,9 +77,9 @@
'eclipiserun-repo' repository, such as for computing .api-descriptions and
generating API Tools reports.
-->
- <eclipserun-repo>https://download.eclipse.org/eclipse/updates/4.24-I-builds/</eclipserun-repo>
+ <eclipserun-repo>https://download.eclipse.org/eclipse/updates/4.24/</eclipserun-repo>
- <comparator.repo>https://download.eclipse.org/eclipse/updates/4.24-I-builds</comparator.repo>
+ <comparator.repo>https://download.eclipse.org/eclipse/updates/4.24</comparator.repo>
<!-- only used when Tycho snapshot repo is enabled in <pluginRepositories> further down -->
<tycho-snapshot-repo.url>https://repo.eclipse.org/content/repositories/tycho-snapshots/</tycho-snapshot-repo.url>
@@ -253,17 +253,22 @@
</target>
<environments>
<environment>
- <os>linux</os>
+ <os>freebsd</os>
<ws>gtk</ws>
- <arch>x86_64</arch>
+ <arch>amd64</arch>
</environment>
<environment>
- <os>linux</os>
+ <os>freebsd</os>
<ws>gtk</ws>
- <arch>ppc64le</arch>
+ <arch>powerpc64</arch>
</environment>
+ <environment>
+ <os>freebsd</os>
+ <ws>gtk</ws>
+ <arch>powerpc64le</arch>
+ </environment>
<environment>
- <os>linux</os>
+ <os>freebsd</os>
<ws>gtk</ws>
<arch>aarch64</arch>
</environment>
@@ -625,7 +630,7 @@
For maintenance streams should always be "M-builds".
Ideally, this value would be provided by the environment, see bug 489789.
-->
- <eclipse-p2-repo.url>https://download.eclipse.org/eclipse/updates/4.24-I-builds</eclipse-p2-repo.url>
+ <eclipse-p2-repo.url>https://download.eclipse.org/eclipse/updates/4.24</eclipse-p2-repo.url>
</properties>
<repositories>
<repository>

View File

@ -1,146 +0,0 @@
diff -ru eclipse.pde/build/org.eclipse.pde.build/scripts/productBuild/allElements.xml eclipse.pde/build/org.eclipse.pde.build/scripts/productBuild/allElements.xml
--- eclipse.pde/build/org.eclipse.pde.build/scripts/productBuild/allElements.xml 0000-00-00 00:00:00.000000000 +0000
+++ eclipse.pde/build/org.eclipse.pde.build/scripts/productBuild/allElements.xml 0000-00-00 00:00:00.000000000 +0000
@@ -59,10 +59,10 @@
</ant>
</target>
- <property name="assemble.org.eclipse.pde.build.container.feature.linux.gtk.x86_64" value="true" />
- <target name="assemble.org.eclipse.pde.build.container.feature.linux.gtk.x86_64">
+ <property name="assemble.org.eclipse.pde.build.container.feature.freebsd.gtk.amd64" value="true" />
+ <target name="assemble.org.eclipse.pde.build.container.feature.freebsd.gtk.amd64">
<ant antfile="${assembleScriptName}" dir="${buildDirectory}">
- <property name="archiveName" value="${archiveNamePrefix}-linux.gtk.x86_64.zip"/>
+ <property name="archiveName" value="${archiveNamePrefix}-freebsd.gtk.amd64.zip"/>
</ant>
</target>
diff -ru eclipse.pde/build/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/Utils.java eclipse.pde/build/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/Utils.java
--- eclipse.pde/build/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/Utils.java 0000-00-00 00:00:00.000000000 +0000
+++ eclipse.pde/build/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/Utils.java 0000-00-00 00:00:00.000000000 +0000
@@ -694,7 +694,7 @@
arguments.add("-sf"); //$NON-NLS-1$
arguments.add(links[i]);
arguments.add(links[i + 1]);
- script.printExecTask("ln", dir, arguments, "Linux"); //$NON-NLS-1$ //$NON-NLS-2$
+ script.printExecTask("ln", dir, arguments, "Linux,FreeBSD"); //$NON-NLS-1$ //$NON-NLS-2$
arguments.clear();
}
}
diff -ru eclipse.pde/build/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/builder/ModelBuildScriptGenerator.java eclipse.pde/build/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/builder/ModelBuildScriptGenerator.java
--- eclipse.pde/build/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/builder/ModelBuildScriptGenerator.java 0000-00-00 00:00:00.000000000 +0000
+++ eclipse.pde/build/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/builder/ModelBuildScriptGenerator.java 0000-00-00 00:00:00.000000000 +0000
@@ -912,7 +912,7 @@
for (int i = 0; i < links.length; i += 2) {
arguments.add(links[i]);
arguments.add(links[i + 1]);
- script.printExecTask("ln -s", dir, arguments, "Linux"); //$NON-NLS-1$ //$NON-NLS-2$
+ script.printExecTask("ln -s", dir, arguments, "Linux,FreeBSD"); //$NON-NLS-1$ //$NON-NLS-2$
arguments.clear();
}
}
diff -ru eclipse.pde/build/org.eclipse.pde.build/src_ant/org/eclipse/pde/internal/build/tasks/JNLPGenerator.java eclipse.pde/build/org.eclipse.pde.build/src_ant/org/eclipse/pde/internal/build/tasks/JNLPGenerator.java
--- eclipse.pde/build/org.eclipse.pde.build/src_ant/org/eclipse/pde/internal/build/tasks/JNLPGenerator.java 0000-00-00 00:00:00.000000000 +0000
+++ eclipse.pde/build/org.eclipse.pde.build/src_ant/org/eclipse/pde/internal/build/tasks/JNLPGenerator.java 0000-00-00 00:00:00.000000000 +0000
@@ -308,8 +308,8 @@
return "Windows"; //$NON-NLS-1$
if ("macosx".equalsIgnoreCase(os)) //$NON-NLS-1$
return "Mac"; //$NON-NLS-1$
- if ("linux".equalsIgnoreCase(os)) //$NON-NLS-1$
- return "Linux"; //$NON-NLS-1$
+ if ("freebsd".equalsIgnoreCase(os)) //$NON-NLS-1$
+ return "FreeBSD"; //$NON-NLS-1$
if ("solaris".equalsIgnoreCase(os)) //$NON-NLS-1$
return "Solaris"; //$NON-NLS-1$
if ("hpux".equalsIgnoreCase(os)) //$NON-NLS-1$
diff -ru eclipse.pde/build/org.eclipse.pde.build/templates/packager/customTargets.xml eclipse.pde/build/org.eclipse.pde.build/templates/packager/customTargets.xml
--- eclipse.pde/build/org.eclipse.pde.build/templates/packager/customTargets.xml 0000-00-00 00:00:00.000000000 +0000
+++ eclipse.pde/build/org.eclipse.pde.build/templates/packager/customTargets.xml 0000-00-00 00:00:00.000000000 +0000
@@ -19,9 +19,9 @@
</ant>
</target>
- <target name="assemble.linux.gtk.x86_64.xml">
+ <target name="assemble.freebsd.gtk.amd64.xml">
<ant antfile="${assembleScriptName}" >
- <property name="archiveName" value="${archiveNamePrefix}-linux.gtk.x86_64.zip"/>
+ <property name="archiveName" value="${archiveNamePrefix}-freebsd.gtk.amd64.zip"/>
</ant>
</target>
diff -ru eclipse.pde/build/org.eclipse.pde.build/templates/packager/packaging.properties eclipse.pde/build/org.eclipse.pde.build/templates/packager/packaging.properties
--- eclipse.pde/build/org.eclipse.pde.build/templates/packager/packaging.properties 0000-00-00 00:00:00.000000000 +0000
+++ eclipse.pde/build/org.eclipse.pde.build/templates/packager/packaging.properties 0000-00-00 00:00:00.000000000 +0000
@@ -19,4 +19,4 @@
root.permissions.755=eclipse,*.so*
root.win32.win32.x86_64=eclipse.exe, eclipsec.exe
-root.linux.gtk.x86_64=eclipse,libcairo-swt.so,about_files/,about.html,icon.xpm
+root.freebsd.gtk.amd64=eclipse,libcairo-swt.so,about_files/,about.html,icon.xpm
diff -ru eclipse.pde/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/product/ConfigurationSection.java eclipse.pde/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/product/ConfigurationSection.java
--- eclipse.pde/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/product/ConfigurationSection.java 0000-00-00 00:00:00.000000000 +0000
+++ eclipse.pde/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/product/ConfigurationSection.java 0000-00-00 00:00:00.000000000 +0000
@@ -56,8 +56,8 @@
private FormEntry fCustomEntry;
private boolean fBlockChanges;
- private static final String[] TAB_LABELS = { "linux", "macosx", "win32" }; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- private static final String[] TAB_OS = { Platform.OS_LINUX, Platform.OS_MACOSX, Platform.OS_WIN32 };
+ private static final String[] TAB_LABELS = { "freebsd", "linux", "macosx", "win32" }; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ private static final String[] TAB_OS = { Platform.OS_FREEBSD, Platform.OS_LINUX, Platform.OS_MACOSX, Platform.OS_WIN32 };
private CTabFolder fTabFolder;
private int fLastTab;
diff -ru eclipse.pde/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/product/JRESection.java eclipse.pde/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/product/JRESection.java
--- eclipse.pde/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/product/JRESection.java 0000-00-00 00:00:00.000000000 +0000
+++ eclipse.pde/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/product/JRESection.java 0000-00-00 00:00:00.000000000 +0000
@@ -69,8 +69,8 @@
private ComboViewerPart fEEsCombo;
private boolean fBlockChanges;
- private static final String[] TAB_LABELS = { "linux", "macosx", "win32" }; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- private static final String[] TAB_OS = { Platform.OS_LINUX, Platform.OS_MACOSX, Platform.OS_WIN32 };
+ private static final String[] TAB_LABELS = { "freebsd", "linux", "macosx", "win32" }; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ private static final String[] TAB_OS = { Platform.OS_FREEBSD, Platform.OS_LINUX, Platform.OS_MACOSX, Platform.OS_WIN32 };
private CTabFolder fTabFolder;
private int fLastTab;
diff -ru eclipse.pde/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/wizards/product/ProductIntroOperation.java eclipse.pde/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/wizards/product/ProductIntroOperation.java
--- eclipse.pde/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/wizards/product/ProductIntroOperation.java 0000-00-00 00:00:00.000000000 +0000
+++ eclipse.pde/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/wizards/product/ProductIntroOperation.java 0000-00-00 00:00:00.000000000 +0000
@@ -130,7 +130,7 @@
implementation.setName("implementation"); //$NON-NLS-1$
implementation.setAttribute("kind", "html"); //$NON-NLS-1$ //$NON-NLS-2$
implementation.setAttribute("style", "content/shared.css"); //$NON-NLS-1$ //$NON-NLS-2$
- implementation.setAttribute("os", "win32,linux,macosx"); //$NON-NLS-1$ //$NON-NLS-2$
+ implementation.setAttribute("os", "freebsd,win32,linux,macosx"); //$NON-NLS-1$ //$NON-NLS-2$
presentation.add(implementation);
diff -ru eclipse.pde/ui/org.eclipse.pde.ui.templates/src/org/eclipse/pde/internal/ui/templates/rcp/IntroTemplate.java eclipse.pde/ui/org.eclipse.pde.ui.templates/src/org/eclipse/pde/internal/ui/templates/rcp/IntroTemplate.java
--- eclipse.pde/ui/org.eclipse.pde.ui.templates/src/org/eclipse/pde/internal/ui/templates/rcp/IntroTemplate.java 0000-00-00 00:00:00.000000000 +0000
+++ eclipse.pde/ui/org.eclipse.pde.ui.templates/src/org/eclipse/pde/internal/ui/templates/rcp/IntroTemplate.java 0000-00-00 00:00:00.000000000 +0000
@@ -162,7 +162,7 @@
presentationElement.setAttribute("home-page-id", "root"); //$NON-NLS-1$ //$NON-NLS-2$
IPluginElement implementationElement = factory.createElement(presentationElement);
implementationElement.setName("implementation"); //$NON-NLS-1$
- implementationElement.setAttribute("os", "win32,linux,macosx"); //$NON-NLS-1$ //$NON-NLS-2$
+ implementationElement.setAttribute("os", "freebsd,win32,linux,macosx"); //$NON-NLS-1$ //$NON-NLS-2$
if (getTargetVersion() == 3.0)
implementationElement.setAttribute("style", "content/shared.css"); //$NON-NLS-1$//$NON-NLS-2$
diff -ru eclipse.pde/ui/org.eclipse.pde.ui.templates/templates_3.5/E4Application/$pluginId$.product eclipse.pde/ui/org.eclipse.pde.ui.templates/templates_3.5/E4Application/$pluginId$.product
--- eclipse.pde/ui/org.eclipse.pde.ui.templates/templates_3.5/E4Application/$pluginId$.product 0000-00-00 00:00:00.000000000 +0000
+++ eclipse.pde/ui/org.eclipse.pde.ui.templates/templates_3.5/E4Application/$pluginId$.product 0000-00-00 00:00:00.000000000 +0000
@@ -84,8 +84,9 @@
<plugin id="org.osgi.util.promise"/>
<plugin id="org.eclipse.swt"/>
<plugin id="org.eclipse.swt.cocoa.macosx.x86_64" fragment="true"/>
- <plugin id="org.eclipse.swt.gtk.linux.ppc64" fragment="true"/>
- <plugin id="org.eclipse.swt.gtk.linux.x86_64" fragment="true"/>
+ <plugin id="org.eclipse.swt.gtk.freebsd.powerpc64" fragment="true"/>
+ <plugin id="org.eclipse.swt.gtk.freebsd.powerpc64le" fragment="true"/>
+ <plugin id="org.eclipse.swt.gtk.freebsd.amd64" fragment="true"/>
<plugin id="org.eclipse.swt.win32.win32.x86_64" fragment="true"/>
<plugin id="org.eclipse.urischeme"/>
<plugin id="org.w3c.css.sac"/>

Some files were not shown because too many files have changed in this diff Show More