ports/172064: security/xyssl: Update MASTER_SITES
KATO Tsuguru
tkato432 at yahoo.com
Tue Sep 25 18:20:20 UTC 2012
>Number: 172064
>Category: ports
>Synopsis: security/xyssl: Update MASTER_SITES
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Sep 25 18:20:20 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 7.4-RELEASE-p10 i386
>Organization:
>Environment:
>Description:
- Update MASTER_SITES and WWW: line
- Support CFLAGS properly
- Add MAKE_JOBS_SAFE
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/security/xyssl/Makefile security/xyssl/Makefile
--- /usr/ports/security/xyssl/Makefile 2012-07-25 06:09:44.000000000 +0900
+++ security/xyssl/Makefile 2012-09-25 04:21:17.000000000 +0900
@@ -1,16 +1,14 @@
-# New ports collection makefile for: xyssl
-# Date created: 2007-04-05
-# Whom: mdh <mdh at solitox.net>
-#
+# Created by: mdh <mdh at solitox.net>
# $FreeBSD: ports/security/xyssl/Makefile,v 1.9 2012/07/24 21:09:44 cs Exp $
-#
PORTNAME= xyssl
PORTVERSION= 0.9
+PORTREVISION= 1
+DISTVERSIONSUFFIX= -bsd
CATEGORIES= security devel
MASTER_SITES= http://www.evolane.com/download/mirror/etcl/ \
- http://www.straightrunning.com/code/
-DISTFILES= xyssl-${PORTVERSION}-bsd.tgz
+ http://polarssl.org/code/releases/
+EXTRACT_SUFX= .tgz
MAINTAINER= ports at FreeBSD.org
COMMENT= A lightweight SSL and TLS toolkit for C developers
@@ -18,15 +16,25 @@
LICENSE= BSD
LICENSE_FILE= ${WRKSRC}/BSD.txt
-# HAS_CONFIGURE= no
-# GNU_CONFIGURE= no
+OPTIONS_DEFINE= DOCS
-PORTDOCS= BSD.txt ChangeLog
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
+MAKE_JOBS_SAFE= yes
+
+.include <bsd.port.options.mk>
+
+post-patch:
+.for i in library/Makefile programs/Makefile
+ @${REINPLACE_CMD} -e \
+ '/^CFLAGS/s|[[:space:]]=| +=| ; \
+ s|^OFLAGS|#OFLAGS| ; \
+ s|^.SILENT:|#.SILENT:|' ${WRKSRC}/${i}
+.endfor
post-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_MAN} ${WRKSRC}/BSD.txt ${DOCSDIR}
+.if ${PORT_OPTIONS:MDOCS}
+ @${MKDIR} ${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/ChangeLog ${DOCSDIR}
.endif
diff -urN /usr/ports/security/xyssl/files/patch-Makefile security/xyssl/files/patch-Makefile
--- /usr/ports/security/xyssl/files/patch-Makefile 2009-01-04 20:29:30.000000000 +0900
+++ security/xyssl/files/patch-Makefile 2012-07-12 22:47:58.000000000 +0900
@@ -1,6 +1,6 @@
---- Makefile.orig 2008-03-16 14:23:22.000000000 +0000
-+++ Makefile 2009-01-02 23:45:48.380520000 +0000
-@@ -1,6 +1,6 @@
+--- Makefile.orig 2008-03-16 23:23:22.000000000 +0900
++++ Makefile 2012-07-12 22:47:37.000000000 +0900
+@@ -1,26 +1,26 @@
-DESTDIR=/usr/local
-PREFIX=xyssl_
@@ -9,7 +9,11 @@
.SILENT:
-@@ -10,17 +10,17 @@
+ all:
+- cd library && make all && cd ..
+- cd programs && make all && cd ..
++ cd library && $(MAKE) all && cd ..
++ cd programs && $(MAKE) all && cd ..
install:
mkdir -p $(DESTDIR)/include/xyssl
diff -urN /usr/ports/security/xyssl/pkg-descr security/xyssl/pkg-descr
--- /usr/ports/security/xyssl/pkg-descr 2010-06-11 17:22:59.000000000 +0900
+++ security/xyssl/pkg-descr 2012-07-12 22:53:49.000000000 +0900
@@ -4,7 +4,4 @@
Support is also included for X.509 certificate structures,
as well as an internal PRNG.
-LICENSE: BSD
-Copyright (c) 2006-2008, Christophe Devine.
-
-WWW: http://xyssl.org/
+WWW: http://polarssl.org/
diff -urN /usr/ports/security/xyssl/pkg-plist security/xyssl/pkg-plist
--- /usr/ports/security/xyssl/pkg-plist 2009-01-04 20:29:30.000000000 +0900
+++ security/xyssl/pkg-plist 2012-07-12 22:46:13.000000000 +0900
@@ -1,21 +1,20 @@
-lib/libxyssl.a
bin/xyssl_aescrypt2
-bin/xyssl_hello
-bin/xyssl_md5sum
-bin/xyssl_sha1sum
-bin/xyssl_sha2sum
+bin/xyssl_benchmark
bin/xyssl_dh_client
bin/xyssl_dh_genprime
bin/xyssl_dh_server
+bin/xyssl_hello
+bin/xyssl_md5sum
bin/xyssl_mpi_demo
bin/xyssl_rsa_genkey
bin/xyssl_rsa_sign
bin/xyssl_rsa_verify
+bin/xyssl_selftest
+bin/xyssl_sha1sum
+bin/xyssl_sha2sum
bin/xyssl_ssl_client1
bin/xyssl_ssl_client2
bin/xyssl_ssl_server
-bin/xyssl_benchmark
-bin/xyssl_selftest
bin/xyssl_ssl_test
include/xyssl/aes.h
include/xyssl/arc4.h
@@ -41,4 +40,7 @@
include/xyssl/ssl.h
include/xyssl/timing.h
include/xyssl/x509.h
+lib/libxyssl.a
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm include/xyssl
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list