aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2003-02-28 04:32:12 +0800
committernaddy <naddy@FreeBSD.org>2003-02-28 04:32:12 +0800
commit94299e91c459e91df6d337741bd62cf098718373 (patch)
tree58a1d2590cb9faf1235434c82b1c2a9de5b15a51
parent1e5bdc40d8a983a42064303117261b3c44024a58 (diff)
downloadfreebsd-ports-gnome-94299e91c459e91df6d337741bd62cf098718373.tar.gz
freebsd-ports-gnome-94299e91c459e91df6d337741bd62cf098718373.tar.zst
freebsd-ports-gnome-94299e91c459e91df6d337741bd62cf098718373.zip
- Update to 0.4.5
- Use DOCSDIR and EXAMPLESDIR in pkg-plist PR: 48705 Submitted by: Sergei Kolobov <sergei@kolobov.com>
-rw-r--r--security/opencdk/Makefile5
-rw-r--r--security/opencdk/distinfo2
-rw-r--r--security/opencdk/files/patch-configure13
-rw-r--r--security/opencdk/pkg-plist31
4 files changed, 32 insertions, 19 deletions
diff --git a/security/opencdk/Makefile b/security/opencdk/Makefile
index 546d459ee7ef..aec7b726e52f 100644
--- a/security/opencdk/Makefile
+++ b/security/opencdk/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= opencdk
-PORTVERSION= 0.4.1
+PORTVERSION= 0.4.5
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_GNUPG} \
http://www.mirrors.wiretapped.net/security/network-security/gnutls/opencdk/ \
@@ -28,12 +28,11 @@ USE_REINPLACE= yes
DOCS= AUTHORS NEWS README THANKS
post-patch:
-.for file in encrypt.c main.c
+.for file in encrypt.c main.c misc.c
${REINPLACE_CMD} -e 's/<malloc.h>/<stdlib.h>/' ${WRKSRC}/src/${file}
.endfor
post-install:
- ${RM} -f ${PREFIX}/lib/libopencdk.la
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/tests/*.c ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/tests/*.gpg ${EXAMPLESDIR}
diff --git a/security/opencdk/distinfo b/security/opencdk/distinfo
index c1013828ca49..790b93d08735 100644
--- a/security/opencdk/distinfo
+++ b/security/opencdk/distinfo
@@ -1 +1 @@
-MD5 (opencdk-0.4.1.tar.gz) = 428f93034dbdbded596746c9656e270b
+MD5 (opencdk-0.4.5.tar.gz) = 53e7822ae35d6b391951933e73d3cce0
diff --git a/security/opencdk/files/patch-configure b/security/opencdk/files/patch-configure
new file mode 100644
index 000000000000..61478b57cdc9
--- /dev/null
+++ b/security/opencdk/files/patch-configure
@@ -0,0 +1,13 @@
+
+$FreeBSD$
+
+--- configure.orig Thu Feb 27 21:22:56 2003
++++ configure Thu Feb 27 21:23:24 2003
+@@ -7744,6 +7744,7 @@
+
+ # This can be used to rebuild libtool when needed
+ LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
++$ac_aux_dir/ltconfig $LIBTOOL_DEPS
+
+ # Always use our own libtool.
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
diff --git a/security/opencdk/pkg-plist b/security/opencdk/pkg-plist
index 56caa6724f9a..c9528314e67b 100644
--- a/security/opencdk/pkg-plist
+++ b/security/opencdk/pkg-plist
@@ -1,19 +1,20 @@
+@comment $FreeBSD$
bin/opencdk-config
include/opencdk.h
-lib/libopencdk.so.5
+lib/libopencdk.so.6
lib/libopencdk.so
lib/libopencdk.a
-%%PORTDOCS%%share/doc/opencdk/AUTHORS
-%%PORTDOCS%%share/doc/opencdk/NEWS
-%%PORTDOCS%%share/doc/opencdk/README
-%%PORTDOCS%%share/doc/opencdk/THANKS
-%%PORTDOCS%%share/doc/opencdk/opencdk-api.html
-%%PORTDOCS%%@dirrm share/doc/opencdk
-share/examples/opencdk/minpg.c
-share/examples/opencdk/pub.gpg
-share/examples/opencdk/sec-with-pwd.gpg
-share/examples/opencdk/sec.gpg
-share/examples/opencdk/t-stream.c
-share/examples/opencdk/ts.gpg
-share/examples/opencdk/wkold.gpg
-@dirrm share/examples/opencdk
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/THANKS
+%%PORTDOCS%%%%DOCSDIR%%/opencdk-api.html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%EXAMPLESDIR%%/minpg.c
+%%EXAMPLESDIR%%/pub.gpg
+%%EXAMPLESDIR%%/sec-with-pwd.gpg
+%%EXAMPLESDIR%%/sec.gpg
+%%EXAMPLESDIR%%/t-stream.c
+%%EXAMPLESDIR%%/ts.gpg
+%%EXAMPLESDIR%%/wkold.gpg
+@dirrm %%EXAMPLESDIR%%