bugfix update to 2.4.4

This commit is contained in:
giovanni 2020-01-24 16:01:19 +00:00
parent 9df5c416fe
commit c19192099e
7 changed files with 21 additions and 31 deletions

View File

@ -1,12 +1,11 @@
# $OpenBSD: Makefile,v 1.55 2019/07/14 00:39:38 naddy Exp $
# $OpenBSD: Makefile,v 1.56 2020/01/24 16:01:19 giovanni Exp $
COMMENT= threaded NNTP- and spool-based UseNet newsreader
DISTNAME= tin-${MAJORVERSION}.${PATCHLEVEL}
MAJORVERSION= 2.4
PATCHLEVEL= 3
PATCHLEVEL= 4
CATEGORIES= news
REVISION= 0
MASTER_SITES= ftp://ftp.tin.org/pub/news/clients/tin/stable/ \
http://ftp.cuhk.edu.hk/pub/packages/news/tin/v${MAJORVERSION}/ \
@ -28,7 +27,7 @@ PERMIT_PACKAGE= Yes
WANTLIB= c>=58.2 iconv icuuc intl curses pcre
CONFIGURE_STYLE= autoconf no-autoheader
AUTOCONF_VERSION= 2.13
AUTOCONF_VERSION= 2.69
# --with-x does not affect the build, but let's be safe.
CONFIGURE_ARGS+= --with-ispell=${LOCALBASE}/bin/ispell \

View File

@ -1,2 +1,2 @@
SHA256 (tin-2.4.3.tar.gz) = EUJZCuaurmpvxNdZOgcCOYrk4NZkdJBEi3p1BHJ+1a0=
SIZE (tin-2.4.3.tar.gz) = 3213660
SHA256 (tin-2.4.4.tar.gz) = K1E6q8C5T36S7KF14+0aVQAwdpwHuyNtHakD/tnORDE=
SIZE (tin-2.4.4.tar.gz) = 3218544

View File

@ -1,16 +1,7 @@
$OpenBSD: patch-configure_in,v 1.4 2018/01/19 07:39:54 giovanni Exp $
$OpenBSD: patch-configure_in,v 1.5 2020/01/24 16:01:19 giovanni Exp $
Index: configure.in
--- configure.in.orig
+++ configure.in
@@ -34,7 +34,7 @@ dnl SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SU
dnl
dnl Process this file with autoconf to produce a configure script.
-AC_PREREQ(2.13.20110430)
+AC_PREREQ(2.13)
AC_INIT(include/tin.h)
AC_CONFIG_HEADER(include/autoconf.h:include/autoconf.hin)
AC_PREFIX_DEFAULT(/usr/local)
@@ -900,13 +900,15 @@ fi
### Checks for libraries.
# libuu/uudeview
@ -34,7 +25,7 @@ Index: configure.in
# ICU - International Components for Unicode
@@ -1210,7 +1212,11 @@ CF_TERMIOS
@@ -1235,7 +1237,11 @@ CF_TERMIOS
CF_PW_GECOS
CF_TM_GMTOFF

View File

