pkgsrc-Bugs archive

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

pkg/38525: [PATCH] Add SSL and uulib support to news/slrn



>Number:         38525
>Category:       pkg
>Synopsis:       Patch to add SSL and uulib support to news/slrn
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 27 10:00:00 +0000 2008
>Originator:     Michael-John Turner
>Release:        NetBSD 4.0_STABLE
>Organization:
>Environment:
        
        
System: NetBSD aurora.pimp.org.za 4.0_STABLE NetBSD 4.0_STABLE (AURORA_40) #0: 
Wed Mar 5 23:08:03 GMT 2008 
root%aurora.pimp.org.za@localhost:/usr/obj/sys/compile/AURORA_40 sparc64
Architecture: sparc64
Machine: sparc64
>Description:
I've attached a patch that adds two new options to news/slrn - support for      
                        
SSL (ie nntps) and support for decoding binaries using uulib. Tested            
                        
with NetBSD 4.0.                                                                
                        
                                                                                
                        
I've also attached a patch that adds 'uulib' as an option in                    
                        
mk/defaults/options.description.                                             
>How-To-Repeat:
N/A, change request
>Fix:

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/news/slrn/Makefile,v
retrieving revision 1.39
diff -u -r1.39 Makefile
--- Makefile    3 Jan 2008 23:14:46 -0000       1.39
+++ Makefile    23 Apr 2008 21:10:36 -0000
@@ -19,6 +19,7 @@
                        --enable-mid-cache \
                        --with-localedir=${PREFIX}/${PKGLOCALEDIR}/locale
 
+.include "options.mk"
 .include "../../mk/bsd.prefs.mk"
 
 # the next is a workaround, as 1.3.2 install doesn't like -c and -d
Index: options.mk
===================================================================
RCS file: options.mk
diff -N options.mk
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ options.mk  23 Apr 2008 21:10:37 -0000
@@ -0,0 +1,27 @@
+# $NetBSD$
+
+PKG_OPTIONS_VAR=               PKG_OPTIONS.slrn
+PKG_SUPPORTED_OPTIONS=         ssl uulib
+PKG_SUGGESTED_OPTIONS=         ssl
+
+.include "../../mk/bsd.options.mk"
+
+###
+### SSL support
+###
+.if !empty(PKG_OPTIONS:Mssl)
+.  include "../../security/openssl/buildlink3.mk"
+CONFIGURE_ARGS+=       --with-ssl=${SSLBASE:Q}
+.else
+CONFIGURE_ARGS+=       --without-ssl
+.endif
+
+###
+### uulib support
+###
+.if !empty(PKG_OPTIONS:Muulib)
+.  include "../../converters/uulib/buildlink3.mk"
+CONFIGURE_ARGS+=       --with-uudeview
+.else
+CONFIGURE_ARGS+=       --without-uudeview
+.endif


Index: options.description
===================================================================
RCS file: /cvsroot/pkgsrc/mk/defaults/options.description,v
retrieving revision 1.197
diff -u -r1.197 options.description
--- options.description 20 Apr 2008 17:13:06 -0000      1.197
+++ options.description 23 Apr 2008 21:05:02 -0000
@@ -315,6 +315,7 @@
 unrealircd-shunnotices Notify a user when they are no longer shunned.
 unrealircd-topicisnuhost       /topic command to show the nick!user@host of 
the person who set the topic.
 unrealircd-ziplinks    Compress data before transmitting it between servers.
+uulib                  Enable uulib support.
 via-padlock            Enable support for the VIA PadLock Security Engine.
 viewvc-php             Use php to colorize .php and .inc files.
 vorbis                 Enable Ogg Vorbis support.

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index