pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/botan Separate out files only installed on Su...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0f1416b09331
branches:  trunk
changeset: 348181:0f1416b09331
user:      he <he%pkgsrc.org@localhost>
date:      Thu Jun 09 07:20:57 2016 +0000

description:
Separate out files only installed on SunOS.
Make a temporary hack for non-SunOS, not yet fully verified;
this somehow needs to mirror what the package's configure.py
figures out, and expressing that properly and portably in
pkgsrc seems hard.

diffstat:

 security/botan/Makefile        |  7 ++++++-
 security/botan/PLIST           |  6 +-----
 security/botan/PLIST.SunOS     |  3 +++
 security/botan/PLIST.non-SunOS |  5 +++++
 4 files changed, 15 insertions(+), 6 deletions(-)

diffs (66 lines):

diff -r 3cbcd9c72523 -r 0f1416b09331 security/botan/Makefile
--- a/security/botan/Makefile   Thu Jun 09 06:23:38 2016 +0000
+++ b/security/botan/Makefile   Thu Jun 09 07:20:57 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2016/05/23 06:52:54 kre Exp $
+# $NetBSD: Makefile,v 1.37 2016/06/09 07:20:57 he Exp $
 
 DISTNAME=      Botan-1.10.12
 PKGNAME=       ${DISTNAME:tl}
@@ -43,5 +43,10 @@
 CONFIGURE_ARGS+=       --cpu=arm
 .endif
 
+.if ${OPSYS} != "SunOS"
+PLIST_SRC+=    PLIST
+PLIST_SRC+=    PLIST.non-SunOS
+.endif
+
 .include "../../lang/python/application.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 3cbcd9c72523 -r 0f1416b09331 security/botan/PLIST
--- a/security/botan/PLIST      Thu Jun 09 06:23:38 2016 +0000
+++ b/security/botan/PLIST      Thu Jun 09 07:20:57 2016 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2016/06/08 08:19:52 he Exp $
+@comment $NetBSD: PLIST,v 1.4 2016/06/09 07:20:57 he Exp $
 bin/botan-config-1.10
 include/botan-1.10/botan/adler32.h
 include/botan-1.10/botan/aes.h
@@ -118,9 +118,7 @@
 include/botan-1.10/botan/mars.h
 include/botan-1.10/botan/md2.h
 include/botan-1.10/botan/md4.h
-${PLIST.x86}include/botan-1.10/botan/md4_x86_32.h
 include/botan-1.10/botan/md5.h
-${PLIST.x86}include/botan-1.10/botan/md5_x86_32.h
 include/botan-1.10/botan/mdx_hash.h
 include/botan-1.10/botan/mem_ops.h
 include/botan-1.10/botan/mgf1.h
@@ -179,10 +177,8 @@
 include/botan-1.10/botan/seed.h
 include/botan-1.10/botan/selftest.h
 include/botan-1.10/botan/serp_simd.h
-${PLIST.x86}include/botan-1.10/botan/serp_x86_32.h
 include/botan-1.10/botan/serpent.h
 include/botan-1.10/botan/sha160.h
-${PLIST.x86}include/botan-1.10/botan/sha1_x86_32.h
 ${PLIST.x86_64}include/botan-1.10/botan/sha1_x86_64.h
 include/botan-1.10/botan/sha2_32.h
 include/botan-1.10/botan/sha2_64.h
diff -r 3cbcd9c72523 -r 0f1416b09331 security/botan/PLIST.SunOS
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/botan/PLIST.SunOS        Thu Jun 09 07:20:57 2016 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST.SunOS,v 1.4 2016/06/09 07:20:57 he Exp $
+${PLIST.x86}include/botan-1.10/botan/idea_sse2.h
+${PLIST.x86}include/botan-1.10/botan/sha1_sse2.h
diff -r 3cbcd9c72523 -r 0f1416b09331 security/botan/PLIST.non-SunOS
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/botan/PLIST.non-SunOS    Thu Jun 09 07:20:57 2016 +0000
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST.non-SunOS,v 1.1 2016/06/09 07:20:57 he Exp $
+${PLIST.x86}include/botan-1.10/botan/md4_x86_32.h
+${PLIST.x86}include/botan-1.10/botan/md5_x86_32.h
+${PLIST.x86}include/botan-1.10/botan/serp_x86_32.h
+${PLIST.x86}include/botan-1.10/botan/sha1_x86_32.h



Home | Main Index | Thread Index | Old Index