public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Miroslav Lichvar <mlichvar@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/slrn] epel10: - update to 0.9.9
Date: Wed, 14 Oct 2026 13:16:25 GMT [thread overview]
Message-ID: <179198378586.1.11595267316658267751.rpms-slrn-701eefc028ea@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/slrn
Branch : epel10
Commit : 701eefc028ea2011ca6b988f93afeed5093a3fcb
Author : Miroslav Lichvar <mlichvar@fedoraproject.org>
Date : 2008-08-26T13:20:16+00:00
Stats : +9/-201 in 6 file(s)
URL : https://src.fedoraproject.org/rpms/slrn/c/701eefc028ea2011ca6b988f93afeed5093a3fcb?branch=epel10
Log:
- update to 0.9.9
---
diff --git a/.cvsignore b/.cvsignore
index 5fad1f8..63134f0 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -1 +1 @@
-slrn-0.9.9pre108.tar.bz2
+slrn-0.9.9.tar.gz
diff --git a/slrn-0.9.8.1pl1-getaddr.patch b/slrn-0.9.8.1pl1-getaddr.patch
deleted file mode 100644
index d8ddf0f..0000000
--- a/slrn-0.9.8.1pl1-getaddr.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-diff -up slrn-0.9.8.1pl1/src/misc.c.getaddr slrn-0.9.8.1pl1/src/misc.c
---- slrn-0.9.8.1pl1/src/misc.c.getaddr 2007-10-16 10:26:19.000000000 +0200
-+++ slrn-0.9.8.1pl1/src/misc.c 2007-10-16 12:12:54.000000000 +0200
-@@ -2808,10 +2808,14 @@ int slrn_is_fqdn (char *h) /*{{{*/
- /* Try to get a fully qualified domain name. */
- static char *get_hostname (void)
- {
-+#ifdef HAVE_GETADDRINFO
-+ struct addrinfo hint, *res;
-+ int r;
-+#else
- struct hostent *host_entry;
-+#endif
- char buf[MAX_HOST_NAME_LEN + 1];
-
-- host_entry = NULL;
- if ((-1 == gethostname (buf, MAX_HOST_NAME_LEN))
- || (*buf == 0))
- return NULL;
-@@ -2820,6 +2824,24 @@ static char *get_hostname (void)
- * to get more information. Why isn't there a simplified interface to
- * get the FQDN!!!!
- */
-+#ifdef HAVE_GETADDRINFO
-+ memset(&hint, 0, sizeof (hint));
-+ hint.ai_flags = AI_CANONNAME;
-+
-+ r = getaddrinfo(buf, NULL, &hint, &res);
-+ if (r == EAI_AGAIN)
-+ {
-+ slrn_sleep (2);
-+ r = getaddrinfo(buf, NULL, &hint, &res);
-+ }
-+
-+ if (r == 0 && res && res->ai_canonname)
-+ {
-+ char *ret = slrn_safe_strmalloc (res->ai_canonname);
-+ freeaddrinfo(res);
-+ return ret;
-+ }
-+#else
- host_entry = gethostbyname (buf);
-
- #if defined(TRY_AGAIN) && !defined(MULTINET)
-@@ -2850,6 +2872,7 @@ static char *get_hostname (void)
- return slrn_safe_strmalloc ((char *)host_entry->h_name);
- }
-
-+#endif
- return slrn_safe_strmalloc (buf);
- }
-
diff --git a/slrn-0.9.9pre108-gcc.patch b/slrn-0.9.9pre108-gcc.patch
deleted file mode 100644
index f394c63..0000000
--- a/slrn-0.9.9pre108-gcc.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-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-nss.patch b/slrn-0.9.9pre108-nss.patch
deleted file mode 100644
index 0393e7e..0000000
--- a/slrn-0.9.9pre108-nss.patch
+++ /dev/null
@@ -1,117 +0,0 @@
-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.spec b/slrn.spec
index 588686b..dc9464a 100644
--- a/slrn.spec
+++ b/slrn.spec
@@ -1,23 +1,17 @@
Summary: A threaded Internet news reader
Name: slrn
Version: 0.9.9
-Release: 0.1.pre108%{?dist}
+Release: 1%{?dist}
License: GPLv2+
Group: Applications/Internet
-# 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
+Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
Source1: slrnpull-expire
Source2: slrnpull.log
Source4: README.rpm-slrnpull
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: autoconf gettext-devel inews
BuildRequires: nss-devel nss_compat_ossl-devel slang-devel
+BuildRequires: inews
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
URL: http://slrn.sourceforge.net/
@@ -39,19 +33,15 @@ news reader. You also need to have the slrn package installed to use
the slrnpull utility.
%prep
-%setup -q -n slrn
+%setup -q
%patch1 -p1 -b .makefile
%patch2 -p1 -b .sendmail
-%patch3 -p1 -b .gcc
-%patch4 -p1 -b .nss
-%patch5 -p1 -b .getaddr
for i in changes.txt; do
iconv -f iso8859-1 -t utf8 -o ${i}{_,} && touch -r ${i}{,_} && mv -f ${i}{_,}
done
%build
-autoconf -o configure -I autoconf autoconf/configure.ac
%configure \
--with-slanginc=%{_includedir}/slang \
--with-slanglib=%{_libdir} \
@@ -109,6 +99,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man1/slrnpull.1*
%changelog
+* Tue Aug 26 2008 Miroslav Lichvar <mlichvar@redhat.com> 0.9.9-1
+- update to 0.9.9
+
* Mon Jun 09 2008 Miroslav Lichvar <mlichvar@redhat.com> 0.9.9-0.1.pre108
- update to 0.9.9-pre108
- enable inews support
diff --git a/sources b/sources
index 20222b5..f73900f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-47635fabe9711079870839d2bfc43026 slrn-0.9.9pre108.tar.bz2
+87c0172887bf6e020759bf6241c003fc slrn-0.9.9.tar.gz
reply other threads:[~2026-10-14 13:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179198378586.1.11595267316658267751.rpms-slrn-701eefc028ea@fedoraproject.org \
--to=mlichvar@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox