[arch-commits] Commit in ca-certificates-java/repos/extra-any (8 files)
Pierre Schmitz
pierre at nymeria.archlinux.org
Fri Aug 23 18:42:47 UTC 2013
Date: Friday, August 23, 2013 @ 20:42:47
Author: pierre
Revision: 193561
archrelease: copy trunk to extra-any
Added:
ca-certificates-java/repos/extra-any/PKGBUILD
(from rev 193560, ca-certificates-java/trunk/PKGBUILD)
ca-certificates-java/repos/extra-any/ca-certificates-java.install
(from rev 193560, ca-certificates-java/trunk/ca-certificates-java.install)
ca-certificates-java/repos/extra-any/init-jks-keystore
(from rev 193560, ca-certificates-java/trunk/init-jks-keystore)
ca-certificates-java/repos/extra-any/jks-keystore.hook
(from rev 193560, ca-certificates-java/trunk/jks-keystore.hook)
Deleted:
ca-certificates-java/repos/extra-any/PKGBUILD
ca-certificates-java/repos/extra-any/ca-certificates-java.install
ca-certificates-java/repos/extra-any/init-jks-keystore
ca-certificates-java/repos/extra-any/jks-keystore.hook
------------------------------+
PKGBUILD | 92 ++++++++++++++++++++---------------------
ca-certificates-java.install | 36 ++++++++--------
init-jks-keystore | 20 ++++----
jks-keystore.hook | 30 ++++++-------
4 files changed, 89 insertions(+), 89 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2013-08-23 18:42:40 UTC (rev 193560)
+++ PKGBUILD 2013-08-23 18:42:47 UTC (rev 193561)
@@ -1,46 +0,0 @@
-# $Id$
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-
-pkgname=ca-certificates-java
-pkgver=20121112+nmu2
-pkgrel=2
-pkgdesc='Common CA certificates (JKS keystore)'
-arch=('any')
-url='http://packages.qa.debian.org/c/ca-certificates-java.html'
-license=('GPL')
-depends=('ca-certificates')
-makedepends=('jdk7-openjdk')
-checkdepends=('junit')
-install='ca-certificates-java.install'
-backup=('etc/default/cacerts')
-source=("http://ftp.debian.org/debian/pool/main/c/${pkgname}/${pkgname}_${pkgver}.tar.gz"
- 'init-jks-keystore' 'jks-keystore.hook')
-md5sums=('9562403f0cc9300d29af5b8baa9ddeab'
- '75eeca3f443f4b5a17ed5ac81875f1e9'
- '6dd4f915aee0df51260083e00b7fa012')
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- javac -target 1.6 -source 1.6 UpdateCertificates.java
- jar cfe ca-certificates-java.jar UpdateCertificates *.class
-}
-
-check() {
- cd ${srcdir}/${pkgname}-${pkgver}
-
- javac -cp /usr/share/java/junit.jar:/usr/share/ca-certificates-java/ca-certificates-java.jar \
- UpdateCertificatesTest.java Exceptions.java
- java -cp /usr/share/java/junit.jar:/usr/share/ca-certificates-java/ca-certificates-java.jar:. \
- org.junit.runner.JUnitCore \
- UpdateCertificatesTest
-}
-
-package() {
- cd ${srcdir}/${pkgname}-${pkgver}
-
- install -d -m755 ${pkgdir}/etc/ssl/certs/java
- install -D -m600 debian/default ${pkgdir}/etc/default/cacerts
- install -D -m644 ca-certificates-java.jar ${pkgdir}/usr/share/ca-certificates-java/ca-certificates-java.jar
- install -D -m755 ${srcdir}/init-jks-keystore ${pkgdir}/usr/bin/init-jks-keystore
- install -D -m755 ${srcdir}/jks-keystore.hook ${pkgdir}/etc/ca-certificates/update.d/jks-keystore
-}
Copied: ca-certificates-java/repos/extra-any/PKGBUILD (from rev 193560, ca-certificates-java/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2013-08-23 18:42:47 UTC (rev 193561)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=ca-certificates-java
+pkgver=20130815
+pkgrel=1
+pkgdesc='Common CA certificates (JKS keystore)'
+arch=('any')
+url='http://packages.qa.debian.org/c/ca-certificates-java.html'
+license=('GPL')
+depends=('ca-certificates')
+makedepends=('jdk7-openjdk')
+checkdepends=('junit')
+install='ca-certificates-java.install'
+backup=('etc/default/cacerts')
+source=("http://ftp.debian.org/debian/pool/main/c/${pkgname}/${pkgname}_${pkgver}.tar.gz"
+ 'init-jks-keystore' 'jks-keystore.hook')
+md5sums=('f93e4762800515d6f12ceb397e80a150'
+ '75eeca3f443f4b5a17ed5ac81875f1e9'
+ '6dd4f915aee0df51260083e00b7fa012')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ javac -target 1.6 -source 1.6 UpdateCertificates.java
+ jar cfe ca-certificates-java.jar UpdateCertificates *.class
+}
+
+check() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ javac -cp /usr/share/java/junit.jar:/usr/share/ca-certificates-java/ca-certificates-java.jar \
+ UpdateCertificatesTest.java Exceptions.java
+ java -cp /usr/share/java/junit.jar:/usr/share/ca-certificates-java/ca-certificates-java.jar:. \
+ org.junit.runner.JUnitCore \
+ UpdateCertificatesTest
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ install -d -m755 ${pkgdir}/etc/ssl/certs/java
+ install -D -m600 debian/default ${pkgdir}/etc/default/cacerts
+ install -D -m644 ca-certificates-java.jar ${pkgdir}/usr/share/ca-certificates-java/ca-certificates-java.jar
+ install -D -m755 ${srcdir}/init-jks-keystore ${pkgdir}/usr/bin/init-jks-keystore
+ install -D -m755 ${srcdir}/jks-keystore.hook ${pkgdir}/etc/ca-certificates/update.d/jks-keystore
+}
Deleted: ca-certificates-java.install
===================================================================
--- ca-certificates-java.install 2013-08-23 18:42:40 UTC (rev 193560)
+++ ca-certificates-java.install 2013-08-23 18:42:47 UTC (rev 193561)
@@ -1,18 +0,0 @@
-post_install() {
- if [ ! -f etc/ssl/certs/java/cacerts ]; then
- if which java >/dev/null 2>&1; then
- usr/bin/init-jks-keystore
- fi
- fi
-}
-
-post_upgrade() {
- if [ $(vercmp $2 20110426-2) -lt 0 ]; then
- mv etc/ssl/certs/java/cacerts etc/ssl/certs/java/cacerts.pacsave
- fi
- post_install
-}
-
-post_remove() {
- rm -rf etc/ssl/certs/java
-}
Copied: ca-certificates-java/repos/extra-any/ca-certificates-java.install (from rev 193560, ca-certificates-java/trunk/ca-certificates-java.install)
===================================================================
--- ca-certificates-java.install (rev 0)
+++ ca-certificates-java.install 2013-08-23 18:42:47 UTC (rev 193561)
@@ -0,0 +1,18 @@
+post_install() {
+ if [ ! -f etc/ssl/certs/java/cacerts ]; then
+ if which java >/dev/null 2>&1; then
+ usr/bin/init-jks-keystore
+ fi
+ fi
+}
+
+post_upgrade() {
+ if [ $(vercmp $2 20110426-2) -lt 0 ]; then
+ mv etc/ssl/certs/java/cacerts etc/ssl/certs/java/cacerts.pacsave
+ fi
+ post_install
+}
+
+post_remove() {
+ rm -rf etc/ssl/certs/java
+}
Deleted: init-jks-keystore
===================================================================
--- init-jks-keystore 2013-08-23 18:42:40 UTC (rev 193560)
+++ init-jks-keystore 2013-08-23 18:42:47 UTC (rev 193561)
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-storepass='changeit'
-. /etc/default/cacerts
-
-JAR=/usr/share/ca-certificates-java/ca-certificates-java.jar
-
-find /etc/ssl/certs -name '*.pem' -printf "+%p\n" | \
- java -jar $JAR -storepass "$storepass" >/dev/null
-echo "done."
Copied: ca-certificates-java/repos/extra-any/init-jks-keystore (from rev 193560, ca-certificates-java/trunk/init-jks-keystore)
===================================================================
--- init-jks-keystore (rev 0)
+++ init-jks-keystore 2013-08-23 18:42:47 UTC (rev 193561)
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+storepass='changeit'
+. /etc/default/cacerts
+
+JAR=/usr/share/ca-certificates-java/ca-certificates-java.jar
+
+find /etc/ssl/certs -name '*.pem' -printf "+%p\n" | \
+ java -jar $JAR -storepass "$storepass" >/dev/null
+echo "done."
Deleted: jks-keystore.hook
===================================================================
--- jks-keystore.hook 2013-08-23 18:42:40 UTC (rev 193560)
+++ jks-keystore.hook 2013-08-23 18:42:47 UTC (rev 193561)
@@ -1,15 +0,0 @@
-#! /bin/sh
-
-storepass='changeit'
-. /etc/default/cacerts
-
-echo ""
-if [ "$cacerts_updates" != yes ] || [ "$CACERT_UPDATES" = disabled ]; then
- echo "updates of cacerts keystore disabled."
- exit 0
-fi
-
-JAR=/usr/share/ca-certificates-java/ca-certificates-java.jar
-
-java -jar $JAR -storepass "$storepass"
-echo "done."
Copied: ca-certificates-java/repos/extra-any/jks-keystore.hook (from rev 193560, ca-certificates-java/trunk/jks-keystore.hook)
===================================================================
--- jks-keystore.hook (rev 0)
+++ jks-keystore.hook 2013-08-23 18:42:47 UTC (rev 193561)
@@ -0,0 +1,15 @@
+#! /bin/sh
+
+storepass='changeit'
+. /etc/default/cacerts
+
+echo ""
+if [ "$cacerts_updates" != yes ] || [ "$CACERT_UPDATES" = disabled ]; then
+ echo "updates of cacerts keystore disabled."
+ exit 0
+fi
+
+JAR=/usr/share/ca-certificates-java/ca-certificates-java.jar
+
+java -jar $JAR -storepass "$storepass"
+echo "done."
More information about the arch-commits
mailing list