[arch-commits] Commit in haveged/repos (12 files)

Bartłomiej Piotrowski bpiotrowski at nymeria.archlinux.org
Wed Feb 20 05:11:56 UTC 2013


    Date: Wednesday, February 20, 2013 @ 06:11:56
  Author: bpiotrowski
Revision: 84580

archrelease: copy trunk to community-i686, community-x86_64

Added:
  haveged/repos/community-i686/PKGBUILD
    (from rev 84579, haveged/trunk/PKGBUILD)
  haveged/repos/community-i686/haveged-1.7-build.patch
    (from rev 84579, haveged/trunk/haveged-1.7-build.patch)
  haveged/repos/community-i686/service
    (from rev 84579, haveged/trunk/service)
  haveged/repos/community-x86_64/PKGBUILD
    (from rev 84579, haveged/trunk/PKGBUILD)
  haveged/repos/community-x86_64/haveged-1.7-build.patch
    (from rev 84579, haveged/trunk/haveged-1.7-build.patch)
  haveged/repos/community-x86_64/service
    (from rev 84579, haveged/trunk/service)
Deleted:
  haveged/repos/community-i686/PKGBUILD
  haveged/repos/community-i686/rc.d
  haveged/repos/community-i686/service
  haveged/repos/community-x86_64/PKGBUILD
  haveged/repos/community-x86_64/rc.d
  haveged/repos/community-x86_64/service

------------------------------------------+
 community-i686/PKGBUILD                  |   70 +++++++++++++++--------------
 community-i686/haveged-1.7-build.patch   |   13 +++++
 community-i686/rc.d                      |   44 ------------------
 community-i686/service                   |   22 ++++-----
 community-x86_64/PKGBUILD                |   70 +++++++++++++++--------------
 community-x86_64/haveged-1.7-build.patch |   13 +++++
 community-x86_64/rc.d                    |   44 ------------------
 community-x86_64/service                 |   22 ++++-----
 8 files changed, 122 insertions(+), 176 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2013-02-20 05:11:38 UTC (rev 84579)
+++ community-i686/PKGBUILD	2013-02-20 05:11:56 UTC (rev 84580)
@@ -1,33 +0,0 @@
-# $Id$
-# Maintainer:  Bartłomiej Piotrowski <barthalion at gmail.com>
-# Contributor: kfgz <kfgz at interia dot pl>
-# Contributor: pootzko <pootzko at gmail dot com>
-
-pkgname=haveged
-pkgver=1.6
-pkgrel=1
-pkgdesc='Entropy harvesting daemon using CPU timings'
-arch=('i686' 'x86_64')
-url='http://www.issihosts.com/haveged'
-license=('GPL')
-depends=('glibc')
-source=($url/$pkgname-$pkgver.tar.gz
-        rc.d service)
-md5sums=('5a386a530e89bfbc6c8d22717b16e2a8'
-         '264b725be5271288b40f363d7cfc6b68'
-         'fc62a480f520377364503aca9efff0b0')
-
-build() {
-  cd $srcdir/$pkgname-${pkgver/a/}
-  ./configure --prefix=/usr
-  make
-}
-
-package() {
-  cd $srcdir/$pkgname-${pkgver/a/}
-  make DESTDIR=$pkgdir install
-  rm -rf $pkgdir/etc/init.d
-
-  install -D -m755 $srcdir/rc.d $pkgdir/etc/rc.d/haveged
-  install -D -m644 $srcdir/service $pkgdir/usr/lib/systemd/system/haveged.service
-}

Copied: haveged/repos/community-i686/PKGBUILD (from rev 84579, haveged/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2013-02-20 05:11:56 UTC (rev 84580)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer:  Bartłomiej Piotrowski <barthalion at gmail.com>
+# Contributor: kfgz <kfgz at interia dot pl>
+# Contributor: pootzko <pootzko at gmail dot com>
+
+pkgname=haveged
+pkgver=1.7
+pkgrel=1
+pkgdesc='Entropy harvesting daemon using CPU timings'
+arch=('i686' 'x86_64')
+url='http://www.issihosts.com/haveged'
+license=('GPL')
+depends=('glibc')
+source=($url/$pkgname-$pkgver.tar.gz
+        service
+        haveged-1.7-build.patch)
+sha256sums=('9ec85438386a46d5c3fe7b5b121cafd89c34bae68cbbfb4cecb1ff5622111013'
+            '85aed005b7d0d0bae74f7fc0ca70907a6f67ddbcb2df77ca004f9a919028564a'
+            '94c77b1d2d80eb5fb30bab4aeb560e6dfe9957654cd3ed915478d2ce67ac37b7')
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+
+  patch -Np1 -i $srcdir/haveged-1.7-build.patch
+  aclocal && libtoolize --force && automake --add-missing && autoreconf
+
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+  make DESTDIR=$pkgdir install
+
+  rm -rf $pkgdir/etc/init.d
+  install -D -m644 $srcdir/service $pkgdir/usr/lib/systemd/system/haveged.service
+}