@ -1,8 +1,8 @@
$OpenBSD: patch-src_Makefile_in,v 1.8 2018/01/19 07:39:54 giovanni Exp $
$OpenBSD: patch-src_Makefile_in,v 1.9 2020/01/24 16:01:19 giovanni Exp $
Index: src/Makefile.in
--- src/Makefile.in.orig
+++ src/Makefile.in
@@ -79,6 +79,7 @@ LINK_LIBS = $(PCRE_LIBS) $(CANLIB) @LIBS@ $(INTL_LIBS)
@@ -81,6 +81,7 @@ LINK_LIBS = $(PCRE_LIBS) $(CANLIB) @LIBS@ $(INTL_LIBS)
# Where do you want the binary & manual page installed?
DESTDIR = @DESTDIR@
INS_BINARY_DIR = @bindir@
@ -10,7 +10,7 @@ Index: src/Makefile.in
INS_MANUAL_DIR = @mandir@/man
INS_SYSDEF_DIR = @TIN_DEFAULTS_DIR@
INS_MANUAL_EXT = 1
@@ -330,6 +331,7 @@ help :
@@ -332,6 +333,7 @@ help :
$(DESTDIR)$(INS_MANUAL_DIR)$(INS_MANUAL_EXT) \
$(DESTDIR)$(INS_MANUAL_DIR)5 \
$(DESTDIR)$(INS_BINARY_DIR) \
@ -18,7 +18,7 @@ Index: src/Makefile.in
$(DESTDIR)$(INS_SYSDEF_DIR) :
mkdir -p $@
@@ -338,11 +340,6 @@ install_manpage : $(DESTDIR)$(INS_MANUAL_DIR)$(INS_MAN
@@ -340,11 +342,6 @@ install_manpage : $(DESTDIR)$(INS_MANUAL_DIR)$(INS_MAN
@$(INSTALL) -m 444 $(DOCDIR)/tin.1 $(DESTDIR)$(INS_MANUAL_DIR)$(INS_MANUAL_EXT)/$(PROJECT).$(INS_MANUAL_EXT)
@( $(CD) $(DESTDIR)$(INS_MANUAL_DIR)$(INS_MANUAL_EXT) && $(RM) -f r$(PROJECT).$(INS_MANUAL_EXT) && $(LN) $(PROJECT).$(INS_MANUAL_EXT) r$(PROJECT).$(INS_MANUAL_EXT) )
@$(INSTALL) -m 444 $(DOCDIR)/tin.5 $(DESTDIR)$(INS_MANUAL_DIR)5/$(PROJECT).5
@ -30,7 +30,7 @@ Index: src/Makefile.in
uninstall_manpage :
@$(ECHO) "Uninstalling $(PROJECT) manual page in $(DESTDIR)$(INS_MANUAL_DIR)$(INS_MANUAL_EXT) ..."
@@ -380,13 +377,13 @@ uninstall_sysdefs :
@@ -382,13 +379,13 @@ uninstall_sysdefs :
@-$(RM) -f $(DESTDIR)$(INS_SYSDEF_DIR)/tin.defaults
@-$(RM) -f $(DESTDIR)$(INS_SYSDEF_DIR)/mime.types

View File

@ -1,9 +1,9 @@
$OpenBSD: patch-src_misc_c,v 1.2 2018/01/19 07:39:54 giovanni Exp $
$OpenBSD: patch-src_misc_c,v 1.3 2020/01/24 16:01:19 giovanni Exp $
Index: src/misc.c
--- src/misc.c.orig
+++ src/misc.c
@@ -2160,8 +2160,6 @@ random_organization(
if (*in_org != '/') /* M_UNIXism?! */
@@ -2158,8 +2158,6 @@ random_organization(
if (*in_org != '/')
return in_org;
- srand((unsigned int) time(NULL));
@ -11,7 +11,7 @@ Index: src/misc.c
if ((orgfp = fopen(in_org, "r")) == NULL)
return selorg;
@@ -2175,7 +2173,7 @@ random_organization(
@@ -2173,7 +2171,7 @@ random_organization(
}
rewind(orgfp);

View File

@ -1,8 +1,8 @@
$OpenBSD: patch-src_rfc2047_c,v 1.2 2018/01/19 07:39:54 giovanni Exp $
$OpenBSD: patch-src_rfc2047_c,v 1.3 2020/01/24 16:01:19 giovanni Exp $
Index: src/rfc2047.c
--- src/rfc2047.c.orig
+++ src/rfc2047.c
@@ -1049,9 +1049,8 @@ generate_random_mime_boundary(
@@ -1066,9 +1066,8 @@ generate_random_mime_boundary(
{
size_t i;

View File

@ -1,8 +1,8 @@
$OpenBSD: patch-src_sigfile_c,v 1.3 2018/01/19 07:39:54 giovanni Exp $
$OpenBSD: patch-src_sigfile_c,v 1.4 2020/01/24 16:01:19 giovanni Exp $
Index: src/sigfile.c
--- src/sigfile.c.orig
+++ src/sigfile.c
@@ -191,8 +191,6 @@ static FILE *
@@ -197,8 +197,6 @@ static FILE *
open_random_sig(
char *sigdir)
{
@ -11,7 +11,7 @@ Index: src/sigfile.c
if (chdir(sigdir) == 0) {
if (thrashdir(sigdir) || !*sigfile) {
#ifdef DEBUG
@@ -265,7 +263,7 @@ thrashdir(
@@ -271,7 +269,7 @@ thrashdir(
return 1;
}
#endif /* HAVE_REWINDDIR */