summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2019-07-25 16:47:22 +0000
committerryoon <ryoon@pkgsrc.org>2019-07-25 16:47:22 +0000
commitac26b7c9c4420c072601f577d330187aec0661f1 (patch)
tree5dc62863731c65ab66add631ff9271b65620c797 /devel
parentaffdfd8f964e01821951e0006ad381d8bc91f0f6 (diff)
downloadpkgsrc-ac26b7c9c4420c072601f577d330187aec0661f1.tar.gz
Removw intellij-idea-ce
Superseded by intellij-ce-bin.
Diffstat (limited to 'devel')
-rw-r--r--devel/intellij-idea-ce/DESCR20
-rw-r--r--devel/intellij-idea-ce/MESSAGE7
-rw-r--r--devel/intellij-idea-ce/Makefile84
-rw-r--r--devel/intellij-idea-ce/PLIST396
-rw-r--r--devel/intellij-idea-ce/distinfo11
-rw-r--r--devel/intellij-idea-ce/patches/patch-native_fsNotifier_linux_config.h8
-rw-r--r--devel/intellij-idea-ce/patches/patch-native_fsNotifier_linux_fam-mntent.h72
-rw-r--r--devel/intellij-idea-ce/patches/patch-native_fsNotifier_linux_inotify.c32
-rw-r--r--devel/intellij-idea-ce/patches/patch-native_fsNotifier_linux_main.c18
-rw-r--r--devel/intellij-idea-ce/patches/patch-native_fsNotifier_linux_mntent__compat.c202
10 files changed, 0 insertions, 850 deletions
diff --git a/devel/intellij-idea-ce/DESCR b/devel/intellij-idea-ce/DESCR
deleted file mode 100644
index ceb31413204..00000000000
--- a/devel/intellij-idea-ce/DESCR
+++ /dev/null
@@ -1,20 +0,0 @@
-IntelliJ IDEA Community Edition is the open source version of IntelliJ
-IDEA, a premier IDE (Integrated Development Environment) for Java,
-Groovy and other programming languages such as Scala or Clojure.
-
-The Community Edition includes:
-
- An Intelligent code editor that has all the smarts for
- understanding Java, XML and Groovy code
-
- Refactorings, code inspections and intentions, super-fast
- navigation and search
-
- Testing frameworks integration: JUnit and TestNG
-
- Build tools support: Ant and Maven
-
- Popular version control systems integration: CVS, Subversion
- and Git
-
- Swing UI designer
diff --git a/devel/intellij-idea-ce/MESSAGE b/devel/intellij-idea-ce/MESSAGE
deleted file mode 100644
index 6416acb3755..00000000000
--- a/devel/intellij-idea-ce/MESSAGE
+++ /dev/null
@@ -1,7 +0,0 @@
-===========================================================================
-$NetBSD: MESSAGE,v 1.2 2014/04/24 16:19:40 ryoon Exp $
-
-To start IntelliJ IDEA Community Edition, run as following
-
-$ IDEA_JDK=${PREFIX}/java/openjdk7 ${PREFIX}/intellij-idea-ce-13.1.2/bin/idea.sh
-===========================================================================
diff --git a/devel/intellij-idea-ce/Makefile b/devel/intellij-idea-ce/Makefile
deleted file mode 100644
index df2ba62d5e5..00000000000
--- a/devel/intellij-idea-ce/Makefile
+++ /dev/null
@@ -1,84 +0,0 @@
-# $NetBSD: Makefile,v 1.5 2018/06/09 20:34:56 fhajny Exp $
-
-VERSION= 13.1.2
-DISTNAME= ideaIC-${VERSION:S/.0.0//}-src
-PKGNAME= intellij-idea-ce-${VERSION}
-PKGREVISION= 1
-CATEGORIES= devel
-MASTER_SITES= http://download.jetbrains.com/idea/
-EXTRACT_SUFX= .tar.bz2
-
-MAINTAINER= ryoon@NetBSD.org
-HOMEPAGE= http://www.jetbrains.org/
-COMMENT= JetBrain's Java IDE
-LICENSE= apache-2.0
-
-WRKSRC= ${WRKDIR}/ideaIC-135.690
-USE_LANGUAGES= c c++
-USE_JAVA= yes
-USE_JAVA2= 7
-
-USE_TOOLS+= pax tar
-
-DEPENDS+= snappy-java>=1.0.5<1.1:../../devel/snappy-java10
-BUILD_DEPENDS+= apache-ant-[0-9]*:../../devel/apache-ant
-
-SUBST_CLASSES+= dos_eol
-SUBST_MESSAGE.dos_eol= Removing DOS line-ends
-SUBST_STAGE.dos_eol= post-extract
-SUBST_FILES.dos_eol= native/fsNotifier/linux/*
-SUBST_FILTER_CMD.dos_eol= ${TR} -d '\r'
-
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} == "NetBSD"
-.include "../../devel/libinotify/buildlink3.mk"
-LIBINOTIFYFLAG= -linotify
-MNTENTCFILE= mntent_compat.c
-.endif
-
-INSTALLATION_DIRS= intellij-idea-ce-${VERSION}
-
-EXTDIR= idea-IC-135.SNAPSHOT
-
-do-build:
-# Build Java part
- cd ${WRKSRC} \
- && env ${MAKE_ENV} \
- ${LOCALBASE}/bin/ant
-# Build fsnotifier native binary
- cd ${WRKSRC}/native/fsNotifier/linux && \
- ${CC} -Wall -std=c99 -D_BSD_SOURCE -D_XOPEN_SOURCE=500 \
- -D_NETBSD_SOURCE \
- -o fsnotifier \
- main.c inotify.c util.c \
- ${MNTENTCFILE} \
- -I${BUILDLINK_PREFIX.libinotify}/include \
- ${LIBINOTIFYFLAG} \
- -L${BUILDLINK_PREFIX.libinotify}/lib \
- ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.libinotify}/lib
-# Build libbreakgen native library
- cd ${WRKSRC}/native/breakgen && \
- ${CC} -shared -fPIC -o libbreakgen.so AppMain.c \
- -I ${PKG_JAVA_HOME}/include/
-
-do-install:
- cd ${WRKDIR} && \
- zcat ${WRKSRC}/out/artifacts/ideaIC-135.SNAPSHOT.tar.gz | tar xf -
- cd ${WRKDIR} && rm ${EXTDIR}/bin/fsnotifier*
- cd ${WRKDIR} && rm ${EXTDIR}/bin/libbreakgen.so
- cd ${WRKDIR} && rm ${EXTDIR}/bin/libbreakgen64.so
- cd ${WRKDIR} && rm -rf ${EXTDIR}/lib/libpty
- cd ${WRKDIR} && ${CP} ${WRKSRC}/native/fsNotifier/linux/fsnotifier \
- ${EXTDIR}/bin
- cd ${WRKDIR} && ${CP} ${WRKSRC}/native/breakgen/libbreakgen.so \
- ${EXTDIR}/bin
- cd ${WRKDIR}/${EXTDIR} && ${FIND} * -print | \
- pax -rw -pmp ${DESTDIR}${PREFIX}/${PKGNAME}
- cd ${DESTDIR}${PREFIX}/${PKGNAME_NOREV}/lib && \
- ${RM} -f snappy-java-1.0.5.jar && \
- ${LN} -sf ${PREFIX}/lib/java/snappy-java/snappy-java.jar .
-
-.include "../../mk/java-env.mk"
-.include "../../mk/java-vm.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/devel/intellij-idea-ce/PLIST b/devel/intellij-idea-ce/PLIST
deleted file mode 100644
index 707f3ab3bca..00000000000
--- a/devel/intellij-idea-ce/PLIST
+++ /dev/null
@@ -1,396 +0,0 @@
-@comment $NetBSD: PLIST,v 1.3 2018/06/09 20:34:56 fhajny Exp $
-${PKGNAME}/Install-Linux-tar.txt
-${PKGNAME}/LICENSE.txt
-${PKGNAME}/NOTICE.txt
-${PKGNAME}/bin/appletviewer.policy
-${PKGNAME}/bin/fsnotifier
-${PKGNAME}/bin/idea.png
-${PKGNAME}/bin/idea.properties
-${PKGNAME}/bin/idea.sh
-${PKGNAME}/bin/idea.vmoptions
-${PKGNAME}/bin/idea64.vmoptions
-${PKGNAME}/bin/inspect.sh
-${PKGNAME}/bin/libbreakgen.so
-${PKGNAME}/bin/log.xml
-${PKGNAME}/build.txt
-${PKGNAME}/lib/annotations.jar
-${PKGNAME}/lib/ant/INSTALL
-${PKGNAME}/lib/ant/KEYS
-${PKGNAME}/lib/ant/LICENSE
-${PKGNAME}/lib/ant/NOTICE
-${PKGNAME}/lib/ant/README
-${PKGNAME}/lib/ant/WHATSNEW
-${PKGNAME}/lib/ant/fetch.xml
-${PKGNAME}/lib/ant/get-m2.xml
-${PKGNAME}/lib/ant/lib/README
-${PKGNAME}/lib/ant/lib/ant-antlr.jar
-${PKGNAME}/lib/ant/lib/ant-antlr.pom
-${PKGNAME}/lib/ant/lib/ant-apache-bcel.jar
-${PKGNAME}/lib/ant/lib/ant-apache-bcel.pom
-${PKGNAME}/lib/ant/lib/ant-apache-bsf.jar
-${PKGNAME}/lib/ant/lib/ant-apache-bsf.pom
-${PKGNAME}/lib/ant/lib/ant-apache-log4j.jar
-${PKGNAME}/lib/ant/lib/ant-apache-log4j.pom
-${PKGNAME}/lib/ant/lib/ant-apache-oro.jar
-${PKGNAME}/lib/ant/lib/ant-apache-oro.pom
-${PKGNAME}/lib/ant/lib/ant-apache-regexp.jar
-${PKGNAME}/lib/ant/lib/ant-apache-regexp.pom
-${PKGNAME}/lib/ant/lib/ant-apache-resolver.jar
-${PKGNAME}/lib/ant/lib/ant-apache-resolver.pom
-${PKGNAME}/lib/ant/lib/ant-apache-xalan2.jar
-${PKGNAME}/lib/ant/lib/ant-apache-xalan2.pom
-${PKGNAME}/lib/ant/lib/ant-commons-logging.jar
-${PKGNAME}/lib/ant/lib/ant-commons-logging.pom
-${PKGNAME}/lib/ant/lib/ant-commons-net.jar
-${PKGNAME}/lib/ant/lib/ant-commons-net.pom
-${PKGNAME}/lib/ant/lib/ant-jai.jar
-${PKGNAME}/lib/ant/lib/ant-jai.pom
-${PKGNAME}/lib/ant/lib/ant-javamail.jar
-${PKGNAME}/lib/ant/lib/ant-javamail.pom
-${PKGNAME}/lib/ant/lib/ant-jdepend.jar
-${PKGNAME}/lib/ant/lib/ant-jdepend.pom
-${PKGNAME}/lib/ant/lib/ant-jmf.jar
-${PKGNAME}/lib/ant/lib/ant-jmf.pom
-${PKGNAME}/lib/ant/lib/ant-jsch.jar
-${PKGNAME}/lib/ant/lib/ant-jsch.pom
-${PKGNAME}/lib/ant/lib/ant-junit.jar
-${PKGNAME}/lib/ant/lib/ant-junit.pom
-${PKGNAME}/lib/ant/lib/ant-launcher.jar
-${PKGNAME}/lib/ant/lib/ant-launcher.pom
-${PKGNAME}/lib/ant/lib/ant-netrexx.jar
-${PKGNAME}/lib/ant/lib/ant-netrexx.pom
-${PKGNAME}/lib/ant/lib/ant-parent.pom
-${PKGNAME}/lib/ant/lib/ant-swing.jar
-${PKGNAME}/lib/ant/lib/ant-swing.pom
-${PKGNAME}/lib/ant/lib/ant-testutil.jar
-${PKGNAME}/lib/ant/lib/ant-testutil.pom
-${PKGNAME}/lib/ant/lib/ant.jar
-${PKGNAME}/lib/ant/lib/ant.pom
-${PKGNAME}/lib/ant/lib/libraries.properties
-${PKGNAME}/lib/asm-all.jar
-${PKGNAME}/lib/asm-commons.jar
-${PKGNAME}/lib/asm.jar
-${PKGNAME}/lib/asm4-all.jar
-${PKGNAME}/lib/automaton.jar
-${PKGNAME}/lib/boot.jar
-${PKGNAME}/lib/bootstrap.jar
-${PKGNAME}/lib/cglib-2.2.2.jar
-${PKGNAME}/lib/cli-parser-1.1.jar
-${PKGNAME}/lib/commons-codec-1.8.jar
-${PKGNAME}/lib/commons-httpclient-3.1-patched.jar
-${PKGNAME}/lib/commons-logging-1.1.3.jar
-${PKGNAME}/lib/commons-net-3.1.jar
-${PKGNAME}/lib/ecj-4.3.2.jar
-${PKGNAME}/lib/extensions.jar
-${PKGNAME}/lib/fluent-hc-4.3.2.jar
-${PKGNAME}/lib/forms_rt.jar
-${PKGNAME}/lib/groovy-all-2.2.1.jar
-${PKGNAME}/lib/gson-2.2.4.jar
-${PKGNAME}/lib/guava-14.0.1.jar
-${PKGNAME}/lib/hamcrest-core-1.3.jar
-${PKGNAME}/lib/hamcrest-library-1.3.jar
-${PKGNAME}/lib/httpclient-4.3.2.jar
-${PKGNAME}/lib/httpcore-4.3.1.jar
-${PKGNAME}/lib/httpmime-4.3.2.jar
-${PKGNAME}/lib/icons.jar
-${PKGNAME}/lib/idea.jar
-${PKGNAME}/lib/idea_rt.jar
-${PKGNAME}/lib/isorelax.jar
-${PKGNAME}/lib/javac2.jar
-${PKGNAME}/lib/jaxen-1.1.3.jar
-${PKGNAME}/lib/jayatana-1.2.4.jar
-${PKGNAME}/lib/jcip-annotations.jar
-${PKGNAME}/lib/jdkAnnotations.jar
-${PKGNAME}/lib/jdom.jar
-${PKGNAME}/lib/jgoodies-common-1.2.1.jar
-${PKGNAME}/lib/jgoodies-forms.jar
-${PKGNAME}/lib/jgoodies-looks-2.4.2.jar
-${PKGNAME}/lib/jh.jar
-${PKGNAME}/lib/jing.jar
-${PKGNAME}/lib/jna-utils.jar
-${PKGNAME}/lib/jna.jar
-${PKGNAME}/lib/jps-launcher.jar
-${PKGNAME}/lib/jps-server.jar
-${PKGNAME}/lib/jsch-0.1.50.jar
-${PKGNAME}/lib/jsch.agentproxy.connector-factory.jar
-${PKGNAME}/lib/jsch.agentproxy.core.jar
-${PKGNAME}/lib/jsch.agentproxy.pageant.jar
-${PKGNAME}/lib/jsch.agentproxy.sshagent.jar
-${PKGNAME}/lib/jsch.agentproxy.usocket-jna.jar
-${PKGNAME}/lib/jsch.agentproxy.usocket-nc.jar
-${PKGNAME}/lib/jsr166e.jar
-${PKGNAME}/lib/jsr173_1.0_api.jar
-${PKGNAME}/lib/junit-4.11.jar
-${PKGNAME}/lib/junit.jar
-${PKGNAME}/lib/jzlib-1.1.1.jar
-${PKGNAME}/lib/log4j.jar
-${PKGNAME}/lib/markdownj-core-0.4.2-SNAPSHOT.jar
-${PKGNAME}/lib/microba.jar
-${PKGNAME}/lib/miglayout-swing.jar
-${PKGNAME}/lib/nanoxml-2.2.3.jar
-${PKGNAME}/lib/nekohtml-1.9.14.jar
-${PKGNAME}/lib/netty-all-5.0.0.Alpha2.jar
-${PKGNAME}/lib/openapi.jar
-${PKGNAME}/lib/optimizedFileManager.jar
-${PKGNAME}/lib/oromatcher.jar
-${PKGNAME}/lib/picocontainer.jar
-${PKGNAME}/lib/protobuf-2.5.0.jar
-${PKGNAME}/lib/proxy-vole_20120920.jar
-${PKGNAME}/lib/pty4j-0.3.jar
-${PKGNAME}/lib/purejavacomm.jar
-${PKGNAME}/lib/resolver.jar
-${PKGNAME}/lib/resources.jar
-${PKGNAME}/lib/resources_en.jar
-${PKGNAME}/lib/rhino-js-1_7R4.jar
-${PKGNAME}/lib/rngom-20051226-patched.jar
-${PKGNAME}/lib/rt/required_for_dist.txt
-${PKGNAME}/lib/sanselan-0.98-snapshot.jar
-${PKGNAME}/lib/serviceMessages.jar
-${PKGNAME}/lib/snappy-java.jar
-${PKGNAME}/lib/swingx-core-1.6.2.jar
-${PKGNAME}/lib/trang-core.jar
-${PKGNAME}/lib/trove4j.jar
-${PKGNAME}/lib/trove4j_src.jar
-${PKGNAME}/lib/util.jar
-${PKGNAME}/lib/velocity.jar
-${PKGNAME}/lib/winp-1.17-patched.jar
-${PKGNAME}/lib/xbean.jar
-${PKGNAME}/lib/xerces.jar
-${PKGNAME}/lib/xmlrpc-2.0.jar
-${PKGNAME}/lib/xpp3-1.1.4-min.jar
-${PKGNAME}/lib/xstream-1.4.3.jar
-${PKGNAME}/license/XStream_license.txt
-${PKGNAME}/license/ant_license.txt
-${PKGNAME}/license/asm_license.txt
-${PKGNAME}/license/growl.license
-${PKGNAME}/license/gson_license.txt
-${PKGNAME}/license/javahelp_license.html
-${PKGNAME}/license/javolution_license.txt
-${PKGNAME}/license/jaxb_license.txt
-${PKGNAME}/license/jaxen_license.txt
-${PKGNAME}/license/jayatana_license.txt
-${PKGNAME}/license/jdom_license.txt
-${PKGNAME}/license/jgoodies_forms_license.txt
-${PKGNAME}/license/junit_license.txt
-${PKGNAME}/license/kryo-license.txt
-${PKGNAME}/license/log4j_license.txt
-${PKGNAME}/license/microba_license.txt
-${PKGNAME}/license/miglayout_swing_license.txt
-${PKGNAME}/license/nanoxml_license.txt
-${PKGNAME}/license/oromatcher_license.txt
-${PKGNAME}/license/picoContainer_license.txt
-${PKGNAME}/license/sanselan_license.txt
-${PKGNAME}/license/sqljet-license.txt
-${PKGNAME}/license/svnkit-license.txt
-${PKGNAME}/license/swingx_license.txt
-${PKGNAME}/license/winp_license.txt
-${PKGNAME}/license/xerces_license.txt
-${PKGNAME}/license/xmlrpc_license.txt
-${PKGNAME}/license/yourkit-license-redist.txt
-${PKGNAME}/plugins/ByteCodeViewer/lib/byteCodeViewer.jar
-${PKGNAME}/plugins/Groovy/lib/Groovy.jar
-${PKGNAME}/plugins/Groovy/lib/agent/gragent.jar
-${PKGNAME}/plugins/Groovy/lib/console.txt
-${PKGNAME}/plugins/Groovy/lib/groovy-jps-plugin.jar
-${PKGNAME}/plugins/Groovy/lib/groovy-starter.conf
-${PKGNAME}/plugins/Groovy/lib/groovy_rt.jar
-${PKGNAME}/plugins/Groovy/lib/standardDsls/GppExtensions.gdsl
-${PKGNAME}/plugins/Groovy/lib/standardDsls/bindableTransform.gdsl
-${PKGNAME}/plugins/Groovy/lib/standardDsls/categoryTransform.gdsl
-${PKGNAME}/plugins/Groovy/lib/standardDsls/closuresInMethod.gdsl
-${PKGNAME}/plugins/Groovy/lib/standardDsls/defaultMethods.gdsl
-${PKGNAME}/plugins/Groovy/lib/standardDsls/extensions.gdsl
-${PKGNAME}/plugins/Groovy/lib/standardDsls/gantScript.gdsl
-${PKGNAME}/plugins/Groovy/lib/standardDsls/indexedProperty.gdsl
-${PKGNAME}/plugins/Groovy/lib/standardDsls/listenerList.gdsl
-${PKGNAME}/plugins/Groovy/lib/standardDsls/metaDsl.gdsl
-${PKGNAME}/plugins/Groovy/lib/standardDsls/newifyTransform.gdsl
-${PKGNAME}/plugins/Groovy/lib/standardDsls/singletonTransform.gdsl
-${PKGNAME}/plugins/Groovy/lib/standardDsls/vetoableTransform.gdsl
-${PKGNAME}/plugins/IntelliLang/lib/IntelliLang.jar
-${PKGNAME}/plugins/IntelliLang/lib/intellilang-jps-plugin.jar
-${PKGNAME}/plugins/ant/lib/ant-jps-plugin.jar
-${PKGNAME}/plugins/ant/lib/antIntegration.jar
-${PKGNAME}/plugins/ant/lib/resources_en.jar
-${PKGNAME}/plugins/commander/lib/commander.jar
-${PKGNAME}/plugins/commander/lib/resources_en.jar
-${PKGNAME}/plugins/copyright/lib/copyright.jar
-${PKGNAME}/plugins/cvsIntegration/lib/cvsIntegration.jar
-${PKGNAME}/plugins/cvsIntegration/lib/cvs_util.jar
-${PKGNAME}/plugins/cvsIntegration/lib/javacvs-src.jar
-${PKGNAME}/plugins/cvsIntegration/lib/resources_en.jar
-${PKGNAME}/plugins/cvsIntegration/lib/smartcvs-src.jar
-${PKGNAME}/plugins/cvsIntegration/lib/trilead-ssh2-build213.jar
-${PKGNAME}/plugins/devkit/lib/devkit.jar
-${PKGNAME}/plugins/devkit/lib/dtdparser113.jar
-${PKGNAME}/plugins/devkit/lib/jps/devkit-jps-plugin.jar
-${PKGNAME}/plugins/devkit/lib/resources_en.jar
-${PKGNAME}/plugins/eclipse/lib/common-eclipse-util.jar
-${PKGNAME}/plugins/eclipse/lib/eclipse-jps-plugin.jar
-${PKGNAME}/plugins/eclipse/lib/eclipse.jar
-${PKGNAME}/plugins/eclipse/lib/resources_en.jar
-${PKGNAME}/plugins/git4idea/lib/git4idea-rt.jar
-${PKGNAME}/plugins/git4idea/lib/git4idea.jar
-${PKGNAME}/plugins/git4idea/lib/ini4j-0.5.2-patched.jar
-${PKGNAME}/plugins/git4idea/lib/org.eclipse.jgit-2.1.0.201209190230-r.jar
-${PKGNAME}/plugins/git4idea/lib/remote-servers-git.jar
-${PKGNAME}/plugins/git4idea/lib/resources_en.jar
-${PKGNAME}/plugins/git4idea/lib/trilead-ssh2.jar
-${PKGNAME}/plugins/github/lib/github.jar
-${PKGNAME}/plugins/gradle/lib/commons-io-1.4.jar
-${PKGNAME}/plugins/gradle/lib/gradle-base-services-1.9.jar
-${PKGNAME}/plugins/gradle/lib/gradle-core-1.9.jar
-${PKGNAME}/plugins/gradle/lib/gradle-messaging-1.9.jar
-${PKGNAME}/plugins/gradle/lib/gradle-native-1.9.jar
-${PKGNAME}/plugins/gradle/lib/gradle-tooling-api-1.9.jar
-${PKGNAME}/plugins/gradle/lib/gradle-tooling-extension-v1.11.jar
-${PKGNAME}/plugins/gradle/lib/gradle-tooling-extension-v1.12.jar
-${PKGNAME}/plugins/gradle/lib/gradle-tooling-extension-v1.9.jar
-${PKGNAME}/plugins/gradle/lib/gradle-tooling-extension.jar
-${PKGNAME}/plugins/gradle/lib/gradle-wrapper-1.9.jar
-${PKGNAME}/plugins/gradle/lib/gradle.jar
-${PKGNAME}/plugins/gradle/lib/guava-jdk5-14.0.1.jar
-${PKGNAME}/plugins/gradle/lib/jna-3.2.7.jar
-${PKGNAME}/plugins/gradle/lib/jna-posix-1.0.3.jar
-${PKGNAME}/plugins/gradle/lib/jsr305-1.3.9.jar
-${PKGNAME}/plugins/gradle/lib/native-platform-0.3-rc-2.jar
-${PKGNAME}/plugins/gradle/lib/native-platform-linux-amd64-0.3-rc-2.jar
-${PKGNAME}/plugins/gradle/lib/native-platform-linux-i386-0.3-rc-2.jar
-${PKGNAME}/plugins/gradle/lib/native-platform-osx-universal-0.3-rc-2.jar
-${PKGNAME}/plugins/gradle/lib/native-platform-windows-amd64-0.3-rc-2.jar
-${PKGNAME}/plugins/gradle/lib/native-platform-windows-i386-0.3-rc-2.jar
-${PKGNAME}/plugins/gradle/lib/resources_en.jar
-${PKGNAME}/plugins/gradle/lib/slf4j-api-1.7.2.jar
-${PKGNAME}/plugins/gradle/lib/slf4j-simple-1.7.2.jar
-${PKGNAME}/plugins/hg4idea/lib/hg4idea.jar
-${PKGNAME}/plugins/hg4idea/lib/resources_en.jar
-${PKGNAME}/plugins/java-i18n/lib/java-i18n.jar
-${PKGNAME}/plugins/javaFX/embedder.jar
-${PKGNAME}/plugins/javaFX/lib/common-javaFX-plugin.jar
-${PKGNAME}/plugins/javaFX/lib/javaFX-jps-plugin.jar
-${PKGNAME}/plugins/javaFX/lib/javaFX.jar
-${PKGNAME}/plugins/javaFX/lib/resources_en.jar
-${PKGNAME}/plugins/junit/lib/idea-junit.jar
-${PKGNAME}/plugins/junit/lib/junit-rt.jar
-${PKGNAME}/plugins/junit/lib/resources_en.jar
-${PKGNAME}/plugins/maven/lib/artifact-resolver-m2.jar
-${PKGNAME}/plugins/maven/lib/artifact-resolver-m3.jar
-${PKGNAME}/plugins/maven/lib/artifact-resolver-m31.jar
-${PKGNAME}/plugins/maven/lib/lucene-core-2.4.1.jar
-${PKGNAME}/plugins/maven/lib/maven-jps-plugin.jar
-${PKGNAME}/plugins/maven/lib/maven-server-api.jar
-${PKGNAME}/plugins/maven/lib/maven.jar
-${PKGNAME}/plugins/maven/lib/maven2-server-impl.jar
-${PKGNAME}/plugins/maven/lib/maven2/activation-1.1.jar
-${PKGNAME}/plugins/maven/lib/maven2/archetype-common-2.0-alpha-4-SNAPSHOT.jar
-${PKGNAME}/plugins/maven/lib/maven2/classworlds-1.1.jar
-${PKGNAME}/plugins/maven/lib/maven2/commons-beanutils.jar
-${PKGNAME}/plugins/maven/lib/maven2/jaxb-api.jar
-${PKGNAME}/plugins/maven/lib/maven2/jaxb-impl.jar
-${PKGNAME}/plugins/maven/lib/maven2/maven-2.2.1-uber.jar
-${PKGNAME}/plugins/maven/lib/maven2/maven-dependency-tree-1.2.jar
-${PKGNAME}/plugins/maven/lib/maven2/mercury-artifact-1.0-alpha-6.jar
-${PKGNAME}/plugins/maven/lib/maven2/nexus-indexer-1.2.3.jar
-${PKGNAME}/plugins/maven/lib/maven2/plexus-utils-1.5.5.jar
-${PKGNAME}/plugins/maven/lib/maven3-server-impl.jar
-${PKGNAME}/plugins/maven/lib/maven3/aether-api-1.13.1.jar
-${PKGNAME}/plugins/maven/lib/maven3/aether-connector-wagon-1.13.1.jar
-${PKGNAME}/plugins/maven/lib/maven3/aether-impl-1.13.1.jar
-${PKGNAME}/plugins/maven/lib/maven3/aether-spi-1.13.1.jar
-${PKGNAME}/plugins/maven/lib/maven3/aether-util-1.13.1.jar
-${PKGNAME}/plugins/maven/lib/maven3/archetype-catalog-2.2.jar
-${PKGNAME}/plugins/maven/lib/maven3/archetype-common-2.2.jar
-${PKGNAME}/plugins/maven/lib/maven3/commons-cli-1.2.jar
-${PKGNAME}/plugins/maven/lib/maven3/maven-aether-provider-3.0.5.jar
-${PKGNAME}/plugins/maven/lib/maven3/maven-artifact-3.0.5.jar
-${PKGNAME}/plugins/maven/lib/maven3/maven-compat-3.0.5.jar
-${PKGNAME}/plugins/maven/lib/maven3/maven-core-3.0.5.jar
-${PKGNAME}/plugins/maven/lib/maven3/maven-dependency-tree-1.2.jar
-${PKGNAME}/plugins/maven/lib/maven3/maven-embedder-3.0.5.jar
-${PKGNAME}/plugins/maven/lib/maven3/maven-model-3.0.5.jar
-${PKGNAME}/plugins/maven/lib/maven3/maven-model-builder-3.0.5.jar
-${PKGNAME}/plugins/maven/lib/maven3/maven-plugin-api-3.0.5.jar
-${PKGNAME}/plugins/maven/lib/maven3/maven-repository-metadata-3.0.5.jar
-${PKGNAME}/plugins/maven/lib/maven3/maven-settings-3.0.5.jar
-${PKGNAME}/plugins/maven/lib/maven3/maven-settings-builder-3.0.5.jar
-${PKGNAME}/plugins/maven/lib/maven3/nekohtml-1.9.6.2.jar
-${PKGNAME}/plugins/maven/lib/maven3/nexus-indexer-3.0.4.jar
-${PKGNAME}/plugins/maven/lib/maven3/nexus-indexer-artifact-1.0.1.jar
-${PKGNAME}/plugins/maven/lib/maven3/plexus-cipher-1.7.jar
-${PKGNAME}/plugins/maven/lib/maven3/plexus-classworlds-2.4.jar
-${PKGNAME}/plugins/maven/lib/maven3/plexus-component-annotations-1.5.5.jar
-${PKGNAME}/plugins/maven/lib/maven3/plexus-interpolation-1.14.jar
-${PKGNAME}/plugins/maven/lib/maven3/plexus-sec-dispatcher-1.3.jar
-${PKGNAME}/plugins/maven/lib/maven3/plexus-utils-2.0.6.jar
-${PKGNAME}/plugins/maven/lib/maven3/sisu-guava-0.9.9.jar
-${PKGNAME}/plugins/maven/lib/maven3/sisu-guice-3.1.0-no_aop.jar
-${PKGNAME}/plugins/maven/lib/maven3/sisu-inject-bean-2.3.0.jar
-${PKGNAME}/plugins/maven/lib/maven3/sisu-inject-plexus-2.3.0.jar
-${PKGNAME}/plugins/maven/lib/maven3/wagon-file-2.6.jar
-${PKGNAME}/plugins/maven/lib/maven3/wagon-http-2.6-shaded.jar
-${PKGNAME}/plugins/maven/lib/maven3/wagon-http-shared-2.6.jar
-${PKGNAME}/plugins/maven/lib/maven3/wagon-provider-api-2.6.jar
-${PKGNAME}/plugins/maven/lib/maven3/xercesMinimal-1.9.6.2.jar
-${PKGNAME}/plugins/maven/lib/resources_en.jar
-${PKGNAME}/plugins/maven/lib/wadl-core.jar
-${PKGNAME}/plugins/properties/lib/properties.jar
-${PKGNAME}/plugins/svn4idea/lib/ANTLR-LICENSE
-${PKGNAME}/plugins/svn4idea/lib/CHANGES.txt
-${PKGNAME}/plugins/svn4idea/lib/COPYING
-${PKGNAME}/plugins/svn4idea/lib/JAVAHL-LICENSE
-${PKGNAME}/plugins/svn4idea/lib/LICENSE-ANTLR.txt
-${PKGNAME}/plugins/svn4idea/lib/LICENSE-JAVAHL.txt
-${PKGNAME}/plugins/svn4idea/lib/LICENSE-JNA.txt
-${PKGNAME}/plugins/svn4idea/lib/LICENSE-SEQUENCE.txt
-${PKGNAME}/plugins/svn4idea/lib/LICENSE-SQLJET.txt
-${PKGNAME}/plugins/svn4idea/lib/LICENSE-TRILEAD.txt
-${PKGNAME}/plugins/svn4idea/lib/LICENSE.txt
-${PKGNAME}/plugins/svn4idea/lib/README.txt
-${PKGNAME}/plugins/svn4idea/lib/SEQUENCE-LICENSE
-${PKGNAME}/plugins/svn4idea/lib/SQLJET-LICENSE
-${PKGNAME}/plugins/svn4idea/lib/SQLJET-README.txt
-${PKGNAME}/plugins/svn4idea/lib/TRILEAD-LICENSE
-${PKGNAME}/plugins/svn4idea/lib/antlr.jar
-${PKGNAME}/plugins/svn4idea/lib/changelog.txt
-${PKGNAME}/plugins/svn4idea/lib/javahl.jar
-${PKGNAME}/plugins/svn4idea/lib/jsch.agentproxy.svnkit-trilead-ssh2.jar
-${PKGNAME}/plugins/svn4idea/lib/resources_en.jar
-${PKGNAME}/plugins/svn4idea/lib/sequence-library.jar
-${PKGNAME}/plugins/svn4idea/lib/sqljet.jar
-${PKGNAME}/plugins/svn4idea/lib/svn4idea.jar
-${PKGNAME}/plugins/svn4idea/lib/svnkit-javahl.jar
-${PKGNAME}/plugins/svn4idea/lib/svnkit-javahl16.zip
-${PKGNAME}/plugins/svn4idea/lib/svnkit.jar
-${PKGNAME}/plugins/svn4idea/lib/trilead.jar
-${PKGNAME}/plugins/tasks/lib/axis-1.4.jar
-${PKGNAME}/plugins/tasks/lib/axis-jaxrpc-1.4.jar
-${PKGNAME}/plugins/tasks/lib/axis-saaj-1.3.jar
-${PKGNAME}/plugins/tasks/lib/commons-discovery-0.4.jar
-${PKGNAME}/plugins/tasks/lib/jira.jar
-${PKGNAME}/plugins/tasks/lib/json-path-0.8.0.jar
-${PKGNAME}/plugins/tasks/lib/json-smart-1.1.1.jar
-${PKGNAME}/plugins/tasks/lib/tasks-api.jar
-${PKGNAME}/plugins/tasks/lib/tasks-core.jar
-${PKGNAME}/plugins/tasks/lib/tasks-java.jar
-${PKGNAME}/plugins/tasks/lib/wsdl4j-1.4.jar
-${PKGNAME}/plugins/terminal/lib/jediterm-pty-1.0.jar
-${PKGNAME}/plugins/terminal/lib/jediterm.in
-${PKGNAME}/plugins/terminal/lib/terminal.jar
-${PKGNAME}/plugins/testng/lib/resources_en.jar
-${PKGNAME}/plugins/testng/lib/testng-plugin.jar
-${PKGNAME}/plugins/testng/lib/testng.jar
-${PKGNAME}/plugins/uiDesigner/lib/jps/ui-designer-jps-plugin.jar
-${PKGNAME}/plugins/uiDesigner/lib/resources_en.jar
-${PKGNAME}/plugins/uiDesigner/lib/uiDesigner.jar
-${PKGNAME}/plugins/xpath/lib/resources_en.jar
-${PKGNAME}/plugins/xpath/lib/rt/xslt-rt.jar
-${PKGNAME}/plugins/xpath/lib/xpath.jar
-${PKGNAME}/plugins/xslt-debugger/lib/rmi-stubs.jar
-${PKGNAME}/plugins/xslt-debugger/lib/rt/saxon-conditions.html
-${PKGNAME}/plugins/xslt-debugger/lib/rt/saxon.jar
-${PKGNAME}/plugins/xslt-debugger/lib/rt/saxon9he.jar
-${PKGNAME}/plugins/xslt-debugger/lib/rt/serializer.jar
-${PKGNAME}/plugins/xslt-debugger/lib/rt/xalan.jar
-${PKGNAME}/plugins/xslt-debugger/lib/rt/xslt-debugger-engine-impl.jar
-${PKGNAME}/plugins/xslt-debugger/lib/xslt-debugger-engine.jar
-${PKGNAME}/plugins/xslt-debugger/lib/xslt-debugger.jar
diff --git a/devel/intellij-idea-ce/distinfo b/devel/intellij-idea-ce/distinfo
deleted file mode 100644
index 3bfba60e2e9..00000000000
--- a/devel/intellij-idea-ce/distinfo
+++ /dev/null
@@ -1,11 +0,0 @@
-$NetBSD: distinfo,v 1.3 2015/11/03 03:27:35 agc Exp $
-
-SHA1 (ideaIC-13.1.2-src.tar.bz2) = 3edfc33bf7c7e2ca42ea0ec8c7a0b538195fe156
-RMD160 (ideaIC-13.1.2-src.tar.bz2) = b0446f490ba1f45c571ec2e2a76c2c5cde8c90e1
-SHA512 (ideaIC-13.1.2-src.tar.bz2) = 5971ee985f21f2f0ef62a433470012fb846e4424c9c99f9428d1e451a8c1ba0965ed0486f59ebb201ea1c5dd6fdd8a123160efe230ba278cbcfdaf411ea14255
-Size (ideaIC-13.1.2-src.tar.bz2) = 277319551 bytes
-SHA1 (patch-native_fsNotifier_linux_config.h) = b160ee0800af3db3248899ad4a64f6e597486e40
-SHA1 (patch-native_fsNotifier_linux_fam-mntent.h) = 19448d45d957e764720456de718a21ca542f57d5
-SHA1 (patch-native_fsNotifier_linux_inotify.c) = b87f0d5406a19eb142d21d3eb60d1d0c1fdfdf44
-SHA1 (patch-native_fsNotifier_linux_main.c) = 1bd512b8c3b6b0178731ebb122cdea5df7c289be
-SHA1 (patch-native_fsNotifier_linux_mntent__compat.c) = 74a61e06e690311dd657c7d44634aa6053a03580
diff --git a/devel/intellij-idea-ce/patches/patch-native_fsNotifier_linux_config.h b/devel/intellij-idea-ce/patches/patch-native_fsNotifier_linux_config.h
deleted file mode 100644
index 86afdf0a3f8..00000000000
--- a/devel/intellij-idea-ce/patches/patch-native_fsNotifier_linux_config.h
+++ /dev/null
@@ -1,8 +0,0 @@
-$NetBSD: patch-native_fsNotifier_linux_config.h,v 1.1 2013/11/24 10:44:34 ryoon Exp $
-
-* Workaround for NetBSD. This should be fixed.
-
---- native/fsNotifier/linux/config.h.orig 2013-11-23 23:41:00.000000000 +0000
-+++ native/fsNotifier/linux/config.h
-@@ -0,0 +1 @@
-+#define HAVE_SYS_STATVFS_H 1
diff --git a/devel/intellij-idea-ce/patches/patch-native_fsNotifier_linux_fam-mntent.h b/devel/intellij-idea-ce/patches/patch-native_fsNotifier_linux_fam-mntent.h
deleted file mode 100644
index 4d88a893507..00000000000
--- a/devel/intellij-idea-ce/patches/patch-native_fsNotifier_linux_fam-mntent.h
+++ /dev/null
@@ -1,72 +0,0 @@
-$NetBSD: patch-native_fsNotifier_linux_fam-mntent.h,v 1.1 2013/11/24 10:44:34 ryoon Exp $
-
-* From sysutils/fam/patches/patch-ao with some modification
-
---- native/fsNotifier/linux/fam-mntent.h.orig 2013-11-23 23:41:08.000000000 +0000
-+++ native/fsNotifier/linux/fam-mntent.h
-@@ -0,0 +1,65 @@
-+/*
-+ * mntent
-+ * fam-mntent.h - compatability header for BSD
-+ *
-+ * Copyright (c) 2001 David Rufino <daverufino@btinternet.com>
-+ * All rights reserved.
-+ *
-+ * Redistribution and use in source and binary forms, with or without
-+ * modification, are permitted provided that the following conditions
-+ * are met:
-+ * 1. Redistributions of source code must retain the above copyright
-+ * notice, this list of conditions and the following disclaimer.
-+ * 2. Redistributions in binary form must reproduce the above copyright
-+ * notice, this list of conditions and the following disclaimer in the
-+ * documentation and/or other materials provided with the distribution.
-+ *
-+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
-+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-+ * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
-+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-+ * SUCH DAMAGE.
-+ */
-+
-+#if defined(HAVE_MNTENT_H)
-+#include <mntent.h>
-+#elif defined(HAVE_SYS_MNTTAB_H)
-+#include <stdio.h>
-+#include <unistd.h>
-+#include <sys/mntent.h>
-+#include <sys/mnttab.h>
-+#define MOUNTED MNTTAB
-+#else
-+#ifndef _MNTENT_H
-+#define _MNTENT_H
-+#include <stdio.h>
-+
-+#define MOUNTED "dummy"
-+
-+#define MNTTYPE_IGNORE "ignore"
-+#define MNTTYPE_NFS "nfs"
-+#define MNTTYPE_SWAP "swap"
-+#define _PATH_MOUNTED "/etc/fstab"
-+
-+struct mntent {
-+ char *mnt_fsname;
-+ char *mnt_dir;
-+ char *mnt_type;
-+ char *mnt_opts;
-+ int mnt_freq;
-+ int mnt_passno;
-+};
-+
-+#define setmntent(x,y) ((FILE *)0x1)
-+struct mntent *getmntent __P ((FILE *fp));
-+char *hasmntopt __P ((const struct mntent *mnt, const char *option));
-+#define endmntent(x) ((int)1)
-+
-+#endif /* _MNTENT_H */
-+#endif /* HAVE_MNTENT_H */
diff --git a/devel/intellij-idea-ce/patches/patch-native_fsNotifier_linux_inotify.c b/devel/intellij-idea-ce/patches/patch-native_fsNotifier_linux_inotify.c
deleted file mode 100644
index 31bdda0aa36..00000000000
--- a/devel/intellij-idea-ce/patches/patch-native_fsNotifier_linux_inotify.c
+++ /dev/null
@@ -1,32 +0,0 @@
-$NetBSD: patch-native_fsNotifier_linux_inotify.c,v 1.2 2014/04/24 16:19:40 ryoon Exp $
-
-* Non-Linux (*BSD?) support
-
---- native/fsNotifier/linux/inotify.c.orig 2013-11-21 22:26:48.000000000 +0000
-+++ native/fsNotifier/linux/inotify.c
-@@ -18,7 +18,11 @@
-
- #include <dirent.h>
- #include <errno.h>
-+#if defined(__linux__)
- #include <linux/limits.h>
-+#else
-+#include <limits.h>
-+#endif
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
-@@ -27,11 +31,13 @@
- #include <syslog.h>
- #include <unistd.h>
-
-+#if defined(__linux__)
- #ifdef __amd64__
- __asm__(".symver memcpy,memcpy@GLIBC_2.2.5");
- #else
- __asm__(".symver memcpy,memcpy@GLIBC_2.0");
- #endif
-+#endif
-
-
- #define WATCH_COUNT_NAME "/proc/sys/fs/inotify/max_user_watches"
diff --git a/devel/intellij-idea-ce/patches/patch-native_fsNotifier_linux_main.c b/devel/intellij-idea-ce/patches/patch-native_fsNotifier_linux_main.c
deleted file mode 100644
index ac6c7c519cf..00000000000
--- a/devel/intellij-idea-ce/patches/patch-native_fsNotifier_linux_main.c
+++ /dev/null
@@ -1,18 +0,0 @@
-$NetBSD: patch-native_fsNotifier_linux_main.c,v 1.1 2013/11/24 10:44:34 ryoon Exp $
-
-* Use mntent compat from sysutils/fam
-
---- native/fsNotifier/linux/main.c.orig 2013-11-23 23:41:25.000000000 +0000
-+++ native/fsNotifier/linux/main.c
-@@ -18,7 +18,11 @@
-
- #include <errno.h>
- #include <limits.h>
-+#if defined(__linux__)
- #include <mntent.h>
-+#else
-+#include "fam-mntent.h"
-+#endif
- #include <paths.h>
- #include <stdarg.h>
- #include <stdlib.h>
diff --git a/devel/intellij-idea-ce/patches/patch-native_fsNotifier_linux_mntent__compat.c b/devel/intellij-idea-ce/patches/patch-native_fsNotifier_linux_mntent__compat.c
deleted file mode 100644
index df9074efaa7..00000000000
--- a/devel/intellij-idea-ce/patches/patch-native_fsNotifier_linux_mntent__compat.c
+++ /dev/null
@@ -1,202 +0,0 @@
-$NetBSD: patch-native_fsNotifier_linux_mntent__compat.c,v 1.1 2013/11/24 10:44:34 ryoon Exp $
-
-* From pkgsrc/sysutils/fam/patches/patch-ap
-
---- native/fsNotifier/linux/mntent_compat.c.orig 2013-11-23 23:41:14.000000000 +0000
-+++ native/fsNotifier/linux/mntent_compat.c
-@@ -0,0 +1,195 @@
-+/*
-+ * Copyright (c) 1980, 1989, 1993, 1994
-+ * The Regents of the University of California. All rights reserved.
-+ * Copyright (c) 2001
-+ * David Rufino <daverufino@btinternet.com>
-+ *
-+ * Redistribution and use in source and binary forms, with or without
-+ * modification, are permitted provided that the following conditions
-+ * are met:
-+ * 1. Redistributions of source code must retain the above copyright
-+ * notice, this list of conditions and the following disclaimer.
-+ * 2. Redistributions in binary form must reproduce the above copyright
-+ * notice, this list of conditions and the following disclaimer in the
-+ * documentation and/or other materials provided with the distribution.
-+ * 3. All advertising materials mentioning features or use of this software
-+ * must display the following acknowledgement:
-+ * This product includes software developed by the University of
-+ * California, Berkeley and its contributors.
-+ * 4. Neither the name of the University nor the names of its contributors
-+ * may be used to endorse or promote products derived from this software
-+ * without specific prior written permission.
-+ *
-+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
-+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-+ * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
-+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-+ * SUCH DAMAGE.
-+ */
-+
-+/* most of this was ripped from the mount(3) source */
-+
-+#include "config.h"
-+#include "fam-mntent.h"
-+#if !defined(HAVE_MNTENT_H) && !defined(HAVE_SYS_MNTTAB_H)
-+#include <stdlib.h>
-+#include <string.h>
-+#include <sys/param.h>
-+#include <sys/ucred.h>
-+#include <sys/mount.h>
-+#if defined(HAVE_SYS_STATVFS_H) && !defined(__APPLE__) && !defined(__DragonFly__) && !defined(__FreeBSD__) && !defined(__OpenBSD__)
-+# include <sys/statvfs.h>
-+#endif
-+
-+static int pos = -1;
-+static int mntsize = -1;
-+static struct mntent _mntent;
-+
-+char *
-+hasmntopt (const struct mntent *mnt, const char *option)
-+{
-+ int found;
-+ char *opt, *optbuf;
-+
-+ optbuf = strdup(mnt->mnt_opts);
-+ found = 0;
-+ for (opt = optbuf; (opt = strtok(opt, " ")) != NULL; opt = NULL) {
-+ if (!strcasecmp(opt, option)) {
-+ opt = opt - optbuf + mnt->mnt_opts;
-+ free (optbuf);
-+ return (opt);
-+ }
-+ }
-+ free (optbuf);
-+ return (NULL);
-+}
-+
-+static char *
-+catopt (char *s0, const char *s1)
-+{
-+ size_t i;
-+ char *cp;
-+
-+ if (s1 == NULL || *s1 == '\0')
-+ return s0;
-+ if (s0 && *s0) {
-+ i = strlen(s0) + strlen(s1) + 1 + 1;
-+ if ((cp = (char *)malloc(i)) == NULL)
-+ return (NULL);
-+ (void)snprintf(cp, i, "%s %s", s0, s1);
-+ } else
-+ cp = strdup(s1);
-+
-+ if (s0)
-+ free(s0);
-+ return (cp);
-+}
-+
-+
-+static char *
-+flags2opts (int flags)
-+{
-+ char *res;
-+ res = NULL;
-+ res = catopt(res, (flags & MNT_RDONLY) ? "ro" : "rw");
-+ if (flags & MNT_SYNCHRONOUS) res = catopt(res, "sync");
-+ if (flags & MNT_NOEXEC) res = catopt(res, "noexec");
-+ if (flags & MNT_NOSUID) res = catopt(res, "nosuid");
-+#ifdef MNT_NODEV
-+ if (flags & MNT_NODEV) res = catopt(res, "nodev");
-+#endif
-+#ifdef MNT_UNION
-+ if (flags & MNT_UNION) res = catopt(res, "union");
-+#endif
-+ if (flags & MNT_ASYNC) res = catopt(res, "async");
-+#ifdef MNT_NOATIME
-+ if (flags & MNT_NOATIME) res = catopt(res, "noatime");
-+#endif
-+#ifdef MNT_NOCLUSTERR
-+ if (flags & MNT_NOCLUSTERR) res = catopt(res, "noclusterr");
-+#endif
-+#ifdef MNT_NOCLUSTERW
-+ if (flags & MNT_NOCLUSTERW) res = catopt(res, "noclusterw");
-+#endif
-+#ifdef MNT_NOSYMFOLLOW
-+ if (flags & MNT_NOSYMFOLLOW) res = catopt(res, "nosymfollow");
-+#endif
-+#ifdef MNT_SUIDDIR
-+ if (flags & MNT_SUIDDIR) res = catopt(res, "suiddir");
-+#endif
-+#ifdef MNT_NOCOREDUMP
-+ if (flags & MNT_NOCOREDUMP) res = catopt(res, "nocoredump");
-+#endif
-+#ifdef MNT_IGNORE
-+ if (flags & MNT_IGNORE) res = catopt(res, "hidden");
-+#endif
-+#ifdef MNT_SYMPERM
-+ if (flags & MNT_SYMPERM) res = catopt(res, "symperm");
-+#endif
-+#ifdef MNT_NODEVMTIME
-+ if (flags & MNT_NODEVMTIME) res = catopt(res, "nodevmtime");
-+#endif
-+#ifdef MNT_SOFTDEP
-+ if (flags & MNT_SOFTDEP) res = catopt(res, "softdep");
-+#endif
-+
-+ return res;
-+}
-+
-+static struct mntent *
-+#if defined(HAVE_SYS_STATVFS_H) && !defined(__APPLE__) && !defined(__DragonFly__) && !defined(__FreeBSD__) && !defined(__OpenBSD__)
-+statfs_to_mntent (struct statvfs *mntbuf)
-+#else
-+statfs_to_mntent (struct statfs *mntbuf)
-+#endif
-+{
-+ static char opts_buf[40], *tmp;
-+
-+ _mntent.mnt_fsname = mntbuf->f_mntfromname;
-+ _mntent.mnt_dir = mntbuf->f_mntonname;
-+ _mntent.mnt_type = mntbuf->f_fstypename;
-+#if defined(HAVE_SYS_STATVFS_H) && !defined(__APPLE__) && !defined(__DragonFly__) && !defined(__FreeBSD__) && !defined(__OpenBSD__)
-+ tmp = flags2opts (mntbuf->f_flag);
-+#else
-+ tmp = flags2opts (mntbuf->f_flags);
-+#endif
-+ if (tmp) {
-+ opts_buf[sizeof(opts_buf)-1] = '\0';
-+ strncpy (opts_buf, tmp, sizeof(opts_buf)-1);
-+ free (tmp);
-+ } else {
-+ *opts_buf = '\0';
-+ }
-+ _mntent.mnt_opts = opts_buf;
-+ _mntent.mnt_freq = _mntent.mnt_passno = 0;
-+ return (&_mntent);
-+}
-+
-+struct mntent *
-+getmntent (FILE *fp)
-+{
-+#if defined(HAVE_SYS_STATVFS_H) && !defined(__APPLE__) && !defined(__DragonFly__) && !defined(__FreeBSD__) && !defined(__OpenBSD__)
-+ static struct statvfs *mntbuf;
-+#else
-+ static struct statfs *mntbuf;
-+#endif
-+
-+ if (pos == -1 || mntsize == -1)
-+ mntsize = getmntinfo (&mntbuf, MNT_NOWAIT);
-+
-+ ++pos;
-+ if (pos == mntsize) {
-+ pos = mntsize = -1;
-+ return (NULL);
-+ }
-+
-+ return (statfs_to_mntent (&mntbuf[pos]));
-+}
-+
-+#endif /* HAVE_MNTENT_H */