[gentoo-commits] repo/proj/ppc64le:master commit in: sys-block/partimage/

2016-06-28 Thread Anthony G. Basile
commit: 37a6bc9b8a5130f190670db174a654e17ddf7189
Author: Leno Hou  gmail  com>
AuthorDate: Tue Jun 28 14:31:27 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Tue Jun 28 17:41:25 2016 +
URL:https://gitweb.gentoo.org/repo/proj/ppc64le.git/commit/?id=37a6bc9b

sys-block/partimage: run elibtoolize #580792

This is needed to support newer platforms (like ppc64le).
Signed-off-by: Leno Hou  gmail.com>
Signed-off-by: Anthony G. Basile  gentoo.org>

 sys-block/partimage/partimage-0.6.9.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys-block/partimage/partimage-0.6.9.ebuild 
b/sys-block/partimage/partimage-0.6.9.ebuild
index 10f9545..92302f2 100644
--- a/sys-block/partimage/partimage-0.6.9.ebuild
+++ b/sys-block/partimage/partimage-0.6.9.ebuild
@@ -3,7 +3,7 @@
 # $Id$
 
 EAPI=4
-inherit eutils flag-o-matic pam user
+inherit eutils libtool flag-o-matic pam user
 
 DESCRIPTION="Console-based application to efficiently save raw partition data 
to an image file"
 HOMEPAGE="http://www.partimage.org/;
