[arch-commits] Commit in ca-certificates/trunk (PKGBUILD no-hooks.patch)

Pierre Schmitz pierre at archlinux.org
Mon Jun 2 07:40:00 UTC 2008


    Date: Monday, June 2, 2008 @ 03:40:00
  Author: pierre
Revision: 2451

upgpkg: ca-certificates 20080514-2
    added man page; added run-parts dependency to make hooks usable

Modified:
  ca-certificates/trunk/PKGBUILD
Deleted:
  ca-certificates/trunk/no-hooks.patch

----------------+
 PKGBUILD       |   16 ++++++----------
 no-hooks.patch |   18 ------------------
 2 files changed, 6 insertions(+), 28 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-06-02 07:38:13 UTC (rev 2450)
+++ PKGBUILD	2008-06-02 07:40:00 UTC (rev 2451)
@@ -8,22 +8,18 @@
 arch=('i686' 'x86_64')
 url='http://www.debian.org'
 license=('MPL' 'GPL')
-source=("http://ftp.debian.org/debian/pool/main/c/${pkgname}/${pkgname}_${pkgver}.tar.gz" 'no-hooks.patch')
-depends=('openssl')
+source=("http://ftp.debian.org/debian/pool/main/c/${pkgname}/${pkgname}_${pkgver}.tar.gz")
+depends=('openssl' 'run-parts')
 makedepends=('ruby')
 install=ca-certificates.install
 backup=('etc/ca-certificates.conf')
-md5sums=('25ca8aba089ffeb6d5051eee0027b427'
-         '1eff5b1fabbe60144846be6772b95aa6')
+md5sums=('25ca8aba089ffeb6d5051eee0027b427')
 
 build() {
 	cd $srcdir/$pkgname
 
-	# remove hooks support (uses run-parts which is debian specific)
-	patch -p0 -i $srcdir/no-hooks.patch
-
-	install -d -m755 $pkgdir/{etc,usr/{sbin,share/ca-certificates}}
-
+	install -d -m755 $pkgdir/{etc/ca-certificates/update.d,usr/{sbin,share/ca-certificates}}
+	install -D -m644 sbin/update-ca-certificates.8 $pkgdir/usr/share/man/man8/update-ca-certificates.8
 	make
 	make install DESTDIR=$pkgdir
 
@@ -34,4 +30,4 @@
 	cd $pkgdir/usr/share/ca-certificates
 	find . -name '*.crt' | sort | cut -b3-
 	) > $pkgdir/etc/ca-certificates.conf
-}
+}
\ No newline at end of file

Deleted: no-hooks.patch
===================================================================
--- no-hooks.patch	2008-06-02 07:38:13 UTC (rev 2450)
+++ no-hooks.patch	2008-06-02 07:40:00 UTC (rev 2451)
@@ -1,18 +0,0 @@
---- sbin/update-ca-certificates~	2008-06-02 01:51:30.000000000 +0200
-+++ sbin/update-ca-certificates	2008-06-02 01:51:30.000000000 +0200
-@@ -88,15 +88,6 @@
-     c_rehash .
-   fi
-   echo "done."
--
--  HOOKSDIR=/etc/ca-certificates/update.d
--  echo -n "Running hooks in $HOOKSDIR...."
--  VERBOSE_ARG=
--  [ "$verbose" = 0 ] || VERBOSE_ARG=--verbose
--  eval run-parts $VERB_ARG --test -- $HOOKSDIR | while read hook; do
--  printf -- "${removed:+$removed\n}${added:+$added\n}" | eval $hook
--  done
--  echo "done."
- else
-   echo "done."
- fi





More information about the arch-commits mailing list