public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/slrn] epel10: - update to 0.9.9-pre108
@ 2026-10-14 13:16 Miroslav Lichvar
0 siblings, 0 replies; only message in thread
From: Miroslav Lichvar @ 2026-10-14 13:16 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/slrn
Branch : epel10
Commit : 52b2fef1d4ba5eb192d2204621f9585b76466c4e
Author : Miroslav Lichvar <mlichvar@fedoraproject.org>
Date : 2008-06-09T10:38:29+00:00
Stats : +200/-379 in 10 file(s)
URL : https://src.fedoraproject.org/rpms/slrn/c/52b2fef1d4ba5eb192d2204621f9585b76466c4e?branch=epel10
Log:
- update to 0.9.9-pre108
- enable inews support
- remove -D_GNU_SOURCE from CFLAGS
---
diff --git a/.cvsignore b/.cvsignore
index 1fef773..5fad1f8 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -1,5 +1 @@
-slrn-0.9.7.4.tar.bz2
-slrn-0.9.8.0.tar.bz2
-slrn-0.9.8.1.tar.bz2
-slrn-0.9.8.1pl1.tar.bz2
-slrn-0.9.8.1pl1-20070716cvs.patch.bz2
+slrn-0.9.9pre108.tar.bz2
diff --git a/slrn-0.9.8.0-config.patch b/slrn-0.9.8.0-config.patch
deleted file mode 100644
index 4fc3bae..0000000
--- a/slrn-0.9.8.0-config.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- slrn-0.9.8.0/src/slrnfeat.h.config 2003-07-30 15:36:32.000000000 +0200
-+++ slrn-0.9.8.0/src/slrnfeat.h 2004-10-06 15:47:45.532559472 +0200
-@@ -162,7 +162,7 @@
- /* The rest of the files apply to slrnpull. */
-
- /* This must be set to an absolute pathname. */
--#define SLRNPULL_ROOT_DIR "/var/spool/news/slrnpull"
-+#define SLRNPULL_ROOT_DIR "/var/spool/slrnpull"
-
- /* The remaing variables are specified as relative names with respect to the
- * SLRNPULL_ROOT_DIR.
diff --git a/slrn-0.9.8.1pl1-nss.patch b/slrn-0.9.8.1pl1-nss.patch
deleted file mode 100644
index adf8b8d..0000000
--- a/slrn-0.9.8.1pl1-nss.patch
+++ /dev/null
@@ -1,331 +0,0 @@
---- slrn-0.9.8.1pl1/configure.in.nss 2007-08-24 13:31:18.000000000 +0200
-+++ slrn-0.9.8.1pl1/configure.in 2007-08-24 13:31:18.000000000 +0200
-@@ -61,6 +61,7 @@ CF_PATH_SLANG_LIB
- CF_PATH_SLANG_INC
- CF_SSL(OpenSSL,ssl)
- CF_SSL([GNU TLS],gnutls)
-+CF_SSL(NSS,nss)
- CF_MTA
- AH_VERBATIM([SLRN_HAS_UUDEVIEW],
- [/* define if you want uudeview support */
-@@ -390,12 +391,17 @@ AH_BOTTOM(
- #if SLRN_HAS_SSL_SUPPORT == 1
- #define SLTCP_HAS_SSL_SUPPORT SLRN_HAS_SSL_SUPPORT
- #else
-+ #if SLRN_HAS_NSS_SUPPORT == 1
-+ #define SLTCP_HAS_SSL_SUPPORT SLRN_HAS_NSS_SUPPORT
-+ #define SLTCP_HAS_NSS_SUPPORT SLRN_HAS_NSS_SUPPORT
-+ #else
- #if SLRN_HAS_GNUTLS_SUPPORT == 1
- #define SLTCP_HAS_SSL_SUPPORT SLRN_HAS_GNUTLS_SUPPORT
- #define SLTCP_HAS_GNUTLS_SUPPORT SLRN_HAS_GNUTLS_SUPPORT
- #else
- #define SLTCP_HAS_SSL_SUPPORT 0
- #endif
-+ #endif
- #endif
-
- #define SLRN_SERVER_ID_NNTP 1
---- slrn-0.9.8.1pl1/src/sltcp.c.nss 2007-08-24 13:31:18.000000000 +0200
-+++ slrn-0.9.8.1pl1/src/sltcp.c 2007-08-24 13:59:11.000000000 +0200
-@@ -112,10 +112,14 @@ extern int h_errno;
- #if SLTCP_HAS_GNUTLS_SUPPORT
- # include <gnutls/openssl.h>
- #else
--# if SLTCP_HAS_SSL_SUPPORT
--# include <openssl/ssl.h>
--# include <openssl/err.h>
--# include <openssl/rand.h>
-+# if SLTCP_HAS_NSS_SUPPORT
-+# include <nss_compat_ossl.h>
-+# else
-+# if SLTCP_HAS_SSL_SUPPORT
-+# include <openssl/ssl.h>
-+# include <openssl/err.h>
-+# include <openssl/rand.h>
-+# endif
- # endif
- #endif
-
-@@ -487,14 +491,17 @@ static void dump_ssl_error_0 (void)
- slrn_error ("%s\n", ERR_error_string(err, 0));
- }
-
-+#if !SLTCP_HAS_NSS_SUPPORT
- unsigned long Fast_Random;
- static unsigned long fast_random (void)
- {
- return (Fast_Random = Fast_Random * 69069U + 1013904243U);
- }
-+#endif
-
- static int init_ssl_random (void)
- {
-+#if !SLTCP_HAS_NSS_SUPPORT
- time_t t;
- pid_t pid;
- unsigned int count;
-@@ -516,6 +523,7 @@ static int init_ssl_random (void)
- unsigned long r = fast_random ();
- RAND_seed (&r, sizeof (unsigned long));
- }
-+#endif
- if (RAND_status ())
- return 0;
-
---- slrn-0.9.8.1pl1/autoconf/acinclude.m4.nss 2004-10-05 16:06:08.000000000 +0200
-+++ slrn-0.9.8.1pl1/autoconf/acinclude.m4 2007-08-24 13:31:18.000000000 +0200
-@@ -320,6 +320,9 @@ AC_DEFUN([CF_SSL],
- AH_VERBATIM([SLRN_HAS_SSL_SUPPORT],
- [/* define if you want SSL support using OpenSSL */
- #define SLRN_HAS_SSL_SUPPORT 0])
-+ AH_VERBATIM([SLRN_HAS_NSS_SUPPORT],
-+[/* define if you want SSL support using NSS */
-+#define SLRN_HAS_NSS_SUPPORT 0])
- AH_VERBATIM([SLRN_HAS_GNUTLS_SUPPORT],
- [/* define if you want SSL support using GNU TLS */
- #define SLRN_HAS_GNUTLS_SUPPORT 0])
-@@ -368,9 +371,13 @@ AC_DEFUN([CF_SSL],
- ssl_library_dirs="$ac_ssl_home $ac_ssl_home/lib $ssl_library_dirs"
- fi
-
-+ ssl_lib=$2
-+ if test "x$ssl_lib" = xnss; then
-+ ssl_lib=nss_compat_osasl
-+ fi
- for ssl_dir in $ssl_library_dirs; do
-- if test -r "$ssl_dir/lib$2.a" || \
-- test -r "$ssl_dir/lib$2.so" ; then
-+ if test -r "$ssl_dir/lib$ssl_lib.a" || \
-+ test -r "$ssl_dir/lib$ssl_lib.so" ; then
- ac_ssl_library="$ssl_dir"
- break
- fi
-@@ -384,50 +391,80 @@ AC_DEFUN([CF_SSL],
- AC_MSG_RESULT([$ac_ssl_library])
-
- if test "x$ac_ssl_library" = xno || test "x$ac_ssl_library" = xyes; then
-- if test "$1" = OpenSSL ; then
-- AC_MSG_ERROR([
-+ case "$1" in
-+ OpenSSL)
-+ AC_MSG_ERROR([
-
- Please install the OpenSSL library. If you already did so, point this script
- to the right directory with the --with-ssl-library=DIR option.
- ])
-- else
-- AC_MSG_ERROR([
-+ ;;
-+ NSS)
-+ AC_MSG_ERROR([
-+
-+Please install the nss_compat_ossl library. If you already did so, point this script
-+to the right directory with the --with-nss-library=DIR option.
-+])
-+ ;;
-+ *)
-+ AC_MSG_ERROR([
-
- Please install the GNU TLS library. If you already did so, point this script
- to the right directory with the --with-gnutls-library=DIR option.
- ])
-- fi
-+ ;;
-+ esac
- fi
-
- # gcc under solaris is often not installed correctly. Avoid specifying
- # -L/usr/lib.
-- if test "$1" = OpenSSL ; then
-- if test "x$ac_ssl_library" = "x/usr/lib" ; then
-- SSLLIB="-lssl -lcrypto"
-- else
-- if test "x$enable_hardcode_libs" = "xyes" ; then
-- SSLLIB="-L$ac_ssl_library $cf_rpath_option$ac_ssl_library -lssl -lcrypto"
-+ case "$1" in
-+ OpenSSL)
-+ if test "x$ac_ssl_library" = "x/usr/lib" ; then
-+ SSLLIB="-lssl -lcrypto"
- else
-- SSLLIB="-L$ac_ssl_library -lssl -lcrypto"
-+ if test "x$enable_hardcode_libs" = "xyes" ; then
-+ SSLLIB="-L$ac_ssl_library $cf_rpath_option$ac_ssl_library -lssl -lcrypto"
-+ else
-+ SSLLIB="-L$ac_ssl_library -lssl -lcrypto"
-+ fi
- fi
-- fi
-- else
-- if test "x$ac_ssl_library" = "x/usr/lib" ; then
-- SSLLIB="-lgnutls-extra -lgnutls -ltasn1 -lgcrypt -lgnutls-openssl"
-- else
-- if test "x$enable_hardcode_libs" = "xyes" ; then
-- SSLLIB="-L$ac_ssl_library $cf_rpath_option$ac_ssl_library -lgnutls-extra -lgnutls -ltasn1 -lgcrypt -lgnutls-openssl"
-+ ;;
-+ NSS)
-+ if test "x$ac_ssl_library" = "x/usr/lib" ; then
-+ SSLLIB="-lnss_compat_ossl"
- else
-- SSLLIB="-L$ac_ssl_library -lgnutls-extra -lgnutls -ltasn1 -lgcrypt -lgnutls-openssl"
-+ if test "x$enable_hardcode_libs" = "xyes" ; then
-+ SSLLIB="-L$ac_ssl_library $cf_rpath_option$ac_ssl_library -lnss_compat_ossl"
-+ else
-+ SSLLIB="-L$ac_ssl_library -lnss_compat_ossl"
-+ fi
- fi
-- fi
-- fi
-+ ;;
-+ *)
-+ if test "x$ac_ssl_library" = "x/usr/lib" ; then
-+ SSLLIB="-lgnutls-extra -lgnutls -ltasn1 -lgcrypt -lgnutls-openssl"
-+ else
-+ if test "x$enable_hardcode_libs" = "xyes" ; then
-+ SSLLIB="-L$ac_ssl_library $cf_rpath_option$ac_ssl_library -lgnutls-extra -lgnutls -ltasn1 -lgcrypt -lgnutls-openssl"
-+ else
-+ SSLLIB="-L$ac_ssl_library -lgnutls-extra -lgnutls -ltasn1 -lgcrypt -lgnutls-openssl"
-+ fi
-+ fi
-+ ;;
-+ esac
-
-- if test "$1" = OpenSSL ; then
-- AC_MSG_CHECKING(for the OpenSSL includes)
-- else
-- AC_MSG_CHECKING(for the GNU TLS OpenSSL compatibility includes)
-- fi
-+ case "$1" in
-+ OpenSSL)
-+ AC_MSG_CHECKING(for the OpenSSL includes)
-+ ;;
-+ NSS)
-+ AC_MSG_CHECKING(for the NSS includes)
-+ ;;
-+ *)
-+ AC_MSG_CHECKING(for the GNU TLS OpenSSL compatibility includes)
-+ ;;
-+ esac
-
- if test "x$ac_ssl_includes" = xno || test "x$ac_ssl_includes" = xyes ; then
-
-@@ -450,11 +487,14 @@ to the right directory with the --with-g
- ssl_include_dirs="$ac_ssl_home $ac_ssl_home/include $ssl_include_dirs"
- fi
-
-- if test "$1" = OpenSSL ; then
-- ssl_file="openssl/ssl.h"
-- else
-- ssl_file="gnutls/openssl.h"
-- fi
-+ case "$1" in
-+ OpenSSL)
-+ ssl_file="openssl/ssl.h";;
-+ NSS)
-+ ssl_file="nss_compat_ossl/nss_compat_ossl.h";;
-+ *)
-+ ssl_file="gnutls/openssl.h";;
-+ esac
-
- for ssl_dir in $ssl_include_dirs; do
- if test -r "$ssl_dir/$ssl_file"; then
-@@ -471,42 +511,68 @@ to the right directory with the --with-g
- AC_MSG_RESULT([$ac_ssl_includes])
-
- if test "x$ac_ssl_includes" = xno || test "x$ac_ssl_includes" = xyes; then
-- if test "$1" = OpenSSL ; then
-- AC_MSG_ERROR([
--
--Please install the OpenSSL header files. If you already did so, point this
--script to the right directory with the --with-ssl-includes=DIR option.
--])
-- else
-- AC_MSG_ERROR([
--
--Please install the GNU TLS header files. If you already did so, point this
--script to the right directory with the --with-ssl-includes=DIR option.
--])
-- fi
-- fi
--
-- # gcc under solaris is often not installed correctly. Avoid specifying
-- # -I/usr/include.
-- if test "x$ac_ssl_includes" = "x/usr/include" ; then
-- SSLINC=""
-- else
-- SSLINC="-I$ac_ssl_includes"
-+ case "$1" in
-+ OpenSSL)
-+ AC_MSG_ERROR([
-+
-+ Please install the OpenSSL header files. If you already did so, point this
-+ script to the right directory with the --with-ssl-includes=DIR option.
-+ ])
-+ ;;
-+ NSS)
-+ AC_MSG_ERROR([
-+
-+ Please install the NSS header files. If you already did so, point this
-+ script to the right directory with the --with-nss-includes=DIR option.
-+ ])
-+ ;;
-+ *)
-+ AC_MSG_ERROR([
-+
-+ Please install the GNU TLS header files. If you already did so, point this
-+ script to the right directory with the --with-gnutls-includes=DIR option.
-+ ])
-+ ;;
-+ esac
-+ fi
-+
-+ if test "$1" = NSS ; then
-+ SSLINC="-I$ac_ssl_includes/nss_compat_ossl -I$ac_ssl_includes/nss3 -I$ac_ssl_includes/nspr4"
-+ else
-+ # gcc under solaris is often not installed correctly. Avoid specifying
-+ # -I/usr/include.
-+ if test "x$ac_ssl_includes" = "x/usr/include" ; then
-+ SSLINC=""
-+ else
-+ SSLINC="-I$ac_ssl_includes"
-+ fi
- fi
-
-- if test "$1" = OpenSSL ; then
-- AC_DEFINE(SLRN_HAS_SSL_SUPPORT, 1)
-- else
-- AC_DEFINE(SLRN_HAS_GNUTLS_SUPPORT, 1)
-- fi
-+ case "$1" in
-+ OpenSSL)
-+ AC_DEFINE(SLRN_HAS_SSL_SUPPORT, 1)
-+ ;;
-+ NSS)
-+ AC_DEFINE(SLRN_HAS_NSS_SUPPORT, 1)
-+ ;;
-+ *)
-+ AC_DEFINE(SLRN_HAS_GNUTLS_SUPPORT, 1)
-+ ;;
-+ esac
- AC_SUBST(SSLINC)
- AC_SUBST(SSLLIB)
- else
-- if test "$1" = OpenSSL ; then
-- AC_DEFINE(SLRN_HAS_SSL_SUPPORT, 0)
-- else
-- AC_DEFINE(SLRN_HAS_GNUTLS_SUPPORT, 0)
-- fi
-+ case "$1" in
-+ OpenSSL)
-+ AC_DEFINE(SLRN_HAS_SSL_SUPPORT, 0)
-+ ;;
-+ NSS)
-+ AC_DEFINE(SLRN_HAS_NSS_SUPPORT, 0)
-+ ;;
-+ *)
-+ AC_DEFINE(SLRN_HAS_GNUTLS_SUPPORT, 0)
-+ ;;
-+ esac
- fi
- ])
-
diff --git a/slrn-0.9.9pre108-gcc.patch b/slrn-0.9.9pre108-gcc.patch
new file mode 100644
index 0000000..f394c63
--- /dev/null
+++ b/slrn-0.9.9pre108-gcc.patch
@@ -0,0 +1,16 @@
+diff -up slrn/autoconf/aclocal.m4.gcc slrn/autoconf/aclocal.m4
+--- slrn/autoconf/aclocal.m4.gcc 2008-06-02 05:59:39.000000000 +0200
++++ slrn/autoconf/aclocal.m4 2008-06-05 19:07:54.000000000 +0200
+@@ -501,11 +501,11 @@ dnl#}}}
+
+ AC_DEFUN(JD_ANSI_CC, dnl#{{{
+ [
++AC_AIX
+ AC_PROG_CC
+ AC_PROG_CPP
+ AC_PROG_GCC_TRADITIONAL
+ AC_ISC_POSIX
+-AC_AIX
+
+ dnl #This stuff came from Yorick config script
+ dnl
diff --git a/slrn-0.9.9pre108-makefile.patch b/slrn-0.9.9pre108-makefile.patch
new file mode 100644
index 0000000..ef30d9a
--- /dev/null
+++ b/slrn-0.9.9pre108-makefile.patch
@@ -0,0 +1,23 @@
+diff -up slrn/src/Makefile.in.makefile slrn/src/Makefile.in
+--- slrn/src/Makefile.in.makefile 2008-03-03 20:39:26.000000000 +0100
++++ slrn/src/Makefile.in 2008-06-09 12:32:47.000000000 +0200
+@@ -27,7 +27,7 @@ ICONV_LIB = @LIBICONV@ @LIBINTL@
+ SYSLIBS = @X_EXTRA_LIBS@ @TERMCAP@
+
+ #-----------------------------------------------------------------------------
+-RPATH = @RPATH@
++RPATH =
+
+ #---------------------------------------------------------------------------
+ # Installation Directories
+@@ -204,8 +204,8 @@ installslang:
+ installlocales:
+ cd ../po; $(MAKE) DESTDIR=$(DESTDIR) LOCALEDIR=$(LOCALEDIR) install
+ installbin:
+- $(INSTALL) -m 755 -s $(OBJDIR)/slrn $(DEST_BINDIR)
+- -$(INSTALL) -m 755 -s $(OBJDIR)/slrnpull $(DEST_BINDIR)
++ $(INSTALL) -m 755 $(OBJDIR)/slrn $(DEST_BINDIR)
++ -$(INSTALL) -m 755 $(OBJDIR)/slrnpull $(DEST_BINDIR)
+ install: all installdirs installbin installdocs installslang installlocales
+
+ # The symlinks target is for my own private use. It simply creates the object
diff --git a/slrn-0.9.9pre108-nss.patch b/slrn-0.9.9pre108-nss.patch
new file mode 100644
index 0000000..0393e7e
--- /dev/null
+++ b/slrn-0.9.9pre108-nss.patch
@@ -0,0 +1,117 @@
+diff -up slrn/autoconf/configure.ac.nss slrn/autoconf/configure.ac
+--- slrn/autoconf/configure.ac.nss 2008-06-02 05:59:39.000000000 +0200
++++ slrn/autoconf/configure.ac 2008-06-06 15:15:15.000000000 +0200
+@@ -200,6 +200,9 @@ AC_SUBST(INCICONV)dnl# AM_GNU_GETTEXT do
+ #---------------------------------------------------------------------------
+ # SSL stuff
+ #---------------------------------------------------------------------------
++AC_ARG_WITH(nss-compat,
++ [ --with-nss-compat Use NSS compat library instead of OpenSSL],
++ [use_nss_compat=$withval], [use_nss_compat=no])
+ AC_CACHE_CHECK(if you want SSL support,jd_use_ssl,
+ [
+ AC_ARG_WITH(ssl,
+@@ -212,17 +215,30 @@ xno)
+ SSLLIB=
+ ;;
+ x|xyes)
+- SSLINC="-I/usr/local/ssl/include"
+- SSLLIB="-L/usr/local/ssl/lib -lssl -lcrypto"
++ if test "x$use_nss_compat" != xno; then
++ SSLINC="-I/usr/local/include/nss_compat_ossl -I/usr/local/include/nss3 -I/usr/local/include/nspr4"
++ SSLLIB="-L/usr/local/lib -lnss_compat_ossl"
++ else
++ SSLINC="-I/usr/local/ssl/include"
++ SSLLIB="-L/usr/local/ssl/lib -lssl -lcrypto"
++ fi
+ ;;
+ *)
+- SSLINC="-I$jd_use_ssl/include"
+- SSLLIB="-L$jd_use_ssl/lib -lssl -lcrypto"
++ if test "x$use_nss_compat" != xno; then
++ SSLINC="-I$jd_use_ssl/include/nss_compat_ossl -I$jd_use_ssl/include/nss3 -I$jd_use_ssl/include/nspr4"
++ SSLLIB="-L$jd_use_ssl/lib -lnss_compat_ossl"
++ else
++ SSLINC="-I$jd_use_ssl/include"
++ SSLLIB="-L$jd_use_ssl/lib -lssl -lcrypto"
++ fi
+ esac
+ AC_SUBST(SSLINC)
+ AC_SUBST(SSLLIB)
+ if test "x$SSLINC" != x; then
+ AC_DEFINE(USE_SSL)
++ if test "x$use_nss_compat" != xno; then
++ AC_DEFINE(USE_NSS_COMPAT)
++ fi
+ fi
+
+ #---------------------------------------------------------------------------
+diff -up slrn/src/config.hin.nss slrn/src/config.hin
+--- slrn/src/config.hin.nss 2008-06-02 05:59:39.000000000 +0200
++++ slrn/src/config.hin 2008-06-06 15:08:57.000000000 +0200
+@@ -16,6 +16,9 @@
+ /* define if you want SSL support */
+ #undef USE_SSL
+
++/* define if you want NSS compat support */
++#undef USE_NSS_COMPAT
++
+ /* define if you have stdlib.h */
+ #undef HAVE_STDLIB_H
+
+@@ -162,6 +165,9 @@
+ #define SLTCP_HAS_GNUTLS_SUPPORT SLRN_HAS_GNUTLS_SUPPORT
+ #define SLTCP_HAS_SSL_SUPPORT SLRN_HAS_SSL_SUPPORT
+
++#ifdef USE_NSS_COMPAT
++# define SLTCP_HAS_NSS_COMPAT 1
++#endif
+
+ #define SLRN_SERVER_ID_NNTP 1
+ #define SLRN_SERVER_ID_SPOOL 2
+diff -up slrn/src/sltcp.c.nss slrn/src/sltcp.c
+--- slrn/src/sltcp.c.nss 2007-11-06 05:34:40.000000000 +0100
++++ slrn/src/sltcp.c 2008-06-06 15:08:57.000000000 +0200
+@@ -114,9 +114,13 @@ extern int h_errno;
+ # include <gnutls/openssl.h>
+ #else
+ # if SLTCP_HAS_SSL_SUPPORT
+-# include <openssl/ssl.h>
+-# include <openssl/err.h>
+-# include <openssl/rand.h>
++# if SLTCP_HAS_NSS_COMPAT
++# include <nss_compat_ossl.h>
++# else
++# include <openssl/ssl.h>
++# include <openssl/err.h>
++# include <openssl/rand.h>
++# endif
+ # endif
+ #endif
+
+@@ -509,14 +513,17 @@ static void dump_ssl_error_0 (void)
+ print_error ("%s\n", ERR_error_string(err, 0));
+ }
+
++#if !SLTCP_HAS_NSS_COMPAT
+ unsigned long Fast_Random;
+ static unsigned long fast_random (void)
+ {
+ return (Fast_Random = Fast_Random * 69069U + 1013904243U);
+ }
++#endif
+
+ static int init_ssl_random (void)
+ {
++#if !SLTCP_HAS_NSS_COMPAT
+ time_t t;
+ pid_t pid;
+ unsigned int count;
+@@ -538,6 +545,7 @@ static int init_ssl_random (void)
+ unsigned long r = fast_random ();
+ RAND_seed (&r, sizeof (unsigned long));
+ }
++#endif
+ if (RAND_status ())
+ return 0;
+
diff --git a/slrn-0.9.9pre108-sendmail.patch b/slrn-0.9.9pre108-sendmail.patch
new file mode 100644
index 0000000..8de9c89
--- /dev/null
+++ b/slrn-0.9.9pre108-sendmail.patch
@@ -0,0 +1,12 @@
+diff -up slrn/src/slrnfeat.hin.sendmail slrn/src/slrnfeat.hin
+--- slrn/src/slrnfeat.hin.sendmail 2008-02-09 19:32:17.000000000 +0100
++++ slrn/src/slrnfeat.hin 2008-06-09 11:16:36.000000000 +0200
+@@ -179,7 +179,7 @@
+ # define SLRN_SIGNATURE_FILE ".signature"
+ /* Changing these here has no effect when using ./configure */
+ # ifndef SLRN_SENDMAIL_COMMAND
+-# define SLRN_SENDMAIL_COMMAND "/usr/lib/sendmail -oi -t -oem -odb"
++# define SLRN_SENDMAIL_COMMAND "/usr/sbin/sendmail -oi -t -oem -odb"
+ # endif
+ # endif /* unix */
+ # endif /* os2 */
diff --git a/slrn-scorefile.patch b/slrn-scorefile.patch
deleted file mode 100644
index 652fc41..0000000
--- a/slrn-scorefile.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- slrn-0.9.6.2/src/score.c.foo Sat Jun 10 18:34:04 2000
-+++ slrn-0.9.6.2/src/score.c Sat Jun 10 18:34:14 2000
-@@ -853,8 +853,7 @@
-
- if (NULL == (fp = fopen (file, "r")))
- {
-- slrn_error (_("Unable to open score file %s"), file);
-- return -1;
-+ return 0;
- }
-
- ret = phrase_score_file((char*)thisfile->filename, fp, c, &linenum, NULL);
diff --git a/slrn.spec b/slrn.spec
index f946671..588686b 100644
--- a/slrn.spec
+++ b/slrn.spec
@@ -1,20 +1,23 @@
Summary: A threaded Internet news reader
Name: slrn
-Version: 0.9.8.1pl1
-Release: 8.20070716cvs%{?dist}
+Version: 0.9.9
+Release: 0.1.pre108%{?dist}
License: GPLv2+
Group: Applications/Internet
-Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
+# tarball generated by:
+# svn export -r 272 https://slrn.svn.sourceforge.net/svnroot/slrn/trunk slrn
+# tar cjf slrn-0.9.9pre108.tar.bz2 slrn
+Source0: slrn-0.9.9pre108.tar.bz2
Source1: slrnpull-expire
Source2: slrnpull.log
Source4: README.rpm-slrnpull
-Patch0: slrn-0.9.8.0-config.patch
-Patch1: slrn-scorefile.patch
-Patch3: slrn-0.9.8.1pl1-20070716cvs.patch.bz2
-Patch4: slrn-0.9.8.1pl1-nss.patch
+Patch1: slrn-0.9.9pre108-makefile.patch
+Patch2: slrn-0.9.9pre108-sendmail.patch
+Patch3: slrn-0.9.9pre108-gcc.patch
+Patch4: slrn-0.9.9pre108-nss.patch
Patch5: slrn-0.9.8.1pl1-getaddr.patch
-BuildRequires: automake autoconf gettext-devel
-BuildRequires: nss-devel nss_compat_ossl-devel slang-devel /usr/sbin/sendmail
+BuildRequires: autoconf gettext-devel inews
+BuildRequires: nss-devel nss_compat_ossl-devel slang-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
URL: http://slrn.sourceforge.net/
@@ -36,10 +39,10 @@ news reader. You also need to have the slrn package installed to use
the slrnpull utility.
%prep
-%setup -q
-%patch0 -p1 -b .config
-%patch1 -p1 -b .scorefile
-%patch3 -p1
+%setup -q -n slrn
+%patch1 -p1 -b .makefile
+%patch2 -p1 -b .sendmail
+%patch3 -p1 -b .gcc
%patch4 -p1 -b .nss
%patch5 -p1 -b .getaddr
@@ -48,11 +51,15 @@ for i in changes.txt; do
done
%build
-sh ./autogen.sh -V
-export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE"
-%configure --with-nss --with-slrnpull \
- --with-nss-includes=%{_includedir} --with-nss-library=%{_libdir} \
- --enable-setgid-code
+autoconf -o configure -I autoconf autoconf/configure.ac
+%configure \
+ --with-slanginc=%{_includedir}/slang \
+ --with-slanglib=%{_libdir} \
+ --with-ssl=%{_prefix} \
+ --with-nss-compat \
+ --with-slrnpull=%{_var}/spool/slrnpull \
+ --enable-inews \
+ --enable-setgid-code
make %{?_smp_mflags}
%install
@@ -102,6 +109,11 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man1/slrnpull.1*
%changelog
+* Mon Jun 09 2008 Miroslav Lichvar <mlichvar@redhat.com> 0.9.9-0.1.pre108
+- update to 0.9.9-pre108
+- enable inews support
+- remove -D_GNU_SOURCE from CFLAGS
+
* Wed Feb 13 2008 Miroslav Lichvar <mlichvar@redhat.com> 0.9.8.1pl1-8.20070716cvs
- fix building with new glibc headers
diff --git a/sources b/sources
index dbbffce..20222b5 100644
--- a/sources
+++ b/sources
@@ -1,2 +1 @@
-1fe15c359f671d4ab038b7f2ed7507e0 slrn-0.9.8.1pl1.tar.bz2
-cf0f269fe527470d917d7a5cea34b00a slrn-0.9.8.1pl1-20070716cvs.patch.bz2
+47635fabe9711079870839d2bfc43026 slrn-0.9.9pre108.tar.bz2
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-14 13:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-14 13:16 [rpms/slrn] epel10: - update to 0.9.9-pre108 Miroslav Lichvar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox