Bug 182591 - update security/libsodium to 0.4.3
Summary: update security/libsodium to 0.4.3
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Danilo Egea Gondolfo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-03 06:30 UTC by csosstudy
Modified: 2013-10-11 14:50 UTC (History)
0 users

See Also:


Attachments
file.diff (1.75 KB, patch)
2013-10-03 06:30 UTC, csosstudy
no flags Details | Diff
patch.txt (2.83 KB, text/plain; charset=US-ASCII)
2013-10-11 03:00 UTC, csosstudy
no flags Details
patch.txt (3.43 KB, text/plain; charset=US-ASCII)
2013-10-11 13:47 UTC, csosstudy
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description csosstudy 2013-10-03 06:30:00 UTC

    
Comment 1 Danilo Egea Gondolfo freebsd_committer freebsd_triage 2013-10-03 22:51:40 UTC
Responsible Changed
From-To: freebsd-ports-bugs->danilo

I'll take it.
Comment 2 csosstudy 2013-10-11 03:00:39 UTC
add USES=pkgconfig
add Stage Directory support
Comment 3 csosstudy 2013-10-11 13:47:10 UTC
install libsodium.pc to libdata/pkgconfig
Comment 4 dfilter service freebsd_committer freebsd_triage 2013-10-11 14:44:01 UTC
Author: danilo
Date: Fri Oct 11 13:43:52 2013
New Revision: 330073
URL: http://svnweb.freebsd.org/changeset/ports/330073

Log:
  - Update from 0.4.2 to 0.4.3
  - Add USES=pkgconfig
  - Add stage support
  
  PR:		ports/182591
  Submitted by:	csosstudy <csosstudy@gmail.com> (maintainer)
  Approved by:	wg (mentor)

Modified:
  head/security/libsodium/Makefile
  head/security/libsodium/distinfo
  head/security/libsodium/pkg-plist

Modified: head/security/libsodium/Makefile
==============================================================================
--- head/security/libsodium/Makefile	Fri Oct 11 12:29:52 2013	(r330072)
+++ head/security/libsodium/Makefile	Fri Oct 11 13:43:52 2013	(r330073)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	libsodium
-PORTVERSION=	0.4.2
+PORTVERSION=	0.4.3
 CATEGORIES=	security
 MASTER_SITES=	http://download.dnscrypt.org/libsodium/releases/
 
@@ -12,19 +12,21 @@ LICENSE=	ISCL
 
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
+USES=	pkgconfig
 
-PORTDOCS=	AUTHORS NEWS THANKS
+OPTIONS_DEFINE=	DOCS
+
+PORTDOCS=	AUTHORS README.markdown THANKS
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|' \
+		${WRKSRC}/Makefile.in
 
-NO_STAGE=	yes
 post-build:
 	cd ${WRKSRC} && ${MAKE} check
 
-.include <bsd.port.options.mk>
-
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
-.endif
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/
 
 .include <bsd.port.mk>

Modified: head/security/libsodium/distinfo
==============================================================================
--- head/security/libsodium/distinfo	Fri Oct 11 12:29:52 2013	(r330072)
+++ head/security/libsodium/distinfo	Fri Oct 11 13:43:52 2013	(r330073)
@@ -1,2 +1,2 @@
-SHA256 (libsodium-0.4.2.tar.gz) = 1a7901cdd127471724e854a8eb478247dc0ca67be549345c75fc6f2d4e05ed39
-SIZE (libsodium-0.4.2.tar.gz) = 502753
+SHA256 (libsodium-0.4.3.tar.gz) = 599ce19ae6ace2d30aee353b931088f720713c4e1d0b2918ed46de1914fb6042
+SIZE (libsodium-0.4.3.tar.gz) = 523169

Modified: head/security/libsodium/pkg-plist
==============================================================================
--- head/security/libsodium/pkg-plist	Fri Oct 11 12:29:52 2013	(r330072)
+++ head/security/libsodium/pkg-plist	Fri Oct 11 13:43:52 2013	(r330073)
@@ -18,7 +18,7 @@ include/sodium/crypto_hashblocks_sha512.
 include/sodium/crypto_onetimeauth.h
 include/sodium/crypto_onetimeauth_poly1305.h
 include/sodium/crypto_onetimeauth_poly1305_53.h
-include/sodium/crypto_onetimeauth_poly1305_ref.h
+include/sodium/crypto_onetimeauth_poly1305_donna.h
 include/sodium/crypto_scalarmult.h
 include/sodium/crypto_scalarmult_curve25519.h
 include/sodium/crypto_secretbox.h
@@ -50,7 +50,8 @@ include/sodium/randombytes_sysrandom.h
 include/sodium/utils.h
 include/sodium/version.h
 include/sodium.h
-lib/libsodium.so.6
+libdata/pkgconfig/libsodium.pc
+lib/libsodium.so.7
 lib/libsodium.so
 lib/libsodium.la
 lib/libsodium.a
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 5 Danilo Egea Gondolfo freebsd_committer freebsd_triage 2013-10-11 14:47:53 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!