Copied: haveged/repos/community-i686/haveged-1.7-build.patch (from rev 84579, haveged/trunk/haveged-1.7-build.patch)
===================================================================
--- community-i686/haveged-1.7-build.patch	                        (rev 0)
+++ community-i686/haveged-1.7-build.patch	2013-02-20 05:11:56 UTC (rev 84580)
@@ -0,0 +1,13 @@
+Index: haveged-1.7/src/Makefile.am
+===================================================================
+--- haveged-1.7.orig/src/Makefile.am
++++ haveged-1.7/src/Makefile.am
+@@ -27,7 +27,7 @@ pkginclude_HEADERS = havege.h
+ 
+ haveged_SOURCES = haveged.c haveged.h
+ 
+-haveged_LDADD = @HA_LDFLAGS@ $(top_builddir)/src/libhavege.la
++haveged_LDADD = @HA_LDFLAGS@ libhavege.la
+ ##libtool_end##
+ 
+ MAINTAINERCLEANFILES = Makefile.in

Deleted: community-i686/rc.d
===================================================================
--- community-i686/rc.d	2013-02-20 05:11:38 UTC (rev 84579)
+++ community-i686/rc.d	2013-02-20 05:11:56 UTC (rev 84580)
@@ -1,44 +0,0 @@
-#!/bin/bash
-##
-# chkconfig: 2345 75 25
-# description: havege entropy daemon
-#
-# source function library
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-RETVAL=0
-prog="haveged"
-
-case "$1" in
-start)
-  stat_busy $"Starting $prog"
-  /usr/sbin/$prog -w 1024 -v 1
-  if [ $? -gt 0 ]; then
-    stat_fail
-  else
-    add_daemon $prog
-    stat_done
-  fi
-  ;;
-
-stop)
-  stat_busy $"Stopping $prog"
-  kill `cat /var/run/$prog.pid`
-  if [ $? -gt 0 ]; then
-    stat_fail
-  else
-    rm_daemon $prog
-    stat_done
-    rm -f /var/lock/$prog
-  fi
-  ;;
-  
-restart)
-  $0 stop
-  $0 start
-  ;;
-
-*)
-  echo "usage: $prog [start|stop|restart]"
-esac

Deleted: community-i686/service
===================================================================
--- community-i686/service	2013-02-20 05:11:38 UTC (rev 84579)
+++ community-i686/service	2013-02-20 05:11:56 UTC (rev 84580)
@@ -1,11 +0,0 @@
-[Unit]
-Description=Entropy Harvesting Daemon
-Documentation=man:haveged(8)
-
-[Service]
-Type=forking
-ExecStart=/usr/sbin/haveged -w 1024 -v 1
-PIDFile=/var/run/haveged.pid
-
-[Install]
-WantedBy=multi-user.target

Copied: haveged/repos/community-i686/service (from rev 84579, haveged/trunk/service)
===================================================================
--- community-i686/service	                        (rev 0)
+++ community-i686/service	2013-02-20 05:11:56 UTC (rev 84580)
@@ -0,0 +1,11 @@
+[Unit]
+Description=Entropy Harvesting Daemon
+Documentation=man:haveged(8)
+
+[Service]
+Type=forking
+ExecStart=/usr/sbin/haveged -w 1024 -v 1
+PIDFile=/var/run/haveged.pid
+
+[Install]
+WantedBy=multi-user.target

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2013-02-20 05:11:38 UTC (rev 84579)
+++ community-x86_64/PKGBUILD	2013-02-20 05:11:56 UTC (rev 84580)
@@ -1,33 +0,0 @@
-# $Id$
-# Maintainer:  Bartłomiej Piotrowski <barthalion at gmail.com>
-# Contributor: kfgz <kfgz at interia dot pl>
-# Contributor: pootzko <pootzko at gmail dot com>
-
-pkgname=haveged
-pkgver=1.6
-pkgrel=1
-pkgdesc='Entropy harvesting daemon using CPU timings'
-arch=('i686' 'x86_64')
-url='http://www.issihosts.com/haveged'
-license=('GPL')
-depends=('glibc')
-source=($url/$pkgname-$pkgver.tar.gz
-        rc.d service)
-md5sums=('5a386a530e89bfbc6c8d22717b16e2a8'
-         '264b725be5271288b40f363d7cfc6b68'
-         'fc62a480f520377364503aca9efff0b0')
-
-build() {
-  cd $srcdir/$pkgname-${pkgver/a/}
-  ./configure --prefix=/usr
-  make
-}
-
-package() {
-  cd $srcdir/$pkgname-${pkgver/a/}
-  make DESTDIR=$pkgdir install
-  rm -rf $pkgdir/etc/init.d
-
-  install -D -m755 $srcdir/rc.d $pkgdir/etc/rc.d/haveged
-  install -D -m644 $srcdir/service $pkgdir/usr/lib/systemd/system/haveged.service
-}

