Date: Monday, June 27, 2011 @ 05:18:56 Author: guillaume Revision: 129395
upgpkg: itext 5.1.1-1 Upstream release and changed license Added: itext/trunk/LICENSE Modified: itext/trunk/PKGBUILD ----------+ LICENSE | 17 +++++++++++++++++ PKGBUILD | 24 ++++++++++++++++-------- 2 files changed, 33 insertions(+), 8 deletions(-) Added: LICENSE =================================================================== --- LICENSE (rev 0) +++ LICENSE 2011-06-27 09:18:56 UTC (rev 129395) @@ -0,0 +1,17 @@ +Licensing + + Although iText is a free/open source software (F/OSS) project, giving you a lot of freedom and flexibility regarding the use of the iText software, this doesn’t mean you're free to do anything you want with the product: you have to respect the Affero General Public License. + You can be released from the requirements of the license by purchasing a commercial license from iText Software Corp. + Buying such a license is mandatory as soon as you develop commercial activities involving the iText software without disclosing the source code of your own applications. These activities include: offering paid services to customers as an ASP, serving PDFs on the fly in a web application, shipping iText with a closed source product. + + +Why buy a license? + + An iText commercial license provides advantages not available with the open-source AGPL license. The specific benefits of a commercial license include: + - Indemnification in the event of IP (intellectual property) or patent infringement + - Release from the requirements of the copyleft AGPL license, which include: + . distribution of all source code including your own product, including if it is a web-based application + . licensing of your own product under the AGPL license + . prominent mention and inclusion of the iText copyright and the AGPL license + . disclosure of modifications + - Release from the requirement to not change the PDF Producer line in the generated PDF properties Modified: PKGBUILD =================================================================== --- PKGBUILD 2011-06-27 06:38:36 UTC (rev 129394) +++ PKGBUILD 2011-06-27 09:18:56 UTC (rev 129395) @@ -1,19 +1,27 @@ # $Id$ -# Maintainer: Juergen Hoetzel <[email protected]> - +# Maintainer: Guillaume ALAUX <[email protected]> pkgname=itext -pkgver=5.0.4 +pkgver=5.1.1 pkgrel=1 pkgdesc="Java Library for creating and manipulating PDFs on the fly" arch=('any') url="http://itext.sourceforge.net" -license=('MPL' 'LGPL') +license=('AGPL' 'custom') depends=('java-runtime') -source=(http://downloads.sourceforge.net/sourceforge/$pkgname/iText-${pkgver}.jar) -md5sums=('7d586ac05be69afa8f1e839eb0e0d648') +source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.zip + LICENSE) +md5sums=('a143695b056cd946669cdef79913da98' + 'd75eb163e30d6fd9446f20f80e270951') -build() { +package() { cd ${srcdir} - install -D -m644 iText-${pkgver}.jar "${pkgdir}/usr/share/java/${pkgname}/${pkgname}.jar" || return 1 + install -d "${pkgdir}/usr/share/java/${pkgname}" + install -m644 ./*.jar "${pkgdir}/usr/share/java/${pkgname}" + + for j in itextpdf itext-xtra; do + ln -s /usr/share/java/${pkgname}/${j}-${pkgver}.jar ${pkgdir}/usr/share/java/${j}.jar + done + + install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE }
