Index: head/net-p2p/shx/Makefile =================================================================== --- head/net-p2p/shx/Makefile (revision 421960) +++ head/net-p2p/shx/Makefile (revision 421961) @@ -1,81 +1,59 @@ # Created by: Devin Teske # $FreeBSD$ PORTNAME= shx PORTVERSION= 0.2.4 CATEGORIES= net-p2p MASTER_SITES= http://synhxd.sourceforge.net/releases/ PATCH_SITES= ${MASTER_SITES} PATCHFILES= ${DISTNAME}.diff.gz MAINTAINER= dteske@FreeBSD.org COMMENT= Text based Hotline Communications client for Unix LICENSE= GPLv1 OPTIONS_DEFINE= WARNINGS HTXF_PTHREAD HFS HOPE CIPHER COMPRESS HAL XMMS NOIPV4 OPTIONS_DEFAULT=HTXF_PTHREAD HFS HOPE CIPHER COMPRESS XMMS WARNINGS_DESC= Show compiler warnings HTXF_PTHREAD_DESC= Use pthread instead of fork or clone for htxf HFS_DESC= Enable HFS file system emulation HOPE_DESC= Enable HOPE (required by Cipher/Compress) CIPHER_DESC= Enable Cipher (HOPE required) COMPRESS_DESC= Enable Compress (HOPE required) HAL_DESC= Compile MegaHAL (enables hal command) XMMS_DESC= Enable trackname command NOIPV4_DESC= IPv6 support (disables IPv4 support) -USES= readline tar:tgz +USES= readline ssl tar:tgz MAKEFILE= makefile GNU_CONFIGURE= yes -CONFIGURE_ARGS= +CFLAGS+= -I${OPENSSLINC} +LDFLAGS+= -L${OPENSSLLIB} -.include +CIPHER_IMPLIES= HOPE +COMPRESS_IMPLIES= HOPE -.if ${PORT_OPTIONS:MWARNINGS} -CONFIGURE_ARGS+= --enable-warnings -.endif - -.if ${PORT_OPTIONS:MHTXF_PTHREAD} -CONFIGURE_ARGS+= --enable-htxf-pthread -.endif - -.if ! ${PORT_OPTIONS:MHFS} -CONFIGURE_ARGS+= --disable-hfs -.endif - -.if ${PORT_OPTIONS:MHOPE} -CONFIGURE_ARGS+= --enable-hope -.if ${PORT_OPTIONS:MCIPHER} -CONFIGURE_ARGS+= --enable-cipher -.endif -.if ${PORT_OPTIONS:MCOMPRESS} -CONFIGURE_ARGS+= --enable-compress -.endif -.endif - -.if ${PORT_OPTIONS:MHAL} -CONFIGURE_ARGS+= --enable-hal -.endif - -.if ${PORT_OPTIONS:MXMMS} -CONFIGURE_ARGS+= --enable-xmms -.endif - -.if ${PORT_OPTIONS:MNOIPV4} -CONFIGURE_ARGS+= --enable-ipv6 -.endif +CIPHER_CONFIGURE_ENABLE= cipher +COMPRESS_CONFIGURE_ENABLE= compress +HAL_CONFIGURE_ENABLE= hal +HFS_CONFIGURE_ENABLE= hfs +HOPE_CONFIGURE_ENABLE= hope +HTXF_PTHREAD_CONFIGURE_ENABLE= htxf-pthread +NOIPV4_CONFIGURE_ENABLE= ipv6 +XMMS_CONFIGURE_ENABLE= xmms +WARNINGS_CONFIGURE_ENABLE= warnings PLIST_FILES= bin/hx \ share/examples/shx/hxrc \ share/examples/shx/hxvars do-install: ${CP} -fv ${WRKSRC}/run/hx ${STAGEDIR}${PREFIX}/bin/ ${MKDIR} ${STAGEDIR}${PREFIX}/share/examples/${PORTNAME} ${CP} -fv ${WRKSRC}/run/hxrc ${STAGEDIR}${PREFIX}/share/examples/${PORTNAME}/ ${CP} -fv ${WRKSRC}/run/hxvars ${STAGEDIR}${PREFIX}/share/examples/${PORTNAME}/ .include Index: head/net-p2p/shx/files/patch-src_main.c =================================================================== --- head/net-p2p/shx/files/patch-src_main.c (nonexistent) +++ head/net-p2p/shx/files/patch-src_main.c (revision 421961) @@ -0,0 +1,20 @@ +--- src/main.c.orig 2002-12-17 19:28:19 UTC ++++ src/main.c +@@ -296,7 +296,7 @@ loopZ (void) + #if defined(CONFIG_CIPHER) + #include "cipher.h" + +-#if USE_OPENSSL ++#if USE_OPENSSL && !defined(OPENSSL_NO_EGD) + #include + + static char *egd_path = 0; +@@ -324,7 +324,7 @@ set_egd_path (char **egd_pathp, const ch + static void + cipher_init (void) + { +-#if USE_OPENSSL ++#if USE_OPENSSL && !defined(OPENSSL_NO_EGD) + variable_add(&egd_path, set_egd_path, "egd_path"); + #else + srand(getpid()*clock()); Property changes on: head/net-p2p/shx/files/patch-src_main.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property