Copied: haveged/repos/community-x86_64/PKGBUILD (from rev 84579, haveged/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2013-02-20 05:11:56 UTC (rev 84580)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer:  Bartłomiej Piotrowski <barthalion at gmail.com>
+# Contributor: kfgz <kfgz at interia dot pl>
+# Contributor: pootzko <pootzko at gmail dot com>
+
+pkgname=haveged
+pkgver=1.7
+pkgrel=1
+pkgdesc='Entropy harvesting daemon using CPU timings'
+arch=('i686' 'x86_64')
+url='http://www.issihosts.com/haveged'
+license=('GPL')
+depends=('glibc')
+source=($url/$pkgname-$pkgver.tar.gz
+        service
+        haveged-1.7-build.patch)
+sha256sums=('9ec85438386a46d5c3fe7b5b121cafd89c34bae68cbbfb4cecb1ff5622111013'
+            '85aed005b7d0d0bae74f7fc0ca70907a6f67ddbcb2df77ca004f9a919028564a'
+            '94c77b1d2d80eb5fb30bab4aeb560e6dfe9957654cd3ed915478d2ce67ac37b7')
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+
+  patch -Np1 -i $srcdir/haveged-1.7-build.patch
+  aclocal && libtoolize --force && automake --add-missing && autoreconf
+
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+  make DESTDIR=$pkgdir install
+
+  rm -rf $pkgdir/etc/init.d
+  install -D -m644 $srcdir/service $pkgdir/usr/lib/systemd/system/haveged.service
+}

Copied: haveged/repos/community-x86_64/haveged-1.7-build.patch (from rev 84579, haveged/trunk/haveged-1.7-build.patch)
===================================================================
--- community-x86_64/haveged-1.7-build.patch	                        (rev 0)
+++ community-x86_64/haveged-1.7-build.patch	2013-02-20 05:11:56 UTC (rev 84580)
@@ -0,0 +1,13 @@
+Index: haveged-1.7/src/Makefile.am
+===================================================================
+--- haveged-1.7.orig/src/Makefile.am
++++ haveged-1.7/src/Makefile.am
+@@ -27,7 +27,7 @@ pkginclude_HEADERS = havege.h
+ 
+ haveged_SOURCES = haveged.c haveged.h
+ 
+-haveged_LDADD = @HA_LDFLAGS@ $(top_builddir)/src/libhavege.la
++haveged_LDADD = @HA_LDFLAGS@ libhavege.la
+ ##libtool_end##
+ 
+ MAINTAINERCLEANFILES = Makefile.in

Deleted: community-x86_64/rc.d
===================================================================
--- community-x86_64/rc.d	2013-02-20 05:11:38 UTC (rev 84579)
+++ community-x86_64/rc.d	2013-02-20 05:11:56 UTC (rev 84580)
@@ -1,44 +0,0 @@
-#!/bin/bash
-##
-# chkconfig: 2345 75 25
-# description: havege entropy daemon
-#
-# source function library
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-RETVAL=0
-prog="haveged"
-
-case "$1" in
-start)
-  stat_busy $"Starting $prog"
-  /usr/sbin/$prog -w 1024 -v 1
-  if [ $? -gt 0 ]; then
-    stat_fail
-  else
-    add_daemon $prog
-    stat_done
-  fi
-  ;;
-
-stop)
-  stat_busy $"Stopping $prog"
-  kill `cat /var/run/$prog.pid`
-  if [ $? -gt 0 ]; then
-    stat_fail
-  else
-    rm_daemon $prog
-    stat_done
-    rm -f /var/lock/$prog
-  fi
-  ;;
-  
-restart)
-  $0 stop
-  $0 start
-  ;;
-
-*)
-  echo "usage: $prog [start|stop|restart]"
-esac

Deleted: community-x86_64/service
===================================================================
--- community-x86_64/service	2013-02-20 05:11:38 UTC (rev 84579)
+++ community-x86_64/service	2013-02-20 05:11:56 UTC (rev 84580)
@@ -1,11 +0,0 @@
-[Unit]
-Description=Entropy Harvesting Daemon
-Documentation=man:haveged(8)
-
-[Service]
-Type=forking
-ExecStart=/usr/sbin/haveged -w 1024 -v 1
-PIDFile=/var/run/haveged.pid
-
-[Install]
-WantedBy=multi-user.target

Copied: haveged/repos/community-x86_64/service (from rev 84579, haveged/trunk/service)
===================================================================
--- community-x86_64/service	                        (rev 0)
+++ community-x86_64/service	2013-02-20 05:11:56 UTC (rev 84580)
@@ -0,0 +1,11 @@
+[Unit]
+Description=Entropy Harvesting Daemon
+Documentation=man:haveged(8)
+
+[Service]
+Type=forking
+ExecStart=/usr/sbin/haveged -w 1024 -v 1
+PIDFile=/var/run/haveged.pid
+
+[Install]
+WantedBy=multi-user.target




More information about the arch-commits mailing list