debian/0000755000000000000000000000000012141563304007165 5ustar debian/libjnr-posix-java-doc.README.Debian0000644000000000000000000000102112141563304015321 0ustar Debian package of the JNR-POSIX library documentation ----------------------------------------------------- This package contains the documentation for the JNR-POSIX Java library which provides access to various POSIX functions like chmod(2), link(2) or getuid(2) through dynamic loading of native libraries with JNA. API documentation (javadoc) is available in directory /usr/share/doc/libjnr-posix-java-doc/javadoc . The library itself is provided by the libjnr-posix-java package. -- Nicolas Duboc debian/rules0000755000000000000000000000256512141563304010255 0ustar #!/usr/bin/make -f # FIXME: support of DEB_BUILD_OPTIONS nocheck and nostrip JAVA_DIR = usr/share/java DOC_DIR = usr/share/doc/libjnr-posix-java-doc PKG_BUILDDIR = debian/libjnr-posix-java PKG_DOC_BUILDDIR = debian/libjnr-posix-java-doc M2_HOME = /usr/share/maven2/ MVN = $(M2_HOME)/bin/mvn -o -s /etc/maven2/settings-debian.xml build-indep: build-stamp build-stamp: dh_testdir $(MVN) verify $(MVN) javadoc:javadoc # Generate OSGi metadata bnd wrap -properties debian/jnr-posix.bnd -output target/jnr-posix-*.jar target/jnr-posix-*.jar touch build-stamp build-arch: build: build-arch build-indep clean: dh_testdir dh_testroot rm -f build-stamp $(MVN) clean mh_clean dh_clean install: build dh_testdir dh_testroot dh_prep dh_installdirs -p libjnr-posix-java $(JAVA_DIR) mh_installjar -plibjnr-posix-java --java-lib --usj-name=jnr-posix pom.xml target/jnr-posix-1.1.8.jar mh_installpom -plibjnr-posix-java pom.xml dh_installdirs -p libjnr-posix-java-doc $(DOC_DIR) mv target/site/apidocs $(PKG_DOC_BUILDDIR)/$(DOC_DIR)/javadoc binary-indep: build install dh_testdir dh_testroot dh_installchangelogs --indep dh_installdocs --indep dh_compress --indep dh_fixperms --indep dh_installdeb --indep dh_gencontrol --indep dh_md5sums --indep dh_builddeb --indep binary-arch: binary: binary-indep binary-arch .PHONY: build install clean binary-indep binary debian/changelog0000644000000000000000000000276512141563304011051 0ustar libjnr-posix-java (1.1.8-2) unstable; urgency=low [ Jakub Adam ] * Add OSGi metadata into jar manifest. * Add Jakub Adam to Uploaders. * Bump Standards-Version to 3.9.4. * Fixed debian-rules-missing-recommended-target lintian warnings. [ Damien Raude-Morvan ] * Upload to unstable. -- Damien Raude-Morvan Mon, 06 May 2013 00:45:00 +0200 libjnr-posix-java (1.1.8-1) experimental; urgency=low * Transfert maintainance to pkg-java team. - Add myself as Uploaders. - Thanks to Nicolas Duboc for his work! * d/control: Use versionned B-D on libjaffl-java (>= 0.5.9), otherwise FTBFS. * d/control: As per Java Policy, drop runtime dependency as its a library package. * d/rules: Force usage of offline Maven 2. * d/patches/pom.diff: remove invalid dependencies from pom.xml. * Switch to 3.0 source format. * d/control: Bump Standards-Version to 3.9.3, no changes needed. -- Damien Raude-Morvan Sun, 19 Aug 2012 01:49:58 +0200 libjnr-posix-java (1.1.4~git1.8aa26268b-1) unstable; urgency=low * This package is a fork of the Debian libjna-posix-java package for renaming purpose. * Packaging upstream git commit (8aa26268b), tentative version 1.1.4. * Provides maven artifacts in Debian local repository (closes: #620044) * Binary package depends on the headless version of the Java runtime. * Bumped Debian policy compliance to 3.9.2 (nothing to do) -- Nicolas Duboc Sat, 28 May 2011 18:20:50 +0200 debian/compat0000644000000000000000000000000212141563304010363 0ustar 7 debian/jnr-posix.bnd0000644000000000000000000000027012141563304011602 0ustar Bundle-Name: basic POSIX-like functions for Java Bundle-SymbolicName: org.jruby.ext.posix Bundle-Version: 1.0.0 Bundle-Vendor: Debian.org Import-Package: * Eclipse-BuddyPolicy: global debian/libjnr-posix-java.README.Debian0000644000000000000000000000200112141563304014555 0ustar Debian package of the JNR-POSIX library --------------------------------------- This package contains the JNR-POSIX Java library which provides access to various POSIX functions like chmod(2), link(2) or getuid(2) through dynamic loading of native libraries with JNA. The library is composed of only one jar file. This jar file depends on the Constantine library, provided by the libconstantine-java package, and the jaffl library provided by the libjaffl-java package. Developers should then include the following paths in the CLASSPATH, in addition to the dependencies of constantine and jaffl: /usr/share/java/constantine.jar:/usr/share/java/jaffl.jar:/usr/share/java/jnr-posix.jar This jar file is also installed in the local Maven Debian repository in /usr/share/maven-repo. The artifact ID is org.jruby.ext.posix:jnr-posix:debian. API documentation (javadoc) is provided by package libjnr-posix-java-doc in directory /usr/share/doc/libjnr-posix-java-doc/javadoc . -- Nicolas Duboc debian/source/0000755000000000000000000000000012141563304010465 5ustar debian/source/format0000644000000000000000000000001412141563304011673 0ustar 3.0 (quilt) debian/FIXME0000644000000000000000000000024012141563304007754 0ustar renammage de jna en jnr ? lib java pawuets binaires ? plus besoin de dependence sur java runtime ? Nouveau check lintian, voir sur libconstantine-java debian/patches/0000755000000000000000000000000012141563304010614 5ustar debian/patches/pom.diff0000644000000000000000000000306212141563304012242 0ustar Description: remove invalid dependencies and fix Javadoc to use UTF8 Author: Damien Raude-Morvan Forwarded: not-needed Last-Update: 2012-08-29 --- a/pom.xml +++ b/pom.xml @@ -89,32 +89,24 @@ junit junit - 4.7 + 4.x test org.jruby.extras jaffl - 0.5.9 - provided + debian org.jruby.extras constantine - 0.7 - provided + debian src test - - - org.apache.maven.wagon - wagon-webdav - - maven-compiler-plugin @@ -131,6 +123,13 @@ + + org.apache.maven.plugins + maven-javadoc-plugin + + UTF-8 + + debian/patches/series0000644000000000000000000000001112141563304012021 0ustar pom.diff debian/control0000644000000000000000000000351712141563304010576 0ustar Source: libjnr-posix-java Section: java Priority: optional Maintainer: Debian Java Maintainers Uploaders: Damien Raude-Morvan , Jakub Adam Build-Depends: debhelper (>> 7.0.0), libmaven-clean-plugin-java, maven-debian-helper, maven2 Build-Depends-Indep: bnd, default-jdk, libconstantine-java (>= 0.7-3), libjaffl-java (>= 0.5.9), libmaven-compiler-plugin-java, libmaven-jar-plugin-java, libmaven-javadoc-plugin-java, libmaven-resources-plugin-java, libmaven-site-plugin-java, libsurefire-java, maven-repo-helper Standards-Version: 3.9.4 Homepage: https://github.com/wmeissner/jnr-posix Vcs-Git: git://anonscm.debian.org/pkg-java/libjnr-posix-java.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-java/libjnr-posix-java.git Package: libjnr-posix-java Architecture: all Depends: libconstantine-java (>= 0.7-3), libjaffl-java (>= 0.5.9), ${misc:Depends} Description: basic POSIX-like functions for Java This package is a Java library providing access to various POSIX functions like chmod(2), link(2) or getuid(2) through dynamic loading of native libraries with JNA. Package: libjnr-posix-java-doc Architecture: all Section: doc Depends: ${misc:Depends} Recommends: w3m | www-browser Suggests: libjnr-posix-java Description: Java JNR-POSIX library API documentation This package includes the development documentation for the JNR-POSIX library which provides access to various POSIX functions like chmod(2), link(2) or getuid(2) through dynamic loading of native libraries with JNA. debian/copyright0000644000000000000000000003324512141563304011127 0ustar This package was initially debianized by Nicolas Duboc on Sun, Nov 22nd 2009. This version was downloaded from the git repository at https://github.com/wmeissner/jnr-posix.git commit 8aa26268b5. The upstream tarball was generated from a cloned git repo with the following command: git archive --prefix=jnr-posix-1.1.4/ 8aa26268b5 | tar --delete jnr-posix-1.1.4/lib/junit-4.4.jar | gzip -9 > /tmp/libjnr-posix-java_1.1.4.orig.tar.gz Debian packaging (files in debian/ directory): Copyright @ 2009, 2011 Nicolas Duboc MTT-like licence reproduced below. Original package: Copyright (C) 2008 JRuby Community Copyright (C) 2007 Thomas E Enebo Copyright (C) 2007 Charles O Nutter Copyright (C) 2008 Google Inc. All Rights Reserved. jna-posix is released under a tri CPL/GPL/LGPL license. You can use it, redistribute it and/or modify it under the terms of the license of your choice. On Debian GNU/Linux systems, the complete text of the GNU General Public License 2.0 can be found in `/usr/share/common-licenses/GPL-2'. The text of the GNU Lesser General Public License 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'. === Common Public License - v 1.0 THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. 1. DEFINITIONS "Contribution" means: a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and b) in the case of each subsequent Contributor: i) changes to the Program, and ii) additions to the Program; where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program. "Contributor" means any person or entity that distributes the Program. "Licensed Patents " mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program. "Program" means the Contributions distributed in accordance with this Agreement. "Recipient" means anyone who receives the Program under this Agreement, including all Contributors. 2. GRANT OF RIGHTS a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form. b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder. c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program. d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement. 3. REQUIREMENTS A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that: a) it complies with the terms and conditions of this Agreement; and b) its license agreement: i) effectively disclaims on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose; ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits; iii) states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange. When the Program is made available in source code form: a) it must be made available under this Agreement; and b) a copy of this Agreement must be included with each copy of the Program. Contributors may not remove or alter any copyright notices contained within the Program. Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution. 4. COMMERCIAL DISTRIBUTION Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense. For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages. 5. NO WARRANTY EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible for determining the appropriateness of using and distributing the Program and assumes all risks associated with its exercise of rights under this Agreement, including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, programs or equipment, and unavailability or interruption of operations. 6. DISCLAIMER OF LIABILITY EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), 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 OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 7. GENERAL If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable. If Recipient institutes patent litigation against a Contributor with respect to a patent applicable to software (including a cross-claim or counterclaim in a lawsuit), then any patent licenses granted by that Contributor to such Recipient under this Agreement shall terminate as of the date such litigation is filed. In addition, if Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed. All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive. Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the right to modify this Agreement. IBM is the initial Agreement Steward. IBM may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new version. Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or otherwise. All rights in the Program not expressly granted under this Agreement are reserved. This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation. === License for the Debian packaging (debian/* files in the Debian source package): Copyright (C) 2009, 2011 Nicolas Duboc Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.