pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[PATCH] Add SSL and uulib support to news/slrn
Hi
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.
-mj
--
Michael-John Turner
mj%mjturner.net@localhost | http://mjturner.net/
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.
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
Home |
Main Index |
Thread Index |
Old Index