@@ -34,6 +34,7 @@ pkg_setup() {
 src_prepare() {
epatch "${FILESDIR}"/${P}-zlib-1.2.5.2.patch #405323
epatch "${FILESDIR}"/${P}-minor-typo.patch #580290
+   elibtoolize
 }
 
 src_configure() {



[gentoo-commits] repo/proj/ppc64le:master commit in: sys-block/partimage/files/, sys-block/partimage/

2016-06-28 Thread Anthony G. Basile
commit: ac7763cfd629bdf3f90ed5c38f4f2cfe38db14f8
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Tue Jun 28 17:41:18 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Tue Jun 28 17:41:18 2016 +
URL:https://gitweb.gentoo.org/repo/proj/ppc64le.git/commit/?id=ac7763cf

sys-block/partimage: copy from tree

 sys-block/partimage/Manifest   |   1 +
 .../partimage/files/partimage-0.6.8-destdir.patch  |  11 ++
 .../files/partimage-0.6.8-openssl-1.patch  |  30 +
 .../files/partimage-0.6.9-minor-typo.patch |  13 ++
 .../files/partimage-0.6.9-zlib-1.2.5.2.patch   |  33 +
 sys-block/partimage/files/partimaged.conf  |  10 ++
 sys-block/partimage/files/partimaged.init  |  29 +
 sys-block/partimage/files/partimaged.init.2|  29 +
 sys-block/partimage/files/partimaged.pam   |  11 ++
 sys-block/partimage/files/partimaged.pam.2 |   7 ++
 sys-block/partimage/files/servercert.cnf   |  37 ++
 sys-block/partimage/metadata.xml   |  14 +++
 sys-block/partimage/partimage-0.6.9.ebuild | 140 +
 13 files changed, 365 insertions(+)

diff --git a/sys-block/partimage/Manifest b/sys-block/partimage/Manifest
new file mode 100644
index 000..4d387ce
--- /dev/null
+++ b/sys-block/partimage/Manifest
@@ -0,0 +1 @@
+DIST partimage-0.6.9.tar.bz2 666522 SHA256 
753a6c81f4be18033faed365320dc540fe5e58183eaadcd7a5b69b096fec6635 SHA512 
252885921b23933fdcdf0bb6efa4b82066b08ca95cc653296912d384ae875b421c1d39f347a90115315139176d4eab4a930c24919c2d38cf00ed29c764cd14d9
 WHIRLPOOL 
a4e30ea6240c89b568fd5959f4d72130e3737a409270d9336e45f2c4f85c2e6c1c66b5b60abdf47aa238ec4159010cbbcc75c02c6e5a1cb309e2fceee1df7750

diff --git a/sys-block/partimage/files/partimage-0.6.8-destdir.patch 
b/sys-block/partimage/files/partimage-0.6.8-destdir.patch
new file mode 100644
index 000..12eb8c4
--- /dev/null
+++ b/sys-block/partimage/files/partimage-0.6.8-destdir.patch
@@ -0,0 +1,11 @@
+--- Makefile.am
 Makefile.am
+@@ -48,7 +48,7 @@
+   $(DESTDIR)${sysconfdir}/partimaged/partimagedusers ;\
+   echo -n "#add only users allowed to " >>  \
+$(DESTDIR)${sysconfdir}/partimaged/partimagedusers ;\
+-  echo "connect partimaged" >> ${sysconfdir}/partimaged/partimagedusers ;\
++  echo "connect partimaged" >> 
$(DESTDIR)${sysconfdir}/partimaged/partimagedusers ;\
+   echo "# (only one login per line)" >> \
+$(DESTDIR)${sysconfdir}/partimaged/partimagedusers ;\
+   echo "" >> $(DESTDIR)${sysconfdir}/partimaged/partimagedusers ;\

diff --git a/sys-block/partimage/files/partimage-0.6.8-openssl-1.patch 
b/sys-block/partimage/files/partimage-0.6.8-openssl-1.patch
new file mode 100644
index 000..69268a9
--- /dev/null
+++ b/sys-block/partimage/files/partimage-0.6.8-openssl-1.patch
@@ -0,0 +1,30 @@
+http://bugs.gentoo.org/326879
+
+--- src/client/netclient.h
 src/client/netclient.h
+@@ -35,7 +35,11 @@
+ #ifdef HAVE_SSL
+   SSL_CTX * ctx;
+   X509 * server_cert;
++  #if OPENSSL_VERSION_NUMBER >= 0x1000L
++  const SSL_METHOD * meth;
++  #else
+   SSL_METHOD * meth;
++  #endif
+ #endif
+   bool m_bUseSSL;
+   bool m_bMustLogin;
+--- src/server/netserver.h
 src/server/netserver.h
+@@ -41,7 +41,11 @@
+ #ifdef HAVE_SSL
+   SSL_CTX * ctx;
+   X509 * client_cert;
++  #if OPENSSL_VERSION_NUMBER >= 0x1000L
++  const SSL_METHOD * meth;
++  #else
+   SSL_METHOD * meth; 
++  #endif
+   int err;
+ #endif
+ 

diff --git a/sys-block/partimage/files/partimage-0.6.9-minor-typo.patch 
b/sys-block/partimage/files/partimage-0.6.9-minor-typo.patch
new file mode 100644
index 000..8e0e00e
--- /dev/null
+++ b/sys-block/partimage/files/partimage-0.6.9-minor-typo.patch
@@ -0,0 +1,13 @@
+https://bugs.gentoo.org/580290
+
+--- a/src/client/misc.h
 b/src/client/misc.h
+@@ -36,7 +36,7 @@ struct COptions;
+ #endif
+ 
+ #ifndef makedev
+-  #define makedev(maj,min) (((maj) << 8) | min))
++  #define makedev(maj,min) (((maj) << 8) | (min))
+ #endif
+ 
+ // ===

diff --git a/sys-block/partimage/files/partimage-0.6.9-zlib-1.2.5.2.patch 
b/sys-block/partimage/files/partimage-0.6.9-zlib-1.2.5.2.patch
new file mode 100644
index 000..57f87a5
--- /dev/null
+++ b/sys-block/partimage/files/partimage-0.6.9-zlib-1.2.5.2.patch
@@ -0,0 +1,33 @@
+http://bugs.gentoo.org/405323
+
+--- src/client/imagefile.cpp
 src/client/imagefile.cpp
+@@ -783,7 +783,7 @@
+   else if (m_options.dwCompression == COMPRESS_GZIP) // Gzip compression
+ {
+   showDebug(1, "open gzip\n");
+-  m_gzImageFile = (gzFile *) gzdopen(m_nFdImage, "wb"); //"wb1h");
++  m_gzImageFile = gzdopen(m_nFdImage, "wb"); //"wb1h");
+   if (m_gzImageFile == NULL)
+   {
+ showDebug(1, "error:%d %s\n", errno, strerror(errno));
+@@ -1098,7 +1098,7 @@
+ }
+   else if (m_options.dwCompression == COMPRESS_GZIP) // Gzip